/* === Utility Bar === */
.utility-bar {
    background-color: var(--color-secondary);
    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 {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.utility-link:hover {
    color: var(--color-white);
    background-color: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}
.utility-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    opacity: 0.85;
    transform: translateY(-0.5px); /* auf optische x-Höhe des Texts justieren */
}
.utility-link:hover svg {
    opacity: 1;
}

.utility-button {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 4px;
    padding: 4px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 0.9rem;
    color: var(--color-white);
    font-weight: bold;
    transition: all 0.3s ease;
    line-height: 1.4;
    text-decoration: none;
}
.utility-button:hover {
    background: rgba(255, 255, 255, 0.28);
    color: var(--color-white);
}

#play-main-audio::before {
    content: '▶';
    font-size: 0.8em;
    margin-right: 2px;
}
#play-main-audio[aria-pressed="true"]::before {
    content: '❚❚';
    font-size: 0.9em;
    margin-right: 2px;
    letter-spacing: 1px;
}


@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 === */
:root {
    --color-primary: #448D3D;    /* Sachsen-Grün */
    --color-secondary: #2F6A2A;  /* tieferes Grün – Utility-Bar, Akzente */

    --color-cd-box1: #1F5A6B;    /* Petrol (Elbe-Bezug) */
    --color-cd-box2: #B47B2A;    /* Bernstein/Wappen-Gold */
    --color-cd-box3: #7A2638;    /* Beerenrot/Burgund */
    --color-footer: #2F6A2A;     /* tieferes Grün */

    --color-text: #1F2419;       /* warmes Schwarz mit Grünstich */
    --color-light-gray: #EBF7FD; /* Bundes-Hellblau als Content-Bühne */

    --color-bund: #2294C9;       /* Bundes-Blau – CTA-Akzent */
    --color-bund-light: #EBF7FD; /* Bundes-Hellblau – Sektions-Bühne */
    --color-white: #ffffff;
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --border-radius: 12px;
}

/* === Reset & Body === */
* {
    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;
}

/* === Navigation === */
.navbar {
    background: var(--color-bund-light);
    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;
}

.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 rgba(0, 0, 0, 0.08);
}

.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: 1px solid var(--color-light-gray);
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.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;
}

/* === Burger-Menü === */
.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); }


/* === 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,
.btn-contact {
    background-color: var(--color-secondary);
    color: var(--color-white);
    flex-shrink: 0;
}
.btn-solid:hover,
.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* „Mitglied werden": Bundes-Blau als Hervorhebung der wichtigsten CTA */
.btn-contact {
    background-color: var(--color-bund);
}
.btn-contact:hover {
    background-color: #1A7AAA;
    box-shadow: 0 4px 12px rgba(34, 148, 201, 0.3);
}

.btn-outline {
    border: 2px solid;
}
/* Card-Buttons: einheitlich in Sachsen-Grün auf weißem Kartenhintergrund */
.card .btn-outline,
.card .btn-outline-teal {
    background-color: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}
.card .btn-outline:hover,
.card .btn-outline-teal:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}
.card .btn-outline:focus-visible,
.card .btn-outline-teal:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}


/* === Hero === */
.hero {
    display: flex;
    min-height: 480px;
    background-image:
        linear-gradient(180deg, rgba(15, 40, 20, 0.20) 0%, rgba(15, 40, 20, 0.45) 100%),
        url('../media/startseite1.jpg');
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}

.hero-banner-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-content {
    max-width: 700px;
    padding: 32px 40px;
    background-color: rgba(0, 0, 0, 0.28);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.hero h1 {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1.15;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    margin: 0;
}

.hero-titel2 {
    display: block;
    font-size: 0.55em;
    font-weight: 400;
    margin-top: 0.3em;
    opacity: 0.95;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 300;
    margin: 1em 0 1.8em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.01em;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--color-white);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-hero-primary {
    background-color: var(--color-bund);
    border-color: var(--color-bund);
    color: var(--color-white);
}
.btn-hero-primary:hover {
    background-color: #1A7AAA;
    border-color: #1A7AAA;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(34, 148, 201, 0.4);
}


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

/* „Sachsen-Quartier": grüne Bühne um die drei Karten */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    background-color: var(--color-primary);
    padding: 40px;
    border-radius: var(--border-radius);
}

.card {
    background-color: var(--color-white);
    color: var(--color-text);
    border-top: 10px solid var(--color-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 28px 26px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

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

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

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.card-icon svg {
    width: 22px;
    height: 22px;
}

.card h2 {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    color: var(--color-primary);
    margin: 0;
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

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

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

/* Karten-Akzent: Streifen + Icon-Kreis in der jeweiligen Sekundärfarbe */
.card-color-1 { border-top-color: var(--color-cd-box1); }  /* Petrol */
.card-color-2 { border-top-color: var(--color-cd-box2); }  /* Bernstein */
.card-color-3 { border-top-color: var(--color-cd-box3); }  /* Burgund */

.card-color-1 .card-icon { background-color: var(--color-cd-box1); }
.card-color-2 .card-icon { background-color: var(--color-cd-box2); }
.card-color-3 .card-icon { background-color: var(--color-cd-box3); }

/* === Statistik-Block === */
.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
    padding: 40px 30px;
    text-align: center;
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.stat-label {
    display: block;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text);
    opacity: 0.7;
}

.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;
}


/* === Unterseiten === */
.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;
}

.main-content {
    padding: 40px;
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
}

.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,
.group-contact-column .contact-address,
address.contact-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 {
    color: var(--color-secondary);
    text-decoration: none;
}
.contact-details a:hover,
.contact-form a:hover {
    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;
}
.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;
}

.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);
}


/* === Footer === */
footer {
    background-color: var(--color-footer);
    color: var(--color-white);
    padding: 36px 20px 20px;
}

footer p {
    margin-bottom: 4px;
    font-size: 0.85rem;
    line-height: 1.5;
}

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

/* Marke oben: Vereinsname zentriert */
.footer-brand {
    text-align: center;
    padding-bottom: 24px;
    margin-bottom: 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-org-name {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

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

.footer-org-line2 {
    font-weight: 400;
    font-size: 0.9em;
    opacity: 0.9;
}

/* 3-Spalten-Layout für Kontakt/Sprechzeiten/Verein */
.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 28px;
}

.footer-col-title {
    font-family: "FS Me W01 Bold", Arial, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.75;
    margin: 0 0 12px;
}

.footer-col p {
    margin-bottom: 4px;
}

.footer-register-line {
    display: block;
}

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;
}

/* Untere Leiste: Nav-Links + Stand-Datum, zentriert */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 18px;
    text-align: center;
}

.footer-nav-links {
    margin: 0;
    padding: 0;
}

.footer-nav-links a {
    margin: 0 10px;
    display: inline-block;
    position: relative;
}
.footer-nav-links a:first-child {
    margin-left: 0;
}
.footer-nav-links a:not(:first-child)::before {
    content: '|';
    position: absolute;
    left: -10px;
    opacity: 0.5;
}

.footer-stand {
    font-size: 0.78rem;
    opacity: 0.65;
    margin: 12px 0 0;
}

/* Sprechzeiten */
.footer-sprechzeiten {
    margin: 0;
}

.footer-sprechzeiten-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5em;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.footer-sprechzeiten-days {
    font-weight: 500;
}

.footer-sprechzeiten-time {
    opacity: 0.85;
    white-space: nowrap;
}


/* === Leichte Sprache Panel === */
.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;
}


/* === Responsive: Tablet (max-width: 1024px) === */
@media (max-width: 1024px) {

    .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%;
    }

    .navbar-top .logo { order: 1; margin-left: 0; }
    .navbar-top .navbar-top-right { order: 2; margin-left: auto; }

    .logo img { max-height: 55px; }

    /* „Jetzt spenden" als kompakte CTA sichtbar lassen – wichtige Aktion */
    .btn-contact {
        padding: 6px 14px;
        font-size: 0.85rem;
        margin-right: 10px;
    }

    .nav-toggle { display: block; }

    .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);
    }

    .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; }

    .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;
    }

    .footer-nav-links { display: block; }

    .utility-bar-links .hide-on-mobile { display: none; }

    .hero {
        min-height: 380px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .stat-number { font-size: 2.5rem; }
}


/* === Responsive: Smartphone (max-width: 767px) === */
@media (max-width: 767px) {

    .hero { min-height: 420px; }
    .hero-banner-container { padding: 28px 16px; }
    .hero-content { padding: 22px 24px; max-width: 100%; }
    .hero h1 { font-size: 1.7rem; }
    .hero-titel2 { font-size: 0.6em; }
    .hero-tagline { font-size: 1rem; margin: 0.7em 0 1.2em; }
    .btn-hero { padding: 10px 20px; font-size: 0.95rem; }
    .hero-cta { gap: 10px; }

    .card-grid { grid-template-columns: 1fr; padding: 20px; gap: 20px; }

    .card {
        border-top-width: 8px;
        padding: 24px 22px;
    }

    .card-header { gap: 14px; margin-bottom: 14px; }
    .card-icon { width: 48px; height: 48px; }
    .card-icon svg { width: 26px; height: 26px; }

    .card h2 {
        font-size: 1.15rem;
        letter-spacing: 0.5px;
        white-space: normal;
    }

    .stats {
        margin-top: 28px;
        padding: 28px 20px;
        gap: 20px;
    }
    .stat-number { font-size: 2.4rem; margin-bottom: 6px; }
    .stat-label { font-size: 0.85rem; }

    main.container { padding-top: 24px; padding-bottom: 32px; }

    .ls-panel { width: 100%; }

    .utility-bar-accessibility { gap: 10px; }

    .page-header { margin-bottom: 20px; }
    .page-header h1 { font-size: 2rem; }

    .main-content { padding: 20px; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .group-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .group-grid a {
        font-size: 1rem;
        padding: 15px 10px;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-col-title {
        margin-bottom: 8px;
    }

    .footer-nav-links a {
        display: inline-block;
        margin: 4px 8px;
    }
    .footer-nav-links a:not(:first-child)::before { display: none; }

    footer a[href^="tel:"]::before,
    footer a[href^="mailto:"]::before {
        margin-right: 6px;
    }
}


/* === Responsive: Kleine Smartphones (max-width: 450px) === */
@media (max-width: 450px) {

    .utility-bar-container {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .utility-bar-accessibility,
    .utility-bar-links { justify-content: center; }

    .utility-bar-accessibility { gap: 12px; }

    .utility-bar-links {
        gap: 12px;
        margin-top: 2px;
    }

    .utility-button {
        padding: 8px 14px;
        min-height: 40px;
        display: flex;
        align-items: center;
    }

    .group-grid { grid-template-columns: 1fr; }

    /* Header: Spenden-Button auf sehr kleinen Geräten ausblenden, da kein Platz neben Logo + Burger */
    .btn-contact { display: none; }

    /* Hero CTAs vertikal stapeln – volle Breite, einfacher zu treffen */
    .hero-cta { flex-direction: column; align-items: stretch; }
    .btn-hero { width: 100%; }

    .hero h1 { font-size: 1.5rem; }
    .hero-tagline { font-size: 0.95rem; }
}


/* === Gruppen-Block (Startseite) === */
.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: var(--color-primary);
}

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

.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(0, 0, 0, 0.15);
    border-radius: 8px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gruppe-dropdown:hover {
    border-color: var(--color-primary);
}

.gruppe-dropdown:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(68, 141, 61, 0.25);
}

.gruppe-dropdown::-ms-expand {
    display: none;
}

.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;
}

.card-button-container-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.btn-outline-teal {
    border: 2px solid var(--color-footer);
    color: var(--color-footer);
}
.btn-outline-teal:hover {
    background-color: var(--color-footer);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(61, 128, 127, 0.25);
}

@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;
    }
}
/* ============================================================
   Broschüre: Übersichts-Button (.btn-uebersicht)
   Einfügen in style.css
   ============================================================ */

.btn-uebersicht {
    display: inline-block;
    margin: 0 0 1.5rem 0;
    padding: 0.65rem 1.25rem;
    background-color: #3a7d44;   /* Grün passend zur Rheuma-Liga-Marke  */
    color: #ffffff !important;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    text-decoration: none !important;
    line-height: 1.4;
    /* Mindest-Tippfläche für ältere Nutzer / Touch */
    min-height: 44px;
    min-width: 44px;
}

.btn-uebersicht:hover,
.btn-uebersicht:focus {
    background-color: #2c5f34;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: 3px solid #2c5f34;   /* Fokus-Indikator für Tastaturnutzer */
    outline-offset: 2px;
}

/* Auf sehr kleinen Displays volle Breite – leichter zu treffen */
@media (max-width: 480px) {
    .btn-uebersicht {
        display: block;
        text-align: center;
    }
}
/* ============================================================
   Broschüre: PDF-Download-Button + eingebetteter Viewer
   Einfügen in style.css (nach den .btn-uebersicht-Regeln)
   ============================================================ */

/* --- Download-Button --- */
.btn-pdf-download {
    display: inline-block;
    margin: 0.5rem 0 1.5rem 0;
    padding: 0.75rem 1.4rem;
    background-color: #3a7d44;
    color: #ffffff !important;
    border-radius: 5px;
    font-size: 1.05rem;
    font-weight: bold;
    text-decoration: none !important;
    line-height: 1.4;
    min-height: 44px;
}

.btn-pdf-download:hover,
.btn-pdf-download:focus {
    background-color: #2c5f34;
    color: #ffffff !important;
    text-decoration: none !important;
    outline: 3px solid #2c5f34;
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .btn-pdf-download {
        display: block;
        text-align: center;
    }
}

/* --- PDF-Viewer (Desktop) --- */
.pdf-viewer-wrap {
    margin: 1.5rem 0;
    border: 1px solid #d0d0d0;
    border-radius: 6px;
    overflow: hidden;
    /* Schatten macht den Viewer als eigenständiges Element erkennbar */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-viewer {
    display: block;
    width: 100%;
    height: 860px;   /* ca. DIN-A5-Seitenhöhe bei typischer Desktop-Breite */
    border: none;
}

.pdf-viewer-hinweis {
    margin: 0;
    padding: 0.5rem 0.9rem;
    background: #f5f5f5;
    border-top: 1px solid #d0d0d0;
    font-size: 0.85rem;
    color: #555;
}

/* --- Auf Smartphones: Viewer ausblenden, nur Button zeigen --- */
@media (max-width: 768px) {
    .pdf-viewer-wrap {
        display: none;
    }
}

