:root {
  color-scheme: light;
  --ink: #f8f7f4; --ink-2: #ececea; --ink-3: #dcd9d0;
  --line: #cfcabf; --line-2: #a8a196; --text: #101114; --text-dim: #52565b;
  /* Markenrot lt. Vorgabe #da0616 direkt als Textfarbe: rechnerisch 5,2:1 auf
     Weiss (relative Luminanz), erfuellt WCAG AA (>=4,5:1) fuer Fliesstext ohne
     zusaetzlichen abgedunkelten Textton. */
  --accent: #da0616;
  --accent-bright: #ff2f3d;
  --accent-soft: rgba(218,6,22,0.08);
  --pulse-rgb: 218,6,22;
  --steel: #545e67;
  --steel-2: #7c8790;
  --radius: 3px;
  --serif: ui-serif, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Code", Menlo, "Courier New", monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  /* Schattensystem: weiche, mehrschichtige Tiefe statt harter Pixel-Versatz-
     Schatten (der fruehere "8-bit/Retro-UI"-Look, der als "Windows 98/
     Gameboy" kritisiert wurde). Grosszuegiger Blur + niedrige Deckkraft =
     hochwertige, moderne Materialitaet statt Skeuomorphismus. */
  --shadow-sm: 0 1px 2px rgba(20,22,26,.06), 0 4px 12px -4px rgba(20,22,26,.10);
  --shadow-md: 0 8px 24px -8px rgba(20,22,26,.22), 0 2px 8px -2px rgba(20,22,26,.12);
  --shadow-lg: 0 32px 64px -24px rgba(20,22,26,.38), 0 12px 28px -10px rgba(20,22,26,.22);
  --shadow-accent: 0 14px 34px -10px rgba(218,6,22,.38), 0 4px 12px -4px rgba(218,6,22,.22);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #17181b;
  --ink-2: #24272a;
  --ink-3: #292c30;
  --line: #3a3d41;
  --line-2: #4c5054;
  --text: #ececea;
  --text-dim: #a2a6aa;
  --steel: #8a94a0;
  --steel-2: #5b636b;
  /* Dunkelmodus: kraeftigeres Rot fuer Flaechen/Grafik, Text nutzt --accent-fg
     (4,7:1 auf --ink, erfuellt WCAG AA). */
  --accent: #ff2f3d;
  --accent-bright: #ff5a63;
  --accent-soft: rgba(255,47,61,0.16);
  --accent-fg: #ff6b72;
  --pulse-rgb: 255,255,255;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35), 0 4px 14px -4px rgba(0,0,0,.5);
  --shadow-md: 0 10px 28px -8px rgba(0,0,0,.6), 0 3px 10px -3px rgba(0,0,0,.4);
  --shadow-lg: 0 40px 80px -28px rgba(0,0,0,.75), 0 14px 32px -12px rgba(0,0,0,.5);
  --shadow-accent: 0 16px 40px -10px rgba(255,47,61,.35), 0 4px 14px -4px rgba(255,47,61,.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Archivo, breite Achse (wdth 125 / wght 800): Ueberschriften-Schrift, auf
   Wunsch des Auftraggebers gewaehlt, weil die breiten D/L-Formen am
   naechsten an die geometrischen Buchstaben des Logo-Schriftzugs kommen
   (das "A" im Logo bewusst nicht als Referenz genommen, das ist eine
   manuell nachbearbeitete Sonderform). Nur ein Schnitt, nur "latin"-Range
   (deckt deutsche Umlaute/ß ab), Fliesstext bleibt beim System-Font-Stack.
   font-stretch wird hier NICHT zusaetzlich gesetzt -- die Datei ist bereits
   fest auf wdth 125 instanziert, ein font-stretch-Wert auf den Elementen
   waere wirkungslos/redundant. */
@font-face {
  font-family: 'Archivo Wide Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('fonts/archivo-wide.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--sans); line-height: 1.6; font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 { font-family: 'Archivo Wide Display', var(--sans); font-weight: 800; letter-spacing: -0.005em; line-height: 1.12; text-wrap: balance; margin: 0; color: var(--text); overflow-wrap: break-word; hyphens: manual; }
p { color: var(--text-dim); margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; text-decoration: none; }
/* Bildgrading: vorhandene Fotos naeher an die Markenfarbe gezogen (etwas
   Kontrast/Saettigung, minimale Warm-/Rotverschiebung in den Schatten) --
   keine neuen Bilder, nur CSS-Filter auf den bestehenden Dateien. Video
   und Referenzenfotos bekommen dieselbe Behandlung fuer eine einheitliche
   Bildsprache. .no-grade (Logo-Icons etc.) bleibt unangetastet. */
img:not(.no-grade), video:not(.no-grade) {
  filter: contrast(1.09) saturate(1.12) sepia(.05) hue-rotate(-8deg) brightness(.98);
}
img { max-width: 100%; display: block; }

/* Sichtbarer Fokusring fuer Tastaturbedienung (WCAG 2.4.7). :focus-visible
   statt :focus, damit Mausklicks keinen Ring hinterlassen. */
:focus-visible {
  outline: 2px solid var(--accent-fg, var(--accent));
  outline-offset: 3px;
  border-radius: 2px;
}

/* Sprungmarke zum Inhalt (WCAG 2.4.1): sonst muessen Tastaturnutzer auf
   jeder Seite erst durch die komplette Navigation. Nur bei Fokus sichtbar. */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  background: var(--accent); color: #fff;
  padding: 10px 18px; border-radius: var(--radius);
  font-size: .9rem; font-weight: 600;
  transition: top .15s var(--ease);
}
.skip-link:focus { top: 8px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
/* Schlichte Trennung zwischen Sections (Rueckbau nach Live-Feedback,
   siehe Design-Plan Update 4) -- ersetzt das vorherige Paneelfuge-
   Blechkanten-Motiv mit Scroll-Parallax durch eine einfache duenne Linie. */
section { padding: 108px 0; }
section:not(:last-of-type) { border-bottom: 1px solid var(--line); }
.eyebrow {
  font-family: var(--mono); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-fg, var(--accent)); display: block; margin-bottom: 22px;
}
.hero-content .eyebrow {
  display: inline-block; border: 1px solid var(--accent); border-radius: 999px; padding: 7px 16px;
  background: var(--accent); color: #fff;
}
@media (max-width: 640px) {
  .hero-content .eyebrow { font-size: .6rem; letter-spacing: .08em; padding: 6px 12px; }
}
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
h2.section-title { font-size: clamp(1.55rem, 3.1vw, 2.6rem); }

::selection { background: var(--accent); color: #fff; }

/* Header */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--ink) 90%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease);
}
header.scrolled { border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 20px 32px; max-width: 1180px; margin: 0 auto; }
.logo { display: block; line-height: 0; border-radius: 4px; overflow: hidden; color: var(--text); }
/* Neue Wortmarke im Header (ersetzt frueheres Dreieck-/"A"-Icon + Schriftzug).
   Reines Inline-SVG (kein <img>, damit currentColor auf --text reagiert und
   in beiden Farbmodi korrekt faerbt). Breite bewusst identisch zur Breite
   des alten Icon+Text-Logos (180px) gehalten, obwohl die neue Wortmarke ein
   anderes Seitenverhaeltnis hat -- sonst verschiebt sich der Punkt, an dem
   "Über uns"/"Schaden melden" zwischen 900-1050px (knapp oberhalb des
   Burger-Breakpoints) in der Nav umbrechen, nach oben. Verkleinert sich auf
   schmalen Viewports zusaetzlich. Roter Akzent im SVG fest codiert, wechselt
   bewusst nicht mit dem Theme. */
.logo-mark { display: block; width: 180px; height: 20.6px; }
@media (max-width: 480px) { .logo-mark { width: 150px; height: 17.1px; } }
nav.links { display: flex; align-items: center; gap: 34px; }
nav.links a { font-size: .87rem; color: var(--text-dim); transition: color .2s; }
nav.links a:hover, nav.links a.active { color: var(--text); }
/* Primärer CTA in der Hauptnav ("Schaden melden") — eigenständig als roter
   Button abgesetzt, nicht wie die übrigen Textlinks. Nutzt dieselbe
   Markenfarbe (--accent/--accent-bright) wie die restlichen CTA-Buttons
   der Seite (.btn-primary), aber immer gefüllt statt nur bei Hover, damit
   er im Menü sofort als primäre Handlung erkennbar ist. */
.nav-cta {
  display: inline-flex; align-items: center; margin-left: 4px;
  padding: 9px 20px; border-radius: 999px;
  background: var(--accent); color: #fff !important; border: 1px solid var(--accent);
  font-weight: 700; box-shadow: var(--shadow-sm);
  transition: background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.nav-cta:hover, .nav-cta:focus-visible {
  background: var(--accent-bright); border-color: var(--accent-bright); color: #fff !important;
  box-shadow: var(--shadow-accent); transform: translateY(-2px);
}
@media (max-width: 900px) { .nav-cta { margin-left: 0; margin-top: 4px; } }
.nav-right { display: flex; align-items: center; gap: 18px; }
.theme-toggle {
  padding: 0; border: none; background: none; cursor: pointer;
  display: inline-flex; align-items: center;
}
.theme-toggle-track {
  position: relative; display: block; width: 46px; height: 25px;
  border-radius: 999px; background: var(--ink-3); border: 1px solid var(--line);
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.theme-toggle:hover .theme-toggle-track { border-color: var(--text-dim); }
.theme-toggle-thumb {
  position: absolute; top: 3px; left: 3px; width: 19px; height: 19px;
  border-radius: 50%; background: var(--text); color: var(--ink);
  display: grid; place-items: center; transform: translateX(21px);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
:root[data-theme="dark"] .theme-toggle-thumb { transform: translateX(0); }
.theme-toggle-thumb svg {
  width: 13px; height: 13px; position: absolute; transition: opacity .2s var(--ease);
}
.theme-icon-sun { opacity: 1; }
.theme-icon-moon { opacity: 0; }
:root[data-theme="dark"] .theme-icon-sun { opacity: 0; }
:root[data-theme="dark"] .theme-icon-moon { opacity: 1; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px;
  border-radius: 999px; font-size: .85rem; font-weight: 600; border: 1px solid var(--line);
  transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
}
.btn-primary { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-ghost { color: var(--text); }
.btn-ghost:hover { border-color: var(--text-dim); }
.burger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }
@media (max-width: 900px) {
  nav.links { display: none; }
  .burger { display: block; }
  nav.links a { font-size: 1.05rem; text-align: center; padding: 6px 0; }
  nav.links a.nav-cta { padding: 10px 24px; }
}

/* Sub-page hero (shorter, no canvas) */
.page-hero { padding: 170px 0 80px; }
.breadcrumb { font-family: var(--mono); font-size: .74rem; color: var(--text-dim); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--accent-fg, var(--accent)); }
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 3.4rem); max-width: 16ch; margin-bottom: 22px; }
.page-hero .lede { font-size: 1.1rem; max-width: 60ch; }

/* Hero (homepage) */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: flex-end;
  padding: 130px 0 70px; overflow: hidden;
}
@media (max-height: 760px) {
  .hero { min-height: auto; padding: 120px 0 60px; }
}
/* Bewusst 14% ueberhoeht (inset: -8% oben/unten statt 0) -- der leichte
   Parallax-Versatz per JS (translateY) braucht Ueberhang, damit beim
   Scrollen nirgends eine Kante der Fotoflaeche sichtbar wird. */
.hero-canvas { position: absolute; inset: -8% 0; z-index: 0; background: #0c0d0f; will-change: transform; }
/* <picture> ist per Default inline und hat keine eigene Hoehe -- ohne diese
   Regel laeuft height:100% am <img> ins Leere und das Foto rendert nur in
   seiner natuerlichen (viel kleineren) Hoehe statt den Hero voll zu fuellen. */
.hero-canvas picture { display: block; width: 100%; height: 100%; }
.hero-photo { width: 100%; height: 100%; display: block; object-fit: cover; }
/* Hero-Video nur Mobil/Tablet (<=900px) -- liegt exakt deckungsgleich ueber dem
   Foto (gleiches Fuellverhalten), Poster = hero-mobile.jpg macht den Uebergang
   unsichtbar, egal ob/wann das Video tatsaechlich zu spielen beginnt. Auf
   Desktop bleibt es display:none; JS laedt auf Desktop erst gar keine Quellen,
   damit dort kein Byte Video-Daten geladen wird. */
.hero-video { display: none; }
@media (max-width: 900px) {
  .hero-video {
    display: block; position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
  }
}
.hero-veil {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--ink) 4%, transparent) 0%, color-mix(in srgb, var(--ink) 20%, transparent) 48%, color-mix(in srgb, var(--ink) 58%, transparent) 70%, color-mix(in srgb, var(--ink) 97%, transparent) 90%),
    radial-gradient(ellipse 70% 60% at 0% 0%, color-mix(in srgb, var(--ink) 65%, transparent) 0%, color-mix(in srgb, var(--ink) 30%, transparent) 45%, transparent 75%);
}
/* Kraeftigerer Schleier nur auf Smartphones (06.08.) -- das Hochformat-Foto
   zeigt auf dem schmalen Bildschirm mehr helle Flaeche direkt hinter dem Text. */
@media (max-width: 640px) {
  .hero-veil {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--ink) 18%, transparent) 0%, color-mix(in srgb, var(--ink) 42%, transparent) 40%, color-mix(in srgb, var(--ink) 75%, transparent) 65%, color-mix(in srgb, var(--ink) 98%, transparent) 88%),
      radial-gradient(ellipse 90% 70% at 0% 0%, color-mix(in srgb, var(--ink) 80%, transparent) 0%, color-mix(in srgb, var(--ink) 45%, transparent) 50%, transparent 80%);
  }
}
.hero-content { position: relative; z-index: 2; width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 60px; align-items: end; }
.hero-grid > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { font-size: clamp(1.7rem, 4.6vw, 3.6rem); line-height: 1.08; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { font-size: 1.15rem; max-width: 46ch; margin-bottom: 36px; }
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta { display: flex; flex-direction: column; gap: 22px; padding-bottom: 6px; }
.hero-meta .row { border-top: 1px solid var(--line); padding-top: 14px; }
.hero-meta .row .k { font-family: var(--mono); font-size: .7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .08em; display: block; margin-bottom: 6px; }
.hero-meta .row .v { font-size: .96rem; color: var(--text); overflow-wrap: break-word; hyphens: manual; }
.scroll-cue {
  position: absolute; bottom: 28px; left: 32px; z-index: 2; display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
}
.scroll-cue .line { width: 34px; height: 1px; background: var(--text-dim); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: sweep 2.6s ease-in-out infinite; }
@keyframes sweep { 0% { transform: translateX(-100%); } 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }

/* Fotohintergrund fuer Sections — gleiches Verlauf-Prinzip wie .hero-veil,
   damit Text unabhaengig von Hell/Dunkel-Modus lesbar bleibt. */
.section-photo { position: relative; overflow: hidden; }
/* War frueher ein leeres <div> mit background-image (kein Alt-Text, fuer
   Bildersuche/Screenreader unsichtbar) -- jetzt ein echtes <img> mit
   beschreibendem Alt-Text (Regel A), per object-fit weiterhin volle Flaeche. */
.section-photo-bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.section-photo-veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 62%, transparent) 0%, color-mix(in srgb, var(--ink) 80%, transparent) 45%, color-mix(in srgb, var(--ink) 94%, transparent) 100%);
}
/* Hellmodus: Verlauf um die Haelfte abgeschwaecht, damit die Fotos originaler
   wirken statt fast weiss uebertuencht zu sein (--ink ist im Hellmodus fast weiss). */
:root:not([data-theme="dark"]) .section-photo-veil {
  background: linear-gradient(180deg, color-mix(in srgb, var(--ink) 31%, transparent) 0%, color-mix(in srgb, var(--ink) 40%, transparent) 45%, color-mix(in srgb, var(--ink) 47%, transparent) 100%);
}
.section-photo > .container { position: relative; z-index: 2; }
.section-photo .thesis-item, .section-photo .sector {
  background: color-mix(in srgb, var(--ink) 90%, transparent); border-color: var(--line-2); border-radius: 4px; padding: 24px 22px;
}
/* Aus dem .container ausbrechen auf volle Viewportbreite — fuer Foto-Sections,
   die nicht als eigenes <section>-Element vorliegen, sondern innerhalb einer
   bestehenden Section sitzen (z. B. "Einsatzbereiche" innerhalb "Einsatzgebiet"). */
.full-bleed { width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); border-radius: 0; }
.full-bleed .section-photo-bg, .full-bleed .section-photo-veil { border-radius: 0; }
.full-bleed > .container { max-width: 1180px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

/* Reine Foto-Baender ohne Textinhalt darueber -- lockern lange Textseiten
   (Baulackierung, Ueber uns, Einsatzgebiet) optisch auf, ohne wie .section-photo
   selbst Content zu tragen. Kurze Bildunterschrift unten links, gleiche
   Monospace-Optik wie die Slider-Hinweise auf /referenzen/. */
.photo-band { position: relative; overflow: hidden; height: 46vh; min-height: 320px; max-height: 560px; }
.photo-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Bewusst fest dunkel statt var(--ink) -- eine Bildunterschrift auf einem Foto
   braucht immer denselben dunklen Schleier + helle Schrift, unabhaengig vom
   Seiten-Theme (--ink kehrt sich im Hellmodus zu fast-weiss um, das wuerde den
   Schleier hier ins Gegenteil verkehren). */
.photo-band-veil {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,11,13,.82) 0%, transparent 42%);
}
.photo-band figcaption {
  position: absolute; left: 24px; right: 24px; bottom: 16px; z-index: 1;
  font-family: var(--mono); font-size: .78rem; color: rgba(255,255,255,.82);
}
@media (max-width: 640px) { .photo-band { height: 34vh; min-height: 240px; } }

/* Reveal on scroll */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--stagger, 0ms);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Thesis / problem section */
.thesis-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 50px; }
@media (max-width: 900px) { .thesis-grid { grid-template-columns: 1fr; } }
.thesis-item { border-top: 1px solid var(--line); padding-top: 24px; }
.thesis-item .role { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-fg, var(--accent)); margin-bottom: 12px; display: block; }
.thesis-item h3 { font-size: 1.1rem; margin-bottom: 10px; font-weight: 600; }
.thesis-item p { font-size: .92rem; }

/* Delta-E precision section */
.precision { background: var(--ink-2); }
.precision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
@media (max-width: 900px) { .precision-grid { grid-template-columns: 1fr; gap: 50px; } }
/* ============================================================
   ΔE-Demonstrator (echt, spielbar) -- ersetzt das fruehere rein
   dekorative Rund-Instrument. site.js (initDeltaEDemo) berechnet den
   tatsaechlichen CIEDE2000-Abstand zwischen der fixen Bestandsfarbe und
   der per Regler verschobenen Reparaturfarbe in Echtzeit.
   ============================================================ */
.de-demo {
  background: linear-gradient(155deg, #2c3034 0%, #1d1f22 100%);
  border: 1px solid rgba(255,255,255,.08); border-radius: 10px;
  padding: clamp(28px,3.4vw,44px); box-shadow: var(--shadow-lg);
}
.de-demo-swatches { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 28px; border-radius: 6px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.de-swatch {
  aspect-ratio: 4/3; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 14px 16px; position: relative; overflow: hidden;
  background: #383e42; /* flache Flaeche, kein Glanz-Overlay (Rueckbau nach Live-Feedback) -- Fallback, wird von site.js sofort per JS gesetzt */
}
.de-swatch-tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.95); text-shadow: 0 1px 4px rgba(0,0,0,.7); position: relative; }
.de-swatch-ral { font-family: var(--mono); font-size: .62rem; color: rgba(255,255,255,.68); margin-top: 2px; text-shadow: 0 1px 4px rgba(0,0,0,.7); position: relative; }
#deSwatchRepair { cursor: ew-resize; touch-action: none; }
#deSwatchRepair::after {
  content: "⇆"; position: absolute; top: 12px; right: 14px; color: rgba(255,255,255,.6); font-size: .95rem; z-index: 1;
}
.de-demo-readout {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; flex-wrap: wrap;
}
.de-demo-readout .val { font-family: var(--mono); font-size: 3.1rem; font-weight: 500; color: #fbfbfa; font-variant-numeric: tabular-nums; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.de-demo-readout .unit { font-size: 1.15rem; color: var(--steel); margin-left: 4px; }
.de-demo-readout.over .unit, .de-demo-readout.over #deVal { color: var(--accent-bright); text-shadow: 0 2px 24px rgba(255,47,61,.45); }
.de-demo-readout .cap { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(245,245,243,.6); }
.de-demo-control { display: block; margin-bottom: 18px; }
.de-demo-control-label { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(245,245,243,.75); margin-bottom: 12px; }
.de-demo-control input[type="range"] {
  width: 100%; appearance: none; -webkit-appearance: none; height: 4px;
  background: linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.1)); border-radius: 4px; outline-offset: 6px;
}
.de-demo-control input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-bright), var(--accent) 70%);
  border: 3px solid #f5f5f3; cursor: pointer; box-shadow: 0 6px 18px -2px rgba(0,0,0,.55), 0 0 0 6px rgba(255,47,61,.14);
}
.de-demo-control input[type="range"]::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 3px solid #f5f5f3; cursor: pointer;
}
.de-demo-hint { font-size: .82rem; color: rgba(245,245,243,.55); margin: 0; max-width: 60ch; }
@media (max-width: 560px) { .de-demo-swatches { grid-template-columns: 1fr; } }

/* Leistungen */
.service-list { margin-top: 50px; border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 220px 1fr 90px; gap: 30px; align-items: baseline;
  padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding-left .25s var(--ease);
}
.service-row:hover { padding-left: 10px; }
.service-row h3 { font-size: 1.1rem; font-weight: 600; }
.service-row p { font-size: .9rem; margin: 0; max-width: 56ch; }
.service-row .idx { font-family: var(--mono); font-size: .78rem; color: var(--text-dim); text-align: right; }
.service-row a.more { font-size: .78rem; color: var(--accent-fg, var(--accent)); white-space: nowrap; }
@media (max-width: 760px) {
  .service-row { grid-template-columns: 1fr; gap: 6px; }
  .service-row .idx { display: none; }
}
.material-note { margin-top: 30px; font-size: .9rem; }
.material-note b { color: var(--text); font-weight: 600; }

/* Process */
.process { background: var(--ink-2); }
.process-list { margin-top: 56px; display: grid; gap: 0; }
.process-row { display: grid; grid-template-columns: 70px 1fr 1fr; gap: 30px; padding: 30px 0; border-top: 1px solid var(--line); }
.process-row:last-child { border-bottom: 1px solid var(--line); }
.process-row .num { font-family: var(--mono); font-size: 1rem; color: var(--accent-fg, var(--accent)); }
.process-row h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.process-row p { font-size: .88rem; margin: 0; }
.process-row .tag { font-family: var(--mono); font-size: .7rem; color: var(--text-dim); align-self: center; text-align: right; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 760px) {
  .process-row { grid-template-columns: 40px 1fr; }
  .process-row .tag { display: none; }
}

/* Advantage */
.adv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); margin-top: 50px; border: 1px solid var(--line); }
.adv-grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .adv-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .adv-grid, .adv-grid-3 { grid-template-columns: 1fr; } }
.adv-item { background: var(--ink); padding: 34px; }
.adv-item h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 10px; }
.adv-item p { font-size: .9rem; margin: 0; }

/* Referenzen-Teaser auf der Startseite: echte Fallfotos statt reinem Textlink */
.case-teaser-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }
.case-teaser-item { background: var(--ink); display: block; color: inherit; text-decoration: none; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: border-color .25s, transform .25s; }
.case-teaser-item:hover { border-color: var(--line-2); transform: translateY(-2px); }
.case-teaser-item img { width: 100%; height: 230px; object-fit: cover; display: block; }
.case-teaser-item .ct-body { padding: 22px 26px; }
.case-teaser-item .ct-tag { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.case-teaser-item h3 { font-size: 1.02rem; font-weight: 600; margin: 8px 0 6px; }
.case-teaser-item p { font-size: .88rem; margin: 0; }
@media (max-width: 760px) { .case-teaser-grid { grid-template-columns: 1fr; } }

/* ===== Ergebnis / Vorher-Nachher (echte Fotos) ===== */
.cmp { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(34px,5vw,80px); align-items: center; }
@media (max-width: 900px) { .cmp { grid-template-columns: 1fr; } .cmp .txt { order: -1; } }
.ba {
  position: relative; aspect-ratio: 5/4; border-radius: 4px; overflow: hidden; user-select: none;
  touch-action: none; cursor: ew-resize; border: 1px solid var(--line); box-shadow: 0 50px 80px -40px rgba(0,0,0,.6);
}
/* War frueher ein leeres <div> je Haelfte mit background-image -- jetzt ein
   echtes <img> mit Alt-Text (Regel A), Bildinhalt bleibt identisch. */
.ba .surf {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ba .surf-before, .ba .surf-photo.before { clip-path: inset(0 50% 0 0); transition: clip-path .1s linear; }
.ba.dragging .surf-before, .ba.dragging .surf-photo.before { transition: none; }
/* Echtes Draggen (site.js): .hd.left und der clip-path auf .surf-before
   werden per Pointer-/Touch-Events live gesetzt, mit kurzer Transition fuer
   Klicks/Tastatur und ohne Transition waehrend des aktiven Ziehens. */
.ba .hd {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--accent);
  transform: translateX(-50%); z-index: 3; box-shadow: 0 0 16px var(--accent);
  transition: left .1s linear;
}
.ba.dragging .hd { transition: none; }
.ba .hd .grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--accent-bright), var(--accent) 75%);
  display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--mono); font-size: 14px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
  box-shadow: var(--shadow-md), 0 0 0 4px rgba(255,255,255,.14);
}
.ba:hover .hd .grip, .ba.dragging .hd .grip { transform: translate(-50%,-50%) scale(1.12); }
.ba.dragging .hd .grip { box-shadow: var(--shadow-accent), 0 0 0 4px rgba(255,255,255,.2); }
.ba .lbl {
  position: absolute; top: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  background: rgba(0,0,0,.55); color: #fff; border: 1px solid var(--line-2); padding: 6px 10px; border-radius: 2px; z-index: 4;
}
.ba .lbl.l { left: 16px; } .ba .lbl.r { right: 16px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 5; pointer-events: none; }
.chk { display: grid; gap: 12px; margin-top: 20px; }
.chk > div { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--text); }
.chk svg { color: var(--accent); flex-shrink: 0; }

/* ===== Referenzen / Fallseiten — echte Fotos statt CSS-Hintergrund ===== */
.case-grid { display: grid; gap: clamp(56px,7vw,96px); margin-top: 10px; }
/* Fall-Ueberschrift ist semantisch h2 (keine Ebene ueberspringen), behaelt aber
   die urspruengliche h3-Groesse — die Faelle sind der H1 untergeordnet, sollen
   sie optisch aber nicht ueberstrahlen. */
.case-title { font-size: 1.17rem; }
.case-card { border-top: 1px solid var(--line); padding-top: clamp(34px,4vw,54px); }
.case-card:first-child { border-top: none; padding-top: 0; }
.case-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.case-tag {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-2); border-radius: 2px; padding: 4px 9px; color: var(--text-dim);
}
.case-tag.case-date { border-color: var(--accent); color: var(--accent-fg, var(--accent)); }
.case-tag.case-date time { text-transform: none; letter-spacing: normal; }
/* Text zuerst, Bilder danach (Nutzerwunsch 06.08.) -- kein Nebeneinander mehr
   wie zuvor mit .cmp, sondern gestapelt: Textblock, dann Vergleichsbild(er),
   dann ggf. zusaetzliche Detailfotos. Bildbreite gedeckelt, sonst wirken die
   Kacheln auf breiten Desktop-Viewports wieder zu dominant. */
.case-card .txt { max-width: 62ch; margin-bottom: 24px; }
.case-card .case-media { max-width: 640px; }
/* Referenzen-Fotos einheitlich 5:4 (Querformat), auf Nutzerwunsch (06.08.) --
   vorher 4:5 Hochformat, wirkte auf Desktop zu gross/unruhig. object-fit: cover
   schneidet hochkant aufgenommene Fotos (Handyfotos) oben/unten leicht an. */
.ba.case-slider { aspect-ratio: 5/4; }
.case-slider .surf-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.case-slider .surf-photo.before { clip-path: inset(0 50% 0 0); }
/* Immer zweispaltig und im festen 5:4-Format -- kompakter und einheitlicher als
   die vorherige einspaltige Loesung mit natuerlichem Seitenverhaeltnis, die auf
   Desktop je nach Fotoformat sehr grosse, uneinheitliche Kacheln erzeugte. */
.case-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 22px; max-width: 640px; }
.case-gallery figure { margin: 0; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; position: relative; }
.case-gallery img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; display: block; }
.case-gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--mono); font-size: .72rem;
  padding: 6px 10px; color: #fff; background: rgba(0,0,0,.55);
}
@media (max-width: 640px) { .case-gallery { grid-template-columns: 1fr; } }
.case-note { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-dim); }

/* ===== Geo-Map (1:1 übernommen, umgefärbt auf neue Palette) ===== */
.geo-map { max-width: 660px; margin: 34px auto 10px; aspect-ratio: 620/520; }
.geo-map svg { width: 100%; height: 100%; display: block; overflow: visible; }
.geo-sea { fill: #dbe4ea; }
:root[data-theme="dark"] .geo-sea { fill: #1b2124; }
.geo-grid-dot { fill: var(--line); }
.geo-compass-mark { stroke: var(--text-dim); fill: var(--text-dim); }
.geo-coast { fill: none; stroke: #616b70; stroke-width: 1.2; stroke-linejoin: round; stroke-linecap: round; }
.geo-a1 { fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .85; }
.geo-a1-label { font-family: var(--mono); font-size: 10px; fill: var(--accent-fg, var(--accent)); letter-spacing: .15em; opacity: .85; }
.geo-connector { stroke: var(--accent); stroke-width: 1; stroke-dasharray: 2 4; opacity: .45; }
.geo-city-dot { fill: var(--ink-2); stroke: var(--text-dim); stroke-width: 1.5; }
.geo-city-label { font-family: var(--mono); font-size: 12px; fill: var(--text-dim); letter-spacing: .02em; }
.geo-hub-glow { fill: url(#hubGlow); }
.geo-hub-dot { fill: var(--accent); }
.geo-hub-pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: geopulse 2.6s ease-out infinite; }
.geo-hub-label { font-family: var(--mono); font-size: 14px; font-weight: 700; fill: #fff; letter-spacing: .05em; }
.geo-sea-label { font-family: var(--mono); font-size: 11px; fill: #4d585d; letter-spacing: .22em; }
.geo-compass-label { font-family: var(--mono); font-size: 10px; fill: var(--text-dim); }
.geo-city-link { cursor: pointer; }
/* unsichtbare Trefferfläche: hebt den Tap-Target auf >= 24px (WCAG 2.5.8) */
.geo-hit { fill: transparent; }
.geo-city-link .geo-city-dot { transition: r .15s ease, fill .15s ease; }
.geo-city-link .geo-city-label { transition: fill .15s ease; }
.geo-city-link:hover .geo-city-dot { r: 6; fill: var(--accent); stroke: var(--accent); }
.geo-city-link:hover .geo-city-label { fill: var(--accent); font-weight: 700; }
@keyframes geopulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(3.4); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .geo-hub-pulse { animation: none; opacity: 0; } }
@media (max-width: 560px) { .geo-city-label, .geo-hub-label { font-size: 14px; } .geo-sea-label { font-size: 13px; } }

.cities { display: flex; flex-wrap: wrap; gap: 10px; }
.cities span { font-family: var(--mono); font-size: 13.5px; color: var(--text); background: var(--ink-2); border: 1px solid var(--line); border-radius: 30px; padding: 9px 18px; }
.cities-note { margin-top: 18px; font-size: 14.5px; color: var(--text-dim); max-width: 70ch; }

.sectors { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }
.sector { border: 1px solid var(--line); border-radius: 4px; padding: 30px 26px; transition: background .35s, border-color .35s, transform .35s; }
.sector:hover { background: var(--ink-2); border-color: var(--line-2); transform: translateY(-4px); }
.sector .n { font-family: var(--mono); font-size: 12px; color: var(--accent-fg, var(--accent)); margin-bottom: 16px; }
.sector h3 { font-size: 18px; margin-bottom: 8px; }
.sector p { font-size: 14px; color: var(--text-dim); }

/* ===== 3D Panel exploded view (used on /wissen/ subpage) ===== */
.thesis-big { font-size: clamp(1.35rem,2.7vw,2.0rem); font-weight: 600; letter-spacing: -.01em; max-width: 24ch; margin-bottom: 10px; }
.thesis-big .dim { color: var(--text-dim); font-weight: 500; }
.thesis-big .accent { color: var(--accent); }
.thesis-row { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; margin-top: 60px; }
.thesis-row-asym { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 900px) { .thesis-row, .thesis-row-asym { grid-template-columns: 1fr; gap: 40px; } }
.p3-scene { perspective: 1100px; display: flex; flex-direction: column; align-items: center; gap: clamp(70px,9vw,100px); padding-top: 20px; }
.p3-obj {
  position: relative; width: min(320px,68vw); height: 210px; transform-style: preserve-3d;
  transform: rotateX(58deg) rotateZ(-38deg); animation: p3sway 10s ease-in-out infinite;
}
@keyframes p3sway { 0%,100% { transform: rotateX(58deg) rotateZ(-38deg); } 50% { transform: rotateX(55deg) rotateZ(-34deg); } }
@media (prefers-reduced-motion: reduce) { .p3-obj { animation: none; } }
.p3l { position: absolute; left: 50%; top: 50%; width: 100%; height: 170px; margin: -85px 0 0 -50%; transform-style: preserve-3d; transform: translateZ(var(--tz,0px)); }
.p3l.a { --tz: 105px; background: repeating-linear-gradient(90deg,transparent 0 46px,rgba(0,0,0,.45) 48px,rgba(255,255,255,.10) 50px,transparent 52px),linear-gradient(150deg,#464e55,#383e42); }
.p3l.a::before { --th: 5px; background: #1f2529; }
.p3l.a::after { --th: 5px; background: #262c31; }
.p3l.c { --tz: 0px; background: linear-gradient(150deg,#eee2a9,#ddcd8d); }
.p3l.c::before { --th: 14px; background: linear-gradient(#c9b87e,#b6a56c); }
.p3l.c::after { --th: 14px; background: linear-gradient(#d8c98a,#c2b06e); }
.p3l.b { --tz: -90px; background: repeating-linear-gradient(90deg,#f0f2f3 0 7px,#c6cbcf 7px 13px,#8f959a 13px 19px,#d6d9db 19px 32px); }
.p3l.b::before { --th: 5px; background: #9aa0a4; }
.p3l.b::after { --th: 5px; background: #a7abac; }
.p3l::before { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: var(--th,8px); transform-origin: top; transform: rotateX(-90deg); background: rgba(0,0,0,.5); }
.p3l::after { content: ""; position: absolute; top: 0; bottom: 0; left: 100%; width: var(--th,8px); transform-origin: left; transform: rotateY(90deg); background: rgba(0,0,0,.42); }
.p3-dot { position: absolute; top: 32%; left: 58%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px var(--accent-soft); transform: translateZ(2px); }
.p3-legend { display: flex; flex-direction: column; gap: 9px; font-size: 14px; color: var(--text-dim); }
.p3-legend span { display: flex; align-items: center; gap: 11px; }
.p3-legend i { width: 15px; height: 15px; border-radius: 3px; flex: 0 0 auto; border: 1px solid var(--line-2); }
.p3-legend .rd { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); border: 0; box-shadow: 0 0 0 4px var(--accent-soft); }
.p3-legend b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .p3-obj { height: 180px; } .p3l { height: 145px; margin-top: -72px; } }

/* Coverage secondary list (used alongside map) */
.city-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.city-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.city-list li span:last-child { color: var(--text-dim); font-family: var(--mono); font-size: .78rem; }

/* FAQ */
/* Aufzaehlungen im Fliesstext (Wissensartikel) */
.prose-list { list-style: none; margin: 18px 0; padding: 0; display: grid; gap: 14px; max-width: 70ch; }
.prose-list li { padding-left: 24px; position: relative; font-size: .95rem; color: var(--text-dim); line-height: 1.6; }
.prose-list li::before { content: "—"; position: absolute; left: 0; top: 0; color: var(--accent-fg, var(--accent)); font-family: var(--mono); }
.prose-list li b { color: var(--text); font-weight: 600; }
.prose-list.numbered { counter-reset: pl; }
.prose-list.numbered li { counter-increment: pl; }
.prose-list.numbered li::before { content: counter(pl) "."; font-family: var(--mono); }
.callout { font-size: .82rem; color: var(--text-dim); background: var(--ink-2); border-radius: var(--radius); padding: 14px 18px; margin: 22px 0; max-width: 70ch; border-left: 2px solid var(--accent); }

.compare-table-wrap { overflow-x: auto; margin: 26px 0; max-width: 70ch; }
.compare-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare-table thead th { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); font-weight: 600; }
.compare-table tbody th { color: var(--text); font-weight: 600; white-space: nowrap; }
.compare-table tbody tr:last-child td, .compare-table tbody tr:last-child th { border-bottom: none; }

/* Kurzantwort direkt unter der H1 — fuer Mensch und KI-Suche eigenstaendig lesbar */
.article-summary { font-size: 1.05rem; line-height: 1.6; color: var(--text); background: var(--ink-2); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 8px; max-width: 70ch; }
.article-dateline { font-family: var(--mono); font-size: .78rem; letter-spacing: .04em; color: var(--text-dim); margin: 10px 0 0; }
.article-dateline time { color: var(--text-dim); }

.faq-list { margin-top: 40px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; font-size: 1.02rem; font-weight: 600; color: var(--text); gap: 20px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--accent-fg, var(--accent)); font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .a { padding-bottom: 26px; font-size: .92rem; max-width: 68ch; }

/* Contact */
.contact { background: var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; margin-top: 50px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; margin: 0; }
@media (max-width: 900px) { .contact-info dl { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .contact-info dl { grid-template-columns: 1fr; } }
.contact-info dt { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-dim); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 1rem; color: var(--text); }
.contact-info dd a { border-bottom: 1px solid var(--line); display: inline-flex; align-items: center; min-height: 24px; }
.note a { display: inline-flex; align-items: center; min-height: 24px; }
.contact-info dd a:hover { border-color: var(--accent); color: var(--accent-fg, var(--accent)); }

form.lead-form { display: grid; gap: 18px; }
/* Honeypot: aus dem Sichtfeld geschoben statt display:none — einfache Bots
   fuellen es trotzdem aus, Screenreader ueberspringen es per aria-hidden. */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-dim); }
.field input, .field select, .field textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--line); color: var(--text);
  padding: 10px 2px; font-family: var(--sans); font-size: .96rem; transition: border-color .2s;
}
/* Vormals "outline: none" mit blossem Rahmenfarbwechsel — fuer Tastaturnutzer
   kaum erkennbar. Jetzt zusaetzlich ein deutlicher Ring (WCAG 2.4.7). */
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent-fg, var(--accent)); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent-fg, var(--accent));
  outline-offset: 2px;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input[type="file"] { border: 1px dashed var(--line); padding: 14px 10px; font-size: .86rem; cursor: pointer; }
.field input[type="file"]::file-selector-button {
  background: var(--ink-2); color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; margin-right: 12px; font-family: var(--sans); font-size: .8rem; cursor: pointer;
}
.field-hint { font-size: .74rem; color: var(--text-dim); margin: 0; }
.field-check { display: flex; flex-direction: row; align-items: flex-start; gap: 10px; }
.field-check input[type="checkbox"] {
  width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent);
}
.field-check label {
  text-transform: none; font-family: var(--sans); font-size: .85rem; letter-spacing: normal;
  color: var(--text); font-weight: 400;
}
.field-check label a { color: var(--accent-fg, var(--accent)); border-bottom: 1px solid currentColor; }
.note { font-size: .78rem; color: var(--text-dim); background: var(--ink-3); border-radius: var(--radius); padding: 10px 14px; margin-top: 4px; }

.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 200; width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.4rem;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35); transition: transform .2s var(--ease);
}
.wa-float:hover { transform: scale(1.06); }

/* Footer ist immer dunkel, unabhaengig vom Hell/Dunkel-Toggle der Seite —
   deshalb feste Hex-Werte statt --ink/--text (die sich sonst mit dem
   Modus umfaerben wuerden und auf dem dunklen Foto unlesbar waeren). */
footer.site-footer {
  position: relative; overflow: hidden; padding: 60px 0 40px; color: #e8e7e4;
  background-color: #2b2d30;
  background-image: linear-gradient(180deg, rgba(32,33,35,.90) 0%, rgba(32,33,35,.96) 100%), url('img/lackierpistole-explosionszeichnung.jpg');
  background-size: cover; background-position: center;
}
footer.site-footer p { color: #a3a6a8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
@media (max-width: 700px) { .logo-full { width: 220px; height: 25.1px; } }
.footer-grid .footer-head { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: #a3a6a8; margin: 0 0 16px; font-weight: 600; max-width: none; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
/* min. 24px Trefferfläche (WCAG 2.5.8 / Google Mobile Usability) */
.footer-grid a { font-size: .88rem; color: #a3a6a8; display: inline-flex; align-items: center; min-height: 24px; padding: 2px 0; }
.footer-grid a:hover { color: #e8e7e4; }
.footer-bottom { border-top: 1px solid #3a3d41; margin-top: 40px; padding-top: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; font-size: .78rem; color: #a3a6a8; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 24px; }
.footer-bottom-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; }
.footer-social { display: flex; justify-content: center; gap: 10px; }
.footer-social .social-icon {
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: #24272a; border: 1px solid #3a3d41; color: #a3a6a8;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.footer-social a.social-icon:hover { background: #e21b23; color: #fff; border-color: #e21b23; }
.footer-social span.social-icon.is-disabled { opacity: .38; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .scroll-cue .line::after { animation: none; }
  .hero-canvas { transform: none !important; }
  .precision-instrument::before, .precision-instrument.sweep .readout .val { animation: none; opacity: 0; }
  .case-teaser-item:hover, .city-card:hover, .sector:hover { transform: none; }
  .btn-primary:hover { transform: none; }
}

/* ============================================================
   Serie-Index (Stadtseiten / Schadensart-Seiten): macht sichtbar, dass
   diese Seiten Teil eines Systems sind ("STADT 03/09") -- Layout-
   Differenzierung nach Seitentyp statt eines einzigen Templates.
   ============================================================ */
.series-index {
  display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--mono);
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
  margin-bottom: 14px;
}
.series-index b { color: var(--accent); font-weight: 700; }
.series-index .track {
  display: inline-block; width: 60px; height: 3px; background: var(--line); position: relative; border-radius: 2px; overflow: hidden;
}
.series-index .track i { position: absolute; inset: 0; width: var(--p, 0%); background: var(--accent); border-radius: 2px; }

/* Corrosivity indicator (city pages) */
.corrosivity { display: flex; align-items: center; gap: 18px; margin: 26px 0; }
.corrosivity .scale { display: flex; gap: 3px; }
.corrosivity .scale i { width: 22px; height: 10px; border-radius: 2px; background: var(--line); }
.corrosivity .scale i.on { background: var(--accent); }
.corrosivity .label { font-family: var(--mono); font-size: .76rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: .06em; }
.corrosivity .label b { color: var(--text); font-weight: 700; }

.city-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 900px) { .city-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .city-grid { grid-template-columns: 1fr; } }
.city-card { border: 1px solid var(--line); border-radius: 4px; padding: 26px; transition: background .3s, border-color .3s, transform .3s; display: block; }
.city-card:hover { background: var(--ink-2); border-color: var(--line-2); transform: translateY(-4px); }
.city-card .dist { font-family: var(--mono); font-size: .7rem; color: var(--text-dim); margin-bottom: 10px; }
.city-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.city-card p { font-size: .86rem; margin: 0; }
.city-card .cat { display: inline-block; margin-top: 12px; font-family: var(--mono); font-size: .68rem; color: var(--accent-fg, var(--accent)); border: 1px solid var(--accent); border-radius: 999px; padding: 3px 10px; }


/* ============================================================
   Tiefe/Materialitaet: weiche, mehrschichtige Schatten + dezenter Lift
   beim Hover statt der fruehen harten Pixel-Versatz-Schatten (wirkten wie
   Retro-UI/"Windows 98"). Karten heben sich beim Hover leicht an, statt
   sich wie ein gedrueckter Button zu verschieben.
   ============================================================ */
.case-teaser-item, .city-card, .sector, .adv-item, .case-gallery figure {
  border-width: 1px; box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.ba { border-width: 1px; }
.case-teaser-item:hover, .city-card:hover, .sector:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--steel);
  transform: translateY(-4px);
}
.btn-primary {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: box-shadow .25s var(--ease), transform .25s var(--ease), background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn-primary:hover { box-shadow: var(--shadow-accent); transform: translateY(-2px); }
.btn-ghost { border-radius: var(--radius); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.btn-ghost:hover { transform: translateY(-2px); }
.skip-link { border-radius: var(--radius); }

/* Absenden-Button im Schadensformular: dezenter, dauerhafter Puls-Ring statt
   echtem Blinken (Opazitaets-Flackern waere ein WCAG-Risiko bei laengerer
   Anzeigedauer) -- macht den finalen Schritt trotzdem gut sichtbar. */
#submitBtn { animation: submitPulse 2.4s ease-in-out infinite; }
#submitBtn:hover, #submitBtn:focus-visible { animation-play-state: paused; }
@keyframes submitPulse {
  0%, 100% { box-shadow: var(--shadow-md), 0 0 0 0 rgba(var(--pulse-rgb),.4); }
  50% { box-shadow: var(--shadow-md), 0 0 0 9px rgba(var(--pulse-rgb),0); }
}
@media (prefers-reduced-motion: reduce) {
  #submitBtn { animation: none; }
}

