/* ==========================================================================
   Metallgestaltung Fuss – Stylesheet (Dezember 2026)
   Aufbau nach den Kundenreferenzen: zwei Bereiche mit Aufklapp-Navigation,
   Bereichs- und Leistungsseiten (mit den Referenzen je Leistung), Startseiten-Abfolge.
   Gestaltung nach dem Design-System von Metallgestaltung Fuss
   (metallgestaltung-fuss-design-system/): hell und galerieartig (60-30-10),
   Kalkweiß als Grund, Fuss-Blau für Überschriften und Flächen, Nachtstahl statt
   Schwarz, Glut nur für Anfrage/Anrufen (ein Glut-Button pro Bildschirm),
   Fraktur-Signatur sparsam, gerade Kanten bzw. 4 px, keine Schatten, keine Verläufe.
   Bewegung nach Skill „emilkowalski“: nur transform / opacity / clip-path,
   eigene Easing-Kurven, Hover nur bei Maus, „Bewegung reduzieren“ = sanfte Blende.
   Mobile first · Breakpoints 720 / 900 / 1000 / 1100 px · Schriften lokal (SIL OFL).
   ========================================================================== */

/* ---------- Schriften (lokal) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-variable-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens (aus tokens.css des Design-Systems) ---------- */
:root {
  --fuss-blau: #1f3f78;
  --nachtstahl: #15233b;
  --kalkweiss: #f7f6f2;
  --weiss: #ffffff;
  --stahlgrau: #5b6878;
  --zinkgrau: #dde1e6;
  --eisblau: #e1e8f4;
  --glut: #b5532a;
  --glut-dunkel: #9a4520;
  --glut-hell: #e58b5a;
  --blue-50: #f0f3fa;
  --blue-200: #bfcee8;
  --blue-300: #8ea8d7;
  --blue-400: #567dc2;
  --blue-500: #2c59aa;
  --blue-800: #172f59;
  --overlay-blau-20: rgba(31, 63, 120, .2);

  --font-titel: "Archivo", "Arial Narrow", Arial, Helvetica, sans-serif;
  --font-text: "Source Sans 3", "Segoe UI", Arial, Helvetica, sans-serif;
  --radius: 4px;

  /* Easing (Skill): nie ease-in für UI */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  --rand: 20px;
  --max: 1320px;
  --sektion: 64px;
  --kopf-h: 64px;
  interpolate-size: allow-keywords; /* weiches Aufklappen der FAQ, wo unterstützt */
}
@media (min-width: 720px) { :root { --rand: 32px; --sektion: 96px; } }
@media (min-width: 1100px) { :root { --rand: 48px; --sektion: 128px; --kopf-h: 80px; } }

/* Farbwelten: Komponenten lesen nur --c-* und passen sich so an den Grund an */
body, .hell, .papier, .eis {
  --c-bg: var(--kalkweiss); --c-text: var(--nachtstahl); --c-titel: var(--fuss-blau); --c-text-2: var(--stahlgrau);
  --c-fliess: var(--nachtstahl); --c-linie: var(--zinkgrau); --c-linie-stark: var(--stahlgrau);
  --c-akzent: var(--fuss-blau); --c-link: var(--fuss-blau); --c-flaeche: var(--eisblau);
}
.papier { --c-bg: var(--weiss); }
.eis { --c-bg: var(--eisblau); --c-linie: var(--blue-200); --c-flaeche: var(--weiss); }
.blau, .dunkel {
  --c-text: var(--weiss); --c-titel: var(--weiss); --c-text-2: var(--blue-200); --c-fliess: var(--blue-50);
  --c-akzent: var(--blue-200); --c-link: var(--weiss); --c-linie-stark: var(--blue-300); --c-flaeche: var(--blue-800);
}
.blau { --c-bg: var(--fuss-blau); --c-linie: var(--blue-400); }
.dunkel { --c-bg: var(--nachtstahl); --c-linie: var(--stahlgrau); }
.hell, .papier, .eis, .blau, .dunkel { background: var(--c-bg); color: var(--c-text); }

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 24px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[data-bild] { overflow: hidden; } /* skaliertes Bild beim Einblenden darf keinen Seitenüberlauf erzeugen */
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
/* Telefonnummern und kurze Bindestrich-Wörter („E-Mail“) nie mitten im Wort umbrechen */
a[href^="tel:"], .nw { white-space: nowrap; }
p { margin: 0 0 1em; color: var(--c-fliess); }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
strong { font-weight: 600; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--fuss-blau); color: #fff; }

/* Fokus nach Design-System: 2 px Fuss-Blau mit 2 px Abstand, auf dunklem Grund weiß */
:focus-visible { outline: 2px solid var(--fuss-blau); outline-offset: 2px; }
.blau :focus-visible, .dunkel :focus-visible, .topbar :focus-visible, .lightbox :focus-visible { outline-color: #fff; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  padding: 12px 20px; border-radius: var(--radius);
  background: var(--fuss-blau); color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--sektion) 0; }

/* ---------- Typografie (Design-System: h1 48/700, h2 32/600, h3 24/600; mobil 34/26/21) ---------- */
.titel {
  margin: 0 0 .5em;
  font-family: var(--font-titel);
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: -.01em;
  line-height: 1.2;
  color: var(--c-titel);
  text-wrap: balance;
  -webkit-hyphens: auto;
  hyphens: auto;
  overflow-wrap: break-word;
}
.titel__a, .titel__b { display: block; }
.titel__b { color: var(--c-text-2); }
.titel--xl, .titel--l, .titel--lang { font-weight: 700; line-height: 1.1; font-stretch: 95%; }
.titel--xl { font-size: clamp(2.125rem, 1rem + 2.4vw, 3rem); }
.titel--l { font-size: clamp(2.125rem, 1.25rem + 1.9vw, 3rem); }
.titel--lang { font-size: clamp(1.875rem, 1.2rem + 1.6vw, 2.75rem); line-height: 1.12; }
.titel--m { font-size: clamp(1.625rem, 1.25rem + 1vw, 2rem); }

/* Dachzeile (Design-System „Label“): Archivo Medium 14 px, Versalien per CSS, +0,06 em */
.label {
  display: block;
  margin: 0 0 16px;
  font-family: var(--font-titel);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--c-text-2);
}
.label__nr { white-space: nowrap; font-weight: 600; color: var(--c-akzent); }
.label__nr::after { content: "·"; margin: 0 8px 0 10px; font-weight: 500; color: var(--c-text-2); }

.text-gross { font-size: clamp(1.1875rem, 1rem + .55vw, 1.375rem); line-height: 1.5; color: var(--c-text); }

/* ---------- Schaltflächen (Design-System „Button“) ---------- */
/* .btn = sekundär (Kontur Fuss-Blau) · .btn--voll = primär (Fuss-Blau) · .btn--cta = Glut (nur Anfrage/Anrufen)
   Auf .blau/.dunkel: .btn = Kontur weiß, .btn--voll = weiße Fläche mit Fuss-Blau-Schrift */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h);
  padding: 10px 22px;
  border: 2px solid var(--fuss-blau);
  border-radius: var(--radius);
  background: transparent;
  color: var(--fuss-blau);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, transform 160ms var(--ease-out);
}
.btn .ico { display: none; } /* Design-System: keine Icons als Deko in Schaltflächen */
.btn:active { transform: scale(.97); }
.btn--voll { background: var(--fuss-blau); color: #fff; }
.btn--voll:active { background: var(--blue-800); border-color: var(--blue-800); }
.blau .btn, .dunkel .btn { border-color: #fff; color: #fff; }
.blau .btn--voll, .dunkel .btn--voll { background: #fff; color: var(--fuss-blau); }
.btn.btn--cta { background: var(--glut); border-color: var(--glut); color: #fff; }
.btn.btn--cta-dunkel { background: var(--glut-hell); border-color: var(--glut-hell); color: var(--nachtstahl); }
.btn--klein { --h: 40px; padding: 6px 16px; font-size: 1rem; }
.btn--breit { width: 100%; }
.btn:disabled { background: var(--zinkgrau); border-color: var(--zinkgrau); color: var(--stahlgrau); cursor: progress; transform: none; }

/* Textlink mit Pfeil (ersetzt den Kreis-Pfeil der Referenzen; Markup bleibt) */
.kreislink {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px;
  color: var(--c-link);
  font-family: var(--font-text);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.kreislink__text { text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color 120ms ease; }
.kreislink__kreis { order: 2; flex: none; display: inline-grid; place-items: center; width: 20px; height: 20px; }
.kreislink__kreis .ico { width: 20px; height: 20px; transition: transform .2s var(--ease-out); }
.kreislink:active .kreislink__kreis .ico { transform: translateX(4px); }
.kreislink--gross { font-size: 1.1875rem; }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--blue-50); }
  .btn--voll:hover { background: var(--blue-500); border-color: var(--blue-500); }
  .blau .btn:hover, .dunkel .btn:hover { background: #fff; color: var(--fuss-blau); }
  .blau .btn--voll:hover, .dunkel .btn--voll:hover { background: var(--blue-50); border-color: var(--blue-50); }
  .btn.btn--cta:hover { background: var(--glut-dunkel); border-color: var(--glut-dunkel); color: #fff; }
  .btn.btn--cta-dunkel:hover { background: #fff; border-color: #fff; color: var(--nachtstahl); }
  .btn:disabled:hover { background: var(--zinkgrau); border-color: var(--zinkgrau); color: var(--stahlgrau); }
  .kreislink:hover .kreislink__text { text-decoration-color: currentColor; }
  .kreislink:hover .kreislink__kreis .ico { transform: translateX(3px); }
}

/* ---------- Kontaktleiste (Design-System „SiteHeader“, nur Desktop) ---------- */
.topbar { display: none; }
@media (min-width: 1100px) {
  .topbar { display: block; background: var(--fuss-blau); color: #fff; font-size: .9375rem; line-height: 1.4; }
  .topbar__innen {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px;
    max-width: calc(var(--max) + 2 * var(--rand)); min-height: 40px; margin: 0 auto; padding: 8px var(--rand);
  }
  .topbar p { margin: 0; color: inherit; }
  .topbar__kontakt { display: flex; flex-wrap: wrap; gap: 6px 28px; }
  .topbar a { color: #fff; font-weight: 600; text-decoration: none; }
  .topbar a:hover { text-decoration: underline; }
}

/* ---------- Kopfzeile: weiß, klebt oben, Telefon und Anfrage immer sichtbar ---------- */
.kopf {
  position: sticky; top: 0; z-index: 100;
  height: var(--kopf-h);
  background: var(--weiss);
  border-bottom: 1px solid var(--zinkgrau);
  color: var(--nachtstahl);
}
.kopf__innen { display: flex; align-items: center; gap: 8px; height: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }

.marke { display: flex; flex-direction: column; gap: 3px; min-width: 0; margin-right: auto; text-decoration: none; line-height: 1.1; }
.marke__name { font-family: var(--font-titel); font-size: 1.125rem; font-weight: 700; color: var(--fuss-blau); white-space: nowrap; }
.marke__zusatz { font-family: var(--font-titel); font-size: .75rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stahlgrau); white-space: nowrap; }
/* Sehr schmale Smartphones (320 px): Name etwas kleiner, damit er nicht an das Telefon-Symbol stößt */
@media (max-width: 359.98px) { .marke__name { font-size: 1rem; } .marke__zusatz { font-size: .6875rem; } }
@media (min-width: 480px) { .marke__name { font-size: 1.25rem; } }

.kopf__tel {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 44px; min-height: 44px;
  color: var(--fuss-blau); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.kopf__tel .ico { width: 22px; height: 22px; }
.kopf__tel-nr { display: none; }
@media (min-width: 520px) { .kopf__tel { padding: 0 8px; } .kopf__tel-nr { display: inline; } }
@media (min-width: 1100px) { .kopf__tel { display: none; } }
@media (min-width: 1380px) { .kopf__tel { display: inline-flex; margin-left: 8px; } .kopf__tel .ico { width: 20px; height: 20px; } }
@media (hover: hover) and (pointer: fine) { .kopf__tel:hover .kopf__tel-nr { text-decoration: underline; text-underline-offset: 4px; } }

.kopf__cta { display: none; }
@media (min-width: 1100px) { .kopf__cta { display: inline-flex; margin-left: 12px; white-space: nowrap; } }

.kopf__burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: var(--fuss-blau); cursor: pointer; }
/* Drei gleich dicke Streifen mit gleichem Abstand in Fuss-Blau; geöffnet wird daraus ein X.
   Stärke (--bl) und Abstand (--ba) setzt main.js auf ganze Bildschirmpixel, sonst rundet der Browser
   bei 125 % / 150 % Skalierung jede Linie anders (2 bzw. 3 Pixel). Ohne JavaScript: 2 px / 7 px. */
.kopf__burger-linien { --bl: 2px; --ba: 7px; position: relative; display: block; width: 24px; height: calc(2 * var(--ba) + var(--bl)); }
.kopf__burger-linien span { position: absolute; left: 0; right: 0; height: var(--bl); background: currentColor; transition: transform .25s var(--ease-out), opacity .15s ease; }
.kopf__burger-linien span:nth-child(1) { top: 0; }
.kopf__burger-linien span:nth-child(2) { top: var(--ba); }
.kopf__burger-linien span:nth-child(3) { top: calc(2 * var(--ba)); }
.kopf__burger[aria-expanded="true"] .kopf__burger-linien span:nth-child(1) { transform: translateY(var(--ba)) rotate(45deg); }
.kopf__burger[aria-expanded="true"] .kopf__burger-linien span:nth-child(2) { opacity: 0; transform: scaleX(.4); }
.kopf__burger[aria-expanded="true"] .kopf__burger-linien span:nth-child(3) { transform: translateY(calc(-1 * var(--ba))) rotate(-45deg); }

/* Navigation – Smartphone & Tablet: Vollbild-Menü unter der Kopfzeile */
@media (max-width: 1099.98px) {
  .nav {
    position: fixed; left: 0; right: 0; top: var(--kopf-h); bottom: 0; z-index: 99;
    overflow-y: auto; overscroll-behavior: contain;
    padding: 8px var(--rand) 48px;
    background: var(--kalkweiss);
    visibility: hidden; opacity: 0;
    transition: opacity .2s var(--ease-out), visibility 0s linear .2s;
  }
  html.nav-offen { overflow: hidden; }
  html.nav-offen .nav { visibility: visible; opacity: 1; transition: opacity .3s var(--ease-out), visibility 0s; }
  .nav__liste > li, .nav__mobil-kontakt { opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
  html.nav-offen .nav__liste > li, html.nav-offen .nav__mobil-kontakt { opacity: 1; transform: none; transition-delay: calc(50ms + var(--i, 0) * 40ms); }
  .nav__punkt { border-bottom: 1px solid var(--zinkgrau); }
  .nav__link {
    display: flex; align-items: center; justify-content: space-between; width: 100%;
    padding: 18px 0; background: none; border: 0;
    color: var(--nachtstahl); font-family: var(--font-titel); font-size: 1.375rem; font-weight: 600; letter-spacing: -.01em;
    text-decoration: none; text-align: left; cursor: pointer;
  }
  .nav__link[aria-current="page"], .nav__link.ist-aktiv { color: var(--fuss-blau); }
  .nav__pfeil { width: 22px; height: 22px; color: var(--fuss-blau); transition: transform .25s var(--ease-out); }
  .nav__knopf[aria-expanded="true"] .nav__pfeil { transform: rotate(180deg); }
  .nav__panel { display: none; padding: 0 0 18px; }
  .nav__punkt.ist-offen .nav__panel { display: block; }
  .nav__bereich { padding: 4px 0 10px; }
  .nav__unterliste a { display: block; padding: 9px 0; color: var(--nachtstahl); font-size: 1.0625rem; text-decoration: none; }
  .nav__unterliste a[aria-current="page"] { color: var(--fuss-blau); font-weight: 600; }
  .nav__mobil-kontakt { display: grid; gap: 16px; padding-top: 32px; }
  .nav__mobil-tel { display: inline-flex; align-items: center; gap: 10px; color: var(--fuss-blau); font-family: var(--font-titel); font-size: 1.5rem; font-weight: 600; text-decoration: none; }
  .nav__mobil-tel .ico { width: 22px; height: 22px; }
  .nav__mobil-adresse { margin: 0; color: var(--stahlgrau); font-size: .9375rem; }
}
.nav__bereich {
  display: flex; align-items: center; gap: 10px;
  color: var(--fuss-blau); text-decoration: none;
  font-family: var(--font-titel); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.nav__bereich-nr { color: var(--stahlgrau); }
.nav__bereich .ico { width: 18px; height: 18px; margin-left: auto; transition: transform .2s var(--ease-out); }

/* Navigation – Desktop (Design-System: 600/16 px Nachtstahl, Hover Blue-50, aktiv 2 px Fuss-Blau) */
@media (min-width: 1100px) {
  .kopf__burger { display: none; }
  .nav { margin-left: 24px; }
  .nav__liste { display: flex; align-items: center; gap: 2px; }
  .nav__punkt { position: relative; }
  .nav__link {
    display: inline-flex; align-items: center; gap: 6px;
    height: 44px; padding: 0 12px;
    border: 0; border-radius: var(--radius); background: none;
    color: var(--nachtstahl);
    font-family: var(--font-text); font-size: 1rem; font-weight: 600;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease;
  }
  .nav__link:hover, .nav__knopf[aria-expanded="true"] { background: var(--blue-50); color: var(--fuss-blau); }
  .nav__link[aria-current="page"], .nav__link.ist-aktiv { color: var(--fuss-blau); box-shadow: inset 0 -2px 0 var(--fuss-blau); border-radius: 0; }
  .nav__pfeil { width: 16px; height: 16px; transition: transform .2s var(--ease-out); }
  .nav__knopf[aria-expanded="true"] .nav__pfeil { transform: rotate(180deg); }

  /* Dropdown: setzt an der Unterkante der Kopfzeile an, wächst aus dem Auslöser, schließt schneller als es öffnet */
  .nav__panel {
    position: absolute; top: calc(100% + (var(--kopf-h) - 45px) / 2); left: 0;
    min-width: 300px; padding: 24px 28px 20px;
    background: var(--weiss);
    border: 1px solid var(--zinkgrau);
    transform-origin: top left;
    opacity: 0; visibility: hidden; transform: translateY(-4px);
    transition: opacity .14s var(--ease-out), transform .14s var(--ease-out), visibility 0s linear .14s;
  }
  .nav__punkt.ist-offen .nav__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out), visibility 0s; }
  .nav__bereich { padding: 0 0 14px; margin: 0 0 8px; border-bottom: 1px solid var(--zinkgrau); white-space: nowrap; }
  .nav__bereich:hover .ico { transform: translateX(3px); }
  .nav__unterliste--zwei { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; min-width: 460px; }
  .nav__unterliste a { display: block; padding: 7px 0; color: var(--nachtstahl); font-size: 1rem; text-decoration: none; white-space: nowrap; }
  .nav__unterliste a:hover { color: var(--fuss-blau); text-decoration: underline; text-underline-offset: 4px; }
  .nav__unterliste a[aria-current="page"] { color: var(--fuss-blau); font-weight: 600; }
  .nav__mobil-kontakt { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279.98px) {
  .nav { margin-left: 12px; }
  .nav__link { padding: 0 9px; font-size: .9375rem; }
  .kopf__cta { margin-left: 8px; padding-left: 16px; padding-right: 16px; }
}

/* ---------- Hero (Startseite): Fuss-Blau-Fläche mit Signatur + Foto-Triptychon, kein Text auf Fotos ---------- */
.hero { padding: 16px 0 0; }
@media (min-width: 720px) { .hero { padding-top: 24px; } }
.hero__raster { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hero__bilder { order: -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.hero__bild { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--zinkgrau); }
.hero__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__panel { display: flex; flex-direction: column; justify-content: center; padding: 32px 24px 36px; }
.signatur--hero { margin: 0 0 24px; }
.signatur--hero .signatur__bild { width: min(100%, 480px); }
.hero__titel { margin: 0 0 20px; }
.zeile { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.zeile > span { display: block; }
.hero__lead { max-width: 520px; margin: 0 0 28px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 479.98px) { .hero__aktionen .btn { width: 100%; } }
/* 320-px-Smartphones: „Kunstschmiede“ passt sonst nicht in die Fläche (Silbentrennung ist nicht überall verfügbar) */
@media (max-width: 359.98px) {
  .titel--xl, .titel--l { font-size: 1.875rem; }
  .hero__panel { padding-left: 20px; padding-right: 20px; }
}
@media (min-width: 1000px) {
  .hero__raster { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); min-height: clamp(560px, calc(100svh - 168px), 760px); }
  .hero__bilder { order: 0; }
  .hero__bild { aspect-ratio: auto; }
  .hero__panel { padding: clamp(40px, 4.4vw, 72px); }
}

/* Hero beim Laden (einmal pro Seitenaufruf, reine CSS-Animation) */
@media (prefers-reduced-motion: no-preference) {
  .hero__bild { animation: hero-vorhang 1.1s var(--ease-in-out) both; animation-delay: calc(150ms + var(--i, 0) * 90ms); }
  .hero__bild img { animation: hero-bild 1.5s var(--ease-out) both; animation-delay: calc(150ms + var(--i, 0) * 90ms); }
  .hero__panel { animation: hero-flaeche .9s var(--ease-in-out) both; }
  .hero__label { animation: hero-auf .8s var(--ease-out) .3s both; }
  .zeile > span { animation: hero-zeile .9s var(--ease-out) both; }
  .zeile:nth-child(1) > span { animation-delay: .4s; }
  .zeile:nth-child(2) > span { animation-delay: .48s; }
  .zeile:nth-child(3) > span { animation-delay: .56s; }
  .hero__lead, .hero__aktionen { animation: hero-auf .8s var(--ease-out) .72s both; }
  @keyframes hero-vorhang { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
  @keyframes hero-bild { from { transform: scale(1.12); } to { transform: none; } }
  @keyframes hero-flaeche { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
  @keyframes hero-zeile { from { transform: translateY(105%); } to { transform: none; } }
  @keyframes hero-auf { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bilder, .hero__panel { animation: blende .5s ease both; }
}
@keyframes blende { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Seitenkopf (Unterseiten) ---------- */
.seitenkopf { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 96px); }
.seitenkopf__raster { display: grid; gap: 32px; }
.seitenkopf__text { max-width: 760px; }
.seitenkopf__text--breit { max-width: 920px; }
.seitenkopf .titel { margin-bottom: .45em; }
.seitenkopf__lead { max-width: 640px; font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); }
.seitenkopf__aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.seitenkopf__bild { position: relative; }
.seitenkopf__bild img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 72vh; object-fit: cover; background: var(--zinkgrau); }
.seitenkopf__bild figcaption { margin-top: 10px; color: var(--stahlgrau); font-size: .9375rem; line-height: 1.5; }
@media (min-width: 900px) {
  .seitenkopf__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; }
  /* Querformat-Bild (Über uns): bis 1100 px hälftig, damit die Überschrift nicht mitten im Wort umbricht */
  .seitenkopf--quer .seitenkopf__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .seitenkopf__bild img { aspect-ratio: 4 / 5; max-height: 600px; }
  /* Querformat (Über uns) und kleine Querformat-Fotos (640 × 480): im eigenen Seitenverhältnis, nicht hochskaliert */
  .seitenkopf--quer .seitenkopf__bild img, .seitenkopf__bild--quer img { aspect-ratio: 4 / 3; }
}
@media (min-width: 1100px) {
  .seitenkopf--quer .seitenkopf__raster { grid-template-columns: minmax(0, 1fr) minmax(0, 580px); gap: 64px; }
}

.brotkrumen { margin: 0 0 28px; }
.brotkrumen ol { display: flex; flex-wrap: wrap; row-gap: 4px; font-size: .9375rem; color: var(--stahlgrau); }
.brotkrumen li:not(:last-child)::after { content: "/"; margin: 0 10px; }
.brotkrumen a { color: var(--fuss-blau); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color 120ms ease; }
.brotkrumen a:hover { text-decoration-color: currentColor; }
.brotkrumen [aria-current] { color: var(--nachtstahl); }

/* ---------- Kopfzeile eines Abschnitts (Titel links, Text rechts) ---------- */
.kopfzeile { display: grid; gap: 20px; margin-bottom: clamp(32px, 4vw, 56px); }
.kopfzeile .titel { margin: 0; }
.kopfzeile__rechts { margin: 0; color: var(--c-fliess); }
.kopfzeile__rechts p { margin: 0 0 16px; }
@media (min-width: 900px) {
  .kopfzeile { grid-template-columns: minmax(0, 1fr) minmax(0, 420px); align-items: end; gap: 64px; }
}

/* ---------- 01 Intro + Zahlen ---------- */
.intro { display: grid; gap: 28px; }
.intro .titel { margin: 0; }
.intro__text { max-width: 640px; }
@media (min-width: 900px) { .intro { grid-template-columns: 5fr 6fr; gap: 72px; } }

.zahlen { display: grid; grid-template-columns: 1fr 1fr; margin: clamp(48px, 7vw, 96px) 0 0; border-top: 1px solid var(--c-linie); }
.zahlen__eintrag { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 10px; padding: 24px 16px 8px 0; }
.zahlen dd { margin: 0; font-family: var(--font-titel); font-size: clamp(2.25rem, 1.6rem + 2vw, 3.5rem); font-weight: 600; letter-spacing: -.01em; line-height: 1; color: var(--fuss-blau); }
.zahlen dt { max-width: 220px; font-family: var(--font-titel); font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; line-height: 1.45; color: var(--stahlgrau); }
@media (min-width: 900px) {
  .zahlen { grid-template-columns: repeat(4, 1fr); }
  .zahlen__eintrag { padding: 32px 24px 0 0; }
  .zahlen__eintrag + .zahlen__eintrag { padding-left: 28px; border-left: 1px solid var(--c-linie); }
}

/* ---------- Bereiche: Foto + Eisblau-Fläche, im Raster wie in einer Galerie ---------- */
.bereiche { padding: var(--sektion) 0; background: var(--weiss); }
.split { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; max-width: calc(var(--max) + 2 * var(--rand)); margin: 0 auto; padding: 0 var(--rand); }
.split + .split { margin-top: clamp(24px, 3vw, 40px); }
.split__bild { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--zinkgrau); }
.split__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__panel { display: flex; flex-direction: column; justify-content: center; padding: 32px 24px 40px; }
.split__panel .titel { margin-bottom: .4em; }
.split__text { max-width: 500px; }
.split__liste { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; max-width: 520px; margin: 8px 0 32px; }
.split__liste a { display: block; padding: 10px 0; border-bottom: 1px solid var(--c-linie); color: var(--c-text); font-size: 1rem; text-decoration: none; transition: color 120ms ease; }
@media (hover: hover) and (pointer: fine) { .split__liste a:hover { color: var(--fuss-blau); text-decoration: underline; text-underline-offset: 4px; } }
@media (max-width: 359.98px) {
  .split__panel { padding-left: 20px; padding-right: 20px; }
  .split__liste { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split__bild { aspect-ratio: auto; min-height: clamp(440px, 52vw, 600px); }
  /* Foto mit nur 640 px Breite (Über uns): niedrigere Mindesthöhe, damit es nicht sichtbar hochskaliert wird */
  .split--kleines-bild { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
  .split--kleines-bild .split__bild { min-height: clamp(400px, 36vw, 480px); }
  .split--kleines-bild .split__panel { padding-top: 48px; padding-bottom: 48px; }
  .split--gespiegelt .split__bild { order: 2; }
  .split__panel { padding: clamp(40px, 5vw, 80px); }
}

/* ---------- Projekt-Raster (Startseite) & Galerie: Bild, Beschriftung darunter ---------- */
.projekte, .galerie { display: grid; grid-template-columns: 1fr; gap: 32px 16px; }
@media (min-width: 560px) { .galerie { grid-template-columns: 1fr 1fr; gap: 28px 16px; } }
@media (min-width: 720px) { .projekte { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .projekte, .galerie { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }

.projekt__link, .galerie__knopf {
  display: flex; flex-direction: column; gap: 14px; width: 100%;
  padding: 0; border: 0; background: none; color: var(--c-text); font: inherit; text-align: left; text-decoration: none;
}
.galerie__knopf { cursor: zoom-in; }
.projekt__rahmen, .galerie__rahmen { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--zinkgrau); }
.projekt__bild, .galerie__bild { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.projekt__info, .galerie__info { display: grid; gap: 4px; }
.projekt__kat, .galerie__kat { font-family: var(--font-titel); font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-2); }
.projekt__titel { font-family: var(--font-titel); font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--c-titel); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color 120ms ease; }
.galerie__titel { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 1rem; line-height: 1.45; color: var(--c-text); }
.projekt__kreis, .galerie__lupe {
  position: absolute; right: 12px; bottom: 12px;
  display: grid; place-items: center; width: 44px; height: 44px;
  border-radius: var(--radius); background: var(--weiss); color: var(--fuss-blau);
}
.projekt__kreis .ico, .galerie__lupe .ico { width: 20px; height: 20px; }

/* Maus: Bild zoomt leicht, Pfeil/Lupe erscheint, Titel wird unterstrichen */
@media (hover: hover) and (pointer: fine) {
  .projekt__kreis, .galerie__lupe { opacity: 0; transform: translateY(6px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); }
  .projekt__link:hover .projekt__bild, .galerie__knopf:hover .galerie__bild { transform: scale(1.04); }
  .projekt__link:hover .projekt__kreis, .galerie__knopf:hover .galerie__lupe { opacity: 1; transform: none; }
  .projekt__link:hover .projekt__titel { text-decoration-color: currentColor; }
}
/* Tastatur: gleiche Information wie beim Überfahren, aber ohne Bewegung */
.projekt__link:focus-visible .projekt__kreis, .galerie__knopf:focus-visible .galerie__lupe { opacity: 1; transform: none; transition: none; }
.projekt__link:focus-visible, .galerie__knopf:focus-visible { outline-offset: 4px; }

/* ---------- Ablauf ---------- */
.ablauf { display: grid; gap: 40px; }
@media (min-width: 720px) { .ablauf { grid-template-columns: 1fr 1fr; gap: 48px 40px; } }
@media (min-width: 1100px) { .ablauf { grid-template-columns: repeat(4, 1fr); } }
.ablauf__schritt { position: relative; padding-top: 24px; border-top: 1px solid var(--c-linie); }
.ablauf__schritt::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--fuss-blau); }
.ablauf__nr { display: block; margin-bottom: 20px; font-family: var(--font-titel); font-size: 2.5rem; font-weight: 600; letter-spacing: -.01em; line-height: 1; color: var(--fuss-blau); }
.ablauf__titel { margin: 0 0 10px; font-family: var(--font-titel); font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--c-titel); }
.ablauf__schritt p { margin: 0; }

/* ---------- Einzugsgebiet: Stimmungsbild + Fuss-Blau-Fläche (Text nie direkt auf dem Foto) ---------- */
.region { position: relative; isolation: isolate; overflow: hidden; padding: 160px 0 40px; background: var(--nachtstahl); }
.region__bild { position: absolute; inset: 0; z-index: -1; }
.region__bild img { width: 100%; height: 100%; object-fit: cover; }
.region__bild::after { content: ""; position: absolute; inset: 0; background: var(--overlay-blau-20); }
.region__box { max-width: 680px; padding: 32px 24px; }
.region__text { max-width: 540px; }
.region__orte { display: flex; flex-wrap: wrap; margin: 24px 0 18px; }
.region__orte li { padding: 3px 0; font-family: var(--font-titel); font-size: clamp(1.0625rem, 1rem + .4vw, 1.3125rem); font-weight: 500; color: #fff; }
.region__orte li:not(:last-child)::after { content: "·"; margin: 0 .5em; color: var(--blue-300); }
.region__orte .ist-heimat { font-weight: 700; }
.region__klein { margin: 0; color: var(--blue-200); font-size: .9375rem; }
@media (min-width: 720px) {
  .region { padding: clamp(80px, 10vw, 152px) 0; }
  .region__box { padding: clamp(36px, 4vw, 56px); }
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .region__bild img { animation: region-parallaxe linear both; animation-timeline: view(); animation-range: cover; }
    @keyframes region-parallaxe { from { transform: translateY(-7%) scale(1.16); } to { transform: translateY(7%) scale(1.16); } }
  }
}

/* ---------- FAQ: Fragen auf Eisblau (Design-System „InfoBox“) ---------- */
.faq-raster { display: grid; gap: 32px; }
.faq-raster__kopf .titel { margin-bottom: .6em; }
.faq-raster__text a { color: var(--c-link); font-weight: 600; }
@media (min-width: 900px) {
  .faq-raster { grid-template-columns: 5fr 7fr; gap: 80px; }
  .faq-raster__kopf { position: sticky; top: calc(var(--kopf-h) + 40px); align-self: start; }
}
.faq { display: grid; gap: 8px; }
.faq__eintrag { background: var(--c-flaeche); border-radius: var(--radius); }
.faq__frage {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px 16px 18px 24px; border-radius: var(--radius); cursor: pointer; list-style: none;
  font-family: var(--font-titel); font-size: clamp(1rem, .95rem + .25vw, 1.125rem); font-weight: 600; line-height: 1.4;
  color: var(--fuss-blau);
}
.faq__frage::-webkit-details-marker { display: none; }
.faq__ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; color: var(--fuss-blau); transition: transform .3s var(--ease-out); }
.faq__ico .ico { width: 20px; height: 20px; }
.faq__eintrag[open] .faq__ico { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) { .faq__frage:hover > span:first-child { text-decoration: underline; text-underline-offset: 4px; } }
.faq__antwort { padding: 0 64px 22px 24px; }
.faq__antwort p { margin: 0; color: var(--nachtstahl); }
@media (max-width: 559.98px) { .faq__antwort { padding-right: 24px; } }
@media (prefers-reduced-motion: no-preference) {
  .faq__eintrag::details-content { block-size: 0; overflow: hidden; transition: block-size .35s var(--ease-out), content-visibility .35s allow-discrete; }
  .faq__eintrag[open]::details-content { block-size: auto; }
}

/* ---------- Abschluss-Band „Wir sind für Sie da“ (Fuss-Blau) ---------- */
.cta-band { padding: var(--sektion) 0; }
.cta-band__raster { display: grid; gap: 40px; }
.cta-band__text p { max-width: 520px; }
.cta-band__text .titel { margin-bottom: .5em; }
.cta-band__kontakt { display: grid; gap: 20px; align-content: end; justify-items: start; }
.cta-band__tel, .cta-band__mail { display: grid; gap: 4px; width: 100%; padding-bottom: 18px; border-bottom: 1px solid var(--c-linie); color: #fff; text-decoration: none; }
.cta-band__klein { font-family: var(--font-titel); font-size: .875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-200); }
.cta-band__nr { font-family: var(--font-titel); font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.1; }
.cta-band__mail span:last-child { font-size: 1.1875rem; font-weight: 600; overflow-wrap: anywhere; }
.cta-band .btn { margin-top: 8px; }
@media (hover: hover) and (pointer: fine) { .cta-band__tel:hover .cta-band__nr, .cta-band__mail:hover span:last-child { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; } }
@media (min-width: 900px) { .cta-band__raster { grid-template-columns: 1.1fr 1fr; gap: 96px; align-items: end; } }

/* ---------- Footer (Design-System „Footer“: Nachtstahl, Titel Blue-200, Telefon Glut-hell) ---------- */
.fuss { padding: 64px 0 0; font-size: 1rem; }
.fuss__oben { display: grid; gap: 24px; padding-bottom: 40px; border-bottom: 1px solid var(--stahlgrau); }
.fuss__name { margin: 0 0 4px; font-family: var(--font-titel); font-size: 1.25rem; font-weight: 700; color: #fff; }
.fuss__zusatz { margin: 0; color: var(--blue-200); }
.fuss__text { max-width: 460px; margin: 0; }
@media (min-width: 900px) { .fuss__oben { grid-template-columns: 1fr 1fr; align-items: end; } .fuss__text { justify-self: end; } }
.fuss__raster { display: grid; grid-template-columns: 1fr; gap: 40px 24px; padding: 48px 0 40px; }
@media (min-width: 560px) { .fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .fuss__raster { grid-template-columns: repeat(4, 1fr); } }
.fuss__titel { margin: 0 0 14px; font-family: var(--font-titel); font-size: .875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-200); }
.fuss__titel a { color: inherit; text-decoration: none; }
.fuss__titel a:hover { text-decoration: underline; }
.fuss__liste li { margin: 0 0 8px; }
.fuss__liste a, .fuss__kontakt a { color: #fff; text-decoration: none; }
.fuss__liste a:hover, .fuss__kontakt a:hover { text-decoration: underline; }
.fuss__adresse { margin: 0 0 12px; color: #fff; }
.fuss__tel { display: inline-block; margin: 0 0 8px; font-family: var(--font-titel); font-size: 1.5rem; font-weight: 600; line-height: 1.2; color: var(--glut-hell); text-decoration: none; }
.fuss__tel:hover { text-decoration: underline; text-underline-offset: 5px; }
.fuss__kontakt { margin: 0; color: var(--blue-50); }
/* Einzugsgebiet: eine kleine Zeile über dem Copyright */
.fuss__gebiet { margin: 0; padding: 0 0 24px; font-size: .9375rem; line-height: 1.7; color: var(--blue-50); }
.fuss__gebiet-titel { margin-right: 12px; font-family: var(--font-titel); font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-200); }
.fuss__unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding: 24px 0 32px; border-top: 1px solid var(--stahlgrau); font-size: .9375rem; color: var(--blue-200); }
.fuss__unten p { margin: 0; color: inherit; }
.fuss__recht { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Signatur „Wir bringen Metall in Form“ (originaler Fraktur-Schriftzug als Vektor) ---------- */
.signatur { margin: 0; color: var(--fuss-blau); line-height: 0; }
.signatur__bild {
  display: block; width: min(100%, 360px); aspect-ratio: 754 / 67;
  background: currentColor;
  -webkit-mask: url("../img/signatur-wir-bringen-metall-in-form.svg") no-repeat center / contain;
  mask: url("../img/signatur-wir-bringen-metall-in-form.svg") no-repeat center / contain;
}
.blau .signatur, .dunkel .signatur { color: #fff; }
.signatur--fuss { margin: 24px 0 0; }
.signatur--fuss .signatur__bild { width: min(100%, 340px); }

/* ---------- Schnellkontakt am rechten Rand (nur Desktop mit Maus) ---------- */
.schnellkontakt { display: none; }
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .schnellkontakt { position: fixed; right: 0; top: 50%; z-index: 90; display: grid; justify-items: end; gap: 4px; transform: translateY(-50%); }
  .schnellkontakt__knopf {
    display: flex; align-items: center; height: 52px;
    border: 1px solid #fff; border-right: 0; border-radius: var(--radius) 0 0 var(--radius);
    background: var(--fuss-blau); color: #fff; text-decoration: none;
    transform: translateX(calc(100% - 52px));
    transition: transform .35s var(--ease-drawer), background-color 120ms ease;
  }
  .schnellkontakt__ico { order: -1; display: grid; place-items: center; width: 52px; height: 52px; }
  .schnellkontakt__ico .ico { width: 20px; height: 20px; }
  .schnellkontakt__text { padding: 0 22px 0 2px; font-weight: 600; white-space: nowrap; }
  .schnellkontakt__knopf:hover, .schnellkontakt__knopf:focus-visible { transform: none; background: var(--blue-500); }
  .schnellkontakt__knopf:focus-visible { outline-color: var(--fuss-blau); }
  html.nav-offen .schnellkontakt, html.lightbox-offen .schnellkontakt { display: none; }
}

/* ---------- Bereichsseiten: Leistungskarten (Design-System „Leistungskarte“) ---------- */
.kacheln { display: grid; gap: 24px; }
@media (min-width: 720px) { .kacheln { grid-template-columns: 1fr 1fr; } }
.kachel__link { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: var(--radius); background: var(--c-flaeche); color: var(--c-text); text-decoration: none; }
@media (min-width: 720px) { .kachel__link { padding: 32px; } }
.kachel__bild { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; background: var(--zinkgrau); }
.kachel__bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.kachel__kopf { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.kachel__nr { font-family: var(--font-titel); font-size: .875rem; font-weight: 600; letter-spacing: .06em; color: var(--stahlgrau); }
.kachel__titel { font-family: var(--font-titel); font-size: clamp(1.3125rem, 1.2rem + .4vw, 1.5rem); font-weight: 600; line-height: 1.3; color: var(--fuss-blau); text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color 120ms ease; }
.kachel__text { flex: 1; margin-bottom: 16px; color: var(--c-text); }
.kachel__mehr { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 4px; font-weight: 600; color: var(--fuss-blau); }
.kachel__mehr .ico { width: 20px; height: 20px; transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .kachel__link:hover .kachel__bild img { transform: scale(1.04); }
  .kachel__link:hover .kachel__titel { text-decoration-color: currentColor; }
  .kachel__link:hover .kachel__mehr .ico { transform: translateX(3px); }
}

/* ---------- Leistungsseite: Text + Infokasten ---------- */
.inhalt-raster { display: grid; gap: 48px; }
@media (min-width: 1000px) { .inhalt-raster { grid-template-columns: minmax(0, 1fr) 360px; gap: 96px; align-items: start; } .infokasten { position: sticky; top: calc(var(--kopf-h) + 32px); } }
.fliesstext { max-width: 720px; }
.fliesstext__titel { margin: 48px 0 14px; font-family: var(--font-titel); font-size: clamp(1.3125rem, 1.15rem + .6vw, 1.625rem); font-weight: 600; line-height: 1.3; color: var(--fuss-blau); }
.fliesstext__titel:first-child { margin-top: 0; }
.fliesstext a { color: var(--fuss-blau); font-weight: 600; }
.fliesstext ul { margin: 0 0 1em; }
.fliesstext li { position: relative; padding-left: 22px; margin-bottom: 6px; }
.fliesstext li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; background: var(--fuss-blau); }
.infokasten__innen { padding: 28px; border-radius: var(--radius); background: var(--eisblau); }
.infokasten__titel { margin: 0 0 10px; font-family: var(--font-titel); font-size: 1.0625rem; font-weight: 600; color: var(--fuss-blau); }
.haken-liste li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--blue-200); font-size: 1rem; line-height: 1.5; color: var(--nachtstahl); }
.haken-liste .ico { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--fuss-blau); }
.infokasten__unter { margin: 20px 0 4px; font-family: var(--font-titel); font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stahlgrau); }
.infokasten__orte { margin: 0 0 24px; font-size: .9375rem; }
.infokasten__tel { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; margin-top: 8px; color: var(--fuss-blau); font-family: var(--font-titel); font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.infokasten__tel .ico { width: 20px; height: 20px; }
.infokasten__tel:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Über uns ---------- */
.zitat-raster { display: grid; gap: 32px; }
.zitat-raster .titel { margin: 0; }
@media (min-width: 900px) { .zitat-raster { grid-template-columns: 5fr 7fr; gap: 80px; } }
.zitat blockquote { margin: 0 0 24px; }
.zitat blockquote p { margin: 0; font-family: var(--font-titel); font-size: clamp(1.1875rem, 1rem + .7vw, 1.5rem); font-weight: 400; line-height: 1.55; color: var(--nachtstahl); }
.zitat figcaption { display: grid; gap: 2px; padding-top: 18px; border-top: 1px solid var(--c-linie); }
.zitat figcaption strong { font-family: var(--font-titel); font-size: 1.0625rem; font-weight: 600; color: var(--fuss-blau); }
.zitat figcaption span { color: var(--stahlgrau); font-size: .9375rem; }

.chronik { border-top: 1px solid var(--c-linie); }
.chronik__eintrag { display: grid; gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--c-linie); }
.chronik__zeit { margin: 0; font-family: var(--font-titel); font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); font-weight: 600; letter-spacing: -.01em; line-height: 1; color: var(--fuss-blau); }
.chronik__titel { margin: 0 0 8px; font-family: var(--font-titel); font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--nachtstahl); }
.chronik__inhalt p { max-width: 640px; margin: 0; }
@media (min-width: 720px) { .chronik__eintrag { grid-template-columns: 260px 1fr; gap: 48px; padding: 36px 0; } }

.werte { display: grid; gap: 40px; }
@media (min-width: 720px) { .werte { grid-template-columns: 1fr 1fr; gap: 48px 40px; } }
@media (min-width: 1100px) { .werte { grid-template-columns: repeat(4, 1fr); } }
.werte__eintrag { padding-top: 24px; border-top: 2px solid var(--fuss-blau); }
.werte__nr { display: block; margin-bottom: 16px; font-family: var(--font-titel); font-size: .875rem; font-weight: 600; letter-spacing: .06em; color: var(--stahlgrau); }
.werte__titel { margin: 0 0 10px; font-family: var(--font-titel); font-size: 1.25rem; font-weight: 600; line-height: 1.3; color: var(--fuss-blau); }
.werte__eintrag p { margin: 0; }

/* ---------- Kontakt ---------- */
.seitenkopf--kontakt { padding-bottom: 32px; }
.kontakt-abschnitt { padding-top: 32px; }
.kontakt-raster { display: grid; gap: 56px; padding-top: 40px; border-top: 1px solid var(--c-linie); }
@media (min-width: 1000px) { .kontakt-raster { grid-template-columns: minmax(0, 1fr) 380px; gap: 96px; align-items: start; } }
.formular-box { scroll-margin-top: calc(var(--kopf-h) + 24px); }
.formular__kopf { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; }
.formular__titel { margin: 0; font-family: var(--font-titel); font-size: clamp(1.5rem, 1.3rem + .6vw, 1.75rem); font-weight: 600; line-height: 1.25; color: var(--fuss-blau); }
.formular__pflicht { margin: 0; font-size: .9375rem; color: var(--stahlgrau); }
.formular__meldung { margin: 0 0 28px; padding: 14px 18px; border: 2px solid var(--glut-dunkel); border-radius: var(--radius); background: var(--weiss); color: var(--glut-dunkel); font-weight: 600; }
.formular__meldung:focus { outline: none; }
.formular__raster { display: grid; gap: 24px 28px; }
@media (min-width: 720px) { .formular__raster { grid-template-columns: 1fr 1fr; } }
.feld--breit { grid-column: 1 / -1; }
/* Formularfeld nach Design-System: Label 15/600 Nachtstahl, Feld weiß 48 px, Rahmen Stahlgrau, Fokus 2 px Fuss-Blau */
.feld__label { display: block; margin: 0 0 6px; font-family: var(--font-text); font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--nachtstahl); }
.feld__stern { color: var(--fuss-blau); }
.feld__optional { font-weight: 400; color: var(--stahlgrau); }
.feld__eingabe {
  display: block; width: 100%; min-height: 48px; padding: 10px 14px;
  border: 1px solid var(--stahlgrau); border-radius: var(--radius);
  background: var(--weiss); color: var(--nachtstahl);
  font: inherit; font-size: 1.0625rem; line-height: 1.4;
  -webkit-appearance: none; appearance: none;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.feld__eingabe::placeholder { color: var(--stahlgrau); opacity: 1; }
.feld__eingabe:hover { border-color: var(--nachtstahl); }
.feld__eingabe:focus, .feld__eingabe:focus-visible { outline: none; border-color: var(--fuss-blau); box-shadow: inset 0 0 0 1px var(--fuss-blau); }
.feld__eingabe[aria-invalid="true"] { border-color: var(--glut-dunkel); box-shadow: inset 0 0 0 1px var(--glut-dunkel); }
.feld__eingabe--text { min-height: 160px; resize: vertical; }
.feld__auswahl { position: relative; }
.feld__auswahl select { padding-right: 44px; cursor: pointer; }
.feld__pfeil { position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px; pointer-events: none; color: var(--fuss-blau); }
.feld__hilfe { margin: 6px 0 0; font-size: .9375rem; color: var(--stahlgrau); }
.feld__fehler { margin: 6px 0 0; font-size: .9375rem; font-weight: 600; color: var(--glut-dunkel); }
.formular__falle { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.formular__datenschutz { max-width: 640px; margin: 28px 0 24px; font-size: .9375rem; color: var(--stahlgrau); }
.formular__senden { min-width: 240px; }
@media (max-width: 559.98px) { .formular__senden { width: 100%; } }

.formular__erfolg { padding: 36px 32px; border-radius: var(--radius); background: var(--eisblau); }
.formular__erfolg:focus { outline: none; }
.formular__erfolg:focus-visible { outline: 2px solid var(--fuss-blau); outline-offset: 4px; }
.formular__erfolg .formular__titel { margin-bottom: 14px; }
.formular__erfolg-ico { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: var(--radius); background: var(--fuss-blau); color: #fff; }
.formular__erfolg-ico .ico { width: 28px; height: 28px; }
.formular__erfolg-tel a { color: var(--fuss-blau); font-weight: 600; }
.formular__erfolg .kreislink { margin-top: 4px; }
.formular__demo-hinweis { padding: 12px 16px; border: 1px solid var(--blue-200); border-radius: var(--radius); background: var(--weiss); font-size: .9375rem; }
@media (prefers-reduced-motion: no-preference) {
  .formular__erfolg.is-neu { animation: erfolg-ein .45s var(--ease-out) both; }
  .formular__erfolg.is-neu .formular__erfolg-ico { animation: erfolg-haken .5s var(--ease-out) .12s both; }
  @keyframes erfolg-ein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes erfolg-haken { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .formular__erfolg.is-neu { animation: blende .3s ease both; } }

.kontakt-info__titel { margin: 0 0 16px; font-family: var(--font-titel); font-size: 1.25rem; font-weight: 600; color: var(--fuss-blau); }
.kontakt-liste { margin: 0; border-top: 1px solid var(--c-linie); }
.kontakt-liste__eintrag { padding: 16px 0; border-bottom: 1px solid var(--c-linie); }
.kontakt-liste dt { font-family: var(--font-titel); font-size: .8125rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--stahlgrau); }
.kontakt-liste dd { margin: 4px 0 0; color: var(--nachtstahl); }
.kontakt-liste a { color: var(--fuss-blau); font-weight: 600; text-decoration: none; }
.kontakt-liste a:hover { text-decoration: underline; text-underline-offset: 4px; }
.kontakt-liste__gross { font-family: var(--font-titel); font-size: 1.75rem; font-weight: 600; letter-spacing: -.01em; }
.kontakt-info__hinweis { margin-top: 28px; padding: 24px 28px; border-radius: var(--radius); background: var(--eisblau); }
.kontakt-info__hinweis-titel { margin: 0 0 6px; font-family: var(--font-titel); font-size: 1.0625rem; font-weight: 600; color: var(--fuss-blau); }
.kontakt-info__hinweis p:last-child { margin: 0; }
.kontakt-info__inhaber { margin: 24px 0 0; color: var(--stahlgrau); }
.kontakt-info__inhaber strong { color: var(--nachtstahl); }

.anfahrt-raster { display: grid; gap: 40px; }
.anfahrt__text .titel { margin-bottom: .5em; }
@media (min-width: 900px) { .anfahrt-raster { grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; } }
.karte-2klick { position: relative; min-height: 440px; overflow: hidden; background: var(--zinkgrau); }
@media (min-width: 720px) { .karte-2klick { min-height: 0; aspect-ratio: 3 / 2; } }
.karte-2klick__platzhalter { position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; }
.karte-2klick__grafik { position: absolute; inset: 0; width: 100%; height: 100%; }
.karte-2klick__hinweis { position: relative; max-width: 440px; padding: 28px; border: 1px solid var(--zinkgrau); border-radius: var(--radius); background: var(--weiss); }
.karte-2klick__titel { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-family: var(--font-titel); font-size: 1.0625rem; font-weight: 600; color: var(--fuss-blau); }
.karte-2klick__titel .ico { width: 22px; height: 22px; }
.karte-2klick__text { margin: 0 0 20px; font-size: .9375rem; }
.karte-2klick iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.karte-2klick__noscript { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; padding: 10px 14px; border-radius: var(--radius); background: var(--weiss); font-size: .9375rem; }
.karte-2klick.is-geladen .karte-2klick__platzhalter { display: none; }

/* ---------- 404 ---------- */
.link-raster { display: grid; gap: 40px; margin-top: 16px; }
@media (min-width: 720px) { .link-raster { grid-template-columns: 1fr 1fr; gap: 64px; } }
.link-raster__titel { margin: 0 0 12px; font-family: var(--font-titel); font-size: .875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.link-raster__titel a { color: var(--fuss-blau); text-decoration: none; }
.link-raster__titel a:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-raster li a { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--c-linie); color: var(--nachtstahl); text-decoration: none; transition: color 120ms ease; }
.link-raster li a .ico { width: 18px; height: 18px; color: var(--fuss-blau); transition: transform .2s var(--ease-out); }
.link-raster li a:hover { color: var(--fuss-blau); }
.link-raster li a:hover .ico { transform: translateX(3px); }

/* ---------- Rechtstexte (HTML vom Anwalt, unverändert eingebunden – siehe README) ---------- */
.rechtstext { max-width: 760px; padding: 56px 0 80px; overflow-wrap: anywhere; }
.rechtstext h1, .rechtstext h2, .rechtstext h3, .rechtstext h4 { margin: 1.6em 0 .5em; font-family: var(--font-titel); font-weight: 600; line-height: 1.25; color: var(--fuss-blau); }
.rechtstext h1 { margin-top: 0; font-size: clamp(2.125rem, 1.25rem + 1.9vw, 3rem); font-weight: 700; letter-spacing: -.01em; }
.rechtstext h2 { font-size: 1.5rem; }
.rechtstext h3 { font-size: 1.25rem; }
.rechtstext h4 { font-size: 1.0625rem; }
.rechtstext p, .rechtstext ul, .rechtstext ol, .rechtstext table { margin: 0 0 1em; }
.rechtstext ul, .rechtstext ol { padding-left: 1.4em; }
.rechtstext ul { list-style: disc; }
.rechtstext ol { list-style: decimal; }
.rechtstext li + li { margin-top: .3em; }
.rechtstext a { color: var(--fuss-blau); }
.rechtstext table { width: 100%; border-collapse: collapse; }
.rechtstext th, .rechtstext td { padding: 8px 10px; border: 1px solid var(--zinkgrau); text-align: left; vertical-align: top; }

/* ---------- Lightbox ---------- */
html.lightbox-offen { overflow: hidden; }
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 64px 16px 92px; border: 0;
  background: var(--nachtstahl); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: var(--nachtstahl); }
.lightbox__figur { display: grid; justify-items: center; gap: 16px; max-width: min(1100px, 100%); }
.lightbox__bild { width: auto; height: auto; max-width: 100%; max-height: calc(100svh - 200px); object-fit: contain; }
.lightbox__text { max-width: 720px; text-align: center; color: var(--blue-50); font-size: 1rem; }
.lightbox__zaehler { position: absolute; top: 24px; left: 22px; margin: 0; font-family: var(--font-titel); font-size: .875rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-200); }
.lightbox__knopf {
  position: absolute; display: grid; place-items: center; width: 48px; height: 48px;
  border: 1px solid var(--blue-300); border-radius: var(--radius);
  background: var(--nachtstahl); color: #fff; cursor: pointer;
  transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, transform .16s var(--ease-out);
}
.lightbox__knopf .ico { width: 20px; height: 20px; }
.lightbox__knopf:active { transform: scale(.94); }
.lightbox__knopf--zu { top: 12px; right: 12px; }
.lightbox__knopf--zurueck { left: 16px; top: 50%; margin-top: -24px; }
.lightbox__knopf--weiter { right: 16px; top: 50%; margin-top: -24px; }
@media (max-width: 719.98px) {
  .lightbox__knopf--zurueck, .lightbox__knopf--weiter { top: auto; bottom: 22px; margin-top: 0; }
  .lightbox__knopf--zurueck { left: calc(50% - 60px); }
  .lightbox__knopf--weiter { right: calc(50% - 60px); }
}
@media (hover: hover) and (pointer: fine) { .lightbox__knopf:hover { background: #fff; color: var(--fuss-blau); border-color: #fff; } }
/* Öffnen: kurz und mittig (Modal), Bildwechsel per Pfeiltaste bewusst ohne Animation */
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: lb-ein .22s var(--ease-out); }
  .lightbox[open] .lightbox__figur { animation: lb-figur .26s var(--ease-out); }
  @keyframes lb-ein { from { opacity: 0; } to { opacity: 1; } }
  @keyframes lb-figur { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
}

/* ---------- Einblenden beim Scrollen (einmalig, nur mit JavaScript) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
  html.js [data-reveal].ist-sichtbar { opacity: 1; transform: none; }
  /* Bilder: Vorhang von oben (clip-path) + leichtes Herauszoomen */
  html.js [data-bild] { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-in-out); }
  html.js [data-bild] img { transform: scale(1.08); transition: transform 1.3s var(--ease-out); }
  html.js [data-bild].ist-sichtbar { clip-path: inset(0); }
  html.js [data-bild].ist-sichtbar img { transform: none; }
  /* Ablauf: Fuss-Blau-Linie zieht über die Zinklinie */
  html.js .ablauf__schritt::before { clip-path: inset(0 100% 0 0); transition: clip-path 1s var(--ease-in-out); transition-delay: calc(200ms + var(--i, 0) * 120ms); }
  html.js .ablauf__schritt.ist-sichtbar::before { clip-path: inset(0); }
  /* Fraktur-Signatur „schreibt“ sich */
  html.js .signatur .signatur__bild { clip-path: inset(-10% 100% -10% 0); transition: clip-path 1.6s var(--ease-in-out) .2s; }
  html.js .signatur.ist-sichtbar .signatur__bild { clip-path: inset(-10% 0 -10% 0); }
}
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-bild] { opacity: 0; transition: opacity .45s ease; }
  html.js [data-reveal].ist-sichtbar, html.js [data-bild].ist-sichtbar { opacity: 1; }
}

/* ---------- Druck ---------- */
@media print {
  .topbar, .kopf, .kopf__burger, .schnellkontakt, .cta-band, .karte-2klick, .lightbox, .hero__bilder, .region__bild { display: none !important; }
  .blau, .dunkel, .eis, .hell, .papier, body { background: #fff !important; color: #000 !important; --c-text: #000; --c-titel: #000; --c-fliess: #222; --c-text-2: #444; }
  .hero, .seitenkopf { min-height: 0; padding: 24px 0; }
  .hero__raster { min-height: 0; }
  [data-reveal], [data-bild], .signatur__bild, .zeile > span, .hero__panel { opacity: 1 !important; transform: none !important; clip-path: none !important; animation: none !important; }
}
