/* Freibad Kaiserswerth – Flossen weg e.V. · V2
   Sachlich, informationsorientiert (Vorbild: kommunale Bäderseiten). Nur Light.
   Schrift: Source Sans 3 (SIL OFL 1.1), lokal gehostet. */

@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/source-sans-3-var-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/source-sans-3-var-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Source Sans 3";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/source-sans-3-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Source Sans 3";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/source-sans-3-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    color-scheme: light;

    /* Farben – abgeleitet aus dem Logo bzw. dem Elementor-Kit der Altseite */
    --blau: #0456ab;          /* Vereinsblau: Links, Knöpfe, Tabellenköpfe */
    --blau-tief: #033a73;     /* Servicezeile, Fuß, Hover */
    --hellblau: #add9f3;      /* Logo-Hellblau: Linien, Markierungen */
    --wasser: #eaf4fb;        /* ruhige Fläche: Seitenkopf, Infoblöcke */
    --pink: #d6005a;          /* nur Status „geschlossen“ */
    --text: #17212c;
    --text-2: #4a5866;
    --linie: #d4dfe8;
    --linie-stark: #9fb3c4;
    --weiss: #ffffff;

    --schrift: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    --rahmen: 75rem;
    --rand: 1rem;
    --ecke: 3px;
    --abstand: clamp(2.5rem, 6vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--schrift);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text);
    background: var(--weiss);
    font-kerning: normal;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; color: var(--text); }
h1 { font-size: clamp(1.875rem, 4.2vw, 2.75rem); font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: clamp(1.375rem, 2.4vw, 1.625rem); font-weight: 650; letter-spacing: -.005em; }
h3 { font-size: 1.1875rem; font-weight: 650; }
p, ul, ol, dl, address, table { margin: 0 0 1rem; }
address { font-style: normal; }
small { font-size: .875em; color: var(--text-2); }
strong { font-weight: 650; }

a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blau-tief); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--blau); outline-offset: 2px; border-radius: 2px; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: var(--rand); top: -100px; z-index: 1000;
    background: var(--blau-tief); color: var(--weiss);
    padding: .6rem 1rem; border-radius: var(--ecke); font-weight: 600;
}
.skip-link:focus { top: .5rem; color: var(--weiss); outline-color: var(--hellblau); }

.rahmen {
    width: 100%;
    max-width: calc(var(--rahmen) + 2 * var(--rand));
    margin-inline: auto;
    padding-inline: var(--rand);
}

@media (min-width: 48em) {
    :root { --rand: 1.5rem; }
}

.pfeil { width: .8em; height: .8em; margin-left: .3em; flex: none; vertical-align: -.05em; }

/* ---------------------------------------------------------- Knöpfe */
.knopf {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 2.75rem; padding: .55rem 1.1rem;
    background: var(--blau); color: var(--weiss);
    border: 2px solid var(--blau); border-radius: var(--ecke);
    font-weight: 600; line-height: 1.25; text-decoration: none; text-align: center;
}
.knopf:hover { background: var(--blau-tief); border-color: var(--blau-tief); color: var(--weiss); }
.knopf-rand { background: transparent; color: var(--blau); }
.knopf-rand:hover { background: var(--wasser); color: var(--blau-tief); border-color: var(--blau-tief); }
.knopf-hell { background: var(--weiss); color: var(--blau-tief); border-color: var(--weiss); }
.knopf-hell:hover { background: var(--hellblau); border-color: var(--hellblau); color: var(--blau-tief); }
.knopf-hell:focus-visible { outline-color: var(--hellblau); }
.knopf-voll { display: flex; width: 100%; }
.knopf-zeile { margin: 1.5rem 0 2.5rem; }
.knopf-stapel { display: grid; gap: .6rem; }

.textlink { display: inline-flex; align-items: center; font-weight: 600; text-decoration: none; }
.textlink:hover { text-decoration: underline; }
.linkreihe { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

.pdf-link { font-weight: 600; }
.pdf-meta { color: var(--text-2); font-weight: 400; font-size: .875em; white-space: nowrap; }
.pdf-link .pdf-meta { display: inline-block; margin-left: .35rem; }
.pdf-meta::before { content: "("; }
.pdf-meta::after { content: ")"; }
.pdf-link .pdf-meta::before, .pdf-link .pdf-meta::after { content: none; }

/* ---------------------------------------------------------- Servicezeile */
.service { background: var(--blau-tief); color: var(--weiss); font-size: .9375rem; }
.service-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.5rem; }
.service p { margin: 0; }
.service a { color: var(--weiss); text-decoration: none; }
.service a:hover, .service a[aria-current] { text-decoration: underline; }
.service a:focus-visible { outline-color: var(--hellblau); }
.service-tel a { font-weight: 650; font-variant-numeric: tabular-nums; }
.service-zusatz { color: #c9dcee; }
.service-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.5rem; }

@media (min-width: 64em) {
    .service-links { display: flex; }
}
@media (max-width: 30em) {
    .service-zusatz { display: none; }
}

/* ---------------------------------------------------------- Kopf */
.kopf { background: var(--weiss); border-bottom: 1px solid var(--linie); position: relative; z-index: 50; }
.kopf-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.logo { flex: none; margin-right: auto; padding: .5rem 0; }
.logo img { width: 10.5rem; }
.kopf-knopf { min-height: 2.5rem; padding: .4rem .9rem; font-size: .9375rem; }

.nav-toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    min-height: 2.5rem; padding: .4rem .6rem;
    background: none; border: 1px solid var(--linie-stark); border-radius: var(--ecke);
    color: var(--text); font: inherit; font-size: .9375rem; font-weight: 600; cursor: pointer;
}
.nav-toggle svg { width: 1.25rem; height: 1.25rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.hauptnavi ul { list-style: none; margin: 0; padding: 0; }
.hauptnavi a, .untermenue-knopf {
    display: flex; align-items: center; width: 100%;
    color: var(--text); text-decoration: none; font: inherit; font-weight: 600;
    background: none; border: 0; cursor: pointer; text-align: left;
}
.caret { width: 1rem; height: 1rem; margin-left: .3rem; transition: transform .15s; }
.untermenue-knopf[aria-expanded="true"] .caret { transform: rotate(180deg); }

/* Mobil: Menü als Liste unter dem Kopf */
@media (max-width: 63.99em) {
    .hauptnavi {
        display: none;
        position: absolute; left: 0; right: 0; top: 100%;
        background: var(--weiss);
        border-top: 1px solid var(--linie); border-bottom: 3px solid var(--blau);
        padding: .5rem var(--rand) 1.25rem;
        max-height: calc(100vh - 7rem); overflow-y: auto;
    }
    .hauptnavi.ist-offen { display: block; }
    .hauptnavi-liste > li { border-bottom: 1px solid var(--linie); }
    .hauptnavi-liste > li > a, .untermenue-knopf { min-height: 3rem; padding: .5rem 0; font-size: 1.0625rem; }
    .untermenue-knopf { justify-content: space-between; }
    .untermenue { display: none; padding: 0 0 .75rem 1rem !important; }
    .hat-untermenue.ist-offen .untermenue { display: block; }
    .untermenue a { min-height: 2.5rem; font-weight: 400; }
    .hauptnavi a[aria-current="page"] { color: var(--blau); }
    .hauptnavi a[aria-current="page"]::before {
        content: ""; width: 3px; align-self: stretch; background: var(--blau); margin-right: .6rem;
    }
    .hauptnavi-service { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; padding-top: .75rem !important; }
    .hauptnavi-service a { min-height: 2.75rem; font-weight: 400; color: var(--blau); text-decoration: underline; }
}

@media (max-width: 30em) {
    .kopf-inner { gap: .5rem; }
    .logo { min-width: 0; }
    .logo img { width: 8.75rem; }
    .kopf-knopf { padding: .4rem .7rem; }
}
@media (max-width: 26em) {
    .nav-toggle-text { display: none; }
    .nav-toggle { padding: .4rem .55rem; }
}

/* Desktop: Navigation rechts */
@media (min-width: 64em) {
    .nav-toggle { display: none; }
    .kopf-inner { min-height: 5.5rem; gap: 1.75rem; }
    .logo img { width: 13rem; }
    .hauptnavi-service { display: none; }
    .hauptnavi-liste { display: flex; gap: .25rem; }
    .hauptnavi-liste > li { position: relative; }
    .hauptnavi-liste > li > a, .untermenue-knopf {
        min-height: 5.5rem; padding: 0 .7rem; font-size: 1.0625rem;
        border-bottom: 3px solid transparent; border-top: 3px solid transparent;
    }
    .hauptnavi-liste > li > a:hover, .untermenue-knopf:hover { color: var(--blau); }
    .hauptnavi-liste > li.ist-aktiv > a, .hat-untermenue.ist-aktiv > .untermenue-knopf { border-bottom-color: var(--blau); color: var(--blau); }
    .untermenue {
        display: none;
        position: absolute; left: 0; top: 100%; min-width: 16rem;
        background: var(--weiss);
        border: 1px solid var(--linie); border-top: 3px solid var(--blau);
        padding: .4rem 0 !important;
        box-shadow: 0 6px 16px rgb(3 58 115 / .10);
    }
    .hat-untermenue.ist-offen .untermenue { display: block; }
    .untermenue a { padding: .55rem 1rem; font-weight: 400; }
    .untermenue a:hover { background: var(--wasser); color: var(--blau-tief); }
    .untermenue a[aria-current="page"] { color: var(--blau); font-weight: 600; }
    .untermenue-extern { border-top: 1px solid var(--linie); margin-top: .3rem; padding-top: .3rem; }
}
@media (min-width: 64em) and (max-width: 74em) {
    .hauptnavi-liste > li > a, .untermenue-knopf { padding: 0 .45rem; font-size: 1rem; }
    .kopf-inner { gap: 1rem; }
    .logo img { width: 11rem; }
}

/* ---------------------------------------------------------- Seitenkopf (Unterseiten) */
.seitenkopf { background: var(--wasser); border-bottom: 1px solid var(--linie); padding: 1.25rem 0 2rem; }
.seitenkopf h1 { margin: 0; }
.seitenkopf-intro { margin-top: .75rem; }
.seitenkopf-intro p { margin: 0; }

.brotkrumen ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; font-size: .9375rem; color: var(--text-2); }
.brotkrumen li + li::before { content: "/"; margin: 0 .5rem; color: var(--linie-stark); }
.brotkrumen a { color: var(--text-2); }
.brotkrumen a:hover { color: var(--blau); }

.zeitraum { font-size: 1.25rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.zeitraum span { display: inline-block; margin-right: .5rem; font-weight: 400; color: var(--text-2); }

.inhalt { padding-block: 2.25rem var(--abstand); }
.inhalt > h2:first-child, .fliesstext > h2:first-child { margin-top: 0; }
.inhalt h2, .fliesstext h2 { margin-top: 2.25rem; }
.inhalt h3, .fliesstext h3 { margin-top: 1.5rem; margin-bottom: .4rem; }
.inhalt ul, .inhalt ol { padding-left: 1.25rem; }
.inhalt li { margin-bottom: .3rem; }
.inhalt li > ul { margin: .3rem 0 0; }
.abschnitt-titel { margin-top: 0 !important; }

/* Zweispaltig: Inhalt + Randspalte */
.zweispaltig { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3rem; }
@media (min-width: 64em) {
    .zweispaltig { grid-template-columns: minmax(0, 1fr) 22rem; }
}
.randspalte { display: grid; gap: 1.25rem; align-content: start; }
.randblock { border-top: 3px solid var(--blau); background: var(--wasser); padding: 1.25rem 1.25rem .5rem; }
.randblock h2 { font-size: 1.1875rem; margin: 0 0 .6rem !important; }
.randblock-betont { background: var(--weiss); border: 1px solid var(--linie); border-top: 3px solid var(--blau); }
.randblock-quer { margin-top: 2.5rem; }
.randblock .tabelle caption { font-size: 1.0625rem; }
.randblock .tabelle th, .randblock .tabelle td { padding: .65rem .5rem; }
.randblock .tabelle-fuss { font-size: .875rem; }
@media (min-width: 64em) {
    .zweispaltig.rand-breit { grid-template-columns: minmax(0, 1fr) 26rem; }
}

.hinweis { margin-top: 2rem; border-left: 4px solid var(--blau); padding: .25rem 0 .25rem 1.25rem; }
.hinweis h2 { font-size: 1.1875rem; margin: 0 0 .5rem !important; }

/* ---------------------------------------------------------- Tabellen */
.tabelle { margin-bottom: 1.5rem; }
.tabelle table { width: 100%; border-collapse: collapse; margin: 0; font-variant-numeric: tabular-nums; }
.tabelle caption { text-align: left; font-weight: 650; font-size: 1.1875rem; padding-bottom: .6rem; }
.tabelle th, .tabelle td { text-align: left; vertical-align: top; padding: .8rem 1rem; border-bottom: 1px solid var(--linie); }
.tabelle thead th { background: var(--blau); color: var(--weiss); font-weight: 600; border-bottom: 0; }
.tabelle tbody th { font-weight: 600; }
.tabelle tbody tr:nth-child(even) { background: #f6fafd; }
.tabelle-fuss { font-size: .9375rem; color: var(--text-2); margin: .6rem 0 0; }
.tabelle td small { display: block; }

.tabelle-preise td { text-align: right; white-space: nowrap; }
.tabelle-preise thead th:not(:first-child) { text-align: right; }
.tabelle-zeiten td { white-space: nowrap; }
.tabelle-zeiten tbody th { width: 34%; }

/* Handy: Zeilen stapeln */
@media (max-width: 40em) {
    .tabelle-zeiten thead, .tabelle-kontakt thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .tabelle-zeiten tr, .tabelle-kontakt tr { display: block; border-bottom: 1px solid var(--linie); padding: .75rem 0; background: none !important; }
    .tabelle-zeiten tbody th, .tabelle-kontakt tbody th { display: block; width: auto; padding: 0 0 .35rem; border: 0; font-size: 1.0625rem; }
    .tabelle-zeiten td, .tabelle-kontakt td { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: .75rem; padding: .2rem 0; border: 0; white-space: normal; }
    .tabelle-zeiten td::before, .tabelle-kontakt td::before { content: attr(data-label); color: var(--text-2); }
    .tabelle-zeiten tbody tr:first-child, .tabelle-kontakt tbody tr:first-child { border-top: 3px solid var(--blau); }
    .tabelle-kontakt td { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .tabelle-kontakt td::before { font-size: .875rem; }
    .tabelle-preise th, .tabelle-preise td { padding: .75rem .6rem; }
    .tabelle-preise td { white-space: normal; }
}
.tabelle-kontakt td a { overflow-wrap: anywhere; }

/* ---------------------------------------------------------- Startseite */
.status { background: var(--wasser); border-bottom: 1px solid var(--linie); }
.status-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3rem; padding-block: 1.5rem 1.75rem; }
.status-text p { margin-bottom: .5rem; }
.status-marke {
    display: inline-flex; align-items: center; gap: .5rem;
    font-size: .875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pink);
    margin-bottom: .35rem !important;
}
.status-punkt { width: .625rem; height: .625rem; border-radius: 50%; background: var(--pink); }
.status-titel { font-size: clamp(1.375rem, 2.6vw, 1.75rem); font-weight: 700; line-height: 1.2; margin-bottom: .6rem !important; }
.status-gruss { color: var(--text-2); }

.countdown { align-self: center; }
.countdown-titel { font-weight: 600; margin-bottom: .6rem; }
.countdown-raster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--linie-stark); background: var(--weiss); }
.countdown-raster li { padding: .65rem .5rem .55rem; text-align: center; }
.countdown-raster li + li { border-left: 1px solid var(--linie); }
.countdown-zahl { display: block; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 600; line-height: 1.1; color: var(--blau); font-variant-numeric: tabular-nums; }
.countdown-einheit { display: block; font-size: .875rem; color: var(--text-2); }
.countdown-ende { font-weight: 700; font-size: 1.25rem; }

@media (min-width: 64em) {
    .status-inner { grid-template-columns: minmax(0, 1fr) 26rem; padding-block: 1.75rem 2rem; }
}

.start-kopf { padding-block: 2.5rem 0; }
.start-kopf-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 3rem; align-items: center; }
.start-kopf h1 { margin-bottom: .75rem; }
.h1-zusatz { display: block; font-size: .55em; font-weight: 600; color: var(--blau); letter-spacing: 0; margin-top: .3rem; }
.lead { font-size: clamp(1.1875rem, 2vw, 1.375rem); line-height: 1.45; color: var(--text); }
.start-bild { margin: 0 calc(-1 * var(--rand)); }
.start-bild img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

@media (min-width: 48em) {
    .start-bild { margin: 0; }
    .start-bild img { border-radius: var(--ecke); }
}
@media (min-width: 64em) {
    .start-kopf { padding-top: 3.5rem; }
    .start-kopf-inner { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.wege { padding-block: var(--abstand) 0; }
.wege-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--linie); }
.wege-liste li { border-bottom: 1px solid var(--linie); }
.weg { display: block; padding: 1.1rem 0 1.2rem; color: var(--text); text-decoration: none; height: 100%; }
.weg-titel { display: flex; align-items: center; font-size: 1.3125rem; font-weight: 700; color: var(--blau); margin-bottom: .3rem; }
.weg-text { display: block; color: var(--text-2); }
.weg:hover .weg-titel { text-decoration: underline; text-underline-offset: .18em; }
.weg:hover .pfeil { transform: translateX(2px); }

@media (min-width: 48em) {
    .wege-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}
@media (min-width: 64em) {
    .wege-liste { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
    .wege-liste li { border-bottom: 0; border-top: 3px solid var(--blau); }
    .weg { padding: 1rem 0 0; }
}

.start-unten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem 4rem; padding-block: var(--abstand); }
@media (min-width: 64em) {
    .start-unten { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}
.start-block h2 { padding-bottom: .6rem; border-bottom: 1px solid var(--linie); }

.terminliste { list-style: none; padding: 0; margin: 0 0 1rem; }
.terminliste li { display: grid; grid-template-columns: minmax(0, 1fr); gap: .1rem 1.5rem; padding: .7rem 0; border-bottom: 1px solid var(--linie); }
.termin-datum { color: var(--text-2); font-variant-numeric: tabular-nums; font-size: .9375rem; }
.termin-titel { font-weight: 600; }
@media (min-width: 40em) {
    .terminliste li { grid-template-columns: 15rem minmax(0, 1fr); }
    .termin-datum { font-size: inherit; }
}

.adresse { margin-bottom: 1rem; line-height: 1.5; }
.fakten { margin: 0 0 1.25rem; }
.fakten div { display: grid; grid-template-columns: minmax(0, 1fr); padding: .55rem 0; border-top: 1px solid var(--linie); }
.fakten dt { font-weight: 600; }
.fakten dd { margin: 0; }
@media (min-width: 30em) {
    .fakten div { grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; }
}

/* ---------------------------------------------------------- Schwimmkurse: Bereichsnavigation */
.mit-bereichsnavi { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3.5rem; }
.bereichsnavi { border-top: 3px solid var(--blau); background: var(--wasser); padding: .9rem 1rem .6rem; align-self: start; }
.bereichsnavi-titel { font-weight: 700; margin: 0 0 .3rem; }
.bereichsnavi ul { list-style: none; margin: 0; padding: 0 !important; }
.bereichsnavi li { margin: 0; border-top: 1px solid var(--linie); }
.bereichsnavi a { display: block; padding: .55rem 0; text-decoration: none; color: var(--text); }
.bereichsnavi a:hover { color: var(--blau); text-decoration: underline; }
.bereichsnavi a[aria-current="page"] { color: var(--blau); font-weight: 650; }
@media (min-width: 64em) {
    .mit-bereichsnavi { grid-template-columns: 16rem minmax(0, 1fr); }
    .bereichsnavi { position: sticky; top: 1rem; }
}
@media (max-width: 63.99em) {
    .bereichsnavi ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
    .bereichsnavi li { border-top: 0; }
    .bereichsnavi a { padding: .35rem 0; text-decoration: underline; color: var(--blau); }
    .bereichsnavi a[aria-current="page"] { color: var(--text); text-decoration: none; }
}
.mit-bereichsnavi article > h2:first-child, .mit-bereichsnavi article > p:first-child { margin-top: 0; }

.kursstand { border-left: 4px solid var(--blau); padding: .2rem 0 .2rem 1.25rem; }
.kursstand p { margin-bottom: .5rem; }
.kursstand em { font-style: normal; }

.linkliste { list-style: none; padding: 0 !important; margin: 0 0 2rem; border-top: 1px solid var(--linie); }
.linkliste li { margin: 0 !important; border-bottom: 1px solid var(--linie); }
.linkliste a { display: block; padding: .85rem 0; text-decoration: none; }
.linkliste-titel { display: flex; align-items: center; font-weight: 650; font-size: 1.125rem; }
.linkliste-text { display: block; color: var(--text-2); }
.linkliste a:hover .linkliste-titel { text-decoration: underline; }
.bild-breit { margin: 0; }

/* Trainerteam */
.trainer { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem 1.25rem; padding: 1.5rem 0; border-top: 1px solid var(--linie); align-items: start; }
.trainer img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--ecke); }
.trainer img.platzhalter { object-fit: contain; background: var(--wasser); padding: .75rem; }
.trainer .name { display: inline-block; font-weight: 700; font-size: 1.1875rem; margin-bottom: .2rem; }
.trainer p { margin-bottom: .6rem; }
@media (min-width: 40em) {
    .trainer { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.75rem; }
}
.trainer:last-of-type img:not(.platzhalter) { aspect-ratio: auto; }

/* ---------------------------------------------------------- Veranstaltungen */
.eintragliste { list-style: none; padding: 0 !important; margin: 0; border-top: 3px solid var(--blau); }
.eintrag { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--linie); margin: 0 !important; align-items: start; }
.eintrag-datum { margin: 0; font-weight: 600; color: var(--blau); font-variant-numeric: tabular-nums; }
.eintrag-text h3 { margin: 0 0 .3rem !important; font-size: 1.25rem; }
.eintrag-text p { margin: 0; }
.eintrag .knopf { justify-self: start; white-space: nowrap; }
@media (min-width: 48em) {
    .eintrag { grid-template-columns: 13rem minmax(0, 1fr) 11rem; }
    .eintrag .knopf { justify-self: stretch; }
}

/* ---------------------------------------------------------- Über uns */
.reihe { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3rem; padding-block: 2rem; border-top: 1px solid var(--linie); }
.reihe:first-child { border-top: 0; padding-top: 0; }
.reihe h2 { margin-top: 0 !important; }
.reihe-bild { display: grid; gap: 1rem; align-content: start; }
.reihe-bild img { width: 100%; border-radius: var(--ecke); }
@media (min-width: 64em) {
    .reihe { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
    .reihe.bild-links > .reihe-bild { order: -1; }
    .reihe.bild-links { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

/* ---------------------------------------------------------- Presse */
.presse-raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem 3.5rem; }
@media (min-width: 64em) {
    .presse-raster { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.akkordeon { border-top: 3px solid var(--blau); }
.akkordeon details { border-bottom: 1px solid var(--linie); }
.akkordeon summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: .85rem 0; cursor: pointer; list-style: none;
    font-weight: 650; font-size: 1.125rem; font-variant-numeric: tabular-nums;
}
.akkordeon summary::-webkit-details-marker { display: none; }
.akkordeon summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--blau); }
.akkordeon details[open] summary::after { content: "–"; }
.akkordeon summary:hover { color: var(--blau); }
.akkordeon-inhalt { padding: 0 0 1rem; }
.akkordeon-inhalt p { margin-bottom: .8rem; }

/* ---------------------------------------------------------- Lageplan */
.linien { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 2.5rem; }
@media (min-width: 48em) {
    .linien { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.linienliste { list-style: none; padding: 0 !important; }
.linienliste li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: .75rem; padding: .45rem 0; border-top: 1px solid var(--linie); margin: 0 !important; }
.linie {
    display: inline-block; text-align: center; font-weight: 700; font-size: .9375rem; font-variant-numeric: tabular-nums;
    border: 1.5px solid var(--blau); color: var(--blau); border-radius: 2px; padding: .05rem 0; align-self: start;
}

/* ---------------------------------------------------------- Rechtstexte */
.rechtstext h2 { font-size: 1.375rem; }
.rechtstext h3 { font-size: 1.125rem; }
.rechtstext { overflow-wrap: break-word; }

/* ---------------------------------------------------------- Sponsoren + Fuß */
.sponsoren-leiste { border-top: 1px solid var(--linie); padding-block: 1.75rem; }
.sponsoren-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.5rem; }
.sponsoren-titel { font-size: .9375rem; font-weight: 600; color: var(--text-2); margin: 0; }
.sponsoren { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.5rem; }
.sponsoren img { height: 3.25rem; width: auto; }
.sponsoren a { display: block; }

.fuss { background: var(--blau-tief); color: #dce9f5; font-size: .9375rem; padding-block: 2.5rem 1.5rem; }
.fuss a { color: var(--weiss); text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss a:focus-visible { outline-color: var(--hellblau); }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: .35rem; }
.fuss-mitglied {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem 2rem; align-items: center;
    padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid rgb(255 255 255 / .2);
}
.fuss-mitglied p { margin: 0; font-size: 1.25rem; color: var(--weiss); }
.fuss-mitglied .knopf { justify-self: start; }
.fuss .knopf-hell, .fuss .knopf-hell:hover { color: var(--blau-tief); }
.fuss-mitglied .knopf:hover { text-decoration: none; }
@media (min-width: 48em) {
    .fuss-mitglied { grid-template-columns: minmax(0, 1fr) auto; }
}
.fuss-spalten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.75rem 2rem; }
@media (min-width: 30em) {
    .fuss-spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 64em) {
    .fuss-spalten { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.fuss-titel { font-size: 1rem; font-weight: 700; color: var(--weiss); margin: 0 0 .6rem; }
.fuss address { line-height: 1.6; }
.fuss-unten { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgb(255 255 255 / .2); display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; }
.fuss-unten p { margin: 0; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.fuss-recht li { margin: 0; }
.gemacht { margin-left: auto !important; }

/* ---------------------------------------------------------- Modal (Fotos, PDFs) */
.zoom { display: block; cursor: zoom-in; }
.knopf.zoom { display: inline-flex; cursor: pointer; }

.modal { border: 0; padding: 0; background: var(--weiss); color: var(--text); border-radius: var(--ecke); max-width: calc(100vw - 2rem); max-height: calc(100vh - 2rem); }
.modal::backdrop { background: rgb(10 20 35 / .75); }
.modal-pdf { width: min(64rem, calc(100vw - 2rem)); height: calc(100vh - 2rem); display: none; flex-direction: column; }
.modal-pdf[open] { display: flex; }
.modal-kopf { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem .6rem 1rem; border-bottom: 1px solid var(--linie); }
.modal-titel { margin: 0 auto 0 0; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.modal-kopf .knopf { min-height: 2.5rem; padding: .35rem .8rem; font-size: .9375rem; white-space: nowrap; }
.modal-pdf iframe { flex: 1; width: 100%; border: 0; }
.modal-schliessen {
    width: 2.5rem; height: 2.5rem; flex: none;
    border: 1px solid var(--linie-stark); border-radius: var(--ecke); background: var(--weiss);
    font-size: 1.5rem; line-height: 1; color: var(--text); cursor: pointer;
}
.modal-schliessen:hover { background: var(--wasser); }
.modal-bild { background: #0c1622; padding: 0; overflow: visible; }
.modal-bild img { max-width: calc(100vw - 2rem); max-height: calc(100vh - 6rem); width: auto; height: auto; margin: 0 auto; cursor: zoom-out; }
.modal-bild .modal-schliessen { position: absolute; top: .5rem; right: .5rem; z-index: 1; }
.modal-bild-text { margin: 0; padding: .6rem 1rem; color: var(--weiss); font-size: .9375rem; }
@media (max-width: 40em) {
    .modal-kopf .knopf { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
}

@media print {
    .service, .kopf .hauptnavi, .nav-toggle, .kopf-knopf, .sponsoren-leiste, .fuss-mitglied, .bereichsnavi { display: none !important; }
    .fuss { background: none; color: var(--text); }
    .fuss a { color: var(--text); }
}
