/*
 * Dunkelmodus. Er gilt, wenn <html data-bs-theme="dark"> gesetzt ist: Das Skript in inc/header.php setzt das
 * Attribut vor dem ersten Rendern aus der Wahl „System“, „Hell“ oder „Dunkel“ (localStorage „wsf-theme“,
 * Standard „System“, dann folgt es prefers-color-scheme auch live). Bootstrap 5.3 schaltet damit seine
 * eigenen Dunkelwerte mit, etwa für .btn-close und Formulare.
 *
 * Neue Dunkelregeln deshalb immer mit [data-bs-theme=dark] davor, nie mit @media (prefers-color-scheme: dark):
 * Eine Media-Query folgt nur dem System und widerspricht dann der Wahl im Menü.
 *
 * Eingebunden nach $extra_head, also nach style.css und den Seiten-CSS (natur.css, blog.css, appmap.css).
 * Farben wie in der Waldschatzfinder-App: Moos #8cc4a5, Schrift auf Moos #14291f. Drei Regeln:
 *  - var(--forest) ist hier hell, damit Überschriften und Text von selbst lesbar bleiben.
 *  - Dunkle Bänder (Hero, Footer, Hinweisleisten) setzen --forest auf var(--band) zurück
 *    (Liste unten), dann bleiben sie samt Inhalt wie im hellen Modus.
 *  - Schrift auf einer Moosfläche ist var(--on-accent), auf Gold var(--on-gold), nie Weiß.
 * Fotos, Karten-Kacheln und Logos bleiben unverändert.
 */

:root[data-bs-theme=dark] {
    --band:          #14291f;
    --on-accent:     #14291f;
    --on-gold:       #14291f;

    --paper:         #131815;
    --paper-2:       #1a201d;
    --surface:       #1f2622;
    --ink:           #e6ebe7;
    --ink-soft:      #a9b6ae;
    --forest:        #eef3ef;
    --moss:          #8cc4a5;
    --moss-dark:     #a0d1b6;
    --chanterelle-d: #e3a23c;
    --terracotta:    #e2917a;
    --line:          rgba(230, 235, 231, 0.12);
    --line-strong:   rgba(230, 235, 231, 0.24);
    --shadow-sm:     0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md:     0 8px 24px -8px rgba(0, 0, 0, 0.6);
    --shadow-lg:     0 24px 60px -16px rgba(0, 0, 0, 0.75);
    --shadow-inset:  inset 0 1px 3px rgba(0, 0, 0, 0.45);
    --warning-color: #3a2f12;

    /* Bootstrap bringt unter [data-bs-theme=dark] eigene Dunkelwerte mit; hier nur, was davon abweicht */
    --bs-body-color: var(--ink);
    --bs-body-color-rgb: 230, 235, 231;
    --bs-body-bg: var(--paper);
    --bs-body-bg-rgb: 19, 24, 21;
    --bs-primary: #8cc4a5;
    --bs-primary-rgb: 140, 196, 165;
    --bs-focus-ring-color: rgba(140, 196, 165, 0.35);
    --bs-secondary-color: rgba(230, 235, 231, 0.75);
    --bs-secondary-color-rgb: 230, 235, 231;
    --bs-secondary-bg: #262e2a;
    --bs-secondary-bg-rgb: 38, 46, 42;
    --bs-tertiary-color: rgba(230, 235, 231, 0.5);
    --bs-tertiary-color-rgb: 230, 235, 231;
    --bs-tertiary-bg: #1a201d;
    --bs-tertiary-bg-rgb: 26, 32, 29;
    --bs-primary-text-emphasis: #a0d1b6;
    --bs-success-text-emphasis: #a0d1b6;
    --bs-warning-text-emphasis: #f3d48b;
    --bs-primary-bg-subtle: #1b2d25;
    --bs-success-bg-subtle: #1b2d25;
    --bs-warning-bg-subtle: #3a2f12;
    --bs-primary-border-subtle: #2c4a3c;
    --bs-success-border-subtle: #2c4a3c;
    --bs-warning-border-subtle: #5a4719;
    --bs-border-color: var(--line);
    --bs-link-color: var(--moss);
    --bs-link-hover-color: var(--moss-dark);
    --bs-link-color-rgb: 140, 196, 165;
    --bs-link-hover-color-rgb: 160, 209, 182;
    --bs-highlight-bg: #5a4719;
    --bs-form-valid-color: #8cc4a5;
    --bs-form-valid-border-color: #8cc4a5;
}

/* Dunkle Bänder: bleiben wie im hellen Modus */
[data-bs-theme=dark] .skip-link, [data-bs-theme=dark] .hero, [data-bs-theme=dark] .band, [data-bs-theme=dark] .site-footer, [data-bs-theme=dark] .cookie-consent-bar, [data-bs-theme=dark] .news-strip, [data-bs-theme=dark] .facts, [data-bs-theme=dark] .sp-cta, [data-bs-theme=dark] .steps-species,
[data-bs-theme=dark] .pf__banner, [data-bs-theme=dark] .nat-hero, [data-bs-theme=dark] .nat-band--forest, [data-bs-theme=dark] .wsp-lock, [data-bs-theme=dark] .bl-cta, [data-bs-theme=dark] .bl-steps__num, [data-bs-theme=dark] .bl-tour-pin, [data-bs-theme=dark] .bl-video__play,
[data-bs-theme=dark] .bl-badge, [data-bs-theme=dark] .bl-gallery__nav, [data-bs-theme=dark] .dm-edit__save, [data-bs-theme=dark] .bl-composer__preview button,
[data-bs-theme=dark] .ai-how i, [data-bs-theme=dark] .ep-cover, [data-bs-theme=dark] .ep-preview, [data-bs-theme=dark] .rc-share, [data-bs-theme=dark] .rc-steps__num, [data-bs-theme=dark] .wfe-hero, [data-bs-theme=dark] .wfe-feedback .wf-btn, [data-bs-theme=dark] .wfe-testbox .wf-btn, [data-bs-theme=dark] .wfe-tabs a.is-current,
[data-bs-theme=dark] .adm-nav a.is-active, [data-bs-theme=dark] .adm-navgroup .dropdown-item.active, [data-bs-theme=dark] .adm-navgroup__btn.is-active {
    --forest: var(--band);
}

/* ---- Bootstrap-Bausteine ---- */
[data-bs-theme=dark] .form-check-input:checked { background-color: var(--moss); border-color: var(--moss); }
[data-bs-theme=dark] .form-control::placeholder { color: #8a948e; }
[data-bs-theme=dark] .form-control:focus, [data-bs-theme=dark] .form-select:focus { box-shadow: 0 0 0 4px rgba(140, 196, 165, 0.25); }
[data-bs-theme=dark] .dropdown-menu { --bs-dropdown-bg: var(--surface); --bs-dropdown-link-color: var(--ink); }
[data-bs-theme=dark] .bg-white, [data-bs-theme=dark] .bg-light { background-color: var(--surface) !important; }
[data-bs-theme=dark] .bg-body-tertiary { background-color: var(--paper-2) !important; }
[data-bs-theme=dark] .text-dark, [data-bs-theme=dark] .text-black { color: var(--ink) !important; }
[data-bs-theme=dark] .text-secondary { color: var(--ink-soft) !important; }
[data-bs-theme=dark] .table { --bs-table-color: var(--ink); --bs-table-bg: transparent; --bs-table-striped-color: var(--ink); --bs-table-striped-bg: rgba(255, 255, 255, 0.04); --bs-table-hover-color: var(--ink); --bs-table-hover-bg: rgba(255, 255, 255, 0.06); }

/* ---- style.css ---- */
[data-bs-theme=dark] ::selection { color: var(--on-gold); }
[data-bs-theme=dark] .btn-primary, [data-bs-theme=dark] .btn-success {
    --bs-btn-color: var(--on-accent); --bs-btn-hover-color: var(--on-accent); --bs-btn-active-color: var(--on-accent);
    --bs-btn-disabled-color: var(--on-accent);
    --bs-btn-active-bg: #7bb595; --bs-btn-active-border-color: #7bb595;
    --bs-btn-focus-shadow-rgb: 140, 196, 165;
}
[data-bs-theme=dark] .btn-danger, [data-bs-theme=dark] .btn-outline-danger {
    --bs-btn-border-color: rgba(226, 145, 122, 0.45);
    --bs-btn-hover-color: var(--on-accent); --bs-btn-active-color: var(--on-accent);
    --bs-btn-active-bg: #c97a63; --bs-btn-active-border-color: #c97a63;
}
[data-bs-theme=dark] .btn-outline-success { --bs-btn-hover-color: var(--on-accent); --bs-btn-active-color: var(--on-accent); --bs-btn-active-bg: var(--moss-dark); }
[data-bs-theme=dark] .btn-accent, [data-bs-theme=dark] .cookie-consent-bar .btn-primary, [data-bs-theme=dark] .bl-cta .btn-primary {
    --bs-btn-color: var(--on-gold); --bs-btn-hover-color: var(--on-gold); --bs-btn-active-color: var(--on-gold);
}
[data-bs-theme=dark] .btn-outline-secondary {
    --bs-btn-color: var(--ink-soft); --bs-btn-border-color: var(--line-strong);
    --bs-btn-hover-bg: var(--paper-2); --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: var(--line-strong);
    --bs-btn-active-bg: var(--paper-2); --bs-btn-active-color: var(--ink); --bs-btn-active-border-color: var(--line-strong);
}
/* Anmeldeknöpfe in den dunklen Fassungen der Anbieter, wie in der App */
[data-bs-theme=dark] .g-btn { background: #131314; color: #e3e3e3; border-color: #8e918f; }
[data-bs-theme=dark] .g-btn:hover { background: #1f1f20; color: #e3e3e3; border-color: #e3e3e3; }
[data-bs-theme=dark] .a-btn { background: #fff; color: #000; border-color: #fff; }
[data-bs-theme=dark] .a-btn:hover { background: #e3e3e3; color: #000; border-color: #e3e3e3; }
[data-bs-theme=dark] .alert-warning { background: #3a2f12; border-color: #5a4719; border-left-color: var(--chanterelle); color: #f3d48b; }
[data-bs-theme=dark] .alert-info, [data-bs-theme=dark] .alert-success { background: #1b2d25; border-color: #2c4a3c; border-left-color: var(--moss); color: #cfe9df; }
[data-bs-theme=dark] .alert-danger { background: #3a1f19; border-color: #5c3328; border-left-color: var(--terracotta); color: #f2b8a6; }
[data-bs-theme=dark] .alert a { color: inherit; }
[data-bs-theme=dark] .dropdown-item.active, [data-bs-theme=dark] .dropdown-item:active,
[data-bs-theme=dark] .feature:hover .feature__icon, [data-bs-theme=dark] .modal-close-btn:first-of-type, [data-bs-theme=dark] .steps__n,
[data-bs-theme=dark] .nat-faq summary::before,
[data-bs-theme=dark] .header-bell__badge, [data-bs-theme=dark] .bl-tabs-nav__badge.is-alert, [data-bs-theme=dark] .bl-likedby__heart { color: var(--on-accent); }
[data-bs-theme=dark] .eyebrow { color: #f3c98b; }
/* Auf den dunklen Bändern bleibt der Eyebrow im Pfifferling, wie im hellen Modus */
[data-bs-theme=dark] .hero .eyebrow, [data-bs-theme=dark] .band .eyebrow, [data-bs-theme=dark] .bl-cta .eyebrow { color: var(--chanterelle); }
[data-bs-theme=dark] .site-header, [data-bs-theme=dark] .header-container { background: rgba(19, 24, 21, 0.86); }
[data-bs-theme=dark] .nav-main a:hover, [data-bs-theme=dark] .icon-btn:hover { background: rgba(230, 235, 231, 0.08); }
[data-bs-theme=dark] .searchbar__locate:hover { background: #2a332e; }
[data-bs-theme=dark] .post__media--empty { background: linear-gradient(135deg, var(--paper-2), #252d29); }
[data-bs-theme=dark] .loading-overlay { background: rgba(19, 24, 21, 0.92); }
[data-bs-theme=dark] #loadingOverlay { background: rgba(19, 24, 21, 0.85); }
[data-bs-theme=dark] .zoom-wrapper { background: var(--surface); }
[data-bs-theme=dark] .iz-toolbar { background: rgba(31, 38, 34, 0.94); }
[data-bs-theme=dark] .login-overlay-content { background: rgba(31, 38, 34, 0.96); }
[data-bs-theme=dark] .why__note, [data-bs-theme=dark] .reg-trust, [data-bs-theme=dark] .pw-meter__label { color: var(--ink-soft); }
[data-bs-theme=dark] .reg-trust .bi, [data-bs-theme=dark] .reg-done__icon { color: var(--moss); }
[data-bs-theme=dark] .pw-meter__bar { background: rgba(255, 255, 255, 0.12); }
[data-bs-theme=dark] .rd-chip { border-color: rgba(255, 255, 255, 0.2); }
[data-bs-theme=dark] .res-plan, [data-bs-theme=dark] .fr { background: var(--surface); border-color: var(--line-strong); }
[data-bs-theme=dark] .fr__lead, [data-bs-theme=dark] .fr__note, [data-bs-theme=dark] .fr--guest p { color: var(--ink-soft); }
[data-bs-theme=dark] .wsf-winter--res { background: linear-gradient(135deg, #1a2731, #1b2520); border-color: #2c4250; border-left-color: #5b8fb3; }
[data-bs-theme=dark] .wsf-winter--res .wsf-winter__h { color: #d6e8f3; }
[data-bs-theme=dark] .wsf-winter--res .wsf-winter__lead { color: #a9bcc6; }
[data-bs-theme=dark] .wsf-winter--res .wsf-winter__chips a { background: var(--surface); border-color: #2c4250; color: #d6e8f3; }
[data-bs-theme=dark] .wsf-winter--res .wsf-winter__go { color: var(--moss); }
[data-bs-theme=dark] .pf__cta { background: var(--surface); color: var(--ink); }

/* ---- Schrift auf Gold oder Moos in weiteren Bausteinen (Startseite, Planer, Rezepte, Profil, Pro, Wetter-Widget) ---- */
[data-bs-theme=dark] .nat-step__no, [data-bs-theme=dark] .wsp-search__go, [data-bs-theme=dark] .wsp-how__no, [data-bs-theme=dark] .wsp-nudge__badge, [data-bs-theme=dark] .wsp-nudge__go, [data-bs-theme=dark] .bl-imgs__badge, [data-bs-theme=dark] .dm-list__badge, [data-bs-theme=dark] .p2-badge, [data-bs-theme=dark] .rc-badge, [data-bs-theme=dark] .wfe-btn, [data-bs-theme=dark] .wfe-btn:hover, [data-bs-theme=dark] .hsc-pill, [data-bs-theme=dark] .hsc-pill:hover, [data-bs-theme=dark] .hsc-tile__badge, [data-bs-theme=dark] .why__picon small { color: var(--on-gold); }
[data-bs-theme=dark] .why__picon, [data-bs-theme=dark] .btn-check:checked + .ep-chip, [data-bs-theme=dark] .ep-step__n.is-done, [data-bs-theme=dark] .wfe-fit, [data-bs-theme=dark] .wx-map-card .wx-tl-bubble, [data-bs-theme=dark] .wx-map-card .wx-tl-play, [data-bs-theme=dark] .wf-bestday.is-today, [data-bs-theme=dark] .wf-rainclock b.wf-rw--now, [data-bs-theme=dark] .wf-rating--top, [data-bs-theme=dark] .wf-site__fits li a:hover, [data-bs-theme=dark] .wf-tab__mush--top { color: var(--on-accent); }
[data-bs-theme=dark] .ai-chip.is-on, [data-bs-theme=dark] .rc-filter.is-active { background: var(--moss); border-color: var(--moss); color: var(--on-accent); }
[data-bs-theme=dark] .adm-navarrow { background: var(--surface); }

/* ---- natur.css ---- */
[data-bs-theme=dark] .nat-btn, [data-bs-theme=dark] .nat-btn:hover, [data-bs-theme=dark] .wsp-idea--hotspot .bi, [data-bs-theme=dark] .why__more > summary::before { color: var(--on-gold); }
[data-bs-theme=dark] .nat-chip--on, [data-bs-theme=dark] .nat-chip--on:hover, [data-bs-theme=dark] .nat-mnav a.is-now, [data-bs-theme=dark] .nat-tag,
[data-bs-theme=dark] .wsp-act.is-checked, [data-bs-theme=dark] .wsp-act:has(input:checked), [data-bs-theme=dark] .wsp-act.is-checked i, [data-bs-theme=dark] .wsp-act:has(input:checked) i,
[data-bs-theme=dark] .wsp-idea.is-on .bi, [data-bs-theme=dark] .wsp-feat__main:has(input:checked) i, [data-bs-theme=dark] .wsp-pick__chip, [data-bs-theme=dark] .wsp-pick__chip button,
[data-bs-theme=dark] .nat-tile__plan:hover, [data-bs-theme=dark] .wsp-place-pop__btns .is-main, [data-bs-theme=dark] .wsp-routemode__opt:has(input:checked) { color: var(--on-accent); }
[data-bs-theme=dark] .wsp-place-pop__btns .is-main { background: var(--moss); border-color: var(--moss); }
[data-bs-theme=dark] .nat-note { background: #3a2f12; border-color: #5a4719; color: #f3d48b; }
[data-bs-theme=dark] .nat-note--danger, [data-bs-theme=dark] .nat-band--forest .nat-note--danger { background: #3a1f19; border-color: #5c3328; color: #f2b8a6; }
[data-bs-theme=dark] .nat-note--ok { background: #1b2d25; border-color: #2c4a3c; color: #cfe9df; }
[data-bs-theme=dark] .nat-plant__warn, [data-bs-theme=dark] .nat-plant__warn a { background: #3a1f19; color: #f2b8a6; }
[data-bs-theme=dark] .nat-inline-list a { background: var(--surface); border-color: #5c3328; color: #f2b8a6; }
[data-bs-theme=dark] .nat-cardbox .own-photo-edit, [data-bs-theme=dark] .nat-tile-wrap .own-photo-edit { background: rgba(31, 38, 34, 0.92); color: var(--moss); }
[data-bs-theme=dark] .nat-cardbox .own-photo-edit:hover { background: var(--surface); }
[data-bs-theme=dark] .nat-btn--light { background: var(--surface); color: var(--ink); }
[data-bs-theme=dark] .nat-btn--light:hover { background: #2a332e; color: var(--ink); }
[data-bs-theme=dark] .nat-tile--plain { background: linear-gradient(150deg, #1e2a24, #161b18); }
[data-bs-theme=dark] .nat-tier--ok, [data-bs-theme=dark] .nat-mlabel--ok { color: #8cc4a5; }
[data-bs-theme=dark] .nat-tier--rule, [data-bs-theme=dark] .nat-mlabel--rule { color: #f3c98b; }
[data-bs-theme=dark] .nat-tier--later, [data-bs-theme=dark] .nat-mlabel--later { color: #f2a08b; }
[data-bs-theme=dark] .nat-cal td.is-some { background: #1b2d25; }
[data-bs-theme=dark] .nat-dot--some, [data-bs-theme=dark] .nat-cal-legend .nat-dot--some { background: #4f7a63; }
[data-bs-theme=dark] .wsp-search, [data-bs-theme=dark] .wsp-search__in:focus-within, [data-bs-theme=dark] .wsp-f input, [data-bs-theme=dark] .wsp-f select, [data-bs-theme=dark] .wsp-radius select, [data-bs-theme=dark] .wsp-feat, [data-bs-theme=dark] .wsp-mini,
[data-bs-theme=dark] .wsp-res__n, [data-bs-theme=dark] .wsp-nudge__login, [data-bs-theme=dark] .wsp-trip__i, [data-bs-theme=dark] .wp-today__i, [data-bs-theme=dark] .wp-card { background-color: var(--surface); }
[data-bs-theme=dark] .wsp-pick__add { background-color: var(--surface); color: var(--moss); }
[data-bs-theme=dark] .wsp-ort-go:hover, [data-bs-theme=dark] .wsp-idea .bi, [data-bs-theme=dark] .wsp-res h3 .bi, [data-bs-theme=dark] .wsp-how__feats li > .bi, [data-bs-theme=dark] .wsp-nudge__list .bi { background: #1b2d25; color: var(--moss); }
[data-bs-theme=dark] .wsp-idea--hotspot { background: linear-gradient(150deg, #2e2716, var(--surface) 70%); border-color: #5a4719; }
[data-bs-theme=dark] .wsp-idea.is-on { background: #1b2d25; }
[data-bs-theme=dark] .wsp-idea.is-on .bi { background: var(--moss); }
[data-bs-theme=dark] .wsp-feat:has(> label input:checked) { background: #1b2d25; }
[data-bs-theme=dark] .wsp-ideas__on--locked { background: #2e2716; border-color: #5a4719; }
[data-bs-theme=dark] .wsp-ideas__on--locked > .bi { color: #f3c98b; }
[data-bs-theme=dark] .wsp-field-err { color: #f2a08b; }
[data-bs-theme=dark] .wsp-res__warn { color: #f2a08b; }
[data-bs-theme=dark] .wsp-trip__i--nav { background: #13233a; }
[data-bs-theme=dark] .wsp-trip__i.is-ok { background: #1b2d25; }
[data-bs-theme=dark] .wsp-trip__i.is-err small { color: #f2a08b; }
[data-bs-theme=dark] .wp-latin, [data-bs-theme=dark] .wp-bar__m b, [data-bs-theme=dark] .wp-photo figcaption, [data-bs-theme=dark] .wsp-hablegend small, [data-bs-theme=dark] .wsp-hablegend em { color: var(--ink-soft); }
[data-bs-theme=dark] .wp-twin { color: #f2a08b; }
[data-bs-theme=dark] .wp-safe { background: #2e2716; }
[data-bs-theme=dark] .wsp-hablegend { background: rgba(31, 38, 34, 0.94); }
[data-bs-theme=dark] .wsp-place-pop__btns button { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
[data-bs-theme=dark] .wsp-place-form label { color: var(--ink-soft); }
[data-bs-theme=dark] .wsp-place-form select, [data-bs-theme=dark] .wsp-place-form input[name], [data-bs-theme=dark] .wsp-place-form textarea { border-color: var(--line-strong); color: var(--ink); background: var(--surface); }

/* ---- blog.css ---- */
[data-bs-theme=dark] .bl-chip--report, [data-bs-theme=dark] .bl-tour-badge--medium { color: #f3c98b; }
[data-bs-theme=dark] .bl-chip--identify, [data-bs-theme=dark] .bl-tour-badge--kids { color: #a9c6dc; }
[data-bs-theme=dark] .bl-chip--recipe, [data-bs-theme=dark] .bl-tour-badge--hard { color: #f0b29e; }
[data-bs-theme=dark] .bl-chip--nature, [data-bs-theme=dark] .bl-tour-badge--easy { color: #b5d49a; }
[data-bs-theme=dark] .bl-chip--news { background: rgba(230, 235, 231, 0.1); }
[data-bs-theme=dark] .bl-filter.is-active, [data-bs-theme=dark] .bl-page.is-current, [data-bs-theme=dark] .bl-cat-option input:checked + span, [data-bs-theme=dark] .bl-tree-chip.is-on, [data-bs-theme=dark] .bl-find__chip,
[data-bs-theme=dark] .bl-imgs li.is-inline .bl-imgs__use, [data-bs-theme=dark] .dm-form__send, [data-bs-theme=dark] .bl-author-hero__edit:hover {
    background: var(--moss); border-color: var(--moss); color: var(--on-accent);
}
[data-bs-theme=dark] .bl-find__chip:hover, [data-bs-theme=dark] .dm-form__send:hover { background: var(--moss-dark); color: var(--on-accent); }
[data-bs-theme=dark] .bl-card__placeholder { background: linear-gradient(135deg, var(--paper-2), #252d29); }
[data-bs-theme=dark] .bl-draft-banner, [data-bs-theme=dark] .bl-draft-restore, [data-bs-theme=dark] .bl-badge--draft { background: #3a2f12; color: #f3d48b; }
[data-bs-theme=dark] .bl-location:hover { background: #2a332e; }
[data-bs-theme=dark] .bl-comment__tag { color: #f3c98b; }
[data-bs-theme=dark] .ww-prof svg { background: var(--surface); border-color: var(--line); }
[data-bs-theme=dark] .ww-prof-ax { color: var(--ink-soft); }
[data-bs-theme=dark] .dm-group--mine .dm-bubble { background: #2c5140; }
[data-bs-theme=dark] .dm-bubble__doc { background: rgba(255, 255, 255, 0.08); }
[data-bs-theme=dark] .dm-actions button.is-danger { color: #f2b8b5; }

/* ---- Helle Inseln ----
 * Wanderkarte (appmap.css), Hotspot- und Artenkarte (hotspot.css, species_map.css): Karte samt
 * Bedienelementen, Panel und Popups bleibt hell wie ihre Kacheln. Das Netzwerk (netzwerk.css) hat eine
 * eigene Hellpalette mit rund 100 festen Farben und bleibt vorerst ebenfalls hell, bis es eigene
 * Dunkelwerte bekommt. Die Bausteine färben sich mit festen Hellwerten, hier bekommen sie dazu die
 * hellen Tokens zurück. */
[data-bs-theme=dark] .wk-app, [data-bs-theme=dark] .hs-app, [data-bs-theme=dark] .sm-app, [data-bs-theme=dark] .net {
    color-scheme: light;
    --paper: #f7f4ed; --paper-2: #efeadf; --surface: #ffffff; --ink: #1b241f; --ink-soft: #5a655f;
    --forest: #14291f; --moss: #3d6b54; --moss-dark: #2c5140; --chanterelle-d: #b97b17; --terracotta: #a5563f;
    --line: rgba(27, 36, 31, 0.12); --line-strong: rgba(27, 36, 31, 0.22); --on-accent: #ffffff;
    --bs-body-color: #1b241f; --bs-body-bg: #f7f4ed; --bs-border-color: rgba(27, 36, 31, 0.12);
    --bs-secondary-color: rgba(33, 37, 41, 0.75); --bs-link-color: #3d6b54; --bs-link-color-rgb: 61, 107, 84;
    --bs-emphasis-color: #000; --bs-secondary-bg: #e9ecef; --bs-tertiary-bg: #f8f9fa;
    color: var(--ink);
}
[data-bs-theme=dark] .wk-week { background: var(--surface); border-color: var(--line-strong); }
[data-bs-theme=dark] .wk-wd, [data-bs-theme=dark] .wk-stat { background: var(--paper-2); border-color: var(--line-strong); }
[data-bs-theme=dark] .wk-wd i { color: var(--moss); }
[data-bs-theme=dark] .wk-wd.is-best { background: #2e2716; }
[data-bs-theme=dark] .wk-weekhead > i { color: var(--moss); }
[data-bs-theme=dark] .wk-sunline { color: var(--ink-soft); }
[data-bs-theme=dark] .wk-bar2 { background: var(--line-strong); }
[data-bs-theme=dark] .wk-bar2 span { background: var(--moss); }
[data-bs-theme=dark] .wk-duoline { border-top-color: var(--line); }
[data-bs-theme=dark] .wk-duoline a { color: var(--moss); }
