/* ======================================= */
/* 1. GRUNDEINSTELLUNGEN & VARIABLEN */
/* ======================================= */
:root {
    --color-green-main: #8faf8f;    /* Hauptakzent: Sanftes Grün */
    --color-yellow-accent: #fac430;  /* Sekundärakzent: Warmes Gelb */
    --color-arrow-accent: #FFAE78;   /* Pfeilfarbe */
    --color-text-dark: #333;
    --color-text-light: #fff;
    --color-bg-light: #f7fdf7;      /* Sehr helles Grün für Hero-Hintergrund */
    --color-bg-white: #ffffff;
    
    --font-headline: 'Life Savers', cursive;
    --font-body: 'Open Sans', sans-serif; 
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    /* Der .container selbst muss relativ sein, damit die absolute Positionierung des Indikators funktioniert */
    position: relative; 
    display: flex;
    flex-wrap: wrap
}

h1, h2, h3, h4 {
    font-family: var(--font-headline);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h3 {
    font-size: 1.8em;    
}

/* ======================================= */
/* 2. HEADER & NAVIGATION */
/* ======================================= */
header {
    background-color: var(--color-bg-white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8em;
    font-weight: 700;
    color: var(--color-green-main);
    display: flex; /* Oder block, je nach Layout */
    align-items: center;
    /* Optional: Höhe und Breite des Logo-Bereichs definieren */
    height: 75px; 
    width: 200px;
}

/* Stil für das SVG-Bild */
.logo img {
    height: auto; /* Passt die Höhe des Bildes an den h1-Container an */
    width: auto;
    max-width: 100%;
    /* Optional: Platz zwischen Logo und Text (falls Text sichtbar bleiben soll) */
    /* margin-right: 10px; */
}

/* Den Text visuell ausblenden (wichtig für SEO und Barrierefreiheit!) */
.logo {
    /* Diese Technik blendet den Text aus, ohne ihn für Screenreader zu entfernen */
    font-size: 0; 
    line-height: 0;
}

/* Den Text wieder auf die übliche Größe zurücksetzen */
.logo img {
    font-size: initial; /* Oder eine spezifische Größe, falls Sie den Text als Fallback nutzen */
}


nav ul {
    list-style: none;
    display: flex;
}

nav ul li a {
    text-decoration: none;
    color: var(--color-text-dark);
    padding: 0.5rem 1rem;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--color-green-main);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ======================================= */
/* 3. HERO-SEKTION & MUSTER */
/* ======================================= */
.hero {
    background-color: var(--color-bg-light); 
    padding: 6rem 0;
    text-align: left;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 150%;
    height: 100%;
    /* Geschwungenes Muster (helleres Grün) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23eaf5e9' fill-opacity='1' d='M0,224L60,208C120,192,240,160,360,165.3C480,171,600,213,720,208C840,203,960,150,1080,149.3C1200,149,1320,203,1380,229.3L1440,256L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
    opacity: 0.8;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto; /* NEU: Zentriert den Block horizontal */
}

.slogan {
    font-family: var(--font-headline);
    font-size: 1.3em;
    color: var(--color-green-main);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.headline {
    color: var(--color-green-main);
    font-size: 3em;
    margin: 0 auto 1rem 0;
}

.hero-intro-text {
    max-width: 100%;
    margin-bottom: 2rem;
    font-size: 1.1em;
}

/* ======================================= */
/* 4. GRÜNDUNGS-INDIKATOR (Pfeil & Text) */
/* ======================================= */
.founding-indicator {
    position: absolute;
    top: 25px; 
    right: 50px; /* NEU: Positioniert vom rechten Rand des .container */
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
    z-index: 5;
}

.founding-text {
    font-family: var(--font-headline);
    font-size: 1.5em;
    color: var(--color-text-dark);
    background-color: var(--color-yellow-accent); 
    padding: 0.5em 1.2em;
    border-radius: 5px;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    margin-bottom: -15px; 
    z-index: 6;
}

.founding-arrow {
    width: 250px; 
    height: 180px; 
    /* SVG: Handgezeichneter Pfeil, der von rechts oben nach links unten zur Headline zeigt */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M90,10 C75,15 45,35 25,75' stroke='%23FFAE78' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M25,75 L40,78 M25,75 L30,60' stroke='%23FFAE78' stroke-width='6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(5deg);
    z-index: 5;
}

/* ======================================= */
/* 5. BUTTONS (CTAs) */
/* ======================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    border: 2px solid transparent;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--color-green-main);
    color: var(--color-text-light);
    border-color: var(--color-green-main);
}

.btn-primary:hover {
    background-color: #7a9c7a;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-green-main);
    border-color: var(--color-green-main);
}

.btn-secondary:hover {
    background-color: var(--color-green-main);
    color: var(--color-text-light);
}

.btn-support {
    background-color: var(--color-yellow-accent);
    color: var(--color-text-dark);
    border-color: var(--color-yellow-accent);
    font-size: 1.1em;
    padding: 1rem 3rem;
    margin-top: 1rem;
}

.btn-support:hover {
    background-color: #e6b22c;
}

/* ======================================= */
/* 6. ALLGEMEINE SEKTIONEN */
/* ======================================= */
.section-padded {
    padding: 4rem 0;
    text-align: center;
}

.section-title {
    margin-bottom: 1.5rem;
    color: var(--color-green-main);
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1em;
}

/* Feature Grid */
.feature-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 3rem;
    text-align: left;
}

.feature-item {
    flex: 1;
    padding: 1.5rem;
    background-color: var(--color-bg-white);
    border-left: 5px solid var(--color-green-main);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.feature-item .icon {
    font-size: 2em;
    display: block;
    margin-bottom: 0.5rem;
}

/* Therapie-Punkte */
.therapy-points {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 2rem;
    text-align: left;
}

.point-item {
    flex: 1;
    padding: 1.5rem;
    border-radius: 5px;
    background-color: var(--color-bg-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.point-item h4 {
    color: var(--color-green-main);
    font-family: var(--font-headline);
}


/* Akzent-Sektion (z.B. Therapie) */
.section-accent-bg {
    background-color: #eaf5e9; /* Helleres Grün */
    text-align: center;
}

/* Gründerin/Auszeichnung Sektion */
.section-founder .container {
    display: flex;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.reverse-layout {
    flex-direction: row-reverse; /* Bild rechts, Text links */
}

.content-left, .image-right {
    flex: 1;
}

.placeholder-image {
    background-color: #e0e0e0;
    min-height: 350px;
    border-radius: 10px;
    /* Geschwungener Rahmen im Akzent-Gelb */
    border: 5px solid var(--color-yellow-accent);
}

.placeholder-founder {
    /* Stil für das Bild der Gründerin */
    background-color: #f7f3e4; 
    border-color: var(--color-yellow-accent);
}

.award-box {
    background-color: var(--color-yellow-accent);
    color: var(--color-text-dark);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.award-box h4 {
    color: var(--color-text-dark);
    margin-top: 0;
    font-family: var(--font-headline);
    font-weight: 700;
}

.icon-award {
    font-size: 2em;
    display: block;
    margin-bottom: 0.5rem;
}

/* Spenden-Box */
.support-box {
    background-color: var(--color-bg-white);
    border: 1px dashed var(--color-green-main);
    padding: 2rem;
    max-width: 500px;
    margin: 3rem auto 0;
    border-radius: 8px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.support-box h4 {
    color: var(--color-green-main);
    margin-bottom: 1rem;
}


/* ======================================= */
/* 7. FOOTER */
/* ======================================= */
footer {
    background-color: var(--color-green-main);
    color: var(--color-text-light);
    padding: 3rem 0 0;
    text-align: left;
    position: relative;
    overflow: hidden;
}

footer .container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-bottom: 2rem;
}

.footer-col {
    flex: 1;
}

.footer-col .logo {
    color: var(--color-yellow-accent);
}

footer ul {
    list-style: none;
}

footer ul li a {
    color: var(--color-text-light);
    text-decoration: none;
    opacity: 0.8;
    line-height: 2;
}

.social-icons a {
    display: inline-block;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    background-color: var(--color-yellow-accent);
    color: var(--color-text-dark);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9em;
}

.copyright {
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8em;
    opacity: 0.7;
}

/* ======================================= */
/* 8. RESPONSIVE DESIGN */
/* ======================================= */
@media (max-width: 992px) {
    /* Anpassung für größere Tablets/kleine Desktops */
    .hero-content {
        max-width: 600px;
    }
    
    .founding-indicator {
        right: 20px; /* Anpassung der Position für kleinere Bildschirme */
    }
}

@media (max-width: 768px) {
    /* Mobile Anpassungen */

    /* Navigation */
    nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }

    nav.open {
        display: block;
    }

    nav ul {
        flex-direction: column;
    }

    nav ul li a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

    .nav-toggle {
        display: block;
    }

    /* Hero-Sektion */
    .hero {
        padding: 4rem 0;
        min-height: auto;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .headline {
        font-size: 2.2em;
    }

    .slogan {
        text-align: center;
    }

    .cta-group {
        display: flex;
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .cta-group a {
        margin: 0;
        width: 80%;
    }

    /* Gründungs-Indikator */
    .founding-indicator {
        position: static;
        margin-top: 1rem;
        flex-direction: row; 
        justify-content: center;
        align-items: center;
        width: 100%;
        right: auto;
        top: auto;
    }
    
    .founding-text {
        font-size: 1.1em;
        margin-right: 10px;
        margin-bottom: 0;
        padding: 0.3em 0.8em;
    }
    
    .founding-arrow {
        width: 40px;
        height: 30px;
        transform: rotate(0deg) scaleX(-1);
        margin-top: 0;
    }
    
    /* Allgemeine Sektionen */
    .feature-grid, .therapy-points {
        flex-direction: column;
    }

    .section-founder .container {
        flex-direction: column;
        text-align: center;
    }

    .reverse-layout {
        flex-direction: column;
    }
    
    .footer-col {
        margin-bottom: 20px;
        flex: auto;
        width: 100%;
    }

    .container {
        flex-direction: column; /* Stapelt die Spalten vertikal */
    }
    
    .footer-logo {
        order: -1; 
    }
}


/* ======================================= */
/* 9. TEAM-VORSTELLUNG */
/* ======================================= */

.team-section .container {
    /* Wichtig: Entfernt die globale Flex-Anweisung für diesen speziellen Container */
    display: block; 
    
    /* Stellt sicher, dass der gesamte Inhaltsbereich die volle Breite des Containers nutzt */
    width: 100%; 
    
    /* Der Wrapper des Containers soll sich normal verhalten (keine Flex-Eigenschaften) */
    flex-wrap: initial; 
}

.team-section {
    background-color: var(--color-bg-white);
}

.team-member {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
    text-align: left;
}

/* Stil für die Bildblase */
.image-bubble {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 5px solid var(--color-green-main); /* Grüner Rahmen */
    flex-shrink: 0;
}

/* Beispiel für Hintergrundbilder, falls Methode 2 verwendet wird */
#sonja-marschall-portraet {
    background-image: url('SonjaMarschall1_AnneSimon.jpeg'); 
    background-size: cover; 
    background-position: center; 
}

#felix-krause-portraet {
    background-image: url('FelixKrause.png'); 
    background-size: cover; 
    background-position: center; 
}

#leo-portraet {
    background-image: url('Leo-Portraet.png');
    background-size: cover; 
    background-position: center; 
}

/* Platzhalter für das Gesicht/Bild (falls mit <img> ersetzt wird, kann dieser Stil entfernt werden) */
.placeholder-face {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0; 
}

/* Stil für die Infobox */
.info-box {
    flex-grow: 1;
    padding: 30px;
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.info-box h4 {
    color: var(--color-yellow-accent); /* Name in Gelb */
    font-size: 1.6em;
    margin-bottom: 0.3em;
}

.info-box .role {
    font-weight: bold;
    color: var(--color-green-main);
    margin-bottom: 1em;
}

/* ANORDNUNG WECHSELN: Bild rechts */
.team-member.align-right {
    flex-direction: row-reverse; /* Vertauscht die Reihenfolge */
}

/* Kleiner visueller Akzent, wenn die Box links liegt */
.team-member.align-right .info-box {
    border-left: none;
    border-right: 5px solid var(--color-green-main);
}

/* Kleiner visueller Akzent, wenn die Box rechts liegt */
.team-member.align-left .info-box {
    border-right: none;
    border-left: 5px solid var(--color-green-main);
}


/* ======================================= */
/* MOBILE ANPASSUNG TEAM-SEKTION */
/* ======================================= */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column; /* Stapelt Bild und Text */
        gap: 20px;
        text-align: center;
    }
    
    .team-member.align-right {
        flex-direction: column; /* Auch rechtsbündige Elemente bleiben gestapelt */
    }

    .image-bubble {
        width: 150px; /* Kleinere Blase für Mobile */
        height: 150px;
        order: -1; /* Setzt das Bild über den Text */
        margin-bottom: 10px;
    }

    .info-box {
        padding: 20px;
    }
    
    /* Rahmenanpassung für gestapelte Elemente */
    .team-member .info-box {
        border-left: 5px solid var(--color-green-main);
        border-right: none;
    }
}