/* Farbpalette aus eurem Logo */
:root {
    --color-blue: #3581B8;
    --color-green: #69B893;
    --color-pink: #ED727A;
    --color-orange: #F3A34B;
    --color-yellow: #F6CE28;
    --text-dark: #4C3B3A; 
    --bg-light: #fdfdfd;
    --card-bg: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Grundgerüst der Navigation */
.navbar {
    width: 100%;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    flex-wrap: wrap; /* Erlaubt das Umbrechen, wenn es zu breit wird */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
    flex-wrap: wrap; /* Wichtig: Verhindert das Rausrutschen nach rechts */
    justify-content: flex-end;
}

/* Optimierung für mobile Geräte */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column; /* Logo oben, Menü darunter */
        text-align: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }

    .nav-links {
        justify-content: center; /* Menüpunkte mittig auf dem Handy */
        width: 100%;
    }
    
    .nav-links li {
        margin: 5px;
    }
}

/* Kinder-Banner Header */
.hero-banner {
    background: linear-gradient(135deg, #eaf4fb 0%, #e6f6ee 100%);
    text-align: center;
    padding: 50px 20px; 
    border-radius: 0 0 40px 40px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.03); 
    margin-bottom: 30px;
}

.hero-banner img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.15)); 
}

/* Titel und Überschriften */
.section-title {
    margin: 40px 0 30px;
    color: var(--color-blue);
    font-size: 2rem;
}

/* --------------------------------------
   NEU: Über Uns / Info-Boxen 
--------------------------------------- */
.about-section {
    margin-bottom: 60px;
}

.about-subtitle {
    text-align: center; 
    font-size: 1.2rem; 
    margin-bottom: 40px; 
    font-weight: 600; 
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px auto;
}

/* --------------------------------------
   Blog Grid & Karten 
--------------------------------------- */
.blog-grid, .vorstand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.card {
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    padding: 25px;
    transition: transform 0.2s;
    border-top: 5px solid var(--color-blue); 
}

.card:nth-child(1) { border-top-color: var(--color-blue); }
.card:nth-child(2) { border-top-color: var(--color-green); }
.card:nth-child(3) { border-top-color: var(--color-pink); }
.card:nth-child(4) { border-top-color: var(--color-orange); }

.card:hover {
    transform: translateY(-5px);
}

.date {
    font-size: 0.85rem;
    color: #888;
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
}

.card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.btn-readmore {
    display: inline-block;
    margin-top: 15px;
    color: var(--color-pink);
    text-decoration: none;
    font-weight: bold;
}

.btn-readmore:hover {
    color: var(--color-blue);
}

/* --------------------------------------
   NEU: Vorstand Profilbilder 
--------------------------------------- */
.profile-card {
    text-align: center; 
}

.profile-img {
    width: 160px;
    height: 160px;
    border-radius: 50%; 
    object-fit: cover; 
    margin: 0 auto 20px auto;
    display: block;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08); 
}

.profile-card p, .profile-card h3, .profile-card .date {
    text-align: left;
}

/* Footer */
footer {
    background-color: var(--text-dark);
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links a {
    color: var(--color-yellow);
    text-decoration: none;
    margin-left: 20px;
}

.footer-links a:hover {
    text-decoration: underline;
}


/* --- Spezifische Styles für die Vorstandsseite --- */

/* Container für die runden Bilder */
.vorstand-gallery {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin: 40px 0;
    text-align: center;
}

/* Einzelne Vorstands-Karte im Bilder-Grid */
.vorstand-gallery .feature-card {
    flex: 1;
    min-width: 250px;
    background: none;
    box-shadow: none;
    border: none;
    padding: 0;
}

/* Kreisrunder Rahmen für Bilder */
.vorstand-img-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    /* Ein leichter Schatten für Tiefe */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    background-color: #f9f9f9;
}

.vorstand-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Farben für die individuellen Ränder */
.vorstand-gallery h3 {
    color: var(--color-blue, #3581B8); /* Standard-Farbe */
}

/* Der Beschreibungstext im Editor */
.vorstand-content .page-content h2 {
    color: var(--color-blue, #3581B8);
    font-size: 2.2rem;
    margin-top: 50px;
    margin-bottom: 25px;
}

.vorstand-content .page-content .lead {
    font-size: 1.25rem;
    color: #555;
    line-height: 1.7;
}

.vorstand-content .page-content h3 {
    margin-top: 40px;
    color: #333;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.vorstand-content .page-content ul {
    margin-top: 20px;
}

.vorstand-content .page-content li {
    margin-bottom: 15px;
}

.vorstand-content .page-content a {
    color: var(--color-blue, #3581B8);
    font-weight: bold;
    text-decoration: none;
}

/* Mobile Navigation Optimierung */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column; /* Logo oben, Menü darunter */
        padding: 15px 0;
    }

    .logo {
        margin-bottom: 15px;
    }

    .nav-links {
        display: flex;
        flex-wrap: wrap; /* Erlaubt Zeilenumbruch, falls es viele Links sind */
        justify-content: center;
        gap: 10px;
        padding: 0;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        padding: 8px 12px;
        background: rgba(53, 129, 184, 0.1); /* Ganz leichter blauer Hintergrund */
        border-radius: 5px;
        font-size: 0.9rem;
    }
}



/* --- KOMPLETT EIGENER MOBILE VIEW --- */
@media (max-width: 768px) {
    /* 1. Hintergrund & Abstände */
    body {
        background-color: #f4f7f6; /* Ein helles Grau für App-Look */
        font-size: 16px;
    }

    /* 2. Kompakter Header */
    .nav-container {
        padding: 10px;
        flex-direction: column !important;
    }

    .logo-img {
        max-height: 50px !important;
    }

    /* 3. Menü als "Buttons" */
    .nav-links {
        display: grid !important;
        grid-template-columns: 1fr 1fr; /* Zwei Buttons nebeneinander */
        gap: 10px;
        width: 100%;
        margin-top: 15px;
    }

    .nav-links li {
        margin: 0;
    }

    .nav-links a {
        display: block;
        background: #3581B8;
        color: white !important;
        padding: 12px;
        text-align: center;
        border-radius: 8px;
        font-weight: bold;
        text-decoration: none;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    /* 4. Banner ausblenden oder verkleinern */
    .hero-banner {
        display: none; /* Banner auf Mobile oft zu groß, daher ausblenden */
    }

    /* 5. Karten-Styling für Mobile (Volle Breite) */
    .container {
        padding: 0 15px;
    }

    .card {
        margin: 15px 0 !important;
        border-radius: 12px !important;
        padding: 15px !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
    }

    /* 6. Vorstands-Bilder auf Mobile (nebeneinander erzwingen) */
    .vorstand-gallery {
        display: grid !important;
        grid-template-columns: 1fr 1fr 1fr; /* Alle drei nebeneinander */
        gap: 5px !important;
    }

    .vorstand-gallery div {
        min-width: 0 !important; /* Verhindert Umbruch */
    }

    .vorstand-gallery img {
        width: 80px !important; /* Kleinere Bilder auf Mobile */
        height: 80px !important;
    }

    .vorstand-gallery h3 {
        font-size: 0.8rem !important;
    }

    /* 7. Footer aufräumen */
    footer {
        padding: 20px 10px !important;
        font-size: 0.8rem;
    }
}
.faq-container {
    margin-top: 20px;
}

.faq-item {
    background: #fff;
    border: 2px solid #eee;
    border-radius: 15px;
    margin-bottom: 10px;
    padding: 15px;
    transition: border-color 0.3s;
}

.faq-item[open] {
    border-color: #3581B8; /* GEB-Blau wenn offen */
}

.faq-question {
    font-weight: bold;
    cursor: pointer;
    list-style: none;
    position: relative;
    padding-left: 30px;
    color: #333;
}

/* Der kleine Pfeil vor der Frage */
.faq-question::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #69B893; /* GEB-Grün */
    transition: transform 0.3s;
}

.faq-item[open] .faq-question::before {
    transform: rotate(90deg);
}

.faq-answer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    line-height: 1.6;
    color: #555;
}

.faq-answer ul {
    margin-left: 20px; /* Schiebt die gesamte Liste nach rechts */
    padding-left: 10px; /* Gibt den Bullets Platz zum Atmen */
}

.faq-answer li {
    margin-bottom: 8px; /* Sorgt für Abstand zwischen den einzelnen Punkten */
}