/* Rescue Analytics: Stylesheet Version 0.3 (helles Design)
   Schriften lokal eingebunden (keine Drittserver, vgl. § 25 TDDDG und Art. 6 DSGVO).
   Gestaltung nach Corporate Design Richtlinie 3.0:
   - Grundflächen White und Whitesmoke, Text in Midnight Ink und Graphite
   - Growth Green und Lime Spark nie als Textfarbe auf hellem Grund (Richtlinie S. 12),
     deshalb Hervorhebung als Balken unter dem Wort, Text bleibt Midnight Ink
   - Symbole: Lucide, 2 px, auf hellem Grund Midnight Ink (S. 17)
   - Karten Radius 12 bis 24 px, Schaltflächen als Pille (S. 18) */

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Aufbau: Seite in Whitesmoke wie Papier, Inhalte als weiße Karten, große Typografie trägt die Seite.
   Ein Akzent: der ansteigende Balken der Bildmarke unter Schlüsselwörtern. */
:root {
  --grund: #F2F5F5;      /* Whitesmoke: Seitengrund */
  --flaeche: #FCFFFF;    /* White: Karten, Kopfleiste */
  --ink: #021414;        /* Midnight Ink: Text */
  --graphite: #2A3C3C;   /* Graphite: Sekundärtext, Kontrast 11 : 1 auf Whitesmoke */
  --leise: #556363;      /* Graphite 80 %: kleine Zusatzangaben, Kontrast 6 : 1 */
  --linie: #CADCDC;      /* Grey: Rahmen */
  --linie-fein: #DFEAEA; /* Grey 60 %: Trennlinien, Schaltflächengrund */
  --green: #53FB8C;      /* Growth Green: Akzent, nie Textfarbe */
  --lime: #87FB1E;       /* Lime Spark: nur im Verlauf */
  --blue: #4D9DE0;       /* Trust Blue: Kennfarbe Rettungsdienst in Grafiken */
  --verlauf: linear-gradient(90deg, var(--green), var(--lime));

  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1280px;
  --radius-karte: 24px;
  --t-klein: 0.8125rem;   /* 13 px */
  --t-meta: 0.9375rem;    /* 15 px */
  --header-h: 64px;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--grund);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  touch-action: manipulation;
}
/* Band über der Kopfleiste auf Smartphones mit Kamera-Aussparung */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--flaeche);
}
.menue-offen body { overflow: hidden; }

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

a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }

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

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.nur-vorlesen {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprunglink {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  background: var(--ink);
  color: var(--flaeche);
  padding: 0.6rem 1rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}
.sprunglink:focus { top: 12px; }

.rahmen {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Symbole (Lucide, ISC-Lizenz) */
.symbol {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* Hervorhebung: Balken im Verlauf Green to Lime unter dem Wort, Text bleibt Midnight Ink */
.akzent {
  background-image: var(--verlauf);
  background-repeat: no-repeat;
  background-size: 100% 0.2em;
  background-position: 0 92%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding-inline: 0.03em;
}

/* Etikett "in Aufbau" */
.bald {
  display: inline-block;
  padding: 1px 9px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  color: var(--leise);
  background: var(--flaeche);
  font-family: var(--text);
  font-size: var(--t-klein);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* Schaltflächen */
.knopf {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.9rem 1.5rem;
  background: var(--verlauf);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.knopf:hover { background: var(--ink); color: var(--flaeche); }
.knopf-kontur {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: calc(0.9rem - 1px) 1.4rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.knopf-kontur:hover { background: var(--ink); color: var(--flaeche); }

.pfeillink {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}
.pfeillink .symbol { width: 18px; height: 18px; transition: transform 160ms ease; }
.pfeillink:hover { text-decoration-color: var(--ink); }
.pfeillink:hover .symbol { transform: translateX(3px); }

/* ---------- Kopfbereich ----------
   Der halbtransparente Hintergrund liegt auf einer eigenen Ebene (::before),
   damit das Smartphone-Menü (position: fixed) am Bildschirm ausgerichtet bleibt. */
.kopf {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  height: var(--header-h);
  isolation: isolate;
}
.kopf::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--flaeche) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--linie-fein);
}
.kopf > .rahmen {
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
}
.marke {
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
/* Nur die Bildmarke, so groß wie die Bildmarke in der früheren Kombination quer (144 px breit) */
.marke svg { width: 70px; height: auto; }

.nav-liste { list-style: none; margin: 0; padding: 0; }
.nav-oben {
  font: inherit;
  font-size: var(--t-meta);
  color: var(--graphite);
  background: none;
  border: 0;
  padding: 0.5rem 0.1rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 160ms ease;
}
.nav-oben:hover, .hat-unter.offen > .nav-oben { color: var(--ink); }
.nav-oben[aria-current="page"], .hat-unter.aktiv > .nav-oben {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.55em;
}
.pfeil { width: 16px; height: 16px; transition: transform 160ms ease; }
.hat-unter.offen .pfeil { transform: rotate(180deg); }

.nav-kontakt {
  display: inline-block;
  color: var(--ink);
  background: var(--verlauf);
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: var(--t-meta);
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}
.nav-kontakt:hover { color: var(--flaeche); background: var(--ink); }

.extern { width: 15px; height: 15px; opacity: 0.75; }

/* Sprachschalter DE | EN */
.sprachwahl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  font-size: var(--t-meta);
  font-weight: 500;
  letter-spacing: 0.03em;
}
.sprachwahl a, .sprache-aktiv { display: inline-block; padding: 8px 6px; line-height: 1; }
.sprachwahl a { color: var(--leise); text-decoration: none; }
.sprachwahl a:hover { color: var(--ink); }
.sprache-aktiv { color: var(--ink); }
.sprachwahl .trenner { color: var(--linie); }

/* Einträge der Untermenüs */
.unter ul { list-style: none; margin: 0; padding: 0; }
.unter-link {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
}
.unter-titel { color: var(--ink); font-size: var(--t-meta); font-weight: 500; line-height: 1.35; }
.unter-titel .bald { margin-left: 6px; }
.unter-text { color: var(--leise); font-size: var(--t-klein); line-height: 1.4; }
a.unter-link:hover, a.unter-link:focus-visible { background: var(--grund); }
.unter-link.uebersicht .unter-titel { font-weight: 600; }
.unter-link.uebersicht { margin-bottom: 4px; }
.hat-uebersicht li:first-child { border-bottom: 1px solid var(--linie-fein); padding-bottom: 4px; margin-bottom: 4px; }
.gesperrt { cursor: default; }
.gesperrt .unter-titel { color: var(--leise); }
.gesperrt .bald { justify-self: start; margin-top: 4px; }

/* Burger-Knopf */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
  place-items: center;
}
.burger-linien { position: relative; display: block; width: 22px; height: 14px; }
.burger-linien span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 200ms ease, opacity 150ms ease;
}
.burger-linien span:nth-child(1) { top: 0; }
.burger-linien span:nth-child(2) { top: 6px; }
.burger-linien span:nth-child(3) { top: 12px; }
.burger[aria-expanded="true"] .burger-linien span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger-linien span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger-linien span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Breite Bildschirme: Menüleiste mit Klappmenüs */
@media (min-width: 1100px) {
  .nav-liste { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 32px); }
  .hat-unter { position: relative; }
  .unter {
    position: absolute;
    top: calc(100% + 14px);
    left: -18px;
    width: 380px;
    padding: 8px;
    background: var(--flaeche);
    border: 1px solid var(--linie-fein);
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(2, 20, 20, 0.10), 0 2px 6px rgba(2, 20, 20, 0.04);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
  }
  .unter::before {
    /* Brücke über den Abstand, damit das Menü beim Hinüberfahren offen bleibt */
    content: "";
    position: absolute;
    left: 0; right: 0;
    top: -15px;
    height: 15px;
  }
  .hat-unter.offen > .unter {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 0s;
  }
  .unter-schmal > .unter { width: 300px; }
  .unter-rechts > .unter { left: auto; right: -18px; width: 300px; }
  .nav-kontakt-punkt { margin-left: clamp(4px, 1vw, 10px); }
}

/* Schmale Bildschirme: Burger-Menü */
@media (max-width: 1099px) {
  .burger { display: grid; }
  .navigation {
    display: none;
    position: fixed;
    top: calc(var(--header-h) + env(safe-area-inset-top, 0px));
    left: 0; right: 0; bottom: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--flaeche);
    padding: 8px max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  }
  .menue-offen .navigation { display: block; }
  .nav-punkt { border-bottom: 1px solid var(--linie-fein); }
  .nav-oben {
    width: 100%;
    justify-content: space-between;
    padding: 18px 0;
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--ink);
  }
  .pfeil { width: 20px; height: 20px; }
  .extern { width: 18px; height: 18px; }
  .nav-portal .nav-oben { justify-content: flex-start; gap: 8px; }
  .unter { display: none; padding: 0 0 14px; }
  .hat-unter.offen > .unter { display: block; }
  .unter-link { padding: 10px 0; }
  a.unter-link:hover, a.unter-link:focus-visible { background: none; }
  .nav-kontakt-punkt { border-bottom: 0; padding-top: 28px; }
  .nav-kontakt { display: block; text-align: center; padding: 0.95rem 1rem; font-size: 1rem; }
}

/* ---------- Einstieg ---------- */
.einstieg {
  position: relative;
  min-height: clamp(560px, 78svh, 820px);
  display: grid;
  align-items: center;
  padding-block: clamp(56px, 9vh, 112px) clamp(80px, 10vh, 120px);
  isolation: isolate;
  overflow: hidden;
}
.einstieg .rahmen { position: relative; }
.kicker {
  margin: 0 0 clamp(16px, 2vw, 24px);
  font-size: var(--t-klein);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}
.einstieg h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(min(3.1rem, calc((100vw - 32px) / 6.7)), 9.2vw, 8.6rem);   /* auf sehr schmalen Bildschirmen kleiner, damit lange Wörter passen */
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 10ch;
  position: relative;
  z-index: 0;            /* eigene Ebene: Balken liegt hinter der Schrift */
}
.einstieg h1 .zeile { display: block; }
/* Ansteigender Balken wie in der Bildmarke (Anstieg 6°), nur einmal pro Seite */
.balken-wort { position: relative; display: inline-block; }
.balken-wort::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.12em;
  bottom: -0.12em;
  height: 0.34em;
  background: var(--verlauf);
  clip-path: polygon(0 100%, 0 62%, 100% 0, 100% 38%);
  z-index: -1;
}
.einstieg .unterzeile {
  margin: clamp(28px, 3.4vw, 44px) 0 0;
  max-width: 30ch;
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  line-height: 1.42;
  color: var(--graphite);
  text-wrap: pretty;
}
.aktionen {
  margin-top: clamp(28px, 3.6vw, 44px);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 16px;
  align-items: center;
}

/* Strömung auf hellem Grund */
.stroemung {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--grund);
}
.stroemung canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.stroemung .stroemung-glanz {
  /* Weicher Schatten: stark verkleinerte Kopie, beim Hochskalieren unscharf, multipliziert */
  mix-blend-mode: multiply;
  opacity: 0.45;
}
.einstieg::before {
  /* Aufhellung hinter dem Text, damit die Überschrift ruhig lesbar bleibt */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--grund) 0%, color-mix(in srgb, var(--grund) 80%, transparent) 46%, transparent 70%);
  pointer-events: none;
}
.einstieg::after {
  /* weicher Übergang in den nächsten Abschnitt */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(0deg, var(--grund), transparent);
  pointer-events: none;
}
.stroemung-schalter {
  position: absolute;
  right: max(var(--gutter), env(safe-area-inset-right, 0px));
  bottom: 24px;
  font: inherit;
  font-size: var(--t-klein);
  color: var(--graphite);
  background: color-mix(in srgb, var(--flaeche) 85%, transparent);
  border: 1px solid var(--linie);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease;
}
.stroemung-schalter:hover { color: var(--ink); border-color: var(--ink); }
@media (max-width: 900px) {
  .einstieg { align-items: end; min-height: clamp(620px, 92svh, 860px); }
  .einstieg::before {
    background: linear-gradient(0deg, var(--grund) 0%, color-mix(in srgb, var(--grund) 85%, transparent) 50%, transparent 74%);
  }
  .stroemung-schalter { bottom: auto; top: 16px; }
}

/* ---------- Abschnitte ---------- */
.abschnitt { padding-block: clamp(64px, 9vw, 128px); }
.abschnitt-weiss { background: var(--flaeche); }

.abschnitt-kopf {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 48px;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.abschnitt-kopf > div { min-width: 0; max-width: 46rem; }
.titel {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.einleitung {
  margin: clamp(16px, 2vw, 22px) 0 0;
  max-width: 54ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--graphite);
  text-wrap: pretty;
}

/* ---------- Leistungen: Karussell ---------- */
.karussell {
  list-style: none;
  margin: 0;
  display: flex;
  gap: clamp(14px, 1.6vw, 22px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  /* Erste Karte bündig mit dem Textrahmen, rechts läuft die Reihe bis zum Rand */
  --einzug: max(var(--gutter), env(safe-area-inset-left, 0px), calc((100% - var(--max)) / 2 + var(--gutter)));
  padding-block: 4px 12px;
  padding-inline: var(--einzug);
  scroll-padding-inline: var(--einzug);
}
.karussell::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .karussell { scroll-behavior: auto; } }

.karte {
  position: relative;
  flex: 0 0 min(400px, 84%);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: clamp(380px, 34vw, 440px);
  padding: clamp(28px, 3vw, 40px);
  background: var(--flaeche);
  border-radius: var(--radius-karte);
  box-shadow: 0 1px 2px rgba(2, 20, 20, 0.04);
  cursor: pointer;
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.karte:hover { box-shadow: 0 14px 40px rgba(2, 20, 20, 0.08); }
.karte-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.karte-kopf .symbol { width: 40px; height: 40px; stroke-width: 1.75; }
.karte-name {
  margin: clamp(22px, 2.6vw, 30px) 0 0;
  font-size: var(--t-meta);
  font-weight: 600;
  color: var(--graphite);
}
.karte-aussage {
  margin: 10px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.55rem, 2.3vw, 2.05rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.plus {
  margin-top: auto;
  align-self: flex-end;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--flaeche);
  cursor: pointer;
  transition: transform 160ms ease;
}
.plus .symbol { width: 22px; height: 22px; stroke-width: 2.5; }
.karte:hover .plus, .plus:hover { transform: scale(1.08); }
.plus:focus-visible { outline-offset: 4px; }

.steuerung {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: clamp(18px, 2vw, 28px);
}
.steuerung button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--linie-fein);
  color: var(--ink);
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease;
}
.steuerung button:hover:not(:disabled) { background: var(--linie); }
.steuerung button:disabled { opacity: 0.4; cursor: default; }

/* ---------- Detailansicht einer Leistung ---------- */
.detail {
  width: min(920px, calc(100% - 32px));
  max-height: calc(100dvh - 48px);
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--flaeche);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(2, 20, 20, 0.25);
  overflow: auto;
  overscroll-behavior: contain;
}
.detail::backdrop {
  background: rgba(2, 20, 20, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.detail[open] { animation: auftauchen 260ms cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes auftauchen { from { opacity: 0; transform: translateY(16px) scale(0.985); } }
@media (prefers-reduced-motion: reduce) { .detail[open] { animation: none; } }

.detail-leiste {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  padding: 16px 16px 0;
  pointer-events: none;
}
.schliessen {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--flaeche);
  cursor: pointer;
}
.schliessen .symbol { width: 20px; height: 20px; stroke-width: 2.5; }
.detail-inhalt { padding: 0 clamp(24px, 6vw, 72px) clamp(32px, 6vw, 64px); margin-top: -24px; }
.detail-marke { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; color: var(--graphite); font-weight: 600; font-size: var(--t-meta); }
.detail h2 {
  margin: 14px 0 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 20ch;
  text-wrap: balance;
}
.detail .lead {
  margin: clamp(18px, 2.4vw, 28px) 0 0;
  max-width: 62ch;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--graphite);
}
.bereiche {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
}
.bereich {
  min-width: 0;
  padding: 22px 24px 24px;
  background: var(--grund);
  border-radius: 16px;
  border-top: 4px solid var(--blue);
}
.bereich.krankenhaus { border-top-color: var(--green); }
.bereich.arztpraxis { border-top-color: transparent; background: linear-gradient(var(--grund), var(--grund)) padding-box, var(--verlauf) border-box; }
.bereich.unternehmen { border-top-color: var(--graphite); }
.bereich h3 { margin: 0 0 10px; font-size: 1.05rem; font-weight: 600; }
.bereich ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.bereich li { position: relative; padding-left: 18px; color: var(--graphite); font-size: 1rem; line-height: 1.5; }
.bereich li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}
.detail-fuss {
  margin-top: clamp(24px, 3.4vw, 36px);
  padding-top: clamp(20px, 2.6vw, 28px);
  border-top: 1px solid var(--linie-fein);
  display: grid;
  gap: 14px;
}
.detail-fuss p { margin: 0; max-width: 62ch; color: var(--graphite); }
.detail-fuss strong { color: var(--ink); font-weight: 600; }
.beispiel-hinweis { font-size: var(--t-klein); color: var(--leise); }
@media (max-width: 680px) {
  .bereiche { grid-template-columns: minmax(0, 1fr); }
  .detail { width: 100%; max-height: calc(100dvh - 24px - env(safe-area-inset-top, 0px)); margin-bottom: 0; border-radius: 24px 24px 0 0; }
}

/* ---------- Versorgung als Ganzes denken ---------- */
.neu-denken .text { min-width: 0; }
.neu-denken .text p { max-width: 56ch; color: var(--graphite); margin: 1.1em 0 0; }
.neu-denken .text p.gross {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  max-width: 30ch;
  margin-top: clamp(20px, 2.4vw, 28px);
}

.saeulen {
  list-style: none;
  margin: clamp(48px, 6vw, 88px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.saeulen li { min-width: 0; padding-top: 22px; border-top: 1px solid var(--linie); }
.saeulen .symbol { width: 28px; height: 28px; }
.saeulen h3 { margin: 16px 0 6px; font-size: 1.15rem; font-weight: 600; line-height: 1.3; }
.saeulen p { margin: 0; color: var(--graphite); }
@media (max-width: 900px) {
  .saeulen { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Über uns ---------- */
.ueber {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.ueber li {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3vw, 40px);
  background: var(--flaeche);
  border-radius: var(--radius-karte);
}
.ueber .symbol { width: 40px; height: 40px; stroke-width: 1.75; }
.ueber h3 {
  margin: clamp(22px, 2.6vw, 30px) 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.ueber p { margin: 14px 0 0; color: var(--graphite); }
.ueber .pfeillink { margin-top: auto; padding-top: 24px; align-self: flex-start; }
@media (max-width: 900px) { .ueber { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Kontakt ---------- */
.kontakt {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  padding: clamp(32px, 5vw, 72px);
  background: var(--flaeche);
  border-radius: 32px;
}
.kontakt > div { min-width: 0; position: relative; }
.kontakt-titel { font-size: clamp(2rem, 4.2vw, 3.4rem); max-width: 16ch; }
.kontakt p { max-width: 50ch; color: var(--graphite); margin: 16px 0 0; }
.kontakt .aktionen { margin-top: 28px; }
.adresse { font-weight: 600; color: var(--ink); user-select: all; }
/* Akzentfläche: drei Balken im Verlauf Green to Lime, Anstieg 6°, höchstens einmal pro Seite */
.akzentflaeche { width: clamp(160px, 22vw, 300px); height: auto; }
@media (max-width: 760px) {
  .kontakt { grid-template-columns: minmax(0, 1fr); }
  .akzentflaeche { width: 160px; order: -1; }
}

/* ---------- Fußbereich ---------- */
.fuss { padding-block: clamp(48px, 6vw, 80px) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--linie-fein); font-size: var(--t-meta); }
.fuss-spalten {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 28px 32px;
}
.fuss h2 { margin: 0 0 10px; font-size: var(--t-meta); font-weight: 600; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.fuss a { color: var(--graphite); text-decoration: none; }
.fuss a:hover { color: var(--ink); text-decoration: underline; }
.fuss-leiste {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 20px;
  border-top: 1px solid var(--linie-fein);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  color: var(--leise);
  font-size: var(--t-klein);
}
.fuss-leiste p { margin: 0; }

/* =====================================================================
   Unterseiten (Version 0.3)
   ===================================================================== */

/* Bildband: breites Foto mit abgerundeten Ecken */
.bildband { margin: clamp(40px, 5vw, 72px) 0 0; }
.bildband img {
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  border-radius: 28px;
  background: var(--linie-fein);
}
.bildband figcaption, .kopfbild figcaption { margin-top: 12px; font-size: var(--t-klein); color: var(--leise); }
@media (max-width: 700px) { .bildband img { aspect-ratio: 4 / 3; border-radius: 20px; } }

/* Seitenkopf */
.seitenkopf { padding-block: clamp(40px, 6vw, 88px) clamp(40px, 5vw, 72px); }
.seitenkopf .rahmen > .kopf-raster {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.seitenkopf.mit-bild .kopf-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.kopf-text { min-width: 0; }
.seitentitel {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: manual;
}
.aussage {
  margin: clamp(20px, 2.6vw, 30px) 0 0;
  max-width: 34ch;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: pretty;
}
.seitenkopf .einleitung { max-width: 52ch; }
.kopfbild { margin: 0; min-width: 0; }
.kopfbild img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  background: var(--linie-fein);
}
@media (max-width: 900px) {
  .seitenkopf.mit-bild .kopf-raster { grid-template-columns: minmax(0, 1fr); }
  .kopfbild img { aspect-ratio: 4 / 3; border-radius: 20px; }
}

.brotkrumen { margin: 0 0 clamp(18px, 2.4vw, 28px); font-size: var(--t-meta); }
.brotkrumen ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; color: var(--leise); }
.brotkrumen li + li::before { content: "/"; margin-right: 10px; color: var(--linie); }
.brotkrumen a { color: var(--graphite); text-decoration: none; }
.brotkrumen a:hover { color: var(--ink); text-decoration: underline; }
.brotkrumen [aria-current="page"] { color: var(--ink); }

/* Zielgruppe als Merkmale: Rettungsdienst (Trust Blue), Krankenhaus (Growth Green), Arztpraxis (Verlauf), weitere Unternehmen (Graphite) */
.fuer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: clamp(18px, 2.2vw, 26px) 0 0; padding: 0; list-style: none; }
.fuer li, .bereich-marke {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 10px;
  border-radius: 999px;
  background: var(--flaeche);
  border: 1px solid var(--linie-fein);
  font-size: var(--t-meta);
  font-weight: 500;
  color: var(--ink);
}
.fuer li::before, .bereich-marke::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
}
.fuer li.kh::before, .bereich-marke.kh::before { background: var(--green); }
.fuer li.ap::before, .bereich-marke.ap::before { background: var(--verlauf); }
.fuer li.un::before, .bereich-marke.un::before { background: var(--graphite); }
.status { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 0; max-width: 60ch; color: var(--graphite); font-size: 1rem; }

/* Abschnitte mit Überschrift links und Inhalt rechts */
.block { padding-block: clamp(40px, 5vw, 72px); }
.block-raster {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 5vw, 80px);
}
.block + .block .block-raster { border-top: 1px solid var(--linie); padding-top: clamp(40px, 5vw, 72px); }
.block + .block { padding-top: 0; }
.block-kopf { min-width: 0; }
.block-kopf h2 {
  margin: 0;
  position: sticky;
  top: calc(var(--header-h) + 28px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.block-inhalt { min-width: 0; }
.block-inhalt > :first-child { margin-top: 0; }
.block-inhalt p { max-width: 64ch; color: var(--graphite); }
.block-inhalt p.gross {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.1vw, 1.75rem);
  line-height: 1.26;
  letter-spacing: -0.015em;
  max-width: 32ch;
}
.block-inhalt h3 { margin: 1.8em 0 0.5em; font-size: 1.05rem; font-weight: 600; }
.block-inhalt .bereiche { margin-top: 0; }
.bereiche.einzeln { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
@media (max-width: 860px) {
  .block-raster { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .block-kopf h2 { position: static; }
}

/* Listen mit Trennlinien */
.zeilen { list-style: none; margin: 0; padding: 0; max-width: 64ch; }
.zeilen li { padding: 13px 0; border-top: 1px solid var(--linie-fein); color: var(--graphite); }
.zeilen li:last-child { border-bottom: 1px solid var(--linie-fein); }
.zeilen strong { color: var(--ink); font-weight: 600; }
.block-inhalt > .zeilen + p, .block-inhalt > p + .zeilen { margin-top: 1.1rem; }

/* Begriff und Erläuterung */
.merkmale { margin: 0; max-width: 64ch; }
.merkmale > div {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 4px 28px;
  padding: 16px 0;
  border-top: 1px solid var(--linie-fein);
}
.merkmale > div:last-child { border-bottom: 1px solid var(--linie-fein); }
.merkmale dt { font-weight: 600; overflow-wrap: break-word; hyphens: auto; }
.merkmale dd { margin: 0; color: var(--graphite); }
@media (max-width: 560px) { .merkmale > div { grid-template-columns: minmax(0, 1fr); } }

/* Beispielformulierung */
.beispiel {
  margin: 1.6rem 0 0;
  max-width: 64ch;
  padding: 22px 24px;
  background: var(--flaeche);
  border-radius: 18px;
}
.beispiel .etikett { font-size: var(--t-klein); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--leise); }
.beispiel blockquote { margin: 10px 0 0; }
.beispiel blockquote p { margin: 0; color: var(--ink); font-family: var(--display); font-size: 1.2rem; line-height: 1.35; }
.beispiel blockquote p + p { margin-top: 12px; }
.beispiel .quelle { margin: 12px 0 0; font-size: var(--t-klein); color: var(--leise); }

/* Kacheln: Leistungen, Werte, Grundsätze, Kategorien */
.kacheln {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(14px, 1.6vw, 22px);
}
.kachel {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 2.8vw, 36px);
  background: var(--flaeche);
  border-radius: var(--radius-karte);
  transition: box-shadow 200ms ease;
}
.kachel-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kachel .symbol { width: 36px; height: 36px; stroke-width: 1.75; }
.kachel h3 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  line-height: 1.16;
  letter-spacing: -0.015em;
  text-wrap: balance;
  overflow-wrap: break-word;   /* lange Wörter brechen notfalls um statt über den Rand zu laufen */
  hyphens: auto;
}
.kachel p { margin: 12px 0 0; color: var(--graphite); }
.kachel .fuer { margin-top: 18px; }
.kachel .fuer li { font-size: var(--t-klein); padding: 2px 10px 2px 8px; }
.kachel .fuer li::before { width: 8px; height: 8px; }
.kachel .pfeillink { margin-top: auto; padding-top: 22px; align-self: flex-start; }
.kachel.gesperrt h3, .kachel.gesperrt p { color: var(--leise); }
/* ganze Kachel klickbar über den Link */
.kachel.verlinkt:hover { box-shadow: 0 14px 40px rgba(2, 20, 20, 0.08); }
.kachel.verlinkt .pfeillink::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }

/* Leitsatz */
.leitsatz {
  margin: 0;
  max-width: 22ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.leitsatz-text { margin: clamp(18px, 2.2vw, 26px) 0 0; max-width: 58ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--graphite); }

/* Vorgehen: vier Schritte in fester Reihenfolge */
.schritte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
  counter-reset: schritt;
}
.schritte li { min-width: 0; padding-top: 18px; border-top: 2px solid var(--ink); counter-increment: schritt; }
.schritte li::before {
  content: counter(schritt, decimal-leading-zero);
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.schritte h3 { margin: 18px 0 6px; font-size: 1.1rem; font-weight: 600; }
.schritte p { margin: 0; color: var(--graphite); }
@media (max-width: 900px) { .schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .schritte { grid-template-columns: minmax(0, 1fr); } }

/* Datensatz nach § 21: Inhalt in zwei Karten, Stichtage als Zeitleiste */
.datensatz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 1.4rem 0 0; }
.datensatz section { min-width: 0; padding: 22px 24px; background: var(--flaeche); border-radius: 18px; }
.datensatz h3 { margin: 0 0 10px; font-size: 1.05rem; }
.datensatz ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.datensatz li { position: relative; padding-left: 18px; color: var(--graphite); line-height: 1.5; }
.datensatz li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
@media (max-width: 700px) { .datensatz { grid-template-columns: minmax(0, 1fr); } }

.stichtage {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
}
.stichtage li { min-width: 0; position: relative; padding: 26px 14px 0 0; }
.stichtage li::before {
  /* Linie und Punkt der Zeitleiste */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 7px;
  height: 2px;
  background: var(--linie);
}
.stichtage li::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--flaeche);
  border: 2px solid var(--ink);
}
.stichtage li.haupt::after { background: var(--verlauf); border-color: var(--ink); }
.stichtage .datum { display: block; font-family: var(--display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.stichtage .was { display: block; margin-top: 4px; font-size: 0.95rem; color: var(--graphite); line-height: 1.45; }
@media (max-width: 640px) {
  .stichtage { grid-template-columns: minmax(0, 1fr); }
  .stichtage li { padding: 0 0 18px 30px; }
  .stichtage li::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
}
.quelle-zeile { margin-top: 1rem; font-size: var(--t-klein); color: var(--leise); }

/* Team */
.personen { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.person { min-width: 0; padding: clamp(24px, 2.6vw, 32px); background: var(--flaeche); border-radius: var(--radius-karte); }
.avatar {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grund);
  border: 1px solid var(--linie-fein);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
}
.person h3 { margin: 18px 0 2px; font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -0.01em; }
.person .rolle { margin: 0; font-weight: 500; color: var(--graphite); }
.person p { margin: 12px 0 0; color: var(--graphite); }
.person .foto-hinweis { font-size: var(--t-klein); color: var(--leise); }
.platzhalter-person h3, .platzhalter-person .rolle, .platzhalter-person p { color: var(--leise); }

/* Hinweis auf internen Entwurfsstand */
.hinweis-entwurf {
  margin: 0 0 24px;
  max-width: 70ch;
  padding: 14px 18px;
  border-radius: 14px;
  background: #EAF1F1;             /* Grey 40 % */
  color: var(--graphite);
  font-size: var(--t-meta);
}
.hinweis-entwurf strong { color: var(--ink); }

/* Rechtstexte */
.rechtstext { padding-block: clamp(40px, 6vw, 88px); }
.rechtstext .rahmen { max-width: 860px; }
.rechtstext h1 {
  margin: 0 0 24px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.rechtstext h2 { margin: 2em 0 0.4em; font-size: 1.15rem; font-weight: 600; }
.rechtstext p, .rechtstext address { max-width: 70ch; color: var(--graphite); font-style: normal; }
.rechtstext a { color: var(--ink); text-decoration-color: var(--green); text-decoration-thickness: 2px; }
.platzhalter { background: #E7FED2; color: var(--ink); padding: 0 4px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }   /* Lime Spark 20 % */

/* Fehlerseite */
.fehler { padding-block: clamp(64px, 12vw, 160px); }
.fehler .seitentitel { max-width: 14ch; }

/* Karussell auf Unterseiten: Karten als Links */
.karte.verlinkt .karte-ziel { margin-top: auto; align-self: flex-end; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--flaeche); transition: transform 160ms ease; }
.karte.verlinkt .karte-ziel::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.karte.verlinkt .karte-ziel .symbol { width: 22px; height: 22px; stroke-width: 2.5; }
.karte.verlinkt:hover .karte-ziel { transform: scale(1.08); }
.karte.verlinkt { cursor: pointer; }

/* Kartenfuß: Zielbereiche links, Knopf rechts */
.karte-fuss { margin-top: auto; padding-top: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.karte-fuss .fuer { margin: 0; }
.karte-fuss .fuer li { font-size: var(--t-klein); padding: 2px 10px 2px 8px; background: var(--grund); border-color: transparent; }
.karte-fuss .fuer li::before { width: 8px; height: 8px; }
.karte-fuss .plus, .karte-fuss .karte-ziel { margin-top: 0; align-self: auto; flex-shrink: 0; }

/* Bildhöhe aus dem Seitenverhältnis, nicht aus der Höhenangabe im HTML */
.kopfbild img, .bildband img { height: auto; }
/* Bildausschnitt je Foto: Motiv sichtbar halten */
.kopfbild img[src$="rtw-nacht.jpg"] { object-position: 50% 80%; }
.kopfbild img[src$="rtw-deich.jpg"] { object-position: 50% 62%; }
.kopfbild img[src$="rtw-flagge.jpg"] { object-position: 40% 58%; }
.kopfbild img[src$="hubschrauber-nacht.jpg"] { object-position: 50% 62%; }
.kopfbild img[src$="team-deich.jpg"] { object-position: 50% 45%; }
.bildband img[src$="klinikum-luftbild.jpg"] { object-position: 50% 62%; }

/* Team: vier Personen in einer Reihe, auf Tablets zwei, auf Smartphones eine */
.personen { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .personen { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .personen { grid-template-columns: minmax(0, 1fr); } }

/* Fußbereich: großer Schriftzug über der unteren Leiste, rechts Symbolleiste der sozialen Netzwerke */
.fuss .rahmen { container-type: inline-size; }
.fuss-marke {
  margin: clamp(40px, 6vw, 88px) 0 0;
  font-family: var(--text);
  font-weight: 800;
  font-size: 10.4cqi;       /* füllt die Breite des Rahmens */
  line-height: 0.8;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(2, 20, 20, 0.07);   /* Midnight Ink, stark aufgehellt: neutral wie ein Wasserzeichen */
  user-select: none;
}
.fuss-marke + .fuss-leiste { margin-top: clamp(20px, 3vw, 36px); }
.fuss-rechts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; }
.fuss .social { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 160ms ease;
}
.fuss a.social-link { color: var(--ink); }
.social-link:hover { background: var(--linie-fein); }
.social-link .symbol, .social-link img { width: 22px; height: 22px; }

/* Externe Prüfung und Prüfbericht */
.dokument {
  margin-top: 1.4rem;
  max-width: 560px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--flaeche);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
}
.dokument .symbol { width: 32px; height: 32px; stroke-width: 1.75; }
.dokument .dok-titel { display: block; font-weight: 600; }
.dokument .dok-info { display: block; font-size: var(--t-meta); color: var(--graphite); }
a.dokument { transition: box-shadow 200ms ease; }
a.dokument:hover { box-shadow: 0 14px 40px rgba(2, 20, 20, 0.08); }
.dokument.ausstehend { border: 1px dashed var(--linie); background: transparent; }
.dokument.ausstehend .dok-titel, .dokument.ausstehend .symbol { color: var(--leise); }

/* Siegel "Geprüfter Datenschutz" neben dem Text zur externen Prüfung.
   Verlauf, feine Linien und Glanzband wandern beim Scrollen mit (--p von 0 bis 1, gesetzt in seite.js). */
.pruefung {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.pruefung-text > :first-child { margin-top: 0; }
.siegel {
  --p: 0.5;
  position: relative;
  width: clamp(150px, 15vw, 200px);
  aspect-ratio: 1;
  isolation: isolate;
  overflow: hidden;
  clip-path: polygon(100.00% 50.00%, 97.05% 53.70%, 99.38% 57.82%, 95.90% 61.02%, 97.55% 65.45%, 93.61% 68.06%, 94.55% 72.70%, 90.24% 74.66%, 90.45% 79.39%, 85.89% 80.65%, 85.36% 85.36%, 80.65% 85.89%, 79.39% 90.45%, 74.66% 90.24%, 72.70% 94.55%, 68.06% 93.61%, 65.45% 97.55%, 61.02% 95.90%, 57.82% 99.38%, 53.70% 97.05%, 50.00% 100.00%, 46.30% 97.05%, 42.18% 99.38%, 38.98% 95.90%, 34.55% 97.55%, 31.94% 93.61%, 27.30% 94.55%, 25.34% 90.24%, 20.61% 90.45%, 19.35% 85.89%, 14.64% 85.36%, 14.11% 80.65%, 9.55% 79.39%, 9.76% 74.66%, 5.45% 72.70%, 6.39% 68.06%, 2.45% 65.45%, 4.10% 61.02%, 0.62% 57.82%, 2.95% 53.70%, 0.00% 50.00%, 2.95% 46.30%, 0.62% 42.18%, 4.10% 38.98%, 2.45% 34.55%, 6.39% 31.94%, 5.45% 27.30%, 9.76% 25.34%, 9.55% 20.61%, 14.11% 19.35%, 14.64% 14.64%, 19.35% 14.11%, 20.61% 9.55%, 25.34% 9.76%, 27.30% 5.45%, 31.94% 6.39%, 34.55% 2.45%, 38.98% 4.10%, 42.18% 0.62%, 46.30% 2.95%, 50.00% 0.00%, 53.70% 2.95%, 57.82% 0.62%, 61.02% 4.10%, 65.45% 2.45%, 68.06% 6.39%, 72.70% 5.45%, 74.66% 9.76%, 79.39% 9.55%, 80.65% 14.11%, 85.36% 14.64%, 85.89% 19.35%, 90.45% 20.61%, 90.24% 25.34%, 94.55% 27.30%, 93.61% 31.94%, 97.55% 34.55%, 95.90% 38.98%, 99.38% 42.18%, 97.05% 46.30%);
}
.siegel::before {                       /* Verlauf */
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 320%;
  z-index: -3;
  background: linear-gradient(112deg,
    #98FDBA 0%, #B7FD78 10%, #78FCFC 22%, #94C4EC 33%,
    #98FDBA 45%, #B7FD78 56%, #78FCFC 67%, #94C4EC 78%,
    #98FDBA 90%, #B7FD78 100%);
  transform: translate3d(calc(var(--p) * -60%), 0, 0);
  will-change: transform;
}
.siegel::after {                        /* feine Linien (Moiré) */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-radial-gradient(circle at calc(-25% + var(--p) * 60%) 140%, rgba(252, 255, 255, 0.85) 0 1px, transparent 1px 4px),
    repeating-radial-gradient(circle at calc(120% - var(--p) * 45%) -40%, rgba(2, 20, 20, 0.22) 0 1px, transparent 1px 4.5px);
  mix-blend-mode: overlay;
}
.siegel-glanz {                         /* Glanzband */
  position: absolute;
  inset: -20% -60%;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(252, 255, 255, 0.65) 50%, transparent 60%);
  transform: translate3d(calc((var(--p) - 0.5) * 120%), 0, 0);
  mix-blend-mode: soft-light;
  will-change: transform;
}
.siegel svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.siegel-ring { font-family: var(--text); font-weight: 600; font-size: 13.5px; fill: var(--ink); }
.siegel-titel { font-family: var(--display); font-weight: 700; fill: var(--flaeche); letter-spacing: -0.01em; }
.siegel-marke { font-family: var(--text); font-weight: 600; font-size: 10px; letter-spacing: 0.22em; fill: var(--green); }
@media (max-width: 700px) {
  .pruefung { grid-template-columns: minmax(0, 1fr); }
  .pruefung .siegel { order: -1; width: 140px; }
}
.social-link.offen { cursor: default; }

/* Bildausschnitt: Motiv rechts der Mitte (Seite Unsere Werte) */
.kopfbild img.fokus-rechts { object-position: 72% 50%; }

/* Angebot mit Festpreis (Seite Rettungsmittelbedarfsplanung):
   weiße Fläche mit Einleitung links und Preiskarten rechts, darunter
   europäische Vorgaben (nur Englisch) und dunkle Leiste "individuelle Lösung" */
.angebot { padding-block: clamp(40px, 5vw, 72px); }
.angebot-rahmen {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(32px, 4vw, 48px);
  align-items: start;
  padding: clamp(32px, 4.5vw, 56px);
  background: var(--flaeche);
  border-radius: 32px;
}
.angebot-marke {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  background: var(--grund);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.angebot-titel {
  margin: 20px 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  hyphens: auto;
}
.angebot-lead { margin: 0 0 16px; color: var(--graphite); }
.angebot mark {
  background: var(--verlauf) no-repeat 0 92% / 100% 0.2em;
  color: inherit;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.angebot-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 28px; padding: 0; list-style: none; }
.angebot-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--linie);
  border-radius: 999px;
  font-size: 0.875rem;
}
.angebot-tags li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.angebot-hinweise {
  padding-top: 20px;
  border-top: 1px solid var(--linie);
  color: var(--graphite);
  font-size: var(--t-klein);
  font-style: italic;
}
.angebot-hinweise p { margin: 0 0 8px; }

.angebot-karten { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.preiskarte { padding: clamp(24px, 3vw, 32px); border: 1px solid var(--linie); border-radius: var(--radius-karte); }
.preiskarte.haupt { border: 2px solid var(--ink); }
.preiskarte-etikett { margin: 0 0 6px; color: var(--graphite); font-size: var(--t-klein); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.preiskarte-preis { margin: 0; font-family: var(--display); font-size: clamp(2rem, 3.2vw, 2.5rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; }
.preiskarte-einheit { margin: 6px 0 24px; color: var(--graphite); font-size: 0.875rem; }
.preiskarte-gruppe { margin: 20px 0 10px; font-size: 0.875rem; font-weight: 700; }
.preisliste { margin: 0; padding: 0; list-style: none; }
.preisliste li { position: relative; margin-bottom: 10px; padding-left: 28px; font-size: var(--t-meta); line-height: 1.5; }
.preisliste li::before { content: "→"; position: absolute; left: 0; top: 0; font-weight: 700; }
.preisliste small { display: block; color: var(--graphite); font-size: var(--t-klein); }
.preiskarte .knopf, .preiskarte .knopf-kontur { display: flex; justify-content: center; margin-top: 28px; }

/* Europäische Vorgaben: Länder als Kacheln mit Flagge */
.angebot-europa { grid-column: 1 / -1; padding-top: 40px; border-top: 1px solid var(--linie); }
.angebot-europa h3, .angebot-individuell h3 {
  margin: 16px 0 10px;
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.875rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.angebot-europa-text { max-width: 760px; margin: 0 0 28px; color: var(--graphite); }
.laender { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.land { display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--linie); border-radius: 20px; background: var(--grund); }
.land-name { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: var(--t-klein); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.flagge { flex-shrink: 0; height: 16px; width: auto; border-radius: 3px; box-shadow: 0 0 0 1px rgba(2, 20, 20, 0.18); }
.land-regel { margin: 0 0 12px; font-size: var(--t-meta); font-weight: 600; line-height: 1.5; }
.land-quelle { margin: auto 0 0; color: var(--graphite); font-size: 0.75rem; line-height: 1.5; }
.angebot-stand { margin: 20px 0 0; color: var(--graphite); font-size: var(--t-klein); font-style: italic; }

/* Individuelle Lösung: dunkle Leiste über die volle Breite */
.angebot-individuell {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(28px, 3.5vw, 40px);
  border-radius: var(--radius-karte);
  background: var(--ink);
  color: var(--flaeche);
}
.angebot-individuell h3 { margin-top: 0; }
.angebot-individuell p { max-width: 620px; margin: 0; color: var(--linie); }
.angebot-individuell .knopf { flex-shrink: 0; }
.angebot-individuell .knopf:hover { background: var(--flaeche); color: var(--ink); }

@media (max-width: 1100px) {
  .laender { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .angebot-rahmen { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; }
  .angebot-individuell { flex-direction: column; align-items: stretch; }
  .angebot-individuell .knopf { justify-content: center; }
}
@media (max-width: 560px) {
  .laender { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Vorschaltseite (bald.php) ---------- */
.bald-einstieg {
  min-height: 100svh;
  padding-block: clamp(48px, 8vh, 96px) clamp(96px, 12vh, 128px);
}
.bald-einstieg::after { display: none; }

.countdown { margin-top: clamp(36px, 4.4vw, 56px); }
.countdown-titel {
  margin: 0 0 14px;
  font-size: var(--t-klein);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
}
.countdown-werte {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
.countdown-werte li {
  display: flex;
  flex-direction: column;
  min-width: clamp(76px, 9vw, 120px);
  padding: 4px clamp(14px, 2vw, 28px) 6px;
  border-left: 1px solid var(--linie);
}
.countdown-werte li:first-child { padding-left: 0; border-left: 0; }
.countdown-zahl {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.countdown-einheit {
  margin-top: 8px;
  font-size: var(--t-klein);
  color: var(--leise);
}
.countdown.abgelaufen .countdown-werte { display: none; }
.countdown.abgelaufen .countdown-titel {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
}

.bald-mail {
  margin-top: clamp(32px, 4vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 6px;
  background: var(--verlauf) left bottom / 100% 3px no-repeat;
  transition: background-size 220ms ease;
}
.bald-mail .symbol {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bald-mail .pfeil { transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
.bald-mail:hover .pfeil, .bald-mail:focus-visible .pfeil { transform: translateX(4px); }
.bald-mail:hover { background-size: 100% 6px; }
@media (prefers-reduced-motion: reduce) {
  .bald-mail, .bald-mail .pfeil { transition: none; }
}

.bald-fuss {
  position: absolute;
  left: max(var(--gutter), env(safe-area-inset-left, 0px), calc((100% - var(--max)) / 2 + var(--gutter)));
  bottom: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: var(--t-klein);
  color: var(--leise);
}
.bald-fuss a { color: var(--graphite); }
.bald-fuss a:hover { color: var(--ink); }
@media (max-width: 900px) {
  .bald-einstieg { align-items: center; }
  .bald-fuss { bottom: 20px; }
}
