/* ################## Neue Dyslexie-freundliche Version 

1. CORE VARIABLES & ACCESSIBILITY ################## */

/* Import the OpenDyslexic Font for the toggle feature */
@import url('https://cdn.jsdelivr.net/npm/opendyslexic@1.0.3/dist/index.min.css');

:root {
    /* Original Brand Colors */
    --primary-color: #8E241C;    /* Rostrot */
    --primary-hover: #8E241C;    /* Dunkles Grün */ 
    --secondary-color: #F5F1ED;  /* Beige/Sand */
    --accent-color: #E4A853;     /* Goldgelb */
    --text-color: #2D1B15;       /* Dunkelbraun */
    --light-text: #ffffff;
    --dark-bg: #5D4037;          /* Footer */
    --light-bg: #846257;
    
    /* Accessibility Updates */
    --bg-color: #fdfbf9;         /* Soft off-white to reduce visual stress */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Verdana', 'Segoe UI', Arial, sans-serif; /* Humanist fonts are easier to read */
    --line-height-body: 1.65;
    --letter-spacing: 0.03em;
}

/* This class is toggled via JavaScript */
/*body.dyslexia-mode {
    --font-body: 'OpenDyslexic', sans-serif !important;
    --font-heading: 'OpenDyslexic', sans-serif !important;
    --letter-spacing: 0.05em;
    word-spacing: 0.1em;
} */

/* ################## 2. GENERAL STYLES ################## */

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

body {
    font-family: var(--font-body);
    font-size: 19px; 
    line-height: var(--line-height-body);
    letter-spacing: var(--letter-spacing);
    color: var(--text-color);
    background-color: var(--bg-color);
    text-rendering: optimizeLegibility;
    transition: background-color 0.3s ease;
}

.container {
    width: 90%;
    max-width: 1100px; /* Slightly narrower to prevent lines from being too wide to track */
    margin: 0 auto;
}

/*
.section-padding {
    padding: 80px 0;
}

.secondary-bg {
    background-color: var(--secondary-color);
}
*/

/* Allgemeines Grid (bleibt für andere Bereiche erhalten) */
.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Spezifische Anpassung NUR für den Coaching-Bereich */
#coaching .approach-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px; /* Angenehme Lesebreite */
    margin: 0 auto;   /* Zentriert den Block */
}

/* Linie links an den Boxen im Coaching-Bereich */

#coaching .approach-item {
    border-left: 5px solid var(--light-bg); /* Eine farbige Kante links */
}


/* Styling der Items (gilt für alle, da das Design meist einheitlich sein soll) */
.approach-item {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.section-padding {
    padding: 80px 0;
}

.secondary-bg {
    background-color: var(--secondary-color);
}


/* Typography - Left aligned for better tracking in dyslexia */
h1, h2, h3 {
    font-family: var(--font-heading);
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: left; 
    line-height: 1.2;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 2.5rem;
}

p {
    margin-bottom: 1.5rem;
    max-width: 95ch; /* Limits width to the "sweet spot" (75ch - Ich habe es wieder erweitert um zu kurze Zeilen zu verhindern) for reading comfort */
}

/* ################## 3. COMPONENTS & BUTTONS ################## */

.cta-button, .cta-primary, .cta-secondary {
    display: inline-block;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.cta-primary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--primary-color);
} 

.cta-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.cta-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-secondary:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}


/* ...mehr */

/* Styling für das Aufklapp-Element */
details summary {
    cursor: pointer;
    /*color: var(--primary-color); /* Deine Akzentfarbe */ 
    /*font-weight: bold; */
    list-style: none; /* Entfernt den Browser-Standard-Pfeil */
    outline: none;
}

/* Entfernt den kleinen Standard-Pfeil in Chrome/Safari */
details summary::-webkit-details-marker {
    display: none;
}

/* Ein kleiner Effekt beim Überfahren */
details summary:hover {
    text-decoration: underline;
}

/* Optional: Etwas Abstand zwischen Summary und dem Inhalt */
details[open] summary {
    margin-bottom: 10px;
}







/* ################## 4. HEADER & HERO ################## */

.main-header {
    background-color: var(--light-text);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 0;
}


.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}
*/

/* ################## 4. HEADER & HERO (Nur Nav, rechtsbündig) ################## */

.nav-content {
    display: flex;
    /* Schiebt alles, was im Container ist, nach ganz rechts */
    justify-content: flex-end; 
    align-items: center;
    padding: 15px 0;
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    /* Abstand zwischen den Punkten */
    margin-left: 30px; 
}

.main-nav ul li:first-child {
    /* Optional: Der erste Punkt braucht keinen linken Abstand */
    margin-left: 0;
}








.hero-section {
    background: linear-gradient(135deg, #F5F1ED 0%, #D7CCC8 100%);
    color: var(--text-color);

    background-image: url('cover.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 


    text-align: center;
    padding: 100px 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;

}

.hero-content h1 {
    text-align: center; /* Centered for Hero impact */
    font-size: 3em;
    color: var(--primary-color);
}

.hero-content p {
    text-align: center;
    margin: 0 auto 30px auto;
}

/* Bild für Handys in Desktopversion ausblenden */
.hero-svg-mobile {
    display: none; /* Auf Desktop immer verstecken */
}


/* ################## 5. CONTENT SECTIONS ################## */

.about-flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;   /*von center geändert, da das Bild sonst in der Mitte zentriert wird und nicht bündig zum Text, allternativ möglich: flex-end */
}

.about-text {
    flex: 2;
}

.profile-pic {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.approach-item {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

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

.offer-card {
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
}

.offer-card ul {
    list-style: disc; /* Bullet points provide better visual structure */
    text-align: left;
    margin: 20px 0 30px 20px;
}

.offer-card ul li {
    padding: 10px 0;
    border-bottom: 1px dotted #eee;
}

/* ################## CONTACT CTA SECTION ################## */

.contact-cta {
    text-align: center; /* Zentriert Text und Inline-Elemente wie Buttons */
    padding: 100px 0;   /* Großzügiger Abstand für Fokus */
    background-color: var(--secondary-color); /* Optional: Sanfter Hintergrund */
}

.contact-cta h2 {
    text-align: center; /* Überschreibt die globale Linksbündigkeit */
    margin-bottom: 1.5rem;
}

.contact-cta p {
    margin: 0 auto 2.5rem auto; /* Zentriert den Textblock (wegen der max-width) */
    text-align: center;
}




/* ################## 6. FOOTER ################## */

.main-footer {
    background-color: var(--dark-bg);
    color: #eee; /* Lightened for better contrast on dark bg */
    padding: 25px 0;
    text-align: left;
font-size: 0.68em !important;

}

.main-footer a {
    color: #fff;
    text-decoration: underline; /* Underlines help identify links quickly */
    margin: 0 10px;
}

.main-footer p {
    max-width: none; /* Hebt die 75-Zeichen-Beschränkung auf */
    margin-bottom: 7px;
    padding-left: 0px;
}



/* ################## 7. RESPONSIVE & MOBILE MENU ################## */

/* Der Hamburger-Button (wird auf Desktop ausgeblendet) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    /* NAVIGATION & HEADER */
    .nav-content {
        justify-content: flex-end; /* Hamburger nach rechts */
        padding: 15px 5%;
    }

    .menu-toggle {
        display: flex; /* Hamburger nur auf Mobile zeigen */
    }

    .main-nav {
        display: none; /* Menü standardmäßig zu */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--light-text);
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
    }

    .main-nav.active {
        display: block; /* Wird per JS aktiviert */
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 15px 0;
        margin-left: 0;
    }

    /* Animation für das X beim Öffnen */
    .menu-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* Optimierung für die Hero-Section auf Mobile */
.hero-section {
    padding: 40px 0;
    background: var(--bg-color); /* Neutraler Hintergrund, da Bildinhalt komplex ist */
    min-height: auto; 
    display: block; 
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-svg-mobile {
        display: block;   /* Hier wird es sichtbar */
        width: 100%;      /* Volle Breite */
        max-width: 400px; /* Begrenzung, damit es nicht zu riesig wird */
        margin: 20px auto; /* Abstand oben/unten und zentriert */
        height: auto;
    }


.hero-illustration {
    width: 100%;
    max-width: 500px; /* Begrenzt die Größe auf Tablets */
    margin: 20px 0;
}

.hero-illustration img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content h1 {
    font-size: 2.5em;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2em;
    font-weight: 600;
}

    /* ÜBRIGE SEKTIONEN */
    .about-flex {
        flex-direction: column-reverse; /* Bild unter Text für besseren Lesefluss */
    }

    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
}






