/* =====================================================================
 * Dunkler Modus (Schalter in der Kopfzeile, Auswahl wird im Browser gemerkt)
 * Automatisch erzeugt aus theme.css + Ergänzungen unten.
 * =================================================================== */
html[data-theme="dark"] { color-scheme: dark; }
html[data-theme="dark"] body { color: #E6ECF5; background: #0B1424; }
html[data-theme="dark"] .s-header { background: rgba(11,20,36,.96); }
html[data-theme="dark"] .s-header.is-scrolled { border-bottom-color: #24344F; }
html[data-theme="dark"] .s-home .s-header.is-scrolled, html[data-theme="dark"] .s-home .s-header.is-open { background: rgba(11,20,36,.96); }
html[data-theme="dark"] .s-nav a { color: #E6ECF5; }
html[data-theme="dark"] .s-nav .sub-menu { background: #14223A; }
html[data-theme="dark"] .s-nav .sub-menu a:hover { background: #111D31; }
html[data-theme="dark"] .s-burger { background: #111D31; }
@media (max-width: 1020px) {
html[data-theme="dark"] .s-nav { background: #14223A; }
html[data-theme="dark"] .s-nav a { border-bottom: 1px solid #24344F; color: #E6ECF5; }
}
html[data-theme="dark"] .s-section--paper { background: #111D31; }
html[data-theme="dark"] .s-head p { color: #A7B3C6; }
html[data-theme="dark"] .s-card { background: #14223A; border: 1px solid #24344F; color: #E6ECF5; }
html[data-theme="dark"] .s-card:hover { color: #E6ECF5; }
html[data-theme="dark"] .s-card__img { color: #A7B3C6; }
html[data-theme="dark"] .s-card__icon { background: #111D31; }
html[data-theme="dark"] .s-card p { color: #A7B3C6; }
html[data-theme="dark"] .s-termin { background: #14223A; border: 1px solid #24344F; color: #E6ECF5; }
html[data-theme="dark"] a.s-termin:hover { color: #E6ECF5; }
html[data-theme="dark"] .s-termin__info span { color: #A7B3C6; }
html[data-theme="dark"] .s-tag { background: #111D31; }
html[data-theme="dark"] .s-tag--orange { background: rgba(242,154,31,.16); }
html[data-theme="dark"] .s-tag--red { background: rgba(217,58,43,.2); }
html[data-theme="dark"] .s-photo { color: #A7B3C6; }
html[data-theme="dark"] .s-post { color: #E6ECF5; }
html[data-theme="dark"] .s-post__img { color: #A7B3C6; }
html[data-theme="dark"] .s-post__meta { color: #A7B3C6; }
html[data-theme="dark"] .s-content th, html[data-theme="dark"] .s-content td { border-bottom: 1px solid #24344F; }
html[data-theme="dark"] .s-content th { color: #A7B3C6; }
html[data-theme="dark"] .s-content .is-style-outline .wp-block-button__link { color: #E6ECF5; }
html[data-theme="dark"] .s-content .wp-block-separator { background: #24344F; }
html[data-theme="dark"] .s-times > .wp-block-group, html[data-theme="dark"] .s-box { background: #111D31; }
html[data-theme="dark"] .s-form { background: #111D31; }
html[data-theme="dark"] .s-form input:not([type="checkbox"]), html[data-theme="dark"] .s-form select, html[data-theme="dark"] .s-form textarea { border: 1px solid #24344F; background: #14223A; color: #E6ECF5; }
html[data-theme="dark"] .s-notice--ok { background: rgba(30,158,90,.18); }
html[data-theme="dark"] .s-notice--err { background: rgba(217,58,43,.2); }
html[data-theme="dark"] .s-fact { background: #111D31; }
html[data-theme="dark"] .s-fact span { color: #A7B3C6; }
html[data-theme="dark"] .s-filter a { border: 1px solid #24344F; color: #E6ECF5; }
html[data-theme="dark"] .s-pager .page-numbers { border: 1px solid #24344F; color: #E6ECF5; }
html[data-theme="dark"] .s-member { background: #111D31; color: #E6ECF5; }
html[data-theme="dark"] .s-dash__nav { background: #111D31; }
html[data-theme="dark"] .s-dash__nav a { color: #E6ECF5; }
html[data-theme="dark"] .s-dash__nav a:hover { background: #14223A; }
html[data-theme="dark"] .s-panel { background: #14223A; border: 1px solid #24344F; }
html[data-theme="dark"] .s-list li { border-top: 1px solid #24344F; }
html[data-theme="dark"] .s-login { background: #14223A; border: 1px solid #24344F; }
html[data-theme="dark"] .s-login input[type="text"], html[data-theme="dark"] .s-login input[type="password"], html[data-theme="dark"] .s-login input[type="email"] { border: 1px solid #24344F; }
html[data-theme="dark"] .s-person__info { color: #A7B3C6; }
html[data-theme="dark"] .s-people__titel::after { background: #24344F; }
html[data-theme="dark"] .s-kommentare-wrap { border-top: 1px solid #24344F; }
html[data-theme="dark"] .s-kommentar-liste .children { border-left: 2px solid #24344F; }
html[data-theme="dark"] .s-kommentar { background: #111D31; }
html[data-theme="dark"] .s-kommentar__kopf small { color: #A7B3C6; }
html[data-theme="dark"] .s-kommentar__wartet { background: rgba(242,154,31,.16); }
html[data-theme="dark"] .s-klein { color: #A7B3C6; }
html[data-theme="dark"] .s-content .wp-block-table th, html[data-theme="dark"] .s-content .wp-block-table td, html[data-theme="dark"] .s-content table th, html[data-theme="dark"] .s-content table td { border-bottom: 1px solid #24344F !important; }
html[data-theme="dark"] .s-aufruf .wp-block-button__link:hover { background: #14223A; color: #E6ECF5; }
html[data-theme="dark"] .s-content details.s-jahr { border: 1px solid var(--s-line,#24344F); background: #14223A; }
html[data-theme="dark"] .s-content details.s-jahr>summary { color: #E6ECF5; }
html[data-theme="dark"] .s-content details.s-jahr .s-jahr__datei { border-top: 1px solid var(--s-line,#24344F); }
html[data-theme="dark"] .s-content .s-liga tr.s-eigenes td { color: #E6ECF5; }
html[data-theme="dark"] .s-content .wp-block-file .wp-block-file__embed { border: 1px solid #24344F; background: #14223A; }
@media (max-width: 1020px) {
html[data-theme="dark"] .s-nav .sub-menu .sub-menu a { color: #A7B3C6; }
}
html[data-theme="dark"] .s-sponsor { background: #14223A; border: 1px solid #24344F; color: #E6ECF5; }
html[data-theme="dark"] .s-sponsor__name-logo { color: #E6ECF5; }
html[data-theme="dark"] .s-sponsor__info { color: #A7B3C6; }
html[data-theme="dark"] .s-sponsor__info strong { color: #E6ECF5; }
html[data-theme="dark"] .s-nl__zeile input[type=email] { border: 2px solid #24344F; background: #14223A; color: #E6ECF5; }
html[data-theme="dark"] .s-nl__ok { color: #A7B3C6; }
html[data-theme="dark"] .s-nl__msg.is-ok { background: rgba(30,158,90,.18); }
html[data-theme="dark"] .s-nl__msg.is-fehler { background: rgba(217,58,43,.2); }
html[data-theme="dark"] .s-nl-box > p { color: #A7B3C6; }
html[data-theme="dark"] .s-nl__erfolg { background: rgba(30,158,90,.18); }
html[data-theme="dark"] .s-login__meldung.is-fehler { background: rgba(217,58,43,.2); }
html[data-theme="dark"] .s-login__meldung.is-ok { background: rgba(30,158,90,.18); }

/* --- Ergänzungen --- */
html[data-theme="dark"] .s-main a:not([class]), html[data-theme="dark"] .s-content a:not(.s-btn):not(.wp-block-button__link):not(.s-sponsor):not(.s-card):not(.s-termin) { color: #8DB8FF; }
html[data-theme="dark"] .s-main a:not([class]):hover, html[data-theme="dark"] .s-content a:not(.s-btn):not(.wp-block-button__link):hover { color: #B9D3FF; }
html[data-theme="dark"] .s-btn--ghost { --fg: #E6ECF5; color: #E6ECF5; }
html[data-theme="dark"] .s-btn--ghost:hover { background: #E6ECF5; border-color: #E6ECF5; color: #0B1424; }
html[data-theme="dark"] .s-logo .s-logo--dark { display: none; }
html[data-theme="dark"] .s-logo .s-logo--light { display: block; }
html[data-theme="dark"] .s-member { background: #1A2A45; color: #E6ECF5; }
html[data-theme="dark"] .s-burger span, html[data-theme="dark"] .s-burger span::before, html[data-theme="dark"] .s-burger span::after { background: #E6ECF5; }
html[data-theme="dark"] .s-header.is-open .s-burger span { background: transparent; }
html[data-theme="dark"] .s-burger { background: #1A2A45; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4 { color: #F2F5FA; }
html[data-theme="dark"] .s-pagehero h1, html[data-theme="dark"] .s-hero h1 { color: #fff; }
html[data-theme="dark"] .s-content table th, html[data-theme="dark"] .s-content table td { border-color: #24344F !important; }
html[data-theme="dark"] .s-content thead { border-bottom-color: #8DB8FF !important; }
html[data-theme="dark"] .s-content details.s-jahr { background: #14223A; border-color: #24344F; }
html[data-theme="dark"] .s-content details.s-jahr > summary { color: #F2F5FA; }
html[data-theme="dark"] .s-content details.s-jahr[open] > summary { background: #1A2A45; }
html[data-theme="dark"] .s-sponsor__logo:not(.s-sponsor__logo--dunkel) { background: #F4F6FA; }
html[data-theme="dark"] .s-sponsor { background: #14223A; border-color: #24344F; color: #E6ECF5; }
html[data-theme="dark"] .s-sponsor__info strong { color: #F2F5FA; }
html[data-theme="dark"] .s-content .s-liga tr.s-eigenes td { color: #FFD08A; background: rgba(242,154,31,.14); }
html[data-theme="dark"] .s-nl__erfolg { background: rgba(30,158,90,.16); color: #BDEBD0; }
html[data-theme="dark"] .s-login__meldung.is-fehler, html[data-theme="dark"] .s-nl__msg.is-fehler { color: #FFC9C2; }
html[data-theme="dark"] .s-login__meldung.is-ok { color: #BDEBD0; }
html[data-theme="dark"] input, html[data-theme="dark"] select, html[data-theme="dark"] textarea { color: #E6ECF5; }
html[data-theme="dark"] ::placeholder { color: #7D8AA0; }
html[data-theme="dark"] .s-form input:not([type="checkbox"]), html[data-theme="dark"] .s-form select, html[data-theme="dark"] .s-form textarea, html[data-theme="dark"] .s-login input[type="text"], html[data-theme="dark"] .s-login input[type="password"], html[data-theme="dark"] .s-login input[type="email"], html[data-theme="dark"] .s-nl__zeile input[type=email] { background: #0F1A2D; border-color: #2B3C5A; color: #E6ECF5; }
html[data-theme="dark"] .s-nl-band .s-nl__zeile input[type=email] { background: rgba(255,255,255,.96); color: #121826; }
html[data-theme="dark"] img:not(.s-logo img):not(.s-sponsor__logo img) { filter: brightness(.94); }
html[data-theme="dark"] .s-target circle[fill="#fff"], html[data-theme="dark"] .s-target circle[fill="#FFFFFF"] { fill: #E6ECF5; }

/* --- Schalter --- */
.s-mode { width: 46px; height: 46px; border-radius: 50%; border: 0; display: inline-flex; align-items: center; justify-content: center; background: var(--s-paper); color: var(--s-ink); cursor: pointer; transition: background .2s, color .2s, transform .3s; flex: none; }
.s-mode:hover { background: var(--s-navy); color: #fff; }
.s-mode svg { width: 21px; height: 21px; }
.s-mode .s-mode__mond { display: block; }
.s-mode .s-mode__sonne { display: none; }
html[data-theme="dark"] .s-mode { background: #1A2A45; color: #FFD08A; }
html[data-theme="dark"] .s-mode .s-mode__mond { display: none; }
html[data-theme="dark"] .s-mode .s-mode__sonne { display: block; }
.s-home .s-header:not(.is-scrolled):not(.is-open) .s-mode { background: rgba(255,255,255,.14); color: #fff; }
.s-mode:active { transform: rotate(-20deg) scale(.94); }
@media (max-width: 1020px) { .s-mode { width: 44px; height: 44px; margin-left: auto; margin-right: 8px; } }
html.s-ohne-uebergang * { transition: none !important; }

/* 2.8.0 – Handy-Menü im Dark Mode lesbar */
@media (max-width: 1020px) {
	html[data-theme="dark"] .s-nav a { color: #E6ECF5 !important; border-bottom-color: #24344F; }
	html[data-theme="dark"] .s-nav .sub-menu a { color: #C9D3E3 !important; }
	html[data-theme="dark"] .s-nav .sub-menu .sub-menu a { color: #A7B3C6 !important; }
	html[data-theme="dark"] .s-nav a:hover, html[data-theme="dark"] .s-nav .current-menu-item > a { color: #FBBF24 !important; }
	html[data-theme="dark"] .s-nav { background: #0F1A2E; }
}
@media (max-width: 600px) { .s-mode { width: 40px; height: 40px; } }

/* 2.8.0 – Kontraste im Dark Mode */
html[data-theme="dark"] { --s-muted: #A7B3C6; }
html[data-theme="dark"] .s-link, html[data-theme="dark"] span.s-link, html[data-theme="dark"] .s-kicker, html[data-theme="dark"] .s-content .s-jahr__klasse, html[data-theme="dark"] .s-post__more { color: #8DB8FF; }
html[data-theme="dark"] .s-tag { color: #BFD3F2; }
html[data-theme="dark"] .s-tag--orange { color: #FBBF24; }
html[data-theme="dark"] .s-tag--red { color: #F4A196; }
html[data-theme="dark"] .s-tag--gruppe { color: #FBBF24; }

/* 2.16.1 – Mitgliederbereich im Dunkelmodus besser lesbar */
html[data-theme="dark"] .s-panel a.s-doc, html[data-theme="dark"] a.s-doc { color: #9CC3F5; }
html[data-theme="dark"] a.s-doc:hover { color: #fff; }
html[data-theme="dark"] .s-doc svg { color: #7FB0F0; }
html[data-theme="dark"] .s-dash__trenner { background: rgba(255,255,255,.12); }
html[data-theme="dark"] .s-dash__nav a { color: #E6ECF5 !important; }
html[data-theme="dark"] .s-dash__nav a[aria-current="page"] { background: #F29A1F; color: #0A1628 !important; }
html[data-theme="dark"] .s-dash__nav a[aria-current="page"] svg { color: #0A1628; }
html[data-theme="dark"] .s-list li { border-top-color: rgba(255,255,255,.09); }
html[data-theme="dark"] .s-dt { background: #1A2A45; }
html[data-theme="dark"] .s-dt small { color: #A7B3C6; }
html[data-theme="dark"] .s-tag { background: #1E3050; color: #DCE6F5; }
html[data-theme="dark"] .s-tag--orange, html[data-theme="dark"] a.s-tag--orange { background: rgba(242,154,31,.18); color: #FBBF24; }
html[data-theme="dark"] .s-tag--gruppe { background: rgba(242,154,31,.14); color: #FBBF24; }
html[data-theme="dark"] .s-tag--red { background: rgba(230,80,60,.18); color: #FF8A75; }
html[data-theme="dark"] .s-kachel span { color: #A7B3C6; }
html[data-theme="dark"] .s-mliste__tab th { color: #A7B3C6; border-bottom-color: rgba(255,255,255,.14); }
html[data-theme="dark"] .s-mliste__tab td { border-bottom-color: rgba(255,255,255,.08); }

/* 2.32.1 – Barrierefreiheit: Knopf im Kopfbereich im Dunkelmodus lesbar (dunkle Schrift auf Orange) */
html[data-theme="dark"] .s-header .s-header__cta .s-btn,
html[data-theme="dark"] .s-header .s-header__cta .s-btn:visited { color: #121826; }
html[data-theme="dark"] .s-header .s-header__cta .s-btn:hover { color: #121826; }
html[data-theme="dark"] .s-nav .s-nav__cta .s-btn,
html[data-theme="dark"] .s-nav .s-nav__cta .s-btn:visited { color: #121826 !important; }
html[data-theme="dark"] .s-nav .s-nav__cta .s-btn:hover { color: #121826 !important; }
html[data-theme="dark"] .s-content details.wp-block-details { background: #14223A; border-color: #24344F; }
html[data-theme="dark"] .s-content details.wp-block-details > summary { color: #F2F5FA; }
html[data-theme="dark"] .s-content details.wp-block-details > summary:hover { background: #1A2A45; }
html[data-theme="dark"] .s-content .s-faq-suche input { background: #14223A; border-color: #24344F; color: #F2F5FA; }
html[data-theme="dark"] .s-content .s-faq-leer { color: #A9B4C6; }
html[data-theme="dark"] .s-tag--green { background: rgba(60,170,100,.18); color: #7FD69C; }
html[data-theme="dark"] .s-vl-box { background: #14223A; border-color: #24344F; }
html[data-theme="dark"] .s-vl-reiter a { background: #14223A; border-color: #24344F; color: #F2F5FA; }
html[data-theme="dark"] .s-vl-reiter a.is-aktiv { background: #F29A1F; border-color: #F29A1F; color: #121826; }
html[data-theme="dark"] .s-aw-liste li:has(input:checked) { background: rgba(242,154,31,.14); }
html[data-theme="dark"] .s-aw-fuss { background: #14223A; border-color: #24344F; }
html[data-theme="dark"] .s-aw-tabelle th, html[data-theme="dark"] .s-aw-tabelle td { border-color: #24344F; }
html[data-theme="dark"] .s-aw-balken { background: linear-gradient(90deg, #F29A1F var(--q), #24344F var(--q)); }
html[data-theme="dark"] .s-ausfall-box { background: rgba(230,80,60,.14); border-color: rgba(230,80,60,.4); }
html[data-theme="dark"] .s-ausfall-box h2 { color: #FF8A75; }
html[data-theme="dark"] .s-ml__pr { background: rgba(60,170,100,.18); color: #7FD69C; }
html[data-theme="dark"] .s-mb-form input { background: #0F1B2E; border-color: #24344F; color: #F2F5FA; }
html[data-theme="dark"] .s-ml__fk { background: rgba(80,140,230,.18); color: #9EC1FF; }
