/* Infraschutz – Klick-Prototyp · Stylesheet
   Designsystem „xAI": warmweißer Canvas, Creme-Karten ohne Rahmen und Schatten,
   Switzer in zwei Gewichten (Überschriften 600, Text 400; Navigation und Buttons 500), ein schwarzer Pill-Button.
   Alle Farben, Größen und Abstände als Variablen (Spec 5.1–5.4). */

@font-face {
  font-family: "Switzer";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Switzer-Variable.woff2") format("woff2");
  /* Unveränderte Datei von Fontshare (ITF Free Font License 2.0, assets/fonts/LICENSE-Switzer.txt); kein Subsetting, kein unicode-range (Lizenz Abschnitt 02). */
}

:root {
  /* Farben (Spec 5.1) */
  --color-paper:    #ffffff;
  --color-cream:    #f9f8f6;
  --color-sand:     #f2ede5;
  --color-charcoal: #151515;
  --color-jet-ink:  #0a0a0a;
  --color-slate:    #3b3b3b;
  --color-steel:    #545454;
  --color-fog:      #858585;
  --color-pewter:   #9d9d9d;
  --color-dove:     #d5d9e2;
  --color-jet-raised: #1f1f1f; /* Feedback 1: nur Dropdown-Hover im dunklen Header */
  --color-sunbeam:  #ffbd2e; /* ohne Einsatz */
  --color-ember:    #ff5f57; /* ohne Einsatz */
  --color-sprout:   #28c840; /* ohne Einsatz */

  /* Buttons (Feedback 5): immer invers zur Sektion, gesetzt über --btn-bg/--btn-fg */
  --btn-bg: #0a0a0a;
  --btn-fg: #ffffff;

  /* Schrift */
  --font: "Switzer", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout (Spec 5.3) */
  --max: 1200px;
  --pad: 24px;
  --section: 96px;
  --section-lg: 144px;
  --card-pad: 40px;
  --gap: 24px;
  --stack: 12px;
  --header-h: 72px; /* Feedback 3: Luft für die größere Wortmarke */

  /* Radien binär, als Literale im Code: Pills 9999px, Karten 16px, kleine Karten 8px, Inputs 6px (Spec 5.3) */
}

@media (max-width: 767px) {
  :root { --section: 64px; }
}

/* ---------- Basis ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-steel);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: var(--color-jet-ink); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--color-jet-ink);
  outline-offset: 2px;
}
strong { font-weight: 600; }

/* Typografische Skala (Spec 5.2) */
h1, h2, h3 { margin: 0 0 var(--stack); color: var(--color-jet-ink); font-weight: 600; letter-spacing: -0.02em; } /* Feedback 2: Überschriften 600 */
h1, h2, h3 { hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; word-break: normal; } /* Feedback 5: keine Silbentrennung in Überschriften */
.nobr { white-space: nowrap; }
h1 { font-size: clamp(2rem, 8vw, 4.5rem); line-height: 1.0; font-weight: 600; letter-spacing: -0.03em; } /* Feedback 1: H1 kräftiger, variable Schrift · Mindestwert 2rem, damit „Datenschutzerklärung" bei 375px in eine Zeile passt (Regel aus Feedback 5) */
h2 { font-size: 48px; line-height: 48px; letter-spacing: -0.03em; }
h3 { font-size: 24px; line-height: 32px; }
p { margin: 0 0 var(--stack); }
p, li, figcaption { text-wrap: pretty; } /* Feedback 6: kein Einzelwort in der letzten Zeile; ältere Browser ignorieren die Regel */
p:last-child { margin-bottom: 0; }
.lead { font-size: 18px; line-height: 28px; color: var(--color-steel); }
.muted { color: var(--color-steel); }

.date, .source {
  display: block;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--color-steel);
}
.source a { color: var(--color-steel); text-decoration: none; }
.source a:hover, .source a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: var(--section) 0; }
.section-sand { background: var(--color-sand); }
.section-head { margin-bottom: 40px; }
.section-head p { font-size: 18px; line-height: 28px; color: var(--color-steel); margin-top: 16px; }

/* ---------- Header und Navigation (Spec 5.3, Feedback 1: dunkler Header) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-jet-ink);
  color: var(--color-paper);
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: var(--gap);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  text-decoration: none;
  color: var(--color-paper);
  font-size: 22px;
  line-height: 28px;
  font-weight: 600;
}
.brand__text { display: flex; flex-direction: column; align-items: flex-start; }
.brand__name { display: block; font-size: 22px; line-height: 24px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; } /* Feedback 3/5: Versalien nur in der Wortmarke, Textknoten bleibt „Infraschutz" */
.brand__sub { display: block; font-size: 9px; line-height: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 2px; } /* Feedback 5: Unterzeile GRUPPE, zweite Versalien-Stelle */
.site-header .nav > ul > li:not(.nav-cta) > a, .site-header .nav .nav-btn { transform: translateY(-6px); } /* Menü auf der Grundlinie von INFRASCHUTZ; Transform nur auf den Links, damit .nav-cta (absolut) am Header-Rand bleibt */
.brand svg { width: 26px; height: 26px; color: var(--color-paper); } /* Logo-Zeichen von Martin (Sechseck mit Punkt), Strich aus der Datei */
.site-footer .brand, .site-footer .brand svg { color: var(--color-jet-ink); }
.site-footer .brand__name { font-size: 16px; line-height: 18px; }
.site-footer .brand__sub { font-size: 7px; line-height: 8px; }
.site-footer .brand svg { width: 22px; height: 22px; }

.nav-toggle {
  display: none;
  justify-self: end;
  grid-column: 3;
  background: none;
  border: 0;
  border-radius: 9999px;
  padding: 8px;
  color: var(--color-paper);
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; stroke-width: 1.5; }

.nav { grid-column: 2; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav li { position: relative; }
.nav a, .nav .nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.nav a:hover, .nav .nav-btn:hover, .nav .nav-btn[aria-expanded="true"] { color: var(--color-paper); }
.nav a.active, .nav .nav-btn.active-parent { color: var(--color-paper); }
.nav .nav-btn svg { width: 14px; height: 14px; stroke-width: 1.5; color: rgba(255, 255, 255, 0.85); }
.nav .nav-btn:hover svg, .nav .nav-btn[aria-expanded="true"] svg { color: var(--color-paper); }

.dropdown {
  list-style: none;
  margin: 0;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--color-jet-ink);
  border-radius: 16px;
  padding: 8px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 60;
}
.dropdown li { width: 100%; }
.dropdown a {
  display: block;
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-paper);
}
.dropdown a:hover, .dropdown a:focus-visible { background: var(--color-jet-raised); color: var(--color-paper); }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { display: flex; }

/* Kontakt-Button rechts (invertiert: Paper auf Jet), Menü bleibt exakt mittig */
.nav .nav-cta {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.nav .nav-cta a.btn { padding: 12px 20px; background: var(--btn-bg); color: var(--btn-fg); }
.nav .nav-cta a.btn:hover { color: var(--btn-fg); }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: var(--color-paper); }

@media (max-width: 1023px) {
  .header-inner { position: static; grid-template-columns: 1fr auto; }
  .site-header .brand__name { font-size: 18px; line-height: 20px; }
  .site-header .brand__sub { font-size: 8px; line-height: 9px; }
  .site-header .nav > ul > li:not(.nav-cta) > a, .site-header .nav .nav-btn { transform: none; }
  .nav-toggle { display: block; grid-column: 2; }
  .nav {
    grid-column: auto;
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--color-jet-ink);
    padding: 12px var(--pad) var(--pad);
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a, .nav .nav-btn { display: block; width: 100%; padding: 12px 8px; }
  .nav .nav-btn { display: none; }
  .dropdown { position: static; display: flex; padding: 8px; min-width: 0; background: var(--color-jet-raised); }
  .nav .nav-cta { position: static; transform: none; margin-top: 12px; }
  .nav .nav-cta a.btn { display: inline-flex; width: auto; }
}

/* ---------- Buttons (Feedback 5: ein System, invers zur Sektion) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 9999px;
  font: inherit;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-fg);
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.9; }
.site-header, .section--dark, .hero-video-bg, .hero--video { --btn-bg: var(--color-paper); --btn-fg: var(--color-jet-ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--stack); margin-top: 28px; }

/* Textlinks („Zur Quelle", „Zum Lagebild"): Jet, Unterstrich nur bei Fokus/Hover */
.text-link {
  display: inline-block;
  margin-top: var(--stack);
  color: var(--color-jet-ink);
  font-weight: 400;
  text-decoration: none;
}
.text-link:hover, .text-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hero und Titelbilder (Spec 5.5) ---------- */
.hero { padding: var(--section-lg) 0 var(--section); }

/* Startseite (Nacharbeit Martin 02.09.2026): Video als Hintergrund, weiße Schrift, Verlauf zur Lesbarkeit */
.hero-video-bg, .hero--video {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76vh;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-charcoal);
  background-size: cover;
  background-position: center;
}
.hero-video-bg .hero-video, .hero--video .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.55) 100%); }
/* Mission-Hero: zehn Punkte staerker, weil der Titel dort sonst unter 4,5:1 liegt (Gate 36). Nur diese Seite. */
.hero-scrim--stark { background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.65) 100%); }
.hero-video-bg .hero-text, .hero--video .hero-text { position: relative; margin: 0 auto; padding-top: var(--section); padding-bottom: var(--section); }
.hero-video-bg h1, .hero-video-bg .lead, .hero--video h1 { color: var(--color-paper); }
.section--slim .note { margin-top: 0; }
@media (max-width: 767px) { .hero-video-bg, .hero--video { min-height: 60vh; } }
.hero-text { text-align: center; margin-bottom: 48px; }
.hero-text h1 { margin-left: auto; margin-right: auto; }
.hero-text .lead { margin: 16px auto 0; }
.hero-text .btn-row { justify-content: center; }

.media-card {
  background-color: var(--color-charcoal);
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.media-16x9 { aspect-ratio: 16 / 9; }
.media-21x9 { aspect-ratio: 21 / 9; }
.media-card .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.media-placeholder {
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-placeholder::after {
  content: attr(data-placeholder);
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--color-pewter);
}

@media (max-width: 767px) {
  .hero-video { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
  html { scroll-behavior: auto; }
  .site-header, .btn { transition: none; }
}

/* ---------- Raster und Karten (Spec 5.4) ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 899px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 599px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-cream);
  border-radius: 16px;
  padding: var(--card-pad);
}
.card h3 { color: var(--color-jet-ink); }
.card p { color: var(--color-steel); }
.icon { width: 32px; height: 32px; color: var(--color-fog); stroke-width: 1.5; margin-bottom: 16px; }
.card:hover .icon { color: var(--color-jet-ink); }
.card-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--color-jet-ink);
  font-weight: 500;
  text-decoration: none;
}
a.card-link:hover, a.card-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
span.card-link { color: var(--color-steel); }

.tile { padding: 0; overflow: hidden; }
.tile img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-charcoal);
}
.tile-media { aspect-ratio: 4 / 3; }   /* Feedback 8: Platzhalterflaeche einer Kachel im Bildformat */
.tile-body { padding: 24px; }
.tile-body h3 { font-size: 24px; line-height: 32px; }

.placeholder-block {
  background: var(--color-cream);
  border-radius: 16px;
  padding: var(--card-pad);
  color: var(--color-steel);
}

/* ---------- Listen ---------- */
.features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.features li strong {
  display: block;
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--color-jet-ink);
  margin-bottom: var(--stack);
}
@media (max-width: 767px) { .features { grid-template-columns: 1fr; } }

.steps { margin: 0; padding: 0 0 0 2.5em; }
.steps li { margin-bottom: 20px; padding-left: 8px; }
.steps li::marker { color: var(--color-steel); }
.steps li strong { display: block; color: var(--color-jet-ink); }

.plain-list { margin: 0; padding: 0 0 0 1.2em; }
.plain-list li { margin-bottom: var(--stack); }
.plain-list li::marker { color: var(--color-pewter); }

/* Lagebild-Einträge (Wissen): ohne Fläche, ohne Rahmen, 32px Abstand */
.entry { margin-bottom: 32px; }
.entry:last-child { margin-bottom: 0; }
.entry .date { margin-bottom: 4px; }
.entry h3 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.entry p { color: var(--color-steel); }

/* Aktuelle Meldungen (meldungen.html): Liste ohne Fläche, ohne Linien, Monatsgruppen */
.section-head .intro { font-size: 16px; line-height: 24px; color: var(--color-steel); margin-top: 16px; }
.incident-month {
  font-size: 13px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-steel);
  margin: 40px 0 16px;
}
.incidents .incident-month:first-child { margin-top: 0; }
.incident { margin-bottom: 32px; }
.incident:last-child { margin-bottom: 0; }
.incident-meta, .incident-source {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--color-steel);
  margin: 0;
}
.incident-title { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-jet-ink); margin: 4px 0; }
.incident-body { color: var(--color-steel); margin: 0 0 8px; }
.incident-source a { color: var(--color-steel); text-decoration: none; }
.incident-source a:hover, .incident-source a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

/* Analyse (Feedback 1): Teaser-Kacheln, Liste, Beitrag */
.media-3x2 { aspect-ratio: 3 / 2; }
a.analysis-tile { display: block; text-decoration: none; color: inherit; }
.analysis-media { position: relative; aspect-ratio: 3 / 2; background: var(--color-charcoal); overflow: hidden; }
.analysis-media img { width: 100%; height: 100%; object-fit: cover; }
.analysis-media.media-placeholder { background: var(--color-cream); }
.analysis-tile .tile-body h3 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.analysis-tile:hover .tile-body h3, .analysis-tile:focus-visible .tile-body h3 { text-decoration: underline; text-underline-offset: 3px; }
.license {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-jet-ink);
  font-size: 11px;
  line-height: 16px;
  letter-spacing: -0.01em;
}
.analysis-list { display: grid; gap: 40px; }
.analysis-item { display: grid; grid-template-columns: 2fr 3fr; gap: var(--gap); align-items: start; }
.analysis-item .media-card { position: relative; }
.analysis-text h3 { margin-bottom: var(--stack); }
.analysis-text p { color: var(--color-steel); }
@media (max-width: 767px) { .analysis-item { grid-template-columns: 1fr; } }
.article-meta {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--color-steel);
  margin: 8px 0 0;
}
.article-caption {
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.01em;
  color: var(--color-steel);
  margin: 12px 0 0;
}
.article { max-width: 760px; margin-top: 40px; } /* einzige Lesebreite: Fließtext im Analyse-Beitrag (Entscheidung Martin 02.09.2026) */
.article p { color: var(--color-steel); margin-bottom: 20px; }
.article .btn-row { margin-top: 32px; }

/* Feedback 7: Karten links, Laptop-Screenshot rechts („Was das Cockpit zeigt.“) */
.cockpit-split { display: grid; grid-template-columns: 1fr auto; gap: var(--gap); align-items: center; }
.cockpit-split .laptop { max-width: 560px; }
@media (max-width: 767px) { .cockpit-split { grid-template-columns: 1fr; gap: 40px; } .cockpit-split .laptop { max-width: none; } }

/* Cockpit-Screenshots (standort-ueberwachen.html): Bild in Creme-Karte, Bildunterschrift und Herkunftszeile */
.shot { margin: 0; }
.shot figcaption { margin-top: 16px; text-align: center; }
.shot-caption { display: block; font-size: 13px; line-height: 20px; letter-spacing: -0.01em; color: var(--color-steel); }
/* Laptop-Rahmen (Feedback 5): generisches Gerät, kein Hersteller-Nachbau. Verlauf und Schatten am Standfuß sind dokumentierte Ausnahmen. */
.laptop { max-width: 1000px; margin: 0 auto; padding-bottom: 4px; }
.laptop__screen { background: #1f1f1f; padding: 10px; border-radius: 12px 12px 0 0; border: 2px solid #3a3a3a; border-bottom: 0; }
.laptop__screen img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.laptop__base {
  width: 106%;
  margin-left: -3%;
  height: 14px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, 0.4);
}
@media (max-width: 767px) { .laptop { max-width: none; } .laptop__base { width: 100%; margin-left: 0; } }
.section-head + .shot { margin-top: 0; }

/* Lagebild-Teaser (Start): ohne Fläche, 3 Spalten */
.teaser .date { margin-bottom: 4px; }
.teaser h3 { font-size: 16px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 4px; }
.teaser p { color: var(--color-steel); }

/* Zähler (Start): drei Spalten auf Sand */
/* Feedback 8: „Zwei Wege" im Aufbau der Zahlen-Sektion — zwei Spalten ohne Karten */
.columns-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.columns-2 h3 { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.01em; color: var(--color-jet-ink); margin-bottom: var(--stack); }
.columns-2 p { color: var(--color-steel); }
@media (max-width: 767px) { .columns-2 { grid-template-columns: 1fr; gap: 40px; } }

.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.counter-value {
  display: block;
  font-size: 60px;
  line-height: 60px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-jet-ink);
  margin-bottom: var(--stack);
}
.counter-label { display: block; font-size: 14px; line-height: 20px; color: var(--color-steel); margin-bottom: var(--stack); }
@media (max-width: 767px) { .counters { grid-template-columns: 1fr; gap: 40px; } }

/* Zahlenliste (Wissen): zweispaltig auf Sand */
.figures { display: grid; gap: 40px var(--gap); }
.figure { display: grid; grid-template-columns: 200px 1fr; gap: var(--gap); align-items: start; }
.figure-value {
  display: block;
  font-size: 48px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--color-jet-ink);
}
.figure-text p { color: var(--color-steel); margin-bottom: 4px; }
@media (max-width: 767px) { .figure { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- Dunkle Sektionen (Feedback 2, nur Startseite): harte Kanten, keine Verläufe ---------- */
.section--dark { background: var(--color-jet-ink); color: rgba(255, 255, 255, 0.8); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--color-paper); }
.section--dark p, .section--dark .card p, .section--dark .teaser p, .section--dark .section-head .intro, .section--dark .tile-body p { color: rgba(255, 255, 255, 0.8); }
.section--dark .date, .section--dark .source { color: rgba(255, 255, 255, 0.7); }
.section--dark .card { background: var(--color-charcoal); }
.section--dark .card .icon { color: var(--color-paper); } /* Feedback 6: Piktogramme in dunklen Karten */
.section--dark .icon { color: var(--color-fog); }
.section--dark .card:hover .icon { color: var(--color-paper); }
.section--dark .media-placeholder, .section--dark .analysis-media.media-placeholder { background: var(--color-charcoal); }
.section--dark .media-placeholder::after { color: rgba(255, 255, 255, 0.5); }
.section--dark .card-link { color: var(--color-paper); }
.section--dark .text-link, .section--dark a.analysis-tile { color: var(--color-paper); }
.section--dark a:focus-visible { outline-color: var(--color-paper); }
/* Feedback 3: dunkle Sektionen auf allen Unterseiten */
.section--dark .features li strong, .section--dark .steps li strong, .section--dark .figure-value, .section--dark .counter-value { color: var(--color-paper); }
.section--dark .features li, .section--dark .steps li, .section--dark .plain-list li, .section--dark .figure-text p, .section--dark .counter-label { color: rgba(255, 255, 255, 0.8); }
.section--dark .steps li::marker, .section--dark .plain-list li::marker { color: rgba(255, 255, 255, 0.7); }
.section--dark .placeholder-block { background: var(--color-charcoal); color: rgba(255, 255, 255, 0.8); }
.section--dark .source a, .section--dark .note a, .section--dark .incident-source a { color: var(--color-paper); }
.section--slim { padding: 64px 0; }
.btn-row .text-link { margin-top: 0; align-self: center; }

/* Rechtstexte (Impressum, Datenschutzerklärung): ruhige Gliederung, keine Alternierung */
.legal h2 { font-size: 24px; line-height: 32px; margin-top: 40px; }
.legal h3 { font-size: 18px; line-height: 28px; margin-top: 28px; }
.legal p { color: var(--color-steel); margin-bottom: 12px; }
.legal ul { margin-bottom: 12px; }
.legal a { color: var(--color-jet-ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Hinweis-Zeile und CTA ---------- */
.note { margin-top: 40px; color: var(--color-steel); }
.note a { color: var(--color-jet-ink); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; } /* Feedback 6: „KRITIS-Zentrale" nicht am Bindestrich trennen */
.cta .container { text-align: center; }
.cta h2 { margin-bottom: 28px; }

/* ---------- Formular (Spec 5.4) ---------- */
.form { max-width: 640px; display: grid; gap: 20px; }
.form label { display: block; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--color-jet-ink); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%;
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  padding: 10px 14px;
  border: 1px solid var(--color-dove);
  border-radius: 6px;
  background: var(--color-cream);
  color: var(--color-jet-ink);
}
.form input::placeholder, .form textarea::placeholder { color: var(--color-pewter); }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: none;
  border-color: var(--color-jet-ink);
}
/* Honeypot fuer Netlify Forms: fuer Menschen unsichtbar, fuer Bots ausfuellbar */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; line-height: 20px; letter-spacing: -0.01em; color: var(--color-steel); margin: 0; }
.form-note a { color: var(--color-jet-ink); text-decoration: underline; text-underline-offset: 3px; }
.form-hint {
  background: var(--color-cream);
  color: var(--color-steel);
  padding: 12px 16px;
  border-radius: 8px;
}
.contact-aside { padding-top: 8px; }
.contact-aside h3 { margin-top: 24px; }
.contact-aside h3:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: calc(var(--section-lg) - var(--section));
  border-top: 1px solid var(--color-dove);
  padding: 48px 0 40px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-steel);
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-brand { max-width: 46ch; }
.footer-brand .brand { margin-bottom: var(--stack); }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a { color: var(--color-steel); text-decoration: none; font-weight: 500; }
.footer-links a:hover, .footer-links a:focus-visible { color: var(--color-jet-ink); }
.footer-meta {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 13px;
  line-height: 20px;
  letter-spacing: -0.01em;
}
