/* ================================
   Basisreset
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f7f7f7;
    color: #333;
}

/* ================================
   Header & Navigation
================================ */
header {
    background-color: #88c057;
    padding: 1rem 2rem;
    text-align: center;
}

header h1 {
    color: white;
    margin-bottom: 0.5rem;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

nav a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    transition: background 0.3s;
}

nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* ================================
   Main Content & Sections
================================ */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

section {
    margin-bottom: 2rem;
}

h2 {
    margin-bottom: 1rem;
    color: #4a773c;
}

/* ================================
   Karten & Galerien
================================ */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    width: 250px;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 0.8rem;
}

.card h3 {
    margin-bottom: 0.5rem;
    color: #3b5f2b;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
}

.card a {
    text-decoration: none;
    color: #88c057;
    font-weight: bold;
    transition: color 0.3s;
}

.card a:hover {
    color: #4a773c;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* ================================
   Footer
================================ */
footer {
    background-color: #88c057;
    color: white;
    text-align: center;
    padding: 1rem 2rem;
    margin-top: 2rem;
}

/* ================================
   Tabellen (optional)
================================ */
table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

table, th, td {
    border: 1px solid #ccc;
}

th, td {
    padding: 0.5rem;
    text-align: left;
}

/* ================================
   Links
================================ */
a {
    color: #88c057;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* ================================
   Responsive Design
================================ */
@media (max-width: 768px) {
    .cards {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}
