/* ═══════════════════════════════════════════════════════════════
   rombus.ch Redesign — „Protokoll Klasse 8"
   Design-System · Tokens, Basis, Komponenten
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Palette — abgeleitet aus der rombus-Marke (Site-Teal #578A8B, Text #32373C) */
  --bg: #F6FAFA;          /* Reinluft — kühles Weiss mit feinem Teal-Unterton */
  --card: #FFFFFF;        /* Wanne */
  --line: #D2E0E0;        /* Edelstahl — teal-getönte Haarlinie */
  --line-soft: #E6EEEE;
  --muted: #4F6A6C;       /* Filtergrau — teal-graues Label (AA auf Weiss) */
  --ink: #16292B;         /* Graphit — dunkles Teal-Anthrazit für Text/Headlines */
  --ink-soft: #33484A;
  --brand: #578A8B;       /* Marken-Teal (Logo „bus") — Rhombus-Marker, Tints, Deko */
  --brand-tint: #E8F1F1;  /* getönte Flächen */
  --accent: #1E6A6B;      /* Petrol-Teal — CTAs, Links, aktive Marker (weisser Text AA) */
  --accent-down: #164F50; /* Hover */
  --signal: #5FB0B0;      /* helles Teal — pulsierende „erreichbar"-Punkte auf dunklem Grund */

  /* Typo — keine Monospace mehr (Kundenwunsch): technische Labels laufen in
     Instrument Sans (gesperrt/versal), Zahlen mit tabular-nums ausgerichtet. */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Masse */
  --wrap: 1240px;
  --pad: 24px;
  --radius: 2px;
  --filter-x: 40%;        /* Position der Filterlinie im Hero */
  --header-h: 72px;
}

/* ─── Reset / Basis ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ink); color: var(--bg); }

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 20px;
  font-family: var(--font-mono); font-size: 14px; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ─── Layout ────────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(52px, 6.5vw, 96px); }
.section--flush { padding-block: 0; }

/* Grid-Kinder dürfen ihre Spur nicht sprengen (sonst h-Scroll auf Mobile) */
.befund__grid > *, .protokoll__body > *, .seit__grid > *,
.kontakt__grid > *, .verfahren__grid > * { min-width: 0; }

/* Sektionstrenner: Haarlinie, links 120px feine Punkt-Textur (Filter-Echo) */
.rule {
  border: 0; height: 1px; margin: 0;
  background: linear-gradient(to right, transparent, transparent) , var(--line);
  background-color: var(--line);
  position: relative;
}
.rule::before {
  content: ""; position: absolute; left: 0; top: -3px; width: 120px; height: 7px;
  background-image: radial-gradient(circle 1px at 4px 4px, var(--line) 1px, transparent 1.4px);
  background-size: 11px 7px;
}

/* ─── Typo-Komponenten ──────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: ""; width: 7px; height: 7px; flex: 0 0 7px;
  background: var(--brand);
  transform: rotate(45deg);   /* Rhombus-Marke */
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.022em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(42px, 5.4vw, 72px); }
h2 { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: clamp(20px, 2vw, 24px); letter-spacing: -0.01em; }

.lead {
  font-size: clamp(17px, 1.4vw, 19px);
  color: var(--ink-soft);
  max-width: 62ch;
}
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

.mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--muted);
}

/* ─── Buttons (≥48px hoch) ──────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  letter-spacing: 0.01em; text-decoration: none;
  border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-down); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--card); }
.btn--light { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.45); }
.btn--light:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.btn .arr { transition: translate .2s ease; }
.btn:hover .arr { translate: 3px 0; }

/* Roter Textlink mit Pfeil */
.link-arr {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 15.5px;
  color: var(--accent); text-decoration: none;
  padding-block: 10px; /* Touch-Target */
}
.link-arr:hover { color: var(--accent-down); text-decoration: underline; text-underline-offset: 4px; }

/* ─── Topbar + Header ───────────────────────────────────────── */
.topbar {
  background: var(--ink); color: #C6D2D9;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}
.topbar .wrap {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 38px; gap: 16px;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
.topbar .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--signal); margin-right: 8px; vertical-align: 1px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: .4; } 50% { opacity: 1; } }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 250, 251, 0.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h); gap: 24px;
}

/* Logo — echte rombus-Wortmarke (freigestelltes PNG) */
.logo {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none; color: var(--ink);
}
.logo img { height: 38px; width: auto; display: block; }
.logo--footer img { height: 34px; }
.logo__since {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  padding-left: 14px; border-left: 1px solid var(--line);
}

.nav { display: flex; align-items: center; gap: 0; }
.nav a {
  font-family: var(--font-display); font-weight: 500; font-size: 15px;
  color: var(--ink-soft); text-decoration: none;
  padding: 12px 11px; border-radius: var(--radius);
  transition: color .15s ease; white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.nav > a[aria-current="page"], .nav__group > a[aria-current="page"] { color: var(--ink); font-weight: 600; }

/* Dropdown-Gruppen (wie im alten Menü) */
.nav__group { position: relative; display: flex; align-items: center; }
.nav__group > a { padding-right: 3px; }
.nav__caret {
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--muted);
  padding: 12px 9px 12px 2px; border-radius: var(--radius);
}
.nav__caret svg { transition: transform .2s ease; }
.nav__group:hover .nav__caret svg,
.nav__group:focus-within .nav__caret svg,
.nav__group.open .nav__caret svg { transform: rotate(180deg); }
.nav__group:hover .nav__caret,
.nav__group:focus-within .nav__caret { color: var(--ink); }
.nav__sub {
  position: absolute; top: calc(100% - 2px); left: 0; margin: 0; padding: 8px;
  list-style: none; min-width: 250px;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(16,41,43,.14);
  opacity: 0; visibility: hidden; translate: 0 8px;
  transition: opacity .18s ease, translate .18s ease, visibility 0s .18s;
  z-index: 60;
}
.nav__group:hover .nav__sub,
.nav__group:focus-within .nav__sub,
.nav__group.open .nav__sub {
  opacity: 1; visibility: visible; translate: 0 0;
  transition: opacity .18s ease, translate .18s ease;
}
.nav__sub li a {
  display: block; padding: 10px 12px; font-size: 14.5px; font-weight: 500;
  color: var(--ink-soft); border-radius: var(--radius); white-space: nowrap;
}
.nav__sub li a:hover { background: var(--brand-tint); color: var(--accent); }
.nav__lang {
  margin-left: 8px; border: 1px solid var(--line);
  font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0.05em;
  padding: 8px 12px !important; color: var(--muted) !important;
}
.nav__lang:hover { border-color: var(--ink); color: var(--ink) !important; }
.header__cta { flex: 0 0 auto; }
.header .btn { min-height: 44px; padding-inline: 20px; font-size: 15px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); width: 46px; height: 46px;
  align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}

/* ─── Hero (Server-Bild) ────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 60% center; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(96deg,
    rgba(11,23,25,.96) 0%, rgba(11,23,25,.9) 24%,
    rgba(11,23,25,.66) 46%, rgba(11,23,25,.24) 72%, rgba(11,23,25,.06) 100%);
}
.hero__scrim--bottom {
  background: linear-gradient(to top, rgba(11,23,25,.8) 0%, rgba(11,23,25,0) 32%);
}
.hero__inner {
  position: relative; z-index: 3;
  display: flex; align-items: center;
  min-height: min(84vh, 800px);
}
/* Wrap muss volle Breite halten, sonst zentriert margin-inline:auto den
   Flex-Child auf Inhaltsbreite → Content fluchtet mit Logo/Messleiste (linksbündig) */
.hero__inner > .wrap { width: 100%; }
.hero__content { max-width: 660px; padding-block: clamp(96px, 13vh, 152px); }
.hero__content .eyebrow { margin-bottom: 22px; }
.eyebrow--light { color: #9DD0D0; }
.eyebrow--light::before { background: var(--signal); }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero .lead { color: rgba(255,255,255,.82); margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__creds {
  font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(255,255,255,.62); margin: 0; max-width: none;
}
.hero__creds span { color: rgba(255,255,255,.32); }

/* Messleiste — dunkles Glas am Hero-Fuss */
.hero__meter {
  position: relative; z-index: 3;
  border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(9,19,20,.5);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.hero__meter .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.meter__cell {
  padding: 20px 22px;
  font-size: 13px; letter-spacing: 0.04em;
  color: rgba(255,255,255,.6);
  font-variant-numeric: tabular-nums;
}
.meter__cell + .meter__cell { border-left: 1px solid rgba(255,255,255,.16); }
.meter__cell strong {
  display: block; color: #fff; font-weight: 600;
  font-size: 18px; margin-bottom: 3px;
}

/* ─── Branchenleiste ────────────────────────────────────────── */
.branchen {
  border-bottom: 1px solid var(--line);
  background: var(--card);
  overflow: hidden;
}
.branchen__track {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px 22px;
  padding: 20px var(--pad);
  font-family: var(--font-body); font-weight: 600;
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-soft);
}
.branchen__track .rh {
  width: 5px; height: 5px; background: var(--line);
  transform: rotate(45deg); flex: 0 0 5px;
}

/* ─── Befund (Problem) ──────────────────────────────────────── */
.befund { position: relative; }
.befund__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 5vw, 72px); align-items: stretch;
}
.befund__facts {
  margin: 26px 0 0; padding: 0; list-style: none;
  border-top: 1px solid var(--line);
}
.befund__facts li {
  display: grid; grid-template-columns: 128px 1fr; gap: 16px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink-soft);
}
.befund__k {
  font-weight: 600; font-size: 12px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--muted); padding-top: 3px;
}

/* Annotiertes Einsatzfoto — füllt die Spaltenhöhe (linke Spalte gibt sie vor) */
.befund__media { position: relative; display: flex; flex-direction: column; }
.foto-befund {
  position: relative; flex: 1 1 auto; min-height: 300px; margin: 0;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.foto-befund__img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82);
}
.foto-befund__label {
  position: absolute; z-index: 2;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.02em;
  color: var(--ink);
  background: rgba(255,255,255,.94); border: 1px solid var(--line);
  padding: 6px 11px; border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(16,27,33,.14);
}
.label--a { top: 14px; left: 14px; }
.label--b { bottom: 14px; right: 14px; }
.foto-befund__caption {
  flex: 0 0 auto; margin: 14px 0 0;
  font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted);
}

/* ─── Verfahren-Karten ──────────────────────────────────────── */
.section--card { background: var(--card); border-block: 1px solid var(--line); }
.verfahren__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 64px); }
.verfahren__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.vcard {
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.vcard:hover { border-color: var(--ink); box-shadow: 0 2px 16px rgba(16,27,33,.06); }
.vcard__proto {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; border-bottom: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.07em;
  color: var(--muted);
}
.vcard__proto .rh {
  width: 7px; height: 7px; background: var(--line); transform: rotate(45deg);
  transition: background-color .2s ease;
}
.vcard:hover .vcard__proto .rh { background: var(--accent); }
.vcard__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.vcard__body h3 { margin-bottom: 12px; }
.vcard__body > p { font-size: 16px; color: var(--ink-soft); margin-bottom: 18px; }
.vcard__list {
  list-style: none; margin: 0 0 22px; padding: 0; flex: 1;
}
.vcard__list li {
  position: relative; padding: 7px 0 7px 22px;
  font-size: 15.5px; color: var(--ink-soft);
}
.vcard__list li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 6px; height: 6px; background: var(--muted); transform: rotate(45deg);
}
.vcard .link-arr { margin-top: auto; }

/* ─── Ablauf ────────────────────────────────────────────────── */
.ablauf__head { max-width: 720px; margin-bottom: clamp(44px, 6vw, 72px); }
.ablauf__track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  position: relative;
}
.ablauf__track::before {
  content: ""; position: absolute; top: 5px; left: 8px; right: 8px; height: 1px;
  background: var(--line);
}
.station { position: relative; padding-top: 34px; }
.station::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 11px; height: 11px; background: var(--bg);
  border: 1px solid var(--muted); transform: rotate(45deg);
}
.station--active::before { background: var(--accent); border-color: var(--accent); }
.station__no {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  color: var(--muted); display: block; margin-bottom: 8px;
}
.station h3 { font-size: 19px; margin-bottom: 8px; }
.station p { font-size: 15.5px; color: var(--ink-soft); }

/* ─── Protokoll-Faksimile ───────────────────────────────────── */
.protokoll__head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.protokoll__head .lead { margin-top: 18px; }
.protokoll__body {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(36px, 5vw, 72px); align-items: stretch;
}
/* Proof-Spalte: Höhe wird von der linken Spalte (Dokument) diktiert,
   das Foto füllt sie via absoluter Positionierung — keine leere Fläche. */
.protokoll__proof { position: relative; }
.doc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  font-variant-numeric: tabular-nums;
  box-shadow: 0 2px 24px rgba(16,27,33,.05);
}
.doc-legend {
  margin: 16px 2px 0; font-size: 13px; color: var(--muted); max-width: none;
}
.doc__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 22px; border-bottom: 1px solid var(--ink);
  font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink);
}
.doc__head .tag {
  border: 1px solid var(--line); padding: 4px 9px; border-radius: var(--radius);
  color: var(--muted); font-size: 11.5px; white-space: nowrap;
}
.doc table { width: 100%; border-collapse: collapse; }
.doc th {
  text-align: left; font-weight: 400;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); padding: 12px 22px 10px; border-bottom: 1px solid var(--line);
}
.doc td {
  padding: 13px 22px; border-bottom: 1px solid var(--line-soft);
  font-size: 13px; color: var(--ink); vertical-align: top;
}
.doc tr:last-child td { border-bottom: 0; }
.doc td.soll { color: var(--muted); }
.doc .st { white-space: nowrap; }
.doc .st svg { vertical-align: -2px; margin-right: 5px; }
.doc__foot {
  padding: 14px 22px; border-top: 1px solid var(--line);
  font-size: 12px; color: var(--muted); letter-spacing: 0.04em;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.foto-proof {
  position: absolute; inset: 0; margin: 0;
  display: flex; flex-direction: column;
}
.foto-proof img {
  flex: 1 1 auto; min-height: 0; object-fit: cover; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius);
  filter: saturate(.85);
}
.foto-proof figcaption {
  flex: 0 0 auto; margin-top: 12px;
  font-size: 12.5px; letter-spacing: 0.03em; color: var(--muted);
}
/* USP-Checkliste (SVG-Häkchen, teal) */
.usp-list { list-style: none; margin: 24px 0 0; padding: 0; }
.usp-list li {
  position: relative; padding: 10px 0 10px 34px;
  font-size: 16px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.usp-list li:last-child { border-bottom: 0; }
.usp-list li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand-tint);
}
.usp-list li::after {
  content: ""; position: absolute; left: 6px; top: 16px;
  width: 8px; height: 5px;
  border-left: 1.7px solid var(--accent); border-bottom: 1.7px solid var(--accent);
  transform: rotate(-45deg);
}

/* ─── Einsatzumgebungen ─────────────────────────────────────── */
.einsatz__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.spec { border-top: 1px solid var(--line); }
.spec__row {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto;
  gap: 18px; align-items: center;
  padding: 20px 8px; border-bottom: 1px solid var(--line);
  transition: background-color .15s ease;
}
.spec__row:hover { background: var(--card); }
.spec__name {
  font-family: var(--font-display); font-weight: 600; font-size: 19px;
  letter-spacing: -0.01em;
}
.spec__risk { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.05em; color: var(--muted); }
.spec__row .rh {
  width: 7px; height: 7px; background: var(--line); transform: rotate(45deg);
  justify-self: end; margin-right: 6px; transition: background-color .15s ease;
}
.spec__row:hover .rh { background: var(--accent); }

/* ─── Seit 1989 / Zähler ────────────────────────────────────── */
.seit__grid {
  display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 60px); align-items: center;
}
.seit__photo { margin: 0; }
.seit__photo img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 380px; object-fit: cover;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.seit__photo figcaption {
  margin-top: 14px; font-family: var(--font-mono); font-size: 12.5px;
  letter-spacing: 0.04em; color: var(--muted);
}
.counter {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(46px, 6.2vw, 88px); line-height: 1;
  color: var(--ink); letter-spacing: -0.03em;
  display: block; font-variant-numeric: tabular-nums;
}
.counter-label {
  display: flex; align-items: center; gap: 10px;
  margin-top: 14px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.counter-label::before {
  content: ""; width: 7px; height: 7px; background: var(--brand); transform: rotate(45deg);
}
.seit__text .lead { margin-bottom: 18px; }
.seit__text p { color: var(--ink-soft); font-size: 16px; }
.seit__jobs {
  margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line);
}

/* ─── Notfallband ───────────────────────────────────────────── */
.pikett { background: var(--ink); color: #fff; }
.pikett .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  padding-block: 26px;
}
.pikett__status {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-weight: 600;
  font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; color: #C6D2D9;
}
.pikett__status .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--signal);
  animation: pulse 2s ease-in-out infinite;
}
.pikett__tel {
  font-family: var(--font-mono); font-size: clamp(19px, 2.4vw, 26px);
  color: #fff; text-decoration: none; letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums; font-weight: 600;
}
.pikett__tel:hover { text-decoration: underline; text-underline-offset: 5px; }
.pikett__tel span { color: #8FA2AC; font-size: 0.62em; margin-left: 12px; letter-spacing: 0.06em; }

/* ─── Kontakt ───────────────────────────────────────────────── */
.kontakt__grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 88px); align-items: start;
}
.kontakt__head { margin-bottom: 28px; max-width: 560px; }

.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 7px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  font-family: var(--font-body); font-size: 16.5px; color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .15s ease;
}
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 0; border-color: transparent;
}
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 14.5px; color: var(--muted); margin-top: 14px; }
.form-note a { color: var(--ink); }

.adresse {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.adresse h3 { margin-bottom: 20px; }
.adresse__block {
  font-style: normal;
  padding-bottom: 20px; margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.adresse__line {
  display: block; font-size: 16.5px; color: var(--ink); margin-bottom: 14px;
}
.adresse__contact {
  display: flex; align-items: baseline; gap: 12px;
  font-size: 16.5px; color: var(--ink); text-decoration: none;
  padding: 6px 0;
}
.adresse__contact:hover { color: var(--accent); }
.adresse__k {
  flex: 0 0 78px;
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.adresse__reg {
  margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px;
  font-family: var(--font-mono); font-size: 12.5px; line-height: 1.7;
  color: var(--muted); letter-spacing: 0.02em;
}
.adresse__reg dt { color: var(--ink-soft); }
.adresse__reg dd { margin: 0; }
.adresse__geo {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--muted);
}
.adresse__geo .rh { width: 7px; height: 7px; background: var(--brand); transform: rotate(45deg); flex: 0 0 7px; }

/* ─── Ratgeber ──────────────────────────────────────────────── */
.ratgeber__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.rat-list { border-top: 1px solid var(--line); }
.rat-item {
  display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center;
  padding: 22px 8px; border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background-color .15s ease;
}
.rat-item:hover { background: var(--card); }
.rat-item__no { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); letter-spacing: 0.06em; }
.rat-item__title {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: -0.01em; color: var(--ink);
}
.rat-item__arr { color: var(--muted); transition: color .15s ease, translate .2s ease; }
.rat-item:hover .rat-item__arr { color: var(--accent); translate: 4px 0; }

/* ─── Footer ────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer__main {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 28px; flex-wrap: wrap;
  padding-block: 44px 36px;
}
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 15px; color: var(--ink-soft); text-decoration: none; padding-block: 6px;
}
.footer__nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.footer__rev {
  border-top: 1px solid var(--line);
  padding-block: 16px;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.05em; color: var(--muted);
}
.footer__rev a { color: var(--muted); text-decoration: none; }
.footer__rev a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ─── Reveals ───────────────────────────────────────────────── */
.reveal { opacity: 0; translate: 0 14px; transition: opacity .6s ease, translate .6s ease; }
.reveal.in { opacity: 1; translate: 0 0; }
.stagger > * { opacity: 0; translate: 0 12px; transition: opacity .5s ease, translate .5s ease; }
.stagger.in > * { opacity: 1; translate: 0 0; }
.stagger.in > *:nth-child(2) { transition-delay: .08s; }
.stagger.in > *:nth-child(3) { transition-delay: .16s; }
.stagger.in > *:nth-child(4) { transition-delay: .24s; }

/* Hero-Load-Sequenz: Elemente starten unsichtbar, JS blendet nach Purge ein */
.js .hero__content > * { opacity: 0; translate: 0 14px; transition: opacity .5s ease, translate .5s ease; }
.js .hero__content.on > * { opacity: 1; translate: 0 0; }
.js .hero__content.on > *:nth-child(2) { transition-delay: .08s; }
.js .hero__content.on > *:nth-child(3) { transition-delay: .16s; }
.js .hero__content.on > *:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > *, .js .hero__content > * { opacity: 1 !important; translate: 0 0 !important; transition: none !important; }
  .topbar .dot, .pikett__status .dot { animation: none; }
  .btn .arr, .rat-item__arr { transition: none; }
}

/* ─── Responsive ────────────────────────────────────────────── */
/* Menü klappt zusammen, sobald die langen Labels + Dropdowns eng werden */
@media (max-width: 1200px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px var(--pad) 18px; gap: 0;
    max-height: calc(100vh - var(--header-h) - 38px); overflow-y: auto;
  }
  .nav.open > a { padding: 14px 8px; border-bottom: 1px solid var(--line-soft); }
  .nav__group {
    flex-wrap: wrap; align-items: center; position: static;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav__group > a { flex: 1; padding: 14px 8px; }
  .nav__caret { padding: 14px 12px; color: var(--ink-soft); }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; translate: 0 0;
    box-shadow: none; border: 0; background: transparent; min-width: 0;
    padding: 0 0 10px 14px; flex-basis: 100%; display: none; transition: none;
  }
  .nav__group.open .nav__sub { display: block; }
  .nav__sub li a { padding: 11px 8px; font-size: 15px; }
  .nav__lang { display: inline-block; margin: 12px 0 0; align-self: flex-start; }
}

@media (max-width: 1080px) {
  .verfahren__grid { grid-template-columns: 1fr; max-width: 560px; }
  .ablauf__track { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .ablauf__track::before { display: none; }
}

@media (max-width: 900px) {
  .hero__inner { min-height: 0; }
  .hero__content { padding-block: clamp(88px, 15vw, 132px) 8px; max-width: none; }
  .hero__img { object-position: center; }
  .hero__meter .wrap { grid-template-columns: 1fr; padding-inline: 0; }
  .meter__cell + .meter__cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.16); }
  .meter__cell { padding-inline: var(--pad); }
  .befund__grid, .protokoll__body, .seit__grid, .kontakt__grid { grid-template-columns: 1fr; }
  .protokoll__proof { max-width: 480px; }
  .foto-proof { position: static; height: auto; }
  .foto-proof img { aspect-ratio: 4 / 5; height: auto; flex: 0 0 auto; }
  .spec__row { grid-template-columns: 1fr auto; }
  .spec__risk { grid-column: 1 / -1; }
  .label--a { left: 4%; }
  .label--b { right: 4%; }
}

@media (max-width: 640px) {
  .topbar .topbar__loc { display: none; }
  .header__cta { display: none; }
  .hero__scrim { background: linear-gradient(178deg, rgba(11,23,25,.62) 0%, rgba(11,23,25,.82) 60%, rgba(11,23,25,.9) 100%); }
  .hero h1 { font-size: clamp(38px, 11vw, 52px); }
  .ablauf__track { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .rat-item { grid-template-columns: 1fr auto; }
  .rat-item__no { grid-column: 1 / -1; padding-bottom: 0; }
  .doc { overflow-x: auto; }
  .doc table { min-width: 520px; }
  .footer__main { flex-direction: column; }
  /* Szenen-Fotos auf Mobile kompakt (quer), damit kein Vollbild-Scrollen entsteht */
  .foto-proof img, .foto-befund img {
    aspect-ratio: 4 / 3; height: auto; object-fit: cover; width: 100%;
  }
}
