/* Feinschliff 2026-07-18: H1 site-weit etwas kleiner (Vorgabe Ulrich) */
h1, .uk-h1 { font-size: 1.95rem; }
@media (min-width: 960px) {
  h1, .uk-h1 { font-size: 2.25rem; }
}

/* === Rebrand "Terrakotta & Sand" 2026-07-18 (Briefing v1.0) — Child-Style-Overrides.
   Basis-Palette steckt im kompilierten theme.12.css (tools/terrakotta.py). Diese Regeln
   ergaenzen Spec-spezifische Komponenten + ueberleben Customizer-Recompiles. === */

/* Seitenhintergrund Warmweiss, Text-Braun (belt & suspenders) */
body { background-color: #f6f3ec; color: #1a1f1c; }
h1,h2,h3,h4,h5,h6,.uk-h1,.uk-h2,.uk-h3,.uk-h4,.uk-h5,.uk-h6 { color: #1a1f1c; }
.uk-text-muted { color: #5f6b64 !important; }

/* Muted-Sektionen = Sand (Oakville-Grau-Gradient entfernen) */
.uk-section-muted, .uk-tile-muted, .uk-background-muted {
  background-color: #ece5d6 !important; background-image: none !important;
}

/* Dunkle Baender (Footer, CTA-Band, Hero-Overlay-Sektionen) = Dunkel-Petrol #0f3d2a (2026-07-19, Ulrich: Braun raus) */
.uk-section-secondary, .uk-tile-secondary {
  background-color: #0f3d2a !important; background-image: none !important;
}

/* Cards = Warmweiss auf Sand, warme Border (Entscheidung: Warmweiss statt Reinweiss, dokumentiert) */
.uk-card-default { background-color: #f6f3ec; }
.uk-card-default, .uk-card-body { border-color: #e2dacb; }
hr { border-color: #e2dacb; }

/* Links im Fliesstext unterstrichen (Barrierefreiheit: nicht nur ueber Farbe erkennbar) */
.uk-article a:not(.uk-button):not([class*="uk-icon"]),
.tm-page main .uk-panel a:not(.uk-button):not([class*="uk-icon"]),
.uk-text-lead a:not(.uk-button) { text-decoration: underline; }

/* Primaer-Button: Terrakotta gefuellt, Hover dunkler */
.uk-button-primary { background-color: #1e6b45; }
.uk-button-primary:hover, .uk-button-primary:focus { background-color: #17563a; }

/* Sekundaer-Button: Petrol-Outline, Hover gefuellt (Vertrauen = Petrol) */
.uk-button-secondary {
  background-color: transparent !important; border: 1px solid #1e6b45 !important; color: #1e6b45 !important;
}
.uk-button-secondary:hover, .uk-button-secondary:focus {
  background-color: #1e6b45 !important; color: #fff !important;
}

/* Fokus-Ring Petrol hell fuer Tastatur-Navigation (Abnahmekriterium) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, .uk-button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid #1e6b45 !important; outline-offset: 2px;
}
input:focus, select:focus, textarea:focus,
.uk-input:focus, .uk-select:focus, .uk-textarea:focus { border-color: #1e6b45 !important; }

/* SEOGlossary Auto-Link: hervorgehoben statt grau (Tooltips deaktiviert -> reiner Textlink) */
a.jqeasytooltip, .jqeasytooltip {
    color: #1e6b45 !important;
    text-decoration: underline;
    text-decoration-color: rgba(214,69,112,.45);
    text-underline-offset: 2px;
    font-weight: 500;
    cursor: pointer;
}
a.jqeasytooltip:hover {
    color: #124630 !important;
    text-decoration-color: #124630;
}

/* =====================================================================
   TASK 2 (2026-07-22) — Quick-Wins A6 + D2 (sitewide, ueberlebt Recompiles).
   ===================================================================== */

/* --- A6: UIkit-Alerts markenkonform (Sand-Flaeche, Terrakotta-Border links,
   Text #1a1f1c) — gilt sitewide inkl. Joomla-Systemmeldungen. --- */
.uk-alert {
    background: #ece5d6;
    color: #1a1f1c;
    border-left: 4px solid #1e6b45;
    border-radius: 4px;
}
.uk-alert h1, .uk-alert h2, .uk-alert h3, .uk-alert h4, .uk-alert h5, .uk-alert a { color: #1a1f1c; }
.uk-alert-primary { background: #ece5d6; color: #1a1f1c; border-left-color: #1e6b45; }
.uk-alert-success { background: #ece5d6; color: #1a1f1c; border-left-color: #1e6b45; }
.uk-alert-warning { background: #ece5d6; color: #1a1f1c; border-left-color: #1e6b45; }
.uk-alert-danger  { background: #ece5d6; color: #1a1f1c; border-left-color: #17563a; }
.uk-alert-close { color: #5f6b64; }

/* --- D2: YOOtheme-Consent-Dialog (.tm-consent) unten fixieren statt
   mittig-rechts schwebend. Logik/Buttons unveraendert. --- */
.tm-consent.uk-position-fixed {
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
.tm-consent.uk-position-fixed > .uk-card {
    border-radius: 0;
    border-top: 1px solid #e2dacb;
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================================================
   Paket A: Anmelde-Strecke (Konzept 2026-07-24) — /anmelden, /fuer-
   aufsteller/registrierung, "Mein Bereich". Overrides unter
   templates/yootheme/html/com_users/. */

/* Sand-Buehne um die Karte(n) */
.auf-auth {
    max-width: 520px;
    margin: 0 auto;
    padding: 36px 20px 40px;
    background: #ece5d6;
    border-radius: 16px;
}
.auf-auth--wide { max-width: 860px; }

.auf-auth-card {
    max-width: 480px;
    margin: 0 auto;
    border: 1px solid #e2dacb;
    border-radius: 12px;
}
.auf-auth--wide .auf-auth-card { max-width: 640px; }

.auf-auth-head { max-width: 640px; margin: 0 auto 22px; text-align: center; }
h1.auf-auth-title {
    font-size: 1.9rem;
    color: #1e6b45;
    margin: 0 0 6px;
    text-align: center;
}
.auf-auth-context { text-align: center; margin: 0 0 22px; }
.auf-auth-lead { color: #5f6b64; margin: 0; }

/* Joomla-Formfelder in Kartenoptik (form-horizontal -> gestapelt) */
.auf-auth-form .control-group { margin-bottom: 16px; }
.auf-auth-form .control-label label,
.auf-auth-form .form-check-label {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1a1f1c;
}
.auf-auth-form .control-label { margin-bottom: 4px; }
.auf-auth-form .form-control {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e2dacb;
    border-radius: 8px;
    background: #fff;
    color: #1a1f1c;
    font-size: 0.95rem;
    box-sizing: border-box;
}
.auf-auth-form .form-control:focus {
    outline: none;
    border-color: #1e6b45;
    box-shadow: 0 0 0 3px rgba(74, 138, 153, 0.25);
}
/* Passwort-Feld: Joomla rendert input + Auge-Button als input-group */
.auf-auth-form .input-group { display: flex; flex-wrap: nowrap; }
.auf-auth-form .input-group .form-control { flex: 1 1 auto; width: 1%; border-radius: 8px 0 0 8px; }
.auf-auth-form .input-group .btn {
    border: 1px solid #e2dacb;
    border-left: 0;
    border-radius: 0 8px 8px 0;
    background: #ece5d6;
    color: #5f6b64;
    padding: 0 12px;
    cursor: pointer;
}
.auf-auth-form .form-check { display: flex; align-items: center; gap: 8px; }
.auf-auth-form .form-check-input { accent-color: #1e6b45; width: 17px; height: 17px; margin: 0; }
/* Berlinblick 27.11.2026: Datenschutz-Häkchen der Registrierung – Kästchen nicht stauchen, oben am Satz, Satz in normaler Stärke */
.auf-auth-form .hs-reg-datenschutz { align-items: flex-start; }
.auf-auth-form .hs-reg-datenschutz .form-check-input { flex: 0 0 auto; margin-top: 3px; }
.auf-auth-form .hs-reg-datenschutz .form-check-label { font-weight: 400; font-size: 0.95rem; }
.auf-auth-form .hs-reg-datenschutz a { text-decoration: underline; }
.auf-auth-remember { margin-bottom: 18px; }
.auf-auth-form .com-users-login__submit { margin-bottom: 0; }
.auf-auth-extra { margin-top: 10px; }
.auf-auth-form .spacer hr { border-color: #e2dacb; }

/* Pflicht-Sternchen + Hinweise dezent */
.auf-auth-form .star, .auf-auth-form .required { color: #1e6b45; }

.auf-auth-links { margin: 18px 0 0; }
.auf-auth-links a { color: #1e6b45; text-decoration: underline; }
.auf-auth-linksep { margin: 0 6px; color: #5f6b64; }
.auf-auth-note { margin: 14px 0 0; }

/* Hinweiskasten unter der Login-Karte */
.auf-auth-hint {
    max-width: 480px;
    margin: 18px auto 0;
    padding: 18px 20px;
    background: #f6f3ec;
    border: 1px dashed #d6cbb4;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.auf-auth-hint-text { color: #1a1f1c; font-size: 0.95rem; line-height: 1.45; }

/* 3-Schritte-Leiste Registrierung */
.auf-steps {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0 auto 24px;
    padding: 0;
    max-width: 720px;
    flex-wrap: wrap;
}
.auf-step {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f6f3ec;
    border: 1px solid #e2dacb;
    border-radius: 999px;
    padding: 7px 16px 7px 8px;
    font-size: 0.875rem; /* 14 px (20.11.2026, vorher 0.85rem) */
    color: #5f6b64;
}
.auf-step-num {
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #e2dacb;
    color: #5f6b64;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem; /* 14 px (20.11.2026, vorher 0.85rem) */
}
.auf-step--active { border-color: #1e6b45; color: #1a1f1c; }
.auf-step--active .auf-step-num { background: #1e6b45; color: #fff; }

/* "Mein Bereich" Dashboard */
.auf-dash-status { text-align: center; margin: 10px 0 0; color: #1a1f1c; }
.auf-chip {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 999px;
    font-size: 0.875rem; /* 14 px (20.11.2026, vorher 0.8rem) */
    font-weight: 700;
    vertical-align: 1px;
}
.auf-chip--ok { background: #1e6b45; color: #f6f3ec; }
.auf-chip--pending { background: #e8913a; color: #1a1f1c; }
.auf-dash-grid { margin-top: 4px; }
.auf-dash-tile {
    height: 100%;
    border: 1px solid #e2dacb;
    border-radius: 12px;
    padding: 22px 24px;
}
.auf-dash-tile--primary { border-color: #1e6b45; box-shadow: 0 0 0 1px #1e6b45 inset; }
h2.auf-dash-tile-title {
    font-size: 1.15rem;
    color: #1e6b45;
    margin: 0 0 8px;
}
.auf-dash-tile-text { margin: 0 0 14px; font-size: 0.92rem; color: #1a1f1c; }
.auf-dash-tile-actions { margin: 0; display: flex; gap: 10px; flex-wrap: wrap; }
.auf-dash-logout { text-align: center; margin-top: 22px; }
.auf-dash-logout .uk-button-text { color: #5f6b64; }

@media (max-width: 639px) {
    .auf-auth { padding: 24px 12px 28px; border-radius: 0; }
    .auf-auth-card { padding: 24px 18px; }
    .auf-steps { flex-direction: column; align-items: stretch; }
}

/* =====================================================================
   Paket B: Termine-Hub /termine (Konzept 2026-07-24) — Tabs, Event-Karten
   mit Datums-Badge, Kalender-/Karten-Tab, Hinweisband. */

.auf-termine-head { max-width: 760px; margin: 0 0 18px; }
.auf-termine-head h1 { color: #1e6b45; margin-bottom: 6px; }
.auf-termine-lead { color: #5f6b64; font-size: 1.05rem; margin: 0; }

/* Tabs als Pillen */
.auf-termine-tabs { gap: 8px; margin-bottom: 6px; }
.auf-termine-tabs > li > a {
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid #e2dacb;
    border-radius: 999px;
    background: #f6f3ec;
    color: #1a1f1c;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    transition: background .15s, color .15s, border-color .15s;
}
.auf-termine-tabs > li > a:hover { border-color: #1e6b45; color: #1e6b45; }
.auf-termine-tabs > li.uk-active > a { background: #1e6b45; border-color: #1e6b45; color: #f6f3ec; }

/* Icon-Zeile (RSS/iCal) dezent rechts */
.auf-termine-icons { float: right; margin: 4px 0 0; }
.auf-termine-icons a { color: #5f6b64; margin-left: 10px; }
.auf-termine-icons a:hover { color: #1e6b45; }

/* Event-Liste */
.auf-ev-list { list-style: none; margin: 18px 0 0; padding: 0; }
.auf-ev-month { margin: 26px 0 12px; }
.auf-ev-month span {
    display: inline-block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e6b45;
    border-bottom: 2px solid #1e6b45;
    padding-bottom: 4px;
}
.auf-ev-item { margin: 0 0 14px; }
.auf-ev-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #f6f3ec;
    border: 1px solid #e2dacb;
    border-radius: 12px;
    padding: 18px 20px;
}
.auf-ev-card--canceled { opacity: 0.65; }
.auf-ev-badge {
    flex: none;
    width: 64px;
    border-radius: 10px;
    background: #1e6b45;
    color: #f6f3ec;
    text-align: center;
    padding: 8px 0 9px;
    text-decoration: none;
    line-height: 1.1;
}
.auf-ev-badge:hover { background: #17563a; color: #f6f3ec; text-decoration: none; }
.auf-ev-day { display: block; font-size: 1.6rem; font-weight: 800; }
.auf-ev-mon { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.auf-ev-main { flex: 1 1 auto; min-width: 0; }
h3.auf-ev-title { font-size: 1.15rem; margin: 0 0 4px; }
.auf-ev-title a { color: #1a1f1c; text-decoration: none; }
.auf-ev-title a:hover { color: #1e6b45; }
.auf-ev-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 0.9rem;
    color: #5f6b64;
    margin-bottom: 6px;
}
.auf-ev-loc a { color: #1e6b45; text-decoration: underline; }
.auf-ev-cats a {
    display: inline-block;
    background: #ece5d6;
    border: 1px solid #e2dacb;
    border-radius: 999px;
    padding: 1px 10px;
    font-size: 0.8rem;
    color: #1a1f1c;
    text-decoration: none;
    margin-right: 4px;
}
.auf-ev-cats a:hover { border-color: #1e6b45; color: #1e6b45; }
.auf-chip--online { background: #1e6b45; color: #f6f3ec; }
.auf-chip--canceled { background: #17563a; color: #f6f3ec; }
.auf-ev-desc { margin: 0; font-size: 0.92rem; color: #1a1f1c; }
.auf-ev-side { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.auf-ev-owner { font-size: 0.8rem; }
.auf-ev-owner a { color: #5f6b64; text-decoration: underline; margin-left: 8px; }

/* Kalender-Tab: RSEvents-Tabellen markenkonform */
.auf-termine-cal { max-width: 900px; }
.auf-termine-cal .rs_calendar_module td, .auf-termine-cal .rs_calendar_module th { border: 1px solid #e2dacb; }
.auf-termine-cal .rs_calendar_module th { background: #ece5d6; color: #1e6b45; padding: 8px 4px; }
.auf-termine-cal .rs_calendar_module td { height: 64px; vertical-align: top; padding: 6px; background: #f6f3ec; }
.auf-termine-cal .rs_table a { color: #1e6b45; font-weight: 600; text-decoration: none; }
.auf-termine-cal .rs_calendar_arrows_module {
    display: inline-block;
    padding: 2px 12px;
    border: 1px solid #e2dacb;
    border-radius: 999px;
    background: #f6f3ec;
    color: #1e6b45;
    font-weight: 700;
}
.auf-termine-cal .rs_table { border-collapse: collapse; }

/* Karten-Tab + Consent */
.auf-termine-map .rsepro_map_container, .auf-termine-map [id^="rs_canvas"] { border-radius: 12px; border: 1px solid #e2dacb; }
.auf-map-consent {
    background: #ece5d6;
    border: 1px dashed #d6cbb4;
    border-radius: 12px;
    padding: 32px 28px;
    max-width: 560px;
    text-align: center;
    margin: 24px auto;
}
.auf-map-consent h3 { color: #1e6b45; margin: 0 0 8px; }
.auf-map-consent p { color: #1a1f1c; margin: 0 0 16px; }

/* Hinweisband für Aufsteller */
.auf-termine-band {
    margin-top: 34px;
    background: #0f3d2a;
    border-radius: 12px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.auf-termine-band-text { color: #f6f3ec; font-size: 1rem; max-width: 620px; }
.auf-termine-band-text strong { display: block; font-size: 1.15rem; margin-bottom: 2px; }

@media (max-width: 639px) {
    .auf-ev-card { flex-wrap: wrap; padding: 14px 14px 16px; }
    .auf-ev-side { flex-direction: row; align-items: center; width: 100%; justify-content: flex-start; }
    .auf-termine-icons { float: none; margin-bottom: 8px; }
}

/* Home: Nächste-Termine-Kartenreihe (mod_rseventspro_upcoming-Override, B3) */
.auf-home-ev-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    height: 100%;
    background: #f6f3ec;
    border: 1px solid #e2dacb;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none !important;
    transition: border-color .15s, box-shadow .15s;
}
.auf-home-ev-card:hover { border-color: #1e6b45; box-shadow: 0 6px 18px rgba(62,50,44,.08); }
.auf-home-ev-card--canceled { opacity: 0.6; }
.auf-home-ev-card .auf-ev-badge { width: 54px; padding: 6px 0 7px; }
.auf-home-ev-card .auf-ev-day { font-size: 1.35rem; }
.auf-home-ev-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.auf-home-ev-name { font-weight: 700; color: #1a1f1c; line-height: 1.3; }
.auf-home-ev-card:hover .auf-home-ev-name { color: #1e6b45; }
.auf-home-ev-date { font-size: 0.82rem; color: #5f6b64; }
.auf-home-ev-loc { font-size: 0.82rem; color: #1e6b45; }
.auf-home-ev-loc--online {
    align-self: flex-start;
    background: #1e6b45;
    color: #f6f3ec;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-top: 2px;
}


/* === pcbb Petrol-Rebranding 2026-07-31: Kontrast-Fixes (WCAG >= 4.5:1) === */
/* hauptstadt.net 2026-08-22: gruene pcbb-Kopfleiste entfernt — die Leiste ist weiss mit
   dunkelgruener Schrift (Customizer-CSS/custom_less). Vorher: gruener Balken + dunkelgruene Schrift = unlesbar. */
.uk-text-primary { color: #1e6b45 !important; }
.uk-button-primary { background-color: #1e6b45; color: #fff; }
.uk-button-primary:hover, .uk-button-primary:focus { background-color: #17563a; color: #fff; }
.uk-button-text { color: #1e6b45; }
.uk-button-text:hover, .uk-button-text:focus { color: #17563a; }
#module-1107 a { color: #1e6b45; }
#module-1107 a:hover { color: #17563a; }
.uk-section-secondary .uk-text-muted, .uk-light .uk-text-muted,
.uk-section-secondary p, .uk-card-secondary .uk-text-muted { color: rgba(255,255,255,.85); }
a { color: #1e6b45; }
a:hover { color: #17563a; }
.uk-light .uk-text-meta, .uk-section-secondary .uk-text-meta { color: rgba(255,255,255,.85); }
.uk-text-meta { color: #5f6b64; }

/* =====================================================================
   pcbb Schoenheitsaudit 2026-07-31 — Wissen/Blog + Artikel-Feinschliff.
   Palette A: Petrol #1e6b45 · Hover #17563a · Tiefsee #0f3d2a ·
   Sand #f6f3ec / #ece5d6 / #e2dacb · Akzent #e8913a.
   Ergaenzt die Kontrast-Suite darueber — nichts davon ersetzen.
   ===================================================================== */

/* ---------------------------------------------------------------------
   1) /wissen + /en/knowledge: Kategorie-Kacheln (Override
      html/com_content/categories/default_items.php)
   --------------------------------------------------------------------- */
.pcbb-cat-grid { list-style: none; }
.pcbb-cat-grid .com-content-categories__item { list-style: none; }

a.pcbb-cat-card {
    position: relative;
    display: flex;
    height: 100%;
    background: #f6f3ec;
    border: 1px solid #e2dacb;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.pcbb-cat-card:hover,
a.pcbb-cat-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15, 61, 42, .12);
    border-color: #1e6b45;
    color: inherit;
}
.pcbb-cat-card-bar {
    flex: none;
    width: 5px;
    background: #e8913a;
    transition: background .18s ease;
}
a.pcbb-cat-card:hover .pcbb-cat-card-bar,
a.pcbb-cat-card:focus-visible .pcbb-cat-card-bar { background: #1e6b45; }

.pcbb-cat-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 22px 24px 20px;
}
.pcbb-cat-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f3d2a;
}
a.pcbb-cat-card:hover .pcbb-cat-card-title { color: #1e6b45; }
.pcbb-cat-card-desc {
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #2a3b33;
}
.pcbb-cat-card-count {
    margin-top: 10px;
    align-self: flex-start;
    background: #ece5d6;
    border: 1px solid #e2dacb;
    border-radius: 999px;
    padding: 2px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0f3d2a;
}
.pcbb-cat-card-more {
    margin-top: auto;
    padding-top: 16px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e6b45;
}
a.pcbb-cat-card:hover .pcbb-cat-card-more { color: #17563a; }

/* ---------------------------------------------------------------------
   2) Kategorie-Blog (/wissen/<kategorie>): Beitraege als Karten
   --------------------------------------------------------------------- */
.pcbb-blog-grid > * > .uk-article,
.pcbb-blog-lead > * > .uk-article {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f6f3ec;
    border: 1px solid #e2dacb;
    border-radius: 14px;
    padding: 26px 28px 24px;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.pcbb-blog-grid > * > .uk-article:hover,
.pcbb-blog-lead > * > .uk-article:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(15, 61, 42, .12);
    border-color: #1e6b45;
}
.pcbb-blog-grid .uk-article-title,
.pcbb-blog-grid .uk-h3,
.pcbb-blog-lead .uk-article-title,
.pcbb-blog-lead .uk-h3 {
    font-size: 1.25rem !important;
    line-height: 1.3;
    color: #0f3d2a;
}
.pcbb-blog-grid .uk-article-title a,
.pcbb-blog-lead .uk-article-title a { color: #0f3d2a; text-decoration: none; }
.pcbb-blog-grid > * > .uk-article:hover .uk-article-title a { color: #1e6b45; }

/* Teaser */
.pcbb-blog-grid .uk-article > [property="text"],
.pcbb-blog-lead .uk-article > [property="text"] {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #2a3b33;
    margin-top: 12px !important;
}

/* Weiterlesen-Button unten buendig, Petrol */
.pcbb-blog-grid .uk-article > p:last-child,
.pcbb-blog-lead .uk-article > p:last-child { margin-top: auto !important; margin-bottom: 0 !important; padding-top: 18px; }
.pcbb-blog-grid .uk-article .uk-button,
.pcbb-blog-lead .uk-article .uk-button {
    background: #1e6b45;
    border: 1px solid #1e6b45;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    padding: 0 18px;
    height: 36px;
    line-height: 34px;
    font-size: 0.85rem;
}
.pcbb-blog-grid .uk-article .uk-button:hover,
.pcbb-blog-grid .uk-article .uk-button:focus,
.pcbb-blog-lead .uk-article .uk-button:hover,
.pcbb-blog-lead .uk-article .uk-button:focus {
    background: #17563a; border-color: #17563a; color: #fff;
}

/* ---------------------------------------------------------------------
   3) Custom Fields (Lesedauer / Stand / Naechster Schritt)
      Markup: <ul class="fields-container"><li class="field-entry <name>">
   --------------------------------------------------------------------- */
.fields-container {
    list-style: none !important;
    margin: 0;
    padding: 0;
}
.fields-container > .field-entry { margin: 0; }

/* Lesedauer direkt unter dem Titel: dezente Meta-Zeile mit Uhr-Symbol */
.field-entry.lesedauer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0 !important;
    font-size: 0.875rem; /* 14 px (20.11.2026, vorher 0.85rem = 13,6 px) */
    color: #5f6b64;
}
/* Uhr als SVG-Maske statt Emoji (rendert ohne Emoji-Font sonst als Kaestchen) */
.field-entry.lesedauer::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background-color: #5f6b64;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle fill='none' stroke='%23000' stroke-width='2' cx='10' cy='10' r='8.5'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' d='M10 5.5V10l3 2'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle fill='none' stroke='%23000' stroke-width='2' cx='10' cy='10' r='8.5'/%3E%3Cpath fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' d='M10 5.5V10l3 2'/%3E%3C/svg%3E") no-repeat center / contain;
}
.field-entry.lesedauer .field-label { font-weight: 600; color: #5f6b64; }

/* Stand: kleine, unaufdringliche Zeile am Artikelende */
.field-entry.stand {
    margin: 28px 0 0 !important;
    font-size: 0.875rem; /* 14 px (20.11.2026, vorher 0.82rem = 13,1 px) */
    color: #5f6b64;
}
.field-entry.stand .field-label { font-weight: 600; }

/* "Ihr naechster Schritt": hervorgehobene Sand-Karte mit Petrol-Kante */
.field-entry.naechster-schritt {
    display: block;
    margin: 18px 0 0 !important;
    background: #ece5d6;
    border: 1px solid #e2dacb;
    border-left: 5px solid #1e6b45;
    border-radius: 12px;
    padding: 20px 24px;
}
.field-entry.naechster-schritt .field-value > p { margin: 0; }
.field-entry.naechster-schritt .field-value > p + p { margin-top: 10px; }
.field-entry.naechster-schritt strong { color: #0f3d2a; }
.field-entry.naechster-schritt a { color: #1e6b45; text-decoration: underline; }
.field-entry.naechster-schritt a:hover { color: #17563a; }

/* In Listenansichten bleibt die Lesedauer eine schlichte Zeile */
.pcbb-blog-grid .fields-container,
.pcbb-blog-lead .fields-container { margin-bottom: 0; }

/* ---------------------------------------------------------------------
   4) Zugaengliches Absenden im Suchformular (mod_finder-Override)
   --------------------------------------------------------------------- */
.pcbb-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
.pcbb-visually-hidden:focus {
    position: static !important;
    width: auto; height: auto;
    margin: 0; overflow: visible;
    clip: auto; clip-path: none;
    padding: 6px 14px;
    background: #1e6b45;
    color: #fff;
    border-radius: 6px;
}

@media (max-width: 639px) {
    .pcbb-blog-grid > * > .uk-article,
    .pcbb-blog-lead > * > .uk-article { padding: 20px 20px 18px; }
    .pcbb-cat-card-body { padding: 18px 18px 16px; }
    .field-entry.naechster-schritt { padding: 16px 18px; }
}

/* ---------------------------------------------------------------------
   5) Artikel-Detailseite (/wissen/<kat>/<beitrag>): Lesetypografie
   --------------------------------------------------------------------- */

/* Doppelte Menue-Ueberschrift ("Wissen") ueber dem Artikel ausblenden —
   der Artikel bringt seine eigene H1 mit. Faellt in Alt-Browsern ohne
   :has() einfach auf den bisherigen Zustand zurueck. */
h1:has(+ article.uk-article) { display: none; }

/* Artikel-Titel in Tiefsee, engerer Zeilenfall */
article.uk-article > .uk-container > .uk-article-title {
    color: #0f3d2a;
    line-height: 1.18;
}

/* Einleitung (Kurzantwort) als Lead: groesser, ruhig, Tiefsee-Grau */
article.uk-article [property="text"] > p:first-child {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #245c3f;
}

/* Zwischenueberschriften: Tiefsee mit kurzer Petrol-Kante */
article.uk-article [property="text"] h2 {
    color: #0f3d2a;
    margin-top: 46px;
    margin-bottom: 14px;
}
article.uk-article [property="text"] h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    border-radius: 2px;
    background: #1e6b45;
    margin-top: 9px;
}
article.uk-article [property="text"] h3 {
    color: #0f3d2a;
    margin-top: 32px;
    margin-bottom: 10px;
}

/* Listen: Petrol-Marker, mehr Luft zwischen den Punkten */
article.uk-article [property="text"] ol > li,
article.uk-article [property="text"] ul > li { margin-bottom: 10px; }
article.uk-article [property="text"] ol > li::marker {
    color: #1e6b45;
    font-weight: 700;
}
article.uk-article [property="text"] ul > li::marker { color: #1e6b45; }
article.uk-article [property="text"] li strong { color: #0f3d2a; }

@media (max-width: 639px) {
    article.uk-article [property="text"] > p:first-child { font-size: 1.08rem; }
    article.uk-article [property="text"] h2 { margin-top: 36px; }
}

/* EN-Seiten: deutsches Feld-Label "Lesedauer:" ausblenden — Uhr + Wert genuegen */
html[lang^="en"] .field-entry.lesedauer .field-label { display: none; }

/* =====================================================================
   Paket A (2026-08-19, ur) — Rote Theme-Reste beseitigen.

   Grund: Die kompilierte theme.12.css traegt noch die vollstaendige
   Terrakotta-Palette (#d64570 / #d64570 / #0f3d2a / #1a1f1c / #5f6b64 …).
   custom.css hatte bisher nur Body, Headings, Buttons, Cards, Alerts und
   die Navbar-Flaeche auf Petrol gezogen — alle uebrigen UIkit-Komponenten
   rendern weiterhin rot bzw. braun: Trennstriche in der Navigation,
   Rahmen rechts vom Logo, weinroter Kasten "Angaben aktuell halten" auf
   jeder Detailseite, rote Linie unter "Was ist Ihre Situation?" auf der
   Startseite, Marker/Label/Badge, Tabs, Pagination, Slider-Pfeile …

   Diese Sektion zieht die komplette Rot-/Braun-Familie auf die im Haus
   bereits verwendete Petrol-Palette. Keine neuen Farben:
     #1e6b45  Petrol (Akzent/Primaer, = Linkfarbe der Site)
     #17563a  Petrol dunkel (Hover, Rahmen)
     #0f3d2a  Dunkel-Petrol (Sekundaer-Flaechen, = .uk-section-secondary)
     #0f3d2a  Tiefsee (Aktiv-Zustand dunkler Flaechen)
     #1e6b45  Fokus-Ring
     #1a1f1c  Textfarbe   ·  #5f6b64  Text gedaempft
     #ece5d6 / #e2dacb / #f6f3ec  Sand-Familie

   Technik: Die Regeln stehen bewusst mit derselben Spezifitaet wie im
   Theme — custom.css wird nach theme.12.css geladen und gewinnt damit
   ohne !important. !important steht nur dort, wo das Theme es selbst
   setzt. Wo das Theme radial-gradient()-Verlaeufe legt, wird
   background-image ausdruecklich auf none gesetzt, sonst bleibt der rote
   Verlauf ueber der neuen Flaechenfarbe sichtbar.
   ===================================================================== */

/* --- A-1: Kopfbereich und Navigation: Trennstriche und Rahmen --------
   Der Logo-Rahmen steht im weissen Headerbar -> Sand. Die Striche in der
   Navbar stehen auf Petrol -> eine Nuance dunkler. Reihenfolge beachten:
   auf Mobil traegt das Logo zusaetzlich .uk-navbar-item, dort soll die
   Navbar-Variante gewinnen. */
.uk-logo { border-right-color: #e2dacb; }

.uk-navbar-item,
.uk-navbar-nav > li > a,
.uk-navbar-toggle { border-right-color: transparent; }

.uk-navbar-center-left,
.uk-navbar-center:not(:has([class*=uk-navbar-center])),
.uk-navbar-left,
.uk-navbar-right { border-left-color: transparent; }

.uk-navbar-container { border-bottom-color: #e2dacb; }
body:has(.tm-toolbar, .tm-headerbar-top) .tm-header .uk-navbar-container:not(.uk-navbar-sticky) { border-top-color: #17563a; }

/* Hover-/Aufklapp-Flaeche in der Navbar (Theme: #d64570) */
.uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-toggle:hover,
.uk-navbar-container:not(.uk-navbar-transparent) .uk-navbar-toggle[aria-expanded=true] { background-color: transparent; }

/* --- A-2: Farbige Flaechen (primary/secondary) inkl. Verlauf abschalten
   .uk-section-secondary/.uk-tile-secondary sind bereits weiter oben in
   dieser Datei erledigt und bleiben unangetastet. */
.uk-section-primary,
.uk-tile-primary { background-color: #1e6b45; background-image: none; }

.uk-card-primary {
    background-color: #1e6b45;
    background-image: none;
    border-color: #17563a;
}
.uk-card-primary.uk-card-hover:hover {
    background-color: #17563a;
    background-image: none;
    border-color: #17563a;
}
/* Kasten "Angaben aktuell halten" auf den Adress-Detailseiten */
.uk-card-secondary {
    background-color: #0f3d2a;
    background-image: none;
    border-color: #0f3d2a;
}
.uk-tile-secondary.uk-tile-hover:hover { background-color: #0f3d2a; }

.uk-background-primary { background-color: #1e6b45; }
.uk-background-secondary { background-color: #0f3d2a; }

/* --- A-3: Linien und Trenner ---------------------------------------
   Bewusste Akzentlinien (Heading-Divider/-Bullet) = Petrol, rein
   strukturelle Trenner = Sand-Rahmen. */
.uk-heading-divider { border-bottom-color: #1e6b45; }
.uk-heading-bullet::before { border-left-color: #1e6b45; }
.uk-heading-line > ::before,
.uk-heading-line > ::after { border-bottom-color: #e2dacb; }
.uk-divider-icon::before,
.uk-divider-icon::after { border-bottom-color: #e2dacb; }
blockquote { border-left-color: #1e6b45; color: #1a1f1c; }
blockquote footer { color: #5f6b64; }

/* --- A-4: Marker, Label, Badge, Tooltip ----------------------------- */
.uk-label { background-color: #1e6b45; border-color: #17563a; }
.uk-badge { background-color: #1e6b45; }
.uk-marker { background: #1e6b45; }
.uk-marker:hover { background: #17563a; }
.uk-card-badge { background: #1e6b45; }
.uk-tooltip { background: #1e6b45; }
[role=tooltip]:not(.uk-tooltip):not(.show) { background: #1e6b45; }

/* --- A-5: Text- und Marker-Farben, die das Theme mit !important setzt */
.uk-text-secondary { color: #0f3d2a !important; }
.uk-text-emphasis { color: #1a1f1c !important; }
.uk-list-primary > ::marker { color: #1e6b45 !important; }
.uk-list-secondary > ::marker { color: #0f3d2a !important; }
.uk-list-muted > ::marker { color: #5f6b64 !important; }
.uk-list-emphasis > ::marker { color: #1a1f1c !important; }

/* --- A-6: Navigationslisten, Dropdowns, Tabs, Pagination, Subnav ----- */
.uk-nav-default > li > a:hover,
.uk-nav-default > li.uk-active > a,
.uk-nav-default .uk-nav-sub a:hover,
.uk-nav-default .uk-nav-sub li.uk-active > a,
.uk-nav-primary > li > a:hover,
.uk-nav-primary > li.uk-active > a,
.uk-nav-primary .uk-nav-sub a:hover,
.uk-nav-primary .uk-nav-sub li.uk-active > a,
.uk-nav-secondary .uk-nav-sub li.uk-active > a,
.uk-dropdown-nav > li > a:hover,
.uk-dropdown-nav > li.uk-active > a,
.uk-dropdown-nav .uk-nav-sub a:hover,
.uk-dropdown-nav .uk-nav-sub li.uk-active > a,
.uk-navbar-dropdown-nav > li > a:hover,
.uk-navbar-dropdown-nav > li.uk-active > a,
.uk-navbar-dropdown-nav .uk-nav-sub a:hover,
.uk-navbar-dropdown-nav .uk-nav-sub li.uk-active > a { color: #1e6b45; }

.uk-subnav > * > a:hover,
.uk-subnav > .uk-active > a { color: #1e6b45; }
.uk-subnav-pill > .uk-active > a { background-color: #1e6b45; border-color: #17563a; }

.uk-breadcrumb > * > :hover { color: #1e6b45; }

.uk-pagination > .uk-active > * { background-color: #1e6b45; border-color: #17563a; }

.uk-tab::before { border-bottom-color: #e2dacb; }
.uk-tab-left::before,
.uk-tab-right::before { border-left-color: #e2dacb; }
.uk-tab > .uk-active > a { background-color: #1e6b45; border-color: #1e6b45; }

/* --- A-7: Icons, Slider, Fortschritt, To-Top ------------------------ */
.uk-icon-overlay,
a .uk-icon-overlay { color: #1e6b45; }
.uk-iconnav > * > a:hover,
.uk-iconnav > .uk-active > a { color: #1e6b45; }
.uk-dotnav > * > :hover,
.uk-dotnav > * > :active,
.uk-dotnav > .uk-active > * { background-color: #1e6b45; }
.uk-thumbnav > * > :hover::before,
.uk-thumbnav > .uk-active > ::before { border-color: #1e6b45; }
.uk-slidenav { background-color: #1e6b45; border-color: #17563a; }
.uk-slidenav:hover { background-color: #17563a; border-color: #17563a; }
.uk-slidenav:active { background-color: #0f3d2a; border-color: #0f3d2a; }
.uk-totop,
.uk-totop:hover,
.uk-totop:active { color: #1e6b45; }
.uk-close:hover { color: #1e6b45; }
.uk-progress::-webkit-progress-value { background-color: #1e6b45; }
.uk-progress::-moz-progress-bar { background-color: #1e6b45; }
.uk-range::-webkit-slider-thumb { background: #1e6b45; }
.uk-range::-moz-range-thumb { background: #1e6b45; }
.tm-transition-border::after { border-color: #1e6b45; }
.uk-transition-toggle:focus .tm-transition-border::after,
.uk-transition-toggle:focus.tm-transition-border::after,
.uk-transition-toggle:hover .tm-transition-border::after,
.uk-transition-toggle:hover.tm-transition-border::after { border-color: #1e6b45; }

/* --- A-8: Restliche rote Links, Buttons, Akkordeon ------------------ */
.uk-link,
.uk-link-toggle .uk-link { color: #1e6b45; }
.uk-link:hover,
.uk-link-toggle:hover .uk-link { color: #17563a; }
.uk-button-link { color: #1e6b45; }
.uk-button-link:hover { color: #17563a; }
.uk-button-primary { border-color: #17563a; }
.uk-article-meta a { color: #1e6b45; }
.uk-article-meta a:hover { color: #17563a; }
.uk-accordion-default .uk-accordion-title:hover { color: #1e6b45; }
.uk-accordion-default .uk-accordion-icon,
.uk-accordion-icon { color: #1e6b45; }

/* --- A-9: Fokus-/Aktiv-Rahmen in Formularen und Suche --------------- */
.uk-form-blank:focus { border-color: #1e6b45 !important; }
.uk-search-default .uk-search-input:focus,
.uk-search-navbar .uk-search-input:focus,
.uk-search-medium .uk-search-input:focus,
.uk-search-large .uk-search-input:focus { border-color: #1e6b45; }
.uk-checkbox:focus,
.uk-radio:focus { border-color: #1e6b45; }
.uk-checkbox:checked,
.uk-checkbox:indeterminate,
.uk-radio:checked,
.uk-checkbox:checked:focus,
.uk-checkbox:indeterminate:focus,
.uk-radio:checked:focus { background-color: #1e6b45; }
:focus-visible { outline-color: #1e6b45; }
.uk-dropbar :focus-visible,
.uk-dropdown :focus-visible,
.uk-navbar-dropdown :focus-visible { outline-color: #1e6b45 !important; }

/* --- A-10: Braunes Textgrau #1a1f1c -> #1a1f1c ----------------------
   Nur die Stellen, die laut getComputedStyle-Messung vom 19.08. noch
   wirklich braun rendern (Body/Headings/Cards sind weiter oben in dieser
   Datei bereits neutralisiert). */
.uk-description-list > dt,
.uk-icon-link:hover,
.uk-iconnav > * > a,
.uk-icon-button,
.uk-icon-button:hover,
.uk-active > .uk-icon-button,
.uk-icon-button:active,
.uk-form-label,
.uk-form-icon:hover,
.uk-input,
.uk-select,
.uk-textarea,
.uk-input:focus,
.uk-select:focus,
.uk-textarea:focus,
.uk-button-default,
.uk-button-default:hover,
.uk-button-default.uk-active,
.uk-button-default:active,
.uk-card-default,
.uk-card-default .uk-card-title,
.uk-article-title,
.uk-search-input,
.uk-search-toggle:hover,
.uk-accordion-default .uk-accordion-title,
.uk-dropbar,
.uk-dropdown,
.uk-navbar-dropdown,
.uk-dropdown-nav > li > a,
.uk-dropdown-nav .uk-nav-header,
.uk-dropdown-nav .uk-nav-sub a,
.uk-navbar-dropdown-nav > li > a,
.uk-navbar-dropdown-nav .uk-nav-header,
.uk-nav-default > li > a,
.uk-nav-default .uk-nav-header,
.uk-nav-primary > li > a,
.uk-nav-primary .uk-nav-header,
.uk-nav-secondary > li > a,
.uk-nav-secondary > li > a:hover,
.uk-nav-secondary > li.uk-active > a,
.uk-nav-secondary .uk-nav-header,
.uk-subnav > * > :first-child,
.uk-subnav-pill > * > a:hover,
.uk-subnav-pill > * > a:active,
.uk-breadcrumb > * > *,
.uk-pagination > * > *,
.uk-pagination > * > :hover,
.uk-tab > * > a,
.uk-tab > * > a:hover,
.uk-notification-message,
.uk-leader-fill::after,
.uk-text-lead,
.uk-link-muted a:hover,
.uk-link-toggle:hover .uk-link-muted,
a.uk-link-muted:hover { color: #1a1f1c; }

.uk-dropcap::first-letter,
.uk-dropcap > p:first-of-type::first-letter { color: #1a1f1c; }

/* --- A-11: Braunes Grau #5f6b64 -> #5f6b64 (gedaempfter Text) ------- */
.uk-link-muted a,
.uk-link-toggle .uk-link-muted,
a.uk-link-muted,
.uk-link-text a:hover,
.uk-link-toggle:hover .uk-link-text,
a.uk-link-text:hover,
.uk-table th,
.uk-table caption,
.uk-icon-link,
.uk-form-icon,
.uk-button-text:disabled,
.uk-button-link:disabled,
.uk-close,
.uk-article-meta,
.uk-comment-meta,
.uk-search .uk-search-icon,
.uk-search .uk-search-icon:hover,
.uk-search-toggle,
.uk-nav-default .uk-nav-sub a,
.uk-nav-primary .uk-nav-sub a,
.uk-nav-secondary .uk-nav-sub a,
.uk-nav-secondary .uk-nav-subtitle,
.uk-nav-default > li:not(.uk-active) > a:not(:hover) .uk-nav-subtitle,
.uk-nav-primary > li:not(.uk-active) > a:not(:hover) .uk-nav-subtitle,
.uk-navbar-dropdown-nav .uk-nav-sub a,
.uk-subnav > .uk-disabled > :first-child,
.uk-breadcrumb > :last-child > a:not([href]),
.uk-breadcrumb > :last-child > span,
.uk-pagination > .uk-disabled > *,
.uk-tab > .uk-disabled > a,
.uk-text-meta > a,
.tm-section-title { color: #5f6b64; }
.uk-search-input::placeholder { color: #5f6b64; }
.uk-input:disabled,
.uk-select:disabled,
.uk-textarea:disabled { color: #5f6b64; }

/* --- A-12: Kursiv und Inline-Code standen auf dem Terrakotta-Warnton
   #a72f52 (dunkles Weinrot). Beide tragen keine Warn-Semantik.
   Die echten Warn-/Fehlerfarben (.uk-text-danger, .uk-form-danger,
   .uk-button-danger, .uk-label-danger) bleiben bewusst rot. */
/* Die Danger-Textfarbe des Themes wiederherstellen: .uk-input oben haette sie
   sonst mit ueberschrieben. Fehlerzustaende bleiben bewusst rot. */
.uk-form-danger,
.uk-form-danger:focus { color: #a72f52; }

em { color: inherit; }
:not(pre) > code,
:not(pre) > kbd,
:not(pre) > samp { color: #0f3d2a; }

/* --- A-13: Fremdkomponenten mit derselben Terrakotta-Quelle --------- */
.awesomplete > ul > li:hover,
.awesomplete > ul > li[aria-selected=true] { color: #1e6b45; }
joomla-tab[view=tabs] > div[role=tablist]::before { border-bottom-color: #e2dacb; }
joomla-tab button[role=tab][aria-expanded=true] { background-color: #1e6b45; border-color: #1e6b45; }
.tm-toolbar-default { background: #0f3d2a; }

/* Ende Paket A ======================================================= */

/* --- D2-Nachtrag 19.08.2026: Cookie-Hinweis ragte rechts aus dem Viewport.
   Ursache: UIkit setzt ueber .uk-position-medium ein margin:30px, das sich mit
   der 100%-Breite aus D2 addiert. Gemessen vorher bei 512px Viewport:
   left=30 right=542 (30px abgeschnitten), bei 1418px: left=30 right=1448.
   Die Marge wird genullt; die optische Luft liefert weiterhin das Padding
   der Karte (30px mobil / 40px ab Desktop). --- */
.tm-consent.uk-position-fixed { margin: 0 !important; }

/* T-050 (Paket 5): Termin-Schnellfilter — Chip-Reihen, mobil horizontal scrollbar; Klartext-/Aktionszeile; Pagination */
.hs-tfilter { margin: 12px 0 18px; }
.hs-trow { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 6px; }
.hs-trow-label { flex: 0 0 auto; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; color: #5F6B64; padding-top: 7px; min-width: 64px; }
.hs-tchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hs-tchips > li { margin: 0; padding: 0; }
.hs-tchips > li > a { display: inline-block; padding: 5px 12px; border: 1px solid #c9d3cc; border-radius: 999px; font-size: 14px; line-height: 1.4; color: #1a1f1c; background: #fff; text-decoration: none; white-space: nowrap; }
.hs-tchips > li > a:hover, .hs-tchips > li > a:focus-visible { border-color: #1e6b45; color: #1e6b45; }
.hs-tchips > li.uk-active > a { background: #1e6b45; border-color: #1e6b45; color: #f6f3ec; }
.hs-tchips > li > a .hs-tn { color: #5F6B64; font-size: 14px; margin-left: 4px; }
.hs-tchips > li.uk-active > a .hs-tn { color: #f6f3ec; }
.hs-tstatus { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 10px 0 4px; font-size: 15px; }
.hs-tstatus strong { font-weight: 600; }
.hs-tstatus a { color: #1e6b45; }
.hs-tsearch { display: flex; gap: 6px; margin: 8px 0 0; max-width: 420px; }
.hs-tsearch input { flex: 1 1 auto; min-width: 0; padding: 6px 10px; border: 1px solid #c9d3cc; border-radius: 6px; }
.hs-tday { margin: 22px 0 8px; font-size: 15px; font-weight: 600; color: #1e6b45; border-bottom: 2px solid #1e6b45; display: inline-block; padding-bottom: 2px; }
.hs-tpage { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0; }
.hs-tempty { padding: 18px; border: 1px dashed #c9d3cc; border-radius: 8px; }
/* T-118 (18.11.2026): Block „Läuft gerade: N Ausstellungen“ über der Terminliste (HsKulturPortal::laufendBlock) — eingeklappt, Kopf als
 * Tippziel ≥ 44 px, Zeilen im Muster des Kulturkalenders (.hs-ku-zeile), nichts unter 14 px. Rückweg: diesen Block löschen. */
.hs-tlauf { margin: 14px 0 4px; border: 1px solid #D5CDEE; border-radius: 8px; background: #fff; }
.hs-tlauf > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 16px; cursor: pointer;
  font-size: 16px; font-weight: 600; color: #33285C; background: #F1EEFA; border-radius: 8px; list-style: none; }
.hs-tlauf > summary::-webkit-details-marker { display: none; }
.hs-tlauf > summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.hs-tlauf[open] > summary { border-radius: 8px 8px 0 0; border-bottom: 1px solid #D5CDEE; }
.hs-tlauf[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.hs-tlauf > summary:hover, .hs-tlauf > summary:focus-visible { background: #E7E1F7; }
.hs-tlauf-hinweis { margin: 12px 16px 0; font-size: 14px; line-height: 1.45; color: #57506B; }
.hs-tlauf > .hs-ku { padding: 0 16px; }
.hs-tlauf .hs-ku-liste > li:first-child { border-top: 0; }
@media (min-width: 640px) {
  .hs-tlauf .hs-ku-zeile.hs-ku-lauf { grid-template-columns: 9rem 1fr; }
  .hs-tlauf .hs-ku-zeile.hs-ku-lauf > .hs-ku-zeit { grid-column: 1; grid-row: 1 / span 2; }
  .hs-tlauf .hs-ku-zeile.hs-ku-lauf > .hs-ku-kern, .hs-tlauf .hs-ku-zeile.hs-ku-lauf > .hs-ku-quelle { grid-column: 2; }
}
.hs-tlauf .hs-ku-zeit, .hs-tlauf .hs-ku-sparte { font-size: 14px; }
.hs-tlauf .hs-ku-ort, .hs-tlauf .hs-ku-oeffnung { font-size: 15px; }
.hs-tlauf .hs-ku-quelle, .hs-tlauf .hs-ku-chip { font-size: 14px; }
.hs-tlauf-mehr { margin: 4px 16px 14px; font-size: 15px; }
.hs-tlauf-mehr a { color: #33285C; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hs-ttest { font-size: 12px; color: #a63d2f; margin: 4px 0; }
@media (max-width: 767px) {
  .hs-trow { flex-direction: column; gap: 2px; }
  .hs-trow-label { padding-top: 0; }
  .hs-tchips { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; padding: 2px 0 6px; width: 100%; }
  .hs-tchips > li { flex: 0 0 auto; }
}

/* T-051 (Paket 5): Kartenanatomie — Overlay-Link, Chips (Preis/Anmeldung/Status/läuft), Bezirk, „Ort folgt“; Startseiten-Block Heute/Morgen/Wochenende */
.auf-ev-card { position: relative; }
.auf-ev-overlay { position: absolute; inset: 0; z-index: 1; border-radius: 12px; }
.auf-ev-card .auf-ev-main a, .auf-ev-card .auf-ev-side a { position: relative; z-index: 2; }
.auf-ev-card:hover { border-color: #1e6b45; box-shadow: 0 6px 18px rgba(62,50,44,.08); }
.auf-ev-card:focus-within { outline: 2px solid #1e6b45; outline-offset: 2px; }
.auf-ev-meta--zeit { color: #1a1f1c; font-weight: 500; margin-bottom: 2px; }
.auf-ev-meta--ort { margin-bottom: 8px; }
.auf-ev-bezirk::before { content: "·"; margin-right: 8px; color: #9aa59f; }
.auf-ev-loc--folgt { color: #5F6B64; font-style: italic; }
.auf-ev-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.auf-ev-chips .auf-chip { position: relative; z-index: 2; }
.auf-chip--preis { background: #ece5d6; color: #1a1f1c; border: 1px solid #e2dacb; }
.auf-chip--preis-frei { background: #1e6b45; color: #f6f3ec; border-color: #1e6b45; }
.auf-chip--anm { background: #fff; color: #1a1f1c; border: 1px solid #c9d3cc; }
.auf-chip--live { background: #e8913a; color: #1a1f1c; }
.auf-chip--status { display: inline-block; margin-bottom: 6px; background: #a63d2f; color: #fff; }
.auf-chip--status-ausverkauft, .auf-chip--status-geaendert { background: #e8913a; color: #1a1f1c; }
/* F5: Wetterhinweis — bewusst NICHT im Warnrot der Absage. Er meldet keine Absage, sondern gibt
   eine Angabe des Veranstalters wieder; die Farbe sagt „Hinweis“, nicht „Achtung“. */
.auf-chip--wetter { display: inline-block; margin-bottom: 6px; background: #dfe8ef; color: #1c3b52; border: 1px solid #b9cbd9; }
/* B-F5-01: Der freie Statushinweis liegt nur auf Deutsch vor. Kein Warnton — es fehlt eine
   Übersetzung, nicht eine Angabe. Gleiche Auszeichnung wie bei Organisationen (.lang-fallback). */
.auf-chip--fallback { display: inline-block; margin-bottom: 6px; background: #efe9dd; color: #5a5d57; border: 1px solid #ddd3c0; font-style: italic; }
.hs-tbanner .lang-fallback { display: block; margin-top: 6px; font-style: italic; opacity: 0.9; }
.auf-home-ev--zeit .auf-home-ev-col { height: 100%; }
.auf-home-ev-h { font-size: 1rem; margin: 0 0 10px; }
.auf-home-ev-h a { color: #1e6b45; text-decoration: none; }
.auf-home-ev-h a:hover { text-decoration: underline; }
.auf-home-ev-n { display: inline-block; min-width: 22px; margin-left: 8px; padding: 0 7px; border-radius: 999px; background: #1e6b45; color: #f6f3ec; font-size: 0.8rem; text-align: center; }
.auf-home-ev--zeit .auf-home-ev-card { margin-bottom: 10px; }
.auf-home-ev-more { display: inline-block; margin-top: 4px; color: #1e6b45; font-weight: 600; text-decoration: none; }
.auf-home-ev-more:hover { text-decoration: underline; }
.auf-home-ev-leer { margin: 0; color: #5F6B64; }
.auf-home-ev-loc--folgt { color: #5F6B64; font-style: italic; }

.auf-home-ev--zeit .auf-home-ev-card { height: auto; }

/* T-052 (Paket 5): Termin-Detailseite — Hero, Faktenblock, Ort, ähnliche Termine, Vertrauensbox, mobile Aktionsleiste */
.hs-termin { max-width: 960px; }
.hs-breadcrumb { margin: 0 0 8px; font-size: 0.85rem; }
.hs-tbanner { margin: 0 0 14px; padding: 12px 16px; border-radius: 8px; background: #a63d2f; color: #fff; }
.hs-tbanner--ausverkauft, .hs-tbanner--geaendert { background: #e8913a; color: #1a1f1c; }
/* F5: Wetterhinweis auf der Detailseite — Hinweiston, kein Alarmton (siehe .auf-chip--wetter). */
.hs-tbanner--wetter { background: #dfe8ef; color: #1c3b52; border: 1px solid #b9cbd9; }
.hs-thero { padding: 4px 0 18px; border-bottom: 1px solid #e2dacb; margin-bottom: 22px; }
.hs-thero-kicker { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
.hs-thero-kicker .auf-chip { text-decoration: none; }
.hs-thero-title { margin: 0 0 12px; font-size: 2rem; line-height: 1.15; }
.hs-thero-facts { margin: 0 0 16px; }
.hs-thero-facts > div { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 6px; font-size: 1.05rem; }
.hs-thero-facts dt { flex: 0 0 auto; color: #1e6b45; padding-top: 3px; }
.hs-thero-facts dd { margin: 0; }
.hs-thero-facts dd a { color: #1e6b45; text-decoration: underline; }
.hs-tactions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.hs-tfacts h2, .hs-tdesc h2, .hs-tort h2, .hs-taehnlich h2 { font-size: 1.25rem; margin: 0 0 10px; }
.hs-tfacts, .hs-tdesc, .hs-tort, .hs-taehnlich { margin-bottom: 28px; }
.hs-tfacts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px 24px; margin: 0; }
.hs-tfacts-grid > div { border-bottom: 1px solid #e2dacb; padding: 6px 0; }
.hs-tfacts-grid dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: .04em; color: #5F6B64; }
.hs-tfacts-grid dd { margin: 2px 0 0; }
.hs-na { color: #5F6B64; font-style: italic; }
.hs-tort-adr { margin: 0 0 10px; }
.hs-tmap { margin: 12px 0; border-radius: 10px; overflow: hidden; }
.hs-tweiter { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; }
.hs-tvertrauen { border-radius: 12px; margin-bottom: 24px; }
.hs-tbar { display: none; }
@media (max-width: 767px) {
  .hs-thero-title { font-size: 1.5rem; }
  .hs-termin { padding-bottom: 64px; }
  .hs-tbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 980; background: #fff; border-top: 1px solid #c9d3cc; box-shadow: 0 -4px 14px rgba(0,0,0,.08); }
  .hs-tbar-a { flex: 1 1 0; min-height: 48px; display: flex; align-items: center; justify-content: center; padding: 8px 6px; font-weight: 600; color: #1e6b45; text-decoration: none; border-right: 1px solid #e2dacb; font-size: 0.9rem; }
  .hs-tbar-a:last-child { border-right: 0; }
  .hs-tbar-a--primary { background: #1e6b45; color: #f6f3ec; }
}

/* T-054: Reihen */
.auf-chip--reihe { background: #fff; border: 1px dashed #1e6b45; color: #1e6b45; text-decoration: none; }
.auf-chip--reihe:hover { background: #1e6b45; color: #f6f3ec; }
.hs-treihe { margin: 10px 0 14px; }

/* T-057: schlankes Termin-Formular */
.hs-tform .hs-tform-h { margin: 26px 0 10px; padding-top: 14px; border-top: 1px solid #e2dacb; }
.hs-tform .options-form legend { font-size: 1rem; }
/* 25.11.2026: ohne eigene Schriftgröße — vorher 0.85rem = 13,6 px (Regel der Inhaber: nichts Lesbares unter 14 px);
   jetzt gilt wie bei allen Beschriftungen .uk-form-label (15 px aus dem Theme). */
.hs-tform-details label { color: #5F6B64; }
/* 25.11.2026: Der Editor (TinyMCE) bekommt aus den Einstellungen des Editor-Plugins eine feste Breite von 750 px (html_width = 750);
   das Formular ist schmaler (Rechner 726 px, Handy 282 px), der Rest wurde vom Rahmen des Formulars abgeschnitten — am Handy mehr als die
   Hälfte des Editors (Werkzeugleiste, rechter Rand). Höchstens so breit wie das Formular; die Werkzeugleiste ordnet sich danach selbst neu. */
.hs-tform .tox-tinymce { max-width: 100%; }
/* 25.11.2026: gewählte Kategorie/Schlagwort im Auswahlfeld (Choices) stand in 12 px — nichts Lesbares unter 14 px. */
.hs-tform .choices__list--multiple .choices__item { font-size: 0.875rem; }
.hs-tform .form-actions { margin-top: 18px; }

/* T-058 */
.hs-tmap-pop ul { margin: 6px 0; padding-left: 16px; font-size: 0.85rem; }
.hs-tabo { margin-left: 8px; }

/* ===================================================================
   G1 „Die grüne Hauptstadt" (Modul 2, 13.09.2026) — Farbwelt und
   Portalrahmen. Liegt hier und nicht in `yt_custom_less`, weil das
   Customizer-CSS erst beim serverseitigen LESS-Neubau in theme.NN.css
   landet (build/audit-20260822/build-theme.sh) — der würde das ganze
   Vegan-Design mit anfassen und gehört nicht in ein fachliches Ticket.
   custom.css ist repo-geführt (deploy/site-manifest.txt), wird von
   deploy.sh ausgerollt, übersteht jeden Staging-Refresh und lädt nach
   theme.NN.css. Keine zweite theme.css. Rückweg: diesen Block löschen.
   =================================================================== */
:root {
  --hs-gr-dunkel:  #14432B;  /* Überschriften, Pillen-Text          */
  --hs-gr-grund:   #1E6B45;  /* Grün der Marke (wie Vegan-Akzent)   */
  --hs-gr-hell:    #E8F0E5;  /* Flächen, aktive Pille               */
  --hs-gr-rand:    #C9D8C4;  /* Rahmen                              */
  --hs-gr-akzent:  #7A9E3F;  /* Stadtgrün-Akzent, nur Marker        */
  --hs-gr-text:    #2C3A31;
  --hs-gr-gedimmt: #5F6B64;
}

/* --- lokale Grün-Leiste (mod_menu, Layout gruen-pills, Position top) --- */
.hs-gr-bar { background: var(--hs-gr-hell); border-bottom: 1px solid var(--hs-gr-rand); }
.hs-gr-bar-in { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 8px 0; }
.hs-gr-modul { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0;
               font-weight: 700; color: var(--hs-gr-dunkel); text-decoration: none; white-space: nowrap; }
.hs-gr-modul:hover { color: var(--hs-gr-grund); text-decoration: underline; }
.hs-gr-modul[aria-current] { text-decoration: underline; text-decoration-thickness: 2px; }
.hs-gr-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.hs-gr-nav > li { margin: 0; }
.hs-gr-nav > li > a { display: inline-flex; align-items: center; min-height: 44px; padding: 6px 15px;
                      border: 1px solid var(--hs-gr-rand); border-radius: 999px; background: #fff;
                      color: var(--hs-gr-dunkel); font-size: .92rem; font-weight: 600;
                      text-decoration: none; white-space: nowrap; }
.hs-gr-nav > li > a:hover { border-color: var(--hs-gr-grund); background: #fff; color: var(--hs-gr-grund); }
.hs-gr-nav > li > a:focus-visible { outline: 3px solid var(--hs-gr-grund); outline-offset: 2px; }
.hs-gr-nav > li > a[aria-current] { background: var(--hs-gr-grund); border-color: var(--hs-gr-grund); color: #fff; }
/* G-R (15.09.2026, Befund G-Q-14): Auf 320/390 px scrollt die Leiste seitlich, der letzte sichtbare Punkt
 * brach aber mitten im Wort an der Kante ab — ohne jeden Hinweis, dass es rechts weitergeht.
 *   · Jede Pille bleibt in einer Zeile (`white-space: nowrap`, schon oben gesetzt) — es wird nie umbrochen,
 *     sondern abgeschnitten; genau darum braucht es den Hinweis.
 *   · Der Rahmen `.hs-gr-nav-wrap` (Layout `hs-pills.php`) trägt am rechten Rand einen Verlauf in die
 *     Streifenfarbe und darüber einen weichen Schatten. Steht dort nichts (Leiste passt ganz hin), läuft
 *     Streifenfarbe in Streifenfarbe und der Schatten liegt auf leerer Fläche — der Hinweis fällt also
 *     nur dort auf, wo wirklich etwas abgeschnitten ist. Gemessen 15.09.2026: bei 320/390/414 px ist die
 *     Leiste in allen drei Sprachen breiter als der Platz (660…684 px gegen 290…384 px).
 *   · `pointer-events: none`: der Verlauf fängt keine Klicks ab, die Tastaturbedienung bleibt unberührt
 *     (Tabben scrollt den nächsten Punkt automatisch in den sichtbaren Bereich).
 *   · Scroll-Snap greift weiterhin an der Pillenkante, sodass nach dem Wischen kein halbes Wort stehen bleibt.
 * Rückweg: diesen Block und die Klasse `hs-gr-nav-wrap` in `hs-pills.php` entfernen. */
@media (max-width: 639px) {
  .hs-gr-bar-in { display: block; padding: 6px 0 8px; }
  .hs-gr-modul { min-height: 36px; font-size: .95rem; }
  .hs-gr-nav-wrap { position: relative; }
  /* Zwei Lagen: der Verlauf blendet das angeschnittene Wort in die Streifenfarbe aus, der weiche Schatten
     darüber macht die Kante auch auf der hellen Fläche sichtbar. Reiner Verlauf allein war am Bildschirm
     nicht zu erkennen (Vergleichsaufnahmen 15.09.2026, `pill-ist.png` gegen `pill-kand-b.png`). */
  .hs-gr-nav-wrap::after { content: ""; position: absolute; top: 0; right: -1px; bottom: 4px; width: 48px;
                           pointer-events: none;
                           background: linear-gradient(to right, transparent, var(--hs-gr-hell) 62%);
                           box-shadow: inset -18px 0 14px -14px rgba(20, 67, 43, .55); }
  .hs-gr-nav { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
               -webkit-overflow-scrolling: touch; padding-bottom: 4px; padding-right: 22px;
               scrollbar-width: none; }
  .hs-gr-nav::-webkit-scrollbar { display: none; }
  .hs-gr-nav > li { scroll-snap-align: start; flex: 0 0 auto; }
}

/* --- Breadcrumb über der Grün-Leiste --- */
.hs-gr-bar + .uk-section .uk-breadcrumb, .hs-gr-crumb .uk-breadcrumb { margin-bottom: 0; }

/* --- Schnelleinstiegs-Chips auf /gruen (Muster T-036, hb-quick) --- */
.hs-gr-chips-label { display: block; font-size: .8rem; color: var(--hs-gr-text); margin-bottom: 8px; }
/* dunkler als --hs-gr-gedimmt: 0,8rem auf der gedeckten Sektionsfläche fiel im axe-Lauf
   13.09.2026 im Kontrast durch (color-contrast/serious). */
.hs-gr-chips-scroll { display: flex; flex-wrap: wrap; gap: 8px; }
.hs-gr-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
              background: #fff; border: 1px solid var(--hs-gr-rand); color: var(--hs-gr-dunkel);
              border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 600;
              text-decoration: none; white-space: nowrap; }
.hs-gr-chip:hover { border-color: var(--hs-gr-grund); background: var(--hs-gr-hell); color: var(--hs-gr-dunkel); }
.hs-gr-chip:focus-visible { outline: 3px solid var(--hs-gr-grund); outline-offset: 2px; }
@media (max-width: 639px) {
  .hs-gr-chips-scroll { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
                        -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  .hs-gr-chip { scroll-snap-align: start; flex: 0 0 auto; }
}

/* --- Kacheln der vier Hauptwege: Mindesthöhe für Touch, ruhiger Hover --- */
.hs-gr-wege .el-item { min-height: 44px; transition: transform .18s ease, box-shadow .18s ease; }
.hs-gr-wege .el-item:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20,67,43,.10); }
.hs-gr-wege .el-title { color: var(--hs-gr-dunkel); }

/* --- Platzhalter- und Beispiel-Kennzeichnung (nur Staging-Inhalte in G1) --- */
.hs-gr-platzhalter { display: inline-block; margin: 0 0 10px; padding: 3px 10px; border-radius: 999px;
                     background: var(--hs-gr-hell); border: 1px dashed var(--hs-gr-grund);
                     color: var(--hs-gr-dunkel); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.hs-gr-luecke { border-left: 3px solid var(--hs-gr-akzent); padding-left: 12px; color: var(--hs-gr-text); }
.hs-gr-weiter { margin-top: 14px; }

/* --- Position `top`: Breadcrumb und lokale Leiste untereinander, volle Breite ---
   YOOtheme legt mehrere Module der Position `top` nebeneinander in ein Grid
   (`uk-child-width-expand@m`); die Pillenleiste wurde dadurch auf die halbe Breite
   gequetscht und brach um (Befund Screenshot 13.09.2026). Die Position trägt
   ausschließlich die beiden Grün-Module — außerhalb der Grün-Seiten wird `.tm-top`
   gar nicht gerendert, die Regel kann also keine Vegan-Seite treffen. */
.tm-top > .uk-container > .uk-grid { display: block; margin-left: 0; }
.tm-top > .uk-container > .uk-grid > * { width: 100%; padding-left: 0; }
.tm-top.uk-section { padding-top: 20px; padding-bottom: 0; }
.tm-top nav[aria-label] .uk-breadcrumb { margin-bottom: 0; }
.tm-top .hs-gr-crumb nav { margin-bottom: 10px !important; }

/* ------------------------------------------------------------------ G5 (13.09.2026): Themenmerkmal im Terminkalender
 * Ein Kalender, zwei Themen. Der Themenchip kennzeichnet grüne und themenübergreifende Termine auf Terminkarte,
 * Detailseite, Kurzkarte und im Startseitenblock; rein vegane Termine bleiben ohne Chip (Bestand unverändert, R-G26).
 * Farben aus den Grün-Tokens (G1), damit Grün überall gleich aussieht.
 */
.auf-chip--thema { background: var(--hs-gr-hell); color: var(--hs-gr-dunkel); border: 1px solid var(--hs-gr-rand); }
.auf-chip--thema-gruen { background: var(--hs-gr-grund); color: #f6f3ec; border-color: var(--hs-gr-grund); }
.auf-chip--thema-beide { background: #fff; color: var(--hs-gr-dunkel); border: 1px dashed var(--hs-gr-grund); }
.auf-home-ev-card .auf-chip--thema { margin-top: 4px; }
.hs-trow--thema .hs-tchips > li.uk-active > a { background: var(--hs-gr-grund); }
.auf-termine-head--gruen h1 { color: var(--hs-gr-dunkel); }
.hs-tgruen-quelle { color: var(--hs-gr-gedimmt); margin-top: 4px; }

/* Terminblock „Grün" auf /gruen und die Blöcke der Seite „Mitmachen" (Plugin hsstart, G5) */
.hs-gt-rubriken { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; list-style: none; }
.hs-gt-rubriken > li { margin: 0; }
.hs-gt-rubrik { display: inline-flex; align-items: baseline; gap: 6px; padding: 7px 14px; border: 1px solid var(--hs-gr-rand);
                border-radius: 999px; background: #fff; color: var(--hs-gr-dunkel); font-weight: 600; text-decoration: none; }
.hs-gt-rubrik:hover, .hs-gt-rubrik:focus-visible { background: var(--hs-gr-hell); color: var(--hs-gr-dunkel); text-decoration: none; }
.hs-gt-rubrik .hs-gt-n { color: var(--hs-gr-gedimmt); font-weight: 400; font-size: .85rem; }
.hs-gt-liste { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 8px; }
@media (min-width: 640px) { .hs-gt-liste { grid-template-columns: 1fr 1fr; } }
.hs-mm-block { border: 1px solid var(--hs-gr-rand); border-radius: 10px; padding: 14px 16px; background: #fff; margin: 0 0 14px; }
.hs-mm-block h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--hs-gr-dunkel); }
.hs-mm-liste { margin: 0 0 10px; padding: 0; list-style: none; display: grid; gap: 8px; }
@media (min-width: 640px) { .hs-mm-liste { grid-template-columns: 1fr 1fr; } }
.hs-mm-karte { display: block; border: 1px solid var(--hs-gr-rand); border-radius: 8px; padding: 10px 12px; background: var(--hs-gr-hell);
               color: var(--hs-gr-dunkel); text-decoration: none; }
.hs-mm-karte:hover, .hs-mm-karte:focus-visible { background: #fff; color: var(--hs-gr-dunkel); text-decoration: none; }
.hs-mm-karte .hs-mm-name { font-weight: 600; display: block; }
.hs-mm-karte .hs-mm-meta { font-size: .85rem; color: var(--hs-gr-gedimmt); }
.hs-mm-schritt { margin: 0; font-weight: 600; }
.hs-mm-leer { color: var(--hs-gr-gedimmt); }

/* axe link-in-text-block (G5, 13.09.2026): Links in Fließtextzeilen brauchen eine zweite Unterscheidung
 * zur Farbe — dieselbe Lösung wie bei den Quellenlinks in G3. Betrifft den Verweis auf den Umweltkalender
 * und die Weiterwege in der Statuszeile der Terminliste. */
.hs-tgruen-quelle a, .hs-tstatus a, .hs-mm-schritt a, .hs-gt-liste a.hs-mm-karte .hs-mm-name { text-decoration: underline; }
.hs-mm-karte { text-decoration: none; }

/* ==========================================================================================
 * G6 (14.09.2026) — Dachportal: Vegan-Farbtokens der lokalen Leiste und die Dachstartseite
 * Ticket docs/tickets/G6-portalstart-und-vermarktung.md, Teilschritte 2–5.
 * Grundsatz unverändert: Gestaltung über native YOOtheme-Props; hier steht nur, was ein Prop
 * nicht kann (Farbtokens je Modul, Kachelraster der Plugin-Blöcke, 44-px-Ziele, Scroll-Snap).
 * ========================================================================================== */

/* --- Lokale Leiste: dasselbe Gerüst (.hs-gr-bar/.hs-gr-nav/.hs-gr-modul), Farben je Modul ---
 * Die Vegan-Variante überschreibt ausschließlich die Tokens — Abstände, Fokus, Scroll-Snap und
 * Touch-Ziele werden nur einmal gepflegt (Layout templates/yootheme/html/mod_menu/hs-pills.php). */
.hs-gr-bar.hs-bar-vegan {
  --hs-gr-dunkel:  #0F3D2A;   /* Vegan-Akzent der Marke (Kopfleiste, Badges) */
  --hs-gr-grund:   #1E6B45;
  --hs-gr-hell:    #F6F3EC;   /* warmer Grundton des Vegan-Bereichs        */
  --hs-gr-rand:    #D2CBBA;
  --hs-gr-text:    #1a1f1c;
  --hs-gr-gedimmt: #5a5d57;
}

/* --- F1 (15.09.2026): Farbtokens „Die Fahrradhauptstadt" (Modul 3, Ticket F1 Teilschritt 7i) ---
 * Dieselbe Bauart wie die Vegan-Variante: **nur** die Tokens werden überschrieben, das Gerüst bleibt.
 * `.hs-bar-fahrrad` färbt die lokale Leiste, `.hs-thema-fahrrad` die Blöcke der Modulstartseite
 * (Kacheln, Chips, Platzhalter, Lückenhinweis) — ein Satz Tokens für beides, keine zweite Datei.
 *
 * **Bewusste Abweichung von der Projektregel** „Brand-CSS gehört in `yt_custom_less`": der
 * Customizer-Wert würde erst mit einem vollständigen LESS-Neubau des Themes wirksam
 * (`build/audit-20260822/build-theme.sh`), und der fasst das ganze Vegan-Design mit an. Das gehört
 * nicht in ein fachliches Ticket. `custom.css` ist repo-geführt (deploy/site-manifest.txt), wird von
 * deploy.sh ausgerollt, übersteht jeden Staging-Refresh und lädt nach theme.NN.css. Dieselbe
 * Begründung wie bei Grün in G1 — hier erneut ausgewiesen, weil das Ticket es verlangt.
 * Rückweg: diesen Block löschen.
 *
 * Kontrast: #12384F auf #E6F0F4 ≈ 10:1 · #FFFFFF auf #175C73 ≈ 6:1 · beides über AA für Fließtext.
 * Der Akzent #B45309 steht ausschließlich an Markern, nie als Fläche hinter Text. */
.hs-gr-bar.hs-bar-fahrrad,
.hs-thema-fahrrad {
  --hs-gr-dunkel:  #12384F;   /* Überschriften, Pillen-Text        */
  --hs-gr-grund:   #175C73;   /* Blau der Fahrradwelt              */
  --hs-gr-hell:    #E6F0F4;   /* Flächen, aktive Pille             */
  --hs-gr-rand:    #BFD6DF;   /* Rahmen                            */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker          */
  --hs-gr-text:    #22333B;
  --hs-gr-gedimmt: #55666F;
}

/* --- E1 (02.10.2026): Farbtokens „Die engagierte Hauptstadt" (Modul 5, K0-Delta A-8) ---
 * Bauart wie Fahrrad: nur Tokens. `.hs-bar-engagiert` färbt die lokale Leiste, `.hs-thema-engagiert` die Blöcke
 * der Modulstartseite. Greift nur, wo diese Klassen vorkommen (Menütyp `engagiertmenu`, Migration 503a) —
 * auf Produktion vor E6 wirkungslos. Gleiche Begründung für custom.css statt yt_custom_less wie im Fahrrad-Block.
 * Kontrast: #5A1E3A auf #F6E9EF ≈ 10:1 · #FFFFFF auf #8A2F55 ≈ 8:1. Rückweg: diesen Block löschen. */
.hs-gr-bar.hs-bar-engagiert,
.hs-thema-engagiert {
  --hs-gr-dunkel:  #5A1E3A;   /* Überschriften, Pillen-Text        */
  --hs-gr-grund:   #8A2F55;   /* Beere der engagierten Welt        */
  --hs-gr-hell:    #F6E9EF;   /* Flächen, aktive Pille             */
  --hs-gr-rand:    #E2C6D2;   /* Rahmen                            */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker          */
  --hs-gr-text:    #2E1F26;
  --hs-gr-gedimmt: #66545C;
}

/* --- Dachstartseite: die zwei gleichwertigen Themenwelt-Karten ({hs-start portal-module}) ---
 * Gleiche Größe über uk-grid-match; die ganze Karte ist ein Link (Touch-Ziel weit über 44 px).
 *
 * T-075 (15.09.2026, Codex R-D-02): jede Karte trägt ihr eigenes Motiv als **Hintergrundbild**. Warum als
 * CSS-Hintergrund und nicht als `<img>`:
 *   - Das Motiv ist rein dekorativ (Codex: kein redundanter `alt`-Text). Ein CSS-Hintergrund ist für
 *     Screenreader gar nicht vorhanden — genau das gewünschte Verhalten, ohne leeres `alt` pflegen zu müssen.
 *   - Es entsteht **kein Layoutsprung**: die Karte hat eine feste Mindesthöhe, das Bild kann sie nicht
 *     verschieben (CLS 0, gemessen im Nachweis).
 *   - Fällt das Bild aus (blockiert, 404, Sparmodus), bleibt die Karte vollständig lesbar: darunter liegt die
 *     dunkle Grundfarbe der Themenwelt, der Text ist weiß und der Kontrast damit sogar höher.
 *
 * **Kontrast (Codex: ≥ 4,5:1 gegen das tatsächliche Bild an jeder Stelle).** Nicht gemessen, sondern
 * rechnerisch erzwungen: über dem Motiv liegt ein deckender dunkler Verlauf mit **mindestens 66 % Deckung**
 * (`rgba(10,24,17,.66)` am oberen Rand). Selbst wenn das Bild an einer Stelle **reinweiß** wäre, ergibt die
 * Mischung 0,66 × (10,24,17) + 0,34 × 255 ≈ #5D6762 — weißer Text darauf hat 5,9:1. Jedes reale Bildpixel ist
 * dunkler als Weiß, also ist 5,9:1 die **untere** Schranke für die ganze Kartenfläche. Deshalb sind alle Texte
 * der Karte reinweiß gesetzt (kein abgedunkeltes Weiß, das die Schranke wieder aufweichen würde).
 *
 * Responsive Quellen: `image-set()` liefert WebP mit JPG-Fallback; unter 640 px die `-800`-Fassungen
 * (69 KB + 134 KB WebP = 203 KB, Budget 250 KB). Alles lokal, kein externer Host. Die vorangestellte
 * `url(... .jpg)`-Zeile ist der Rückfall für Browser ohne `image-set` — pro Karte lädt immer nur die
 * Fassung, die die Kaskade gewinnt. */
.hs-portal-module .hs-pk { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  height: 100%; box-sizing: border-box; position: relative; overflow: hidden;
  min-height: 330px; padding: 22px 24px; border: 1px solid #0F3D2A; border-radius: 12px;
  background-color: #14352A; background-repeat: no-repeat; background-position: 50% 50%; background-size: cover;
  color: #fff; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.hs-portal-module .hs-pk-gruen { background-color: #123B27; }
.hs-portal-module .hs-pk:hover, .hs-portal-module .hs-pk:focus-visible {
  border-color: #1E6B45; box-shadow: 0 2px 14px rgba(15, 61, 42, .28); text-decoration: none; color: #fff; }
/* Fokus doppelt sichtbar: dunkler Ring gegen den hellen Seitenhintergrund, weißer Ring gegen das Motiv. */
.hs-portal-module .hs-pk:focus-visible { outline: 3px solid #1E6B45; outline-offset: 2px;
  box-shadow: inset 0 0 0 3px #fff, 0 2px 14px rgba(15, 61, 42, .28); }
.hs-portal-module .hs-pk-h { font-size: 1.75rem; font-weight: 700; line-height: 1.22; color: #fff; }
.hs-portal-module .hs-pk-s { font-size: 1rem; line-height: 1.5; color: #fff; }
/* T-078 (15.09.2026): Weiß gilt **nur auf der Karte**. `.hs-portal-module` trägt auch der Kennzahlenblock
 * der Modulwurzel `/gruen` (`uk-panel hs-portal-module hs-gr-kennzahlen`) — dort stand die Zeile
 * „60 Orte und Projekte · 8 Ratgeber · …" weiß auf dem hellen Seitengrund (#fff auf #f6f3ec = **1,1:1**)
 * und war damit **unsichtbar**, in allen drei Sprachen. Der Selektor hängt jetzt an `.hs-pk`, der Kartenklasse. */
.hs-portal-module .hs-pk-zahlen { margin: 0; font-size: .9rem; line-height: 1.5; }
.hs-portal-module .hs-pk .hs-pk-zahlen { color: #fff; }
.hs-portal-module .hs-pk .hs-pk-zahl strong { color: #fff; }
.hs-portal-module .hs-pk-weg { margin-top: 4px; min-height: 44px; display: inline-flex; align-items: center;
  font-weight: 700; font-size: 1rem; color: #fff; text-decoration: underline; }
.hs-portal-module .hs-pk-gruen .hs-pk-h, .hs-portal-module .hs-pk-gruen .hs-pk-weg { color: #fff; }
/* Der Theme-Grundsatz „Links im Textblock unterstreichen" (`.tm-page main .uk-panel a:not(.uk-button)…`,
 * weiter oben in dieser Datei) ist spezifischer als `.hs-portal-module .hs-pk` und unterstreicht sonst die
 * **ganze** Karte: Titel, Kurztext und Kennzahlen inbegriffen (Befund Staging 15.09.2026, T-075). Bei einer
 * Karte, die als Ganzes ein Link ist, hilft das niemandem — die Klickbarkeit trägt der sichtbare Weiterweg,
 * der seine Unterstreichung behält. Der Selektor spiegelt deshalb den Theme-Selektor und hängt die
 * Kartenklasse an, statt mit `!important` zu arbeiten. */
.tm-page main .uk-panel .hs-portal-module a.hs-pk,
.tm-page main .uk-panel .hs-portal-module a.hs-pk:hover,
.tm-page main .uk-panel .hs-portal-module a.hs-pk:focus-visible { text-decoration: none; }
.tm-page main .uk-panel .hs-portal-module a.hs-pk .hs-pk-weg { text-decoration: underline; }
/* W-NACH (03.10.2026): dieselbe Regel für `/themen` ×3 — dort steht der Block in einem Joomla-Artikel (`.uk-article`, kein `.uk-panel`),
 * und die Artikel-Linkregel unterstrich die ganze Karte (Titel, Satz, Kennzahlen; Befund Live-Prüfung). Rückweg: diese drei Zeilen löschen. */
.tm-page .uk-article .hs-portal-module a.hs-pk, .tm-page .uk-article .hs-portal-module a.hs-pk:hover,
.tm-page .uk-article .hs-portal-module a.hs-pk:focus-visible { text-decoration: none; }
.tm-page .uk-article .hs-portal-module a.hs-pk .hs-pk-weg { text-decoration: underline; }
/* W-TH (03.10.2026): `/themen` ×3 — der Block steht im Artikel in `uk-container-small` (≈ 900 px); bei sieben Welten
 * wurden das vier enge Spalten, lange Titel trennten („Fahrradhaupt-stadt“, Inline-Regel `hs-pm-viele` mit `hyphens:auto`).
 * Hier (nur Artikel-Kontext, die Startseite `/` bleibt unberührt): das Raster tritt ab 1000 px aus der schmalen Spalte auf
 * die volle Containerbreite (≤ 1200 px), CSS-Raster `auto-fit` mit Mindestbreite 320 px (→ 3 / 2 / 1 Spalten, gleich hohe
 * Karten), Titel 1,5 rem ohne Silbentrennung. Rückweg: diesen Block löschen. */
.tm-page .uk-article .hs-portal-module.uk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  grid-auto-rows: 1fr; margin-left: 0; margin-top: 0; }
.tm-page .uk-article .hs-portal-module.uk-grid > * { width: auto; max-width: none; padding-left: 0; margin-top: 0; }
.tm-page .uk-article .hs-portal-module .hs-pk-h { font-size: 1.5rem; line-height: 1.25; hyphens: manual; -webkit-hyphens: manual; }
@media (min-width: 640px) { .tm-page .uk-article .hs-portal-module.uk-grid { gap: 30px; } }
@media (min-width: 1000px) {
  .tm-page .uk-article .hs-portal-module.uk-grid { --hs-th-w: min(1200px, calc(100vw - 100px));
    width: var(--hs-th-w); max-width: none; margin-left: calc(50% - var(--hs-th-w) / 2); }
}

/* Hintergrundbilder: Verlauf zuerst (oberste Ebene), darunter das Motiv. Desktop 1600 px, mobil 800 px. */
@media (min-width: 640px) {
  .hs-portal-module .hs-pk-vegan {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-vegan.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-vegan.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-vegan.jpg") type("image/jpeg")); }
  .hs-portal-module .hs-pk-gruen {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-gruen.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-gruen.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-gruen.jpg") type("image/jpeg")); }
  /* Karten „Empathisch" und „Startup" (07.11.2026, Zweig wochenende/kartenbilder): Markup `hs-pk hs-pk-engagiert hs-karte-empathisch` bzw.
   * `hs-pk hs-pk-startup hs-karte-startup` (HsKartenSeiten, Klasse aus erstem Bereich + Kartentoken). Selektor über das Kartentoken, Spezifität
   * 0,3,0 schlägt die Flächenregeln `.hs-pk-engagiert`/`.hs-pk-startup` (weiter unten) unabhängig von der Reihenfolge; deren Grundfarbe bleibt
   * Rückfall, die Weltkarte im Bestandsweg (ohne Kartentoken) bleibt Fläche.
   * Gleicher Verlauf (≥ 66 % Deckung) → weißer Text ≥ 5,9:1. Herkunft: build/redaktion/dach-themenwelten/README.md. Rückweg: diese Regeln löschen. */
  .hs-portal-module .hs-pk.hs-karte-empathisch {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-empathisch.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-empathisch.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-empathisch.jpg") type("image/jpeg")); }
  .hs-portal-module .hs-pk.hs-karte-startup {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-startup.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-startup.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-startup.jpg") type("image/jpeg")); }
}
@media (max-width: 639px) {
  /* Untereinander sind die Karten zwei **Zeilen** eines Flex-Rasters — `uk-grid-match` gleicht die Höhe aber
   * nur innerhalb einer Zeile an, die Grün-Karte wurde durch ihre längere Kennzahlenzeile höher. Für die
   * geforderte gleiche Gewichtung schaltet die Liste mobil auf ein CSS-Raster um: `grid-auto-rows: 1fr` gibt
   * beiden Karten die Höhe der größeren, ohne eine feste Höhe zu setzen (bei 200 % Zoom wächst sie mit). */
  .hs-portal-module.uk-grid { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr;
    gap: 20px; margin-left: 0; margin-top: 0; }
  .hs-portal-module.uk-grid > * { padding-left: 0; margin-top: 0; }
  .hs-portal-module .hs-pk { min-height: 270px; padding: 18px 20px; }
  .hs-portal-module .hs-pk-h { font-size: 1.5rem; }
  /* Mobil sollen h1, Lead und die erste Themenwelt zusammen ins Bild passen (Codex R-D-04). Zwei
   * aneinanderstoßende `padding: small`-Sektionen lassen dazwischen rund 90 px Leerraum stehen — hier
   * rücken die beiden Sektionen zusammen, ohne die Abstände der übrigen Seite anzufassen. */
  .hs-portal-frage.uk-section { padding-bottom: 10px; }
  .hs-portal-module.uk-section { padding-top: 10px; }
  .hs-portal-module .hs-pk-vegan {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-vegan-800.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-vegan-800.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-vegan-800.jpg") type("image/jpeg")); }
  .hs-portal-module .hs-pk-gruen {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-gruen-800.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-gruen-800.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-gruen-800.jpg") type("image/jpeg")); }
  .hs-portal-module .hs-pk.hs-karte-empathisch {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-empathisch-800.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-empathisch-800.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-empathisch-800.jpg") type("image/jpeg")); }
  .hs-portal-module .hs-pk.hs-karte-startup {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-startup-800.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-startup-800.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-startup-800.jpg") type("image/jpeg")); }
}
/* Sehr schmale Geräte (320 px) und 200 % Zoom: die Mindesthöhe darf den Text nie abschneiden — sie wächst
 * mit dem Inhalt, weil sie eine **Mindest**höhe ist; hier nur der Innenabstand kleiner. */
@media (max-width: 360px) { .hs-portal-module .hs-pk { padding: 16px 16px; min-height: 250px; } }

/* Hinweis unter den Karten: „Weitere Themenwelten sind in Vorbereitung." (Codex R-D-03 — Satz, keine
 * Platzhalterkarte). Zurückhaltend, aber kontraststark: #545e57 auf Weiß = 6,7:1. */
.hs-portal-weitere { margin: 0; font-size: .95rem; line-height: 1.5; color: #545e57; }

/* --- Dachstartseite: gemeinsamer Terminblock ({hs-start termine thema=beide}) ---
 * Der Themenchip steht am Ende jeder Zeile; er darf nie die einzige Unterscheidung durch Farbe sein
 * (er trägt immer den Text „Vegan" bzw. „Grün", Regel T-066/F68). */
.hs-portal-termine .hs-gt-liste .hs-termin-thema { margin-left: 0; }
.hs-portal-termine .hs-gt-rubriken { margin-bottom: 14px; }

/* --- Dachstartseite: Kartenabkürzung und Mitmachen (native Buttons, nur Touch-Ziel sichergestellt) --- */
.hs-portal-karte .uk-button, .hs-portal-mitmachen .uk-button { min-height: 44px; }

/* --- Kontrast des Meta-Textes in `muted`-Sektionen (Befund R50 aus T-068, behoben G6 14.09.2026) ---
 * `uk-text-meta` ist #5f6b64. Auf weißem Grund ist das in Ordnung, auf dem Sandton der `muted`-Sektionen
 * (#ece5d6) ergibt es **4.43** — knapp unter den geforderten 4.5, und axe meldet es als „serious".
 * Der Befund stand seit T-068 auf der Startseite und wanderte mit dem Umzug der Blöcke auf `/vegan` mit.
 * Eine Zeile behebt ihn überall (auch auf `/gruen`), ohne einen Text oder ein Layout anzufassen:
 * #545e57 auf #ece5d6 = 5.3. */
.uk-section-muted .uk-text-meta,
.uk-section-secondary .uk-text-meta { color: #545e57; }

/* ===================================================================================================
 * T-078 (15.09.2026) — Barrierefreiheits-Bestand, site-weit
 *
 * Grundlage: axe-core-Lauf über `/`, `/vegan/search`, `/gruen` und eine Ortsseite × DE/EN/ES auf der
 * Produktion (15.09.2026, `docs/qa/nachweise/t078/`). Gefunden: 60 Knoten „serious", dazu vier
 * „moderate"-Arten. Die Befunde stammen aus dem Bestand (G1-Nachweis 13.09.) und aus den beiden
 * Beobachtungen des T-075-Nachweises (15.09.). Alles hier ist **Darstellung** — kein Text, kein Layout,
 * keine Datenänderung.
 * ================================================================================================= */

/* --- 1) Fußzeilen-Credit: Kontrast ---------------------------------------------------------------
 * `plugins/system/rmcredit` hängt „powered by Reuther-Media" mit `opacity:.6` vor `</body>`. Auf dem
 * Seitengrund #f6f3ec ergibt das **4,26:1** (nötig 4,5) — zweimal je Seite, auf jeder Seite der Site.
 * Das Plugin läuft auf 18 Sites dieses Servers und ist **gemeinsame Software**; es wird deshalb hier
 * NICHT geändert (Regel „Wiederverwendbare Software zentral ablegen"), sondern site-lokal überschrieben.
 * `!important` ist nötig, weil das Plugin die Deckkraft als Inline-Stil setzt.
 * Gemessen: #545e57 auf #f6f3ec = 5,5:1 · #2F4F3F auf #f6f3ec = 8,3:1. */
.rm-credit { opacity: 1 !important; color: #545e57; }
.rm-credit a { color: #2F4F3F; text-decoration: underline; }

/* --- 2) Kennzahlenzeile der Modulwurzel ----------------------------------------------------------
 * Gegenstück zur Korrektur oben: außerhalb der Themenwelt-Karte bekommt die Zeile eine Farbe, die auf
 * dem hellen Grund trägt (#545e57 = 5,5:1; die Zahlen selbst dunkler, #1a1f1c = 15,5:1). */
.hs-gr-kennzahlen .hs-pk-zahlen { color: #545e57; }
.hs-gr-kennzahlen .hs-pk-zahl strong { color: #1a1f1c; }

/* --- 3) Links im Consent-Dialog unterstreichen ---------------------------------------------------
 * axe `link-in-text-block`: der Link auf die Datenschutzerklärung im Fließtext des Dialogs unterscheidet
 * sich nur durch die Farbe (2,58:1 gegen den Text). In EN/ES steht er im Absatz, in DE nicht — deshalb
 * fiel er nur dort auf. Eine Unterstreichung macht ihn unabhängig von Farbwahrnehmung erkennbar. */
.tm-consent a:not(.uk-button) { text-decoration: underline; }

/* V-F6-05 (19.09.2026, Worker F6-V): Der Satz oben deckt nur den **Banner** `.tm-consent` ab.
 * Über „Cookie-Einstellungen" in der Fußzeile öffnet sich aber ein **zweiter** Consent-Auftritt —
 * der Einstellungen-Dialog `.uk-modal-dialog`. Dort stand derselbe Datenschutzlink weiterhin ohne
 * Unterstreichung: axe meldet bei **390 px in DE, EN und ES** `link-in-text-block` (serious),
 * „insufficient color contrast of 2.58:1 with the surrounding text … no styling to distinguish it".
 * Bei 1440 px meldet axe denselben Knoten nur als „incomplete" — die Lücke war deshalb bisher
 * unsichtbar, weil die Bestandsmessungen auf Desktopbreite liefen.
 * Dieselbe Lösung wie beim Banner, kein Gestaltungswechsel: eine Unterstreichung, die unabhängig
 * von Farbwahrnehmung wirkt. Nachweis `docs/qa/nachweise/fahrrad/f6/f6-barrierefreiheit-bestand.md`. */
.uk-modal-dialog p a:not(.uk-button) { text-decoration: underline; }

/* --- 4) Consent-Dialog mobil ---------------------------------------------------------------------
 * Beobachtung aus dem T-075-Nachweis: Der Dialog (`.tm-consent`, Karte unten rechts, YOOtheme-Einstellung
 * `banner_layout = card-bottom-right`) nahm bei 320/390 px **37–46 %** der Bildschirmhöhe ein und lag über
 * dem Inhalt, bis er beantwortet war. Auf dem Telefon ist die Karte ohnehin über die volle Breite gezogen;
 * die Höhe ist das Problem. Deshalb: kompaktere Innenabstände und Schriftgrößen, Höhe gedeckelt und der
 * Rest scrollbar — und solange der Dialog steht, endet die Seite über ihm, sodass **kein Inhalt dauerhaft
 * unerreichbar** ist. Sobald er beantwortet ist, verschwindet der Zusatzabstand von selbst (`:has`). */
@media (max-width: 639px) {
  .tm-consent { padding: 0 !important; }
  .tm-consent .uk-card { padding: 16px 16px 14px; font-size: .875rem; line-height: 1.45;
    max-height: 40vh; overflow-y: auto; border-radius: 12px 12px 0 0; }
  .tm-consent .uk-card h2, .tm-consent .uk-card .uk-h2, .tm-consent .uk-card .uk-card-title { font-size: 1.05rem; }
  .tm-consent .uk-button { min-height: 44px; }
  /* Solange der Dialog steht, endet die Seite über ihm **und** über dem Schalter, der dann direkt
   * darüber sitzt (Punkt 5): Dialoghöhe + Abstand, dazu 48 px Schalter + 20 px Luft.
   * Ohne diesen Zuschlag lag der Schalter auf der Fußzeile (nachgemessen am Screenshot 320 px).
   * G-R (15.09.2026): px statt vh — die Dialoghöhe hängt an der **Breite** (Textumbruch), nicht an der
   * Fensterhöhe. Siehe Punkt 5a. */
  body:has(.tm-consent) .tm-page { padding-bottom: 368px; }
}
@media (min-width: 375px) and (max-width: 639px) {
  body:has(.tm-consent) .tm-page { padding-bottom: 384px; }
}

/* --- 5) Fixierter Barrierefreiheits-Schalter `.djacc` ---------------------------------------------
 * Zweite Beobachtung aus T-075: Der Schalter (48 × 48 px, 20 px Abstand) lag bei 320 px über der unteren
 * rechten Ecke der zweiten Themenwelt-Karte — also genau über dem sichtbaren Weiterweg. Die Seite endet
 * jetzt auf schmalen Geräten so weit über dem unteren Rand, dass der Schalter nie auf dem letzten Inhalt
 * liegt (48 + 2 × 20 px Abstand = 88 px, aufgerundet). Die Seitenkante wechselt zusätzlich über die native
 * Einstellung `djacc_align_mobile` (Migration 107) nach links, weg von der Aktionsecke der Karten.
 * Solange der Consent-Dialog steht, bringt Punkt 4 den zusätzlichen Abstand ohnehin mit. */
@media (max-width: 767px) {
  .tm-page { padding-bottom: 88px; }
}
/* --- 5a) Schalter und offener Consent-Dialog (G-R, 15.09.2026, Befund G-Q-13) ---------------------
 * Solange der Consent-Dialog offen ist, sitzt der Schalter **über** ihm statt auf seinen Schaltflächen
 * (T-078). Der dafür gesetzte Wert `46vh` war aber an die **Fensterhöhe** gekoppelt, die Dialoghöhe hängt
 * dagegen an der **Breite** (Textumbruch). Auf einem 390 × 844 px großen Telefon hob 46 vh den Schalter
 * 388 px hoch — mitten in den Seitenkopf: gemessen am 15.09.2026 lag er bei y 388…436 über der Überschrift
 * (y 369…406) und der ersten Zeile des Einleitungstextes (Screenshot `sammlung-en-390.png` aus G-Q).
 *
 * Gemessen (Produktion, 15.09.2026, Fensterhöhe 844 px, Dialoghöhe in px):
 *   320 px → 315 (DE) / 275 (EN)   ·   390 px → 295 / 275   ·   414 px → 275 / 255
 * Daraus zwei Bänder mit festem Abstand in px. Der Schalter steht damit dicht über der Dialogkante
 * (40…60 px Luft) statt frei in der Seitenmitte, und der Wert bleibt auf jedem Gerät derselbe.
 * Nachgemessen auf Staging (15.09.2026, /gruen/themen/balkon in DE/EN/ES, 844 px Fensterhöhe): Schalter
 * 320 px y 476…524 · 390 px y 460…508 · 414 px y 460…508; Dialogoberkante 549…589. In allen neun Fällen
 * liegt der Schalter unter der Überschrift (die spanische ist mit y 392…466 bei 320 px die längste) und
 * über dem Dialog.
 * Mehr ist von einer **fest eingeblendeten** Schaltfläche nicht zu haben: solange der Dialog steht, liegt
 * sie zwangsläufig über irgendeinem Stück Seite. Sie liegt jetzt über der Mitte des Fließtextes statt
 * über Überschrift und erster Zeile.
 * Die Seite endet passend darüber (Punkt 4: Wert + 48 px Schalter + 20 px Luft).
 * Rückweg: beide Regeln wieder auf `bottom: 46vh` bzw. `calc(46vh + 68px)`. */
@media (max-width: 639px) {
  body:has(.tm-consent) .djacc.djacc--sticky { bottom: 300px !important; }
}
@media (min-width: 375px) and (max-width: 639px) {
  body:has(.tm-consent) .djacc.djacc--sticky { bottom: 316px !important; }
}

/* ===================================================================
   F1 (15.09.2026) — Merkliste als Bedienelement + Themenübersicht /themen
   =================================================================== */

/* Merklisten-Bedienelement in `navbar` und `header-mobile` (Migration 116, Teil 7d).
   Der Zähler (`.hs-merk-n`) kommt aus hs-merkliste.js (T-063) und hängt sich an diesen Link.
   Beschriftung bleibt sichtbar — ein reines Icon ohne Namen ist ausgeschlossen (F-R01). */
.hs-merk-modul { display: inline-flex; align-items: center; }
.hs-merk-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
                color: inherit; text-decoration: none; font-size: .92rem; font-weight: 600; }
.hs-merk-link:hover { text-decoration: underline; }
.hs-merk-link:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
@media (max-width: 639px) { .hs-merk-link .hs-merk-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }

/* /themen — angekündigte Welten: Sätze ohne Karte, ohne Link, ohne Bild (Codex K-F0-01). */
.hs-themen-ankuendigung { margin: 16px 0 4px; }
.hs-themen-ankuendigung-ueber { font-weight: 600; margin-bottom: 6px; }
.hs-themen-ankuendigung ul { list-style: none; margin: 0; padding: 0; }
.hs-themen-ankuendigung li { padding: 3px 0; color: #5a5d57; }
.hs-themen-wege { list-style: none; margin: 0 0 12px; padding: 0; }
.hs-themen-wege li { padding: 5px 0; }
.hs-themen-wege a { min-height: 44px; display: inline-flex; align-items: center; }

/* ===================================================================== F6-K1 (19.09.2026)
 * Die **dritte** Themenkarte der Dachstartseite — und der Befund, der dazugehört.
 *
 * Vegan und Grün tragen ein Motiv (`themenwelt-vegan.*`, `themenwelt-gruen.*`) mit einem dunklen
 * Verlauf darüber. Für Fahrrad **gibt es kein Motiv**: kein Bild im Bestand, und ein Bild ist eine
 * redaktionelle Zulieferung mit Lizenzfrage — nichts, was eine Migration erfinden darf.
 *
 * Ohne Gegenmaßnahme wäre die dritte Karte die einzige **flache** Fläche neben zwei Fotos und damit
 * sichtbar der Nachzügler — genau das, was das Akzeptanzkriterium „keine Welt ist hervorgehoben"
 * ausschließt (auch negative Hervorhebung ist Hervorhebung). Bis das Motiv vorliegt, bekommt sie
 * deshalb **denselben Verlauf** über einer gestalteten Fläche: gleiche Tiefe, gleiche Farbfamilie,
 * gleiche Textfarben, gleiche Maße. Sie sieht dann **gewollt** aus statt unfertig.
 *
 * **Offen für Redaktion/Freigabe:** sobald `themenwelt-fahrrad.{webp,jpg}` und `themenwelt-fahrrad-800.{webp,jpg}`
 * in `images/hauptstadt/` liegen (gleiche Bauart und gleiches Budget wie die beiden anderen), genügt es,
 * `.hs-pk-fahrrad` in den beiden `image-set()`-Blöcken oben neben `.hs-pk-vegan` und `.hs-pk-gruen` zu
 * nennen — diese Übergangsregel wird dann von der spezifischeren Bildregel überschrieben und kann weg.
 * Kontrast: der Verlauf ist derselbe wie dort (≥ 66 % Deckung), weißer Text bleibt über 5,9:1. */
.hs-portal-module .hs-pk-fahrrad {
  background-color: #123B27;
  background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%),
    linear-gradient(135deg, #1E6B45 0%, #123B27 55%, #0A1811 100%); }
.hs-portal-module .hs-pk-fahrrad .hs-pk-h, .hs-portal-module .hs-pk-fahrrad .hs-pk-weg { color: #fff; }

/* W-NACH (03.10.2026): Dachkarten der Welten 5–8 — Bauart der Fahrrad-Karte (kein Motiv im Bestand: keine
 * rechtegeklärten, welt-eigenen Fotos ohne Personen; KI-Bilder ausgeschlossen), Fläche in der Akzentfarbe der Welt
 * (`--hs-gr-grund` → `--hs-gr-dunkel` der Tokenblöcke E1/KR1/GE1/W1) unter **demselben** Verlauf (≥ 66 % Deckung):
 * weißer Text bleibt über 5,9:1. Sobald ein Motiv vorliegt: wie bei Vegan/Grün in die `image-set()`-Blöcke aufnehmen.
 * Rückweg: diesen Block löschen (Karten fallen auf die Grundfarbe von `.hs-pk` zurück). */
.hs-portal-module .hs-pk-engagiert, .hs-portal-module .hs-pk-kreislauf,
.hs-portal-module .hs-pk-gesundheit, .hs-portal-module .hs-pk-wohnen,
.hs-portal-module .hs-pk-startup {
  background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%),
    linear-gradient(135deg, var(--hs-pk-a) 0%, var(--hs-pk-b) 55%, #0A1811 100%); }
.hs-portal-module .hs-pk-engagiert { --hs-pk-a: #8A2F55; --hs-pk-b: #5A1E3A; background-color: #5A1E3A; }
.hs-portal-module .hs-pk-kreislauf { --hs-pk-a: #8C4A1E; --hs-pk-b: #4E2A10; background-color: #4E2A10; }
.hs-portal-module .hs-pk-gesundheit { --hs-pk-a: #0F6A78; --hs-pk-b: #0B4650; background-color: #0B4650; }
.hs-portal-module .hs-pk-wohnen { --hs-pk-a: #2F5878; --hs-pk-b: #1F3A52; background-color: #1F3A52; }
/* S2 (07.11.2026): Dachkarte „Die Startup-Hauptstadt“ (Karte 4, erster Bereich `startup`) — Bernstein unter demselben Verlauf; Weiß ≥ 7:1. */
.hs-portal-module .hs-pk-startup { --hs-pk-a: #9A6212; --hs-pk-b: #5C3A0A; background-color: #5C3A0A; }

/* Kartenabkürzung (`{hs-start karte-kurz}`): die drei Fahrrad-Ebenen stehen eingerückt unter „Fahrrad",
 * damit die dritte Welt nicht breiter wirkt als die beiden anderen (F6-R §5.1). Die Grundgestaltung
 * steht im Plugin (CSS inline, weil das SobiPro-Template-CSS auf der Startseite nicht lädt); hier nur,
 * was zum Seitenraster gehört. */
.hs-kk-welt { width: 100%; }
@media (min-width: 640px) { .hs-kk-welt { width: auto; } }

/* --- KR1 (02.10.2026): Farbtokens „Die Reparaturhauptstadt" (Modul 6) ---
 * Bauart wie Fahrrad/Engagiert: nur Tokens. `.hs-bar-kreislauf` färbt die lokale Leiste, `.hs-thema-kreislauf` die Blöcke
 * der Modulstartseite. Greift nur, wo diese Klassen vorkommen (Menütyp `kreislaufmenu`, Migration 603a) —
 * auf Produktion vor KR6 wirkungslos. Kontrast: #4E2A10 auf #F7EDE4 ≈ 11:1 · #FFFFFF auf #8C4A1E ≈ 6,7:1.
 * Rückweg: diesen Block löschen. */
.hs-gr-bar.hs-bar-kreislauf,
.hs-thema-kreislauf {
  --hs-gr-dunkel:  #4E2A10;   /* Überschriften, Pillen-Text        */
  --hs-gr-grund:   #8C4A1E;   /* Kupfer der Reparaturhauptstadt    */
  --hs-gr-hell:    #F7EDE4;   /* Flächen, aktive Pille             */
  --hs-gr-rand:    #E6CDB8;   /* Rahmen                            */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker          */
  --hs-gr-text:    #2B1F17;
  --hs-gr-gedimmt: #65564B;
}
.hs-kr-regeln > li { margin-bottom: 6px; }

/* --- GE1 (02.10.2026): Farbtokens „Die gesunde Hauptstadt" (Modul 7) + Hilfeleiste „Akute Hilfe" ---
 * Tokens wie Fahrrad/Engagiert/Kreislauf: `.hs-bar-gesundheit` färbt die lokale Leiste, `.hs-thema-gesundheit` die Blöcke der
 * Modulstartseite. Greift nur, wo diese Klassen vorkommen (Menütyp `gesundheitmenu`, Migration 703) — auf Produktion vor GE6 wirkungslos.
 * Hilfeleiste (SPEC §2): schmal, neutral-dunkel und damit optisch von allen Freizeitblöcken getrennt; keine Weltfarbe.
 * Kontrast: #0B4650 auf #E5F2F3 ≈ 8,8:1 · #FFFFFF auf #0F6A78 ≈ 6,2:1 · #FFFFFF auf #1F2A30 ≈ 14:1. Rückweg: diesen Block löschen. */
.hs-gr-bar.hs-bar-gesundheit,
.hs-thema-gesundheit {
  --hs-gr-dunkel:  #0B4650;   /* Überschriften, Pillen-Text        */
  --hs-gr-grund:   #0F6A78;   /* Petrol der gesunden Welt          */
  --hs-gr-hell:    #E5F2F3;   /* Flächen, aktive Pille             */
  --hs-gr-rand:    #BFDDE1;   /* Rahmen                            */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker          */
  --hs-gr-text:    #1B2E33;
  --hs-gr-gedimmt: #4F6469;
}
.hs-ge-hilfeleiste { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin: 0 0 12px;
  padding: 8px 14px; background: #1F2A30; color: #FFFFFF; border-radius: 6px; font-size: 0.95rem; line-height: 1.4; }
.hs-ge-hilfeleiste a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 2px; }
.hs-ge-hilfeleiste a:hover, .hs-ge-hilfeleiste a:focus { color: #FFFFFF; text-decoration-thickness: 2px; }
.hs-ge-hilfeleiste-link { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.hs-ge-hilfe-eintrag { margin: 0 0 20px; padding: 12px 0 0; border-top: 1px solid #D5DDE0; }
.hs-ge-hilfe .hs-ge-nummer { font-size: 1.35rem; font-weight: 700; margin: 4px 0 6px; }

/* --- Wochenende Kultur (06.11.2026): Farbtokens „Die Kulturhauptstadt" (Welt 10, Karte 5) + Kalenderausgabe des Plugins hskultur ---
 * Tokens wie W1/GE1: `.hs-bar-kultur` färbt die lokale Leiste (Menütyp `kulturmenu`, 403a), `.hs-thema-kultur` die Blöcke der Startseite,
 * `.hs-ku` die Plugin-Ausgabe ({hs-kultur …}). Greift nur, wo diese Klassen vorkommen — vor dem Start (499z) wirkungslos.
 * Kontrast (WCAG): #33285C auf #F1EEFA 11,5:1 · #FFFFFF auf #5B4A9E 7,2:1 · #221C33 auf #FFFFFF 16,4:1 · #57506B auf #FFFFFF 7,6:1 /
 * auf #F1EEFA 6,6:1 · #5B4A9E auf #FFFFFF 7,2:1 · #B45309 auf #FFFFFF 5,0:1 (nur Marker). Tippziele ≥ 44 px. Rückweg: diesen Block löschen. */
.hs-gr-bar.hs-bar-kultur,
.hs-thema-kultur,
.hs-ku {
  --hs-gr-dunkel:  #33285C;   /* Überschriften, Pillen-Text   */
  --hs-gr-grund:   #5B4A9E;   /* Violett der Karte Kultur     */
  --hs-gr-hell:    #F1EEFA;   /* Flächen, aktive Pille        */
  --hs-gr-rand:    #D5CDEE;   /* Rahmen                       */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker     */
  --hs-gr-text:    #221C33;
  --hs-gr-gedimmt: #57506B;
}
.hs-ku { color: var(--hs-gr-text); }
.hs-ku-intro { font-size: 1.05rem; line-height: 1.5; margin: 0 0 12px; }
/* Zeitraum-Leiste: waagerecht scrollbar statt Umbruch, aktive Wahl hell hinterlegt */
.hs-ku-leiste { margin: 0 0 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hs-ku-leiste ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 2px 0 6px; }
.hs-ku-leiste li { flex: 0 0 auto; }
.hs-ku-leiste a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--hs-gr-rand);
  border-radius: 22px; color: var(--hs-gr-dunkel); background: #FFFFFF; text-decoration: none; white-space: nowrap; font-weight: 600; }
.hs-ku-leiste a:hover, .hs-ku-leiste a:focus-visible { border-color: var(--hs-gr-grund); }
.hs-ku-leiste a.hs-ku-aktiv { background: var(--hs-gr-hell); border-color: var(--hs-gr-grund); }
/* Filter: Felder umbrechen, auf dem Handy volle Breite */
.hs-ku-filter { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 12px; padding: 10px 12px;
  background: var(--hs-gr-hell); border-radius: 6px; }
.hs-ku-filter label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hs-ku-filter select { min-height: 40px; max-width: 100%; padding: 0 8px; border: 1px solid var(--hs-gr-rand); border-radius: 4px; background: #FFFFFF; color: var(--hs-gr-text); }
.hs-ku-filter input[type="checkbox"] { width: 20px; height: 20px; margin: 0; }
.hs-ku-filter .uk-button { min-height: 44px; }
@media (max-width: 639px) {
  .hs-ku-filter > label:not(.hs-ku-check) { flex: 1 1 100%; justify-content: space-between; }
  .hs-ku-filter select { flex: 1 1 auto; }
}
.hs-ku-treffer { font-weight: 600; margin: 0 0 8px; }
.hs-ku-luecke, .hs-ku-hinweis, .hs-ku-leer { margin: 0 0 14px; padding: 10px 14px; background: #FFFFFF; border-left: 4px solid var(--hs-gr-grund);
  border-radius: 4px; font-size: 0.95rem; line-height: 1.45; color: var(--hs-gr-text); }
.hs-ku-reset, .hs-ku-lockern { display: inline-flex; align-items: center; min-height: 44px; }
/* Tagesliste: kompakte Zeilen, Uhrzeit links */
.hs-ku-tag { margin: 0 0 18px; }
.hs-ku-tag-h, .hs-ku-block-h { font-size: 1.2rem; margin: 14px 0 6px; color: var(--hs-gr-dunkel); }
.hs-ku-liste { list-style: none; margin: 0; padding: 0; }
.hs-ku-zeile { display: grid; grid-template-columns: 5.2rem 1fr; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--hs-gr-rand); }
.hs-ku-zeile > .hs-ku-zeit { grid-column: 1; grid-row: 1 / span 3; font-weight: 700; color: var(--hs-gr-dunkel); font-variant-numeric: tabular-nums; }
.hs-ku-zeile > .hs-ku-sparte, .hs-ku-zeile > .hs-ku-kern, .hs-ku-zeile > .hs-ku-quelle { grid-column: 2; }
.hs-ku-zeile.hs-ku-lauf, .hs-ku-ortliste .hs-ku-zeile { grid-template-columns: 1fr; }
.hs-ku-zeile.hs-ku-lauf > *, .hs-ku-ortliste .hs-ku-zeile > * { grid-column: 1; grid-row: auto; }
/* Kinoprogramm (11.11.2026): je Film eine Zeile, Kinos mit Beginnzeiten darunter; Beschreibung und Filmbild auf der Detailseite */
.hs-ku-zeile.hs-ku-film, .hs-ku-zeile.hs-ku-filmkino { grid-template-columns: 1fr; }
.hs-ku-zeile.hs-ku-film > *, .hs-ku-zeile.hs-ku-filmkino > * { grid-column: 1; grid-row: auto; }
.hs-ku-film .hs-ku-titel { flex-basis: 100%; }
.hs-ku-film-kino { flex-basis: 100%; font-variant-numeric: tabular-nums; line-height: 2; }
.hs-ku-film-kino a { display: inline-block; padding: 0 4px; min-width: 44px; text-align: center; }
.hs-ku-d-text { overflow: hidden; }
.hs-ku-d-bild { float: right; width: 220px; max-width: 40%; height: auto; margin: 0 0 12px 18px; border-radius: 6px; }
@media (max-width: 640px) { .hs-ku-d-bild { float: none; display: block; width: 200px; max-width: 70%; margin: 0 0 12px; } }
.hs-ku-sparte { font-size: 0.85rem; color: var(--hs-gr-gedimmt); text-transform: none; }
.hs-ku-kern { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; }
.hs-ku-titel { font-weight: 700; color: var(--hs-gr-dunkel); text-decoration: underline; text-underline-offset: 2px; flex: 1 1 100%; }
.hs-ku-titel:hover, .hs-ku-titel:focus-visible { color: var(--hs-gr-grund); }
.hs-ku-ort, .hs-ku-oeffnung, .hs-ku-preis, .hs-ku-preis-zusatz { font-size: 0.92rem; color: var(--hs-gr-text); }
.hs-ku-chip { display: inline-block; padding: 1px 8px; border: 1px solid var(--hs-gr-rand); border-radius: 10px; background: var(--hs-gr-hell);
  font-size: 0.82rem; color: var(--hs-gr-dunkel); }
.hs-ku-quelle { font-size: 0.8rem; color: var(--hs-gr-gedimmt); }
.hs-ku-mehr { margin: 8px 0 0; }
.hs-ku-mehr > summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; font-weight: 600; color: var(--hs-gr-dunkel); }
/* T-118 (18.11.2026): „Laufende Ausstellungen (N)“ über den Tagen des Programms — ein Kasten mit Pfeil, weil er auf der Ausstellungsseite
 * der Weg zum Hauptinhalt ist (die übrigen Klappblöcke stehen innerhalb eines Tages). */
.hs-ku-laufend { margin: 12px 0; border: 1px solid var(--hs-gr-rand); border-radius: 8px; background: #fff; }
.hs-ku-laufend > summary { justify-content: space-between; gap: 12px; min-height: 48px; padding: 6px 16px; background: var(--hs-gr-hell); border-radius: 8px; list-style: none; }
.hs-ku-laufend > summary::-webkit-details-marker { display: none; }
.hs-ku-laufend > summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.hs-ku-laufend[open] > summary { border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--hs-gr-rand); }
.hs-ku-laufend[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.hs-ku-laufend > .hs-ku-liste { padding: 0 16px; }
.hs-ku-laufend > .hs-ku-liste > li:first-child { border-top: 0; }
@media (max-width: 479px) {
  .hs-ku-zeile { grid-template-columns: 4.2rem 1fr; gap: 2px 8px; }
}
/* Startseiten-Kacheln (Sparten, Orte) */
.hs-ku-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; list-style: none; margin: 0 0 12px; padding: 0; }
.hs-ku-kacheln a { display: flex; flex-direction: column; justify-content: center; min-height: 72px; padding: 10px 12px; border: 1px solid var(--hs-gr-rand);
  border-radius: 6px; background: #FFFFFF; color: var(--hs-gr-dunkel); text-decoration: none; }
.hs-ku-kacheln a:hover, .hs-ku-kacheln a:focus-visible { border-color: var(--hs-gr-grund); background: var(--hs-gr-hell); }
.hs-ku-k-zahl { font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.hs-ku-k-name { font-size: 0.92rem; }
.hs-ku-zahl { font-weight: 700; }
.hs-ku-weiter, .hs-ku .hs-gr-weiter { margin: 8px 0 0; }
.hs-ku .uk-table-responsive td { word-break: break-word; }
/* Gliederung in Bereiche (15.11.2026): Reiter = Bereichsleiste über der Zeitleiste; Türen = Einstieg der Startseite (erst wann, dann was).
 * Der Reiter heißt `.hs-ku-reiter` — `.hs-ku-bereiche` ist die Klasse der Builder-Sektion der Startseite (Migration 412); der gleiche Name nahm
 * den Türen Rahmen und Hintergrund (Befund Staging 15.11.). */
.hs-ku-reiter { margin: 0 0 10px; border-bottom: 1px solid var(--hs-gr-rand); }
.hs-ku-reiter ul { gap: 2px; padding: 0; }
.hs-ku-reiter a { padding: 0 12px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; background: none; }
.hs-ku-reiter a:hover, .hs-ku-reiter a:focus-visible { border-bottom-color: var(--hs-gr-rand); }
.hs-ku-reiter a.hs-ku-aktiv { background: none; border-bottom-color: var(--hs-gr-grund); color: var(--hs-gr-grund); }
/* Handy: alle sechs Bereiche sichtbar (3 × 2) statt einer Leiste, die zwei davon hinter dem Rand versteckt */
@media (max-width: 639px) {
  .hs-ku-reiter { overflow: visible; border-bottom: 0; }
  .hs-ku-reiter ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hs-ku-reiter li { min-width: 0; }
  .hs-ku-reiter a { display: flex; justify-content: center; box-sizing: border-box; width: 100%; padding: 2px; border: 1px solid var(--hs-gr-rand); border-radius: 8px;
    background: #FFFFFF; font-size: 0.85rem; line-height: 1.15; text-align: center; white-space: normal; overflow-wrap: anywhere; }
  .hs-ku-reiter a:hover, .hs-ku-reiter a:focus-visible { border-color: var(--hs-gr-grund); }
  .hs-ku-reiter a.hs-ku-aktiv { background: var(--hs-gr-grund); border-color: var(--hs-gr-grund); color: #FFFFFF; }
  .hs-ku-r-lang { display: none; }
}
/* Zeitwahl der Startseite: vier Möglichkeiten, alle sichtbar (Umbruch statt Rollen) */
#hs-ku-wann { overflow: visible; margin-bottom: 14px; }
#hs-ku-wann ul { flex-wrap: wrap; }
.hs-ku-tueren { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 12px; padding: 0; }
@media (max-width: 959px) { .hs-ku-tueren { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 339px) { .hs-ku-tueren { grid-template-columns: 1fr; } }
.hs-ku-tuer { display: flex; flex-direction: column; gap: 2px; height: 100%; min-height: 128px; box-sizing: border-box; padding: 14px 16px;
  border: 1px solid var(--hs-gr-rand); border-top: 4px solid var(--hs-gr-grund); border-radius: 8px; background: #FFFFFF; color: var(--hs-gr-text); }
.hs-ku-tuer:hover, .hs-ku-tuer:focus-visible { background: var(--hs-gr-hell); border-color: var(--hs-gr-grund); color: var(--hs-gr-text); }
/* Die ganze Kachel ist ein Link: unterstrichen bleibt nur der Name (Muster der Portalkarten, T-075) — der Selektor spiegelt den
 * Theme-Grundsatz „Links im Textblock unterstreichen“ und hängt die Kachelklasse an, statt mit !important zu arbeiten. */
.tm-page main .uk-panel .hs-ku a.hs-ku-tuer, .tm-page main .uk-panel .hs-ku a.hs-ku-tuer:hover, .tm-page main .uk-panel .hs-ku a.hs-ku-tuer:focus-visible,
.tm-page .uk-article .hs-ku a.hs-ku-tuer, .tm-page .uk-article .hs-ku a.hs-ku-tuer:hover, .tm-page .uk-article .hs-ku a.hs-ku-tuer:focus-visible { text-decoration: none; }
.tm-page main .uk-panel .hs-ku a.hs-ku-tuer .hs-ku-t-name, .tm-page .uk-article .hs-ku a.hs-ku-tuer .hs-ku-t-name { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hs-ku-t-name { font-size: 1.25rem; font-weight: 700; line-height: 1.2; color: var(--hs-gr-dunkel); overflow-wrap: anywhere; }
.hs-ku-t-unter { font-size: 0.88rem; line-height: 1.3; color: var(--hs-gr-gedimmt); }
.hs-ku-t-zahl { margin-top: auto; padding-top: 8px; font-size: 0.95rem; }
.hs-ku-t-zahl strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; color: var(--hs-gr-dunkel); }
.hs-ku-t-woche { font-size: 0.82rem; color: var(--hs-gr-gedimmt); }
.hs-ku-t-leer { margin-top: auto; padding-top: 8px; }
@media (max-width: 479px) { .hs-ku-tuer { min-height: 116px; padding: 12px; } .hs-ku-t-name { font-size: 1.1rem; } .hs-ku-t-unter { font-size: 0.82rem; } }
/* Bereichsseite: Trefferzeile und Filter in einer Zeile; aufgeklappt nimmt der Filter die volle Breite darunter */
.hs-ku-kopfzeile { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; margin: 0 0 6px; }
.hs-ku-kopfzeile .hs-ku-treffer { flex: 1 1 0; min-width: 0; margin: 0; }
.hs-ku-filterbox { flex: 0 0 auto; margin: 0; }
.hs-ku-filterbox[open] { flex: 1 0 100%; }
.hs-ku-filterbox > summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1px solid var(--hs-gr-rand); border-radius: 22px;
  background: #FFFFFF; cursor: pointer; font-weight: 600; color: var(--hs-gr-dunkel); list-style: none; }
.hs-ku-filterbox > summary::-webkit-details-marker { display: none; }
.hs-ku-filterbox > summary::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.hs-ku-filterbox[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.hs-ku-filterbox > summary:hover, .hs-ku-filterbox > summary:focus-visible { border-color: var(--hs-gr-grund); }
.hs-ku-filterbox .hs-ku-filter { margin: 8px 0 0; }
.hs-ku-nacht { margin: 0 0 8px; }
.hs-ku-fuss { margin: 16px 0 0; font-size: 0.95rem; }
.hs-ku-fuss a { display: inline-flex; align-items: center; min-height: 44px; }
/* Mit Gliederung: Überschrift dicht unter der Kultur-Navigation, damit die Liste auf dem ersten Bildschirm beginnt (ohne :has bleibt der alte Abstand) */
/* Suchergebnis- und Filmseite (Suche Stufe 1) ebenso dicht, sonst stehen dort ~140 px Leerraum über der Überschrift */
main.tm-main:has(.hs-ku-gl), main.tm-main:has(.hs-ku-suche), main.tm-main:has(.hs-ku-filmseite),
main.tm-main:has(.hs-ku-az), main.tm-main:has(.hs-ku-kinos) { padding-top: 16px; }
.uk-article:has(.hs-ku-gl) .uk-article-title, .uk-article:has(.hs-ku-suche) .uk-article-title, .uk-article:has(.hs-ku-filmseite) .uk-article-title,
.uk-article:has(.hs-ku-az) .uk-article-title, .uk-article:has(.hs-ku-kinos) .uk-article-title { margin-top: 0 !important; }
.uk-article:has(.hs-ku-gl) .uk-margin-medium-top, .uk-article:has(.hs-ku-suche) .uk-margin-medium-top, .uk-article:has(.hs-ku-filmseite) .uk-margin-medium-top,
.uk-article:has(.hs-ku-az) .uk-margin-medium-top, .uk-article:has(.hs-ku-kinos) .uk-margin-medium-top { margin-top: 14px !important; }
/* Dachkarte Kultur (Startseite, /themen): Bauart der Karten Engagiert/Empathisch (W-NACH) — kein rechtegeklärtes, welt-eigenes Motiv im Bestand,
 * KI-Bilder ausgeschlossen; Fläche Violett (--hs-gr-grund → --hs-gr-dunkel) unter demselben Verlauf (≥ 66 % Deckung): Weiß bleibt über 5,9:1.
 * Akzentleiste oben kommt aus `.hs-karte-kultur` (custom.less N1-d). Sobald ein Motiv vorliegt: wie Vegan/Grün in die image-set()-Blöcke. */
.hs-portal-module .hs-pk-kultur { --hs-pk-a: #5B4A9E; --hs-pk-b: #33285C; background-color: #33285C;
  background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%),
    linear-gradient(135deg, var(--hs-pk-a) 0%, var(--hs-pk-b) 55%, #0A1811 100%); }
.hs-portal-module .hs-pk-kultur .hs-pk-h, .hs-portal-module .hs-pk-kultur .hs-pk-weg { color: #fff; }
/* Kultur: Schaltflächen mit langer Beschriftung („Alle Termine der nächsten 30 Tage“) brechen mobil um — ohne die feste Zeilenhöhe des Themes
 * (40 px je Zeile) bleiben sie kompakt; Ziel mindestens 44 px hoch (Befund staging4 06.11.). */
.hs-ku .uk-button { height: auto; min-height: 44px; line-height: 1.35; padding-top: 10px; padding-bottom: 10px; white-space: normal; }
/* Fertigstellung Kultur (Strang B, 08.11.2026): Detailseiten, Merk-Knopf, Abdeckung, Sprungmarken/Gruppen der Kulturorte, Karte, Nähe. */
.hs-ku-zeile > .hs-ku-merk-zeile { grid-column: 2; justify-self: start; }
.hs-ku-merk-zeile { min-width: 44px; min-height: 44px; margin: 2px 0 0; padding: 0 10px; border: 1px solid var(--hs-gr-rand); border-radius: 4px; background: #FFFFFF; color: var(--hs-gr-dunkel); cursor: pointer; }
.hs-ku-merk[aria-pressed="true"], .hs-ku-merk-an { background: var(--hs-gr-grund); color: #FFFFFF; border-color: var(--hs-gr-grund); }
.hs-ku-abdeckung { margin: 0 0 14px; padding: 10px 14px; background: #FFFFFF; border-left: 4px solid var(--hs-gr-dunkel); border-radius: 4px; font-size: 0.95rem; line-height: 1.45; }
.hs-ku-abdeckung a, .hs-ku-luecke a, .hs-ku-gemerkt-link a { display: inline-block; min-height: 24px; }
.hs-ku-d-sparte { margin: 0 0 6px; font-weight: 600; color: var(--hs-gr-dunkel); }
.hs-ku-d-kopf { display: grid; grid-template-columns: max-content 1fr; gap: 4px 14px; margin: 0 0 14px; }
.hs-ku-d-kopf dt { font-weight: 700; } .hs-ku-d-kopf dd { margin: 0; }
.hs-ku-d-h { font-size: 1.15rem; margin: 18px 0 6px; color: var(--hs-gr-dunkel); }
.hs-ku-d-liste { margin: 0 0 8px; padding-left: 1.2rem; }
.hs-ku-d-aktionen { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hs-ku-status { margin: 0 0 12px; padding: 10px 14px; border-left: 4px solid #B3261E; background: #FFFFFF; border-radius: 4px; font-weight: 600; }
.hs-ku-verschoben { border-left-color: #8A5A00; }
.hs-ku-sprung ul { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 0 0 10px; padding: 0; }
.hs-ku-sprung a { display: inline-flex; align-items: center; min-height: 44px; }
.hs-ku-ortliste li.hs-ku-ueber { display: none; }
.hs-ku-naehe-an .hs-ku-ortliste li.hs-ku-ueber, .hs-ku-ortliste li.hs-ku-ueber:target { display: grid; }
.hs-ku-ortliste li[hidden], .hs-ku-ortgruppe[hidden] { display: none !important; }
.hs-ku-ortliste .hs-ku-zeile { grid-template-columns: 1fr; }
.hs-ku-web { white-space: nowrap; }
.hs-ku-alle-art a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.hs-ku-karte { height: 420px; margin: 0 0 14px; border-radius: 4px; z-index: 0; }
@media (max-width: 639px) { .hs-ku-karte { height: 300px; } }
.hs-ku-naehe { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 12px; }
.hs-ku-naehe select { min-height: 40px; }
/* Suche Stufe 1 (16.11.2026): Suchfeld mit Vorschlägen (hs-suche.js, Combobox), Ergebnisseite /kultur/suche, Filmseite „Wo läuft …?“.
 * Farben aus den Tokens der Welt (.hs-ku); Klassen `hs-suche-*` sind weltneutral (Stufe 2: andere Welten setzen ihre Tokens am Container).
 * Handy zuerst: Feld und Knopf teilen sich die Zeile, die Liste liegt über dem Inhalt, Zeilen ≥ 44 px. Rückweg: diesen Abschnitt löschen. */
.hs-suche { position: relative; margin: 0 0 14px; }
.hs-suche-label { display: block; margin: 0 0 4px; font-weight: 700; color: var(--hs-gr-dunkel, #222); }
.hs-suche-zeile { display: flex; gap: 8px; align-items: stretch; }
.hs-suche-feldwrap { position: relative; flex: 1 1 auto; min-width: 0; }
.hs-suche-feld { box-sizing: border-box; width: 100%; min-height: 48px; padding: 0 12px; border: 2px solid var(--hs-gr-gedimmt, #666); border-radius: 6px;   /* Rahmen ≥ 3:1 zur Fläche (WCAG 1.4.11; vorher --hs-gr-rand 1,4:1) */
  background: #FFFFFF; color: var(--hs-gr-text, #222); font-size: 1rem; }
.hs-suche-feld:focus { outline: 3px solid var(--hs-gr-grund, #555); outline-offset: 1px; border-color: var(--hs-gr-grund, #555); }
.hs-suche .hs-suche-los { flex: 0 0 auto; min-height: 48px; height: auto; padding: 0 16px; line-height: 1.2; }
.hs-suche-status { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.hs-suche-liste { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50; max-height: min(70vh, 520px); overflow-y: auto;
  background: #FFFFFF; border: 1px solid var(--hs-gr-rand, #ccc); border-radius: 6px; box-shadow: 0 8px 24px rgba(0, 0, 0, .16); }
/* Handy: Liste über die ganze Zeile (Feld + Knopf, Knopfbreite je Sprache verschieden) */
@media (max-width: 639px) { .hs-suche-zeile { position: relative; } .hs-suche-feldwrap { position: static; } }
.hs-suche-liste[hidden] { display: none; }
/* Offene Vorschlagsliste: nichts Fremdes darüber (16.11.2026). Der fest unten sitzende Barrierefreiheits-Knopf (Plugin djaccessibility,
 * `.djacc--sticky`, z-index 99999) lag am Handy (390 px) über Einträgen der Liste. hs-suche.js setzt <html class="hs-suche-offen">, solange
 * eine Liste offen ist; so lange ist der Knopf ausgeblendet, beim Schließen ist er wieder da. Rückweg: diese Regel löschen. */
html.hs-suche-offen .djacc.djacc--sticky { visibility: hidden !important; pointer-events: none !important; }
.hs-suche-gk { padding: 8px 12px 2px; font-size: 0.78rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--hs-gr-gedimmt, #555); }
.hs-suche-o { display: flex; flex-direction: column; justify-content: center; min-height: 44px; padding: 6px 12px; color: var(--hs-gr-text, #222); text-decoration: none; }
/* !important: `.tm-page main .uk-panel a:not(.uk-button)…` (Zeile ~32, Spezifität 0,4,2) unterstrich sonst jede Vorschlagszeile */
.hs-suche-liste a.hs-suche-o, .hs-suche-liste a.hs-suche-o:hover { text-decoration: none !important; }
.hs-suche-o:hover, .hs-suche-o.hs-suche-aktiv { background: var(--hs-gr-hell, #eee); }
.hs-suche-ot { font-weight: 700; color: var(--hs-gr-dunkel, #222); overflow-wrap: anywhere; }
.hs-suche-oi { font-size: 0.85rem; color: var(--hs-gr-gedimmt, #555); overflow-wrap: anywhere; }
.hs-suche-alle { border-top: 1px solid var(--hs-gr-rand, #ccc); font-weight: 600; color: var(--hs-gr-grund, #333); }
/* Ergebnisseite */
.hs-suche-filter { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 12px; padding: 10px 12px; background: var(--hs-gr-hell, #eee); border-radius: 6px; }
.hs-suche-filter label { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.hs-suche-filter select { min-height: 44px; max-width: 100%; padding: 0 8px; border: 1px solid var(--hs-gr-gedimmt, #666); border-radius: 4px; background: #FFFFFF; font-size: 1rem; color: var(--hs-gr-text, #222); }
.hs-suche-filter input[type="checkbox"] { width: 20px; height: 20px; margin: 0; }
.hs-suche-filter .uk-button { min-height: 44px; height: auto; line-height: 1.3; }
@media (max-width: 639px) { .hs-suche-filter > label:not(.hs-suche-check) { flex: 1 1 100%; display: grid; grid-template-columns: 5rem minmax(0, 1fr); } .hs-suche-filter select { width: 100%; } }
/* Suche Stufe 2d (16.11.2026, Browserprüfung: Filterzeile bei 390 px 272 px hoch): die Zeile steht in <details class="hs-suche-klapp"> — am Handy
 * eingeklappt („Filter“, mit gewähltem Filter offen), ab 640 px offen und ohne die Zeile „Filter“ wie vorher (::details-content; ältere Browser:
 * hs-suche.js öffnet die Box, dann fällt die Zeile weg). Ohne Skript und ohne ::details-content bleibt am Desktop die Zeile „Filter“ zum Aufklappen. */
.hs-suche-klapp { margin: 0 0 12px; }
.hs-suche-klapp > .hs-suche-filter { margin: 0; border-radius: 0 0 6px 6px; padding-top: 4px; }
.hs-suche-klapp-k { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; background: var(--hs-gr-hell, #eee); border-radius: 6px;
  font-weight: 700; color: var(--hs-gr-dunkel, #222); cursor: pointer; list-style: none; }
.hs-suche-klapp-k::-webkit-details-marker { display: none; }
.hs-suche-klapp-k::before { content: ''; flex: 0 0 auto; width: 0; height: 0; border-left: 7px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent;
  transition: transform .15s; }
.hs-suche-klapp[open] > .hs-suche-klapp-k { border-radius: 6px 6px 0 0; }
.hs-suche-klapp[open] > .hs-suche-klapp-k::before { transform: rotate(90deg); }
.hs-suche-klapp-k:focus-visible { outline: 3px solid var(--hs-gr-grund, #555); outline-offset: 2px; }
.hs-suche-klapp-n { font-weight: 400; color: var(--hs-gr-gedimmt, #555); }
@media (min-width: 640px) {
  .hs-suche-klapp[open] > .hs-suche-klapp-k { display: none; }
  .hs-suche-klapp[open] > .hs-suche-filter { border-radius: 6px; padding-top: 10px; }
}
@supports selector(::details-content) {
  @media (min-width: 640px) {
    .hs-suche-klapp::details-content { content-visibility: visible; }
    .hs-suche-klapp > .hs-suche-klapp-k { display: none; }
    .hs-suche-klapp > .hs-suche-filter { border-radius: 6px; padding-top: 10px; }
  }
}
.hs-suche-zahl { font-weight: 600; margin: 0 0 8px; }
.hs-suche-hinweis, .hs-suche-aehnlich { margin: 0 0 12px; padding: 10px 14px; background: #FFFFFF; border-left: 4px solid var(--hs-gr-grund, #555); border-radius: 4px; }
.hs-suche-aehnlich a { display: inline-flex; align-items: center; min-height: 44px; }
/* Suche Stufe 3 (17.11.2026): Verweis „wörtlich suchen“ in der Zeile „Verstanden“ — portalweit sonst nur farbig, in der Kultursuche unterstrichen */
.hs-suche-verstanden a, .hs-suche-stattdessen a { text-decoration: underline; text-underline-offset: 2px; }
.hs-suche-gruppe { margin: 0 0 18px; }
.hs-suche-h { font-size: 1.2rem; margin: 14px 0 6px; color: var(--hs-gr-dunkel, #222); }
.hs-suche-h3 { font-size: 1rem; margin: 10px 0 4px; color: var(--hs-gr-dunkel, #222); }
.hs-suche-n { font-weight: 400; color: var(--hs-gr-gedimmt, #555); }
.hs-suche-liste-e { list-style: none; margin: 0; padding: 0; }
.hs-suche-treffer { display: flex; flex-direction: column; gap: 2px; padding: 10px 0; border-top: 1px solid var(--hs-gr-rand, #ccc); }
.hs-suche-t { font-weight: 700; color: var(--hs-gr-dunkel, #222); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.hs-suche-info { font-size: 0.92rem; overflow-wrap: anywhere; }
.hs-suche-quelle { font-size: 0.8rem; color: var(--hs-gr-gedimmt, #555); }
.hs-suche-bester .hs-suche-treffer { padding: 12px 14px; border: 1px solid var(--hs-gr-grund, #555); border-radius: 6px; background: var(--hs-gr-hell, #eee); }
.hs-suche-weiter a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
/* Suche Stufe 2c (16.11.2026): portalweite Ergebnisseite /suche ×3 (HsSuchePortal) und Vorschläge in der Lupe des Seitenkopfs — beides nur mit
 * Schalter `portalweit` des Plugins hssuche. Farben neutral (Grün der Marke); Kontraste auf Weiß: #1F2933 15:1 · #1E6B45 6,6:1 · #4B5563 7,6:1
 * (Feldrahmen ≥ 3:1). Rückweg: diesen Abschnitt löschen. */
.hs-suche-portal, .hs-suche-kopf {
  --hs-gr-dunkel: #1F2933; --hs-gr-grund: #1E6B45; --hs-gr-hell: #EEF3F0; --hs-gr-rand: #C9D3CD; --hs-gr-gedimmt: #4B5563; --hs-gr-text: #1F2933;
}
.hs-suche-portal { max-width: 860px; color: var(--hs-gr-text); }
.hs-suche-portal .hs-suche-titel { margin: 0 0 12px; font-size: 1.75rem; line-height: 1.2; color: var(--hs-gr-dunkel); overflow-wrap: anywhere; }
.hs-suche-bereich { font-size: 0.75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--hs-gr-gedimmt); }
.hs-suche-fuss a, .hs-suche-zurueck a { display: inline-flex; align-items: center; min-height: 44px; }
.hs-suche-portal .hs-suche-treffer a.hs-suche-t { padding: 2px 0; }
/* Lupe: Liste unter dem Feld, über dem Inhalt; Tippflächen wie im Kulturkalender, Schrift nicht kleiner als im Feld der Seite */
.hs-suche-kopf .hs-suche-liste { top: calc(100% + 2px); text-align: left; font-size: 1rem; line-height: 1.35; z-index: 1030; }
.hs-suche-kopf .hs-suche-o { white-space: normal; }
/* heller Kopf über dunklem Bild (.uk-light): Links würden weiß — in der weißen Liste bleiben die Farben der Liste */
.hs-suche-kopf .hs-suche-liste a.hs-suche-o { color: var(--hs-gr-text) !important; }
.hs-suche-kopf .hs-suche-liste .hs-suche-ot { color: var(--hs-gr-dunkel) !important; }
.hs-suche-kopf .hs-suche-liste .hs-suche-oi, .hs-suche-kopf .hs-suche-liste .hs-suche-gk { color: var(--hs-gr-gedimmt) !important; }
.hs-suche-kopf .hs-suche-liste a.hs-suche-alle { color: var(--hs-gr-grund) !important; }
@media (max-width: 639px) { .hs-suche-portal .hs-suche-titel { font-size: 1.4rem; } }
/* Browserprüfung 16.11.2026: In der Lupe war die Liste auf 520 px (Desktop) bzw. 60vh (Handy) begrenzt, „Alle Treffer für …“ lag darunter
 * verborgen. Jetzt mehr Höhe (hs-suche.js begrenzt weiter auf den sichtbaren Rest) und „Alle Treffer“ klebt am unteren Rand der Liste
 * (Infozeilen bleiben ungekürzt: der nächste Termin steht oft am Ende). „Anzeigen“ der Filterzeile in 16 px wie die Felder. */
.hs-suche-kopf .hs-suche-liste { max-height: min(78vh, 760px); }
.hs-suche-kopf .hs-suche-liste .hs-suche-alle, .hs-suche-portal .hs-suche-liste .hs-suche-alle { position: sticky; bottom: 0; z-index: 1; background: #FFFFFF; }
.hs-suche-kopf .hs-suche-liste .hs-suche-alle.hs-suche-aktiv, .hs-suche-portal .hs-suche-liste .hs-suche-alle.hs-suche-aktiv,
.hs-suche-kopf .hs-suche-liste .hs-suche-alle:hover, .hs-suche-portal .hs-suche-liste .hs-suche-alle:hover { background: var(--hs-gr-hell); }.hs-suche-portal .hs-suche-filter .uk-button { font-size: 1rem; }
/* Filmseite und Kinoprogramm: Fassung hinter der Uhrzeit, Kinozeile mit Website */
.hs-ku-fassung { font-size: 0.78rem; font-weight: 600; color: var(--hs-gr-gedimmt); }
.hs-ku-film-kurz { font-weight: 600; margin: 0 0 6px; }
.hs-ku-film-naechste { margin: 0 0 6px; }
.hs-ku-filmkino .hs-ku-titel { flex: 1 1 auto; }
.hs-ku-filmkino .hs-ku-film-kino { flex-basis: 100%; font-variant-numeric: tabular-nums; line-height: 2; }
.hs-ku-filmkino .hs-ku-film-kino a { display: inline-block; padding: 0 4px; min-width: 44px; text-align: center; }
.hs-ku-filmkino .hs-ku-web { display: inline-flex; align-items: center; min-height: 44px; }
.hs-ku-legende { margin: 12px 0 0; }

/* Stufe 1b (16.11.2026): „Filme A–Z“ und „Kinos nach Bezirk“ — das Programm zum Blättern. Dichte Zeilen, keine Kacheln, keine Bilder.
 * Handy zuerst: nichts hat eine feste Breite, lange Titel brechen um, jede Sprungmarke ist 44 px hoch. */
.hs-ku-wege { margin: 0 0 10px; }
.hs-ku-wege a { font-weight: 700; }
.hs-ku-az-leiste { overflow-x: visible; }
.hs-ku-az-leiste ul { flex-wrap: wrap; gap: 4px; }
.hs-ku-az-leiste a, .hs-ku-az-leiste .hs-ku-az-leer { display: inline-flex; align-items: center; justify-content: center; min-width: 44px;
  min-height: 44px; padding: 0 8px; border: 1px solid var(--hs-gr-rand); border-radius: 22px; font-weight: 600; }
.hs-ku-az-leiste a { background: #FFFFFF; color: var(--hs-gr-dunkel); text-decoration: none; }
.hs-ku-az-leer { color: var(--hs-gr-gedimmt); border-color: transparent; background: none; }
.hs-ku-az-zeitraum { margin: 0 0 8px; }
.hs-ku-az-hinweis { margin: 0 0 12px; }
.hs-ku-az-gruppe { margin: 0 0 14px; scroll-margin-top: 12px; }
.hs-ku-az-zeile .hs-ku-titel { flex: 1 1 100%; overflow-wrap: anywhere; }
.hs-ku-az-zeile .hs-ku-film-kino { flex-basis: auto; line-height: 1.5; }
/* Kinos nach Bezirk: je Haus eine Zeile, darunter sein Tagesprogramm */
.hs-ku-bezirk { margin: 0 0 18px; scroll-margin-top: 12px; }
.hs-ku-kinoliste .hs-ku-zeile { grid-template-columns: 1fr; }
.hs-ku-kinoliste .hs-ku-zeile > * { grid-column: 1; grid-row: auto; }
.hs-ku-kinoliste .hs-ku-titel { flex: 1 1 100%; overflow-wrap: anywhere; }
.hs-ku-kino-prog { list-style: none; margin: 4px 0 0; padding: 0; }
.hs-ku-kino-film { display: flex; flex-wrap: wrap; gap: 2px 10px; align-items: baseline; padding: 2px 0; }
.hs-ku-k-titel { font-weight: 600; color: var(--hs-gr-dunkel); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.hs-ku-k-titel:hover, .hs-ku-k-titel:focus-visible { color: var(--hs-gr-grund); }
.hs-ku-kino-film .hs-ku-film-kino { font-variant-numeric: tabular-nums; line-height: 2; }
.hs-ku-kino-naechste { font-size: 0.92rem; color: var(--hs-gr-gedimmt); }
.hs-ku-kino-ohne .hs-ku-titel { font-weight: 600; }

/* --- W1 (02.10.2026): Farbtokens „Die gebaute Hauptstadt" (Modul 8) + fester Grenzhinweis ---
 * Tokens wie Fahrrad/Engagiert/Kreislauf/Gesundheit: `.hs-bar-wohnen` färbt die lokale Leiste, `.hs-thema-wohnen` die Blöcke der
 * Modulstartseite. Greift nur, wo diese Klassen vorkommen (Menütyp `wohnenmenu`, Migration 803a) — auf Produktion vor W6 wirkungslos.
 * Grenzhinweis (SPEC §7.1 B2) neutral, oben, nicht im Fuß. Kontrast: #1F3A52 auf #EAF0F5 ≈ 10:1 · #FFFFFF auf #2F5878 ≈ 7,5:1 ·
 * #2A3440 auf #F3F5F7 ≈ 11,5:1. Rückweg: diesen Block löschen. */
.hs-gr-bar.hs-bar-wohnen,
.hs-thema-wohnen {
  --hs-gr-dunkel:  #1F3A52;   /* Überschriften, Pillen-Text        */
  --hs-gr-grund:   #2F5878;   /* Schieferblau der gebauten Welt    */
  --hs-gr-hell:    #EAF0F5;   /* Flächen, aktive Pille             */
  --hs-gr-rand:    #C5D3E0;   /* Rahmen                            */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker          */
  --hs-gr-text:    #1C2731;
  --hs-gr-gedimmt: #4F5F6E;
}
.hs-wo-grenze { margin: 0 0 16px; padding: 10px 14px; background: #F3F5F7; color: #2A3440; border-left: 4px solid #2F5878;
  border-radius: 4px; font-size: 0.95rem; line-height: 1.45; }
.hs-wo-foerderliste .hs-wo-karte h3 { margin-top: 0; }
.hs-wo-foerderliste .hs-wo-status { font-weight: 600; }

/* --- S2 (07.11.2026): Farbtokens „Die Startup-Hauptstadt" (Welt 9, Karte 4) + fester Grenzhinweis ---
 * Tokens wie Wohnen/Gesundheit: `.hs-bar-startup` färbt die lokale Leiste, `.hs-thema-startup` die Blöcke der Modulstartseite.
 * Greift nur, wo diese Klassen vorkommen (Menütyp `startupmenu`, Migration 903a) — auf Produktion vor dem Start wirkungslos.
 * Bernstein aus dem Kartentoken (@hs-karte-startup #F2A93B nur als Leiste, Text immer dunkel). Kontrast: #5C3A0A auf #FBF3E6 ≈ 9:1 ·
 * #FFFFFF auf #7A4E0E ≈ 7,2:1 · #3A3128 auf #F6F3EE ≈ 11,5:1. Rückweg: diesen Block löschen. */
.hs-gr-bar.hs-bar-startup,
.hs-thema-startup {
  --hs-gr-dunkel:  #5C3A0A;   /* Überschriften, Pillen-Text        */
  --hs-gr-grund:   #7A4E0E;   /* Bernstein der Startup-Welt        */
  --hs-gr-hell:    #FBF3E6;   /* Flächen, aktive Pille             */
  --hs-gr-rand:    #EBD3A8;   /* Rahmen                            */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker          */
  --hs-gr-text:    #2B2117;
  --hs-gr-gedimmt: #65584A;
}
.hs-su-grenze { margin: 0 0 16px; padding: 10px 14px; background: #F6F3EE; color: #3A3128; border-left: 4px solid #7A4E0E;
  border-radius: 4px; font-size: 0.95rem; line-height: 1.45; }
/* --- K1 (07.11.2026, Wochenende Kinder): Farbtokens „Die Kinderhauptstadt" (Modul 4) ---
 * Tokens wie Gesundheit/Wohnen: `.hs-bar-kinder` färbt die lokale Leiste, `.hs-thema-kinder` die Blöcke der Modulstartseite.
 * Greift nur, wo diese Klassen vorkommen (Menütyp `kindermenu`, Migration 303a) — auf Produktion vor dem Kinder-Start wirkungslos.
 * Warmes Ocker, keine Kinderbilder. Kontrast (WCAG, gerechnet): #5C4708 auf #FDF6DC 8,2:1 · #FFFFFF auf #7A5C06 6,3:1 · #2B2410 auf #FFFFFF 15,4:1 · #6B5005 auf #FFFFFF 7,6:1.
 * Listen/Karten selbst stylt das Plugin hskinder (eigene Klassen hs-ki-*). Rückweg: diesen Block löschen. */
.hs-gr-bar.hs-bar-kinder,
.hs-thema-kinder {
  --hs-gr-dunkel:  #5C4708;   /* Überschriften, Pillen-Text        */
  --hs-gr-grund:   #7A5C06;   /* Ocker der Kinderwelt              */
  --hs-gr-hell:    #FDF6DC;   /* Flächen, aktive Pille             */
  --hs-gr-rand:    #E3D6A8;   /* Rahmen                            */
  --hs-gr-akzent:  #B45309;   /* Signalakzent, nur Marker          */
  --hs-gr-text:    #2B2410;
  --hs-gr-gedimmt: #5E5236;
}
.hs-ki-grenze { margin: 12px 0; padding: 10px 14px; background: #FDF6DC; color: #3D3008; border-left: 4px solid #7A5C06;
  border-radius: 4px; font-size: 0.95rem; line-height: 1.45; }
.hs-ki-schutz { padding: 10px 14px; border: 1px solid #E3D6A8; border-radius: 4px; }
/* K-Start (07.11.2026): Dachkarte „Die Kinderhauptstadt“ auf `/` und `/themen` ×3 (HsKartenSeiten::module(), Klasse `hs-pk-kinder` = erster Bereich) —
 * Bauart der Welten 5–8 (W-NACH 03.10.): kein Motiv (keine rechtegeklärten Fotos ohne Personen, keine KI-Bilder), Fläche im Ocker der Welt unter
 * **demselben** Verlauf (≥ 66 % Deckung, weißer Text ≥ 5,9:1 wie bei allen Karten). Seit 07.11. liegt das Motiv im Block „Dachkarten Kultur und Kinder
 * mit Motiv“ darunter (Spezifität 0,3,0); diese Fläche bleibt Rückfall, falls das Bild nicht lädt.
 * Rückweg: diese Regel löschen (Karte fällt auf die Grundfarbe von `.hs-pk` zurück). */
.hs-portal-module .hs-pk-kinder { background-color: #5C4708;
  background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%),
    linear-gradient(135deg, #7A5C06 0%, #5C4708 55%, #0A1811 100%); }

/* Dachkarten „Kultur“ und „Kinder“ mit Motiv (07.11.2026): Block aus build/redaktion/dach-themenwelten/css-neue-karten.css. Wirkt erst, wenn die
 * Karte im Markup steht (Kartentoken hs-karte-<schlüssel>). Spezifität 0,3,0, Flächen `.hs-pk-kultur|kinder` bleiben Rückfall. Rückweg: Block löschen. */
@media (min-width: 640px) {
  .hs-portal-module .hs-pk.hs-karte-kinder {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-kinder.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-kinder.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-kinder.jpg") type("image/jpeg")); }
  .hs-portal-module .hs-pk.hs-karte-kultur {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-kultur.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-kultur.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-kultur.jpg") type("image/jpeg")); }
}
@media (max-width: 639px) {
  .hs-portal-module .hs-pk.hs-karte-kinder {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-kinder-800.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-kinder-800.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-kinder-800.jpg") type("image/jpeg")); }
  .hs-portal-module .hs-pk.hs-karte-kultur {
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), url("/images/hauptstadt/themenwelt-kultur-800.jpg");
    background-image: linear-gradient(180deg, rgba(10, 24, 17, .66) 0%, rgba(10, 24, 17, .72) 45%, rgba(10, 24, 17, .9) 100%), image-set(url("/images/hauptstadt/themenwelt-kultur-800.webp") type("image/webp"), url("/images/hauptstadt/themenwelt-kultur-800.jpg") type("image/jpeg")); }
}


/* Ratgeber-Tabellen (07.11.2026, ADR-0011 Darstellung, Entscheidung Hauptsitzung): Inhaltstabellen der Ratgeber stehen in `.uk-overflow-auto`
 * (Fahrrad: `.hs-fr-tabelle`). Lange Komposita, Versalköpfe und ausgeschriebene URLs machten sie breiter als ihren Rahmen; die Hülle scrollte,
 * zu sehen war nur der Rand (Kopf „AMTLICHE QUELLE“ bei 390 px angeschnitten, Quellentabellen auch bei 1440 px zu breit).
 * (1) Alle Breiten: URL-Linktexte dürfen überall umbrechen (nur in `.uk-overflow-auto`; die Fahrrad-Tabellen tragen benannte Links).
 * (2) Unter 960 px: Tabellen mit der Klasse `hs-tab-stapel` (setzt plugins/content/hsstart/HsTabellenStapel.php beim Ausgeben, nur mit
 *     <thead>) zeigen jede Zeile als Block, jede Zelle mit ihrer Spaltenüberschrift (`data-label`) als kleiner Beschriftung davor. Der
 *     Tabellenkopf bleibt im Code (Screenreader), ist aber nicht zu sehen. Tabellen ohne die Klasse bleiben, wie sie sind.
 *     Grenze 960 statt 640 px (Messung 07.11.): bei 640 px quetschte der URL-Umbruch die URL-Spalte der 6-spaltigen Quellentabellen
 *     auf drei Zeichen Breite und die Tabellen liefen trotzdem über; ab 960 px passen alle Ratgeber-Tabellen als Tabelle.
 * Rückweg: diesen Block löschen (und den Aufruf in hsstart.php); die Tabellen scrollen dann wieder in ihrer Hülle. */
.uk-article .uk-overflow-auto > .uk-table td a { overflow-wrap: anywhere; }
@media (max-width: 959px) {
  .uk-article table.hs-tab-stapel,
  .uk-article table.hs-tab-stapel > tbody,
  .uk-article table.hs-tab-stapel > tbody > tr,
  .uk-article table.hs-tab-stapel > tbody > tr > :is(td, th) { display: block; width: auto; min-width: 0; }
  .uk-article table.hs-tab-stapel > thead { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .uk-article table.hs-tab-stapel > tbody > tr { padding: 10px 0; }
  .uk-article table.hs-tab-stapel > tbody > tr > :is(td, th) { padding: 3px 0; overflow-wrap: break-word; }
  .uk-article table.hs-tab-stapel > tbody > tr > [data-label]::before { content: attr(data-label); display: block; font-size: .75rem;
    line-height: 1.4; letter-spacing: .02em; text-transform: uppercase; color: #5f6b64; }
}

/* SEO-Technik 16.11.2026 (Sitzung statistiken): Layoutverschiebung am Handy (Lighthouse mobil CLS 0.201 am 15.11.). Die Leiste
 * „Mein Kiez“ (.hs-mk, Stil inline aus plugins/system/hsnaehe) passte bei 412 px Breite mit Ersatzschrift und noch ohne Ortssymbol
 * in eine Zeile; sobald die Schrift Inter und das Symbol da waren (391 statt 388 px), brachen die Links in eine zweite Zeile und
 * schoben die ganze Seite um 22 px nach unten. Unter 640 px stehen die Links jetzt immer in der zweiten Zeile (wie schon bisher
 * auf den meisten Handys nach dem Laden), und das Symbol hat von Anfang an seinen Platz. Rückweg: diesen Block löschen. */
.hs-mk .hs-mk-ort [uk-icon] { display: inline-block; width: 16px; height: 16px; vertical-align: middle; }
@media (max-width: 639px) {
  .hs-mk .hs-mk-links { flex-basis: 100%; }
}

/* =====================================================================
   MN — Kopfmenü: Aufklapper am Rechner, Menü am Handy (16.11.2026, Sitzung WSL/akarion;
   Bitte Akarion „auch bitte das flyout menü schön machen, das sieht grauenhaft aus“).

   Daten aus Migration 968-MN-kopfmenue: Link-Klassen `hs-mn hs-mn-<thema>` an den sechs Themen ×3 Sprachen (Haupt- und
   Handymenü), `hs-mn-alle` an „Themen“ im Handymenü, Kurztexte (`uk-nav-subtitle`), `navbar.dropbar` = false (schwebende
   Karten statt bildschirmbreiter Leiste), Themen-Karte so breit wie die Leiste (`dropdown.stretch` = navbar).
   Rechner: „Themen“ = Karte mit sechs Spalten — Farbleiste je Thema wie an den Dachkarten (custom.less @hs-karte-*), Titel,
   Kurztext, bei Grün und Empathisch die Unterbereiche; „Termine“ = kleine Karte mit Kurztext und Kartensymbol.
   Handy: „Themen“ als Abschnittszeile (führt zur Übersicht), die sechs Themen als Kacheln in zwei Spalten — mit Unterbereichen
   über die ganze Breite, Unterbereiche als Knöpfe —, dritte Ebene ausgeblendet (steht als Bereichsnavigation oben auf jeder
   Themenseite), darunter die übrigen Punkte als Liste. Der Barrierefreiheits-Knopf verdeckt bei offenem Menü nichts mehr.
   Rückweg: diesen Block löschen; die Daten nimmt Migration 968 mit --zurueck zurück (siehe dort).
   ===================================================================== */

/* Themenfarben (= Akzent der Dachkarten) und eine zarte Fläche derselben Farbe für die Knöpfe am Handy */
li:has(> a.hs-mn-kultur)     { --hs-mn: #9B8AD6; --hs-mn-zart: #EFECF8; }
li:has(> a.hs-mn-vegan)      { --hs-mn: #8CC63F; --hs-mn-zart: #EEF6E3; }
li:has(> a.hs-mn-gruen)      { --hs-mn: #3FA16A; --hs-mn-zart: #E6F3EB; }
li:has(> a.hs-mn-empathisch) { --hs-mn: #E07A9A; --hs-mn-zart: #FAEAF0; }
li:has(> a.hs-mn-startup)    { --hs-mn: #F2A93B; --hs-mn-zart: #FCF1E0; }
li:has(> a.hs-mn-kinder)     { --hs-mn: #F5C842; --hs-mn-zart: #FCF5DC; }

/* --- MN-1 Rechner: Themen-Karte, sechs Spalten -------------------------- */
.uk-navbar-dropdown:has(a.hs-mn) { padding: 26px 32px 30px; }
.uk-navbar-dropdown:has(a.hs-mn) .uk-navbar-dropdown-nav {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); column-gap: 28px; align-items: start; }
.uk-navbar-dropdown-nav > li:has(> a.hs-mn) { position: relative; padding-top: 16px; }
.uk-navbar-dropdown-nav > li:has(> a.hs-mn)::before { content: ""; position: absolute; top: 0; left: 0;
  width: 40px; height: 4px; border-radius: 2px; background: var(--hs-mn); transition: width .15s ease-out; }
.uk-navbar-dropdown-nav > li:has(> a.hs-mn:hover)::before,
.uk-navbar-dropdown-nav > li:has(> a.hs-mn:focus-visible)::before { width: 72px; }
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li > a.hs-mn { display: block; padding: 0; font-size: 17px; font-weight: 600;
  line-height: 1.3; color: #0F3D2A; }
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li > a.hs-mn:hover,
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li.uk-active > a.hs-mn { color: #1E6B45; }
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li > a.hs-mn .uk-nav-subtitle { margin-top: 5px; font-size: 14px; font-weight: 400;
  line-height: 1.45; color: #5F6B64; }
/* Unterbereiche (Grün, Empathisch): unter einer feinen Linie, gleiche Schriftfarbe wie die Titel statt Grau */
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li:has(> a.hs-mn) > .uk-nav-sub { margin: 12px 0 0; padding: 8px 0 0;
  border-top: 1px solid #ECE5D6; }
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li:has(> a.hs-mn) > .uk-nav-sub > li > a { display: block; padding: 4px 0;
  font-size: 15px; font-weight: 500; line-height: 1.35; color: #0F3D2A; }
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li:has(> a.hs-mn) > .uk-nav-sub > li > a:hover { color: #1E6B45;
  text-decoration: underline; text-underline-offset: 3px; }
.uk-navbar-dropdown .uk-navbar-dropdown-nav > li:has(> a.hs-mn) > .uk-nav-sub > li.uk-active > a { color: #1E6B45; }
@media (prefers-reduced-motion: reduce) { .uk-navbar-dropdown-nav > li:has(> a.hs-mn)::before { transition: none; } }

/* --- MN-2 Rechner: kleine Karte (Termine → Veranstaltungs-Karte) -------- */
.uk-navbar-dropdown:not(:has(a.hs-mn)) { width: auto; min-width: 250px; max-width: 340px; padding: 12px; }
.uk-navbar-dropdown:not(:has(a.hs-mn)) .uk-navbar-dropdown-nav > li > a { padding: 9px 10px; border-radius: 10px;
  font-weight: 600; color: #0F3D2A; }
.uk-navbar-dropdown:not(:has(a.hs-mn)) .uk-navbar-dropdown-nav > li > a:hover,
.uk-navbar-dropdown:not(:has(a.hs-mn)) .uk-navbar-dropdown-nav > li > a:focus-visible { background: #F6F3EC; color: #1E6B45; }
.uk-navbar-dropdown:not(:has(a.hs-mn)) .uk-nav-subtitle { margin-top: 2px; font-size: 13.5px; font-weight: 400; line-height: 1.4;
  color: #5F6B64; }
.uk-navbar-dropdown:not(:has(a.hs-mn)) .uk-navbar-dropdown-nav [uk-icon] { color: #1E6B45; }

/* --- MN-3 Handy: Menü in der Ausklappfläche ------------------------------ */
#tm-dialog-mobile .uk-nav-default { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; }
#tm-dialog-mobile .uk-nav-default > li { grid-column: 1 / -1; }
/* Abschnittszeile „Themen“ (Link zur Übersichtsseite) */
#tm-dialog-mobile .uk-nav-default > li > a.hs-mn-alle { display: inline-flex; align-items: center; min-height: 32px; padding: 0 0 6px;
  font-size: 13px; font-weight: 700; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: #1E6B45; }
#tm-dialog-mobile .uk-nav-default > li > a.hs-mn-alle::after { content: "→"; content: "→" / ""; margin-left: 6px; letter-spacing: 0; }
/* Themen als Kacheln: ohne Unterbereiche halbe Breite, mit Unterbereichen ganze Breite */
#tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn) { margin-bottom: 8px; background: #fff; border: 1px solid #E2DACB;
  border-radius: 12px; box-shadow: inset 4px 0 0 var(--hs-mn); }
#tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn):not(:has(> .uk-nav-sub)) { grid-column: auto; }
#tm-dialog-mobile .uk-nav-default > li > a.hs-mn { display: flex; align-items: center; min-height: 48px; padding: 10px 12px 10px 18px;
  font-size: 16px; font-weight: 600; line-height: 1.25; color: #0F3D2A; }
#tm-dialog-mobile .uk-nav-default > li.uk-active > a.hs-mn { color: #1E6B45; }
#tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn) > .uk-nav-sub { display: flex; flex-wrap: wrap; gap: 6px; margin: 0;
  padding: 0 12px 12px 18px; }
#tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn) > .uk-nav-sub > li > a { display: inline-flex; align-items: center;
  min-height: 34px; padding: 6px 12px; border-radius: 999px; background: var(--hs-mn-zart); font-size: 14px; font-weight: 500;
  line-height: 1.2; color: #0F3D2A; }
#tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn) > .uk-nav-sub > li.uk-active > a { box-shadow: inset 0 0 0 2px var(--hs-mn); }
/* Dritte Ebene (Stadtgrün, Fahrrad → …) nicht im Menü: steht als Bereichsnavigation oben auf der jeweiligen Seite */
#tm-dialog-mobile .uk-nav-sub ul { display: none; }
/* Übrige Punkte als Liste mit feinen Trennlinien; der erste nach den Themen setzt mit Abstand ab */
#tm-dialog-mobile .uk-nav-default > li:not(:has(> a.hs-mn)):not(:has(> a.hs-mn-alle)) { border-bottom: 1px solid #E8E1D3; }
#tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn) + li:not(:has(> a.hs-mn)) { margin-top: 6px; border-top: 1px solid #E8E1D3; }
#tm-dialog-mobile .uk-nav-default > li:not(:has(> a.hs-mn)):not(:has(> a.hs-mn-alle)) > a { display: flex; align-items: center;
  min-height: 46px; padding: 0 2px; font-size: 16px; font-weight: 600; line-height: 1.3; color: #0F3D2A; }
#tm-dialog-mobile .uk-nav-default > li.uk-active:not(:has(> a.hs-mn)) > a { color: #1E6B45; }
/* Punkte mit Unterpunkt (Termine → Veranstaltungs-Karte, Anmelden → Registrieren): Unterpunkt als Knopf in derselben Zeile */
#tm-dialog-mobile .uk-nav-default > li.uk-parent:not(:has(> a.hs-mn)) { display: flex; flex-wrap: wrap; align-items: center;
  column-gap: 12px; }
#tm-dialog-mobile .uk-nav-default > li.uk-parent:not(:has(> a.hs-mn)) > .uk-nav-sub { display: flex; flex-wrap: wrap; gap: 6px;
  margin: 0; padding: 6px 0; }
#tm-dialog-mobile .uk-nav-default > li.uk-parent:not(:has(> a.hs-mn)) > .uk-nav-sub > li > a { display: inline-flex; align-items: center;
  min-height: 32px; padding: 5px 12px; border: 1px solid #E2DACB; border-radius: 999px; background: #fff; font-size: 14px;
  font-weight: 500; line-height: 1.2; color: #0F3D2A; }
/* Tablet (640–1199 px zeigt dasselbe Menü wie das Handy): alle Themen als Kacheln zu zweit nebeneinander (je Reihe gleich hoch),
   übrige Punkte in zwei Spalten mit Linie oben. Drei Spalten (geprüft bei 1024 px) dehnten Kultur/Vegan auf die Höhe von Grün. */
@media (min-width: 640px) {
  #tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn) { grid-column: auto; }
  #tm-dialog-mobile .uk-nav-default > li:not(:has(> a.hs-mn)):not(:has(> a.hs-mn-alle)) { grid-column: auto; border-bottom: 0;
    border-top: 1px solid #E8E1D3; }
  #tm-dialog-mobile .uk-nav-default > li:has(> a.hs-mn) + li:not(:has(> a.hs-mn)) { margin-top: 0; }
}
/* Barrierefreiheits-Knopf (fest unten links) lag über den Einträgen: bei offenem Menü ausblenden, wie bei offener Suche */
body:has(#tm-dialog-mobile.uk-open) .djacc.djacc--sticky { visibility: hidden !important; pointer-events: none !important; }

/* ===== Block „TK“ — Themenknöpfe auf der Startseite (17.11.2026, Karte 1972) ==========================================
   Ulrich 17.11.2026: „oben kleine Buttons für die Hauptthemen … Kino, Theater, Oper, vegane Restaurants … wo man dann direkt
   auf die Suche kommt“. Die Zeile setzt Migration 969 (Text-Element `hs-themenknoepfe`, letztes Element der Kopf-Sektion
   hs-portal-frage ×3 Sprachen); jeder Knopf führt auf /suche?q=<Begriff>&thema=1. Farben wie die Schnelleinstiegs-Chips (/gruen).
   Rechner/Tablet: Beschriftung über den Knöpfen (bei 1366 px passen alle elf in eine Reihe), Knöpfe umbrechend; Handy (< 640 px):
   Beschriftung und Knöpfe in einer waagerecht wischbaren Reihe, damit h1, Lead und die erste Themenkarte weiter zusammen ins Bild
   passen (Codex R-D-04). Abstand oben an der nav, weil das Element uk-margin-remove-top trägt (!important). Unterstreichung mit
   !important: `.tm-page main .uk-panel a:not(.uk-button)…` (oben in dieser Datei) unterstreicht jeden Verweis im Inhalt. */
.hs-tk { margin-top: 16px; }
.hs-tk-label { display: block; margin-bottom: 8px; font-size: .875rem; font-weight: 600; color: #2C3A31; }
.hs-tk .hs-tk-liste { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hs-tk .hs-tk-liste > li { margin: 0; padding: 0; }
.hs-tk a.hs-tk-chip, .hs-tk a.hs-tk-chip:visited { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px;
  box-sizing: border-box; border: 1px solid #C9D8C4; border-radius: 999px; background: #fff; color: #14432B; font-size: .9rem;
  font-weight: 600; line-height: 1.2; text-decoration: none !important; white-space: nowrap; }
.hs-tk a.hs-tk-chip:hover, .hs-tk a.hs-tk-chip:focus { border-color: #1E6B45; background: #E8F0E5; color: #14432B; }
.hs-tk a.hs-tk-chip:focus-visible { outline: 3px solid #1E6B45; outline-offset: 2px; }
/* Tagesprogramm (Migration 971): die zwei Knöpfe „Heute in Berlin“ und „Morgen“ stehen vorn und sind gefüllt (Weiß auf #1E6B45: 6,6:1) */
.hs-tk a.hs-tk-chip.hs-tk-chip--tag, .hs-tk a.hs-tk-chip.hs-tk-chip--tag:visited { border-color: #1E6B45; background: #1E6B45; color: #FFFFFF; font-weight: 600; }
.hs-tk a.hs-tk-chip.hs-tk-chip--tag:hover, .hs-tk a.hs-tk-chip.hs-tk-chip--tag:focus { border-color: #14432B; background: #14432B; color: #FFFFFF; }
@media (max-width: 639px) {
  .hs-tk { display: flex; align-items: center; gap: 8px 10px; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-top: 12px; padding: 3px 32px 4px 3px; margin-left: -3px; margin-right: -3px;
    /* rechter Rand blendet aus: zeigt immer, dass die Reihe weitergeht (sonst endete sie je nach Sprache genau an einem Knopf);
       32 px Innenabstand rechts, damit der letzte Knopf ganz aus der Ausblendung herausgewischt werden kann */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .hs-tk::-webkit-scrollbar { display: none; }
  .hs-tk-label { flex: 0 0 auto; margin-bottom: 0; white-space: nowrap; scroll-snap-align: start; }
  .hs-tk .hs-tk-liste { flex: 0 0 auto; flex-wrap: nowrap; }
  .hs-tk .hs-tk-liste > li { flex: 0 0 auto; scroll-snap-align: start; }
  .hs-tk a.hs-tk-chip { min-height: 40px; }
}

/* Tagesprogramm „Heute in Berlin“ (18.11.2026, Plugin hssuche: HsSucheTag; /heute, /morgen, /programm/<Datum> ×3) — der Programmteil zum
 * Überfliegen: dichte Zeilen (Uhrzeit · Titel · Art · Ort · Bezirk), Rubriken mit Sprungmarken, Tagesleiste. Farben wie die Portalsuche
 * (Grün der Marke; Kontraste auf Weiß: #1F2933 15:1 · #1E6B45 6,6:1 · #4B5563 7,6:1). Nichts Lesbares unter 14 px. Rückweg: Abschnitt löschen. */
.hs-tag {
  --hs-gr-dunkel: #1F2933; --hs-gr-grund: #1E6B45; --hs-gr-hell: #EEF3F0; --hs-gr-rand: #C9D3CD; --hs-gr-gedimmt: #4B5563; --hs-gr-text: #1F2933;
  max-width: 960px; color: var(--hs-gr-text);
}
.hs-tag-titel { margin: 0 0 4px; font-size: 1.9rem; line-height: 1.2; color: var(--hs-gr-dunkel); overflow-wrap: anywhere; }
.hs-tag-datum { display: flex; flex-wrap: wrap; gap: 2px 14px; margin: 0 0 12px; font-size: 1.05rem; }
.hs-tag-zahlen { color: var(--hs-gr-gedimmt); }
.hs-tag-hinweis { margin: 0 0 12px; padding: 10px 12px; border-left: 4px solid var(--hs-gr-grund); background: #FFFFFF; font-size: 0.95rem; }
/* Tagesleiste: waagerecht scrollbar, der gewählte Tag gefüllt */
.hs-tag-leiste { margin: 0 0 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.hs-tag-leiste ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 2px 0 6px; }
.hs-tag-leiste li { flex: 0 0 auto; }
.hs-tag-leiste a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--hs-gr-rand); border-radius: 22px;
  background: #FFFFFF; color: var(--hs-gr-dunkel); font-weight: 600; text-decoration: none; white-space: nowrap; }
.hs-tag-leiste li.hs-tag-we a { border-color: #8FAE9E; }
.hs-tag-leiste a:hover, .hs-tag-leiste a:focus-visible { border-color: var(--hs-gr-grund); color: var(--hs-gr-grund); }
.hs-tag-leiste a.hs-tag-aktiv { background: var(--hs-gr-grund); border-color: var(--hs-gr-grund); color: #FFFFFF; }
.hs-tag .hs-tag-filter { margin: 0 0 14px; }
.hs-tag-weg { display: inline-flex; align-items: center; min-height: 44px; color: var(--hs-gr-grund); text-decoration: underline; }
/* Sprungmarken mit Anzahl */
.hs-tag-marken { margin: 0 0 4px; }
.hs-tag-marken ul { display: flex; flex-wrap: wrap; gap: 6px 8px; list-style: none; margin: 0; padding: 0; }
.hs-tag-marken a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 6px; background: var(--hs-gr-hell);
  color: var(--hs-gr-dunkel); font-size: 0.95rem; font-weight: 600; text-decoration: none; }
.hs-tag-marken a:hover, .hs-tag-marken a:focus-visible { background: #DCE8E1; }
.hs-tag-n { font-size: 0.9rem; font-weight: 400; color: var(--hs-gr-gedimmt); }
.hs-tag-h .hs-tag-n { font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; letter-spacing: 0; }
/* Rubrik und Zeilen */
.hs-tag-rubrik { margin: 24px 0 0; scroll-margin-top: 96px; }
.hs-tag-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 2px; padding: 0 0 5px; border-bottom: 2px solid var(--hs-gr-grund);
  font-size: 1.3rem; line-height: 1.25; color: var(--hs-gr-dunkel); }
.hs-tag-liste { list-style: none; margin: 0; padding: 0; }
.hs-tag-z { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr); gap: 0 10px; padding: 7px 0; border-bottom: 1px solid var(--hs-gr-rand); line-height: 1.4; }
.hs-tag-uhr { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--hs-gr-dunkel); }
.hs-tag-uhr-t { font-size: 0.875rem; font-weight: 600; color: var(--hs-gr-gedimmt); }
.hs-tag-kern { min-width: 0; overflow-wrap: anywhere; }
.hs-tag-t { font-weight: 700; color: var(--hs-gr-dunkel); text-decoration: underline; text-underline-offset: 2px; }
a.hs-tag-t:hover, a.hs-tag-t:focus-visible { color: var(--hs-gr-grund); }
.hs-tag-ort { font-size: 0.92rem; color: var(--hs-gr-gedimmt); }
.hs-tag-frei { display: inline-block; padding: 0 8px; border: 1px solid var(--hs-gr-rand); border-radius: 10px; background: var(--hs-gr-hell); font-size: 0.875rem;
  color: var(--hs-gr-dunkel); white-space: nowrap; }
.hs-tag-abgesagt .hs-tag-t, .hs-tag-abgesagt .hs-tag-uhr { text-decoration: line-through; font-weight: 600; }
/* Kino: Filmtitel in zwei Spalten, sobald Platz ist */
.hs-tag-z.hs-tag-film { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .hs-tag-filme { column-count: 2; column-gap: 28px; } .hs-tag-filme > li { break-inside: avoid; } }
.hs-tag-wege { margin: 8px 0 0; font-size: 0.95rem; }
.hs-tag-wege a, .hs-tag-fuss a { color: var(--hs-gr-grund); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
/* Klappblöcke: Tageskurse, laufende Ausstellungen, Feste und Märkte */
.hs-tag-klapp { margin: 10px 0 0; border: 1px solid var(--hs-gr-rand); border-radius: 8px; background: #FFFFFF; }
.hs-tag-klapp > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 4px 14px; cursor: pointer;
  font-weight: 600; color: var(--hs-gr-dunkel); background: var(--hs-gr-hell); border-radius: 8px; list-style: none; }
.hs-tag-klapp > summary::-webkit-details-marker { display: none; }
.hs-tag-klapp > summary::after { content: ""; flex: 0 0 auto; width: 8px; height: 8px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.hs-tag-klapp[open] > summary { border-radius: 8px 8px 0 0; border-bottom: 1px solid var(--hs-gr-rand); }
.hs-tag-klapp[open] > summary::after { margin-top: 4px; transform: rotate(-135deg); }
.hs-tag-klapp > summary:hover, .hs-tag-klapp > summary:focus-visible { background: #DCE8E1; }
.hs-tag-klapp > .hs-tag-liste { padding: 0 14px; }
.hs-tag-klapp > .hs-tag-liste > li:last-child { border-bottom: 0; }
.hs-tag-klapp .hs-tag-z { grid-template-columns: 5.8rem minmax(0, 1fr); }
.hs-tag-quelle, .hs-tag-stand { margin: 8px 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--hs-gr-gedimmt); }
.hs-tag-stand { margin-top: 28px; }
.hs-tag-blaettern { display: flex; justify-content: space-between; gap: 12px; margin: 10px 0; }
.hs-tag-blaettern a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hs-gr-grund); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.hs-tag-fuss { margin: 4px 0 0; font-size: 0.95rem; line-height: 2; }
.hs-tag-leer { margin: 12px 0; padding: 18px; border: 1px dashed var(--hs-gr-rand); border-radius: 8px; }
/* Einstieg von der Terminliste: zwei Knöpfe unter der Einleitung */
.hs-tag-einstieg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 10px 0 0; font-size: 1rem; }
.hs-tag-einstieg .uk-button { min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
@media (max-width: 639px) {
  .hs-tag-titel { font-size: 1.5rem; }
  .hs-tag-z { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0 8px; }
  .hs-tag-klapp .hs-tag-z { grid-template-columns: 5.2rem minmax(0, 1fr); }
  .hs-tag-t { display: block; }
  .hs-tag-z.hs-tag-film .hs-tag-t { display: inline; }
  .hs-tag-marken { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .hs-tag-marken ul { flex-wrap: nowrap; padding: 0 0 6px; }
  .hs-tag-marken li { flex: 0 0 auto; }
}
@media print {
  .hs-tag-leiste, .hs-tag-filter, .hs-tag-marken, .hs-tag-blaettern, .hs-tag-fuss { display: none; }
  .hs-tag-z { padding: 3px 0; }
}

/* „Am Wochenende in Berlin“ (25.11.2026, Plugin hssuche: HsSucheWochenende; /wochenende, /en/weekend) — baut auf dem Tagesprogramm auf
 * (.hs-tag-*, Farben aus dessen Variablen, also unter „Blaue Stunde“ die Hausfarben). Hier nur, was die Wochenendseite dazu braucht: Teile
 * (Freitagabend, Samstag, Sonntag) mit eigener Überschrift, Marktblock, „Dazu“-Zeile und Knöpfe zur Tagesseite. Nichts Lesbares unter 14 px,
 * Tippziele ≥ 44 px, Knöpfe brechen um (kein Querrollen bei 360 px). Rückweg: diesen Abschnitt löschen. */
.hs-we-teil { margin: 32px 0 0; scroll-margin-top: 96px; }
.hs-we-tag-h { margin: 0 0 4px; padding: 0 0 6px; border-bottom: 3px solid var(--hs-gr-grund); font-size: 1.6rem; line-height: 1.2; color: var(--hs-gr-dunkel);
  overflow-wrap: anywhere; }
.hs-we-tag-sub { margin: 0 0 4px; font-size: 0.95rem; line-height: 1.6; color: var(--hs-gr-gedimmt); }
.hs-we-tag-sub a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hs-gr-grund); font-weight: 600; text-decoration: underline;
  text-underline-offset: 2px; }
.hs-we .hs-we-rubrik { margin-top: 18px; }
.hs-we-dazu { margin: 8px 0 0; font-size: 0.95rem; line-height: 1.45; color: var(--hs-gr-gedimmt); }
.hs-we-alle { margin: 10px 0 0; }
.hs-we .hs-we-alle a.uk-button, .hs-we .hs-we-knoepfe a.uk-button { display: inline-flex; align-items: center; max-width: 100%; min-height: 44px; padding-top: 8px;
  padding-bottom: 8px; font-size: 15px; line-height: 1.3; white-space: normal; text-align: left; text-decoration: none; overflow-wrap: anywhere; }
/* Märkte am Wochenende: ein Kasten über den Teilen */
.hs-we-maerkte { margin: 16px 0 0; padding: 12px 14px 14px; border: 1px solid var(--hs-gr-rand); border-radius: 8px; background: var(--hs-gr-hell); }
.hs-we-maerkte-h { margin: 0 0 6px; font-size: 1.2rem; line-height: 1.25; color: var(--hs-gr-dunkel); }
.hs-we-markt + .hs-we-markt { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--hs-gr-rand); }
.hs-we-markt-text { margin: 0 0 6px; font-size: 1rem; line-height: 1.45; color: var(--hs-gr-text); }
.hs-we-knoepfe { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 0; }
.hs-we .hs-we-knoepfe a.uk-button { background: #FFFFFF; }
@media (max-width: 639px) {
  .hs-we-tag-h { font-size: 1.35rem; }
  .hs-we-maerkte { padding: 10px 12px 12px; }
}
@media print {
  .hs-we-alle, .hs-we-knoepfe { display: none; }
}

/* === BB (20.11.2026): Berlinblick — Startseite nach Nachfrage, Weihnachtsmärkte, Listen unter sprechenden Adressen ===================
 * Blöcke der Startseite (HsKulturStart, HsKulturMarkt::startBlock) und die Weihnachtsmarkt-Seiten (HsKulturMarkt). Farben aus den Tokens
 * des Kalenders (.hs-ku), Karten im Muster der Bereichstüren (.hs-ku-tuer), Zeilen im Muster des Kalenders. Nichts Lesbares unter 14 px
 * (deshalb auch die Angleichung der kleinen Kalender-Schriften unten), Tippziele ≥ 44 px, kein Überlauf bei 390 px.
 * Ein Abschnitt der Startseite ohne Block (.bb-block) wird nicht gezeigt — so verschwindet ein Thema ohne Einträge samt Abstand.
 * Rückweg: diesen Block löschen. */
.bb-sek:not(:has(.bb-block)) { display: none; }
.bb-h { margin: 0 0 4px; font-size: 1.6rem; line-height: 1.2; color: var(--hs-gr-dunkel, #0F3D2A); }
.bb-h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: var(--hs-gr-dunkel); }
.bb-sub { margin: 0 0 12px; font-size: 1rem; line-height: 1.45; color: var(--hs-gr-text); }
.bb-lead-text { margin: 0 0 4px; }
.bb-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0 0 12px; padding: 0; }
@media (max-width: 959px) { .bb-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
@media (max-width: 559px) { .bb-karten { grid-template-columns: 1fr; } .bb-karten > li:nth-child(n+5) { display: none; } }   /* am Handy vier Märkte, damit „Heute in Berlin“ nah bleibt */
.bb-karten > li { margin: 0; }
.hs-ku a.bb-karte { min-height: 0; }
.bb-karte .hs-ku-t-name { font-size: 1.1rem; }
.bb-karte .hs-ku-t-unter { font-size: 0.9rem; }
.bb-karte-fuss { margin-top: auto; padding-top: 6px; font-size: 0.9rem; color: var(--hs-gr-text); }
.bb-wm-status { font-size: 0.95rem; font-weight: 700; color: var(--hs-gr-dunkel); }
.bb-wm-s-offen { color: #17563A; }
.bb-wm-s-vorbei { color: var(--hs-gr-gedimmt); font-weight: 600; }
.bb-wm-status-gross { margin: 0 0 12px; padding: 10px 14px; font-size: 1.1rem; background: #FFFFFF; border-left: 4px solid var(--hs-gr-grund); border-radius: 4px; }
.bb-wm-status-gross.bb-wm-s-offen { border-left-color: #1E6B45; }
.bb-wm .hs-ku-kern { gap: 2px 12px; }
.bb-wm .hs-ku-oeffnung { flex: 1 1 100%; }
.bb-wm-detail .hs-ku-d-kopf { grid-template-columns: minmax(6.5rem, max-content) 1fr; }
.bb-wm-detail .hs-ku-d-aktionen .uk-button, .bb-knoepfe .uk-button { min-height: 44px; display: inline-flex; align-items: center; text-align: left; line-height: 1.25; padding-top: 6px; padding-bottom: 6px; }
.bb-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.bb-oft { margin: 0 0 10px; }
.bb-oft ul { align-items: center; }
.bb-oft-l { font-weight: 600; font-size: 0.95rem; }
.bb-stand { margin: 12px 0 0; font-size: 0.875rem; line-height: 1.45; color: var(--hs-gr-gedimmt); }
.bb-zeilen { display: grid; grid-template-columns: 1fr; gap: 0 28px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 960px) { .bb-zeilen { grid-template-columns: 1fr 1fr; } .bb-zeilen.bb-zeilen-eins { grid-template-columns: 1fr; } }
.bb-zeilen > li { margin: 0; border-top: 1px solid var(--hs-gr-rand); }
.bb-zeile { display: grid; grid-template-columns: 4.8rem minmax(0, 1fr); gap: 0 12px; min-height: 44px; padding: 9px 0; box-sizing: border-box; color: var(--hs-gr-text); }
.bb-zeile.bb-zeile-film { grid-template-columns: minmax(0, 1fr); }
.bb-z-zeit { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--hs-gr-dunkel); }
.bb-z-tag { display: block; font-size: 0.875rem; font-weight: 600; }
.bb-z-titel { display: block; font-weight: 700; color: var(--hs-gr-dunkel); overflow-wrap: anywhere; }
.bb-z-unter { display: block; font-size: 0.9rem; line-height: 1.4; color: var(--hs-gr-text); overflow-wrap: anywhere; }
.bb-zeile:hover .bb-z-titel, .bb-zeile:focus-visible .bb-z-titel { color: var(--hs-gr-grund); }
/* Die ganze Zeile bzw. Karte ist ein Link: unterstrichen bleibt nur der Name (Muster der Bereichstüren) */
.tm-page main .uk-panel .hs-ku a.bb-zeile, .tm-page main .uk-panel .hs-ku a.bb-karte, .tm-page .uk-article .hs-ku a.bb-zeile, .tm-page .uk-article .hs-ku a.bb-karte { text-decoration: none; }
.tm-page main .uk-panel .hs-ku a.bb-zeile .bb-z-titel, .tm-page .uk-article .hs-ku a.bb-zeile .bb-z-titel { text-decoration: underline; text-underline-offset: 2px; }
.bb-zwei { display: grid; grid-template-columns: 1fr; gap: 12px 28px; }
@media (min-width: 960px) { .bb-zwei { grid-template-columns: 1fr 1fr; } }
.bb-mehr-reihe { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.bb-mehr-l { flex: 0 0 auto; font-weight: 600; font-size: 0.95rem; margin-right: 4px; }
.tm-page main .uk-panel .hs-ku a.bb-mehr-a, .tm-page .uk-article .hs-ku a.bb-mehr-a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border: 1px solid var(--hs-gr-rand);
  border-radius: 22px; background: #FFFFFF; color: var(--hs-gr-dunkel); font-size: 0.95rem; text-decoration: none; }
.tm-page main .uk-panel .hs-ku a.bb-mehr-a:hover, .tm-page main .uk-panel .hs-ku a.bb-mehr-a:focus-visible { border-color: var(--hs-gr-grund); background: var(--hs-gr-hell); }
/* Kleine Schriften des Kalenders auf mindestens 14 px (Regel 17.11.2026): Quelle, Chips, Sparte, Unterzeilen der Türen */
.hs-ku-quelle, .hs-ku-chip, .hs-ku-sparte, .hs-ku-t-woche, .hs-ku-t-unter, .hs-ku-fassung { font-size: 0.875rem; }
@media (max-width: 479px) { .hs-ku-t-unter { font-size: 0.875rem; } }
@media (max-width: 959px) { .hs-ku .hs-ku-reiter a { font-size: 0.875rem; } }
/* Überschrift der Weihnachtsmarkt-Seiten am Handy: kleiner und ohne Silbentrennung mitten im Ortsnamen („Ber-lin“) */
@media (max-width: 639px) { main:has(.bb-wm-seite) h1, main:has(.bb-wm-detail) h1 { font-size: 1.7rem; line-height: 1.2; hyphens: manual; overflow-wrap: break-word; } }
/* Kopfmenü Berlinblick am Rechner (ab 1200 px): sieben bis acht Punkte neben Logo, Merkliste, Sprachwahl, Suche und Anmelden. Mit dem
 * Theme-Abstand (30 px je Seite) schrumpften Logo und Flaggen (gemessen 20.11.2026: Flaggen 0 px bei 1440). Abstand je Breite so, dass alles
 * in natürlicher Größe bleibt (1280–1680 gemessen; bei 1200 gibt nur das Logo 21 px nach); die Sprachwahl schrumpft nie.
 * Acht Punkte (mit „Flohmärkte“, Messung 20.11.2026 11:35 bei 1200–1600 px, Deutsch und Englisch: alles in natürlicher Größe, nichts ragt
 * hinaus): eigene Abstände weiter unten; unter 1600 px zeigt der Merklisten-Knopf nur das Herz (Wort bleibt für Vorleseprogramme), unter
 * 1280 px entfällt er im Kopf (die Merkliste bleibt über ihre Adresse erreichbar). Vorher ragte „Anmelden“ bei 1440 px 26 px hinaus. */
@media (min-width: 1200px) {
  .tm-header .uk-navbar-nav { gap: 0; }
  .tm-header .uk-navbar-nav > li > a { padding-left: 22px; padding-right: 22px; font-size: 15px; }
  .tm-header .uk-navbar-right > .uk-navbar-item:has(.hs-lang), .tm-header .hs-lang { flex-shrink: 0; }
}
@media (min-width: 1200px) and (max-width: 1599px) { .tm-header .uk-navbar-nav > li > a { padding-left: 13px; padding-right: 13px; } }
@media (min-width: 1200px) and (max-width: 1439px) { .tm-header .uk-navbar-nav > li > a { padding-left: 9px; padding-right: 9px; } }
@media (min-width: 1200px) and (max-width: 1365px) { .tm-header .uk-navbar-nav > li > a { padding-left: 7px; padding-right: 7px; font-size: 14px; } }
/* … mit acht Punkten */
@media (min-width: 1200px) { .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-nav > li > a { padding-left: 15px; padding-right: 15px; } }
@media (min-width: 1200px) and (max-width: 1599px) {
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-nav > li > a { padding-left: 13px; padding-right: 13px; }
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .hs-merk-link .hs-merk-wort { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (min-width: 1200px) and (max-width: 1535px) { .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-nav > li > a { padding-left: 12px; padding-right: 12px; } }
@media (min-width: 1200px) and (max-width: 1439px) { .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-nav > li > a { padding-left: 8px; padding-right: 8px; } }
@media (min-width: 1200px) and (max-width: 1365px) { .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-nav > li > a { padding-left: 5px; padding-right: 5px; } }
@media (min-width: 1200px) and (max-width: 1279px) { .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-nav > li > a { padding-left: 7px; padding-right: 7px; }
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .hs-merk-modul { display: none; } }
/* Ende BB ============================================================================================================================ */
/* BB Startseite: feine Trennlinie zwischen zwei gleichfarbigen Abschnitten (ausgeblendete Abschnitte zeichnen keine) */
.bb-sek.uk-section-default + .bb-sek.uk-section-default { border-top: 1px solid #e2dacb; }
/* BB Kopfzeile, Rand rechts (20.11.2026): rechts derselbe Rand wie links (30 px). Der letzte Punkt („Anmelden“) stand bei 1280–1366 px nur
   5–8 px vom Fensterrand. Den Platz geben Merkliste und Suche ab (je 30 px Innenabstand um ein 19-px-Zeichen), unter 1280 px zusätzlich das
   Logo rechts. Gemessen mit sichtbarem Rollbalken (Seite 15 px schmaler als das Fenster) bei 1200–1920 px, Deutsch und Englisch. */
@media (min-width: 1200px) {
  .tm-header .uk-navbar-right > .uk-navbar-nav:last-child > li:last-child > a,
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-right > .uk-navbar-nav:last-child > li:last-child > a { padding-right: 30px; }
}
@media (min-width: 1200px) and (max-width: 1599px) {
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-right > .uk-navbar-item.hs-merk-modul,
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-right > .uk-navbar-toggle { padding-left: 16px; padding-right: 16px; }
}
@media (min-width: 1200px) and (max-width: 1279px) {
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-left > .uk-logo { padding-right: 10px; }
  .tm-header .uk-navbar:has(.uk-navbar-nav > li:nth-child(8)) .uk-navbar-right > .uk-navbar-toggle { padding-left: 12px; padding-right: 12px; }
}
/* BB Karten: Zahl in den Gruppen-Kreisen 14 px statt 12 px (MarkerCluster.Default.css) — nichts Lesbares unter 14 px */
.leaflet-container .marker-cluster div { font-size: 14px; }
/* BB Schriftgrößen (20.11.2026): nichts Lesbares unter 14 px. Lesedauer und Stand stehen oben in ihren Regeln auf 0.875rem; hier der Hinweis
   unter Formularfeldern (vorher 13,1 px) und die Zeile „Geschützt durch ALTCHA“ (vorher 12 px, Stil des Bausteins). Gemessen mit
   build/pruefung/bb-namensumstellung-rest.mjs. Der Hinweis „powered by Reuther-Media“ (12 px) kommt aus dem zentralen Plugin rmcredit. */
/* der Stil des Formulars (.qx-form .qx-hint, .82rem) steht in der Seite selbst und käme sonst später */
.qx-form div.qx-hint, form .qx-form .qx-hint, .qx-hint { font-size: 14px; }
altcha-widget .altcha-footer, altcha-widget .altcha-footer p, altcha-widget .altcha-footer a { font-size: 14px !important; }

/* === BB-C (22.11.2026): Cookie-Hinweis klein, kurz, unauffällig =====================================================================
 * Ulrich 22.11.2026: „der cookie hinweis ist viel zu groß, ganz klein und kurz und unauffällig machen.“
 * Vorher: Balken über die ganze Breite (1200 px breit, rund 190 px hoch; am Handy bis 40 % der Bildschirmhöhe).
 * Jetzt: am Rechner eine schmale Karte unten links (eine Zeile), am Handy eine flache Leiste am unteren Rand.
 * Wortlaut in language/overrides (ein Satz, „OK“ / „Nein“, „Einstellungen“ als Textverweis). „OK“ und „Nein“ sind gleich gestaltet
 * und gleich groß. Dieser Block steht am Ende und übersteuert D2, den D2-Nachtrag und die Punkte 4 und 5a weiter oben.
 * Rückweg: diesen Block und die fünf Zeilen in den Sprachdateien zurücknehmen. */
.tm-consent.uk-position-fixed {
  top: auto !important; right: auto !important; left: 16px !important; bottom: 16px !important;
  width: auto !important; max-width: min(680px, calc(100vw - 32px)) !important; margin: 0 !important; padding: 0 !important;
}
.tm-consent.uk-position-fixed > .uk-card {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  margin: 0; max-width: none; max-height: none; overflow: visible; padding: 7px 10px 7px 14px;
  background: #fff; color: #3b443f; border: 1px solid #e2dacb; border-radius: 10px; box-shadow: 0 2px 12px rgba(20, 28, 22, .10);
  font-size: 14px; line-height: 1.35;
}
.tm-consent .uk-card > p { margin: 0; flex: 1 1 auto; }
.tm-consent .uk-card > p a { color: inherit; text-decoration: underline; white-space: nowrap; }
.tm-consent .uk-card > [uk-grid], .tm-consent .uk-card > .uk-grid {
  display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; margin: 0 !important; flex: 0 0 auto;
}
.tm-consent .uk-card > [uk-grid] > *, .tm-consent .uk-card > .uk-grid > * { width: auto !important; margin: 0 !important; padding: 0 !important; }
.tm-consent .uk-button {
  width: auto !important; min-width: 56px; min-height: 32px; height: 32px; line-height: 30px; padding: 0 12px;
  font-size: 14px; font-weight: 600; border-radius: 16px; text-transform: none; letter-spacing: 0;
}
.tm-consent .uk-button-primary,
.tm-consent .uk-button-primary:hover,
.tm-consent .uk-button-primary:focus {
  background: #fff !important; background-image: none !important; color: #1a1f1c !important; border: 1px solid #aeb8b1 !important; box-shadow: none !important;
}
.tm-consent .uk-button-primary:hover, .tm-consent .uk-button-primary:focus-visible { background: #f1eee6 !important; border-color: #5f6b64 !important; }
.tm-consent .uk-button-default,
.tm-consent .uk-button-default:hover,
.tm-consent .uk-button-default:focus {
  min-width: 0; padding: 0 4px; background: none !important; border: 0 !important; box-shadow: none !important;
  color: #5f6b64 !important; font-weight: 400; text-decoration: underline;
}
.tm-consent .uk-button-default:hover { color: #1a1f1c !important; }
@media (max-width: 639px) {
  .tm-consent.uk-position-fixed { left: 0 !important; right: 0 !important; bottom: 0 !important; width: 100% !important; max-width: 100% !important; }
  .tm-consent.uk-position-fixed > .uk-card {
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); border-radius: 0; border-width: 1px 0 0; box-shadow: 0 -2px 10px rgba(20, 28, 22, .08);
    max-height: none; overflow: visible; font-size: 14px; line-height: 1.35;
  }
  .tm-consent .uk-card > p { flex: 1 1 100%; }
  .tm-consent .uk-button { min-height: 36px; height: 36px; line-height: 34px; padding: 0 16px; border-radius: 18px; }
  .tm-consent .uk-button-default, .tm-consent .uk-button-default:hover, .tm-consent .uk-button-default:focus { padding: 0 6px; }
  /* Solange der Hinweis steht, endet die Seite über ihm und über dem Schalter der Eingabehilfen (bisher 368/384 px für den hohen Dialog). */
  body:has(.tm-consent) .tm-page { padding-bottom: 176px; }
  body:has(.tm-consent) .djacc.djacc--sticky { bottom: 104px !important; }
}
@media (min-width: 375px) and (max-width: 639px) {
  body:has(.tm-consent) .tm-page { padding-bottom: 176px; }
  body:has(.tm-consent) .djacc.djacc--sticky { bottom: 104px !important; }
}

/* === BB Anreise (25.11.2026): „Anreise mit Bahn und Bus“ auf den Seiten der Weihnachtsmärkte und der Kulturorte (HsKulturAnreise) ================
 * Je Haltestelle eine Zeile: Name und Entfernung, darunter die Linien; darunter der Hinweis auf Baustellen und Umleitungen (Fahrplanauskunft
 * des VBB) und die Herkunft (VBB, CC BY 4.0), beide in der Schrift von .bb-stand (14 px). Farben nur aus den Tokens des
 * Kalenders (.hs-ku: --hs-gr-dunkel, --hs-gr-text, --hs-gr-rand), kein eigener Grund — so bleibt der Block auch im Auftritt „Blaue Stunde“
 * lesbar, der die Tokens umfärbt. Nichts Lesbares unter 14 px (kleinste Schrift 0.9rem), lange Namen brechen um (kein Querrollen bei 360 px).
 * Das Markup erscheint nur mit dem Schalter bb_anreise = an bzw. vorschau (cli/bb-schalter.php anreise …). Rückweg: diesen Block löschen. */
.bb-anreise { list-style: none; margin: 0 0 6px; padding: 0; }
.bb-anreise > li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 0; padding: 8px 0; border-top: 1px solid var(--hs-gr-rand); }
.bb-anreise > li:last-child { border-bottom: 1px solid var(--hs-gr-rand); }
.bb-anreise-name { min-width: 0; font-weight: 700; color: var(--hs-gr-dunkel); overflow-wrap: anywhere; }
.bb-anreise-weg { font-size: 0.9rem; color: var(--hs-gr-text); white-space: nowrap; }
.bb-anreise-linien { flex: 1 1 100%; min-width: 0; font-size: 0.95rem; line-height: 1.45; color: var(--hs-gr-text); overflow-wrap: anywhere; }
.bb-anreise-hinweis, .bb-anreise-quelle { margin-top: 6px; }
.bb-anreise-hinweis + .bb-anreise-quelle { margin-top: 2px; }
.bb-anreise-hinweis a, .bb-anreise-quelle a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* Ende BB Anreise ==================================================================================================================================== */
