/* =====================================================================
   NEUMANN Kfz-Gutachter — Stylesheet (Hamburg, Unfallgutachten)
   Design-System „Dossier": Grotesk-Display (Archivo) + Grotesk-Body
   (Hanken Grotesk), Navy-Tinte auf kühlem Papier, Rot als Signal/Siegel,
   flache aktenartige Flächen mit Haarlinien (keine Ghost-Cards).
   Reines CSS, mobile-first, keine externen Abhängigkeiten (DSGVO: alle
   Schriften self-hosted unter /fonts, kein CDN, kein Tracking).
   ===================================================================== */

/* ---------- Self-hosted Fonts (Variable, Latin-Subset, DSGVO: kein CDN) ---------- */
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("fonts/archivo.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  /* Marke (aus Logo) — Identität, bleibt erhalten */
  --navy:        #152647;   /* Primär-Tinte: Headings, dunkle Flächen */
  --navy-800:    #1a2c52;   /* etwas heller, Tiefe im Dossier-Band */
  --navy-700:    #233a64;
  --navy-900:    #0f1d38;   /* sehr dunkel: Footer */
  --red:         #e2000f;   /* Signal: Aktion, Notruf, Siegel-Akzent */
  --red-700:     #b8000c;
  --green:       #1a7f4d;   /* „kostenlos für Geschädigte" + Status-Punkt */

  /* Papier & Tinte (kühl, ein Hauch Navy-Hue — bewusst KEIN Cream) */
  --paper:       #fbfcfe;   /* Seitenhintergrund */
  --paper-2:     #eef1f7;   /* alternierende Sektionen, tiefer für Struktur */
  --ink:         #182338;   /* dunkelste Tinte (starker Text) */
  --text:        #2a3346;   /* Fließtext (≥12:1 auf Papier) */
  --text-muted:  #54607a;   /* sekundär (AA: ≥5:1 auf Papier) */
  --line:        #d6dde9;   /* Haarlinie (Navy-getönt) */
  --line-strong: #c2ccdb;   /* betonte Trennlinie */
  --on-navy:     #ffffff;
  --on-navy-muted: #aab6cc; /* Sekundärtext auf Navy (≥6:1) */

  /* Schrift */
  --font:         "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Maße / Radien */
  --container:   1160px;
  --radius:      12px;
  --radius-sm:   8px;
  --gap:         clamp(16px, 3vw, 28px);
  --space-section: clamp(64px, 9vw, 124px);

  /* Schatten — nur für ECHT erhöhte Elemente (Sticky-CTA/Mobile-Bar).
     Flächen sonst flach mit Haarlinie (Dossier), kein Ghost-Card-Schatten. */
  --shadow:      0 6px 22px -10px rgba(15, 29, 56, .28);
  --shadow-lg:   0 18px 44px -18px rgba(15, 29, 56, .34);

  /* Bewegung */
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --dur-fast:    140ms;
  --dur:         260ms;
  --t-fast:      var(--dur-fast) var(--ease-out);
  --t:           var(--dur) var(--ease-out);

  /* z-index-Skala (semantisch, keine 9999) */
  --z-base: 1;
  --z-sticky: 100;
  --z-mobilebar: 90;
  --z-skip: 200;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: var(--navy); text-decoration: none; }
a:hover { color: var(--red); }

/* Überschriften: H1/H2 = Archivo (kräftiger Grotesk, Autorität), H3/H4 = Hanken (funktionale Labels) */
h1, h2, h3, h4 { color: var(--navy); margin: 0 0 .5em; line-height: 1.14; overflow-wrap: break-word; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5.4vw, 4rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); line-height: 1.12; }
h3 { font-size: clamp(1.18rem, 2vw, 1.4rem); }
h4 { font-size: 1.02rem; }
p  { margin: 0 0 1rem; max-width: 72ch; text-wrap: pretty; }

/* Fokus (A11y) */
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -56px; z-index: var(--z-skip);
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--t-fast);
}
.skip-link:focus-visible { top: 0; color: #fff; }

/* ---------- Layout-Helfer ---------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px);
}
.section { padding-block: var(--space-section); }
.section-alt { background: var(--paper-2); }
.text-center { text-align: center; }

/* Sektions-Kopf: links-bündig, typografisch (kein zentrierter Eyebrow-Reflex).
   Optionaler Kicker als bewusstes, sparsames Marken-System (Haarlinie + Label). */
.section-header { max-width: 62ch; margin: 0 0 clamp(28px, 4vw, 48px); }
.section-header.center { margin-inline: auto; text-align: center; max-width: 64ch; }
.section-header p { color: var(--text-muted); font-size: 1.12rem; margin-bottom: 0; }
.section-header h2 { margin-bottom: .35em; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: var(--text-muted); text-transform: none; margin-bottom: 14px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 1px; }
/* Alt-Klasse aus früherem Markup neutralisiert (kein lauter roter Versal-Eyebrow mehr) */
.section-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .02em;
  color: var(--text-muted); text-transform: none; margin-bottom: 14px;
}
.section-label::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 13px 26px;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-family: var(--font); font-weight: 600; font-size: 1rem;
  cursor: pointer; text-align: center;
  transition: transform var(--t-fast), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
}
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); } }

.btn-primary { background: var(--red); color: #fff; border-color: var(--red); }
.btn-primary:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; }

.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-700); border-color: var(--navy-700); color: #fff; }

/* WhatsApp-CTA: grün, weiße Schrift (AA-sicher: #157a42 = 5.39:1), WhatsApp-Logo */
.btn-whatsapp { background: #157a42; color: #fff; border-color: #157a42; }
.btn-whatsapp:hover { background: #116335; border-color: #116335; color: #fff; }
.btn .ico-wa { width: 20px; height: 20px; flex-shrink: 0; }
.btn-lg .ico-wa { width: 22px; height: 22px; }

/* Hero-CTA-Umschaltung: WhatsApp nur auf Touch (Smartphone/Tablet ≤1024px),
   „Schaden online melden" nur auf Laptop/PC (>1024px). Mobile-first. */
.cta-desktop { display: none; }
@media (min-width: 1025px) {
  .cta-touch { display: none; }
  .cta-desktop { display: inline-flex; }
}

/* Sekundär auf hellem Grund (Navy-Text/Rand) */
.btn-outline { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* Sekundär auf dunklem Grund (Navy-Header / Navy-Bänder): heller Rand/Text */
.btn-line-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-line-light:hover { background: #fff; color: var(--navy); border-color: #fff; }

.btn-lg { min-height: 58px; padding: 17px 34px; font-size: 1.08rem; }

/* Hörer-Icon in Anruf-Buttons */
.btn .ico-phone { width: 18px; height: 18px; flex-shrink: 0; }
.btn-lg .ico-phone { width: 20px; height: 20px; }

/* Große, antippbare Telefonnummer (Hauptaktion sichtbar machen) */
.calltel {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem); line-height: 1; letter-spacing: -.01em;
  color: var(--navy); font-variant-numeric: tabular-nums;
}
.calltel .ico-phone { width: clamp(24px, 3vw, 30px); height: auto; color: var(--red); flex-shrink: 0; }
.calltel:hover { color: var(--red); }
.calltel.on-dark { color: #fff; }
.calltel.on-dark .ico-phone { color: #ff5a64; }
.calltel.on-dark:hover { color: #ff8a90; }
.calltel-note { font-size: .92rem; color: var(--text-muted); margin-top: 6px; }
.calltel-note.on-dark { color: var(--on-navy-muted); }

/* Dezenter, langsamer Aufmerksamkeits-Impuls (kein hektisches Dauerblinken) */
.btn-pulse { animation: btn-glow 3.4s var(--ease-out) infinite; }
@keyframes btn-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(226, 0, 15, 0); }
  50%      { box-shadow: 0 0 0 7px rgba(226, 0, 15, .12); }
}

/* ---------- Navigation (Navy-Header, weißes Logo) ---------- */
.navbar {
  position: sticky; top: 0; z-index: var(--z-sticky);
  background: rgba(21, 38, 71, .97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.navbar-inner {
  display: flex; align-items: center; gap: 16px; min-height: 74px;
  max-width: var(--container); margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.navbar-logo { display: flex; align-items: center; flex-shrink: 0; }   /* nie stauchen */
.navbar-logo img { height: 42px; width: auto; }

.navbar-nav { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 0 0 28px; padding: 0; }
.navbar-nav a {
  position: relative; display: block; padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 500; color: #eaf0fb;
  transition: color var(--t-fast), background var(--t-fast);
}
.navbar-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.navbar-nav a.active { color: #fff; }
.navbar-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 2px;
  background: var(--red); border-radius: 1px; transform: scaleX(0); transform-origin: left;
  transition: transform var(--t);
}
.navbar-nav a:hover::after, .navbar-nav a.active::after { transform: scaleX(1); }

/* Rechter Cluster: „Schaden melden" (Outline, sekundär) + ● Jetzt anrufen (rot, primär) */
.navbar-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.navbar-call-group { display: inline-flex; align-items: center; gap: 12px; }
.navbar-call { white-space: nowrap; }
.navbar-form { white-space: nowrap; }

.avail-dot {
  position: relative; width: 9px; height: 9px; border-radius: 50%;
  background: #34d27e; flex-shrink: 0;
  animation: dot-pulse 2.6s var(--ease-out) infinite;
}
.avail-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: #34d27e;
  animation: dot-ring 2.6s var(--ease-out) infinite;
}
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
@keyframes dot-ring  { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.6); opacity: 0; } }

/* Hamburger (mobil) */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 48px; height: 48px; padding: 12px; margin-left: auto;
  background: none; border: none; cursor: pointer;
}
.hamburger span { height: 2.5px; background: #fff; border-radius: 2px; transition: transform var(--t), opacity var(--t-fast); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
/* Vollbild-Hero: Teambild als Hintergrund, dunkler Verlauf für weiße Schrift,
   Überschrift breit (einspaltig) darübergelegt. Foto liegt hinter dem Text. */
.hero {
  position: relative;
  padding-block: clamp(80px, 16vh, 172px) clamp(56px, 11vh, 120px);
  background-color: var(--navy-900);
  background-image: url("assets/img/hero-desktop.webp");   /* Gutachter mit weißem NEUMANN-Shirt — für alle Geräte (Handy justiert nur die Ausrichtung im ≤680-Block) */
  background-image: image-set(url("assets/img/hero-desktop.avif") type("image/avif"),
                              url("assets/img/hero-desktop.webp") type("image/webp"));
  background-size: cover; background-position: center 35%;   /* Kopf + NEUMANN-Logo im sichtbaren Band */
  color: #fff;
}
.hero::before {                   /* Dunkler Lesbarkeits-Verlauf (statt hellem Schleier) */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10,18,38,.55) 0%, rgba(10,18,38,.38) 45%, rgba(10,18,38,.80) 100%),
    linear-gradient(90deg, rgba(10,18,38,.72) 0%, rgba(10,18,38,.32) 62%, rgba(10,18,38,.12) 100%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero .hero-grid { display: block; max-width: 560px; }   /* NUR Hero einspaltig: Text links → Gesicht rechts frei */
.hero h1 { margin-bottom: .3em; color: #fff; font-weight: 700; font-size: clamp(2.3rem, 5.2vw, 3.9rem); text-shadow: 0 2px 20px rgba(0,0,0,.38); }
.hero h1 .accent { color: var(--red); }   /* Marken-Rot wie die Buttons (einheitlich) */
.hero p.lead { font-size: clamp(1.12rem, 1.7vw, 1.32rem); color: rgba(255,255,255,.94); max-width: 58ch; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hero p.lead strong { color: #fff; }

/* Hero-Telefonzeile + Notruf-Hinweis auf dunklem Grund weiß */
.hero .calltel { color: #fff; }
.hero .calltel-note { color: rgba(255,255,255,.82); }

/* Schlanke Meta-Zeile statt Pillen-Badge */
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.85); margin-bottom: 20px;
}
.hero-badge::before { content: ""; width: 28px; height: 2px; background: var(--red); border-radius: 1px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-trust { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.22); }
.trust-item { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: .9rem; color: rgba(255,255,255,.95); }
.trust-item svg { color: #3ad17e; flex-shrink: 0; }   /* helleres Grün auf Dunkel */

/* Hero-Bild: ruhige Haarlinien-Fassung statt schwerer Rundung + Schatten */
.hero-visual { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.hero-visual-core { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper-2); }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.hero-cue { display: flex; justify-content: center; margin-top: clamp(28px, 5vw, 44px); color: var(--text-muted); }
.hero-cue svg { animation: cue-bob 2.4s var(--ease-out) infinite; }
@keyframes cue-bob { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(8px); opacity: 1; } }

/* ---------- Fakten-Reihe (ersetzt das Big-Number-Stats-Band) ----------
   Ruhige Akten-Zusammenfassung: Haarlinien-getrennte Fakten,
   Serifen-Zahl (Tabellenziffern) + Grotesk-Label. */
.facts { background: var(--paper-2); border-block: 1px solid var(--line); }
.facts .container { display: grid; grid-template-columns: repeat(4, 1fr); padding-block: clamp(32px, 5vw, 52px); }
.fact { padding: 6px clamp(16px, 3vw, 32px); }
.fact + .fact { border-left: 1px solid var(--line); }
.fact-val {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; color: var(--navy);
  font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.fact-label { color: var(--text-muted); font-size: .96rem; margin-top: 8px; }

/* ---------- Leistungs-Index (editoriale Liste statt identischer Karten) ---------- */
.svc-index { border-top: 1px solid var(--line); }
.svc-item {
  display: grid; grid-template-columns: minmax(0, 1fr) clamp(140px, 22vw, 280px);
  gap: clamp(20px, 4vw, 48px); align-items: center;
  padding-block: clamp(26px, 4vw, 40px); border-bottom: 1px solid var(--line);
  transition: background var(--t);
}
.svc-item:hover { background: color-mix(in srgb, var(--paper-2) 60%, transparent); }
/* Auf grauer Sektion (section-alt) wäre das Grau unsichtbar → heller Hover stattdessen */
.section-alt .svc-item:hover { background: rgba(255, 255, 255, .65); }
.svc-head { display: flex; align-items: baseline; gap: 16px; }
.svc-index .svc-num {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--red); font-variant-numeric: tabular-nums; flex-shrink: 0; padding-top: 2px;
}
.svc-item h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2rem); letter-spacing: -.015em; margin: 0 0 .25em; color: var(--navy); }
.svc-item p { color: var(--text-muted); margin: 0; max-width: 56ch; }
.svc-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--navy); }
.svc-link .arr { transition: transform var(--t); }
@media (hover: hover) and (pointer: fine) { .svc-item:hover .svc-link .arr { transform: translateX(4px); } .svc-item:hover .svc-link { color: var(--red); } }
.svc-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 11; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; }

/* Kompakter Sprung-Index (Leistungen-Übersicht) — editoriale Liste statt Karten */
.svc-nav { border-top: 1px solid var(--line); }
.svc-nav a {
  display: flex; align-items: baseline; gap: 16px;
  padding-block: clamp(18px, 2.6vw, 26px); border-bottom: 1px solid var(--line);
  color: var(--navy); transition: padding-left var(--t), color var(--t-fast);
}
@media (hover: hover) and (pointer: fine) { .svc-nav a:hover { color: var(--red); padding-left: 8px; } }
.svc-nav .svc-num { font-family: var(--font-display); font-weight: 600; color: var(--red); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.svc-nav .svc-t { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); letter-spacing: -.015em; line-height: 1.1; }
.svc-nav .arr { margin-left: auto; transition: transform var(--t); }
@media (hover: hover) and (pointer: fine) { .svc-nav a:hover .arr { transform: translateX(5px); } }

/* Leistungen-Übersicht mit Formular-Kulisse: Foto dezent hinter „Leistungen im
   Überblick", weißer Schleier hält Navy-/Rot-Text lesbar (Muster wie .hero) */
.svc-overview {
  position: relative;
  background-color: var(--paper);
  background-image: url("assets/img/formular-leistungen.jpg");
  background-image: image-set(url("assets/img/formular-leistungen.webp") type("image/webp"),
                              url("assets/img/formular-leistungen.jpg") type("image/jpeg"));
  background-size: cover; background-position: center;
}
.svc-overview::before {           /* Lesbarkeits-Schleier */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(247, 248, 250, .85);
}
.svc-overview > .container { position: relative; z-index: 1; }

/* ---------- Karten (Übersicht/Rechte) — flach, Haarlinie, kein Ghost-Shadow ---------- */
.cards-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column;
  transition: border-color var(--t), background var(--t);
}
@media (hover: hover) and (pointer: fine) { .card:hover { border-color: var(--line-strong); background: #fff; } }
.card-icon { width: 52px; height: 52px; display: grid; place-items: center; color: var(--red); margin-bottom: 18px; border-bottom: 2px solid var(--red); border-radius: 0; }
.card-icon svg { width: 36px; height: 36px; display: block; }
.card h3 { margin-bottom: 8px; color: var(--navy); }
.card p { color: var(--text-muted); margin-bottom: 16px; }
.card-link { margin-top: auto; font-weight: 600; color: var(--navy); display: inline-flex; gap: 8px; align-items: center; }
.card-link .arr { transition: transform var(--t); }
@media (hover: hover) and (pointer: fine) { .card:hover .card-link { color: var(--red); } .card:hover .card-link .arr { transform: translateX(4px); } }

/* ---------- Bild-Platzhalter (für noch zu liefernde Fotos) ----------
   Klar als Platzhalter erkennbar (gestrichelter Rahmen + Beschriftung),
   aber im Markenlook. Vom Kunden 1:1 durch echtes Bild ersetzbar. */
.ph {
  display: grid; place-content: center; justify-items: center; gap: 8px; text-align: center;
  background: linear-gradient(135deg, var(--paper-2), #e6ebf3);
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  color: var(--text-muted); padding: 22px; aspect-ratio: 4 / 3;
}
.ph svg { width: 30px; height: 30px; color: var(--navy); opacity: .42; }
.ph .ph-label { font-weight: 600; color: var(--navy); font-size: .92rem; }
.ph .ph-dim { font-size: .76rem; letter-spacing: .02em; }
.ph-wide { aspect-ratio: 16 / 9; }
.ph-tall { aspect-ratio: 3 / 4; }

/* Galerie (Schadensbeispiele) */
.gallery { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.gallery figure { margin: 0; }
.gallery figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border: 1px solid var(--line); border-radius: var(--radius);
}
.gallery figcaption { margin-top: 10px; font-size: .92rem; color: var(--text-muted); }
.gallery figcaption strong { color: var(--navy); font-weight: 700; }

/* Detail-Bild (Sektion „Teufel im Detail") */
.detail-figure { margin: 0; }
.detail-figure figcaption { margin-top: 12px; font-size: .92rem; color: var(--text-muted); text-align: center; }
.detail-figure figcaption strong { color: var(--navy); font-weight: 700; }

/* Zertifikate / Qualifikation — A4-Scans, statisch als Bild (kein PDF-Link) */
.certs { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); align-items: start; }
.cert { display: flex; flex-direction: column; gap: 12px; align-items: stretch; text-align: center; margin: 0; }
.cert img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
}
.cert-label { font-weight: 700; color: var(--navy); font-size: .95rem; }

/* Hamburg-Hintergrundband (Platzhalter; per CSS-Var --hamburg-bg leicht
   durch ein echtes, lizenziertes Stadtfoto ersetzbar). */
.band-hamburg {
  position: relative; color: #fff; overflow: hidden;
  background-color: var(--navy);
  background-image: var(--hamburg-bg, linear-gradient(160deg, #1d3160 0%, #15264a 55%, #0f1d38 100%));
  background-size: cover; background-position: center;
}
.band-hamburg::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 29, 56, .74), rgba(15, 29, 56, .88));
}
.band-hamburg > .container { position: relative; z-index: 1; }
.band-hamburg .ph-tag {
  position: absolute; right: 12px; bottom: 10px; z-index: 2;
  font-size: .72rem; color: rgba(255, 255, 255, .72);
  border: 1px dashed rgba(255, 255, 255, .42); border-radius: 6px; padding: 3px 9px;
}

/* ---------- Reassurance-Band (ersetzt die Cartoon-Crash-Szene) ----------
   Ruhiges Navy-„Dossier": Serifen-Statement + Linien-Siegel, das sich
   beim Reveal zeichnet. Keine gezeichneten Autos/Skyline mehr. */
.reassure { background: var(--navy); color: var(--on-navy); }
.reassure .container { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 56px); align-items: center; padding-block: clamp(56px, 9vw, 104px); }
.reassure-seal { flex-shrink: 0; }
.reassure-seal svg { width: clamp(84px, 12vw, 124px); height: auto; display: block; }
.reassure .seal-ring, .reassure .seal-check { stroke: #34d27e; }
.reassure h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.9rem); margin-bottom: .35em; }
.reassure h2 .accent { color: var(--red); }   /* Signal-Warnrot wie Hero/Buttons (Kundenwunsch) */
.reassure p { color: var(--on-navy-muted); font-size: 1.12rem; max-width: 54ch; margin-bottom: 24px; }
.reassure-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Crash-Scrollszene (Experiment): Canvas liegt hinter dem Inhalt, ein kräftiges
   Navy-Overlay (::after) hält die weiße Schrift lesbar — das helle Tagvideo
   scheint nur gedämpft durch. Ohne JS bleibt das Canvas leer → reines Navy. */
.reassure--crash { position: relative; overflow: hidden; }
.reassure--crash .crash-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.reassure--crash::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg,
    rgba(21, 38, 71, .94) 0%,
    rgba(21, 38, 71, .82) 45%,
    rgba(15, 29, 56, .72) 100%);
}
.reassure--crash .container { position: relative; z-index: 1; }

/* Siegel zeichnet sich beim Reveal (reduced-motion: sofort fertig) */
.seal-ring { stroke-dasharray: 176; stroke-dashoffset: 176; }
.seal-check { stroke-dasharray: 60; stroke-dashoffset: 60; }
.reveal.is-visible .seal-ring { transition: stroke-dashoffset 1s var(--ease-out) .15s; stroke-dashoffset: 0; }
.reveal.is-visible .seal-check { transition: stroke-dashoffset .5s var(--ease-out) .9s; stroke-dashoffset: 0; }

/* ---------- Schritte (Ablauf-Teaser + Stepper) ---------- */
.steps { display: grid; gap: 22px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700;
  font-family: var(--font-display); font-size: 1.1rem;
}
.step-content h3 { margin-bottom: 4px; color: var(--navy); }
.step-content p { color: var(--text-muted); margin: 0; }

.steps-tracked { position: relative; }
.steps-tracked::before {
  content: ""; position: absolute; left: 22px; top: 26px; bottom: var(--track-bottom, 26px);
  width: 2px; background: var(--line); border-radius: 1px;
}
.steps-tracked .steps-progress { display: none; }   /* kein Scrub mehr — ruhige statische Leitlinie */
.steps-tracked .step-num { position: relative; z-index: 1; }

/* Scroll-Aktivierung (ablauf.html): Zahlenblase färbt sich rot, sobald der
   Schritt beim Scrollen die Viewport-Mitte passiert (Klasse via main.js).
   Weiß auf var(--red) = 4.9:1 → AA für die fette Ziffer. */
.steps-tracked .step-num {
  transition: background-color .45s var(--ease-out),
              box-shadow .45s var(--ease-out),
              transform .45s var(--ease-out);
}
.steps-tracked .step.is-active .step-num {
  background: var(--red);
  transform: scale(1.06);
  box-shadow: 0 0 0 6px rgba(226, 0, 15, .12);
}
@media (prefers-reduced-motion: reduce) {
  .steps-tracked .step-num { transition: none; transform: none; }
}

/* ---------- Hinweis „kostenlos" (voller Rahmen, kein Side-Stripe) ---------- */
.notice-free {
  display: flex; gap: 14px; align-items: flex-start;
  background: #e9f5ee; border: 1px solid #bfe0cd; border-radius: var(--radius-sm);
  padding: 18px 20px; color: #14532d;
}
.notice-free svg { color: var(--green); flex-shrink: 0; }
.notice-free strong { color: #0f3d22; }
.notice-free.is-lg { padding: 22px 24px; gap: 16px; font-size: 1.1rem; }
.notice-free.is-lg svg { width: 28px; height: 28px; }

/* ---------- CTA-Band (Navy-Dossier) ---------- */
/* background-COLOR statt Shorthand, damit .band-hamburg sein background-image behält */
.cta-band { background-color: var(--navy); color: #fff; }
.cta-band .container { max-width: 760px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--on-navy-muted); max-width: 54ch; margin-inline: auto; font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }

/* ---------- Seiten-Header (Unterseiten) ---------- */
.page-header { background: var(--navy); color: #fff; padding-block: clamp(48px, 8vw, 84px); }
.page-header h1 { color: #fff; }
.page-header p { color: var(--on-navy-muted); font-size: 1.14rem; max-width: 60ch; margin-bottom: 0; }
.breadcrumb { font-size: .9rem; color: #9fb0cc; margin-bottom: 14px; }
.breadcrumb a { color: #c3cfe2; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Formular ---------- */
/* Honeypot: off-screen statt display:none, damit Bots das Feld nicht
   als versteckt erkennen und überspringen. Für Tastatur/Screenreader raus. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
/* min-width:0 hebt das Grid-Default min-width:auto auf — sonst sprengt z. B. das
   Datums-Feld (iOS/Safari: feste Eigenbreite) seine Spalte und überlappt das Nachbarfeld */
.form-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; color: var(--navy); font-size: .96rem; }
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: 13px 15px; border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); background: #fff; color: var(--text);
  width: 100%; min-width: 0; box-sizing: border-box;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
/* iOS rendert input[type=date] mit fester Eigenbreite → im Grid auf 100 % zwingen */
.form-field input[type="date"] { -webkit-appearance: none; appearance: none; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(21, 38, 71, .12);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--text-muted); }
.form-consent input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--text-muted); }

.form-field.error input, .form-field.error select, .form-field.error textarea {
  border-color: var(--red); box-shadow: 0 0 0 3px rgba(226, 0, 15, .12);
}
.field-error { color: var(--red); font-size: .85rem; font-weight: 600; }
.form-success {
  display: none; gap: 14px; align-items: flex-start;
  background: #e9f5ee; border: 1px solid #bfe0cd; border-radius: var(--radius-sm);
  padding: 20px 22px; color: #14532d;
}
.form-success.show { display: flex; animation: rise-in .45s var(--ease-out); }
.form-success svg { color: var(--green); flex-shrink: 0; }
.form-success strong { color: #0f3d22; }
@keyframes rise-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.form-errors {
  background: #fdeaec; border: 1px solid #f3b6bc; border-radius: var(--radius-sm);
  padding: 16px 20px; color: var(--red-700); margin-bottom: 20px; animation: rise-in .35s var(--ease-out);
}
.form-errors strong { display: block; margin-bottom: 6px; }
.form-errors ul { margin: 0; padding-left: 1.2rem; }
.form-errors a { color: var(--red-700); text-decoration: underline; font-weight: 600; }

/* ---------- Rechtsseiten / Lesefluss ---------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(1.4rem, 2.4vw, 1.7rem); }
.prose h3 { margin-top: 1.6rem; font-size: 1.12rem; }
.prose p, .prose li { color: var(--text); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1rem; }
.prose li { margin-bottom: .4rem; }
.prose address { font-style: normal; line-height: 1.8; }
.prose a { color: var(--red); text-decoration: underline; }

/* ---------- Footer (mit Hamburg-Kulisse + dunklem Overlay) ---------- */
.footer {
  position: relative; color: #c3cfe2; padding-block: 60px 28px;
  background-color: var(--navy-900);
  background-image: url("assets/img/hamburg-hero.jpg");
  background-image: image-set(url("assets/img/hamburg-hero.webp") type("image/webp"),
                              url("assets/img/hamburg-hero.jpg") type("image/jpeg"));
  /* 60 %: Skyline/Elbphilharmonie liegt in der unteren Bildhälfte — Ausschnitt so
     gewählt, dass die Kulisse inkl. Dach der Elbphilharmonie sichtbar ist */
  background-size: cover; background-position: center 60%;
}
.footer::before {                 /* Lesbarkeits-Overlay: heller Footer-Text bleibt AA */
  content: ""; position: absolute; inset: 0; background: rgba(13, 24, 46, .78); pointer-events: none;
}
.footer > .container { position: relative; z-index: 1; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 2fr 1fr 1fr; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-brand p { color: #8a99b5; max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #c3cfe2; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: .9rem; color: #8a99b5;
}
.footer-bottom a { color: #c3cfe2; }
.footer-bottom .legal { display: flex; gap: 18px; }

/* ---------- Nummerierte Checkliste (Soforthilfe) ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: step; }
.checklist li {
  position: relative; padding: 18px 20px 18px 66px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.checklist li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 700; font-family: var(--font-display);
  display: grid; place-items: center;
}
.checklist li strong { display: block; color: var(--navy); margin-bottom: 2px; }
.checklist li p { margin: 0; color: var(--text-muted); }

/* Scroll-Aktivierung (soforthilfe.html): Zahlenblase färbt sich rot, sobald
   der Punkt die Viewport-Mitte passiert (Klasse via main.js, Modul 6) —
   gleiches Muster wie der Stepper auf ablauf.html. */
.checklist li::before {
  transition: background-color .45s var(--ease-out),
              box-shadow .45s var(--ease-out),
              transform .45s var(--ease-out);
}
.checklist li.is-active::before {
  background: var(--red);
  transform: scale(1.06);
  box-shadow: 0 0 0 5px rgba(226, 0, 15, .12);
}
@media (prefers-reduced-motion: reduce) {
  .checklist li::before { transition: none; transform: none; }
}

/* ---------- Notruf-Box (rot, auffällig) ---------- */
.emergency {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; background: var(--red); color: #fff; border-radius: var(--radius);
  padding: 26px 30px;
}
.emergency h3 { color: #fff; margin: 0 0 4px; }
.emergency p { color: #fff; margin: 0; }
.emergency .btn { background: #fff; color: var(--red); border-color: #fff; flex-shrink: 0; }
.emergency .btn:hover { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* ---------- FAQ-Accordion ---------- */
.faq-list { display: grid; gap: 10px; max-width: 820px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); overflow: hidden; }
.faq-item.open { border-color: var(--line-strong); background: #fff; }
.faq-question {
  width: 100%; text-align: left; font: inherit; font-weight: 600; color: var(--navy);
  background: none; border: none; cursor: pointer; padding: 18px 52px 18px 22px; position: relative; min-height: 58px;
}
.faq-question:hover { color: var(--red); }
.faq-question .icon { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; transition: transform var(--t); }
.faq-question[aria-expanded="true"] .icon { transform: translateY(-50%) rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--dur) var(--ease-out); }
.faq-answer > div { overflow: hidden; min-height: 0; padding-inline: 22px; color: var(--text-muted); }
.faq-answer > div::after { content: ""; display: block; height: 18px; }
.faq-item.open .faq-answer { grid-template-rows: 1fr; }

/* ---------- Bewertungen (echte Google-Rezensionen, statisch) ---------- */
.reviews-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; margin-bottom: 6px; font-weight: 700; color: var(--navy); }
.reviews-summary .score { font-family: var(--font-display); font-weight: 600; font-size: 2.4rem; line-height: 1; }
.reviews-summary .stars { display: inline-flex; gap: 2px; color: #e8a400; align-self: center; }
.reviews-summary .stars svg { width: 21px; height: 21px; }
.reviews-summary .count { color: var(--text-muted); font-weight: 500; }

.reviews-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: clamp(28px, 5vw, 48px); }
.review-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.review-card .stars { display: inline-flex; gap: 2px; color: #e8a400; }
.review-card .stars svg { width: 17px; height: 17px; }
.review-card blockquote { margin: 0; color: var(--text); font-size: 1.02rem; line-height: 1.6; }
.review-card .review-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.review-card .avatar { width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 700; font-family: var(--font-display); }
.review-card .review-meta strong { display: block; color: var(--navy); }
.review-card .review-meta span { font-size: .85rem; color: var(--text-muted); }
.reviews-actions { margin-top: clamp(28px, 5vw, 40px); }

/* ---------- Scroll-Reveal (Progressive Enhancement, kein Drittanbieter) ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Sticky Mobile-CTA-Leiste ---------- */
.mobile-cta { display: none; }
@media (max-width: 680px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 8px;   /* Anrufen breiter (Hauptaktion) */
    position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-mobilebar);
    padding: 4px 12px calc(4px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); box-shadow: var(--shadow);
  }
  /* Leiste ~40 % flacher: kompaktere Buttons, weniger Innenabstand */
  .mobile-cta .btn { min-height: 38px; padding: 7px 14px; font-size: .9rem; gap: 7px; }
  .mobile-cta .btn .ico-phone,
  .mobile-cta .btn .ico-wa { width: 17px; height: 17px; }
  body:has(.mobile-cta) { padding-bottom: 47px; }
}

/* =====================================================================
   RESPONSIVE — Tablet (≤1024px)
   ===================================================================== */
@media (max-width: 1024px) {
  /* Anruf-Button bleibt sichtbar (Hauptaktion); nur die Navi wird schlanker */
  .navbar-nav { margin-left: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .facts .container { grid-template-columns: repeat(2, 1fr); gap: 8px 0; }
  .fact:nth-child(3) { border-left: none; }
  .fact { border-top: 1px solid var(--line); }
  .fact:nth-child(1), .fact:nth-child(2) { border-top: none; }
  .svc-item { grid-template-columns: 1fr; }
  .svc-media { display: none; }            /* auf Tablet/Mobil Text-fokussiert */

  /* Tablet + Handy: ganzes Foto zeigen (rausgezoomt) — Bild als voller Streifen oben,
     Text darunter auf Marken-Navy. contain = kein Beschnitt (Kopf, Shirt, Messlatte, Auto sichtbar).
     padding-top ≈ Streifenhöhe (Bild-Seitenverhältnis 3:2 → Höhe ≈ 66,7 % der Breite). */
  .hero {
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center top;
    padding-block: calc(66.7vw + 20px) clamp(28px, 6vw, 44px);
  }
  .hero::before { background: none; }   /* Foto bleibt unbedeckt; Text sitzt darunter auf Navy */
}

/* =====================================================================
   RESPONSIVE — Tablet/kleines Laptop (≤1160px): Navi zu Hamburger einklappen
   (Logo + 5 Links + Anruf-Button + „Schaden melden" passen erst ab der
   Container-Breite ~1160px nebeneinander; darunter würden sie überlaufen
   → H-Scroll. Daher klappen die Links hier in den Hamburger, der
   Button-Cluster Anruf + „Schaden melden" bleibt sichtbar.)
   ===================================================================== */
@media (max-width: 1160px) {
  .navbar-nav {
    position: absolute; top: 74px; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #152647; border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 8px 16px 16px; box-shadow: var(--shadow); display: none;
  }
  .navbar-nav.open { display: flex; }
  .navbar-nav a { padding: 14px; }
  .hamburger { display: flex; }
}

/* =====================================================================
   RESPONSIVE — Smartphone (≤680px)
   ===================================================================== */
@media (max-width: 680px) {
  /* Sekundär-Form + Punkt aus; Anruf-Button bleibt als kompakter Icon-Button (Hauptaktion) */
  .navbar-form { display: none; }
  .avail-dot { display: none; }
  .navbar-call { min-width: 0; width: 48px; height: 48px; padding: 0; }
  .navbar-call-txt { display: none; }

  /* Hero-Bild (ganzes Foto oben, Text darunter) wird im ≤1024-Block gesetzt und hier geerbt. */
  .hero-grid { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 40px); }   /* alle Zweispalter mobil einspaltig */
  .hero .hero-grid { max-width: 100%; }
  .cards-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .facts .container { grid-template-columns: 1fr 1fr; }
  .reassure .container { grid-template-columns: 1fr; gap: 24px; }
}

/* =====================================================================
   A11y — reduzierte Bewegung
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .seal-ring, .seal-check { stroke-dashoffset: 0; }
}
