/* =========================================================
   Dr. Nähring – klar, ruhig, viel Weißraum.
   Herzstück: das blaue Fass, aus dem die Geschichte auftaucht.
   ========================================================= */

/* Inter, lokal eingebunden (kein Google-Fonts-Aufruf). Auf Apple-Geräten greift SF Pro. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Fass-Position und -Größe (Hero bzw. Kapitel). Sie springen beim Wechsel sofort um; die sichtbare Bewegung
   übernimmt .rig__flip per translate/scale (script.js, FLIP), damit nichts pro Bild neu gezeichnet werden muss. */
@property --rx { syntax: "<length-percentage>"; inherits: true; initial-value: 50%; }
@property --ry { syntax: "<length>"; inherits: true; initial-value: 0px; }
@property --rw { syntax: "<length>"; inherits: true; initial-value: 200px; }

:root {
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --soft: #86868b;
  --line: #d2d2d7;
  --tint: #f5f5f7;
  --blue: #1f63c6;
  --blue-dark: #174fa3;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Segoe UI", system-ui, sans-serif;
  --H: 100vh;
}
@supports (height: 100svh) { :root { --H: 100svh; } }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
html.snap { scroll-snap-type: y mandatory; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
figure { margin: 0; }
button { font: inherit; color: inherit; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.container { max-width: 1080px; margin-inline: auto; padding-inline: 24px; }

.eyebrow {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: -.01em;
}

/* ---------- Buttons & Links ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.pill:hover { background: var(--blue-dark); }
.pill:active { transform: scale(.98); }

.more { color: var(--blue); font-size: 17px; white-space: nowrap; }
.more::after { content: "\00a0›"; }
.more:hover { text-decoration: underline; }
.more--light { color: #fff; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 52px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: background .5s, border-color .5s, color .5s;
}
.nav__inner {
  max-width: 1080px;
  height: 100%;
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; color: #004380; transition: color .5s; }
.brand svg { display: block; width: auto; height: 30px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 13px; }
.nav__links a { opacity: .82; transition: opacity .2s; }
.nav__links a:hover { opacity: 1; }
.nav__cta { font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--blue); color: #fff; white-space: nowrap; }
.nav__burger { display: none; }
.nav__mcta, .nav__mtel { display: none; }
html.menu-offen { overflow: hidden; }   /* offenes Handy-Menü: Seite dahinter scrollt nicht mit */

/* über dem Teambild: Navigation wird hell, sobald das Bild den Bildschirm füllt */
.nav.is-dark { background: rgba(0, 0, 0, 0); border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; transition-delay: .4s; }
.nav.is-dark .brand { color: #fff; transition-delay: .4s; }
.nav__cta { transition: background .5s, color .5s; }
.nav.is-dark .nav__cta { background: #fff; color: var(--ink); transition-delay: .4s; }

/* =========================================================
   SZENE: Hero + Geschichte
   ========================================================= */
.scene { position: relative; height: calc(var(--H) * 10); }   /* Hero + 8 Kapitel + Team */
.anchor { position: absolute; top: var(--H); }
.snaps { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(10, var(--H)); pointer-events: none; }
.snaps i { scroll-snap-align: start; scroll-snap-stop: always; }

.stage {
  position: sticky;
  top: 0;
  height: var(--H);
  overflow: hidden;
  background: #fff;

  /* Fass im Hero: mittig, groß, Deckel zu */
  --rx: 50%;
  --ry: 11vh;
  --rw: clamp(140px, calc((89vh - 385px) * .75), 270px);   /* füllt den Platz unter dem Text */
  --pk: 2.5;                       /* Fotobreite = Fassbreite × pk */
  --gap: 26px;                     /* Abstand Foto ↔ Wasser */
  --s0: calc(.6 / var(--pk));      /* Fotogröße im Fass (passt in die Öffnung) */
  --t: 1;                          /* Tempo: beim schnellen Durchscrollen .45 */
}
.stage.is-fast { --t: .45; }
/* Fass in der Geschichte: rechts, etwas kleiner, Deckel offen */
.stage:not([data-step="0"]) { --rx: 68%; --ry: 9vh; --rw: min(250px, 21vh); }

/* Zustände für Texte: is-future (unten) → is-current → is-past (oben) */
[data-i] { pointer-events: none; }
[data-i].is-current { pointer-events: auto; }

/* ---------- Hero ---------- */
.hero {
  position: absolute;
  inset: 0 0 auto;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: max(92px, 13vh) 24px 0;
}
.hero > * { opacity: 0; transform: translateY(24px); transition: opacity calc(.5s * var(--t)) ease, transform calc(.8s * var(--t)) var(--ease); }
.hero.is-past > * { transform: translateY(-40px); }
.hero.is-current > * { opacity: 1; transform: none; transition-delay: calc(calc(.2s * var(--t)) + var(--k, 0) * calc(.08s * var(--t))); }
.hero > :nth-child(2) { --k: 1; }
.hero > :nth-child(3) { --k: 2; }
.hero > :nth-child(4) { --k: 3; }

.hero h1 {
  font-size: clamp(42px, 6.2vw, 88px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: 1.03;
}
.hero h1 span { color: var(--soft); white-space: nowrap; }
.hero__lead { max-width: 600px; margin: 20px auto 28px; font-size: clamp(17px, 1.5vw, 21px); color: var(--muted); }
.hero__actions { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }

.cue {
  position: absolute;
  left: 50%;
  bottom: max(14px, 2.6vh);
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 12px;
  border: 0;
  background: none;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .4s, transform .6s var(--ease);
}
.cue.is-current { opacity: 1; transform: translate(-50%, 0); transition-delay: .6s; }
.cue svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

/* ---------- Große Jahreszahl ---------- */
.years { position: absolute; inset: 0; z-index: 0; }
.years span {
  position: absolute;
  left: var(--rx);
  top: 46%;
  font-family: var(--display);
  font-size: min(28vw, 44vh);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: 1;
  background: linear-gradient(180deg, #e8f0fb 10%, rgba(255, 255, 255, 0) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  transform: translate(-50%, -48%);
  transition: opacity calc(.6s * var(--t)) ease, transform calc(1.1s * var(--t)) var(--ease);
}
.years span.is-current { opacity: 1; transform: translate(-50%, -56%); transition-delay: calc(.2s * var(--t)); }
.years span.is-past { transform: translate(-50%, -66%); }

/* ---------- Das Fass ---------- */
.rig {
  position: absolute;
  left: var(--rx);
  bottom: var(--ry);
  z-index: 2;
  width: var(--rw);
  aspect-ratio: 240 / 320;
  transform: translateX(-50%);
  transition: transform calc(1s * var(--t)) var(--ease);
}

.rig__flip { position: absolute; inset: 0; transition: translate calc(1.05s * var(--t)) var(--ease), scale calc(1.05s * var(--t)) var(--ease); }
.barrel { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.barrel--back { z-index: 1; }
.barrel--front { z-index: 3; }
.barrel--lid { z-index: 4; transform-origin: 50% 11%; transition: transform calc(.8s * var(--t)) calc(.55s * var(--t)) var(--ease), opacity calc(.4s * var(--t)) calc(.55s * var(--t)); }
.stage:not([data-step="0"]) .barrel--lid { transform: translate(-6%, -70%) rotate(-14deg); opacity: 0; transition: transform calc(.75s * var(--t)) cubic-bezier(.3, .6, .3, 1), opacity calc(.4s * var(--t)) calc(.25s * var(--t)); }

.rig__shadow {
  position: absolute;
  left: -14%;
  right: -14%;
  bottom: -6%;
  height: 15%;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(8, 30, 70, .3), rgba(8, 30, 70, .1) 60%, rgba(8, 30, 70, 0));
}

/* Wellen auf dem Wasser */
.ripples ellipse { fill: none; stroke: #fff; stroke-width: 1.4; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rig.splash .ripples ellipse, .rig.ripple .ripples ellipse { animation: ripple calc(1.4s * var(--t)) var(--sd, calc(.25s * var(--t))) ease-out both; }
.rig.splash .ripples ellipse + ellipse, .rig.ripple .ripples ellipse + ellipse { animation-delay: calc(var(--sd, calc(.25s * var(--t))) + calc(.75s * var(--t))); }
@keyframes ripple {
  0% { opacity: .95; transform: scale(.25); }
  100% { opacity: 0; transform: scale(1.62); }
}

/* Tropfen, die vom auftauchenden Foto zurück ins Fass fallen */
.drips { position: absolute; left: 0; right: 0; bottom: calc(var(--rw) * 1.18); height: 0; z-index: 2; }
.drips i {
  position: absolute;
  bottom: 0;
  left: 40%;
  width: 6px;
  height: 8px;
  border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%;
  background: radial-gradient(circle at 35% 35%, #fff, #9ccdfa 55%, #3f86d8);
  opacity: 0;
}
.drips i:nth-child(2) { left: 55%; }
.drips i:nth-child(3) { left: 64%; }
.rig.splash .drips i { animation: drip calc(.6s * var(--t)) calc(var(--sd, calc(.25s * var(--t))) + calc(.55s * var(--t))) cubic-bezier(.5, 0, .9, .6) both; }
.rig.splash .drips i:nth-child(2) { animation-delay: calc(var(--sd, calc(.25s * var(--t))) + calc(.7s * var(--t))); }
.rig.splash .drips i:nth-child(3) { animation-delay: calc(var(--sd, calc(.25s * var(--t))) + calc(.82s * var(--t))); }
@keyframes drip {
  0% { opacity: 0; transform: translateY(-34px) scale(.5); }
  20% { opacity: 1; transform: translateY(-28px) scale(1); }
  100% { opacity: 1; transform: translateY(6px) scale(.9); }
}

/* ---------- Fotos, die aus dem Fass auftauchen ---------- */
.print {
  --pw: calc(var(--rw) * var(--pk));
  position: absolute;
  left: 50%;
  bottom: calc(var(--rw) * 1.1792);   /* Wasseroberfläche */
  z-index: 2;
  width: var(--pw);
  margin-left: calc(var(--pw) / -2);
  padding: 8px 8px 0;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(10, 30, 70, .08), 0 26px 50px -20px rgba(10, 30, 70, .38);
  transform-origin: 50% 100%;
  visibility: hidden;
}
.print .ph { aspect-ratio: 4 / 3; border-radius: 3px; }
.print figcaption {
  padding: 9px 4px 11px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* nasser Schimmer beim Auftauchen */
.print::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(70, 150, 235, .6), rgba(160, 210, 255, .28) 55%, rgba(255, 255, 255, 0));
  opacity: 0;
  pointer-events: none;
}

.print[data-state="shown"] { visibility: visible; transform: translateY(calc(-1 * var(--gap))); }
.print[data-state="rise"] { visibility: visible; animation: rise calc(1s * var(--t)) var(--d, calc(.1s * var(--t))) both; }
.print[data-state="rise"]::after { animation: wet calc(1s * var(--t)) var(--d, calc(.1s * var(--t))) both; }
.print[data-state="sink"] { visibility: visible; animation: sink calc(.75s * var(--t)) both; }
.print[data-state="sink"]::after { animation: wet calc(.75s * var(--t)) reverse both; }
.print[data-state="fly"] { visibility: visible; animation: fly calc(.75s * var(--t)) cubic-bezier(.55, 0, .8, .4) both; }
.print[data-state="drop"] { visibility: visible; animation: drop calc(1s * var(--t)) var(--d, calc(.2s * var(--t))) var(--ease) both; }

/* Kapitel 6: drei Standorte nebeneinander mit Pfeilen dazwischen; sie tauchen zusammen aus dem Fass auf.
   Breite als Vielfaches der Fassbreite (--k), damit die Startgröße im Fass (--s0) ohne Einheiten-Division stimmt. */
.print--reise {
  --k: 4.2;
  --pw: min(calc(var(--rw) * var(--k)), calc(100vw - 16px));
  --s0: calc(.6 / var(--k));
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 6px;
  padding: 0;
  background: none;
  box-shadow: none;
}
.print--reise::after { content: none; }
.reise__karte { position: relative; padding: 6px 6px 0; background: #fff; border-radius: 5px; box-shadow: 0 1px 2px rgba(10, 30, 70, .08), 0 20px 40px -18px rgba(10, 30, 70, .38); }
.reise__karte .ph { aspect-ratio: 4 / 3; border-radius: 3px; }
.reise__karte::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(to top, rgba(70, 150, 235, .6), rgba(160, 210, 255, .28) 55%, rgba(255, 255, 255, 0)); opacity: 0; pointer-events: none; }
.print--reise[data-state="rise"] .reise__karte::after { animation: wet calc(1s * var(--t)) var(--d, calc(.1s * var(--t))) both; }
.print--reise[data-state="sink"] .reise__karte::after { animation: wet calc(.75s * var(--t)) reverse both; }
.reise__ort { display: block; padding: 7px 2px 9px; font-size: 12px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reise__pfeil { width: 22px; height: 22px; margin-bottom: 26px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

@keyframes rise {
  0% {
    transform: translateY(calc(var(--s0) * 100% + var(--rw) * .07)) scale(var(--s0));
    animation-timing-function: cubic-bezier(.2, .65, .35, 1);
  }
  46% {
    transform: translateY(calc(var(--rw) * -.05)) scale(var(--s0));
    animation-timing-function: cubic-bezier(.55, 0, .15, 1);
  }
  100% { transform: translateY(calc(-1 * var(--gap))) scale(1); }
}
@keyframes sink {
  0% { transform: translateY(calc(-1 * var(--gap))) scale(1); animation-timing-function: cubic-bezier(.6, 0, .4, 1); }
  52% { transform: translateY(calc(var(--rw) * -.05)) scale(var(--s0)); animation-timing-function: cubic-bezier(.5, 0, .9, .5); }
  100% { transform: translateY(calc(var(--s0) * 100% + var(--rw) * .07)) scale(var(--s0)); }
}
@keyframes wet {
  0%, 38% { opacity: .95; }
  100% { opacity: 0; }
}
@keyframes fly {
  0% { transform: translateY(calc(-1 * var(--gap))); opacity: 1; }
  100% { transform: translateY(calc(-1 * var(--gap) - 22vh)) scale(.9); opacity: 0; }
}
@keyframes drop {
  0% { transform: translateY(calc(-1 * var(--gap) - 22vh)) scale(.9); opacity: 0; }
  100% { transform: translateY(calc(-1 * var(--gap))); opacity: 1; }
}

/* ---------- Platzhalter, solange echte Fotos fehlen ---------- */
.ph { position: relative; overflow: hidden; background: linear-gradient(150deg, #eef3fa, #dde7f4); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph__hint { display: none; }
.ph.is-empty .ph__hint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: #8a9ab3;
  letter-spacing: .01em;
}

/* ---------- Kapiteltexte ---------- */
.copy {
  position: absolute;
  left: max(24px, 7vw);
  top: 50%;
  z-index: 4;
  display: grid;
  width: min(440px, 36vw);
  transform: translateY(-54%);
}
.copy__item { grid-area: 1 / 1; align-self: center; }
.copy__item > * { opacity: 0; transform: translateY(26px); transition: opacity calc(.4s * var(--t)) ease, transform calc(.6s * var(--t)) var(--ease); }
.copy__item.is-past > * { transform: translateY(-26px); }
.copy__item.is-current > * { opacity: 1; transform: none; transition: opacity calc(.6s * var(--t)) ease, transform calc(.9s * var(--t)) var(--ease); transition-delay: calc(calc(.4s * var(--t)) + var(--k, 0) * calc(.09s * var(--t))); }
.copy__item > :nth-child(2) { --k: 1; }
.copy__item > :nth-child(3) { --k: 2; }
.copy h2 { font-size: clamp(34px, 3.7vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.copy p:not(.eyebrow) { margin-top: 18px; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.5; color: var(--muted); }
/* Abkürzung zu Produkten und Kontakt: zweite Zeile im Raster, also immer unter dem längsten Kapiteltext */
.skip { grid-area: 2 / 1; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.stage:not([data-step="0"]):not([data-step="9"]) .skip { opacity: 1; pointer-events: auto; transition-delay: .5s; }
/* bewusst zurückhaltend: blassgrau statt Blau, damit er neben der Geschichte nicht auffällt */
.skip__go { gap: 8px; min-height: 40px; padding: 0 18px; font-size: 15px; background: rgba(29, 29, 31, .06); color: var(--muted); }
.skip__go:hover { background: rgba(29, 29, 31, .1); color: var(--ink); }
.skip__go svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.skip .more { font-size: 15px; color: var(--muted); }

/* ---------- Fortschritt ---------- */
.timeline {
  position: absolute;
  left: max(24px, 7vw);
  bottom: 7vh;
  z-index: 6;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s;
}
.stage:not([data-step="0"]):not([data-step="9"]) .timeline { opacity: 1; pointer-events: auto; transition-delay: .5s; }
.timeline button {
  display: flex;
  flex-direction: column;
  gap: 9px;
  width: 50px;
  padding: 8px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;   /* iPhone: ohne eigene Safari-Knopfdarstellung, sonst bleibt der Strich 0 px breit */
  appearance: none;
}
.timeline b { position: relative; display: block; width: 100%; height: 2px; border-radius: 2px; background: #dfe3ea; overflow: hidden; }
.timeline b::after { content: ""; position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.timeline .is-done b::after, .timeline .is-current b::after { transform: none; }
.timeline span { font-size: 12px; color: var(--soft); font-variant-numeric: tabular-nums; transition: color .3s; }
.timeline .is-current span { color: var(--ink); font-weight: 600; }
.timeline button:hover span { color: var(--ink); }

/* ---------- Kapitel 7: das Team ---------- */
.team {   /* „Das sind wir.“: blendet ruhig über das letzte Kapitel, das Foto zoomt dabei leicht heran */
  position: absolute;
  inset: 0;
  z-index: 5;
  visibility: hidden;
  opacity: 0;
  transition: opacity calc(.5s * var(--t)) ease, visibility 0s linear calc(.5s * var(--t));
}
.stage[data-step="9"] .team {
  visibility: visible;
  opacity: 1;
  transition: opacity calc(.8s * var(--t)) calc(.1s * var(--t)) cubic-bezier(.4, 0, .2, 1), visibility 0s;
}
.team .ph { position: absolute; inset: 0; }
.ph--team { background: linear-gradient(160deg, #0b3477 0%, #1b5fc8 55%, #6fb0fb 100%); }
.ph--team.is-empty .ph__hint { color: rgba(255, 255, 255, .45); place-items: start end; padding: 76px 28px; font-size: 13px; }
.team img { transform: scale(1.06); transition: transform calc(1.6s * var(--t)) var(--ease); }
.stage[data-step="9"] .team img { transform: none; }
/* das letzte Kapitel tritt zurück, während das Teambild einblendet (kein durchscheinendes Fass) */
.rig { transition: transform calc(1s * var(--t)) var(--ease), opacity calc(.5s * var(--t)) calc(.2s * var(--t)); }
.stage[data-step="9"] .rig { opacity: 0; transition: transform calc(1s * var(--t)) var(--ease), opacity calc(.45s * var(--t)); }
.team__scrim {   /* unten für den Text, oben für das weiße Menü über dem hellen Foto */
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 12, 35, .66), rgba(0, 12, 35, 0) 58%), linear-gradient(to bottom, rgba(0, 12, 35, .5), rgba(0, 12, 35, 0) 22%);
}
.team__copy { position: absolute; left: max(24px, 7vw); bottom: 11vh; max-width: 560px; color: #fff; }
.team__copy > * { opacity: 0; transform: translateY(24px); transition: opacity calc(.4s * var(--t)), transform calc(.6s * var(--t)) var(--ease); }
.stage[data-step="9"] .team__copy > * { opacity: 1; transform: none; transition: opacity calc(.7s * var(--t)), transform calc(1s * var(--t)) var(--ease); transition-delay: calc(calc(.45s * var(--t)) + var(--k, 0) * calc(.08s * var(--t))); }
.team__copy > :nth-child(2) { --k: 1; }
.team__copy > :nth-child(3) { --k: 2; }
.team__copy > :nth-child(4) { --k: 3; }
.team__copy .eyebrow { color: #a9d1ff; }
.team__copy h2 { font-size: clamp(48px, 7vw, 104px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.team__copy p:not(.eyebrow) { margin: 18px 0 22px; font-size: clamp(17px, 1.4vw, 21px); color: rgba(255, 255, 255, .86); }

/* =========================================================
   INHALTSBEREICHE
   ========================================================= */
.section { padding: clamp(96px, 12vw, 160px) 0; }
.section--tint { background: var(--tint); }
#produkte { scroll-snap-align: start; }

.head { max-width: 760px; margin-bottom: 56px; }
.head--center { margin-inline: auto; text-align: center; }
.head h2 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.lead { margin-top: 18px; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.45; color: var(--muted); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1.1s var(--ease); transition-delay: calc(var(--k, 0) * 70ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Produkte ---------- */
.segment { position: relative; display: inline-flex; margin-bottom: 36px; padding: 4px; border-radius: 999px; background: #e8e8ed; }
.segment button { position: relative; z-index: 1; padding: 9px 20px; border: 0; border-radius: 999px; background: none; font-size: 15px; font-weight: 500; color: var(--muted); cursor: pointer; transition: color .25s; }
.segment button[aria-selected="true"] { color: var(--ink); }
.segment__thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .1), 0 3px 10px rgba(0, 0, 0, .05); transition: transform .45s var(--ease), width .45s var(--ease); }

.products { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 16px; }
.products[data-panel="reiniger"] { --cols: 3; }
.products[hidden] { display: none; }
.products__intro { grid-column: 1 / -1; max-width: 760px; margin: -12px 0 12px; font-size: 17px; line-height: 1.5; color: var(--muted); }
.product {
  display: flex;
  flex-direction: column;
  padding: 30px 24px 22px;
  border-radius: 24px;
  background: var(--tint);
  transition: transform .5s var(--ease), box-shadow .5s;
}
.product:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(10, 40, 90, .35); }
.product__drum { width: 54px; height: 72px; margin-bottom: 26px; }
.product__tag { font-size: 13px; font-weight: 600; color: var(--blue); }
.product h3 { margin: 4px 0 10px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.product > p:not(.product__tag) { flex-grow: 1; font-size: 15px; color: var(--muted); }
.product dl { margin: 22px 0 18px; font-size: 13px; }
.product dl div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #e1e1e6; }
.product dt { color: var(--muted); }
.product dd { margin: 0; font-weight: 500; text-align: right; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.product__foot .more { font-size: 15px; }
.chip { padding: 4px 10px; border-radius: 999px; background: #fff; font-size: 12px; color: var(--muted); }

.custom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 16px;
  padding: 36px 40px;
  border-radius: 24px;
  background: linear-gradient(120deg, #0c3a86, #1f6ad6);
  color: #fff;
}
.custom h3 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.custom p { margin-top: 6px; color: rgba(255, 255, 255, .8); max-width: 560px; }
.custom .pill { flex-shrink: 0; background: #fff; color: var(--blue); }
.custom .pill:hover { background: #eef4ff; }

/* ---------- Film: startet als abgerundete Karte und wächst beim Scrollen auf volle Breite ---------- */
.film { --p: 0; position: relative; height: 100vh; min-height: 560px; max-height: 1100px; }
@supports (height: 100svh) { .film { height: 100svh; } }
.film__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0b1d3a;
  clip-path: inset(calc((1 - var(--p)) * min(5vw, 64px)) round calc((1 - var(--p)) * 32px));
}
.film__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(calc(1.08 - var(--p) * .08));
}
.film__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 12, 32, .72), rgba(0, 12, 32, .2) 45%, rgba(0, 12, 32, 0) 70%),
    linear-gradient(to right, rgba(0, 12, 32, .35), rgba(0, 12, 32, 0) 55%);
}
.film__copy { position: absolute; left: max(24px, 7vw); right: 24px; bottom: max(56px, 10vh); max-width: 620px; color: #fff; }
.film__copy .eyebrow { color: #a9d1ff; }
.film__copy h2 { font-size: clamp(42px, 6.4vw, 92px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.film__copy p:not(.eyebrow) { margin-top: 18px; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.45; color: rgba(255, 255, 255, .88); }
.film__toggle {
  position: absolute;
  right: max(24px, 4vw);
  bottom: max(56px, 10vh);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #fff;
  cursor: pointer;
  transition: background .2s;
}
.film__toggle:hover { background: rgba(255, 255, 255, .3); }
.film__toggle svg { width: 18px; height: 18px; fill: currentColor; }
.film__toggle .i-play, .film.is-paused .film__toggle .i-pause { display: none; }
.film.is-paused .film__toggle .i-play { display: block; }

/* ---------- Produktkarten auf der Startseite (verlinken auf die Produktseite) ---------- */
a.product { color: inherit; }
.product__more { margin-top: 18px; font-size: 15px; color: var(--blue); }
.product__more::after { content: "\00a0›"; }
a.product:hover .product__more { text-decoration: underline; }

/* =========================================================
   PRODUKTSEITE
   ========================================================= */
.pdp { padding-top: 52px; }
.pdp__crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 28px; font-size: 13px; color: var(--muted); }
.pdp__crumbs a:hover { color: var(--ink); }
.pdp__hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: 28px; padding-bottom: clamp(72px, 9vw, 120px); }

.gallery__main {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 28px;
  background: radial-gradient(120% 90% at 50% 20%, #fbfbfd, var(--tint) 70%);
}
.gallery__drum { width: 38%; height: 62%; filter: drop-shadow(0 30px 30px rgba(10, 40, 90, .22)); }
.gallery__main::after { content: ""; position: absolute; left: 28%; right: 28%; bottom: 15%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(8, 30, 70, .22), rgba(8, 30, 70, 0)); }
.gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s; }
.gallery.has-images .gallery__img { opacity: 1; }
.gallery.has-images .gallery__main::after, .gallery.has-images .gallery__drum { display: none; }
.gallery__thumbs { display: none; gap: 10px; margin-top: 12px; }
.gallery.has-images .gallery__thumbs { display: flex; }
.gallery__thumbs button { width: 72px; height: 72px; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 14px; background: var(--tint); cursor: pointer; transition: border-color .2s; }
.gallery__thumbs button[hidden] { display: none; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--blue); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pdp__info h1 { font-size: clamp(44px, 5.6vw, 76px); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.pdp__lead { margin-top: 20px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.5; color: var(--muted); }
.pdp__stock { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 15px; font-weight: 500; color: #1d6b35; }
.pdp__stock i { width: 8px; height: 8px; border-radius: 50%; background: #34c759; }
.pdp__label { margin: 28px 0 10px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pdp__sizes li { padding: 9px 16px; border: 1px solid var(--line); border-radius: 12px; font-size: 15px; font-weight: 500; }
.pdp__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 32px; }
.pdp__note { margin-top: 14px; font-size: 13px; color: var(--muted); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 0; }
.facts div { padding: 28px 24px; border-radius: 22px; background: #fff; }
.facts dt { font-size: 13px; font-weight: 600; color: var(--muted); }
.facts dd { margin: 10px 0 0; font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }

.features { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.features ul { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.features li { position: relative; padding: 18px 0 18px 36px; border-top: 1px solid #e5e5ea; font-size: 19px; line-height: 1.4; }
.features li:last-child { border-bottom: 1px solid #e5e5ea; }
.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 21px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pack { display: flex; flex-direction: column; align-items: center; padding: 36px 24px 28px; border-radius: 24px; background: #fff; text-align: center; }
.pack svg { height: 130px; width: 130px; margin-bottom: 22px; filter: drop-shadow(0 18px 18px rgba(10, 40, 90, .16)); }
.pack strong { font-family: var(--display); font-size: 30px; letter-spacing: -.02em; }
.pack span { margin-top: 2px; color: var(--muted); }
.packs__note { margin-top: 20px; font-size: 15px; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }

@media (max-width: 900px) {
  .pdp__hero { grid-template-columns: 1fr; padding-top: 16px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; gap: 24px; }
  .related { grid-template-columns: 1fr; }
}

/* ---------- Zahlen ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 32px; margin: 0; }
.stats dt { font-family: var(--display); font-size: clamp(44px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.stats dd { margin: 10px 0 0; font-size: 17px; color: var(--muted); }

/* ---------- Service ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 0 0 64px; padding: 0; list-style: none; }
.steps span { display: block; margin-bottom: 14px; font-family: var(--display); font-size: 56px; font-weight: 700; line-height: 1; color: #cfdff5; }
.steps h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.steps p { margin-top: 8px; color: var(--muted); }

.services { padding: 40px; border-radius: 24px; background: var(--tint); }
.services h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.services ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; margin: 0; padding: 0; list-style: none; }
.services li { position: relative; padding-left: 28px; color: #424245; }
.services li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.reasons { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 40px 0 0; padding: 0; list-style: none; }
.reasons li { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; }
.reasons li:last-child { border-color: #b7dfc3; background: #f1faf3; color: #1d6b35; }

/* ---------- Kunden & Fallstudien: Laufband von rechts nach links ---------- */
.clients {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.clients__track {
  display: flex;
  gap: 20px;
  width: max-content;
  padding-block: 10px 18px;
  animation: marquee var(--dur, 60s) linear infinite;
}
/* anhalten zum Lesen: Maus drüber oder per Tastatur fokussiert */
.clients:hover .clients__track, .clients:focus-within .clients__track { animation-play-state: paused; }
/* Spur ist doppelt befüllt: um genau eine Hälfte (+ halben Abstand) schieben = nahtlose Schleife */
@keyframes marquee { to { transform: translateX(calc(-50% - 10px)); } }

/* Kundenkarte: Logo, Name, Branche · Ort */
.client {
  display: flex;
  flex-direction: column;
  flex: 0 0 280px;
  padding: 30px 28px 26px;
  border-radius: 24px;
  background: #fff;
  transition: transform .5s var(--ease), box-shadow .5s;
}
.client:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(10, 40, 90, .35); }
.client__logo { display: flex; align-items: center; height: 60px; margin-bottom: 28px; }
.client__logo img { width: auto; max-width: 100%; object-fit: contain; }
/* Logo fehlt: dezenter Tropfen statt eines erfundenen Logos */
.client__logo.is-empty::before {
  content: "";
  width: 22px;
  height: 28px;
  background: #c9d6e6;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0S0 13.7 0 21.3a12 12 0 0 0 24 0C24 13.7 12 0 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 30'%3E%3Cpath d='M12 0S0 13.7 0 21.3a12 12 0 0 0 24 0C24 13.7 12 0 12 0z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.client__name { flex-grow: 1; font-family: var(--display); font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.client__meta { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* ---------- Kontakt: Klick-Funnel über dem Foto von Markus Weber ---------- */
.kontakt { position: relative; display: flex; align-items: center; min-height: max(760px, min(100vh, 940px)); overflow: hidden; background: #eef2f6; }
.kontakt__media { position: absolute; inset: 0; }
.kontakt__bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.26); transform-origin: 0% 32%; }
.kontakt__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .6) 34%, rgba(255, 255, 255, 0) 52%), linear-gradient(270deg, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 30%); }
.kontakt__inner { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; width: 100%; padding: 104px max(24px, 4vw); pointer-events: none; }
.kontakt__inner > * { pointer-events: auto; }

.caller {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  flex: 0 0 auto;
  width: 320px;
  padding: 30px 28px 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  backdrop-filter: saturate(160%) blur(24px);
  box-shadow: 0 30px 80px -30px rgba(10, 30, 70, .4), inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.caller__eyebrow { margin-bottom: 12px; font-size: 15px; font-weight: 600; color: var(--blue); }
.caller__name { font-family: var(--display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.caller__role { margin-top: 4px; font-size: 15px; color: var(--muted); }
.caller__number { margin: 22px 0 16px; font-family: var(--display); font-size: 27px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.caller__number:hover { color: var(--blue); }
.caller__call { gap: 10px; min-height: 52px; font-size: 18px; }
.caller__call svg { width: 18px; height: 18px; fill: currentColor; }
.caller__note { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.caller__mail { margin-top: 4px; font-size: 13px; color: var(--blue); text-align: center; }
.caller__mail:hover { text-decoration: underline; }

/* Kontakt ohne Funnel (FUNNEL = False in tools/seiten.py): Anrufen, E-Mail, Vorlage Wasseranalyse */
.direkt {
  position: relative;
  width: min(570px, 100%);
  padding: 38px 40px 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  backdrop-filter: saturate(160%) blur(24px);
  box-shadow: 0 30px 80px -30px rgba(10, 30, 70, .35), inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.direkt__titel { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.direkt__text { margin-top: 12px; font-size: 17px; line-height: 1.45; color: var(--muted); }
.direkt__wege { display: grid; gap: 10px; margin-top: 26px; }
.weg { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 10px 20px 10px 11px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); transition: background .2s, box-shadow .2s, transform .2s; }
.weg:hover { box-shadow: inset 0 0 0 1px var(--blue); }
.weg:active { transform: scale(.99); }
.weg svg { flex: 0 0 auto; width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: rgba(31, 99, 198, .1); fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.weg > span { display: grid; min-width: 0; }
.weg small { font-size: 13px; color: var(--muted); }
.weg strong { font-family: var(--display); font-size: 19px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.weg::after { content: "›"; margin-left: auto; padding-left: 4px; font-size: 26px; line-height: 1; color: var(--blue); transition: transform .25s var(--ease); }
.weg:hover::after { transform: translateX(3px); }
.weg--mail::after { content: none; }
.weg .weg__kopie { width: 22px; height: 22px; margin-left: auto; padding: 0; border-radius: 0; background: none; }
.weg--mail.is-kopiert { box-shadow: inset 0 0 0 1.5px var(--blue); }
.weg--mail.is-kopiert small { font-weight: 600; color: var(--blue); }
.weg--tel { background: var(--blue); box-shadow: 0 12px 28px -12px rgba(31, 99, 198, .7); color: #fff; }
.weg--tel:hover { background: var(--blue-dark); box-shadow: 0 12px 28px -12px rgba(31, 99, 198, .7); }
.weg--tel small { color: rgba(255, 255, 255, .9); }
.weg--tel svg { background: rgba(255, 255, 255, .16); stroke: #fff; }
.weg--tel::after { color: #fff; }
.direkt__fuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(0, 0, 0, .08); font-size: 13px; color: var(--muted); }
.direkt__fuss b { font-weight: 600; color: var(--ink); }

.funnel {
  position: relative;
  width: min(570px, 100%);
  scroll-margin-top: 64px;
  padding: 34px 40px 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: saturate(160%) blur(24px);
  backdrop-filter: saturate(160%) blur(24px);
  box-shadow: 0 30px 80px -30px rgba(10, 30, 70, .35), inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.funnel__top { display: flex; align-items: center; gap: 14px; height: 18px; margin-bottom: 20px; transition: opacity .3s; }
.funnel[data-type="intro"] .funnel__top, .funnel[data-type="error"] .funnel__top { opacity: 0; }
.funnel__bar { flex: 1; height: 4px; overflow: hidden; border-radius: 4px; background: rgba(0, 67, 128, .1); }
.funnel__bar i { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.funnel__count { min-width: 40px; font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.funnel__stage { display: grid; min-height: 410px; }
.funnel__stage > .q { grid-area: 1 / 1; }

.q { animation: q-in .55s .1s var(--ease) both; }
.q.from-top { animation-name: q-in-top; }
.q.out-up { animation: q-out-up .3s ease-in both; pointer-events: none; }
.q.out-down { animation: q-out-down .3s ease-in both; pointer-events: none; }
@keyframes q-in { from { opacity: 0; transform: translateY(30px); } }
@keyframes q-in-top { from { opacity: 0; transform: translateY(-30px); } }
@keyframes q-out-up { to { opacity: 0; transform: translateY(-30px); } }
@keyframes q-out-down { to { opacity: 0; transform: translateY(30px); } }

.q__hero { font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; }
.q__title { font-size: clamp(24px, 2.3vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; outline: none; }
.q__sub { margin-top: 10px; font-size: 17px; line-height: 1.45; color: var(--muted); }
.q__start { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.q__meta { font-size: 14px; color: var(--muted); }
.q__go { gap: 10px; min-height: 54px; padding: 0 26px; font-size: 18px; font-weight: 600; box-shadow: 0 12px 28px -12px rgba(31, 99, 198, .7); }
.q__go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.q__go:hover svg { transform: translateX(4px); }
.q__meta--hint { display: flex; align-items: center; gap: 8px; font-weight: 500; color: var(--ink); }
.q__meta--hint::before { content: "←"; color: var(--blue); animation: nudge-x 1.6s ease-in-out infinite; }
@keyframes nudge-x { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-4px); } }
/* schmal: Hinweis steht unter dem Knopf, der Pfeil zeigt nach oben auf ihn */
@media (max-width: 600px) {
  .q__start { flex-direction: column; align-items: flex-start; gap: 12px; }
  .q__meta--hint { padding-left: 22px; }
  .q__meta--hint::before { content: "↑"; animation-name: nudge-y; }
}
@keyframes nudge-y { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.q__options { display: grid; gap: 9px; margin-top: 22px; }
.opt {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(0, 67, 128, .2);
  border-radius: 14px;
  background: rgba(255, 255, 255, .72);
  font: inherit;
  font-size: 17px;
  line-height: 1.3;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  transition: border-color .2s, background .2s, box-shadow .2s, transform .15s;
}
.opt:hover { border-color: var(--blue); background: #fff; }
.opt:active { transform: scale(.99); }
.opt kbd { display: grid; place-items: center; flex: 0 0 26px; height: 26px; border: 1px solid rgba(0, 67, 128, .28); border-radius: 7px; background: #fff; font: 600 12px var(--font); color: var(--blue); transition: background .2s, color .2s; }
.opt[aria-checked="true"] { border-color: var(--blue); background: #eaf2fd; box-shadow: inset 0 0 0 1px var(--blue); }
.opt[aria-checked="true"] kbd { border-color: var(--blue); background: var(--blue); color: #fff; }
.opt[aria-checked="true"]::after { content: ""; flex: 0 0 18px; height: 18px; margin-left: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.6' fill='none' stroke='%231f63c6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }

.drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  padding: 30px 20px;
  border: 1.5px dashed rgba(0, 67, 128, .35);
  border-radius: 18px;
  background: rgba(255, 255, 255, .6);
  text-align: center;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.drop:hover, .drop.is-over { border-color: var(--blue); background: #fff; }
.drop__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 4px; border-radius: 50%; background: #eaf2fd; font-weight: 700; color: var(--blue); }
.drop__text { font-weight: 600; word-break: break-word; }
.drop__meta { font-size: 13px; color: var(--muted); }
#funnel-file { position: absolute; width: 1px; height: 1px; opacity: 0; }
.linkish { margin-top: 14px; padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--blue); cursor: pointer; }
.linkish:hover { text-decoration: underline; }

.field {
  width: 100%;
  min-height: 50px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 17px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 99, 198, .15); }
textarea.field { margin-top: 20px; resize: vertical; }
textarea.field--small { margin-top: 12px; }
.q__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.f { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--blue); }
.check a { color: var(--blue); }
.check.is-disabled { opacity: .45; cursor: default; }
.is-invalid { animation: shake .4s; }
.field.is-invalid { border-color: #d70015; box-shadow: 0 0 0 4px rgba(215, 0, 21, .12); }
.check.is-invalid { color: #d70015; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.q__summary { display: grid; margin: 16px 0 0; }
.q__summary div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(0, 0, 0, .07); font-size: 15px; }
.q__summary dt { color: var(--muted); }
.q__summary dd { margin: 0; font-weight: 500; word-break: break-word; }
.q__alt { margin-top: 16px; font-size: 14px; color: var(--muted); }
.q__alt a { color: var(--blue); }
.q__preview { margin-top: 18px; padding: 10px 14px; border-radius: 12px; background: #fff8e1; font-size: 13px; color: #6b5300; }
.q__check { width: 58px; height: 58px; margin-bottom: 20px; border-radius: 50%; background: #34c759 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.8 2.8 6.2-6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat; animation: pop .6s .15s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.4); } }

.funnel__nav { display: flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 22px; }
.funnel__back { padding: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--muted); cursor: pointer; }
.funnel__back::before { content: "‹ "; }
.funnel__back:hover { color: var(--ink); }
.funnel__hint { margin-left: auto; font-size: 13px; color: var(--muted); }
.funnel__hint kbd { padding: 2px 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; font: 600 12px var(--font); }
.funnel__hint[hidden] + .funnel__next { margin-left: auto; }
.funnel__next:disabled { opacity: .6; cursor: progress; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- Karriere (karriere.html) ---------- */
.film--hero { height: 100vh; min-height: 620px; max-height: none; }
@supports (height: 100svh) { .film--hero { height: 100svh; } }
.film--hero .film__copy { max-width: 860px; }
.film--hero .film__scrim { background: linear-gradient(to top, rgba(0, 12, 32, .78), rgba(0, 12, 32, .3) 55%, rgba(0, 12, 32, .12)), linear-gradient(to right, rgba(0, 12, 32, .45), rgba(0, 12, 32, 0) 65%); }
.film__copy h1 { font-size: clamp(40px, 5.4vw, 80px); font-weight: 700; letter-spacing: -.04em; line-height: 1.03; }
.film__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.pill--white { background: #fff; color: var(--ink); }
.pill--white:hover { background: #eef2f7; }
.nav__links a[aria-current="page"] { font-weight: 600; opacity: 1; }

.mission { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: start; }
.mission .head { margin-bottom: 0; }
.mission__text p { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: #424245; }
.mission__text p + p { margin-top: 18px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.benefits li { padding: 30px 28px; border-radius: 24px; background: var(--tint); }
.benefits h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.benefits p { margin-top: 10px; color: var(--muted); }

.jobs { display: grid; gap: 10px; margin-bottom: 16px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 28px; border-radius: 18px; background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.job:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -18px rgba(10, 40, 90, .35); }
.job strong { display: block; font-size: 19px; font-weight: 600; }
.job small { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }

/* ---------- Footer (blau, wie das Teambild) ---------- */
.footer {
  padding: 80px 0 32px;
  background: linear-gradient(160deg, #0b3477 0%, #134aa6 55%, #1b5fc8 100%);
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
}
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.1fr; gap: 48px; }
.footer__logo { display: inline-block; color: #fff; }
.footer__logo svg { display: block; width: 190px; height: 42px; }
.footer__about p { max-width: 320px; margin: 20px 0 24px; line-height: 1.55; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__col h3 { margin-bottom: 6px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.footer__col address { margin-bottom: 4px; font-style: normal; line-height: 1.6; }
.footer a:not(.pill) { color: rgba(255, 255, 255, .78); transition: color .2s; }
.footer a:not(.pill):hover { color: #fff; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: 13px; }
.footer__bottom nav { display: flex; gap: 24px; }

/* ---------- Impressum & Datenschutz ---------- */
.legal { padding: 52px 0 0; }
.legal__body { max-width: 780px; padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(80px, 10vw, 128px); }
.legal h1 { margin-bottom: 28px; font-size: clamp(40px, 5vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; }
.legal h2 { margin: 48px 0 12px; font-size: 22px; font-weight: 700; letter-spacing: -.015em; }
.legal p { font-size: 17px; line-height: 1.6; color: #424245; }
.legal p + p { margin-top: 12px; }
.legal a { color: var(--blue); }
.legal a:hover { text-decoration: underline; }
.legal__facts { display: grid; margin: 24px 0 0; }
.legal__facts div { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid #e5e5ea; font-size: 17px; }
.legal__facts div:last-child { border-bottom: 1px solid #e5e5ea; }
.legal__facts dt { color: var(--muted); }
.legal__facts dd { margin: 0; }
.legal__note { margin: 16px 0; padding: 14px 18px; border-radius: 14px; background: #fff8e1; color: #6b5300 !important; font-size: 15px !important; }
.legal__stand { margin-top: 48px !important; font-size: 14px !important; color: var(--muted) !important; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .print--reise { --k: 3; }
  .products { --cols: 2; }
  .products[data-panel="reiniger"] { --cols: 2; }
}

@media (max-width: 900px) {
  /* Mobil, Hero: das Fass nimmt genau den Platz unter dem Text ein */
  .stage { --ry: 9vh; --rw: clamp(96px, calc((91vh - 445px) * .75), 210px); --pk: 2.85; --gap: 16px; }
  /* Mobil, Kapitel: von oben gestapelt – Foto (ab 80px), Fass, Text. Fass bewusst klein, Foto groß (pk = 4);
     --ry = Höhe − 80 − Fotohöhe (pw × .75 + 38) − Abstand 12 − Wasserlinie (rw × 1.1792) */
  .stage:not([data-step="0"]) { --rx: 50%; --rw: 9vh; --pk: 4; --gap: 12px; --ry: calc(62.4vh - 130px); }
  @supports (height: 100svh) {
    .stage { --ry: 9svh; --rw: clamp(96px, calc((91svh - 445px) * .75), 210px); }
    .stage:not([data-step="0"]) { --rw: 9svh; --ry: calc(62.4svh - 130px); }
  }

  .hero { padding-top: max(76px, 10vh); }
  .hero__lead { margin: 16px auto 24px; font-size: 16px; }
  .hero__actions { flex-direction: column; gap: 14px; }
  .cue { white-space: nowrap; }

  .copy { left: 24px; right: 24px; top: calc(37.6vh + 148px); width: auto; transform: none; }
  @supports (height: 100svh) { .copy { top: calc(37.6svh + 148px); } }
  .copy__item { align-self: start; }
  .copy h2 { font-size: clamp(28px, 7.4vw, 40px); }
  .copy p:not(.eyebrow) { margin-top: 10px; font-size: 16px; line-height: 1.45; }
  .copy .eyebrow { margin-bottom: 6px; font-size: 14px; }
  /* Abkürzung: unten am Bildschirmrand, dort ist unter dem Text immer Platz (zweite Rasterzeile füllt den Rest) */
  .copy { bottom: calc(12px + env(safe-area-inset-bottom)); grid-template-rows: auto 1fr; }
  .skip { align-self: end; justify-content: center; margin-top: 28px; }   /* nie enger als 28px am Text */

  .years span { top: 24%; font-size: 40vw; }

  .timeline { left: 24px; right: 24px; top: 64px; bottom: auto; gap: 4px; }
  .timeline button { flex: 1; width: auto; padding: 6px 0; }
  .timeline span { display: none; }

  .team__copy { right: 24px; bottom: 7vh; }
  .film__toggle { top: 68px; bottom: auto; right: 16px; }

  .kontakt { display: block; min-height: 0; background: #fff; }
  .kontakt__media { position: relative; height: 56vh; min-height: 380px; }
  .kontakt__bg { object-position: 62% 25%; }
  .kontakt__shade { background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 55%, #fff 100%); }
  .kontakt__bg { transform: none; }
  .kontakt__inner { flex-direction: column; align-items: stretch; gap: 12px; margin-top: -96px; padding: 0 12px 72px; }
  .caller { order: -1; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; width: auto; padding: 16px 16px 16px 20px; border-radius: 22px; }
  .caller__eyebrow, .caller__note, .caller__mail, .caller__number { display: none; }
  .caller__name { font-size: 19px; }
  .caller__role { grid-column: 1; margin-top: 0; font-size: 13px; }
  .caller__call { grid-column: 2; grid-row: 1 / 3; min-height: 44px; padding: 0 18px; font-size: 16px; }
  .funnel { padding: 26px 22px 20px; background: rgba(255, 255, 255, .94); }
  .funnel__stage { min-height: 0; }
  .direkt { padding: 28px 20px 18px; background: rgba(255, 255, 255, .94); }
  /* Handy: Reihe über (fast) die ganze Breite, Fotos quadratisch und damit höher */
  .print--reise { --k: 6; gap: 3px; }
  .reise__karte { padding: 4px 4px 0; }
  .reise__karte .ph { aspect-ratio: 1; }
  .reise__ort { padding: 5px 1px 6px; font-size: 10px; }
  .reise__pfeil { width: 14px; height: 14px; margin-bottom: 20px; }
  .weg { gap: 12px; padding-right: 16px; }
  .weg strong { font-size: 17px; white-space: normal; overflow: visible; }  /* schmale Handys: lieber umbrechen als abschneiden, */
  .weg__ganz { white-space: nowrap; }                                        /* Mailadresse nur nach dem @, Nummer nur am Leerzeichen */
  @media (max-width: 400px) { .weg::after, .weg .weg__kopie { display: none; } }
  @media (max-width: 380px) { .print figcaption { padding: 8px 2px 10px; font-size: 10.5px; } }   /* kleine Handys: Bildunterschrift passt ganz */
  .q__grid { grid-template-columns: 1fr; }
  .q__summary div { grid-template-columns: 105px 1fr; }

  .nav__links, .nav__cta { display: none; }
  .nav__burger {
    display: grid;
    gap: 6px;
    margin-left: auto;
    padding: 10px 4px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav__burger span { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
  .nav.is-open .nav__burger span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav.is-open .nav__burger span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav.is-open { background: #fff; color: var(--ink); border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: none; }
  .nav.is-open .brand { color: #004380; transition: none; }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 52px 0 0;
    margin: 0;
    gap: 0;
    padding: 8px 28px calc(20px + env(safe-area-inset-bottom));
    overflow-y: auto;
    background: #fff;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -.02em;
    animation: menu-auf .3s ease both;
  }
  .nav.is-open .nav__links a { padding: 12px 0; border-bottom: 1px solid rgba(0, 0, 0, .07); opacity: 1; animation: menu-link .45s var(--ease) both; }
  .nav.is-open .nav__links a[aria-current] { color: var(--blue); }
  .nav.is-open .nav__links a:nth-child(2) { animation-delay: 30ms; }
  .nav.is-open .nav__links a:nth-child(3) { animation-delay: 60ms; }
  .nav.is-open .nav__links a:nth-child(4) { animation-delay: 90ms; }
  .nav.is-open .nav__links a:nth-child(5) { animation-delay: 120ms; }
  .nav.is-open .nav__links a:nth-child(6) { animation-delay: 150ms; }
  .nav.is-open .nav__links a:nth-child(7) { animation-delay: 180ms; }
  .nav.is-open .nav__links .nav__mcta, .nav.is-open .nav__links .nav__mtel { border: 0; animation-delay: 220ms; }
  .nav.is-open .nav__links .nav__mcta { display: flex; justify-content: center; margin-top: auto; padding: 15px 20px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 17px; letter-spacing: 0; }
  .nav.is-open .nav__links .nav__mtel { display: block; padding: 14px 0 0; font-size: 15px; font-weight: 500; letter-spacing: 0; color: var(--muted); text-align: center; }
  @keyframes menu-auf { from { opacity: 0; } }
  @keyframes menu-link { from { opacity: 0; transform: translateY(10px); } }

  .stats { grid-template-columns: 1fr 1fr; gap: 44px 20px; }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .services { padding: 30px 24px; }
  .services ul { grid-template-columns: 1fr; }
  .mission { grid-template-columns: 1fr; gap: 24px; }
  .benefits { grid-template-columns: 1fr; }
  .job { padding: 20px 22px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .footer__about { grid-column: 1 / -1; }
  .legal__facts div { grid-template-columns: 1fr; gap: 2px; }
  .custom { flex-direction: column; align-items: flex-start; padding: 30px 26px; }
}

@media (max-width: 900px) and (max-height: 650px) {   /* sehr kleine Handys (z. B. iPhone SE mit Safari-Leiste): kein Platz unter dem Text */
  .skip { display: none; }
}
@media (max-width: 900px) and (max-height: 760px) {
  /* kürzere Handy-Bildschirme (iPhone mit Safari-Leiste): Foto etwas kleiner (pk 3.6), Text etwas kompakter,
     damit auch das längste Kapitel samt Knopf passt. --ry wie oben: Höhe − 130 − Fass × (0.75 × pk + 1.1792) */
  .stage:not([data-step="0"]) { --pk: 3.6; --ry: calc(65.1vh - 130px); }
  .copy { top: calc(34.9vh + 140px); bottom: calc(10px + env(safe-area-inset-bottom)); }
  .copy p:not(.eyebrow) { font-size: 14.5px; line-height: 1.42; }
  .skip { margin-top: 22px; }
  @supports (height: 100svh) {
    .stage:not([data-step="0"]) { --ry: calc(65.1svh - 130px); }
    .copy { top: calc(34.9svh + 140px); }
  }
}
@media (max-width: 900px) and (max-height: 720px) {
  .copy h2 { font-size: 25px; }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 600px) {
  .skip .more { display: none; }   /* Handy: nur der Knopf, sonst bricht die Zeile um */
  .products, .products[data-panel="reiniger"] { --cols: 1; }
  .client { flex-basis: 240px; padding: 24px 22px 22px; }
  .client__logo { height: 54px; margin-bottom: 22px; }
  .clients__track { gap: 14px; }
  @keyframes marquee { to { transform: translateX(calc(-50% - 7px)); } }
  .hero__actions { gap: 20px; }
}

/* Weniger Bewegung gewünscht: alles erscheint ruhig an seinem Platz */
/* Hochformat (Handy, Tablet hochkant): Teamfoto ganz und quer zeigen statt bildschirmfüllend zugeschnitten,
   der Text steht darunter auf Dunkelblau. So sind alle Personen zu sehen und das Foto bleibt scharf. */
@media (max-aspect-ratio: 1 / 1) {
  .team { display: flex; flex-direction: column; gap: 28px; padding: 76px 0 calc(24px + env(safe-area-inset-bottom)); background: #0b2350; }
  .team .ph { position: relative; inset: auto; flex: 0 0 auto; width: 100%; aspect-ratio: 2400 / 1534; margin-top: auto; background: #0b2350; }
  .team__scrim { display: none; }
  .team__copy { position: relative; left: auto; right: auto; bottom: auto; max-width: none; margin-bottom: auto; padding: 0 24px; }
}
@media (max-aspect-ratio: 1 / 1) and (max-height: 620px) {   /* sehr kleine Handys: alles passt noch ins Bild */
  .team { gap: 16px; padding-top: 64px; }
  .team__copy h2 { font-size: 40px; }
  .team__copy p:not(.eyebrow) { margin: 10px 0 12px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .clients { overflow-x: auto; }
  .clients__track { animation: none !important; }
  .clients__track > [aria-hidden="true"] { display: none; }
  .rig__flip { transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}

/* ==========================================================================
   Unterseiten: Übersichten (Produkte, Wissen, Fallstudien), Artikel, Service, Kontakt, 404
   ========================================================================== */
.page { padding-top: 52px; }
.nav__links a[aria-current="true"] { opacity: 1; }
.footer__col h3 a { color: inherit; }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }
.section__more { margin-top: 28px; }
.products__intro .more { display: inline-block; margin-left: 4px; font-size: 17px; }
.products__intro .more::after, .section__more .more::after { content: "\00a0›"; }

/* Kopf einer Übersicht */
.hub { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.hub h1 { max-width: 920px; margin-top: 10px; font-size: clamp(40px, 5.6vw, 68px); font-weight: 700; letter-spacing: -.04em; line-height: 1.04; }
.hub__intro { max-width: 720px; margin-top: 22px; }
.hub__intro p { font-size: clamp(19px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); }
.hub__intro p + p { margin-top: 12px; }
.hub__links { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.hub--404 { padding-top: clamp(72px, 10vw, 140px); }

/* Karten für Artikel und Fallstudien */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cards--1 { grid-template-columns: minmax(0, min(420px, 100%)); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; padding: 28px 26px 24px; border-radius: 24px; background: #fff; transition: transform .5s var(--ease), box-shadow .5s; }
.section:not(.section--tint) .card { background: var(--tint); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(10, 40, 90, .35); }
.card__meta { font-size: 13px; font-weight: 600; color: var(--blue); }
.card h2, .card h3 { margin: 8px 0 10px; font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.card > p:not(.card__meta) { flex-grow: 1; font-size: 15px; line-height: 1.5; color: var(--muted); }
.card__img { display: block; margin: -10px -8px 18px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: #fff; }
.card__img img { width: 100%; height: 100%; object-fit: contain; }

/* Produktkarten mit h2 (Übersichten) und Varianten der Reihe */
.product h2 { margin: 4px 0 10px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.related--1 { grid-template-columns: minmax(0, min(360px, 100%)); }
.related--2 { grid-template-columns: repeat(2, minmax(0, min(360px, calc(50% - 8px)))); }
.related--4 { grid-template-columns: repeat(4, 1fr); }
.custom h2 { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.pdp__h1zusatz { display: block; margin-top: 14px; font-size: clamp(19px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--muted); }

/* Artikel und Fallstudien */
.article { padding: clamp(32px, 5vw, 56px) 24px clamp(64px, 8vw, 96px); }
.article__head, .prose, .article__foot { max-width: 720px; margin-inline: auto; }
.article__head h1 { margin-top: 10px; font-size: clamp(36px, 4.6vw, 56px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.article__lead { margin-top: 20px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; color: var(--muted); }
.article__meta { margin-top: 22px; padding-bottom: 28px; border-bottom: 1px solid #e5e5ea; font-size: 14px; color: var(--muted); }
.prose { margin-top: 36px; font-size: 19px; line-height: 1.65; color: #333336; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { margin-top: 2em; font-size: clamp(25px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); }
.prose h3 { margin-top: 1.6em; font-size: 21px; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--blue); }
.prose a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose img { max-width: 100%; height: auto; }
.prose figure { margin: 2em 0; }
.prose figure img { width: 100%; border-radius: 18px; background: var(--tint); }
.prose figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.45; }
.prose th, .prose td { padding: 12px 10px; border-bottom: 1px solid #e5e5ea; text-align: left; vertical-align: top; }
.prose th { font-weight: 600; color: var(--ink); border-bottom-color: var(--line); }
.prose .intro { font-size: 21px; color: var(--ink); }
.prose .note { padding: 18px 22px; border-radius: 16px; background: #eef4ff; font-size: 16px; }
.prose--faq { margin-top: 56px; }
.article__foot { margin-top: 48px; padding-top: 24px; border-top: 1px solid #e5e5ea; }
.article__author { font-size: 15px; line-height: 1.5; color: var(--muted); }
.article__author strong { color: var(--ink); }

/* Häufige Fragen (aufklappbar) */
.faq { max-width: 820px; margin-top: clamp(64px, 8vw, 96px); }
.prose .faq { margin-top: 0; }
.faq__title { margin: 6px 0 20px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; color: var(--ink); }
.prose .faq__title { font-size: 28px; }
.faq__item { border-top: 1px solid #e5e5ea; }
.faq__item:last-child { border-bottom: 1px solid #e5e5ea; }
.prose .faq__item, .prose .faq__item + .faq__item { margin-top: 0; }
.faq__item summary { position: relative; padding: 20px 44px 20px 0; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--ink); cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq__item p { max-width: 720px; margin: 0 0 22px; font-size: 17px; line-height: 1.6; color: var(--muted); }

/* Service */
.service__text p { font-size: 19px; line-height: 1.6; color: #424245; }
.service__text p + p { margin-top: 14px; }
.segments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.segments > div { padding: 30px 28px; border-radius: 24px; background: var(--tint); }
.segments h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; }
.segments p { margin-top: 10px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.download { margin-top: 18px; font-size: 15px; }
.download a { color: var(--blue); }
.download a::before { content: "↓\00a0"; }

/* Kontaktseite */
.hub--kontakt { padding-bottom: 40px; }
.adresse { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; }
.adresse h2 { margin: 6px 0 18px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
.adresse address { font-style: normal; font-size: 19px; line-height: 1.6; }
.adresse p { margin-top: 14px; }
.adresse dl { margin: 0; }
.adresse dl div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid #e5e5ea; font-size: 17px; }
.adresse dl div:last-child { border-bottom: 1px solid #e5e5ea; }
.adresse dt { color: var(--muted); }
.adresse dd { margin: 0; }
.adresse a { color: var(--blue); }

@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
}
@media (max-width: 900px) {
  .cards, .segments { grid-template-columns: repeat(2, 1fr); }
  .related--4 { grid-template-columns: repeat(2, 1fr); }
  .adresse { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .cards, .cards--2, .segments, .related--2 { grid-template-columns: 1fr; }
  .article { padding-inline: 20px; }
  .prose { font-size: 18px; }
  .prose table { display: block; overflow-x: auto; }
  .adresse dl div { grid-template-columns: 1fr; gap: 2px; }
  .faq__item summary { font-size: 17px; }
}

/* Prüfung 10/2026: nichts darf auf dem Handy seitlich überlaufen */
.prose, .card, .product, .facts dd, .adresse dd { overflow-wrap: anywhere; }
/* Überschriften: keine Silbentrennung (kein „Inspi-ration“), Zeilen ausgewogen; nur ein Wort, das gar nicht passt, darf umbrechen */
h1, h2, h3 { -webkit-hyphens: manual; hyphens: manual; }
h1, .head h2, .copy h2, .team__copy h2, .direkt__titel, .hub h1 { text-wrap: balance; }   /* nur große Überschriften, nicht in Karten (Safari: zu breite Karten) */
.cards > *, .related > *, .products > * { min-width: 0; }
.hub h1, .article__head h1, .pdp__info h1, .head h2 { overflow-wrap: break-word; }
.page .section--tint .product, .pdp .section--tint .product { background: #fff; }
.related--abstand { margin-bottom: clamp(56px, 7vw, 88px); }
.prose .faq__title { margin-top: 6px; }
.section__more + .custom { margin-top: 48px; }
.footer__col a[href^="mailto:"] { white-space: nowrap; }
@media (max-width: 900px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .related--4 { grid-template-columns: 1fr; }
}
