/* ==========================================================================
   Glaserei Höckenreiner — app.css
   Tokens 1:1 aus design.md ("Lichtkathedrale", dark-jewel Kobalt).
   ========================================================================== */

:root {
  --hue: 250;

  /* Ink / Hintergründe — HELLES THEME (weiß/porzellan) */
  --ink-void: #e7ebf2; /* tiefste helle Fläche (Footer/Kanten) */
  --ink: #ffffff; /* Haupt-Hintergrund */
  --ink-raised: #eef2f8; /* angehobene Sektionen */
  --ink-2: #ffffff; /* Karten (mit Rahmen + Schatten getrennt) */

  /* Text — dunkle Tinte auf Weiß */
  --porcelain: #141a2b; /* Headlines / Haupttext */
  --silver: #515a6b; /* Sekundärtext */
  --steel: #6b7382; /* Captions */
  --steel-on-light: #545c6b; /* Caption-Ton auf hellem Grund */

  /* EIN Akzent — Glas-Kobalt/Aqua-Jewel */
  --jewel: #2e86e6;
  --jewel-glow: #66a9f2;
  --jewel-link: #1a5fb4; /* dunkler für Kontrast auf Weiß */
  --jewel-deep: #1858b0;
  --jewel-ink: #12325f;

  /* States */
  --ok: #2f9e6b;
  --error: #d34633;

  /* Hairlines / Came-Linien — dunkel-Alpha auf Weiß */
  --line-08: rgba(20, 26, 43, 0.06);
  --line-14: rgba(20, 26, 43, 0.11);
  --line-22: rgba(20, 26, 43, 0.17);
  --line-jewel: rgba(46, 134, 230, 0.42);

  /* PRISMA — NUR diegetisch im Hero, <40% Opazität */
  --spec-violet: #7b6cf0;
  --spec-aqua: #3ed2e6;
  --spec-gold: #e9c879;

  /* Type-Skala (Utopia-Fluid, 375/1440) */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.94rem);
  --step-0: clamp(1rem, 0.95rem + 0.25vw, 1.15rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.5vw, 1.55rem);
  --step-2: clamp(1.55rem, 1.35rem + 0.95vw, 2.3rem);
  --step-3: clamp(2.05rem, 1.7rem + 1.7vw, 3.6rem);
  --step-4: clamp(2.7rem, 2.05rem + 3.1vw, 5.6rem);
  --hero: clamp(3rem, 2.1rem + 4.4vw, 7.5rem);

  /* Space-Skala (8px-Baseline, fluid) */
  --space-xs: clamp(0.5rem, 0.45rem + 0.25vw, 0.75rem);
  --space-sm: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
  --space-md: clamp(1.5rem, 1.3rem + 1vw, 2.5rem);
  --space-lg: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --space-section: clamp(6rem, 3.5rem + 11vw, 12rem);
  /* Rhythmus-Karte (§0b Nr. 7, Anti-Skelett-Feinschliff): zwei zusätzliche
     Abstands-Stufen, bewusst gegen das uniforme Section-Padding gesetzt —
     nach dem Hero enger (.section--tight), vor dem Abschluss-CTA sehr weit
     (.section--wide). Siehe .section--tight/.section--wide unten. */
  --space-section-tight: clamp(3rem, 1.75rem + 5vw, 5.5rem);
  --space-section-wide: clamp(8rem, 5rem + 14vw, 16rem);

  /* Radien (crisp, Glas-Facette) */
  --r-sm: 2px;
  --r-md: 6px;
  --r-lg: 10px;

  /* Motion — Cinema */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-in: cubic-bezier(0.32, 0, 0.67, 0);
  --dur-press: 140ms;
  --dur-hover: 220ms;
  --dur-ui: 260ms;
  --dur-reveal: 820ms;

  /* Layout */
  --maxw: 1440px;
  --measure: 66ch;
}

/* --- Fonts: self-hosted woff2 (DSGVO) --- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  size-adjust: 110%;
  ascent-override: 95%;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("../fonts/inter-tight-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
/* Metrik-gematchte Fallbacks: der sofort-sichtbare Systemfont rendert in der
   Größe des Webfonts → Fallback-Paint = stabiler LCP (kein Swap-Sprung),
   kein Font-CLS. Werte: Inter → Arial (Next.js adjustFontFallback),
   Cormorant → Georgia (an size-adjust:110% des Webfaces angeglichen). */
@font-face {
  font-family: "Inter Tight Fallback";
  src: local("Arial");
  ascent-override: 90.44%;
  descent-override: 22.52%;
  line-gap-override: 0%;
  size-adjust: 100.06%;
}
@font-face {
  font-family: "Cormorant Fallback";
  src: local("Georgia");
  ascent-override: 82%;
  descent-override: 24%;
  line-gap-override: 0%;
  size-adjust: 108%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--porcelain);
  font-family:
    "Inter Tight",
    "Inter Tight Fallback",
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  font-size: var(--step-0);
  line-height: 1.6;
  font-feature-settings: "tnum" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}
.italic-accent {
  font-style: italic;
  font-weight: 500;
}

p {
  margin: 0;
  max-width: var(--measure);
}
a {
  color: inherit;
  text-decoration: none;
}
img,
video,
svg {
  max-width: 100%;
  display: block;
}

/* Eyebrow — Basis-Small-Caps-Label. `.chapter-tag` ist derselbe visuelle
   Baustein unter anderem Klassennamen (Anti-Skelett-Feinschliff, index.html):
   Hero/Tradition/Standort nutzen ihn STATT `.eyebrow`, damit die Formel
   „Eyebrow → H2 → Lead" auf der Startseite auf genau 2 echte Sektionen
   (Leistungen, Bewertungen) begrenzt bleibt — Hero/Tradition/Standort waren
   ohnehin nie Teil des Budgets (eigene Hero-/Ton-Bruch-Regeln), zählten aber
   unter dem alten gemeinsamen Klassennamen mit. */
.eyebrow,
.chapter-tag {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.eyebrow::before,
.chapter-tag::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--jewel);
  flex: none;
}

/* Layout helper */
.wrap {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
}
.section {
  padding-block: var(--space-section);
  position: relative;
}
/* Rhythmus-Karte: bewusste Abweichungen vom uniformen .section-Padding. */
.section--tight {
  padding-block: var(--space-section-tight);
}
.section--wide {
  padding-block: var(--space-section-wide);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--jewel);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-md);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--jewel-link);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* Touch targets */
a[href],
button,
input,
select,
textarea {
  min-height: 44px;
}

/* Primär-CTA — Jewel-Fläche, INK-Text */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0 1.6rem;
  min-height: 52px;
  border-radius: var(--r-md);
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step-0);
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform var(--dur-hover) var(--ease-out),
    background var(--dur-hover) var(--ease-out),
    filter var(--dur-hover) var(--ease-out);
}
.btn-primary {
  background: var(--jewel);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--jewel-glow);
  filter: drop-shadow(0 0 1px var(--jewel-glow))
    drop-shadow(0 6px 20px rgba(46, 134, 230, 0.28));
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--porcelain);
  border-color: var(--line-22);
}
.btn-ghost:hover {
  border-color: var(--line-jewel);
  transform: translateY(-2px);
}

/* Signature Lichtkante — 1px Hairline mit Prisma-Endpunkt */
.hairline {
  position: relative;
  height: 1px;
  background: var(--line-14);
}
.hairline::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--jewel));
}

/* Film-Grain overlay */
.grain-overlay::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Reveal-Grundzustand (Text nur transform, nie opacity:0 fürs LCP-Wort) */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(40px);
  }
}

/* ==========================================================================
   HERO — Sektion 2 (hero-engineer)
   Full-Bleed „Lichtkathedrale": WebGL-Refraktion/Kaustik + diegetisches Prisma.
   Poster = LCP-/reduced-motion-Fallback. Inhalt unten-links versetzt.
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-void);
}

/* --- Medium-Stack --- */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__poster,
.hero__canvas,
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__poster {
  z-index: 0;
  /* Fenster sitzt rechts → Bildmitte leicht nach links ziehen, damit es sichtbar bleibt */
  object-position: 60% 45%;
  /* Fallback falls webp fehlt: getönter Kobalt-Verlauf, Glühen rechts-oben */
  background:
    radial-gradient(
      46% 46% at 66% 34%,
      rgba(46, 134, 230, 0.3),
      transparent 66%
    ),
    radial-gradient(90% 90% at 70% 20%, rgba(18, 50, 95, 0.5), transparent 72%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-void) 100%);
}
.hero__canvas {
  display: none; /* WebGL-Shader ersetzt durch echtes Glas-Video */
}
.hero__video {
  z-index: 1;
  opacity: 0; /* blendet weich über den Poster, sobald das Video läuft */
  object-position: 58% 50%;
  transition: opacity 1.2s var(--ease-out);
}
.hero__video.is-playing {
  opacity: 1;
}
/* reduced-motion: kein Video, nur das statische Glas-Poster */
@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}
/* Bloom = weiches Fenster-Glühen ins Dunkel (rechts-oben), NICHT über der Lesezone */
.hero__bloom {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(
    50% 48% at 66% 33%,
    color-mix(in oklch, var(--jewel-glow) 34%, transparent),
    transparent 62%
  );
  mix-blend-mode: screen;
  opacity: 0.55;
}
/* Scrim + Vignette — gerichtete DUNKLE LESEZONE links, Text ≥4.5:1 */
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    /* 1) gerichteter Links-Scrim: dunkel an der Textseite → transparent Richtung Glas */
    linear-gradient(
      100deg,
      var(--ink-void) 0%,
      rgba(9, 12, 19, 0.92) 26%,
      rgba(9, 12, 19, 0.6) 42%,
      rgba(9, 12, 19, 0.18) 56%,
      transparent 68%
    ),
    /* 2) Fuß-Abdunklung (CTA-Zeile) */
    linear-gradient(
        to top,
        rgba(9, 12, 19, 0.82) 0%,
        rgba(9, 12, 19, 0.3) 24%,
        transparent 48%
      ),
    /* 3) obere Kante + Ecken-Vignette für Tiefe */
    radial-gradient(
        130% 120% at 68% 30%,
        transparent 46%,
        rgba(9, 12, 19, 0.55)
      );
}
@supports not (color: color-mix(in oklch, white, black)) {
  .hero__bloom {
    background: radial-gradient(
      50% 48% at 66% 33%,
      rgba(120, 180, 248, 0.34),
      transparent 62%
    );
  }
}

/* --- Inhalt --- */
.hero__inner {
  position: relative;
  z-index: 4;
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
  padding-block: clamp(7rem, 16vh, 11rem) clamp(3.5rem, 10vh, 6.5rem);
}
.hero__content {
  max-width: 46rem;
}
.hero__eyebrow {
  margin-bottom: var(--space-sm);
  /* Kontrast-Sicherung im Hero: helleres Kühl-Silber statt --steel (steel scheitert
     über jedem Glühen an ≥4.5:1). Der Jewel-Strich davor bleibt der Akzent. */
  color: var(--silver);
  /* Keine Silbentrennung in der Eyebrow: die enge Spalte trennte „MÜNCHEN-PA-SING",
     was in gesperrten Versalien wie ein Setzfehler aussieht.
     ACHTUNG: hyphens allein genügt. Ein zusätzliches `white-space: nowrap` auf den
     Kindern hat auf dem Handy den Text aus dem Viewport geschoben („SEIT ÜBER 150 JAH…"),
     weil der Hero ihn abschneidet statt umzubrechen. Umbrechen JA, trennen NEIN. */
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: break-word;
}
.hero__h1 {
  font-size: var(--hero);
  line-height: 1;
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
/* overflow-Clip fürs Wort-Reveal; padding/negativ-margin gibt Glyphen (Italic) Luft
   ohne das Layout zu verschieben */
.hero__line {
  display: block;
  overflow: hidden;
  padding: 0.14em 0.06em;
  margin: -0.14em -0.06em;
}
.hero__h1 .word {
  display: inline-block;
  /* will-change nur während des Intro-Gates (danach entfernt → kein Dauer-Layer) */
}
@media (prefers-reduced-motion: no-preference) {
  .js .hero[data-anim="pending"] .hero__h1 .word {
    will-change: transform;
  }
}
.hero__h1 .italic-accent {
  color: var(--porcelain);
}
.hero__lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--silver);
  max-width: 50ch;
  margin-bottom: var(--space-lg);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* --- Scroll-Cue (Lichtkante + fallender Lichtpunkt) --- */
.hero__scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 2.75rem);
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--steel);
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-height: 0;
}
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 60px;
  overflow: hidden;
  background: linear-gradient(var(--line-jewel), transparent);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 16px;
  background: linear-gradient(var(--jewel-glow), transparent);
  animation: heroScrollDrop 2.4s var(--ease-in-out) infinite;
}
@keyframes heroScrollDrop {
  0% {
    transform: translateY(-16px);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    transform: translateY(60px);
    opacity: 0;
  }
}
@media (max-width: 560px) {
  .hero__scroll {
    display: none;
  }
  /* Hochformat: Fenster-Glühen nach oben ziehen, Textzone unten bleibt dunkel */
  .hero__poster {
    object-position: 66% 16%;
  }
  .hero__bloom {
    background: radial-gradient(
      64% 34% at 62% 20%,
      color-mix(in oklch, var(--jewel-glow) 32%, transparent),
      transparent 64%
    );
    opacity: 0.5;
  }
  /* Vertikaler Scrim statt Links-Scrim: Textband unten dunkel (Eyebrow/H1/Lead
     ≥4.5:1), Rosette oben glüht weiter. Gemessen an den echten Textboxen. */
  .hero__vignette {
    background:
      linear-gradient(
        to top,
        var(--ink-void) 0%,
        rgba(9, 12, 19, 0.9) 50%,
        rgba(9, 12, 19, 0.8) 66%,
        rgba(9, 12, 19, 0.42) 76%,
        transparent 88%
      ),
      radial-gradient(
        90% 55% at 60% 16%,
        transparent 38%,
        rgba(9, 12, 19, 0.45)
      );
  }
}
@supports not (color: color-mix(in oklch, white, black)) {
  @media (max-width: 560px) {
    .hero__bloom {
      background: radial-gradient(
        64% 34% at 62% 20%,
        rgba(120, 180, 248, 0.32),
        transparent 64%
      );
    }
  }
}

/* --- Page-Load-Gate: NUR unter Motion UND nur wenn JS aktiv (html.js).
       Ausschließlich transform (nie opacity) → Above-fold-Text paintet sofort,
       auch bei langsamem JS = LCP-sicher. Ohne JS steht alles statisch da. --- */
@media (prefers-reduced-motion: no-preference) {
  .js .hero[data-anim="pending"] .hero__h1 .word {
    transform: translateY(120%);
  }
  .js .hero[data-anim="pending"] .hero__eyebrow,
  .js .hero[data-anim="pending"] .hero__lead,
  .js .hero[data-anim="pending"] .hero__cta,
  .js .hero[data-anim="pending"] .hero__scroll {
    transform: translateY(24px);
  }
}

/* --- reduced-motion: WebGL aus, Poster + Text stehen sofort stark da --- */
@media (prefers-reduced-motion: reduce) {
  .hero__canvas {
    display: none;
  }
  .hero__scroll-line::after {
    animation: none;
  }
}

/* ==========================================================================
   TEXT-HYGIENE — deutsche Komposita, Grid/Flex-Textkinder
   ========================================================================== */
p,
li,
dd,
dt,
td,
th,
label,
blockquote {
  overflow-wrap: break-word;
  /* Deutsche Komposita brauchen Trennung — aber nicht um jeden Preis.
     Ohne Limits zerlegte der Browser auf dem Handy (~30 Zeichen/Zeile) auch
     kurze Wörter: „dar-auf", „kom-men", „un-ser", „Gene-ration". Das machte
     ganze Absätze unruhig.
     9 4 4 = erst ab 9 Zeichen trennen, mind. 4 Zeichen vor und nach dem Strich.
     Damit bleiben „darauf", „kommen", „unser" ganz; „Familienhandwerk" darf. */
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 9 4 4;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Press-State auf der Basis-Button-Komponente ergänzt (fehlte bisher) */
.btn:active {
  transform: scale(0.97);
}
.btn-sm {
  min-height: 44px;
  padding-inline: 1.25rem;
  font-size: var(--step--1);
}

/* Gebündelte Hover-Effekte neuer Komponenten — nur echte Maus/Trackpad-Geräte */
@media (hover: hover) and (pointer: fine) {
  .site-header__nav a:hover {
    color: var(--porcelain);
  }
  .site-header__tel:hover {
    border-color: var(--line-jewel);
    color: var(--jewel-link);
  }
  .site-footer__col a:hover {
    color: var(--jewel-link);
  }
  .termin__direct-link:hover {
    color: var(--jewel-link);
  }
  .location__map-btn:hover {
    background: var(--jewel-glow);
    transform: translateY(-2px);
  }
  .story__pane-link:hover {
    color: var(--jewel-link);
  }
}

/* ==========================================================================
   NAV-SENTINEL + SITE-HEADER — Sektion 1
   ========================================================================== */
/* Höhe = 2× die im main.js verwendete rootMargin-Verschiebung (80px), damit
   die Sichtbarkeitskante des Sentinels exakt bei ~80px Scroll umschlägt
   (IntersectionObserver mit rootMargin "-80px 0 0 0" shrinkt den Root von
   oben um 80px; ein 1px-Sentinel würde dadurch NIE intersecten). */
.nav-sentinel {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 160px;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  padding-block: var(--space-sm);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background var(--dur-ui) var(--ease-out),
    border-color var(--dur-ui) var(--ease-out),
    padding-block var(--dur-ui) var(--ease-out);
}
.site-header.is-solid {
  /* Kein backdrop-filter hier! -> siehe Warnung bei .site-header::before.
     Farbe/Blur liegen auf der ::before-Ebene. */
  border-bottom-color: var(--line-14);
  padding-block: calc(var(--space-sm) * 0.7);
}
.site-header.is-solid::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  width: 96px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--jewel));
}
@supports not (color: color-mix(in oklch, white, black)) {
  /* Fallback ohne color-mix: helle Fläche (vorher rgba(22,27,41) = dunkel,
     im hellen Theme dunkler Header mit dunkler Schrift). */
  .site-header.is-solid::before {
    background: rgb(238 242 248 / 0.94);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--porcelain);
  min-width: 0;
  position: relative;
  z-index: 51; /* über dem Mobile-Overlay (z49) sichtbar bleiben */
}
.site-header__wordmark {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.05;
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
/* „GLASEREI SEIT ÜBER 150 JAHREN" ist durch die Sperrung ~230px breit. Zusammen
   mit Logo, Telefon, Theme-Schalter und Burger passt das auf schmalen Geräten
   nicht: Die Wortmarke steht auf nowrap und schob sich unter die Icons — das
   Telefon-Icon lag sichtbar auf der Zeile. Unter 900px bleibt nur „Höckenreiner". */
@media (max-width: 900px) {
  .site-header__since {
    display: none;
  }
}

.site-header__since {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jewel-link);
  margin-top: 0.3rem;
}
@media (max-width: 560px) {
  .site-header__since {
    font-size: 0.56rem;
    letter-spacing: 0.12em;
  }
}
.site-header__nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}
.site-header__nav a {
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--silver);
  transition: color var(--dur-hover) var(--ease-out);
  white-space: nowrap;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex: none;
}
.site-header__tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  color: var(--porcelain);
  border: 1px solid var(--line-14);
  transition:
    border-color var(--dur-hover) var(--ease-out),
    color var(--dur-hover) var(--ease-out);
}

/* Burger */
.site-header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative; /* Stacking-Lektion: eigener z-index über dem Sheet */
  z-index: 51;
}
.site-header__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--porcelain);
  transition:
    transform var(--dur-ui) var(--ease-out),
    opacity var(--dur-ui) var(--ease-out);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 860px) {
  .site-header__nav {
    position: fixed;
    inset: 0;
    z-index: 49;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    background: var(--ink-void);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur-ui) var(--ease-out);
  }
  .site-header__nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .site-header__nav a {
    font-family: "Cormorant Garamond", serif;
    font-size: var(--step-2);
    color: var(--porcelain);
  }
  /* Termin-CTA im Overlay sichtbar (Conversion-Weg auch im offenen Menü) */
  .site-header__nav .site-header__nav-cta {
    display: inline-flex;
    margin-top: 1rem;
    font-family: "Inter Tight", sans-serif;
    font-size: var(--step-0);
    color: var(--ink);
  }
  .site-header__toggle {
    display: flex;
  }
}
@media (max-width: 520px) {
  .site-header__actions .btn-primary {
    display: none;
  }
}

/* Termin-CTA im Nav: nur im Mobile-Overlay, auf Desktop ausgeblendet */
.site-header__nav-cta {
  display: none;
}

/* Mobile Sticky-Bottom-CTA (Daumen-Zone) */
.mobile-bar {
  display: none;
}
@media (max-width: 768px) {
  .mobile-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 48;
    min-height: 56px;
    padding-block: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
    background: var(--jewel);
    color: var(--ink);
    font-family: "Inter Tight", sans-serif;
    font-weight: 600;
    font-size: var(--step-0);
  }
  .site-footer {
    padding-bottom: calc(var(--space-md) + 56px + env(safe-area-inset-bottom));
  }
}

/* ==========================================================================
   3) TRADITION-BAND
   ========================================================================== */
.tradition {
  background: var(--ink);
}
.tradition__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.tradition__since {
  font-size: clamp(3.4rem, 2rem + 7vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin-block: 0.5rem 0.9rem;
}
.tradition__since .italic-accent {
  color: var(--jewel-link);
}
.tradition__pride {
  color: var(--silver);
  font-size: var(--step-1);
  max-width: 30ch;
}
.hero__since {
  color: var(--jewel-link);
}
.tradition__text {
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: var(--space-lg);
}
.tradition__facts {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}
.tradition__fact {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0 var(--space-md);
  border-left: 1px solid var(--line-14);
}
.tradition__fact:first-child {
  padding-left: 0;
  border-left: 0;
}
.tradition__fact dt {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  color: var(--porcelain);
  font-size: var(--step-0);
  margin-bottom: 0.4rem;
}
.tradition__fact dd {
  margin: 0;
  color: var(--steel);
  font-size: var(--step--1);
}
@media (max-width: 800px) {
  .tradition__grid {
    grid-template-columns: 1fr;
  }
  .tradition__facts {
    flex-direction: column;
  }
  .tradition__fact {
    /* WICHTIG: `flex: 1 1 200px` von oben zurücknehmen. In column-Richtung ist die
       flex-basis die HÖHE, nicht die Breite — jeder Fakt wurde dadurch 200px hoch
       und wuchs per flex-grow weiter auf. Ergebnis auf dem Handy: vier Einträge
       mit je ~250px Leerraum darunter. */
    flex: 0 0 auto;
    border-left: 0;
    border-top: 1px solid var(--line-14);
    padding: var(--space-sm) 0;
  }
  .tradition__fact:first-child {
    border-top: 0;
    padding-top: 0;
  }
}

/* ==========================================================================
   4) LEISTUNGEN — ehemals Sticky-Scroll-Story „Licht durch Glas".
   Batch 2: durch Teaser-Übersicht ersetzt (verlinkt die 4 Detailseiten,
   siehe „BATCH-2 STARTSEITE"-Block am Dateiende: `.leistungen-teaser__*`).
   Block entfernt statt „für später" liegen gelassen (ungenutztes CSS,
   inkl. des zweiten auto-fit-Grids `.story__stations`) — main.js behält den
   zugehörigen IIFE als harmloses No-Op (early return, kein `.story` mehr im
   DOM), da main.js in diesem Batch nicht angetastet wird.
   ========================================================================== */

/* ==========================================================================
   5) BLEIVERGLASUNG-HÖHEPUNKT — Clip-Path-Licht-Wisch
   ========================================================================== */
.handwerk {
  background: var(--ink-void);
}
.handwerk__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.handwerk__figure {
  position: relative;
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}
.handwerk__img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.handwerk__frame {
  position: absolute;
  inset: 0;
  border: 1px solid var(--line-jewel);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.handwerk__frame::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -1px;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle at 100% 100%,
    color-mix(in oklch, var(--spec-aqua) 50%, transparent),
    transparent 70%
  );
}
/* Sektionskopf-Varianz (§0b Nr. 2): kein Eyebrow — die Headline sitzt direkt
   über dem Bild (Layout-Bruch 1/2: Text bricht aus der reinen Text-Spalte
   aus und überlappt das Foto, statt brav in der eigenen Grid-Zelle zu
   bleiben). Wird vom selben Clip-Path-Wisch wie das Bild freigelegt, da sie
   im DOM innerhalb von .handwerk__figure liegt. */
.handwerk__heading {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.25rem);
  font-size: clamp(2.75rem, 2rem + 5vw, 5.5rem);
  line-height: 0.95;
  color: var(--porcelain);
  text-wrap: balance;
  filter: drop-shadow(0 6px 22px rgba(9, 12, 19, 0.65));
  background: linear-gradient(
    to top,
    rgba(9, 12, 19, 0.72) 0%,
    rgba(9, 12, 19, 0.3) 55%,
    transparent 100%
  );
}
/* Bridging-Zeile statt Eyebrow: Cormorant-Italic, kein Uppercase/Strich —
   bewusst ein anderer Sektionskopf-Baustein als das Eyebrow-Muster. */
.handwerk__kicker {
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: var(--step-2);
  color: var(--jewel-link);
  margin-bottom: var(--space-sm);
}
.handwerk__text {
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}
.handwerk__quote {
  font-size: var(--step-2);
  color: var(--porcelain);
  line-height: 1.4;
}
.handwerk__quote .italic-accent {
  color: var(--jewel-link);
}

/* Beobachtet wird die STABILE Sektion (nicht das clip-path-Ziel selbst) —
   ein Chromium-Quirk lässt IntersectionObserver bei einem auf
   inset(0 100% 0 0) geclippten Ziel-Element (Nullfläche) keine weiteren
   Updates mehr feuern; daher `[data-wipe]` auf .handwerk section, geklickt
   wird per Nachfahren-Selektor auf .handwerk__figure. */
@media (prefers-reduced-motion: no-preference) {
  .handwerk__figure {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.1s var(--ease-out);
  }
  [data-wipe].is-revealed .handwerk__figure {
    clip-path: inset(0 0 0 0);
  }
}
@media (max-width: 820px) {
  .handwerk__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   6) ABLAUF — vertikale Lichtkante mit wanderndem Lichtpunkt
   ========================================================================== */
.ablauf {
  background: var(--ink);
}
/* Sektionskopf-Varianz (§0b Nr. 2): kein Eyebrow — öffnet mit der großen
   Wortmarke/Zahl „04" (Anzahl der Schritte) statt einem Small-Caps-Label.
   Layout-Bruch 2/2: bewusst NICHT in .wrap gepackt → bleedet über den
   Content-Container hinaus bis an den Section-Rand; die negative em-Margin
   zieht die Headline darunter in die Zahl hinein (Überlappung). */
.ablauf__mark {
  display: block;
  font-family: "Cormorant Garamond", "Cormorant Fallback", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(6rem, 3rem + 15vw, 15rem);
  line-height: 0.78;
  text-align: right;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-jewel);
  text-stroke: 1.5px var(--line-jewel);
  margin: 0 0 -0.22em;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  pointer-events: none;
  user-select: none;
}
@supports not (-webkit-text-stroke: 1px red) {
  .ablauf__mark {
    color: var(--line-22);
  }
}
.ablauf__heading {
  position: relative;
  z-index: 1;
  font-size: var(--step-4);
  margin-block: 0 var(--space-lg);
}
.ablauf__chain {
  position: relative;
  padding-left: clamp(2.5rem, 6vw, 4rem);
}
.ablauf__line {
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 1px;
  background: var(--line-14);
}
.ablauf__dot {
  position: absolute;
  left: -3px;
  top: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--jewel);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--jewel) 20%, transparent);
  filter: drop-shadow(0 0 6px var(--jewel-glow));
  transform: translateY(0);
}
.ablauf__steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 6vw, 4rem);
}
.ablauf__step {
  position: relative;
  min-width: 0;
}
.ablauf__step::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(2.5rem, 6vw, 4rem));
  top: 0.6em;
  width: 12px;
  height: 1px;
  background: var(--line-22);
}
.ablauf__num {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--jewel-link);
  font-size: var(--step--1);
  margin-bottom: 0.5rem;
}
.ablauf__step h3 {
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
}
.ablauf__step p {
  color: var(--silver);
  font-size: var(--step-0);
  max-width: 52ch;
}
.ablauf__cta {
  margin-top: var(--space-lg);
}
@supports not (color: color-mix(in oklch, white, black)) {
  .ablauf__dot {
    box-shadow: 0 0 0 4px rgba(46, 134, 230, 0.2);
  }
}

/* ==========================================================================
   7) TERMINIERUNG — Formular (Kern-Conversion)
   ========================================================================== */
.termin {
  background: var(--ink-raised);
}
.termin__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.termin__heading {
  font-size: var(--step-4);
  margin-block: 0.5rem var(--space-md);
}
.termin__lead {
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}
.termin__direct {
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-14);
  min-width: 0;
}
.termin__direct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Cormorant Garamond", serif;
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--porcelain);
  transition: color var(--dur-hover) var(--ease-out);
}
.termin__direct-link svg {
  color: var(--jewel-link);
  flex: none;
}
.termin__hint {
  color: var(--steel);
  font-size: var(--step--1);
  margin-top: 0.75rem;
  max-width: 40ch;
}

.termin__form-wrap {
  background: var(--ink-2);
  border: 1px solid var(--line-14);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  min-width: 0;
}
.termin__form-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}
.field label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--silver);
}
.field__optional {
  color: var(--steel);
  font-weight: 400;
}
.field input,
.field select,
.field textarea {
  background: var(--ink);
  border: 1px solid var(--line-14);
  border-radius: var(--r-sm);
  color: var(--porcelain);
  padding: 0.75rem 0.9rem;
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem; /* >=16px gegen iOS-Auto-Zoom */
  min-height: 44px;
  width: 100%;
  transition:
    border-color var(--dur-hover) var(--ease-out),
    box-shadow var(--dur-hover) var(--ease-out);
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' stroke='%237DB6F5' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}
.field textarea {
  min-height: 120px;
  resize: vertical;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--jewel);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--jewel) 22%, transparent);
}
.field--checkbox {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.65rem;
}
.field--checkbox input {
  min-width: 20px;
  min-height: 20px;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--jewel);
}
.field--checkbox label {
  font-weight: 400;
  color: var(--silver);
  font-size: var(--step--1);
}
.field--checkbox a {
  color: var(--jewel-link);
  text-decoration: underline;
}
.termin__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.termin__form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}
.termin__micro {
  color: var(--steel);
  font-size: var(--step--1);
  margin: 0;
}
.termin__status {
  margin-top: 1rem;
  font-size: var(--step-0);
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  max-width: none;
}
.termin__status.is-success {
  background: color-mix(in oklch, var(--ok) 16%, transparent);
  color: var(--porcelain);
  border: 1px solid color-mix(in oklch, var(--ok) 40%, transparent);
}
.termin__status.is-error {
  background: color-mix(in oklch, var(--error) 16%, transparent);
  color: var(--porcelain);
  border: 1px solid color-mix(in oklch, var(--error) 40%, transparent);
}
@supports not (color: color-mix(in oklch, white, black)) {
  .termin__status.is-success {
    background: rgba(70, 200, 140, 0.16);
    border-color: rgba(70, 200, 140, 0.4);
  }
  .termin__status.is-error {
    background: rgba(232, 90, 71, 0.16);
    border-color: rgba(232, 90, 71, 0.4);
  }
}

@media (max-width: 860px) {
  .termin__grid {
    grid-template-columns: 1fr;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   8) BEWERTUNGEN — Ton-Wechsel-Band (hell, Pflicht-Rhythmus-Bruch)
   ========================================================================== */
.section--light {
  background: var(--porcelain);
  color: var(--ink);
}
.section--light .eyebrow {
  color: var(--steel-on-light); /* AA auf hellem Grund (steel wäre ~3.4:1) */
}
.section--light .eyebrow::before {
  background: var(--jewel-deep);
}
.section--light :focus-visible {
  outline-color: var(--jewel-deep);
}
.reviews__heading {
  font-size: var(--step-4);
  color: var(--ink);
  margin-block: 0.5rem var(--space-sm);
}
.reviews__lead {
  color: color-mix(in oklch, var(--ink) 65%, var(--porcelain));
  font-size: var(--step-1);
  margin-bottom: var(--space-lg);
}
/* Feature-Zitat (groß) + zwei versetzte kleinere Zitate — bewusst KEIN
   zweites auto-fit-Card-Grid (Anti-Skelett-Gesetz: max. 1× im Stylesheet,
   siehe `.usecases`). */
.reviews__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.reviews__minor {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-md);
}
.reviews__minor .reviews__card:last-child {
  margin-top: clamp(1rem, 3vw, 2.25rem);
}
.reviews__card {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid color-mix(in oklch, var(--ink) 14%, transparent);
  border-radius: var(--r-md);
  min-width: 0;
  position: relative;
}
.reviews__card--feature {
  padding: clamp(2rem, 4vw, 3rem);
}
.reviews__card--feature .reviews__quote {
  font-size: var(--step-2);
  line-height: 1.35;
  max-width: 42ch;
}
@media (max-width: 700px) {
  .reviews__minor {
    grid-template-columns: 1fr;
  }
  .reviews__minor .reviews__card:last-child {
    margin-top: 0;
  }
}
.reviews__card.is-placeholder {
  background: color-mix(in oklch, var(--ink) 4%, transparent);
}
/* Premium-Platzhalter-State: kein Dummy-Sterne-Grau, Lichtkante-Akzent statt Wireframe */
.reviews__card.is-placeholder .reviews__stars {
  display: none;
}
.reviews__card.is-placeholder::before {
  content: "";
  position: absolute;
  left: clamp(1.5rem, 3vw, 2rem);
  top: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--jewel), transparent);
}
.reviews__quote {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1rem;
  max-width: none;
}
.reviews__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: var(--step--1);
}
.reviews__stars {
  color: #e6a817; /* Google-Gold */
  letter-spacing: 0.1em;
  font-size: var(--step-0);
}
.reviews__author {
  color: var(--ink); /* AA auf hellem Grund */
  font-weight: 600;
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.reviews__src {
  font-weight: 500;
  font-size: var(--step--1);
  color: var(--steel-on-light);
}
.reviews__rating {
  color: #b57e00;
  font-weight: 700;
  white-space: nowrap;
}
.reviews__more {
  margin-top: var(--space-md);
  font-weight: 600;
}
.reviews__more a {
  color: var(--jewel-deep);
  border-bottom: 1px solid
    color-mix(in oklch, var(--jewel-deep) 40%, transparent);
  padding-bottom: 2px;
  transition: border-color var(--dur-hover) var(--ease-out);
}
.reviews__more a:hover {
  border-color: var(--jewel-deep);
}
@supports not (color: color-mix(in oklch, white, black)) {
  .reviews__card {
    border-color: rgba(9, 12, 19, 0.25);
  }
  .reviews__card.is-placeholder {
    background: rgba(9, 12, 19, 0.04);
  }
}

/* ==========================================================================
   9) STANDORT + GOOGLE MAPS (Klick-to-Load)
   ========================================================================== */
.location {
  background: var(--ink);
}
.location__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.location__heading {
  font-size: var(--step-4);
  margin-block: 0.5rem var(--space-md);
}
.location__nap {
  font-style: normal;
  color: var(--silver);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}
.location__nap strong {
  color: var(--porcelain);
  font-family: "Cormorant Garamond", serif;
  font-size: var(--step-1);
}
.location__nap a {
  color: var(--jewel-link);
}
.location__hours {
  width: 100%;
  border-collapse: collapse;
  font-feature-settings: "tnum" 1;
  margin-bottom: var(--space-md);
}
.location__hours tr {
  border-top: 1px solid var(--line-14);
}
.location__hours tr:first-child {
  border-top: 0;
}
.location__hours th,
.location__hours td {
  padding: 0.6rem 0;
  text-align: left;
  font-weight: 400;
}
.location__hours th {
  color: var(--silver);
  font-weight: 500;
}
.location__hours td {
  color: var(--porcelain);
  text-align: right;
}
.location__note {
  color: var(--steel);
  font-size: var(--step--1);
  max-width: 48ch;
}
.location__note a {
  color: var(--jewel-link);
}

/* Anfahrt & Parken — echte Wegbeschreibung des Betriebs (Altseite anfahrt.htm) */
.location__arrival {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-14);
  max-width: 52ch;
}
.location__arrival-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: var(--step-1);
  color: var(--porcelain);
  margin-bottom: 0.75rem;
}
.location__arrival-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.location__arrival-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--silver);
  font-size: var(--step--1);
  line-height: 1.65;
}
.location__arrival-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 5px;
  height: 5px;
  transform: rotate(45deg);
  background: var(--jewel-link);
}
.location__arrival-list strong {
  color: var(--porcelain);
  font-weight: 500;
}

.location__map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-14);
  background: var(--ink-2);
}
.location__map-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  text-align: center;
  padding: 2rem;
  background:
    radial-gradient(
      60% 60% at 50% 40%,
      color-mix(in oklch, var(--jewel-ink) 55%, transparent),
      transparent 70%
    ),
    var(--ink-2);
}
.location__map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border-radius: var(--r-md);
  background: var(--jewel);
  color: var(--ink);
  font-weight: 600;
  font-family: "Inter Tight", sans-serif;
  border: 0;
  cursor: pointer;
  transition:
    transform var(--dur-hover) var(--ease-out),
    background var(--dur-hover) var(--ease-out);
}
.location__map-btn:active {
  transform: scale(0.97);
}
.location__map-hint {
  color: var(--steel);
  font-size: var(--step--1);
  max-width: 32ch;
}
.location__map-hint a {
  color: var(--jewel-link);
}
@supports not (color: color-mix(in oklch, white, black)) {
  .location__map-poster {
    background: var(--ink-2);
  }
}

@media (max-width: 860px) {
  .location__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10) FOOTER
   ========================================================================== */
.site-footer {
  background: var(--ink-void);
  position: relative;
  padding-block: var(--space-lg) var(--space-md);
}
.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: var(--space-lg);
  border-bottom: 1px solid var(--line-08);
  margin-bottom: var(--space-lg);
}
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--porcelain);
  min-width: 0;
}
.site-footer__brand-text {
  font-family: "Cormorant Garamond", serif;
  font-size: var(--step-1);
  line-height: 1.3;
}
.site-footer__brand-text small {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
}
.site-footer__slogan {
  font-size: var(--step-2);
  color: var(--jewel-link);
  max-width: none;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.site-footer__col {
  min-width: 0;
}
.site-footer__col h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin-bottom: 1rem;
}
.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.site-footer__col a {
  color: var(--silver);
  transition: color var(--dur-hover) var(--ease-out);
}
.site-footer__col li {
  color: var(--silver);
  font-size: var(--step--1);
  max-width: none;
}
.site-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-feature-settings: "tnum" 1;
}

.site-footer__bottom {
  padding-top: var(--space-md);
  border-top: 1px solid var(--line-08);
}
.site-footer__bottom p {
  color: var(--steel);
  font-size: var(--step--1);
  max-width: none;
}

@media (max-width: 860px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 500px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SUB-HEAD — Zwei-Head-Gesetz (hero-engineer, wiederverwendbare Komponente)
   Eigener, ruhigerer Unterseiten-Kopf in derselben „Lichtkathedrale"-Sprache,
   aber LEICHTER als der Startseiten-Hero: ~60svh, KEIN zweiter WebGL-Shader —
   code-generiertes Came-Rauten-Licht-Motiv (CSS/SVG) + Prisma-Light-Sweep.
   Motiv rechts, Links-Scrim für Lesbarkeit, Titel-Slot + Subline + Breadcrumb.
   LCP-Text NUR transform (kein opacity-Gate) · reduced-motion → statisch stark.
   Doku + 1:1-Übernahme für web-designer-Batches: siehe subhead.md.
   ========================================================================== */
.subhead {
  position: relative;
  min-height: clamp(22rem, 60svh, 34rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink-void);
}

/* --- Medium-Stack (rein dekorativ, aria-hidden) --- */
.subhead__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
/* Backlight hinter dem Came-Gitter (rechts-oben), atmet langsam */
.subhead__bloom {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    46% 62% at 74% 40%,
    color-mix(in oklch, var(--jewel) 46%, transparent),
    color-mix(in oklch, var(--jewel-ink) 40%, transparent) 42%,
    transparent 68%
  );
  mix-blend-mode: screen;
  opacity: 0.66;
  transform-origin: 74% 40%;
}
/* Came-Rauten-Gitter (Bleiglas-Lichtkante) — data-URI, nach links ausmaskiert */
.subhead__glass {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='80' viewBox='0 0 56 80'%3E%3Cpath d='M28 0L56 40L28 80L0 40Z' fill='none' stroke='%237db6f5' stroke-opacity='.26' stroke-width='1.3'/%3E%3C/svg%3E");
  background-size: 56px 80px;
  -webkit-mask-image: linear-gradient(
    100deg,
    transparent 30%,
    rgba(0, 0, 0, 0.5) 52%,
    #000 74%
  );
  mask-image: linear-gradient(
    100deg,
    transparent 30%,
    rgba(0, 0, 0, 0.5) 52%,
    #000 74%
  );
  opacity: 0.9;
}
/* Diagonaler Prisma-Light-Sweep quer durchs Gitter (nur rechts sichtbar; der
   Links-Scrim liegt darüber und deckt die Lesezone ab) */
.subhead__sweep {
  position: absolute;
  top: -25%;
  bottom: -25%;
  left: 0;
  width: 42%;
  z-index: 2;
  background: linear-gradient(
    100deg,
    transparent,
    color-mix(in oklch, var(--jewel-glow) 42%, transparent) 42%,
    color-mix(in oklch, var(--spec-aqua) 26%, transparent) 56%,
    transparent
  );
  mix-blend-mode: screen;
  filter: blur(7px);
  opacity: 0;
  transform: translateX(-40%) skewX(-12deg);
}
/* Scrim + Vignette: dunkle Lesezone links, Glas glüht oben-rechts weiter */
.subhead__scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(
      100deg,
      var(--ink-void) 0%,
      rgba(9, 12, 19, 0.9) 24%,
      rgba(9, 12, 19, 0.52) 44%,
      rgba(9, 12, 19, 0.14) 60%,
      transparent 74%
    ),
    linear-gradient(
      to top,
      rgba(9, 12, 19, 0.86) 0%,
      rgba(9, 12, 19, 0.24) 30%,
      transparent 56%
    ),
    radial-gradient(130% 120% at 74% 34%, transparent 46%, rgba(9, 12, 19, 0.5));
}
@supports not (color: color-mix(in oklch, white, black)) {
  .subhead__bloom {
    background: radial-gradient(
      46% 62% at 74% 40%,
      rgba(46, 134, 230, 0.46),
      rgba(18, 50, 95, 0.4) 42%,
      transparent 68%
    );
  }
  .subhead__sweep {
    background: linear-gradient(
      100deg,
      transparent,
      rgba(102, 169, 242, 0.42) 42%,
      rgba(62, 210, 230, 0.26) 56%,
      transparent
    );
  }
}

/* --- Inhalt (unten-links) --- */
.subhead__inner {
  position: relative;
  z-index: 4;
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
  padding-block: clamp(6.5rem, 13vh, 8.5rem) clamp(2.25rem, 7vh, 3.75rem);
}
.subhead__content {
  max-width: 46rem;
}
/* Breadcrumb */
.subhead__crumbs {
  margin-bottom: var(--space-sm);
}
.subhead__crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
}
.subhead__crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: var(--steel);
}
.subhead__crumbs li + li::before {
  content: "›";
  color: var(--steel);
}
.subhead__crumbs a {
  color: var(--silver);
  transition: color var(--dur-hover) var(--ease-out);
}
.subhead__crumbs [aria-current="page"] {
  color: var(--jewel-link);
  font-weight: 600;
}
.subhead__eyebrow {
  margin-bottom: var(--space-sm);
  color: var(--silver); /* Kontrast über Glühen ≥4.5:1 (steel scheitert) */
}
.subhead__h1 {
  font-size: var(--step-4);
  line-height: 1;
  margin-bottom: var(--space-md);
  text-wrap: balance;
}
.subhead__line {
  display: block;
  overflow: hidden;
  padding: 0.14em 0.06em;
  margin: -0.14em -0.06em;
}
.subhead__h1 .word {
  display: inline-block;
}
.subhead__h1 .italic-accent {
  color: var(--jewel-link);
}
.subhead__lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--silver);
  max-width: 50ch;
  margin: 0;
}

/* Motion NUR unter no-preference: Sweep wandert, Backlight atmet.
   (Kein WebGL, nur transform/opacity → 60fps auf iGPU.) */
@media (prefers-reduced-motion: no-preference) {
  .subhead__sweep {
    animation: subheadSweep 9s var(--ease-in-out) 0.6s infinite;
  }
  .subhead__bloom {
    animation: subheadBreath 7.5s var(--ease-in-out) infinite;
  }
  .js .subhead[data-anim="pending"] .subhead__h1 .word {
    will-change: transform;
  }
}
@keyframes subheadSweep {
  0% {
    transform: translateX(-40%) skewX(-12deg);
    opacity: 0;
  }
  16% {
    opacity: 0.55;
  }
  60% {
    opacity: 0.48;
  }
  100% {
    transform: translateX(300%) skewX(-12deg);
    opacity: 0;
  }
}
@keyframes subheadBreath {
  0%,
  100% {
    opacity: 0.62;
    transform: scale(1);
  }
  50% {
    opacity: 0.82;
    transform: scale(1.05);
  }
}

/* Page-Load-Gate — NUR unter Motion + JS. Wörter NUR transform (kein opacity)
   → LCP-Text paintet, sobald das Gate löst; ohne JS steht alles statisch da. */
@media (prefers-reduced-motion: no-preference) {
  .js .subhead[data-anim="pending"] .subhead__h1 .word {
    transform: translateY(110%);
  }
  .js .subhead[data-anim="pending"] .subhead__eyebrow,
  .js .subhead[data-anim="pending"] .subhead__crumbs,
  .js .subhead[data-anim="pending"] .subhead__lead {
    opacity: 0;
    transform: translateY(18px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .subhead__sweep {
    display: none;
  }
}

@media (max-width: 560px) {
  .subhead {
    min-height: clamp(20rem, 56svh, 26rem);
  }
  /* Hochformat: Glühen/Gitter oben, Textband unten dunkel halten */
  .subhead__bloom {
    background: radial-gradient(
      70% 40% at 62% 22%,
      color-mix(in oklch, var(--jewel) 44%, transparent),
      transparent 66%
    );
  }
  .subhead__glass {
    -webkit-mask-image: linear-gradient(
      to bottom,
      #000 0%,
      rgba(0, 0, 0, 0.4) 48%,
      transparent 78%
    );
    mask-image: linear-gradient(
      to bottom,
      #000 0%,
      rgba(0, 0, 0, 0.4) 48%,
      transparent 78%
    );
  }
  .subhead__scrim {
    background:
      linear-gradient(
        to top,
        var(--ink-void) 0%,
        rgba(9, 12, 19, 0.88) 42%,
        rgba(9, 12, 19, 0.4) 64%,
        transparent 84%
      ),
      radial-gradient(90% 55% at 60% 18%, transparent 40%, rgba(9, 12, 19, 0.5));
  }
  @supports not (color: color-mix(in oklch, white, black)) {
    .subhead__bloom {
      background: radial-gradient(
        70% 40% at 62% 22%,
        rgba(46, 134, 230, 0.44),
        transparent 66%
      );
    }
  }
}

/* ==========================================================================
   NAV-DROPDOWN — Multipage-Leistungen (wiederverwendbar, siehe subhead.md)
   Desktop: Hover/Klick-Disclosure · Mobil (Overlay): statische Liste.
   ========================================================================== */
.nav-drop {
  position: relative;
  display: inline-flex;
  align-items: center;
}
/* Unsichtbare Hover-Brücke: füllt den Spalt zwischen Trigger und Menü, damit
   der Hover beim Rübergehen nicht abreißt und das Dropdown verschwindet. */
.nav-drop::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 236px;
  max-width: 60vw;
  height: 0.75rem;
}
.nav-drop__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--silver);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: color var(--dur-hover) var(--ease-out);
}
.nav-drop__caret {
  width: 12px;
  height: 12px;
  flex: none;
  transition: transform var(--dur-ui) var(--ease-out);
}
.nav-drop__toggle[aria-expanded="true"] .nav-drop__caret {
  transform: rotate(180deg);
}
.nav-drop__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  min-width: 236px;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  background: color-mix(in oklch, var(--ink-raised) 96%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-14);
  border-radius: var(--r-md);
  box-shadow: 0 18px 42px rgba(9, 12, 19, 0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition:
    opacity var(--dur-ui) var(--ease-out),
    transform var(--dur-ui) var(--ease-out),
    visibility 0s linear var(--dur-ui);
  z-index: 60;
}
.nav-drop__menu::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--jewel), transparent);
}
.nav-drop.is-open .nav-drop__menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}
.nav-drop__menu li {
  margin: 0;
  max-width: none;
}
.nav-drop__menu a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  color: var(--silver);
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
  font-weight: 500;
  white-space: nowrap;
  transition:
    background var(--dur-hover) var(--ease-out),
    color var(--dur-hover) var(--ease-out);
}
.nav-drop__menu a[aria-current="page"] {
  color: var(--jewel-link);
}
.nav-drop__all {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--line-08);
}
.nav-drop__all a {
  color: var(--jewel-link);
}
@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover .nav-drop__toggle {
    color: var(--porcelain);
  }
  .nav-drop:hover .nav-drop__caret {
    transform: rotate(180deg);
  }
  .nav-drop:hover .nav-drop__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition-delay: 0s;
  }
  .nav-drop__menu a:hover {
    background: color-mix(in oklch, var(--jewel) 14%, transparent);
    color: var(--porcelain);
  }
}
@supports not (color: color-mix(in oklch, white, black)) {
  .nav-drop__menu {
    background: rgba(22, 27, 41, 0.97);
  }
}
@media (max-width: 860px) {
  .nav-drop {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .nav-drop__toggle {
    font-family: "Cormorant Garamond", serif;
    font-size: var(--step-2);
    color: var(--porcelain);
  }
  .nav-drop__caret {
    display: none;
  }
  .nav-drop__menu {
    position: static;
    min-width: 0;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    opacity: 1;
    /* NIEMALS hier `visibility: visible` / `pointer-events: auto` hart setzen:
       Das Untermenü liegt im Mobil-Overlay (.site-header__nav), das geschlossen
       per visibility:hidden + pointer-events:none versteckt ist. Ein Kind kann
       beides ÜBERSTIMMEN — nur die Deckkraft nicht. Ergebnis waren vier
       unsichtbare, aber klickbare Links mitten auf jeder Seite: Tipps auf
       Inhalte landeten bei „Handwerk & Notfall" (#service). `inherit` folgt
       dem Overlay: zu = weder sichtbar noch klickbar, offen = beides. */
    visibility: inherit;
    pointer-events: inherit;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
  }
  .nav-drop__menu::before {
    display: none;
  }
  .nav-drop__menu a {
    font-size: var(--step-0);
    color: var(--silver);
    text-align: center;
  }
  .nav-drop__all {
    border-top: 0;
    padding-top: 0;
    margin-top: 0;
  }
}

/* ==========================================================================
   DETAILSEITE — wiederverwendbare Content-Bausteine (Unterseiten-Batches)
   ========================================================================== */
.prose-lead {
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.65;
  max-width: 62ch;
}
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 760px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.panel {
  position: relative;
  background: var(--ink-raised);
  border: 1px solid var(--line-14);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  min-width: 0;
  overflow: hidden;
}
.panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, var(--jewel), transparent);
}
.panel__k {
  display: block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jewel-link);
}
.panel h3 {
  font-size: var(--step-2);
  margin: 0.5rem 0 0.75rem;
}
.panel p {
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.6;
  max-width: none;
}
.usecases {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line-14);
  border: 1px solid var(--line-14);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.usecase {
  background: var(--ink-raised);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}
.usecase svg {
  color: var(--jewel-link);
  width: 26px;
  height: 26px;
}
.usecase h3 {
  font-size: var(--step-1);
}
.usecase p {
  color: var(--silver);
  font-size: var(--step--1);
  line-height: 1.55;
  max-width: none;
}
.closing {
  background: var(--ink-void);
  text-align: center;
  position: relative;
}
.closing__inner {
  max-width: 48rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}
.closing__title {
  font-size: var(--step-4);
}
.closing__text {
  color: var(--silver);
  font-size: var(--step-1);
  max-width: 52ch;
}
.closing__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ==========================================================================
   BATCH-2 DETAILSEITEN — zusätzliche Kompositionsformen (Anti-Skelett-Gesetz)
   bauglaserei.html (Split + Sticky-Liste) · glasreparatur.html (Dringlichkeits-
   Band + versetzte Zeilen + Hairline-Fakten) · spiegel-rahmen.html (Split +
   Hairline-Fakten). Neue Selektoren, bestehende Klassen NICHT verändert.
   ========================================================================== */

/* Foto-Platzhalter — ehrliche Lichtkante-Fläche statt Fake-Bild, bis echte
   Kundenfotos vorliegen. Label bleibt sichtbar (kein verstecktes TODO). */
.photo-tbd {
  position: relative;
  aspect-ratio: 4 / 5;
  min-width: 0;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-14);
  background:
    repeating-linear-gradient(
      135deg,
      var(--line-08) 0 1px,
      transparent 1px 14px
    ),
    radial-gradient(120% 90% at 20% 0%, var(--jewel-ink), var(--ink-raised) 62%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-sm);
  overflow: hidden;
}
.photo-tbd::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--jewel), transparent);
}
.photo-tbd__label {
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  color: var(--silver);
  background: color-mix(in oklch, var(--ink) 70%, transparent);
  border: 1px solid var(--line-14);
  border-radius: var(--r-sm);
  padding: 0.4rem 0.7rem;
}

/* Echte Sektions-Bilder (Grok) im Split-Media-Rahmen — gleiche Lichtkante-Optik */
.split-media__media {
  margin: 0;
  min-width: 0;
}
.split-media__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-14);
}
@media (max-width: 720px) {
  .split-media__media img {
    aspect-ratio: 16 / 10;
  }
}

/* Breites Bild-Band (z. B. Glasreparatur) */
.wide-figure {
  margin: 0 auto;
  width: min(100% - 2.5rem, var(--maxw));
}
.wide-figure img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-14);
}
@media (max-width: 720px) {
  .wide-figure img {
    aspect-ratio: 16 / 10;
  }
}

/* Split mit Text + Foto-Platzhalter (asymmetrisch, KEIN Panel/Panel-Duo) */
.split-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.split-media__body {
  min-width: 0;
}
.split-media__body p + p {
  margin-top: 1rem;
}
@media (max-width: 760px) {
  .split-media {
    grid-template-columns: 1fr;
  }
  .split-media__media {
    order: -1;
  }
}

/* Sticky-Liste — gepinnte Glasfläche links, Leistungsliste scrollt rechts */
.stickylist {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.stickylist__media {
  position: relative;
  min-width: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-14);
  background: radial-gradient(
    120% 100% at 30% 8%,
    var(--jewel-ink),
    var(--ink-raised) 72%
  );
}
@media (min-width: 761px) {
  .stickylist__media {
    position: sticky;
    top: clamp(5.5rem, 9vw, 7rem);
  }
}
.stickylist__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='64' height='64'><path d='M32 0 64 32 32 64 0 32Z' fill='none' stroke='rgba(236,239,244,.10)'/></svg>");
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    #000 28%,
    #000 82%,
    transparent
  );
  mask-image: linear-gradient(
    180deg,
    transparent,
    #000 28%,
    #000 82%,
    transparent
  );
}
.stickylist__glow {
  position: absolute;
  right: -12%;
  top: -12%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, var(--jewel-glow), transparent 70%);
  opacity: 0.32;
  mix-blend-mode: screen;
  filter: blur(6px);
  pointer-events: none;
}
.stickylist__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: var(--space-sm);
  color: var(--silver);
  font-size: var(--step--1);
}
.stickylist__list {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.stickylist__item {
  padding-block: clamp(1.5rem, 3vw, 2.25rem);
  border-top: 1px solid var(--line-14);
  min-width: 0;
}
.stickylist__item:first-child {
  border-top: 0;
  padding-top: 0;
}
.stickylist__num {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  color: var(--jewel-link);
}
.stickylist__item h3 {
  font-size: var(--step-2);
  margin: 0.5rem 0 0.6rem;
}
.stickylist__item p {
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.6;
  max-width: 52ch;
}
@media (max-width: 760px) {
  .stickylist {
    grid-template-columns: 1fr;
  }
}

/* Dringlichkeits-Band — prominenter „schnell anfragen"-CTA (glasreparatur) */
.urgent {
  position: relative;
  background: linear-gradient(135deg, var(--jewel-ink), var(--ink-raised) 68%);
  border: 1px solid var(--line-jewel);
  border-radius: var(--r-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  overflow: hidden;
}
.urgent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--jewel), transparent);
}
.urgent__text {
  max-width: 46ch;
  min-width: 0;
}
.urgent__eyebrow {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jewel-link);
  margin: 0 0 0.5rem;
  display: block;
}
.urgent__title {
  font-size: var(--step-2);
  margin: 0 0 0.6rem;
}
.urgent__text p {
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.55;
  max-width: 46ch;
}
.urgent__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-width: 0;
}

/* Versetzte Zeilen (Zigzag) — Schadensbilder (glasreparatur) */
.zigzag {
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 5vw, 3.5rem);
}
.zigzag__row {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  border-top: 1px solid var(--line-14);
  padding-top: clamp(2.25rem, 5vw, 3.5rem);
}
.zigzag__row:first-child {
  border-top: 0;
  padding-top: 0;
}
.zigzag__row--reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.4fr);
}
.zigzag__row--reverse .zigzag__num {
  order: 2;
  text-align: right;
}
.zigzag__row--reverse .zigzag__body {
  order: 1;
}
.zigzag__num {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-style: italic;
  font-size: clamp(3.25rem, 8vw, 5.5rem);
  line-height: 1;
  color: var(--jewel-link);
  opacity: 0.9;
}
.zigzag__body {
  min-width: 0;
}
.zigzag__body h3 {
  font-size: var(--step-2);
  margin: 0 0 0.6rem;
}
.zigzag__body p {
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.6;
  max-width: 48ch;
}
@media (max-width: 700px) {
  .zigzag__row,
  .zigzag__row--reverse {
    grid-template-columns: 1fr;
  }
  .zigzag__row--reverse .zigzag__num,
  .zigzag__row--reverse .zigzag__body {
    order: initial;
  }
  .zigzag__num {
    font-size: clamp(2.5rem, 14vw, 3.25rem);
    text-align: left !important;
  }
}

/* Hairline-Fakten-Liste — gemeinsame Eckpunkte (spiegel-rahmen, glasreparatur) */
.factrow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.factrow li {
  display: grid;
  grid-template-columns: minmax(0, 180px) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  padding-block: 1.15rem;
  border-top: 1px solid var(--line-14);
}
.factrow li:first-child {
  border-top: 0;
  padding-top: 0;
}
.factrow strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: var(--step-1);
  color: var(--porcelain);
  min-width: 0;
}
.factrow span {
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.55;
  min-width: 0;
}
@media (max-width: 600px) {
  .factrow li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

/* ==========================================================================
   BATCH-2 STARTSEITE — Multipage-Hub (index.html)
   Leistungen-Teaser (ersetzt die Sticky-Scroll-Story, verlinkt die 4
   Detailseiten, Bleiverglasung als Flaggschiff) · `.link-arrow` (kleine
   Pfeil-Links Tradition→ueber.html / Handwerk→bleiverglasung.html) ·
   Termin-CTA-Band (reuse `.closing__inner` innerhalb von `.termin`,
   verlinkt /kontakt.html) · Standort-Mini (kompakter NAP-Verweis,
   voller NAP+Maps lebt jetzt auf /kontakt.html). Nur neue Selektoren,
   bestehende Klassen nicht verändert. Pflicht-Rhythmus-Bruch (§0b):
   `.standort-mini` nutzt reduziertes Padding + kein H2 — bewusst anderer
   Sektionskopf als der Eyebrow+H2-Standard der übrigen Sektionen.
   ========================================================================== */

/* Kleiner Pfeil-Link (Tradition-Band, Handwerk-Sektion) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--space-sm);
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--jewel-link);
}
.link-arrow svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform var(--dur-hover) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link-arrow:hover svg {
    transform: translateX(3px);
  }
}

/* Leistungen-Teaser: Flaggschiff-Panel (Bleiverglasung) + Zeilen-Liste */
.leistungen-teaser__flagship {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: stretch;
  background: linear-gradient(135deg, var(--jewel-ink), var(--ink-raised) 72%);
  border: 1px solid var(--line-jewel);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  color: inherit;
  min-width: 0;
  transition: border-color var(--dur-hover) var(--ease-out);
}
.leistungen-teaser__body {
  padding: clamp(2rem, 5vw, 3rem);
  align-self: center;
  min-width: 0;
}
.leistungen-teaser__img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  display: block;
}
.leistungen-teaser__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jewel-link);
  margin-bottom: 0.6rem;
}
.leistungen-teaser__badge::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--jewel);
  flex: none;
}
.leistungen-teaser__flagship h3 {
  font-size: var(--step-3);
  margin-bottom: 0.6rem;
}
.leistungen-teaser__flagship p {
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.6;
  max-width: 52ch;
}
.leistungen-teaser__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.leistungen-teaser__item {
  display: flex;
  flex-direction: column;
  background: var(--ink);
  border: 1px solid var(--line-14);
  border-radius: var(--r-lg);
  overflow: hidden;
  color: inherit;
  min-width: 0;
  transition:
    border-color var(--dur-hover) var(--ease-out),
    transform var(--dur-hover) var(--ease-out);
}
.leistungen-teaser__thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.leistungen-teaser__num {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  color: var(--jewel-link);
}
.leistungen-teaser__row-body {
  min-width: 0;
  flex: 1;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.leistungen-teaser__row-body h3 {
  font-size: var(--step-2);
  margin-bottom: 0;
}
.leistungen-teaser__row-body p {
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.55;
  max-width: 54ch;
}
.leistungen-teaser__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.5rem;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  color: var(--jewel-link);
  white-space: nowrap;
}
.leistungen-teaser__thumb {
  transition: transform var(--dur-reveal) var(--ease-out);
}
.leistungen-teaser__flagship .leistungen-teaser__cta {
  color: var(--porcelain);
}
.leistungen-teaser__cta svg {
  width: 15px;
  height: 15px;
  flex: none;
  transition: transform var(--dur-hover) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .leistungen-teaser__item:hover {
    border-color: var(--line-jewel);
    transform: translateY(-4px);
  }
  .leistungen-teaser__item:hover .leistungen-teaser__thumb {
    transform: scale(1.05);
  }
  .leistungen-teaser__flagship:hover {
    border-color: var(--jewel);
  }
  .leistungen-teaser__item:hover .leistungen-teaser__cta svg,
  .leistungen-teaser__flagship:hover .leistungen-teaser__cta svg {
    transform: translateX(3px);
  }
}
@media (max-width: 860px) {
  .leistungen-teaser__list {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .leistungen-teaser__flagship {
    grid-template-columns: 1fr;
  }
  .leistungen-teaser__flagship .leistungen-teaser__img {
    order: -1;
    min-height: 200px;
  }
}

/* Standort-Mini — kompakter Verweis auf /kontakt.html (voller NAP + Maps
   lebt dort). Bewusster Rhythmus-Bruch: schmales Padding, kein H2. */
.standort-mini {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}
.standort-mini__text {
  min-width: 0;
}
.standort-mini__addr {
  color: var(--porcelain);
  font-size: var(--step-1);
  max-width: 44ch;
}
.standort-mini__addr strong {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}
.standort-mini__hours {
  color: var(--steel);
  font-size: var(--step--1);
  margin-top: 0.4rem;
  max-width: 48ch;
}
/* Startseite: Standort mit Karte — Text links, Karte rechts */
.standort-mini--karte {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  align-items: center;
  gap: var(--space-lg);
}
.standort-mini__anfahrt {
  color: var(--steel);
  font-size: var(--step--1);
  margin-top: 0.35rem;
}
.standort-mini--karte .standort-mini__link {
  margin-top: var(--space-sm);
}
.standort-mini__map {
  aspect-ratio: 16 / 10;
}
@media (max-width: 860px) {
  .standort-mini--karte {
    grid-template-columns: 1fr;
  }
  .standort-mini__map {
    aspect-ratio: 4 / 3;
  }
}

.standort-mini__link {
  flex: none;
}
.standort-mini__link svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   SUB-HEAD-VIDEO — bewegter Sub-Head je Unterseite (Grok Image/Text-to-Video)
   Basis-Layer (z-index 0) unter Bloom/Glas-Gitter/Sweep/Scrim. Der Scrim
   (z-index 3) liegt darüber → Titel/Breadcrumb/Lead bleiben lesbar. Sanft
   über den Poster einblenden. reduced-motion → Video aus, CSS-Glas-Optik
   bleibt als Fallback. Bei laufendem Video das Came-Gitter dezent absenken,
   damit sich kein Doppel-Raster über das Glas-Bewegtbild legt.
   ========================================================================== */
.subhead__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 1s var(--ease-out);
}
.subhead__video.is-playing {
  opacity: 1;
}
.subhead__video.is-playing ~ .subhead__glass {
  opacity: 0.32;
  transition: opacity 1s var(--ease-out);
}
@media (prefers-reduced-motion: reduce) {
  .subhead__video {
    display: none;
  }
}

/* Kontakt: Kalender + Uhrzeit — nativer Picker im Dark-Theme, Hinweis-Zeile */
.field input[type="date"],
.field input[type="time"],
.field select {
  color-scheme: dark;
}
.field__hint {
  font-size: var(--step--1);
  color: var(--silver);
  margin-top: 0.1rem;
  max-width: none;
}

/* Hero: Google-Rating als prominentes Trust-Element */
/* Adresse als Textzeile unter der Bewertung — führt direkt zu Google Maps.
   Bewusst kein Button/Pill: „als Schrift" (Hamada, 17.07.). Liegt in der
   dunklen Hero-Insel, erbt also dort die hellen Tokens. Der text-shadow
   sichert die Lesbarkeit über hellen Stellen des Hero-Videos. */
.hero__addr {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.85rem;
  color: var(--silver);
  font-size: var(--step--1);
  text-decoration: none;
  width: fit-content;
  max-width: 100%;
  text-shadow: 0 1px 12px rgba(9, 12, 19, 0.75);
  transition: color var(--dur-hover) var(--ease-out);
}
.hero__addr > span {
  border-bottom: 1px solid var(--line-22);
  padding-bottom: 1px;
  transition: border-color var(--dur-hover) var(--ease-out);
}
.hero__addr:hover {
  color: var(--porcelain);
}
.hero__addr:hover > span {
  border-bottom-color: var(--jewel-glow);
}
.hero__addr:focus-visible {
  outline: 2px solid var(--jewel);
  outline-offset: 3px;
  border-radius: 3px;
}
.hero__addr svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--jewel-link);
}
.hero__addr-extern {
  width: 12px !important;
  height: 12px !important;
  opacity: 0.55;
  color: currentColor !important;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  padding: 0.6rem 1.05rem;
  border: 1px solid var(--line-14);
  border-radius: 999px;
  background: color-mix(in oklch, var(--ink-void) 55%, transparent);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--porcelain);
  width: fit-content;
  max-width: 100%;
  transition: border-color var(--dur-hover) var(--ease-out);
}
.hero__rating:hover {
  border-color: var(--line-jewel);
}

/* Schmale Handys: Der Pillen-Inhalt steht auf nowrap und war bei 375px 22px
   breiter als die Pille — „…Google-Bewertungen" wurde am Rand abgeschnitten.
   Statt den Trust-Text zu kürzen („Google" trägt die Glaubwürdigkeit), wird die
   Pille kompakter: kleinere Sterne, engeres Padding, knapperer Abstand. */
@media (max-width: 430px) {
  .hero__rating {
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    font-size: 0.92rem;
  }
  .hero__rating-stars {
    font-size: 1.05rem !important;
    letter-spacing: 0.02em !important;
  }
}

/* Sehr schmale Geräte (360px = viele Android-Handys, 320px = iPhone SE):
   Auch kompakt reicht die Zeile nicht. Hier darf die Pille zweizeilig werden —
   dann aber als abgerundetes Feld, weil ein 999px-Radius mehrzeilig zur Kapsel
   verunstaltet. Lieber zwei saubere Zeilen als ein abgeschnittenes Trust-Signal. */
@media (max-width: 374px) {
  .hero__rating {
    flex-wrap: wrap;
    border-radius: 14px;
    row-gap: 0.15rem;
  }
  .hero__rating-text {
    white-space: normal !important;
  }
}

.hero__rating-stars {
  color: #e6a817;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  line-height: 1;
  flex: none;
}
.hero__rating-text {
  font-family: "Inter Tight", sans-serif;
  font-size: var(--step-0);
  color: var(--silver);
  white-space: nowrap;
}
.hero__rating-text strong {
  color: var(--porcelain);
  font-weight: 700;
  font-size: 1.15em;
}
@supports not (color: color-mix(in oklch, white, black)) {
  .hero__rating {
    background: rgba(9, 12, 19, 0.6);
  }
}

/* Glas-H-Logo (Grok) in Nav + Footer */
.site-header__logo-img,
.site-footer__logo-img {
  display: block;
  object-fit: contain;
  flex: none;
}
.site-header__logo-img {
  width: 92px;
  height: 92px;
  margin: -24px 0; /* großes H, ohne die Kopfleiste aufzublähen */
}
.site-footer__logo-img {
  width: 44px;
  height: 44px;
}

/* Leistungen-Übersichtsseite — Service-Blöcke (alternierend Bild/Text) */
.lsvc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.lsvc__media {
  margin: 0;
  min-width: 0;
}
.lsvc__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-lg);
  border: 1px solid var(--line-14);
  display: block;
}
.lsvc--reverse .lsvc__media {
  order: 2;
}
.lsvc__body {
  min-width: 0;
}
.lsvc__num {
  display: inline-block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jewel-link);
  margin-bottom: 0.6rem;
}
.lsvc__body h2 {
  font-size: var(--step-3);
  margin-bottom: 0.7rem;
}
.lsvc__body p {
  color: var(--silver);
  font-size: var(--step-0);
  line-height: 1.6;
  margin-bottom: 1.1rem;
  max-width: 52ch;
}
.lsvc__list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.55rem;
}
.lsvc__list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--porcelain);
  font-size: var(--step-0);
}
.lsvc__list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid var(--jewel);
  border-bottom: 1.5px solid var(--jewel);
  transform: rotate(45deg);
}
@media (max-width: 820px) {
  .lsvc {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .lsvc--reverse .lsvc__media {
    order: 0;
  }
}

/* Leistungen — Kategorie-Blöcke (Außen / Innen / Service) */
.lcat__head {
  max-width: 62ch;
  margin-bottom: var(--space-md);
}
.lcat__kicker {
  display: inline-block;
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jewel-link);
  margin-bottom: 0.6rem;
}
.lcat__head h2 {
  font-size: var(--step-3);
  margin-bottom: 0.6rem;
}
.lcat__lead {
  color: var(--silver);
  font-size: var(--step-1);
  line-height: 1.55;
  max-width: 56ch;
}
.lcat__grid {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.lcat__item {
  background: var(--ink-2);
  border: 1px solid var(--line-14);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.3s var(--ease-in),
    transform 0.3s var(--ease-in);
}
.lcat__item:hover {
  border-color: color-mix(in oklch, var(--jewel) 55%, transparent);
  transform: translateY(-3px);
}
.lcat__thumb {
  margin: 0;
  overflow: hidden;
}
.lcat__thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease-in);
}
.lcat__item:hover .lcat__thumb img {
  transform: scale(1.05);
}
.lcat__text {
  padding: clamp(1rem, 2vw, 1.4rem);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.lcat__text h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: var(--step-0);
  color: var(--porcelain);
  margin: 0;
}
.lcat__text p {
  color: var(--silver);
  font-size: var(--step--1);
  line-height: 1.5;
  margin: 0;
}
.lcat__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
@media (max-width: 900px) {
  .lcat__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .lcat__grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   HELLES THEME — Anpassungen (Kopie „weißer Hintergrund")
   :root ist bereits auf hell gedreht. Hier: dunkle Video-Köpfe als Inseln
   erhalten, Grain zähmen, Logo-Chip, Bewertungs-Bruch, Karten-Trennung.
   ========================================================================== */

/* 1) Dunkle Inseln: Hero + alle Sub-Heads behalten ihr dunkles Token-Set,
      damit Video-Kontrast + helle Schrift sitzen. */
.hero,
.subhead {
  --ink-void: #090c13;
  --ink: #0e1220;
  --ink-raised: #161b29;
  --ink-2: #1e2536;
  --porcelain: #eceff4;
  --silver: #aeb6c4;
  --steel: #8a92a1;
  --steel-on-light: #545c6b;
  --jewel-link: #7db6f5;
  --line-08: rgba(236, 239, 244, 0.08);
  --line-14: rgba(236, 239, 244, 0.14);
  --line-22: rgba(236, 239, 244, 0.22);
  color: var(--porcelain);
}

/* 2) Bewertungs-Bruch: hier meint --ink die dunkle Tinte (auf hellem Grund). */
.section--light {
  --ink: #141a2b;
  background: #eef2f8;
  color: #141a2b;
}

/* 3) Grain-Textur auf Weiß fast unsichtbar halten (dunkle Specks = schmutzig). */
.grain-overlay::before {
  opacity: 0.02;
}

/* 4) Logo: seit 17.07. das Signet „Vier Rauten" als Inline-SVG.
      Der frühere dunkle Glas-Chip ist ersatzlos weg — er war nur nötig, weil
      das alte H-Rasterbild auf Weiß unsichtbar war. Das SVG erbt jetzt die
      Textfarbe und trägt sich in beiden Themes selbst. */
.site-header__logo-img,
.site-footer__logo-img {
  color: var(--porcelain);
  --logo-akzent: var(--jewel);
  --logo-akzent-tief: var(--jewel-deep);
  flex: none;
}
.site-header__logo-img {
  width: 38px;
  height: 38px;
  margin: 0;
}
.site-footer__logo-img {
  width: 44px;
  height: 44px;
}

/* 5) Karten auf Weiß sauber abheben (Schatten statt nur Hairline). */
.lcat__item {
  box-shadow:
    0 1px 2px rgba(20, 26, 43, 0.05),
    0 10px 26px rgba(20, 26, 43, 0.06);
}
.lcat__item:hover {
  box-shadow:
    0 2px 4px rgba(20, 26, 43, 0.08),
    0 18px 40px rgba(20, 26, 43, 0.12);
}

/* 6) Footer als sanftes helles Band (nicht reinweiß) zur Erdung. */
.site-footer {
  background: var(--ink-void);
}

/* ==========================================================================
   THEME-SYSTEM — Hell/Dunkel umschaltbar (Stand 17.07.2026)
   -------------------------------------------------------------------------
   Die Seite trägt ihre Farben in Rollen-Tokens (body: background:var(--ink);
   color:var(--porcelain)). Ein Token-Tausch dreht deshalb die ganze Seite.
   Umgeschaltet wird über data-theme am <html>:
     (kein Attribut) / [data-theme="light"] -> hell
     [data-theme="dark"]                    -> dunkel (Original-Palette)
   Regel für alles hier: KEIN Token darf eine Richtungs-Semantik verlieren.
   Wer eine Fixfarbe setzt, muss sie in BEIDEN Themes verantworten.
   ========================================================================== */

/* ---- 1) Fixes, die in BEIDEN Themes gelten ---------------------------- */

/* Button-Label: Der Jewel-Grund ist immer dasselbe Hellblau, also gehört das
   Label immer auf Dunkel. Vorher via var(--ink) -> im hellen Theme weiß auf
   Jewel = 3,7:1 (AA verfehlt). Jetzt fix und in beiden Themes ~5:1. */
.btn-primary,
a.btn-primary,
.site-header a.btn-primary,
.site-header__nav a.btn-primary,
.site-header__actions a.btn-primary,
.btn-primary:hover,
a.btn-primary:hover,
.btn-primary:focus-visible {
  color: #0e1220;
}

/* Header nie transparent starten: Er schwebt über Heroes, deren Helligkeit wir
   nicht kontrollieren (Video dunkel, Fotos hell). Vorher wurde er erst per
   Scroll-Klasse solide -> Logo + Navigation bis dahin unlesbar. */
/* ACHTUNG — hier NIEMALS backdrop-filter/filter/transform direkt auf .site-header:
   Das macht den Header zum Bezugsrahmen für `position: fixed` seiner Kinder. Die
   mobile Navigation ist ein Kind und arbeitet mit `position: fixed; inset: 0`.
   Mit Blur am Header füllte sie nur noch die 85px hohe Leiste statt den Bildschirm
   — ihr ~570px hoher Inhalt wurde darin zentriert und ragte oben raus (gemessen:
   „Leistungen" bei top: -180px, für den Nutzer unerreichbar).
   Deshalb: Farbe + Blur auf eine eigene Ebene (::before), nicht auf den Header. */
.site-header {
  background: transparent;
  border-bottom: 1px solid var(--line-08);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgb(255 255 255 / 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: none;
}
/* Inhalt über die Blur-Ebene heben */
.site-header__inner {
  position: relative;
  z-index: 1;
}
.site-header.is-solid::before {
  /* Reines rgb statt color-mix(in oklch, …, transparent): oklch ist polar,
     `transparent` liegt dort bei Hue 0° und zog den Blauton nach Magenta —
     sichtbar als Rosastich auf Weiß. */
  background: rgb(238 242 248 / 0.94);
}

/* ---- 2) HELLES Theme ------------------------------------------------- */

/* --jewel-ink ist eine Marken-Dunkelfarbe und war NICHT mit-gethemt: Flächen
   blieben Navy, während der Text auf Tinte gedreht wurde -> Fließtext ~2:1.
   Im hellen Theme wird daraus eine helle Glasfläche. */
:root:not([data-theme="dark"]) {
  --jewel-ink: #dbe8fa;
}

/* Grain: `screen` gegen Weiß ergibt rechnerisch immer Weiß — die Textur war
   im hellen Theme schlicht nicht vorhanden. Auf Hell muss sie multiplizieren. */
:root:not([data-theme="dark"]) .grain-overlay::before {
  mix-blend-mode: multiply;
  opacity: 0.038;
}

/* Dekor-Glows, die auf Weiß wirkungslos wären, dezent sichtbar machen. */
:root:not([data-theme="dark"]) .stickylist__glow {
  mix-blend-mode: multiply;
  opacity: 0.5;
}

/* ---- 3) DUNKLES Theme — Original-Palette („Lichtkathedrale") ---------- */

:root[data-theme="dark"] {
  --ink-void: #090c13;
  --ink: #0e1220;
  --ink-raised: #161b29;
  --ink-2: #1e2536;

  --porcelain: #eceff4;
  --silver: #aeb6c4;
  --steel: #8a92a1;
  --steel-on-light: #545c6b;

  --jewel: #2e86e6;
  --jewel-glow: #66a9f2;
  --jewel-link: #7db6f5;
  --jewel-deep: #1858b0;
  --jewel-ink: #12325f;

  --ok: #46c88c;
  --error: #e85a47;

  --line-08: rgba(236, 239, 244, 0.08);
  --line-14: rgba(236, 239, 244, 0.14);
  --line-22: rgba(236, 239, 244, 0.22);
  --line-jewel: rgba(46, 134, 230, 0.42);

  color-scheme: dark;
}

/* Header im Dunklen */
:root[data-theme="dark"] .site-header {
  border-bottom-color: var(--line-08);
}
:root[data-theme="dark"] .site-header::before {
  background: rgb(14 18 32 / 0.82);
}
:root[data-theme="dark"] .site-header.is-solid::before {
  background: rgb(22 27 41 / 0.95);
}

/* Karten brauchen auf Dunkel keinen Schlagschatten, sondern Hairlines. */
:root[data-theme="dark"] .lcat__item {
  box-shadow: none;
}

/* Grain: auf Dunkel additiv (screen) — so war es im Original gedacht. */
:root[data-theme="dark"] .grain-overlay::before {
  mix-blend-mode: screen;
  opacity: 0.06;
}

/* Der helle Bewertungs-Bruch bleibt im Dunklen ein heller Bruch — dort meint
   --ink bewusst die Tinte auf hellem Grund (Original-Logik aus Glaserei 1).
   --porcelain muss lokal mitgedreht werden, sonst schreibt Hell auf Hell. */
:root[data-theme="dark"] .section--light {
  --ink: #141a2b;
  --porcelain: #141a2b;
  --silver: #515a6b;
  --steel: #6b7382;
  background: #eef2f8;
  color: #141a2b;
}

/* ---- 4) Theme-Schalter im Header ------------------------------------- */

.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 999px;
  border: 1px solid var(--line-14);
  background: transparent;
  color: var(--porcelain);
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.theme-toggle:hover {
  border-color: var(--line-22);
  background: var(--line-08);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--jewel);
  outline-offset: 2px;
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
}
/* Sonne im Dunkel-Modus (= „zurück ins Helle"), Mond im Hell-Modus. */
.theme-toggle__sonne {
  display: none;
}
:root[data-theme="dark"] .theme-toggle__sonne {
  display: block;
}
:root[data-theme="dark"] .theme-toggle__mond {
  display: none;
}

/* ==========================================================================
   HEADER AUF SCHMALEN GERÄTEN — muss ans Dateiende!
   -------------------------------------------------------------------------
   Diese Regeln standen zuerst weiter oben und wirkten NICHT: Die Basisregeln
   (.site-header__tel display:inline-flex, .site-header__logo-img im hellen
   Theme-Patch) stehen später in der Datei und haben dieselbe Spezifität —
   bei Gleichstand gewinnt die spätere Regel. Ein @media erhöht die
   Spezifität nicht. Gemessen: 320px hatte 27px Überlappung trotz Fix.
   ========================================================================== */

/* Schmale Geräte: Auch ohne Tagline kollidierte „Höckenreiner" (nowrap, 1.3rem)
   mit dem Telefon-Icon — bei 360px um 12px, bei 320px um 44px. Gemessen, nicht
   geschätzt: bei 375px blieben nur 3px Rest, darunter lief es ineinander.
   Deshalb hier Logo, Wortmarke und Abstände zurücknehmen. */
@media (max-width: 420px) {
  .site-header__inner {
    gap: 0.5rem;
  }
  .site-header__logo {
    gap: 0.5rem;
  }
  .site-header__logo-img {
    width: 32px;
    height: 32px;
  }
  .site-header__wordmark {
    font-size: 1.08rem;
  }
  .site-header__actions {
    gap: 0.35rem;
  }
  .theme-toggle {
    width: 36px;
    height: 36px;
  }
}

/* Kleinste Geräte (320px, iPhone SE 1. Gen): Selbst kompakt bleibt die Wortmarke
   27px im Telefon-Icon. Das Icon fliegt hier raus — die feste „Anrufen"-Leiste am
   unteren Rand (.mobile-bar) steht auf jeder Seite mit Header und deckt die
   Telefonie besser ab als ein 44px-Icon zwischen Logo und Burger. */
@media (max-width: 340px) {
  .site-header__tel {
    display: none;
  }
}
