/* ==========================================================================
   Feuerwehr-Website – öffentliches Stylesheet (Mobile First)
   Richtung: verlässlich, sachlich, nahbar · Fahrzeughalle & Einsatzprotokoll
   Raster: 4px · ein Akzent (Feuerwehrrot) · Signatur: Einsatzzeiten im Protokollstil
   ========================================================================== */

:root {
  color-scheme: light dark;
  /* Neutrale Rampe – Anthrazit, leicht kühl */
  --bg: #ffffff;
  --bg-alt: #f4f5f6;
  --raised: #eceef0;
  --anth: #22272c;
  --anth-2: #2b3036;
  --anth-3: #363c43;
  --ink: #1b1f23;
  --text-2: #4b535b;
  --muted: #6a727a;
  --line: rgba(27, 31, 35, .1);
  --line-strong: rgba(27, 31, 35, .2);
  --on-dark: #eef0f2;
  --on-dark-2: #b8bfc5;
  --on-dark-muted: #8d959c;
  --line-dark: rgba(238, 240, 242, .1);

  /* Akzent – Feuerwehrrot, sparsam */
  --red: #b0151e;
  --red-600: #931119;
  --red-50: #fbeeee;
  --link: var(--red);
  --inverse: var(--ink);
  --on-inverse: #fff;
  --chart-bar: #aeb4ba;
  --ok-bg: #eef6f1;
  --ok-ink: #123f22;
  --err-ink: #6b0a10;
  --ok: #17663a;
  --warn: #8a5300;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  /* Ziffern: normale Schrift mit Tabellenziffern. Monospace nur für das Einsatzstichwort (Signatur). */
  --mono: var(--font);
  --code: ui-monospace, "Cascadia Mono", "SF Mono", "Segoe UI Mono", Consolas, "Liberation Mono", monospace;

  --r-sm: 4px;
  --r: 8px;
  --r-lg: 12px;
  --shadow-float: 0 8px 24px rgba(0, 0, 0, .12);
  --container: 1200px;
  --gutter: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--t-fast) var(--ease); }
a:hover { color: var(--red-600); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 12px; font-weight: 600; color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 16px; }
ul, ol { padding-left: 20px; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.icon { width: 16px; height: 16px; flex: none; stroke-width: 1.75; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--anth); color: #fff; padding: 8px 16px; border-radius: var(--r); }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 840px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: var(--r);
  border: 1px solid transparent; font-weight: 600; font-size: .9375rem; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform 120ms var(--ease);
}
.btn:active { transform: scale(.98); }
.btn--lg { min-height: 48px; padding: 0 24px; font-size: 1rem; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-600); color: #fff; }
.btn--dark { background: var(--inverse); color: var(--on-inverse); }
.btn--dark:hover { background: var(--text-2); color: var(--on-inverse); }
.btn--light { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .16); color: #fff; }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: var(--bg); }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }
.btn--text { background: none; color: var(--text-2); padding-inline: 12px; }
.btn--text:hover { color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Warnhinweis ---------- */
.warning { color: #fff; background: var(--anth-3); font-size: .9375rem; }
.warning--warnung { background: #7a4a00; }
.warning--gefahr { background: var(--red); }
.warning__inner { display: flex; gap: 12px; align-items: flex-start; padding-block: 12px; }
.warning__icon { margin-top: 4px; }
.warning p { margin: 0; }
.warning a { color: #fff; font-weight: 600; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.topbar { background: var(--anth); color: var(--on-dark-2); font-size: .8125rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar__emergency { margin: 0; display: flex; gap: 12px; align-items: center; }
.topbar__112 { background: var(--red); color: #fff; font-weight: 600; padding: 2px 8px; border-radius: var(--r-sm); }
.topbar__hint { display: none; }
.topbar__links { display: flex; gap: 16px; align-items: center; }
.topbar__links a { color: var(--on-dark-2); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.topbar__links a:hover { color: #fff; }
.topbar__links a span { display: none; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 40px; height: 40px; object-fit: contain; flex: none; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-weight: 600; font-size: 1rem; line-height: 1.25; }
.brand__sub { font-size: .8125rem; color: var(--muted); line-height: 1.3; }

.nav-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; border: 1px solid var(--line-strong); background: var(--bg); border-radius: var(--r); padding: 0 12px; cursor: pointer; color: var(--ink); font-weight: 600; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
.nav-toggle__label { font-size: .875rem; }

.site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-top: 1px solid var(--line); box-shadow: var(--shadow-float); padding: 8px var(--gutter) 20px; max-height: calc(100vh - 112px); overflow-y: auto; }
.site-nav.is-open { display: block; animation: navIn 200ms var(--ease); }
@keyframes navIn { from { opacity: 0; transform: translateY(-4px); } }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a { display: flex; align-items: center; min-height: 48px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; }
.site-nav li a[aria-current="page"] { color: var(--link); }
.site-nav__cta { margin-top: 16px; width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; color: var(--on-dark); background: var(--anth); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 23, 26, .86) 0%, rgba(20, 23, 26, .6) 50%, rgba(20, 23, 26, .2) 100%); }
.hero__inner { display: grid; gap: 40px; padding-block: 64px 0; }
.hero__content { max-width: 600px; padding-bottom: 48px; }
.hero__title { color: #fff; font-size: clamp(2.25rem, 1.5rem + 3.4vw, 3.75rem); line-height: 1.06; letter-spacing: -.03em; margin-bottom: 20px; max-width: 14ch; }
.hero__lead { font-size: 1.125rem; line-height: 1.6; max-width: 36rem; color: var(--on-dark-2); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Ohne Foto: heller, ruhiger Hero */
.hero:not(.hero--image) { background: var(--bg-alt); color: var(--ink); border-bottom: 1px solid var(--line); }
.hero:not(.hero--image) .hero__title { color: var(--ink); }
.hero:not(.hero--image) .hero__lead { color: var(--text-2); }
.hero:not(.hero--image) .protocol { box-shadow: none; border: 1px solid var(--line); border-bottom: 0; }

/* Signatur: Einsatzprotokoll */
.protocol { align-self: end; background: var(--bg); color: var(--ink); border-radius: var(--r-lg) var(--r-lg) 0 0; box-shadow: var(--shadow-float); text-decoration: none; display: block; transition: background-color var(--t-fast) var(--ease); }
.protocol:hover { color: var(--ink); background: var(--bg-alt); }
.protocol__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: .8125rem; color: var(--muted); }
.protocol__live { display: inline-flex; align-items: center; gap: 8px; }
.protocol__live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.protocol__body { padding: 20px; }
.protocol__title { font-size: 1.25rem; margin: 12px 0 16px; }
.protocol__rows { display: grid; grid-template-columns: auto 1fr; margin: 0; font-size: .875rem; }
.protocol__rows dt, .protocol__rows dd { margin: 0; padding: 8px 0; border-top: 1px dashed var(--line-strong); }
.protocol__rows dt { color: var(--muted); padding-right: 24px; }
.protocol__rows dd { font-family: var(--mono); font-variant-numeric: tabular-nums; text-align: right; }
.protocol__more { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; border-top: 1px solid var(--line); font-weight: 600; font-size: .875rem; color: var(--link); }

/* ---------- Kennzahlen ---------- */
.facts { background: var(--bg); color: var(--ink); border-bottom: 1px solid var(--line); }
.facts__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); }
.facts__list li { padding: 20px 0; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid var(--line); }
.facts__value { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.75rem; font-weight: 500; line-height: 1; }
.facts__label { color: var(--muted); font-size: .8125rem; }

/* ---------- Sektionen ---------- */
.section { padding-block: 64px; }
.section--tight { padding-block: 40px; }
.section--alt { background: var(--bg-alt); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.h-accent { margin-bottom: 16px; }
.section-head__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; color: var(--ink); }
.section-head__link:hover { color: var(--link); }
.eyebrow { color: var(--muted); font-size: .875rem; margin-bottom: 8px; }
.h-sub { font-size: 1.25rem; margin-bottom: 16px; }
.h-sub--spaced { margin-top: 48px; }
.more-link { margin-top: 16px; }
.more-link a { font-weight: 600; font-size: .9375rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.more-link a:hover { color: var(--link); }
.empty { color: var(--muted); }
.empty--small { font-size: .9375rem; }
.empty-box { border: 1px dashed var(--line-strong); border-radius: var(--r-lg); padding: 32px 24px; text-align: center; color: var(--text-2); background: var(--bg); }
.empty-box p:last-child { margin: 0; }

/* ---------- Seitenkopf ---------- */
.page-head { background: var(--anth); color: var(--on-dark); padding-block: 24px 40px; }
.page-head h1 { color: #fff; max-width: 24ch; margin-bottom: 8px; }
.page-head__lead { color: var(--on-dark-2); font-size: 1.125rem; max-width: 36rem; margin: 0; }
.page-head__kicker { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.page-head__meta { display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--on-dark-2); margin-top: 16px; font-size: .875rem; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.page-head__meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-head__meta .icon { color: var(--on-dark-muted); }
.breadcrumb ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; font-size: .8125rem; color: var(--on-dark-muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--anth-3); }
.breadcrumb a { color: var(--on-dark-2); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb [aria-current] { display: inline-block; max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

/* ---------- Tags ---------- */
.tag { display: inline-block; font-size: .75rem; font-weight: 500; padding: 2px 8px; border-radius: var(--r-sm); background: var(--raised); color: var(--text-2); line-height: 1.5; }
.tag--red { background: var(--red); color: #fff; font-family: var(--code); }
.tag--dark { background: rgba(255, 255, 255, .1); color: var(--on-dark); }

/* ---------- Einsatzliste ---------- */
.incident-list { border-top: 1px solid var(--line); }
.incident__link { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit; transition: background-color var(--t-fast) var(--ease); }
.incident__link:hover { color: inherit; }
.incident__link:hover .incident__title { color: var(--link); }
.incident__date { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 56px; border-radius: var(--r); background: var(--anth); color: #fff; text-align: center; }
.incident__day { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.25rem; font-weight: 500; line-height: 1; }
.incident__month { font-size: .6875rem; color: var(--on-dark-2); line-height: 1; white-space: nowrap; }
.incident__tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 4px; }
.incident__title { margin: 0 0 4px; font-size: 1.0625rem; transition: color var(--t-fast) var(--ease); }
.incident__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; color: var(--muted); font-size: .8125rem; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.incident__meta span { display: inline-flex; align-items: center; gap: 8px; }
.incident__meta .incident__place { font-family: var(--font); }
.incident__thumb { display: none; }
.incident__chev { color: var(--muted); transition: color var(--t-fast) var(--ease); }
.incident__link:hover .incident__chev { color: var(--link); }

/* ---------- Startseite ---------- */
.home-split { display: grid; gap: 40px; }
.side-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; margin-bottom: 16px; background: var(--bg); }
.side-box--dark { background: var(--anth); color: var(--on-dark-2); border-color: var(--anth); }
.side-box--dark .side-box__title { color: #fff; }
.side-box__title { font-size: 1rem; margin-bottom: 16px; }
.side-box__big { font-family: var(--mono); font-size: 2.5rem; font-weight: 500; color: #fff; line-height: 1; margin-bottom: 12px; }
.side-box__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9375rem; text-decoration: none; margin-top: 8px; color: var(--ink); }
.side-box__link:hover { color: var(--link); }
.side-box p:last-child { margin: 0; font-size: .9375rem; }
.event-mini { list-style: none; margin: 0; padding: 0; }
.event-mini li { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.event-mini li:first-child { padding-top: 0; }
.event-mini__date { flex: none; width: 40px; text-align: center; font-size: .75rem; color: var(--muted); line-height: 1.2; }
.event-mini__date span { display: block; font-family: var(--mono); font-size: 1.25rem; font-weight: 500; color: var(--ink); }
.event-mini__text { display: flex; flex-direction: column; font-size: .875rem; color: var(--muted); }
.event-mini__text strong { color: var(--ink); font-size: .9375rem; font-weight: 600; }

.about-teaser { display: grid; gap: 40px; align-items: center; }
.motto { margin: 0; padding-block: 16px; border-block: 1px solid var(--line); color: var(--text-2); font-size: 1.125rem; font-weight: 500; }

.cta-band { background: var(--anth); color: var(--on-dark); padding-block: 56px; }
.cta-band__inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 36rem; color: var(--on-dark-2); font-size: 1.0625rem; }
.cta-band .btn--light { background: var(--red); border-color: var(--red); }
.cta-band .btn--light:hover { background: var(--red-600); border-color: var(--red-600); }

.contact-teaser { display: grid; gap: 32px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.contact-list .icon { color: var(--muted); margin-top: 4px; }
.contact-list span { display: flex; flex-direction: column; }
.contact-list strong { font-size: .8125rem; color: var(--muted); font-weight: 400; }
.contact-list a { font-weight: 600; text-decoration: none; color: var(--ink); }
.contact-list a:hover { color: var(--link); }
.contact-list--stacked li { border: 0; padding: 12px 0; border-bottom: 1px solid var(--line); border-radius: 0; }

/* ---------- Karten ---------- */
.grid { display: grid; gap: 24px; }
.card { background: var(--bg); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); transition: border-color var(--t-fast) var(--ease); }
.card:hover { border-color: var(--line-strong); }
.card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.card__link:hover { color: inherit; }
.card__media { aspect-ratio: 16 / 10; background: var(--anth-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.card__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; font-size: .8125rem; color: var(--muted); margin-bottom: 8px; }
.card__meta time { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.card__cat { color: var(--text-2); font-weight: 500; }
.card__title { font-size: 1.0625rem; margin-bottom: 8px; transition: color var(--t-fast) var(--ease); }
.card:hover .card__title { color: var(--link); }
.card__text { color: var(--text-2); font-size: .9375rem; flex: 1; margin-bottom: 16px; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); font-size: .875rem; }
.card__facts { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; font-size: .8125rem; color: var(--muted); font-family: var(--mono); }
.img-ph { width: 100%; height: 100%; min-height: 120px; background: var(--anth-2) url("../img/emblem-outline.svg") center / 48px no-repeat; }

/* ---------- Filter / Chips / Paginierung ---------- */
.filter { display: grid; gap: 16px; padding: 20px; background: var(--bg-alt); border-radius: var(--r-lg); margin-bottom: 24px; }
.filter label { display: block; font-size: .8125rem; font-weight: 500; margin-bottom: 4px; color: var(--text-2); }
.filter__actions { display: flex; gap: 8px; align-items: flex-end; }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.input-icon input[type] { padding-left: 40px; }
.result-count { color: var(--muted); font-size: .875rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: 18px; border: 1px solid var(--line-strong); color: var(--ink); text-decoration: none; font-weight: 500; font-size: .875rem; transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-current] { background: var(--inverse); border-color: var(--inverse); color: var(--on-inverse); }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.pagination ol { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.pagination a, .pagination span[aria-current] { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r); text-decoration: none; font-weight: 500; color: var(--ink); gap: 4px; font-variant-numeric: tabular-nums; }
.pagination a:hover { background: var(--bg-alt); }
.pagination span[aria-current] { background: var(--inverse); color: var(--on-inverse); }
.pagination__gap { padding: 0 4px; color: var(--muted); align-self: center; }

/* ---------- Formulare ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="number"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 8px 12px; min-height: 44px;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
textarea { min-height: 160px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--line); }
[aria-invalid="true"] { border-color: var(--red) !important; }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
.form__group label { display: block; font-weight: 500; font-size: .9375rem; margin-bottom: 8px; }
.form__check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.form__check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); }
.form__check label { font-weight: 400; font-size: .875rem; color: var(--text-2); margin: 0; }
.form__check .form__error { grid-column: 2; }
.form__error { color: var(--link); font-size: .875rem; margin: 8px 0 0; }
.form__note { font-size: .875rem; color: var(--muted); margin: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.req { color: var(--link); }
.opt { color: var(--muted); font-weight: 400; }
.alert { padding: 16px 20px; border-radius: var(--r); margin-bottom: 20px; border: 1px solid; }
.alert p:last-child { margin: 0; }
.alert--success { background: var(--ok-bg); border-color: rgba(23, 102, 58, .25); color: var(--ok-ink); }
.alert--error { background: var(--red-50); border-color: rgba(176, 21, 30, .25); color: var(--err-ink); }
.alert--emergency { display: flex; gap: 12px; background: var(--bg-alt); border-color: var(--line); color: var(--text-2); font-size: .9375rem; }
.alert--emergency .icon { color: var(--link); margin-top: 4px; }

.form-layout { display: grid; gap: 40px; }
.contact-people { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.contact-people li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--line-strong); }
.contact-people span { color: var(--muted); font-size: .875rem; }
.contact-page { display: grid; gap: 40px; }

/* ---------- Detailseiten ---------- */
.detail { display: grid; gap: 40px; }
.detail__main { min-width: 0; }
.detail__cover { margin: 0 0 32px; }
.detail__cover a { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); }
.detail__cover img { width: 100%; max-height: 560px; object-fit: cover; }
.detail__cover figcaption { font-size: .875rem; color: var(--muted); padding-top: 8px; }
.article { max-width: 840px; }
.lead { font-size: 1.1875rem; line-height: 1.6; color: var(--ink); margin-bottom: 24px; }
.lead p:last-child { margin-bottom: 0; }

.prose { max-width: 68ch; font-size: 1.0625rem; line-height: 1.7; }
.prose--large { font-size: 1.1875rem; }
.prose--small { font-size: .9375rem; }
.prose h2 { font-size: 1.375rem; margin-top: 40px; }
.prose h3 { font-size: 1.125rem; margin-top: 32px; }
.prose ul, .prose ol { margin: 0 0 20px; }
.prose li { margin-bottom: 4px; }
.prose blockquote { margin: 24px 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--red); color: var(--text-2); }
.prose em { font-style: normal; color: var(--text-2); }
.prose > :last-child { margin-bottom: 0; }
.intro { margin-bottom: 8px; }

.fact-box { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-bottom: 16px; background: var(--bg); }
.fact-box__title { font-size: 1rem; margin-bottom: 8px; }
.fact-list { display: grid; grid-template-columns: auto 1fr; margin: 0; font-size: .875rem; }
.fact-list dt, .fact-list dd { padding: 8px 0; border-bottom: 1px dashed var(--line-strong); margin: 0; }
.fact-list dt { color: var(--muted); padding-right: 16px; }
.fact-list dd { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.fact-list dt:last-of-type, .fact-list dd:last-of-type { border-bottom: 0; }
.fact-list__vehicles { list-style: none; margin: 0; padding: 0; }
.fact-list__vehicles a { text-decoration: none; }
.note-box { background: var(--bg-alt); border-radius: var(--r-lg); padding: 20px; margin-top: 32px; }
.note-box h2 { font-size: 1.0625rem; }

.link-list { list-style: none; margin: 0; padding: 0; }
.link-list a { display: flex; flex-direction: column; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 500; font-size: .9375rem; }
.link-list a:hover { color: var(--link); }
.link-list span { font-size: .8125rem; color: var(--muted); font-weight: 400; font-family: var(--mono); }
.link-list li:last-child a { border: 0; }

.share { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; margin-top: 32px; }
.detail__side .share { margin-top: 0; }
.share__label { font-weight: 600; font-size: 1rem; margin-bottom: 12px; }
.share__buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.share__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--bg); color: var(--ink); text-decoration: none; font-size: .875rem; font-weight: 500; cursor: pointer; transition: border-color var(--t-fast) var(--ease); }
.share__btn:hover { border-color: var(--ink); color: var(--ink); }
.share__btn .icon { color: var(--muted); }
.share__btn[hidden] { display: none; }
.share__status { margin: 8px 0 0; font-size: .875rem; color: var(--ok); min-height: 20px; }

.prev-next { display: grid; gap: 16px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.prev-next__item { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); transition: border-color var(--t-fast) var(--ease); }
.prev-next__item:hover { border-color: var(--line-strong); color: var(--ink); }
.prev-next__item span { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: .8125rem; }
.prev-next__item--right { text-align: right; align-items: flex-end; }

/* ---------- Galerie & Lightbox ---------- */
.gallery { margin-top: 48px; }
.gallery__title { font-size: 1.125rem; }
.gallery__title span { color: var(--muted); font-weight: 400; font-family: var(--mono); }
.gallery__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery__grid a { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--bg-alt); }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity var(--t-fast) var(--ease); }
.gallery__grid a:hover img { opacity: .88; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(16, 18, 20, .96); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 12px 16px; animation: fadeIn 200ms var(--ease); }
.lightbox[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: var(--r-sm); }
.lightbox__caption { color: var(--on-dark-2); font-size: .875rem; margin-top: 12px; text-align: center; min-height: 20px; max-width: 80ch; }
.lightbox__count { position: absolute; top: 20px; left: 20px; color: var(--on-dark-muted); font-size: .875rem; font-family: var(--mono); }
.lightbox__btn { position: absolute; background: rgba(255, 255, 255, .08); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 24px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.lightbox__btn:hover { background: rgba(255, 255, 255, .18); }
.lightbox__btn .icon { width: 24px; height: 24px; }
.lightbox__close { top: 8px; right: 8px; }
.lightbox__prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 8px; top: 50%; transform: translateY(-50%); }
body.no-scroll { overflow: hidden; }

/* ---------- Tabellen ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: 24px; }
.data-table th, .data-table td { text-align: left; padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th[scope="row"] { width: 40%; color: var(--muted); font-weight: 400; }
.data-table thead th { font-size: .8125rem; color: var(--muted); font-weight: 500; border-bottom: 1px solid var(--line-strong); }
.data-table td:first-child { font-variant-numeric: tabular-nums; }
.data-table--list td:first-child { white-space: nowrap; color: var(--muted); font-family: var(--mono); font-size: .875rem; }
.data-table a { text-decoration: none; font-weight: 500; }

/* ---------- Über uns / Mitglied werden ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 18px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .875rem; transition: border-color var(--t-fast) var(--ease); }
.toc a:hover { border-color: var(--ink); color: var(--ink); }
.text-media { display: grid; gap: 32px; align-items: center; }
.text-media__media { margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.text-media__media img { width: 100%; }
.people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
.person__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); margin-bottom: 12px; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: var(--anth-2); color: var(--on-dark-2); font-size: 2rem; font-weight: 500; }
.person__name { font-weight: 600; margin: 0; }
.person__role { color: var(--muted); margin: 0; font-size: .875rem; }
.people--compact { grid-template-columns: 1fr; gap: 16px; }
.person--row { display: grid; grid-template-columns: 80px 1fr; gap: 16px; align-items: center; font-size: .9375rem; }
.person--row .person__photo { aspect-ratio: 1; margin: 0; border-radius: 40px; }
.person--row .person__ph { font-size: 1.5rem; }
.steps { display: grid; gap: 16px; }
.steps__item { background: var(--bg); border-radius: var(--r-lg); padding: 24px; border: 1px solid var(--line); }
.steps__title { font-size: 1.25rem; }
.steps__media { margin-bottom: 16px; border-radius: var(--r); overflow: hidden; }

/* ---------- Termine ---------- */
.event-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.event { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }
.event__date { background: var(--anth); color: #fff; border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 64px; }
.event--past .event__date { background: var(--raised); color: var(--text-2); }
.event__day { font-family: var(--mono); font-size: 1.375rem; font-weight: 500; line-height: 1; }
.event__month { font-size: .6875rem; line-height: 1; white-space: nowrap; opacity: .8; }
.event__title { margin-bottom: 4px; }
.event__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .875rem; margin-bottom: 8px; }
.event__meta span { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Statistik ---------- */
.stat-tiles { list-style: none; margin: 0 0 32px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.stat-tiles li { padding: 20px 16px 20px 0; display: flex; flex-direction: column; gap: 4px; font-size: .8125rem; color: var(--muted); border-bottom: 1px solid var(--line); }
.stat-tiles__value { color: var(--ink); font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 1.75rem; font-weight: 500; line-height: 1.1; }
.stat-grid { display: grid; gap: 24px; }
.chart { margin: 0; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.chart figcaption { font-weight: 600; margin-bottom: 4px; }
.chart__note { font-size: .8125rem; color: var(--muted); margin: 0 0 16px; }
.chart__svg { width: 100%; height: auto; }
.chart__grid { stroke: var(--line); stroke-width: 1; }
.chart__bar { fill: var(--chart-bar); }
.chart__bar--now { fill: var(--red); }
.chart__val { font-size: 12px; fill: var(--text-2); font-family: var(--mono); }
.chart__lbl { font-size: 12px; fill: var(--muted); font-family: var(--font); }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.hbars li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; font-size: .875rem; }
.hbars__bar { grid-column: 1; grid-row: 2; width: 100%; height: 6px; border-radius: 3px; overflow: hidden; }
.hbars__track { fill: var(--raised); }
.hbars__fill { fill: var(--anth-3); }
.hbars__val { grid-row: 1 / span 2; font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- Downloads ---------- */
.download-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.download { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: border-color var(--t-fast) var(--ease); }
.download:hover { border-color: var(--line-strong); color: var(--ink); }
.download__icon { color: var(--muted); }
.download__icon .icon { width: 24px; height: 24px; }
.download__text { display: flex; flex-direction: column; }
.download__text strong { font-weight: 600; }
.download__text span { color: var(--text-2); font-size: .9375rem; }
.download__text small { color: var(--muted); margin-top: 4px; font-family: var(--mono); font-size: .75rem; }
.download__action { width: 40px; height: 40px; border-radius: var(--r); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; color: var(--text-2); }

/* ---------- Karte (2-Klick) ---------- */
.map-consent { border-radius: var(--r-lg); overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); min-height: 360px; display: flex; align-items: center; justify-content: center; padding: 24px; }
.map-consent__box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; max-width: 480px; text-align: center; }
.map-consent__box .icon { color: var(--muted); width: 24px; height: 24px; margin: 0 auto 8px; }
.map-consent__box p { font-size: .875rem; color: var(--text-2); }
.map-consent iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-consent.is-loaded { padding: 0; display: block; }

/* ---------- Fehlerseiten ---------- */
.error-page { text-align: center; padding-block: 96px; }
.error-page img { margin: 0 auto 24px; }
.error-page__code { font-family: var(--mono); font-size: 1rem; color: var(--muted); margin-bottom: 12px; }
.error-page .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--anth); color: var(--on-dark-2); font-size: .9375rem; }
.footer__grid { display: grid; gap: 32px; padding-block: 56px 40px; }
.footer__name { color: #fff; font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }
.footer__sub { color: var(--on-dark-muted); margin-bottom: 16px; }
.footer__title { color: #fff; font-size: .9375rem; margin-bottom: 12px; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.footer__emergency { color: var(--on-dark-2); margin-top: 16px; }
.footer__emergency strong { color: #fff; font-family: var(--mono); font-weight: 500; }
.footer__bottom { border-top: 1px solid var(--line-dark); font-size: .8125rem; }
.footer__bottom-inner { display: flex; flex-direction: column; gap: 12px; padding-block: 20px; }
.footer__bottom p { margin: 0; }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 16px; }
.footer__social a { display: inline-flex; gap: 8px; align-items: center; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .topbar__hint { display: inline; }
  .topbar__links a span { display: inline; }
  .facts__list { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
  .facts__list li { border-top: 0; border-left: 1px solid var(--line-dark); padding-left: 24px; }
  .facts__list li:first-child { border-left: 0; padding-left: 0; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .incident__link { grid-template-columns: 64px 1fr auto auto; gap: 20px; padding: 20px 0; }
  .incident__date { height: 64px; }
  .incident__thumb { display: block; width: 112px; aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; }
  .incident__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .filter { grid-template-columns: 1fr 1fr; }
  .filter__field--search { grid-column: 1 / -1; }
  .form__row--2 { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: repeat(3, 1fr); }
  .stat-tiles { grid-template-columns: repeat(4, 1fr); }
  .prev-next { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .contact-list:not(.contact-list--stacked) { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex !important; position: static; align-items: center; gap: 16px; padding: 0; border: 0; box-shadow: none; max-height: none; overflow: visible; background: none; animation: none; }
  .site-nav ul { display: flex; gap: 4px; }
  .site-nav li a { border: 0; min-height: 36px; padding: 0 12px; font-size: .9375rem; position: relative; white-space: nowrap; border-radius: var(--r); transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
  .site-nav li a:hover { background: var(--bg-alt); color: var(--ink); }
  .site-nav li a[aria-current="page"] { color: var(--ink); background: var(--bg-alt); }
  .site-nav__cta { margin: 0; width: auto; min-height: 36px; padding: 0 16px; }
}

@media (min-width: 960px) {
  .header__inner { min-height: 76px; }
  .brand__logo { width: 44px; height: 44px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .section { padding-block: 96px; }
  .section--tight { padding-block: 56px; }
  .hero__inner { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; padding-top: 112px; min-height: 600px; }
  .hero__content { align-self: center; padding-bottom: 112px; }
  .hero__inner--solo { grid-template-columns: 1fr; }
  .home-split { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
  .about-teaser { grid-template-columns: 1fr 1fr; gap: 80px; }
  .contact-teaser { grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
  .cta-band__inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .detail { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; align-items: start; }
  .detail__side { position: sticky; top: 136px; }
  .filter { grid-template-columns: 2fr 1fr 1fr auto; align-items: end; }
  .filter__field--search { grid-column: auto; }
  .text-media { grid-template-columns: 1.15fr 1fr; gap: 64px; }
  .text-media--flip .text-media__text { order: 2; }
  .text-media--solo { grid-template-columns: 1fr; }
  .people { grid-template-columns: repeat(4, 1fr); }
  .people--compact { grid-template-columns: 1fr 1fr; }
  .stat-grid { grid-template-columns: 2fr 1fr; }
  .form-layout { grid-template-columns: 1fr 1.5fr; gap: 64px; }
  .contact-page { grid-template-columns: 1fr 1.2fr; gap: 64px; }
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
}

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

/* ==========================================================================
   Druckansicht (z. B. Einsatzberichte)
   ========================================================================== */
/* ---------- Wartungsmodus ---------- */
.maint-bar { background: var(--warn); color: #fff; font-size: .9375rem; }
.maint-bar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 24px; padding-block: 8px; }
.maint-bar p { margin: 0; }
.maint-bar__links { display: flex; gap: 20px; }
.maint-bar a { color: #fff; font-weight: 600; }
.maint-bar a:hover { color: #fff; }
.maint { background: var(--bg-alt); min-height: 100vh; }
.maint__main { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px var(--gutter); }
.maint__card { width: 100%; max-width: 560px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 24px; }
.maint__brand { display: flex; align-items: center; gap: 12px; font-weight: 600; margin-bottom: 32px; }
.maint__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-bottom: 16px; }
.maint__text { color: var(--text-2); }
.maint__text p:last-child { margin-bottom: 0; }
.maint__until { margin: 16px 0 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.maint__emergency { display: flex; gap: 12px; align-items: flex-start; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: .9375rem; color: var(--text-2); }
.maint__emergency .topbar__112 { flex: none; margin-top: 2px; }
.maint__emergency p { margin: 0; }
.maint__contact { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; font-size: .9375rem; }
.maint__contact li { display: flex; align-items: center; gap: 8px; }
.maint__contact .icon { color: var(--muted); }
.maint__contact a { color: var(--ink); font-weight: 500; text-decoration: none; }
.maint__contact a:hover { color: var(--link); }
@media (min-width: 640px) { .maint__card { padding: 40px; } }

/* ---------- Dunkelmodus: folgt der Einstellung des Geräts ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15181b;
    --bg-alt: #1b1f23;
    --raised: #2a3036;
    --anth: #1f2328;
    --anth-2: #262b30;
    --anth-3: #323940;
    --ink: #e8eaec;
    --text-2: #b6bdc3;
    --muted: #8e969d;
    --line: rgba(232, 234, 236, .1);
    --line-strong: rgba(232, 234, 236, .2);
    --line-dark: rgba(232, 234, 236, .08);
    --red-600: #c41d27;
    --red-50: #34171a;
    --link: #f07a80;
    --inverse: #e8eaec;
    --on-inverse: #15181b;
    --chart-bar: #4a5259;
    --ok-bg: #15271c;
    --ok-ink: #a7d8b6;
    --err-ink: #f3b4b7;
    --shadow-float: 0 8px 24px rgba(0, 0, 0, .45);
  }
  /* Hochgeladene Logos haben oft dunkle Schrift auf transparentem Grund: heller Untergrund */
  .brand__logo { background: #fff; border-radius: var(--r); padding: 2px; }
  .site-header, .page-head, .site-footer { border-color: var(--line); }
  .page-head { border-bottom: 1px solid var(--line); }
}

@media print {
  @page { margin: 18mm 16mm; }
  body { font-size: 11pt; color: #000; background: #fff; }
  .topbar, .site-nav, .nav-toggle, .warning, .site-footer .footer__grid, .footer__social, .share, .prev-next, .cta-band, .skip-link, .breadcrumb, .lightbox, .filter, .pagination { display: none !important; }
  .site-header { position: static; border-bottom: 1px solid #000; }
  .page-head { background: none; color: #000; padding: 12px 0; }
  .page-head h1, .page-head__lead, .page-head__meta { color: #000; }
  .tag--dark, .tag--red { background: none; color: #000; border: 1px solid #000; }
  .detail { display: block; }
  .detail__side { position: static; }
  .fact-box { border: 1px solid #000; break-inside: avoid; }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .detail__cover img { max-height: 90mm; }
  a { color: #000; text-decoration: none; }
  .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .site-footer { background: none; color: #000; }
  .footer__bottom { border-top: 1px solid #000; }
}
