/* === Utility Bar (Angepasst) === */
.utility-bar {
    background-color: var(--color-light-gray);
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
    font-size: 0.9rem;
}

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

.utility-bar-accessibility {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.utility-bar-links {
    display: flex;
    align-items: center;
    gap: 20px; 
}

.utility-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s ease;
}
.utility-link:hover {
    color: var(--color-primary);
}

.utility-link-highlight {
    font-weight: bold; 
}

.utility-button {
    background: transparent;
    border: 2px solid var(--color-secondary);
    border-radius: 5px; 
    padding: 8px 10px 5px 10px; 
    cursor: pointer;
    display: flex;
    align-items: center; 
    gap: 8px; /* GEÄNDERT: Platz für Icon geschaffen */
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--color-secondary);
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 1; 
}
.utility-button:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* NEU: Play/Pause Icon für Haupt-Audio-Button */
#play-main-audio::before {
    content: '▶';
    font-size: 0.8em;
    margin-right: 2px; /* Kleiner Abstand */
}
#play-main-audio[aria-pressed="true"]::before {
    content: '❚❚';
    font-size: 0.9em;
    margin-right: 2px;
    letter-spacing: 1px;
}
/* === ENDE Utility Bar === */


@font-face {
    font-family: "FS Me W01 Light";
    src: url("../fonts/5963814/4ff257e8-b47e-482e-9fe1-69c0f5e814a2.woff2") format("woff2"), url("../fonts/5963814/566917f7-b819-4313-afd9-2a8747e861e2.woff") format("woff");
}
@font-face {
    font-family: "FS Me W01 Regular";
    src: url("../fonts/5963851/dd00d9f2-4364-410c-a230-c80aa01f79eb.woff2") format("woff2"), url("../fonts/5963851/7b1c030f-d5e1-4313-afd9-2a8747e861e2.woff") format("woff");
}
@font-face {
    font-family: "FS Me W01 Bold";
    src: url("../fonts/5963870/7b88d3d2-f039-4460-98fc-47c718ce0379.woff2") format("woff2"), url("../fonts/5963870/de2ab461-3fb8-4c23-8138-46aeeb0c2f57.woff") format("woff");
}

/* === CSS-Variablen (Globale Stile) === */
:root {
    --color-primary: #4a9c4a; 
    --color-secondary: #3D807F;
    
    --color-cd-box1: #8C0E73;  
    --color-cd-box2: #CAA90B;  
    --color-cd-box3: #522CA2;  
    --color-footer: #3D807F;  

    --color-text: #333;
    --color-light-gray: #f4f4f4;
    --color-white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --border-radius: 12px;
}

/* === Basis-Reset und Body-Styling === */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "FS Me W01 Regular", Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light-gray); 
}

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

/* === Header / Navigation === */
.navbar {
    background: var(--color-white);
    padding: 25px 0 0 0; 
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100; 
}

.navbar-container {
    display: flex;
    flex-direction: column; 
    align-items: stretch;
}

.navbar-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 25px 0; 
}

.logo img {
    display: block;
    max-height: 75px; 
    width: auto;
}

/* --- START NAVIGATIONSMENÜ (DESKTOP) --- */
.nav-menu {
    width: 100%;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px; 
    justify-content: center; 
    padding: 10px 0; 
    margin-top: 10px;
    border-top: 1px solid var(--color-light-gray); 
}

.nav-menu li {
    position: relative; 
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500; 
    transition: color 0.3s ease;
    display: block; 
    padding: 5px 0; 
}

.nav-menu a:hover {
    color: var(--color-primary); 
}

.nav-menu .menu-item-has-children > a {
    padding-right: 15px; 
}

.nav-menu .menu-item-has-children > a::after {
    content: '▼';
    font-size: 0.6rem;
    color: var(--color-text);
    position: absolute;
    right: 0;
    top: 12px; 
}

.nav-menu .sub-menu {
    display: none; 
    position: absolute;
    top: 100%; 
    left: 0;
    background: var(--color-white);
    min-width: 240px; 
    z-index: 1000;
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    padding: 10px 0; 
    border-top: 3px solid var(--color-primary); 
    
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    border-top: 1px solid var(--color-light-gray); 
}

.nav-menu li:hover > .sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu a {
    color: var(--color-text);
    padding: 10px 20px; 
    font-size: 0.9rem;
}

.nav-menu .sub-menu a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-primary);
}

.nav-menu .sub-menu .menu-item-has-children > a::after {
    display: none;
}
/* --- ENDE NAVIGATIONSMENÜ (DESKTOP) --- */


/* --- BURGER-MENÜ-BUTTON --- */
.nav-toggle {
    display: none; 
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; 
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    margin: 5px 0;
    transition: all 0.3s ease-in-out;
}

.nav-toggle.nav-toggle-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.nav-toggle.nav-toggle-active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.nav-toggle-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
/* --- ENDE BURGER-MENÜ-BUTTON --- */


/* === Buttons === */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-weight: bold; 
    transition: all 0.3s ease; 
    background-color: transparent; 
}

.btn-solid {
    background-color: var(--color-secondary); 
    color: var(--color-white);
    flex-shrink: 0; 
}
.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.btn-contact {
    background-color: var(--color-secondary); 
    color: var(--color-white);
    flex-shrink: 0; 
}
.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 2px solid; 
}
.card-color-1 .btn-outline { border-color: var(--color-white); color: var(--color-white); }
.card-color-1 .btn-outline:hover { background-color: var(--color-white); color: var(--color-cd-box1); transform: translateY(-2px); }
.card-color-2 .btn-outline { border-color: var(--color-text); color: var(--color-text); }
.card-color-2 .btn-outline:hover { background-color: var(--color-text); color: var(--color-cd-box2); transform: translateY(-2px); }
.card-color-3 .btn-outline { border-color: var(--color-white); color: var(--color-white); }
.card-color-3 .btn-outline:hover { background-color: var(--color-white); color: var(--color-cd-box3); transform: translateY(-2px); }


/* === START HERO-SEKTION ÄNDERUNG === */
.hero {
    display: flex;
    /* NEU: Hintergrund für die gesamte Sektion */
    height: 450px;
    background-image: linear-gradient(rgba(61, 128, 127, 0.5), rgba(61, 128, 127, 0.5)), url('../media/startseite1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white); /* Textfarbe für H1 */
}

/* Linke Spalte (1/3) für den Baum */
.hero-tree-container {
    flex: 1; /* 1 Teil */
    /* background-color: var(--color-footer); */ /* ENTFERNT, damit BG durchscheint */
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 30px 0 0 30px;
    /* min-height: 450px; */ /* ENTFERNT (wird durch .hero height gesteuert) */
}

.hero-tree-container img {
    max-width: 100%;
    height: auto;
    max-height: 400px; /* Passt den Baum an die Sektionshöhe an */
}

/* Rechte Spalte (2/3) - Nur noch für Layout zuständig */
.hero-banner-container {
    flex: 3; /* 2 Teile */
    /* height: 450px; */ /* ENTFERNT (wird durch .hero height gesteuert) */
    /* Hintergrund-Stile entfernt */
    display: flex;
    /* justify-content: center; */
    align-items: center;
    text-align: center;
    /* color: var(--color-white); */ /* Auf .hero verschoben */
    padding: 20px;
}

/* .hero-content (Wrapper) hat keine Stile */

.hero h1 {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 2.8rem;
    font-weight: 700; 
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
/* === ENDE HERO-SEKTION ÄNDERUNG === */


/* === Hauptinhalt: Karten-Raster === */
main.container {
    padding-top: 40px;
    padding-bottom: 40px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--color-white); 
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.card-content {
    flex-grow: 1; 
}

.card h2 {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    color: inherit; 
    margin-bottom: 15px;
    font-size: 1.3rem; 
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card p {
    margin-bottom: 20px;
}

.card-button-container {
    text-align: center;
    margin-top: 20px; 
}

.card-color-1 {
    background-image: linear-gradient(135deg, var(--color-cd-box1), #750c60);
}
.card-color-2 {
    background-image: linear-gradient(135deg, var(--color-cd-box2), #a88d09);
    color: var(--color-text); 
}
.card-color-3 {
    background-image: linear-gradient(135deg, var(--color-cd-box3), #412383);
}


.link-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.link-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.link-list li::before {
    content: '›'; 
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: inherit; 
    opacity: 0.7;
}

.link-list a {
    text-decoration: none;
    color: inherit; 
    font-weight: 500;
}

.link-list a:hover {
    text-decoration: underline;
}

/* === STILE FÜR UNTERSEITEN (KONTAKT, GRUPPEN) === */
/* (HIER INTEGRIERT) */

/* --- Allgemeiner Unterseiten-Header --- */
.page-header {
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 30px 0;
    margin-bottom: 40px;
}
.page-header h1 {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 2.5rem;
}

/* --- Allgemeiner Inhalts-Container (Weißer Kasten) --- */
.main-content {
    padding: 40px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px; /* Fügt Abstand vor dem Footer hinzu */
}

/* --- Kontakt-Seite (kontakt.html) --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}
.contact-details h2,
.contact-form h2 {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--color-secondary);
}
.contact-details address {
    font-style: normal;
    line-height: 1.7;
    margin-bottom: 20px;
}
.contact-details p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}
.contact-details a,
.contact-form a { /* NEU: Selektor erweitert, um auch Links im Formular (Datenschutz) zu erfassen */
    color: var(--color-secondary); /* GEÄNDERT: Farbe auf die der Überschrift gesetzt */
    text-decoration: none;
}

.contact-details a:hover,
.contact-form a:hover { /* NEU: Hover-Effekt ebenfalls erweitert */
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: "FS Me W01 Regular", Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 5px rgba(74, 156, 74, 0.3);
    outline: none;
}
.form-group textarea {
    resize: vertical;
}
.form-group.honeypot {
    display: none; /* Spam-Schutz */
}
.form-group.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.form-group.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 5px;
    flex-shrink: 0;
}
.form-group.checkbox-group label {
    font-size: 0.9rem;
    font-weight: normal;
    margin-bottom: 0;
}
.form-group .btn-solid {
    font-size: 1.1rem;
    padding: 12px 25px;
}

/* --- Gruppen-Seite (gruppen.html) --- */
.group-intro p {
    font-size: 1.1rem;
    max-width: 800px;
    margin-bottom: 1.5rem;
}
.group-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.group-grid li {
    width: 100%;
}
.group-grid a {
    display: block;
    padding: 25px 20px;
    text-align: center;
    background-color: var(--color-light-gray);
    border-radius: var(--border-radius);
    text-decoration: none;
    color: var(--color-text);
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.group-grid a:hover {
    background-color: var(--color-white);
    color: var(--color-secondary);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
    border-color: var(--color-secondary);
}
/* === ENDE UNTERSEITEN-STILE === */


/* === Footer === */
footer {
    background-color: var(--color-footer); 
    color: var(--color-white); 
    text-align: left; 
    padding: 50px 20px; 
}

footer p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

footer a {
    color: var(--color-white);
    text-decoration: none;
}

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

/* Footer-Layout-Stile */
.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    margin-bottom: 30px; 
}

.footer-tree {
    flex: 1; 
    max-width: 300px; 
    flex-shrink: 0; 
}

.footer-tree img {
    display: block;
    max-width: 100%;
    height: auto;
    max-height: 400px; 
    margin-bottom: -30px; /* IHRE ANPASSUNG */
}

.footer-text {
    flex: 2; 
}

/* KORREKTUR 1 (WIEDERHERGESTELLT): Separatoren für .footer-register (Desktop) */
.footer-register-line {
    display: inline;
}
.footer-register-line:not(:last-child)::after {
    content: ' \2022 '; /* \2022 ist der Bullet • */
    white-space: pre;
    opacity: 0.8;
}


footer a[href^="tel:"]::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    margin-right: 6px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M3.654 1.328a.678.678 0 0 0-1.015-.063L1.605 2.3c-.483.484-.661 1.169-.45 1.77a17.6 17.6 0 0 0 4.168 6.608 17.6 17.6 0 0 0 6.608 4.168c.601.211 1.286.033 1.77-.45l1.034-1.034a.678.678 0 0 0-.063-1.015l-2.307-1.794a.68.68 0 0 0-.58-.122l-2.19.547a1.75 1.75 0 0 1-1.657-.459L5.482 8.062a1.75 1.75 0 0 1-.46-1.657l.548-2.19a.68.68 0 0 0-.122-.58L3.654 1.328zM1.884.511a1.745 1.745 0 0 1 2.612.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.68.68 0 0 0 .178.643l2.457 2.457a.68.68 0 0 0 .644.178l2.189-.547c.52-.13 1.071-.004 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.612l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.6 18.6 0 0 1-7.01-4.42 18.6 18.6 0 0 1-4.42-7.009c-.363-1.03-.038-2.137.703-2.877z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
footer a[href^="mailto:"]::before {
    content: '';
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    margin-right: 6px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414zM0 4.697V12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V4.697l-5.875 3.525a.5.5 0 0 1-.576 0z'/%3e%3c/svg%3e");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-nav-links {
    display: block; 
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* KORREKTUR 3 (WIEDERHERGESTELLT): Bessere Abstände für Unternavigation (Desktop) */
.footer-nav-links a {
    margin: 0 10px; /* Gleichmäßiger Abstand links und rechts */
    display: inline-block; /* Stellt sicher, dass ::before funktioniert */
    position: relative;
}
.footer-nav-links a:first-child {
    margin-left: 0; /* Kein Abstand beim ersten Element */
}
/* Fügt den | Trenner via CSS hinzu */
.footer-nav-links a:not(:first-child)::before {
    content: '|';
    position: absolute;
    left: -10px; /* Platziert den Trenner im Marge-Bereich */
    opacity: 0.8;
}


/* === LEICHTE SPRACHE PANEL STYLING === */
.ls-panel {
    position: fixed;
    top: 0;
    left: 0; 
    width: 450px; 
    height: 100vh;
    background: var(--color-white);
    box-shadow: 5px 0 20px rgba(0,0,0,0.15); 
    z-index: 1002; 
    
    display: flex;
    flex-direction: column;
    
    transform: translateX(-100%); 
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ls-panel.ls-panel-active {
    transform: translateX(0);
}

.ls-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--color-light-gray);
    flex-shrink: 0; 
}

.ls-header h2 {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 1.5rem;
    color: var(--color-text); 
    
    display: flex;
    align-items: center;
    gap: 15px; 
}

.ls-header-icon {
    width: 40px; 
    height: 40px;
    flex-shrink: 0;
}


.ls-close-button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    width: 24px;
    height: 24px;
    position: relative;
}
.ls-close-button:hover {
    opacity: 1;
}
.ls-close-button::before,
.ls-close-button::after {
    content: '';
    position: absolute;
    left: 11px;
    top: 2px;
    width: 2px;
    height: 20px;
    background-color: var(--color-text);
}
.ls-close-button::before {
    transform: rotate(45deg);
}
.ls-close-button::after {
    transform: rotate(-45deg);
}

.ls-audio-control {
    padding: 30px;
    border-bottom: 1px solid var(--color-light-gray);
    flex-shrink: 0;
}
.ls-audio-control .btn-solid {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
}
.ls-audio-control .btn-solid::before {
    content: '▶';
    font-size: 0.8em;
    margin-right: 5px;
}
.ls-audio-control .btn-solid[aria-pressed="true"]::before {
    content: '❚❚';
    font-size: 0.9em;
    margin-right: 5px;
    letter-spacing: 1px;
}


.ls-content {
    padding: 30px;
    overflow-y: auto; 
    flex-grow: 1; 
    line-height: 1.8; 
    font-size: 1.1rem;
}
.ls-content p {
    margin-bottom: 1.5rem;
}
/* === ENDE LS PANEL === */


/* === RESPONSIVE STYLES (TABLET) === */
@media (max-width: 1024px) {

    /* --- Header-Anpassungen --- */
    .navbar {
        padding: 15px 0; 
    }
    
    .navbar-container {
        flex-direction: row; 
        justify-content: space-between;
        align-items: center;
    }

    .navbar-top {
        padding: 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%; 
    }
    
    .logo img {
        max-height: 55px; 
    }

    .btn-contact {
        display: none;
    }

    .nav-toggle {
        display: block; 
    }

    /* --- Mobiles Menü-Overlay --- */
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0; 
        left: auto;
        width: 100%;
        height: 100vh; 
        background: var(--color-white);
        z-index: 999; 
        
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        
        overflow-y: auto; 
    }

    .nav-menu.nav-menu-active {
        transform: translateX(0);
    }

    /* --- Mobile Menü-Links --- */
    .nav-menu ul {
        flex-direction: column; 
        justify-content: flex-start; 
        align-items: flex-start; 
        gap: 0;
        padding: 120px 20px 40px 20px; 
        margin-top: 0;
        border-top: none;
        height: auto;
    }
    
    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        font-size: 1.4rem; 
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid var(--color-light-gray);
    }
    
    .nav-menu .menu-item-has-children > a::after {
        display: none; 
    }
    
    /* --- Mobile Sub-Menüs --- */
    .nav-menu .sub-menu {
        display: block; 
        position: static; 
        background: none;
        box-shadow: none;
        border: none;
        padding: 0;
        margin-left: 20px; 
        margin-bottom: 10px;
        min-width: auto;
        width: 100%;
    }
    
    .nav-menu .sub-menu a {
        font-size: 1rem; 
        font-weight: 400;
        padding: 8px 0;
        border-bottom: none; 
    }
    
    /* Links im Footer anzeigen (da sie oben verschwinden) */
    .footer-nav-links {
        display: block;
    }
    
    /* GEÄNDERT: Links werden bei 1024px ausgeblendet, nicht erst bei 450px */
    .utility-bar-links .hide-on-mobile {
        display: none;
    }
}

/* === RESPONSIVE STYLES (SMARTPHONE) === */
@media (max-width: 1024px) {

    /* === START HERO RESPONSIVE ÄNDERUNG === */
    .hero {
        flex-direction: column-reverse; /* NEU: Stapelt in umgekehrter Reihenfolge */
        height: auto; /* Höhe wird durch Kinder bestimmt */
    }

    /* Mobile Stile für die Spalten */
    .hero-tree-container {
        min-height: auto;
        height: 300px; /* Höhe für den Baum-Block */
        padding: 20px 20px 0 20px; 
    }
    .hero-tree-container img {
        max-height: 320px; /* Baum im Block verkleinern */
    }
    .hero-banner-container {
        justify-content: center;
        height: 450px; /* Höhe für den Banner-Block */
    }
    .hero-content {
        justify-content: center;
        padding-top: 30px;
    }
 }   
@media (max-width: 767px) {

    /* === START HERO RESPONSIVE ÄNDERUNG === */
    .hero {
        flex-direction: column-reverse; /* NEU: Stapelt in umgekehrter Reihenfolge */
        height: auto; /* Höhe wird durch Kinder bestimmt */
    }

    /* Mobile Stile für die Spalten */
    .hero-tree-container {
        min-height: auto;
        height: 300px; /* Höhe für den Baum-Block */
        padding: 20px 20px 0 20px; 
    }
    .hero-tree-container img {
        max-height: 320px; /* Baum im Block verkleinern */
    }
    .hero-banner-container {
        justify-content: center;
        height: 450px; /* Höhe für den Banner-Block */
    }
    .hero-content {
        justify-content: center;
        padding-top: 30px;
    }
    /* === ENDE HERO RESPONSIVE ÄNDERUNG === */

    .hero h1 {
        font-size: 1.6rem; 
    }

    .card-grid {
        grid-template-columns: 1fr; /* Karten stapeln */
    }
    
    .card h2 {
        font-size: 1.4rem; 
        letter-spacing: 0.5px; 
    }

    .ls-panel {
        width: 100%;
    }
    
    .utility-bar-accessibility {
        gap: 10px; 
    }
    
    /* --- UNTERSEITEN RESPONSIVE (INTEGRIERT) --- */
    .page-header {
        margin-bottom: 20px;
    }
    .page-header h1 {
        font-size: 2rem;
    }
    .main-content {
        padding: 20px;
    }
    .contact-grid {
        grid-template-columns: 1fr; /* Stapeln */
        gap: 30px;
    }
    .group-grid {
        grid-template-columns: 1fr 1fr; /* 2 Spalten auf Mobil */
        gap: 10px;
    }
    .group-grid a {
        font-size: 1rem;
        padding: 15px 10px;
    }
    /* --- ENDE UNTERSEITEN-STILE --- */


    /* --- Mobile Footer-Anpassungen --- */
    footer {
        text-align: left; 
    }
    
    .footer-wrapper {
        flex-direction: column;
    }
    .footer-text {
        order: 1; /* Text kommt zuerst */
    }
    .footer-tree {
        order: 2; /* Baum kommt danach */
        margin-top: 30px;
        max-width: 250px; /* Baum auf Mobilgeräten kleiner */
    }

    /* KORREKTUR 4 (WIEDERHERGESTELLT): Unternavigation auf Mobilgeräten stapeln */
    .footer-nav-links {
        text-align: left;
    }
    .footer-nav-links a {
        display: block; /* Stapelt die Links */
        margin: 5px 0; /* Vertikaler Abstand */
    }
    .footer-nav-links a:not(:first-child)::before {
        display: none; /* Blendet die CSS-Separatoren aus */
    }

    footer p {
        line-height: 1.5; 
        margin-bottom: 8px; 
    }
    
    /* KORREKTUR 2 (WIEDERHERGESTELLT): Zentrierung von "Stand:" aufheben */
    footer p:last-child {
        /* text-align: center; */ /* REGEL ENTFERNT */
        margin-top: 20px; 
    }
    /* Stellt sicher, dass das letzte p IM text-container linksbündig ist */
    .footer-text p:last-child {
        text-align: left;
        margin-top: 0;
    }

    .footer-separator {
        display: none; 
    }

    .footer-contact-item {
        display: block; 
    }
    
    .footer-contact-item:first-child {
         margin-bottom: 5px; 
    }
    
    footer a[href^="tel:"]::before,
    footer a[href^="mailto:"]::before {
        margin-right: 8px;
        margin-left: 2px; 
    }

    .footer-org-separator {
        display: none;
    }
    .footer-org-line1,
    .footer-org-line2 {
        display: block;
    }

    .footer-address-separator {
        display: none;
    }
    .footer-address-line1,
    .footer-address-line2 {
        display: block;
    }

    .footer-register {
        margin-bottom: 0; 
    }
    .footer-register-line {
        display: block;
        line-height: 1.4;
    }
    .footer-register + p {
        margin-top: 8px;
    }
}

/* === RESPONSIVE STYLES (KLEINE SMARTPHONES) === */
@media (max-width: 450px) {

    .utility-bar-container {
        flex-direction: column; 
        align-items: center;    
        gap: 5px;               
    }
    
    .utility-bar-accessibility,
    .utility-bar-links {
        justify-content: center; 
    }

    /* .hide-on-mobile ist jetzt oben bei 1024px */
    
    .utility-bar-links {
        gap: 10px;
        margin-top: 5px; 
    }
    .utility-bar-accessibility {
        gap: 5px;
    }
    
    /* Gruppen-Grid auf 1 Spalte (INTEGRIERT) */
    .group-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   STARTSEITE - Ergänzungen für Gruppen-Block
   Hinzufügen zu style.css oder als separates Include
   ======================================== */

/* Gruppen-Highlight mit großer Zahl */
.gruppen-highlight {
    text-align: center;
    margin: 0.5rem 0 1rem 0;
}

.gruppen-anzahl {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gruppen-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    opacity: 0.9;
}

/* Gruppen-Schnellauswahl Dropdown */
.gruppen-schnellauswahl {
    margin-top: 1rem;
}

.gruppe-dropdown {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 1rem;
    font-family: inherit;
    color: #333;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-transition: border-color 0.2s ease, box-shadow 0.2s ease;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gruppe-dropdown:hover {
    border-color: rgba(255, 255, 255, 0.5);
}

.gruppe-dropdown:focus {
    outline: none;
    border-color: #fff;
    -webkit-box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* IE/Edge Dropdown-Pfeil entfernen */
.gruppe-dropdown::-ms-expand {
    display: none;
}

/* Screen-Reader Only (für Barrierefreiheit) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .gruppen-anzahl {
        font-size: 2.75rem;
    }
    
    .gruppen-label {
        font-size: 0.9rem;
    }
    
    .gruppe-dropdown {
        padding: 0.625rem 2.25rem 0.625rem 0.875rem;
        font-size: 0.95rem;
    }
}