/* ==========================================================================
   Freiwillige Feuerwehr Müden-Dieckhorst – gemeinsames Stylesheet
   Aufbau: 1 Schriften · 2 Variablen · 3 Basis · 4 Layout · 5 Kopfbereich
           6 Komponenten · 7 Seitenbereiche · 8 Fußbereich · 9 Hilfsklassen
   ========================================================================== */

/* 1 Schriften (lokal, keine externen Anbieter) ----------------------------- */
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-var.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Barlow Condensed";
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* 2 Variablen ---------------------------------------------------------------- */
:root {
  --red: #cc0505;          /* Signalrot aus dem Logo */
  --red-dark: #a10404;
  --red-tint: #fdeeee;
  --ink: #16191d;
  --text: #262b31;
  --muted: #59626d;
  --line: #e2e5e9;
  --surface: #f4f5f7;
  --white: #fff;
  --footer-bg: #16191d;
  --footer-text: #c8cdd4;
  --focus: #0b5fff;

  --font-body: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-head: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Arial, sans-serif;

  --container: 72rem;
  --gutter: 1.25rem;
  --radius: 0.75rem;
  --radius-sm: 0.5rem;
  --shadow: 0 1px 2px rgb(22 25 29 / 0.06), 0 6px 20px rgb(22 25 29 / 0.07);
  --header-h: 4.25rem;
}

/* 3 Basis --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }   /* „hidden“ gilt immer, auch bei Elementen mit eigener display-Angabe */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}
@media (min-width: 48em) { body { font-size: 1.125rem; } }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.6rem + 3vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 1.45rem + 1.8vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem); }
h4 { font-size: 1.2rem; }

p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: 0.3em; }
strong { font-weight: 650; color: var(--ink); }

/* Lange deutsche Wörter (z. B. „Kinderfeuerwehrwartin“) sauber umbrechen statt überlaufen */
body { overflow-wrap: break-word; }
@media (max-width: 39.99em) {
  p, li, dd, td, th, summary, figcaption { -webkit-hyphens: auto; hyphens: auto; }
}

a { color: var(--red); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--red-dark); }

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

hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

/* 4 Layout -------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

.section { padding-block: 3.5rem; }
.section--alt { background: var(--surface); }
.section--tight { padding-block: 2.25rem; }
@media (min-width: 64em) { .section { padding-block: 5rem; } }

.section-head { max-width: 46rem; margin-bottom: 2rem; }
.section-head p { color: var(--muted); font-size: 1.1em; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 40em) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) {
  .grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56em) {
  .split { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
  .split--reverse > :first-child { order: 2; }
  .split--wide-text { grid-template-columns: 1.2fr 1fr; }
}
.split img, .media img { border-radius: var(--radius); }

.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose > h2:first-child, .prose > h3:first-child, .prose > .eyebrow + h2 { margin-top: 0; }
.lead { font-size: 1.15em; color: var(--muted); }

/* 5 Kopfbereich ---------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus { top: 0.75rem; color: var(--white); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.97);
  border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgb(255 255 255 / 0.9); backdrop-filter: blur(8px); }
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.brand { display: inline-flex; flex-shrink: 0; margin-right: auto; padding-block: 0.4rem; }
.brand img { height: 2.75rem; width: auto; }
@media (min-width: 37.5em) { .brand img { height: 3.25rem; } }

.header-actions { display: flex; align-items: center; gap: 0.5rem; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav li { margin: 0; }
.main-nav a {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.main-nav a:hover { color: var(--red); }
.main-nav a[aria-current="page"] { color: var(--red); }

/* Mobil: aufklappbares Menü */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle svg { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 71.99em) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgb(22 25 29 / 0.12);
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { padding: 0.5rem var(--gutter) 1.25rem; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; }
  .main-nav li + li { margin-top: 0; border-top: 1px solid var(--line); }
  .main-nav a { padding: 0.8rem 0.25rem; font-size: 1.3rem; }
  .nav-fb a { display: flex; align-items: center; gap: 0.6rem; }
  .nav-fb svg { width: 1.4rem; height: 1.4rem; color: #1877f2; }
}
@media (max-width: 29.99em) {
  .header-actions .icon-link--fb { display: none; }
}
/* Kleine Smartphones: Logo, Abstände und Schaltfläche etwas kompakter */
@media (max-width: 24em) {
  :root { --gutter: 1rem; }
  .header-inner { gap: 0.5rem; }
  .header-actions { gap: 0.375rem; }
  .brand img { height: 2.5rem; }
  .header-actions .btn--sm { padding-inline: 0.75rem; font-size: 1rem; }
  .nav-toggle { width: 2.75rem; height: 2.75rem; }
}
@media (max-width: 21.25em) {
  .brand img { height: 2.125rem; }
}
@media (min-width: 72em) {
  .main-nav .nav-fb { display: none; }
  .nav-toggle { display: none; }
  .main-nav ul { display: flex; gap: 0.25rem 1.35rem; align-items: center; }
  .main-nav a { padding: 0.5rem 0; position: relative; }
  .main-nav a[aria-current="page"]::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0.15rem;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
  }
  .header-inner { gap: 1.5rem; }
}
.header-actions .btn--sm[aria-current="page"] { box-shadow: 0 0 0 3px var(--red-tint); }

/* 6 Komponenten ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.875rem;
  padding: 0.65rem 1.35rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  max-width: 100%;
  cursor: pointer;
}
.btn svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--outline { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--red-tint); color: var(--ink); }
.btn--ghost-light { border-color: rgb(255 255 255 / 0.85); color: var(--white); background: rgb(0 0 0 / 0.15); }
.btn--ghost-light:hover { background: var(--white); color: var(--ink); }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 1.05rem; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 2.875rem;
  border-radius: 999px;
  color: var(--ink);
}
.icon-link:hover { color: var(--red); background: var(--surface); }
.icon-link svg { width: 1.45rem; height: 1.45rem; }

/* Karten */
.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
/* Bildbereich oben abrunden (die Karte selbst schneidet nicht ab, damit der Hover-Schatten sichtbar bleibt) */
.card__media, .card__placeholder { border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; overflow: hidden; }
.card__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card__body { padding: 1.35rem 1.35rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body > *:last-child { margin-bottom: 0; }
.card__title { margin-bottom: 0.4rem; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
/* Hover: Karte hebt sich an; der stärkere Schatten liegt auf einer eigenen Ebene und wird nur ein-/ausgeblendet */
.card--link { position: relative; transition: transform 0.15s ease; }
.card--link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 2px 4px rgb(22 25 29 / 0.08), 0 14px 32px rgb(22 25 29 / 0.12);
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}
.card--link:hover { transform: translateY(-2px); }
.card--link:hover::after { opacity: 1; }
.card--link:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.card--link .card__title a:focus-visible { outline: none; }
.card__more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--red);
}
.card__more::after { content: " →"; }

/* Notruf */
.emergency {
  background: var(--red);
  color: var(--white);
}
.emergency__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-block: 1.1rem;
}
.emergency__number {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--white);
  text-decoration: none;
  padding: 0.35rem 1rem;
  border: 2px solid rgb(255 255 255 / 0.9);
  border-radius: 999px;
  min-height: 2.875rem;
}
.emergency__number:hover { background: var(--white); color: var(--red); }
.emergency__number svg { width: 1.5rem; height: 1.5rem; }
.emergency p { margin: 0; max-width: 46rem; }
.emergency strong { color: var(--white); }
.emergency a:not(.emergency__number) { color: var(--white); font-weight: 650; text-decoration-thickness: 0.1em; }
.emergency a:not(.emergency__number):hover { color: var(--white); text-decoration-thickness: 0.2em; }

/* Fokusrahmen auf dunklen und roten Flächen in Weiß */
.hero :focus-visible, .emergency :focus-visible, .cta :focus-visible { outline-color: var(--white); }

/* Hinweisbox */
.note {
  border-left: 4px solid var(--red);
  background: var(--red-tint);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.note > *:last-child { margin-bottom: 0; }
.note--neutral { border-left-color: var(--muted); background: var(--surface); }

/* Info-Liste mit Haken */
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 0.8rem no-repeat;
}

/* nummerierte Schritte */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 1.15rem 1.25rem 1.15rem 4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0;
}
.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem;
  top: 1.05rem;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.steps h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.steps p { margin: 0; }

/* Feature-Kacheln mit Icon */
.feature { padding: 1.5rem; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.feature__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: grid;
  place-items: center;
  background: var(--red-tint);
  color: var(--red);
  margin-bottom: 1rem;
}
.feature__icon svg { width: 1.6rem; height: 1.6rem; }
.feature--link { display: block; color: inherit; text-decoration: none; transition: transform 0.15s ease; }
.feature--link:hover { color: inherit; border-color: var(--red); transform: translateY(-2px); }
.feature--link h3 { color: var(--ink); }
.feature h3 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.feature p { margin: 0; color: var(--muted); }

/* Personen */
/* so viele Spalten, wie mit mindestens 16rem Breite passen – in schmalen Spalten automatisch einspaltig */
.people { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.person > span:last-child, .group-leads li > span:last-child { min-width: 0; }
.person, .group-leads, .roles, .specs, .card__body, .feature, .mail-option, .downloads, .contact-card { -webkit-hyphens: auto; hyphens: auto; }
.person {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.person__img, .person__initials {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}
.person__initials {
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
}
.person__name { font-weight: 650; color: var(--ink); line-height: 1.3; display: block; }
.person__role { color: var(--muted); font-size: 0.95em; line-height: 1.35; display: block; }

.contact-card {
  display: grid;
  gap: 1rem;
  grid-template-columns: 6.5rem 1fr;
  align-items: center;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.contact-card img { width: 6.5rem; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }

/* Funktionstabelle */
.roles { width: 100%; border-collapse: collapse; font-size: 0.98em; }
.roles caption { text-align: left; font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; color: var(--ink); padding-bottom: 0.5rem; }
.roles th, .roles td { text-align: left; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.roles th { font-weight: 600; color: var(--muted); width: 50%; }
.roles td { color: var(--ink); font-weight: 600; }
.roles tr:last-child th, .roles tr:last-child td { border-bottom: 0; }
.table-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 0.75rem 0.5rem; overflow-x: auto; }

/* Gruppen-Karten */
.group-card .card__body { gap: 0.75rem; }
.group-card .card__title { margin: 0; }
.group-meta { display: flex; align-items: flex-start; gap: 0.55rem; color: var(--muted); margin: 0; }
.group-meta svg { width: 1.2rem; height: 1.2rem; margin-top: 0.25em; flex-shrink: 0; color: var(--red); }
.group-leads { display: grid; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.group-leads li { margin: 0; display: flex; align-items: center; gap: 0.7rem; }
.group-leads .person__img, .group-leads .person__initials { width: 2.75rem; height: 2.75rem; font-size: 1rem; }
.card__placeholder {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #2a2f36, #16191d);
  color: var(--white);
}
.card__placeholder img { width: 38%; height: auto; aspect-ratio: auto; opacity: 0.95; }

/* Fahrzeuge */
.vehicle .card__media { position: relative; }
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.vehicle .badge { position: absolute; left: 0.9rem; top: 0.9rem; }
.vehicle__purpose { color: var(--muted); }
.specs { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0.35rem 1rem; margin: 0 0 1rem; font-size: 0.95em; }
@media (max-width: 22.5em) {
  .specs { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .specs dd { margin-bottom: 0.5rem; }
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; color: var(--ink); font-weight: 600; }
.vehicle__icon {
  aspect-ratio: 3 / 2;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #b30404, #7d0303);
  color: var(--white);
}
.vehicle__icon svg { width: 34%; height: auto; }
.vehicle__icon .badge { background: var(--white); color: var(--red-dark); }

details.more { border-top: 1px solid var(--line); margin-top: auto; }
details.more summary {
  cursor: pointer;
  padding: 0.75rem 0 0.25rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--red);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.75rem;
}
details.more summary::-webkit-details-marker { display: none; }
details.more summary::before { content: "+"; display: inline-grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid currentColor; font-size: 1rem; line-height: 1; }
details.more[open] summary::before { content: "–"; }
details.more ul { margin-top: 0.5rem; font-size: 0.97em; }

.gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 48em) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.gallery figcaption, .media figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.4rem; line-height: 1.4; }
.media { margin: 0; }

/* FAQ */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.25rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  min-height: 3rem;
  font-weight: 650;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-right: 2.5px solid var(--red);
  border-bottom: 2.5px solid var(--red);
  transform: rotate(45deg) translateY(-3px);
  flex-shrink: 0;
  margin-right: 0.35rem;
  transition: transform 0.15s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details > div { padding-bottom: 1rem; }
.faq details > div > *:last-child { margin-bottom: 0; }

/* Downloads */
.downloads { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
@media (min-width: 48em) { .downloads--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.downloads li { margin: 0; }
.downloads a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 3.5rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
  height: 100%;
}
.downloads a:hover { border-color: var(--red); color: var(--ink); }
.downloads svg { width: 1.75rem; height: 1.75rem; color: var(--red); flex-shrink: 0; }
.downloads .dl-title { font-weight: 600; display: block; line-height: 1.3; }
.downloads .dl-meta { font-size: 0.9rem; color: var(--muted); display: block; }

/* Zeitleiste */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  background: var(--line);
  border-radius: 2px;
}
.timeline > li { position: relative; padding: 0 0 1.75rem 2.4rem; margin: 0; }
.timeline > li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.45rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--red);
}
.timeline__year {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
}
.timeline__title { font-weight: 650; color: var(--ink); margin: 0.15rem 0 0.35rem; }
.timeline p { margin-bottom: 0.6rem; }
.timeline p:last-child { margin-bottom: 0; }
.timeline figure { margin: 0.75rem 0 0; max-width: 30rem; }
.timeline figure img { border-radius: var(--radius-sm); }
.timeline figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 0.35rem; }
@media (min-width: 48em) {
  .timeline::before { left: 8.6rem; }
  .timeline > li { padding-left: 10.75rem; }
  .timeline > li::before { left: 8.15rem; }
  .timeline__year { position: absolute; left: 0; top: 0; width: 7.4rem; text-align: right; }
}
.timeline--compact > li { padding-bottom: 1.1rem; }

.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  vertical-align: middle;
  margin-right: 0.35rem;
}
.tag--mueden { background: #e7eefb; color: #1d4c9c; }
.tag--dieckhorst { background: #e6f4ec; color: #1d6b40; }
.tag--gemeinsam { background: var(--red-tint); color: var(--red-dark); }
.legend { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin-bottom: 2rem; color: var(--muted); font-size: 0.95rem; align-items: center; }

/* Seitenkopf der Unterseiten */
.page-head {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding-block: 2.5rem 2.25rem;
}
@media (min-width: 48em) { .page-head { padding-block: 3.75rem 3.25rem; } }
.page-head h1 { margin-bottom: 0.5rem; }
.page-head p { max-width: 46rem; color: var(--muted); font-size: 1.15em; margin: 0; }
.breadcrumb { font-size: 0.95rem; margin-bottom: 0.75rem; color: var(--muted); }
.breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 0.35rem; color: var(--muted); }
.breadcrumb a { color: var(--muted); }

.subnav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; padding: 0; list-style: none; }
.subnav li { margin: 0; }
.subnav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.subnav a:hover { border-color: var(--red); color: var(--red); }

/* 7 Seitenbereiche --------------------------------------------------------------- */
/* Hero Startseite */
.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  background: var(--ink);
  min-height: min(44rem, 88vh);
  display: flex;
  align-items: flex-end;
}
.hero__media, .hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, rgb(13 15 18 / 0.92) 0%, rgb(13 15 18 / 0.72) 45%, rgb(13 15 18 / 0.25) 100%);
}
@media (min-width: 56em) {
  .hero { align-items: center; }
  .hero::after {
    background: linear-gradient(90deg, rgb(13 15 18 / 0.9) 0%, rgb(13 15 18 / 0.72) 42%, rgb(13 15 18 / 0.15) 78%);
  }
}
.hero__content { padding-block: 6rem; max-width: 40rem; }
/* Mobil: Bild oben, Text darunter auf dunklem Grund */
@media (max-width: 55.99em) {
  .hero { display: block; min-height: 0; }
  .hero::after { display: none; }
  .hero__media { position: relative; display: block; z-index: 0; }
  .hero__media img { position: static; height: auto; aspect-ratio: 7 / 5; z-index: 0; }
  .hero__media::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 45%;
    background: linear-gradient(180deg, rgb(22 25 29 / 0) 0%, var(--ink) 100%);
  }
  .hero__content { padding-block: 0.5rem 2.75rem; margin-top: -2.5rem; position: relative; }
}
.hero h1 { color: var(--white); font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.6rem); margin-bottom: 1rem; }
.hero .eyebrow { color: #ff8f86; }
.hero p { font-size: 1.2em; color: #eef0f3; margin-bottom: 0; }

/* Aktuelles: Facebook-Beiträge erst nach Klick laden (2-Klick-Lösung) */
.news { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56em) {
  .news { grid-template-columns: minmax(0, 1fr) minmax(0, 31.5rem); gap: 3.5rem; align-items: center; }
}
.fb-feed {
  width: 100%;
  max-width: 31.5rem;            /* Facebook stellt das Seiten-Plugin maximal 500 px breit dar */
  justify-self: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.fb-feed iframe { display: block; width: 100%; max-width: 500px; margin-inline: auto; border: 0; background: var(--white); }
.fb-skeleton { display: grid; gap: 1rem; padding: 1.5rem 1.5rem 0; }
.fb-skeleton__post { display: grid; grid-template-columns: 2.5rem 1fr; gap: 0.5rem 0.75rem; align-items: center; }
.fb-skeleton__post::before { content: ""; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--surface); grid-row: span 2; }
.fb-skeleton__post span { height: 0.6rem; border-radius: 4px; background: var(--surface); }
.fb-skeleton__post span:last-child { width: 55%; }
.fb-skeleton__img { height: 6.5rem; border-radius: var(--radius-sm); background: linear-gradient(135deg, var(--surface), #e8eaee); }
.fb-consent__body { padding: 1.25rem 1.5rem 1.5rem; }
.fb-consent__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--ink);
}
.fb-consent__title svg { width: 1.75rem; height: 1.75rem; color: #0866ff; flex-shrink: 0; }
.fb-consent__body p { font-size: 0.97rem; color: var(--muted); }
.fb-consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; margin-top: 1rem; }
.fb-consent__actions[hidden] { display: none; }
.btn--fb { background: #0866ff; color: var(--white); }
.btn--fb:hover { background: #0652cc; color: var(--white); }
.check { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; cursor: pointer; font-size: 0.97rem; color: var(--text); }
.check input { width: 1.25rem; height: 1.25rem; margin: 0; flex-shrink: 0; accent-color: var(--red); }
.fb-feed__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  padding: 0.6rem 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.fb-feed__footer p { margin: 0; }
.link-button {
  min-height: 2.75rem;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 650;
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.link-button:hover { color: var(--red-dark); }

/* Kontakt-/Mitmachen-Block */
.cta {
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
}
@media (min-width: 48em) { .cta { padding: 2.75rem 3rem; } }
.cta h2, .cta h3, .cta strong { color: var(--white); }
.cta p { color: #fff3f2; }
.cta a:not(.btn) { color: var(--white); }

.mail-options { display: grid; gap: 0.75rem; }
@media (min-width: 40em) { .mail-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64em) { .mail-options { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mail-option {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  min-height: 4.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  text-decoration: none;
}
.mail-option:hover { border-color: var(--red); color: var(--ink); }
.mail-option svg { width: 1.6rem; height: 1.6rem; color: var(--red); flex-shrink: 0; }
.mail-option strong { display: block; line-height: 1.25; }
.mail-option span span { display: block; font-size: 0.92rem; color: var(--muted); line-height: 1.35; }

.address { font-style: normal; }
.copy-mail {
  display: inline-block;
  font-weight: 650;
  font-size: 1.15em;
  user-select: all;
  word-break: break-all;
}

/* 8 Fußbereich -------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 3.5rem;
  font-size: 1rem;
}
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #ffb3ad; }
.site-footer :focus-visible { outline-color: #8fb4ff; }
.footer-grid { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 64em) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer-brand img { height: 3.5rem; width: auto; margin-bottom: 1rem; }
.footer-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  margin: 0 0 0.75rem;
}
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li + li { margin-top: 0.15rem; }
.footer-list a { display: inline-block; padding-block: 0.3rem; text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer-112 {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: var(--red);
  color: var(--white) !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  text-decoration: none;
  min-height: 2.75rem;
}
.footer-112:hover { background: var(--red-dark); }
.footer-112 svg { width: 1.2rem; height: 1.2rem; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1rem; }
.footer-social .icon-link { color: var(--white); background: rgb(255 255 255 / 0.08); }
.footer-social .icon-link:hover { background: #1877f2; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.95rem;
}
.footer-bottom ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.footer-bottom li { margin: 0; }
.footer-bottom a { display: inline-block; padding-block: 0.35rem; }

/* 9 Hilfsklassen ------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.text-muted { color: var(--muted); }
.mt-0 { margin-top: 0 !important; }
.mt-2 { margin-top: 2rem !important; }
.mt-3 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.center { text-align: center; }
.small { font-size: 0.92em; }
.nowrap { white-space: nowrap; }

/* 10 Interaktionen und Animationen ------------------------------------------------
   Regeln: Animiert werden ausschließlich transform und opacity.
   Bei „Bewegung reduzieren“ (prefers-reduced-motion) schaltet Abschnitt 3 alle
   Animationen und Übergänge ab; rein dekorative Effekte werden ausgeblendet. */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(0.75rem); }
  to { opacity: 1; transform: none; }
}

/* 10.1 Scroll-Fortschritt als Feuerwehrschlauch (unterer Rand des Kopfbereichs) */
.scroll-hose {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 5px;
  overflow: hidden;
  pointer-events: none;
}
.scroll-hose__water {
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 0.4) 0 1px, transparent 1px 3px, rgb(0 0 0 / 0.2) 3px 100%),
    repeating-linear-gradient(115deg, #cc0505 0 3px, #ad0404 3px 6px);
  border-radius: 0 3px 3px 0;
}
.scroll-hose__water::after {        /* Strahlrohr an der Spitze */
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 14px;
  background: linear-gradient(180deg, #f0f1f3, #9aa1a9);
  border-radius: 0 3px 3px 0;
}
@keyframes hose-fill {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@supports (animation-timeline: scroll()) {
  .scroll-hose__water { animation: hose-fill linear both; animation-timeline: scroll(root block); }
}
.scroll-hose--js .scroll-hose__water { transition: transform 0.2s linear; }

/* 10.2 Zeitleiste: Einträge blenden beim Hereinscrollen ein (ausgelöst per
   IntersectionObserver, dann vollständig in 0,5 s – kein Eintrag bleibt halb sichtbar) */
.reveal-pending { opacity: 0; transform: translateY(0.75rem); }
.reveal-pending::before { transform: scale(0.3); }
.reveal-in { transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal-in::before { transition: transform 0.4s ease 0.1s; }

/* 10.3 Blaulicht-Schein im Hero: zwei weiche Lichtkegel, je einmal, unter 1 Hz */
.hero > .container { position: relative; z-index: 1; }
.hero__beacon {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero__beacon::before,
.hero__beacon::after {
  content: "";
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(60 125 255 / 0.62) 0%, rgb(60 125 255 / 0.22) 38%, transparent 66%);
  opacity: 0;
  animation: beacon 2.4s ease-in-out 0.6s 1 both;
}
.hero__beacon::before { top: -32vmax; right: -26vmax; }
.hero__beacon::after { top: -34vmax; left: -34vmax; animation-delay: 1.3s; }
@keyframes beacon {
  0% { opacity: 0; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.06); }
}

/* 10.4 Fahrzeug-Explorer */
.explorer__tabs { display: none; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.explorer.is-ready .explorer__tabs { display: flex; }
.explorer__tab {
  min-height: 2.75rem;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.explorer__tab:hover { border-color: var(--ink); }
.explorer__tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.explorer__view { display: grid; gap: 1.5rem; align-items: start; }
.explorer__view + .explorer__view { margin-top: 2.5rem; }
.explorer.is-ready .explorer__view + .explorer__view { margin-top: 0; }
.explorer__view[hidden] { display: none; }
.explorer__view:focus { outline: none; }
@media (min-width: 64em) { .explorer__view { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; } }
.explorer__heading { grid-column: 1 / -1; margin: 0; }
.explorer.is-ready .explorer__heading {
  position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.explorer__stage { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--ink); }
.explorer__stage img { width: 100%; height: auto; }
.hotspot {
  position: absolute;
  display: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  cursor: pointer;
}
.explorer.is-ready .hotspot { display: grid; }
.hotspot::before {                   /* kurzer Puls zum Entdecken: 2 × 2 s */
  content: "";
  position: absolute;
  inset: 0.4rem;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.85);
  opacity: 0;
  animation: hotspot-pulse 2s ease-out 0.8s 2;
}
@keyframes hotspot-pulse {
  0% { opacity: 0.85; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.9); }
}
.hotspot__dot {
  position: relative;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 0 0 3px var(--white), 0 4px 10px rgb(0 0 0 / 0.35);
  transition: transform 0.2s ease;
}
.hotspot:hover .hotspot__dot, .hotspot[aria-expanded="true"] .hotspot__dot { transform: scale(1.15); }
.hotspot[aria-expanded="true"] .hotspot__dot { background: var(--ink); }
.hotspot:focus-visible { outline: 3px solid var(--white); outline-offset: 0; box-shadow: 0 0 0 6px var(--focus); }
.explorer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.explorer__list li { margin: 0; }
.explorer__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  scroll-margin-top: calc(var(--header-h) + 1rem);
}
.explorer__item[open] { border-color: var(--ink); }
.explorer__item summary {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3rem;
  padding: 0.6rem 1rem;
  font-weight: 650;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}
.explorer__item summary::-webkit-details-marker { display: none; }
.explorer__num {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
}
.explorer__item[open] .explorer__num { background: var(--ink); }
.explorer__text { padding: 0 1rem 1rem 3.5rem; }
.explorer__text p { margin: 0; color: var(--text); }
.explorer__item[open] .explorer__text { animation: fade-up 0.3s ease both; }

/* 10.5 Notruf-Trainer */
.trainer {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@media (min-width: 48em) { .trainer { padding: 2rem 2.5rem; } }
.trainer[hidden] { display: none; }
.trainer__head h3 { margin-bottom: 0.5rem; }
.trainer__scenario { color: var(--muted); }
.trainer__progress { height: 0.5rem; margin: 1.25rem 0 0.4rem; background: var(--surface); border-radius: 999px; overflow: hidden; }
.trainer__bar { display: block; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.trainer__count { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.5rem; }
.trainer__step:not([hidden]) { animation: fade-up 0.3s ease both; }
.trainer__q { margin: 0 0 1rem; font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; line-height: 1.25; color: var(--ink); }
.trainer__q:focus { outline: none; }
.trainer__w { display: inline-block; margin-right: 0.4rem; padding: 0.05rem 0.55rem; border-radius: 0.4rem; background: var(--red); color: var(--white); }
.trainer__options { display: grid; gap: 0.6rem; }
.trainer__option {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.trainer__option:hover { border-color: var(--ink); }
.trainer__option[aria-disabled="true"] { cursor: default; }
.trainer__option[aria-disabled="true"]:not(.is-correct):not(.is-wrong):not(.is-solution) { opacity: 0.6; }
.trainer__option.is-correct, .trainer__option.is-solution { border-color: #1d7a46; background: #eaf6ef; }
.trainer__option.is-wrong { border-color: var(--red); background: var(--red-tint); }
.trainer__mark { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.is-correct .trainer__mark, .is-solution .trainer__mark { color: #1d6b40; }
.is-wrong .trainer__mark { color: var(--red-dark); }
.trainer__feedback { margin-top: 1rem; padding: 0.9rem 1.1rem; border-left: 4px solid #1d7a46; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: #eaf6ef; }
.trainer__feedback.is-wrong { border-left-color: var(--red); background: var(--red-tint); }
.trainer__feedback:not([hidden]) { animation: fade-up 0.25s ease both; }
.trainer__feedback p { margin: 0; color: var(--ink); }
.trainer__feedback:focus, .trainer__result:focus { outline: none; }
.trainer__next { margin-top: 1rem; }
.trainer__result { margin-top: 0.5rem; }
.trainer__result:not([hidden]) { animation: fade-up 0.3s ease both; }
.trainer__result-title { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); }

/* 10.6 Mini-Spiel „Feuer löschen“ */
.game { max-width: 52rem; margin: 3rem auto 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.game[hidden] { display: none; }
.game__head { padding: 1.25rem 1.5rem 0.25rem; }
.game__head h3 { margin-bottom: 0.4rem; }
.game__help { color: var(--muted); font-size: 0.97rem; }
.game__stage { position: relative; }
.game canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #dcecff; cursor: crosshair; }
.game.is-running canvas { touch-action: none; }
.game canvas:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; border-radius: 0; }
.game__overlay { position: absolute; inset: 0; display: grid; place-items: center; background: rgb(22 25 29 / 0.35); }
.game__overlay[hidden] { display: none; }
.game__status { margin: 0; padding: 0.8rem 1.5rem 1.1rem; font-weight: 650; color: var(--ink); }

/* 10.7 Martinshorn-Extra: das Logo wackelt kurz mit */
@keyframes tatue {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
}
.brand.is-tatue img { animation: tatue 0.84s ease-in-out 2; }

/* 10.8 Bewegung reduzieren: dekorative Effekte ganz ausblenden */
@media (prefers-reduced-motion: reduce) {
  .scroll-hose, .hero__beacon { display: none; }
  .reveal-pending { opacity: 1; transform: none; }
}

/* 11 Druckansicht ---------------------------------------------------------------- */
@media print {
  .site-header, .skip-link, .nav-toggle, .subnav, .btn, .btn-row, .fb-feed, .site-footer .footer-social,
  .scroll-hose, .hero__beacon, .game, .trainer, .explorer__tabs, .hotspot { display: none !important; }
  .timeline > li, .timeline > li::before, .reveal-pending { animation: none !important; opacity: 1 !important; transform: none !important; }
  .explorer__view[hidden] { display: grid !important; }
  body { font-size: 11pt; color: #000; }
  .section, .page-head { padding-block: 1rem; background: none; border: 0; }
  .hero { min-height: 0; color: #000; background: none; }
  .hero::after, .hero__media { display: none; }
  .hero h1, .hero p { color: #000; }
  .hero__content { padding-block: 0; }
  .emergency { background: none; color: #000; border: 2px solid #000; }
  .emergency__number, .emergency strong, .emergency a { color: #000 !important; }
  .card, .feature, .person, .table-wrap, .steps > li { box-shadow: none; break-inside: avoid; }
  .site-footer { background: none; color: #000; padding-top: 1rem; }
  .site-footer a, .footer-title { color: #000; }
  .footer-brand img { display: none; }
  a[href^="http"]:not(.btn)::after { content: " (" attr(href) ")"; font-size: 0.85em; word-break: break-all; }
}
