/* Schriften direkt hier statt @import — ein @import zwingt den Browser,
   erst site.css und DANN fonts.css zu holen; das kostete vor dem ersten
   Rendern eine komplette Rundreise (gemessen 02.08.2026). */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/big-shoulders-display-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/big-shoulders-display-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/big-shoulders-display-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/big-shoulders-display-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/onest-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/onest-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/onest-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/onest-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Azeret Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/azeret-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Azeret Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/azeret-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Azeret Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/azeret-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Azeret Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/azeret-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


/* ==========================================================================
   TRABOLD Verkauf & Service — „Werkstattnacht"
   Tokens exakt nach bau-brief.md §2. Palette abgeleitet aus dem Logo-Grün #007B00.
   ========================================================================== */

:root {
  /* Bühne — grün-schwarze Neutrals, Hue 143 konstant */
  --nacht: oklch(14% 0.016 143);
  --werkbank: oklch(19.5% 0.02 143);
  --stahl: oklch(25% 0.022 143);
  --kante-hoch: oklch(31% 0.024 143);

  /* Text — warm getönt, nie Reinweiß */
  --licht: oklch(95.5% 0.008 95);
  --dunst: oklch(79% 0.013 135);
  --zink: oklch(63% 0.014 135);

  /* Grün-Stufen aus dem Logo */
  --gruen-logo: oklch(50.5% 0.173 143); /* #007B00 — nur Logo / helle Träger */
  --gruen: oklch(68% 0.165 145);
  --gruen-hell: oklch(79% 0.135 146);
  --gruen-tief: oklch(30% 0.085 143);

  /* Bernstein / Glut — Gegenfarbe */
  --glut: oklch(74% 0.155 62);
  --glut-tief: oklch(59% 0.145 52);

  /* Hairlines + States */
  --linie-1: color-mix(in oklab, var(--licht) 9%, transparent);
  --linie-2: color-mix(in oklab, var(--licht) 16%, transparent);
  --linie-3: color-mix(in oklab, var(--licht) 28%, transparent);
  --linie-gruen: color-mix(in oklab, var(--gruen) 38%, transparent);
  --fokus: var(--glut);
  --fehler: oklch(63% 0.185 27);

  /* Type-Scale */
  --fs-display: clamp(4.2rem, 15.5vw, 13rem);
  --fs-h1: clamp(2.7rem, 6.9vw, 6.6rem);
  --fs-h2: clamp(2.2rem, 5.4vw, 4.6rem);
  --fs-h3: clamp(1.35rem, 2.1vw, 1.9rem);
  --fs-lead: clamp(1.15rem, 1.55vw, 1.5rem);
  --fs-body: clamp(1.05rem, 1.05vw, 1.175rem);
  --fs-small: clamp(0.9rem, 0.85vw, 0.975rem);
  --fs-label: clamp(0.72rem, 0.78vw, 0.84rem);
  --fs-daten: clamp(0.95rem, 1.05vw, 1.1rem);

  /* Familien */
  --ff-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --ff-body: "Onest", system-ui, -apple-system, sans-serif;
  --ff-mono: "Azeret Mono", ui-monospace, "Courier New", monospace;

  /* Motion */
  --ease-zug: cubic-bezier(0.37, 0, 0.63, 1);
  --ease-rueckschlag: cubic-bezier(0.2, 1.22, 0.36, 1);
  --ease-ui: cubic-bezier(0.33, 0, 0.12, 1);
  --d-press: 120ms;
  --d-hover: 190ms;
  --d-ui: 240ms;
  --d-reveal: 640ms;
  --d-snap: 380ms;

  /* Radien + Raster */
  --r-0: 0;
  --r-chip: 2px;
  --r-halb: 999px;
  --maxw: 1560px;
  --gutter: clamp(1.1rem, 1.6vw, 2rem);
  --rand: clamp(1.25rem, 4vw, 5.5rem);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--nacht);
  color: var(--licht);
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--fokus);
  outline-offset: 3px;
}
::selection {
  background: var(--gruen);
  color: var(--nacht);
}

/* ---------- Typo-Rollen ---------- */
.display {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-display);
  letter-spacing: -0.035em;
  line-height: 0.8;
  text-wrap: balance;
  text-transform: uppercase;
}
.h1 {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: var(--fs-h1);
  letter-spacing: -0.025em;
  line-height: 0.86;
  text-transform: uppercase;
}
.h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  letter-spacing: -0.015em;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}
.h3 {
  font-weight: 600;
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
  line-height: 1.15;
}
.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  max-width: 46ch;
  color: var(--dunst);
}
.body {
  max-width: 62ch;
  color: var(--dunst);
}
.small {
  font-size: var(--fs-small);
  line-height: 1.5;
}
.label {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: var(--fs-label);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  line-height: 1.2;
  color: var(--zink);
}
.daten {
  font-family: var(--ff-mono);
  font-weight: 400;
  font-size: var(--fs-daten);
  letter-spacing: 0.02em;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
}
.gruen {
  color: var(--gruen-hell);
}
.glut {
  color: var(--glut);
}

/* ---------- Raster ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--rand);
}
.grid12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

/* Maßstab-Leiste: durchgehende vertikale Hairline bei Spalte 2 */
.massstab {
  position: absolute;
  left: calc(var(--rand) + 8.33%);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--linie-gruen);
  pointer-events: none;
  z-index: 1;
}
.massstab::before,
.massstab::after {
  content: "";
  position: absolute;
  left: 50%;
  translate: -50% 0;
  width: 9px;
  height: 9px;
  border-radius: var(--r-halb);
  background: var(--gruen);
}
.massstab::before {
  top: 0;
}
.massstab::after {
  bottom: 0;
}
@media (max-width: 900px) {
  .massstab {
    display: none;
  }
}

/* Halbrund-Marke — das Logo-Device */
.halbrund {
  display: inline-block;
  width: 0.62em;
  height: 1.05em;
  flex: none;
  background: var(--gruen);
  border-radius: 0 var(--r-halb) var(--r-halb) 0;
  vertical-align: -0.12em;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: var(--gutter);
  padding: 0.9rem var(--rand);
  background: transparent;
  transition:
    background var(--d-ui) var(--ease-ui),
    border-color var(--d-ui);
  border-bottom: 1px solid transparent;
}
.nav.ist-fest {
  background: color-mix(in oklab, var(--nacht) 98%, transparent);
  border-bottom-color: var(--linie-1);
  backdrop-filter: blur(6px);
}
.nav__logo {
  display: block;
  background: var(--licht);
  border-radius: var(--r-chip);
  padding: 8px 10px;
  line-height: 0;
  flex: none;
}
.nav__logo img {
  height: 48px;
  width: auto;
}
.nav__links {
  display: flex;
  gap: clamp(0.9rem, 1.8vw, 2rem);
  margin-inline: auto;
}
.nav__links a {
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--dunst);
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition:
    color var(--d-hover) var(--ease-ui),
    border-color var(--d-hover);
  white-space: nowrap;
}
.nav__tel {
  text-decoration: none;
  color: var(--licht);
  white-space: nowrap;
}
.nav__tel:hover {
  color: var(--glut);
}
@media (hover: hover) {
  .nav__links a:hover {
    color: var(--licht);
    border-bottom-color: var(--gruen);
  }
}
.nav__links a[aria-current="page"] {
  color: var(--licht);
  border-bottom-color: var(--gruen);
}
.nav__burger {
  display: none;
  background: none;
  border: 1px solid var(--linie-2);
  border-radius: var(--r-chip);
  padding: 0.55rem 0.8rem;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .nav__links {
    position: fixed;
    inset: 0;
    background: var(--nacht);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.6rem;
    margin: 0;
    translate: 0 -100%;
    transition: translate 340ms var(--ease-ui);
    z-index: 70;
  }
  .nav__links.ist-offen {
    translate: 0 0;
  }
  .nav__links a {
    font-size: 1.35rem;
  }
  .nav__burger {
    display: block;
    position: relative;
    z-index: 80;
    margin-left: auto;
  }
  .nav__tel {
    display: none;
  }
  .nav__logo img {
    height: 40px;
  }
}

/* ---------- HERO — Off-grid-Anschnitt, Video ganz oben (§0e-17) ---------- */
.hero {
  position: relative;
  padding-bottom: clamp(1rem, 3vw, 3rem);
}
.hero__buehne {
  position: relative;
  width: 100%;
  height: 78vh;
  min-height: 540px;
  overflow: hidden;
}
.hero__buehne video,
.hero__buehne img.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__buehne video {
  z-index: 1;
}
.hero__buehne::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    0deg,
    color-mix(in oklab, var(--nacht) 92%, transparent) 0%,
    color-mix(in oklab, var(--nacht) 55%, transparent) 26%,
    transparent 46%
  );
}
.hero__inner {
  position: relative;
  z-index: 3;
  margin-top: -34vh;
}
.hero__eyebrow {
  grid-column: 2 / span 8;
  margin-bottom: 1.1rem;
}
.hero__titel {
  grid-column: 2 / span 9;
}
.hero__titel .zeile3 {
  display: block;
  color: var(--gruen);
}
.hero__meta {
  grid-column: 10 / span 3;
  align-self: start; /* oben rechts als Gegengewicht zum Eyebrow — nicht in die Fix-Buttons laufen */
  text-align: right;
  color: var(--dunst);
}
.hero__unten {
  position: relative;
  z-index: 4;
  margin-top: -4.5rem;
} /* LAYOUT-BRUCH 1 */
.hero__cta {
  grid-column: 2 / span 6;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .hero__buehne {
    height: 68svh;
    min-height: 420px;
  }
  .hero__inner {
    margin-top: -20vh;
  }
  .hero__eyebrow,
  .hero__titel,
  .hero__cta {
    grid-column: 1 / -1;
  }
  .hero__meta {
    grid-column: 1 / -1;
    text-align: left;
    margin-top: 1.2rem;
  }
  .hero__unten {
    margin-top: 0.9rem; /* auf Mobil kein Ueberlappen mit der Meta-Zeile */
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--r-chip);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--d-hover) var(--ease-ui),
    color var(--d-hover),
    transform var(--d-press);
}
.btn--glut {
  background: var(--glut);
  color: oklch(18% 0.04 62);
}
.btn--glut .halbrund {
  background: oklch(18% 0.04 62);
}
.btn--linie {
  background: transparent;
  border-color: var(--linie-2);
  color: var(--licht);
}
@media (hover: hover) {
  .btn--glut:hover {
    background: var(--glut-tief);
    color: var(--licht);
  }
  .btn--linie:hover {
    border-color: var(--gruen);
    color: var(--gruen-hell);
  }
}
.btn:active {
  transform: scale(0.975);
}
.textlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--licht);
  border-bottom: 1px solid var(--linie-2);
  padding-bottom: 0.2rem;
  transition:
    border-color var(--d-hover) var(--ease-ui),
    color var(--d-hover);
}
@media (hover: hover) {
  .textlink:hover {
    border-bottom-color: var(--gruen);
    color: var(--gruen-hell);
  }
}

/* ---------- Sektions-Rhythmus (bewusst variiert, §0b-7) ---------- */
.r-komp {
  margin-top: 2.5rem;
}
.r-normal {
  margin-top: clamp(7rem, 10vw, 11rem);
}
.r-weit {
  margin-top: clamp(9rem, 13vw, 14rem);
}
.r-sehrweit {
  margin-top: clamp(11rem, 17vw, 18rem);
}
.r-eng {
  margin-top: clamp(3rem, 4vw, 4.5rem);
}
.r-mittel {
  margin-top: clamp(5rem, 7vw, 7rem);
}
.r-fuss {
  margin-top: clamp(2rem, 3vw, 3rem);
}

section {
  position: relative;
}

/* ---------- S2 Maxime — Marginalie ---------- */
.marginalie {
  position: absolute;
  left: 0;
  top: 0;
  writing-mode: vertical-rl;
  rotate: 180deg;
  transform-origin: left top;
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .marginalie {
    position: static;
    writing-mode: horizontal-tb;
    rotate: none;
    margin-bottom: 1.2rem;
  }
}
.maxime {
  grid-column: 3 / span 8;
}
@media (max-width: 1100px) {
  .maxime {
    grid-column: 1 / -1;
  }
}
.maxime__satz {
  font-weight: 500;
  font-size: var(--fs-h3);
  line-height: 1.32;
}
.maxime__satz .zeile {
  display: block;
  overflow: hidden;
}
.maxime__satz .zeile > span {
  display: block;
}

/* ---------- S3 Ebenen-Stapel ---------- */
.ebenen {
  position: relative;
}
.ebene {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: center;
}
.ebene + .ebene {
  margin-top: -8rem;
}
.ebene:nth-child(3) {
  margin-top: -6rem;
}
.ebene__bild {
  position: relative;
}
.ebene__bild img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--r-0);
}
.ebene__ziffer {
  /* LAYOUT-BRUCH 2 */
  position: absolute;
  z-index: 3;
  top: -0.28em;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: clamp(4rem, 8vw, 7.5rem);
  color: var(--gruen);
  line-height: 1;
  letter-spacing: -0.02em;
  pointer-events: none;
}
.ebene__txt {
  position: relative;
  z-index: 2;
}
.ebene__stich {
  border-top: 1px solid var(--linie-1);
}
.ebene__stich li {
  display: flex;
  gap: 1rem;
  padding: 0.62rem 0;
  border-bottom: 1px solid var(--linie-1);
  color: var(--dunst);
}
.ebene__marken {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
}

/* Ebene A: Bild links (Sp 1–8) */
.ebene--a {
  z-index: 3;
}
.ebene--a .ebene__bild {
  grid-column: 2 / span 5; /* setzt an der Maßstab-Leiste an, statt sie zu durchschneiden */
}
.ebene--a .ebene__txt {
  grid-column: 7 / span 5;
}
.ebene--a .ebene__ziffer {
  right: -0.34em;
}
/* Ebene B: Bild rechts (Sp 5–12) */
.ebene--b {
  z-index: 2;
}
.ebene--b .ebene__bild {
  grid-column: 8 / span 5;
}
.ebene--b .ebene__txt {
  grid-column: 2 / span 5;
}
.ebene--b .ebene__ziffer {
  left: -0.34em;
}
/* Ebene C: Bild links (Sp 2–9) */
.ebene--c {
  z-index: 1;
}
.ebene--c .ebene__bild {
  grid-column: 2 / span 5;
}
.ebene--c .ebene__txt {
  grid-column: 8 / span 5;
}
.ebene--c .ebene__ziffer {
  right: -0.34em;
}

@media (max-width: 900px) {
  .ebene,
  .ebene + .ebene,
  .ebene:nth-child(3) {
    margin-top: 3.5rem;
    grid-template-columns: 1fr;
  }
  .ebene__bild,
  .ebene__txt {
    grid-column: 1 / -1 !important;
  }
  .ebene__bild img {
    aspect-ratio: 4/3;
  }
  .ebene__ziffer {
    position: static;
    font-size: 2.9rem;
    display: block;
    margin-bottom: 0.3rem;
  }
}

/* ---------- S4 ⭐ Signature „Der Anriss" ---------- */
.anriss {
  position: relative;
}
.anriss__strecke {
  position: relative;
  /* 320vh Gesamthöhe = 220vh echte Sticky-Strecke für die Choreografie.
     Bei 140vh blieben nur ~360px Scroll — die Szene war in einem Wisch vorbei. */
  height: 320vh;
}
.anriss__buehne {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.anriss__bild {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.anriss__bild--kalt {
  filter: saturate(0.28) brightness(0.62) hue-rotate(-12deg) contrast(1.06);
  z-index: 1;
}
.anriss__bild--warm {
  z-index: 2;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
}
.anriss__vor {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(
    0deg,
    color-mix(in oklab, var(--nacht) 70%, transparent),
    transparent 55%
  );
  pointer-events: none;
}
.anriss__wort {
  position: absolute;
  z-index: 5;
  left: 0;
  right: 0;
  /* Grundlinie sitzt unten auf der Wipe-Kante, statt das Motiv mittig zuzudecken */
  bottom: clamp(2rem, 6vh, 5rem);
}
.anriss__wort .display {
  grid-column: 2 / span 10;
}
.anriss__seil {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.anriss__callouts {
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
}
.callout {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  opacity: 0;
  white-space: nowrap;
  /* muss auf dem hellen, warmen Motorbild lesbar bleiben */
  color: var(--licht);
  text-shadow: 0 1px 7px oklch(12% 0.02 143 / 0.92);
}
.callout__linie {
  display: block;
  height: 1px;
  width: 0;
  background: var(--glut);
  box-shadow: 0 0 6px oklch(12% 0.02 143 / 0.8);
}
@media (max-width: 900px) {
  .anriss__strecke {
    height: 118vh;
  }
  .anriss__wort .display {
    grid-column: 1 / -1;
  }
  .callout {
    font-size: 0.66rem;
  }
}

/* ---------- S5 Hairline-Zeilen ---------- */
.split {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}
.split__bild {
  grid-column: 1 / span 5;
}
.split__bild img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.split__txt {
  grid-column: 7 / span 6;
}
@media (max-width: 900px) {
  .split__bild,
  .split__txt {
    grid-column: 1 / -1;
  }
  .split__txt {
    margin-top: 2.4rem;
  }
  .split__bild img {
    aspect-ratio: 3/2;
  }
  /* Direkte .split-Kinder mit eigenem Inline-grid-column (Unterseiten-Varianten)
     müssen auf Mobil trotzdem stapeln — Inline-Style schlägt sonst die Klasse. */
  .split > * {
    grid-column: 1 / -1 !important;
  }
  .split > * + * {
    margin-top: 2.4rem;
  }
}

.zeilen {
  border-top: 1px solid var(--linie-2);
}
.zeile-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 1rem 1.4rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--linie-1);
}
.zeile-item__nr {
  color: var(--gruen);
}
.zeile-item__txt p {
  color: var(--dunst);
  margin-top: 0.3rem;
  font-size: var(--fs-small);
}
.zeile-item__fakt {
  color: var(--zink);
  text-align: right;
}
.zeile-item--glut .zeile-item__fakt {
  color: var(--glut);
}
@media (max-width: 600px) {
  .zeile-item {
    grid-template-columns: 44px 1fr;
  }
  .zeile-item__fakt {
    grid-column: 2;
    text-align: left;
  }
}

/* ---------- S6 Marken-Register ---------- */
.register {
  grid-column: 2 / span 11;
}
@media (max-width: 1100px) {
  .register {
    grid-column: 1 / -1;
  }
}
.register__gruppe + .register__gruppe {
  margin-top: 2.6rem;
}
.register__kopf {
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--linie-2);
}
.register__marken {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem clamp(1.4rem, 3vw, 3rem);
  padding-top: 1.1rem;
}
.register__marken li {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--dunst);
  transition: color var(--d-hover) var(--ease-ui);
}
@media (hover: hover) {
  .register__marken li:hover {
    color: var(--gruen);
  }
}

/* ---------- S7 Beweis — DAS EINZIGE Card-Grid ---------- */
.beweis {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}
.beweis__zahl {
  grid-column: 1 / span 4;
}
.beweis__zahl .wert {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
}
.beweis__karten {
  grid-column: 6 / span 7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}
.zitat {
  background: var(--stahl);
  padding: clamp(1.4rem, 2.2vw, 2.1rem);
  border-radius: var(--r-chip);
}
.zitat__kappe {
  display: block;
  width: 14px;
  height: 24px;
  background: var(--gruen);
  border-radius: 0 var(--r-halb) var(--r-halb) 0;
  margin-bottom: 1.1rem;
}
.zitat p {
  font-size: 1.35rem;
  line-height: 1.42;
}
.zitat footer {
  margin-top: 1.2rem;
  color: var(--zink);
}
@media (max-width: 900px) {
  .beweis__zahl,
  .beweis__karten {
    grid-column: 1 / -1;
  }
  .beweis__karten {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }
  .zitat p {
    font-size: 1.15rem;
  }
}

/* ---------- S8 Kontakt ---------- */
.band {
  background: var(--werkbank);
  padding-block: clamp(4rem, 7vw, 7rem);
}
.kontaktraster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(2.4rem, 4vw, 4rem) var(--gutter);
}
.kontaktraster__links {
  grid-column: 1 / span 6;
}
.kontaktraster__rechts {
  grid-column: 7 / span 6;
}
@media (max-width: 900px) {
  .kontaktraster__links,
  .kontaktraster__rechts {
    grid-column: 1 / -1;
  }
}

.zeiten {
  border-top: 1px solid var(--linie-2);
  margin-top: 1.4rem;
}
.zeiten li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  height: 2.6rem;
  border-bottom: 1px solid var(--linie-1);
}
.zeiten li[data-zu] span:last-child {
  color: var(--zink);
}

.telriese {
  /* LAYOUT-BRUCH 3 */
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.4rem);
  letter-spacing: -0.025em;
  line-height: 0.9;
  text-decoration: none;
  display: block;
  margin-left: calc(var(--rand) * -1);
  white-space: nowrap;
}
@media (hover: hover) {
  .telriese:hover {
    color: var(--glut);
  }
}
@media (max-width: 900px) {
  .telriese {
    margin-left: 0;
    font-size: clamp(2rem, 10vw, 3rem);
  }
}

/* Formular */
.feld {
  display: block;
  margin-bottom: 1.1rem;
}
.feld > span {
  display: block;
  margin-bottom: 0.4rem;
}
.feld input,
.feld textarea,
.feld select {
  width: 100%;
  background: var(--nacht);
  border: 1px solid var(--linie-2);
  border-radius: var(--r-chip);
  padding: 0.85rem 1rem;
  color: var(--licht);
  transition: border-color var(--d-hover) var(--ease-ui);
}
.feld input:focus,
.feld textarea:focus,
.feld select:focus {
  border-color: var(--gruen);
  outline: none;
}
.feld textarea {
  min-height: 120px;
  resize: vertical;
}
.check {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  margin: 1.2rem 0 1.6rem;
}
.check input {
  margin-top: 0.32rem;
  flex: none;
  accent-color: var(--gruen);
  width: 18px;
  height: 18px;
}
.check a {
  color: var(--gruen-hell);
}
.honigtopf {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--linie-1);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
}
.footer__logo {
  background: var(--licht);
  border-radius: var(--r-chip);
  padding: 12px 16px;
  display: inline-block;
  line-height: 0;
}
.footer__logo img {
  height: 72px;
  width: auto;
}
.footer__raster {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2.4rem var(--gutter);
}
.footer__marke {
  grid-column: 1 / span 4;
}
.footer__nap {
  grid-column: 6 / span 3;
}
.footer__seiten {
  grid-column: 9 / span 2;
}
.footer__legal {
  grid-column: 11 / span 2;
}
.footer a {
  text-decoration: none;
  color: var(--dunst);
}
@media (hover: hover) {
  .footer a:hover {
    color: var(--gruen-hell);
  }
}
.footer li {
  padding: 0.28rem 0;
}
.footer__schluss {
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--linie-1);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
@media (max-width: 1100px) {
  .footer__marke {
    grid-column: 1 / -1;
  }
  .footer__nap,
  .footer__seiten,
  .footer__legal {
    grid-column: span 4;
  }
}
@media (max-width: 640px) {
  .footer__nap,
  .footer__seiten,
  .footer__legal {
    grid-column: 1 / -1;
  }
}

/* ---------- Fixe Kontakt-Buttons — IMMER sichtbar (§0e-12) ---------- */
.fixkontakt {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
}
.fixkontakt a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  border-radius: var(--r-chip);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--linie-2);
  background: color-mix(in oklab, var(--stahl) 92%, transparent);
  backdrop-filter: blur(8px);
  color: var(--licht);
  transition:
    background var(--d-hover) var(--ease-ui),
    color var(--d-hover);
}
.fixkontakt a.ist-primaer {
  background: var(--glut);
  color: oklch(18% 0.04 62);
  border-color: var(--glut);
}
@media (hover: hover) {
  .fixkontakt a:hover {
    background: var(--kante-hoch);
  }
  .fixkontakt a.ist-primaer:hover {
    background: var(--glut-tief);
    color: var(--licht);
  }
}
@media (max-width: 700px) {
  .fixkontakt {
    right: 0;
    left: 0;
    bottom: 0;
    flex-direction: row;
    gap: 0;
    border-top: 1px solid var(--linie-2);
    background: var(--nacht);
  }
  .fixkontakt a {
    flex: 1;
    justify-content: center;
    border-radius: 0;
    border: none;
    backdrop-filter: none;
    background: var(--stahl);
    border-right: 1px solid var(--nacht);
    font-size: 0.875rem;
    padding: 0.95rem 0.5rem;
  }
  .fixkontakt a:last-child {
    border-right: none;
  }
  main {
    padding-bottom: 5.5rem;
  } /* Platz schaffen statt Button verstecken */
}

/* ---------- Reveal-Grundzustände ----------
   NUR wenn JS wirklich läuft (html.js wird per Inline-Script gesetzt).
   Ohne JS bleibt jeder Inhalt sichtbar — nichts darf an einer Animation hängen. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
}
.js .zeile-item {
  clip-path: inset(0 100% 0 0);
}
.js .maxime__satz .zeile > span {
  transform: translateY(115%);
}
.legal h2 {
  margin-top: 2.6rem;
  margin-bottom: 0.7rem;
}
.legal h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}
.legal p,
.legal ul {
  color: var(--dunst);
  max-width: 68ch;
}
.legal li {
  padding: 0.18rem 0 0.18rem 1.1rem;
  position: relative;
}
.legal li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 6px;
  height: 1px;
  background: var(--gruen);
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  .zeile-item {
    clip-path: none !important;
  }
  .anriss__bild--warm {
    clip-path: none !important;
  }
  .anriss__strecke {
    height: auto;
  }
  .anriss__buehne {
    position: relative;
    height: 78vh;
  }
  .callout {
    opacity: 1 !important;
  }
  .callout__linie {
    width: 34px !important;
  }
  .hero__buehne video {
    display: none;
  }
}

/* ==========================================================================
   UNTERSEITEN-ERGÄNZUNGEN — neue, wiederverwendbare Komponenten
   ========================================================================== */

/* ---------- Parameter-Tafel (Hairline-Tabelle, 3 Spalten) ----------
   Braucht: rasenmaeher.html (Gerätegattungen), stromerzeuger.html (Watt-Tafel) */
.param-tafel {
  border-top: 1px solid var(--linie-2);
}
.param-kopf,
.param-zeile {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr 1.1fr;
  gap: 1rem 1.4rem;
  align-items: baseline;
  padding: 1.15rem 0;
}
.param-kopf {
  border-bottom: 1px solid var(--linie-2);
}
.param-zeile {
  border-bottom: 1px solid var(--linie-1);
}
.param-zeile__c3 {
  text-align: right;
}
@media (max-width: 700px) {
  .param-kopf {
    display: none;
  }
  .param-zeile {
    grid-template-columns: 1fr;
    gap: 0.25rem;
    padding: 1.1rem 0;
  }
  .param-zeile__c3 {
    text-align: left;
    color: var(--zink);
  }
}

/* ---------- Punkt-Marker (Hairline-Callouts ohne Scroll-Scrub) ----------
   Braucht: rasenmaeher.html (⭐ Weltneuheit) */
.punkte {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.punkt {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  white-space: nowrap;
  color: var(--licht);
  text-shadow: 0 1px 7px oklch(12% 0.02 143 / 0.92);
}
.punkt__linie {
  display: block;
  height: 1px;
  width: 34px;
  background: var(--gruen);
  flex: none;
}
@media (max-width: 700px) {
  .punkt {
    font-size: 0.66rem;
  }
  .punkt__linie {
    width: 20px;
  }
}

/* ---------- Ebene-Bild-Platte (Text-Panel statt Foto im Ebenen-Stapel) ----------
   Braucht: bootsmotore.html (Einsatzprofile 2 + 3) */
.ebene__bild--platte {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--stahl);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.6rem, 2.6vw, 2.4rem);
}
.ebene__bild--platte::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, var(--kante-hoch), transparent 62%);
  opacity: 0.6;
}
.ebene__bild--platte .kennwert {
  position: relative;
  z-index: 1;
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  color: var(--gruen-hell);
  line-height: 1.05;
}
.ebene__bild--platte .kennwert-label {
  position: relative;
  z-index: 1;
  font-family: var(--ff-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--zink);
  margin-top: 0.6rem;
}

/* ---------- Karten (wiederverwendbares Card-Grid, max. 1× je Seite) ----------
   Braucht: bootsmotore.html (Service am Motor), werkstatt.html (Ersatzteile/Hilfe/Abholung) */
.karten {
  display: grid;
  gap: var(--gutter);
}
.karten--4 {
  grid-template-columns: repeat(4, 1fr);
}
.karten--3 {
  grid-template-columns: repeat(3, 1fr);
}
.karte {
  background: var(--stahl);
  padding: clamp(1.5rem, 2.4vw, 2.1rem);
}
.karte__kappe {
  display: block;
  width: 14px;
  height: 24px;
  background: var(--gruen);
  border-radius: 0 var(--r-halb) var(--r-halb) 0;
  margin-bottom: 1.2rem;
}
.karte p {
  margin-top: 0.7rem;
  color: var(--dunst);
  font-size: var(--fs-small);
}
@media (max-width: 900px) {
  .karten--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .karten--3 {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .karten--4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Ablauf-Sequenz groß (Zeilen-Modifikator) ----------
   Braucht: werkstatt.html (⭐ Ablauf 01–05) */
.zeile-item--gross {
  padding: 2.1rem 0;
  grid-template-columns: 88px 1fr auto;
}
.zeile-item--gross .zeile-item__nr {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1;
}
.zeile-item--gross .h3 {
  font-size: var(--fs-h2);
  font-family: var(--ff-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 0.96;
}
.zeile-item--gross p {
  max-width: 46ch;
  font-size: var(--fs-body);
  margin-top: 0.7rem;
  color: var(--dunst);
}
@media (max-width: 700px) {
  .zeile-item--gross {
    grid-template-columns: 52px 1fr;
  }
}

/* ---------- Glut-Band (einziger Vollton-Glut-Block der Website) ----------
   Braucht: werkstatt.html (24–48 h Lieferservice) */
.glutband {
  background: var(--glut);
  color: oklch(18% 0.04 62);
}
.glutband .h2 {
  color: inherit;
}
.glutband p {
  color: color-mix(in oklab, oklch(18% 0.04 62) 82%, transparent);
}
.glutband .textlink {
  color: inherit;
  border-color: color-mix(in oklab, oklch(18% 0.04 62) 35%, transparent);
}

/* ---------- Editoriale Doppelspalte mit Marginalie ----------
   Braucht: ueber-uns.html */
.doppel {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}
.doppel__a {
  grid-column: 3 / span 4;
}
.doppel__b {
  grid-column: 8 / span 4;
}
@media (max-width: 1100px) {
  .doppel__a,
  .doppel__b {
    grid-column: 1 / -1;
  }
  .doppel__b {
    margin-top: 2.2rem;
  }
}

/* ---------- Anfahrt-Karte (Klick-to-Load, DSGVO) ----------
   Braucht: kontakt.html */
.karte-box {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--stahl);
  overflow: hidden;
}
.karte-box__start {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
  padding: 1.5rem;
  background: var(--werkbank);
  border: 1px solid var(--linie-2);
}
.karte-box__start p {
  color: var(--dunst);
  max-width: 32ch;
}
@media (max-width: 700px) {
  .karte-box {
    aspect-ratio: 1/1;
  }
}

/* ==========================================================================
   Mobile-Härtung (§0e-19) — nachträglich, gilt für ALLE Seiten
   ========================================================================== */

/* Grid-Items haben min-width:auto und werden von ihrem Inhalt aufgeblasen.
   Ohne min-width:0 sprengt eine lange Textzeile das 12-Spalten-Raster. */
.grid12 > *,
.ebene > *,
.split > *,
.beweis > *,
.kontaktraster > *,
.footer__raster > *,
.beweis__karten > *,
.param-kopf > *,
.param-zeile > *,
.karten > *,
.doppel > * {
  min-width: 0;
}

/* Lange Wörter (Komposita, E-Mail-Adressen) dürfen nie den Viewport sprengen */
body {
  overflow-wrap: break-word;
}
.h1,
.h2,
.h3,
.display {
  overflow-wrap: break-word;
}

/* Screenreader-Text ohne negatives Positioning — left:-9999px erzeugt selbst Overflow */
.nur-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.honigtopf {
  position: absolute !important;
  left: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

/* Nav-Lesbarkeit auf HELLEN Heads (Rasenmäher-Gegenlicht, Werkstatt-Funken):
   im transparenten Zustand liegt ein dunkler Verlauf unter der Leiste,
   sonst verschwinden die Links im Bild. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 190%;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--nacht) 82%, transparent) 0%,
    color-mix(in oklab, var(--nacht) 46%, transparent) 46%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
  transition: opacity var(--d-ui) var(--ease-ui);
}
.nav.ist-fest::before {
  opacity: 0;
}
.nav__links a,
.nav__tel {
  text-shadow: 0 1px 5px oklch(12% 0.02 143 / 0.7);
}
.nav.ist-fest .nav__links a,
.nav.ist-fest .nav__tel {
  text-shadow: none;
}
@media (max-width: 1100px) {
  .nav__links.ist-offen a {
    text-shadow: none;
  }
}

/* Einsatzprofile bootsmotore.html: echtes Bildmaterial statt leerer Farbfläche
   (§0e-13 „Material schlägt Struktur"), Kennwert liegt als Overlay darauf. */
.ebene__bild--platte picture,
.ebene__bild--platte img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ebene__bild--platte::before {
  background: linear-gradient(
    0deg,
    color-mix(in oklab, var(--nacht) 88%, transparent) 0%,
    color-mix(in oklab, var(--nacht) 30%, transparent) 42%,
    transparent 72%
  );
  opacity: 1;
  z-index: 1;
}
.ebene__bild--platte .kennwert,
.ebene__bild--platte .kennwert-label {
  z-index: 2;
}
.ebene__bild--platte .kennwert {
  text-shadow: 0 1px 8px oklch(12% 0.02 143 / 0.85);
}

/* Die Hero-Meta-Zeile darf nicht unter den fixen Kontakt-Buttons verschwinden.
   §0e-12: unten Platz schaffen, niemals den Button ausblenden. */
@media (min-width: 701px) {
  .hero__meta {
    padding-right: 152px;
  }
}
@media (min-width: 901px) {
  /* breitere Spalte, damit die Kontakt-Mail nicht mitten im Wort bricht */
  .hero__meta {
    grid-column: 8 / span 5;
    overflow-wrap: normal;
    word-break: keep-all;
  }
}

/* ==========================================================================
   Bewertungs-Diashow (Startseite) + großer Bewertungs-Anker im Hero
   ========================================================================== */

/* --- Hero: Bewertung groß und sofort sichtbar --- */
.hero__rating {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.hero__rating .wert {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(3.4rem, 7.5vw, 6.4rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  color: var(--glut);
  text-shadow: 0 2px 14px oklch(12% 0.02 143 / 0.75);
}
.hero__rating .sterne {
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--glut);
  letter-spacing: 0.08em;
  line-height: 1;
  text-shadow: 0 1px 8px oklch(12% 0.02 143 / 0.8);
}
.hero__rating .txt {
  color: var(--licht);
  text-shadow: 0 1px 6px oklch(12% 0.02 143 / 0.85);
}
@media (max-width: 900px) {
  .hero__rating {
    gap: 0.6rem;
    margin-bottom: 0.9rem;
  }
}

/* --- Diashow --- */
.diashow {
  position: relative;
}
.diashow__buehne {
  position: relative;
  overflow: hidden;
  min-height: 21rem;
}
@media (max-width: 700px) {
  .diashow__buehne {
    min-height: 27rem;
  }
}
.folie {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition:
    opacity 520ms var(--ease-ui),
    transform 520ms var(--ease-rueckschlag),
    visibility 0s linear 520ms;
}
.folie.ist-aktiv {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.folie__sterne {
  color: var(--glut);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  line-height: 1;
}
.folie blockquote p {
  font-size: clamp(1.4rem, 2.9vw, 2.4rem);
  line-height: 1.34;
  font-weight: 500;
  max-width: 26ch;
  margin-top: 1.4rem;
  text-wrap: balance;
}
.folie footer {
  margin-top: 1.6rem;
  color: var(--zink);
}

/* Steuerung: Punkte + Pfeile */
.diashow__leiste {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.diashow__punkte {
  display: flex;
  gap: 0.55rem;
}
.diashow__punkt {
  width: 26px;
  height: 3px;
  padding: 0;
  border: 0;
  background: var(--linie-2);
  cursor: pointer;
  transition: background var(--d-hover) var(--ease-ui);
}
.diashow__punkt[aria-selected="true"] {
  background: var(--gruen);
}
@media (hover: hover) {
  .diashow__punkt:hover {
    background: var(--gruen-hell);
  }
}
.diashow__pfeil {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--linie-2);
  border-radius: var(--r-chip);
  background: transparent;
  cursor: pointer;
  color: var(--licht);
  transition:
    border-color var(--d-hover) var(--ease-ui),
    color var(--d-hover);
}
@media (hover: hover) {
  .diashow__pfeil:hover {
    border-color: var(--gruen);
    color: var(--gruen-hell);
  }
}
.diashow__zaehler {
  margin-left: auto;
  color: var(--zink);
}
@media (max-width: 700px) {
  .diashow__zaehler {
    margin-left: 0;
    width: 100%;
  }
}

/* Hero-Bewertung sitzt im selben Raster wie Eyebrow und H1 (Spalte 2),
   nicht am nackten Viewport-Rand — und braucht eigene Höhe im Anschnitt. */
.hero__rating {
  grid-column: 2 / span 9;
}
.hero__rating .txt {
  white-space: nowrap;
}
@media (max-width: 900px) {
  .hero__rating {
    grid-column: 1 / -1;
  }
  .hero__rating .txt {
    white-space: normal;
  }
}

/* Diashow-Höhe: alle Folien liegen in DERSELBEN Grid-Zelle, damit die Bühne
   so hoch wird wie die längste Bewertung — absolute Folien kollabierten sie
   und schnitten das Zitat ab. */
.diashow__buehne {
  display: grid;
  min-height: 0;
}
.folie {
  position: relative;
  grid-area: 1 / 1;
  inset: auto;
}
.folie blockquote p {
  font-size: clamp(1.25rem, 2.3vw, 2rem);
  max-width: 34ch;
  line-height: 1.38;
}

/* Die Diashow erbt sonst das 2-Spalten-Grid von .beweis__karten —
   dann sitzt die Steuerleiste neben statt unter dem Zitat. */
.beweis__karten.diashow {
  display: block;
}
.diashow:focus-visible {
  outline: 2px solid var(--fokus);
  outline-offset: 6px;
}

/* ==========================================================================
   Hero-Textschutz (01.08.2026) — die Action-Clips sind deutlich heller als
   die alten Ambiente-Clips; der alte Verlauf trug den Text nicht mehr.
   Kurze Unterseiten-H1 sitzt bei ~450px und lag im transparenten Bereich.
   ========================================================================== */
.hero__buehne::after {
  background:
    /* 1. Grundverlauf von unten — jetzt kräftiger und deutlich höher reichend */
    linear-gradient(
      0deg,
      color-mix(in oklab, var(--nacht) 95%, transparent) 0%,
      color-mix(in oklab, var(--nacht) 88%, transparent) 22%,
      color-mix(in oklab, var(--nacht) 62%, transparent) 45%,
      color-mix(in oklab, var(--nacht) 28%, transparent) 68%,
      transparent 88%
    ),
    /* 2. seitlicher Keil zur Textseite — hält die linke Spalte dunkel,
          egal wie hell das Motiv rechts ist */
    linear-gradient(
      90deg,
      color-mix(in oklab, var(--nacht) 72%, transparent) 0%,
      color-mix(in oklab, var(--nacht) 42%, transparent) 34%,
      transparent 62%
    );
}

/* Sicherheitsnetz: Hero-Typo bekommt eine weiche Abdunklung mit,
   falls ein Clip an einer Stelle doch hell ausbricht. */
.hero__titel,
.hero__eyebrow,
.hero__meta,
.hero__rating .txt {
  text-shadow: 0 2px 18px oklch(12% 0.02 143 / 0.85);
}
.hero__eyebrow {
  color: var(--dunst);
}

/* Weicher Übergang vom Video-Hero in ein Flächenband (kontakt.html):
   Dort traf der kleinste Abstand des Rhythmus-Systems direkt auf eine
   harte Flächenkante — das las sich als Bruch. Jetzt läuft die Fläche
   von oben ein, statt mit einer Kante zu beginnen. */
.band--weich {
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in oklab, var(--werkbank) 55%, transparent) 3.5rem,
    var(--werkbank) 8rem
  );
}

/* ==========================================================================
   FIX (01.08.2026): Mobiles Menü lag beim Scrollen über dem Seiteninhalt.
   Ursache: `.nav.ist-fest` setzt `backdrop-filter` — dadurch wird die Nav
   zum containing block für ihr `position:fixed`-Kind `.nav__links`.
   Das Menü war dann nur so hoch wie die Nav (85px) statt bildschirmhoch,
   und `translate: 0 -100%` schob es nicht mehr aus dem Viewport.
   ========================================================================== */
@media (max-width: 1100px) {
  /* 1. kein backdrop-filter auf Mobil — er erzeugt den falschen Bezugsrahmen */
  .nav.ist-fest {
    backdrop-filter: none;
    background: var(--nacht);
  }
  /* 2. geschlossenes Menü hart aus dem Zugriff nehmen, nicht nur verschieben */
  .nav__links {
    visibility: hidden;
    pointer-events: none;
    transition:
      translate 340ms var(--ease-ui),
      visibility 0s linear 340ms;
  }
  .nav__links.ist-offen {
    visibility: visible;
    pointer-events: auto;
    transition:
      translate 340ms var(--ease-ui),
      visibility 0s linear 0s;
  }
}

/* --- Formular-Statusmeldung (Cloudflare-Function-Weg) --------------- */
.formstatus {
  margin-top: 1rem;
  min-height: 1.2em;
  color: var(--zink);
}
.formstatus[data-art='fehler'] {
  color: var(--glut, #e08a2b);
}
.formstatus[data-art='hinweis'] {
  color: var(--gruen-hell);
}