/* VQ Fahrzeugsystem — Entwurf 2: dunkler Stahl, 3D, Bewegung */

@font-face {
  font-family: "Michroma";
  src: url("../fonts/michroma-latin-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-variable.woff2") format("woff2-variations"),
       url("../fonts/archivo-latin-variable.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap;
}

:root {
  --bg: #0A0D10;
  --bg-raised: #0F1419;
  --panel: #151B21;
  --panel-2: #1B232A;
  --line: rgb(255 255 255 / .09);
  --line-strong: rgb(255 255 255 / .18);
  --text: #E9EDF0;
  --muted: #9AA5AE;
  --steel-hi: #FFFFFF;
  --steel-mid: #C9D1D7;
  --steel-lo: #7D8992;
  --steel: linear-gradient(180deg, var(--steel-hi) 0%, var(--steel-mid) 48%, var(--steel-lo) 100%);
  --error: #FF8A80;
  --focus: #8DB8FF;

  --display: "Michroma", "Archivo", Arial, sans-serif;
  --body: "Archivo", Arial, sans-serif;
  --fs-sm: .875rem;
  --fs-base: clamp(1rem, .96rem + .2vw, 1.125rem);
  --fs-lg: clamp(1.08rem, 1rem + .4vw, 1.28rem);
  --fs-h3: clamp(1.15rem, 1rem + .6vw, 1.5rem);
  --fs-h2: clamp(1.6rem, 1.1rem + 2.3vw, 3rem);
  --fs-display: clamp(1.9rem, 1.1rem + 3.4vw, 3.9rem);

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem; --s7: 3rem; --s8: 4rem; --s9: 6rem;
  --section: clamp(5rem, 3.5rem + 6vw, 9.5rem);
  --gutter: clamp(1rem, .5rem + 2.2vw, 2.75rem);
  --max: 78rem;
  --r-sm: 4px; --r-md: 10px; --r-lg: 18px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --header-h: 4.5rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--body); font-size: var(--fs-base); line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul, address, fieldset, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: #C9D1D7; color: #0A0D10; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: var(--s4); top: -5rem; z-index: 200; background: var(--text); color: var(--bg); padding: var(--s3) var(--s4); border-radius: var(--r-md); }
.skip-link:focus { top: var(--s4); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* Lichtschein folgt dem Mauszeiger */
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 46rem; height: 46rem; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgb(160 190 220 / .07), transparent 70%);
  transform: translate3d(-50%, -50%, 0); opacity: 0; transition: opacity .6s var(--ease);
}
.motion .cursor-glow.is-on { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* Typo */
.display, .h2, .svc__title, .card__title, .step__title, .form__title {
  font-family: var(--display); font-weight: 400; letter-spacing: -.01em;
}
.display { font-size: var(--fs-display); line-height: 1.08; text-wrap: balance; }
.h2 { font-size: var(--fs-h2); line-height: 1.14; text-wrap: balance; }
.steel-text, .display, .h2 {
  background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.split-line { display: block; overflow: hidden; padding-bottom: .2em; margin-bottom: -.2em; }
.is-split { background: none !important; color: inherit !important; }
.split-line > span { display: inline-block; will-change: transform; padding-bottom: .16em; margin-bottom: -.16em; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 3.1rem; padding: .8rem 1.5rem; border-radius: var(--r-md);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.btn--sm { min-height: 2.75rem; padding: .55rem 1.1rem; font-size: .95rem; }
.btn--steel { background: linear-gradient(180deg, #FFFFFF, #C7CFD5); color: #0A0D10; box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 10px 30px -10px rgb(200 215 230 / .35); }
.btn--steel::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgb(255 255 255 / .9) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn--steel:hover::after { transform: translateX(120%); }
.btn--line { border-color: var(--line-strong); color: var(--text); background: rgb(255 255 255 / .02); }
.btn--line:hover { border-color: var(--steel-mid); background: rgb(255 255 255 / .05); }
.btn:active { transform: translateY(1px) scale(.99); }

/* Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Hintergrund + Blur auf eigener Ebene: backdrop-filter am Header selbst wuerde das fixe Mobilmenue auf Header-Hoehe einsperren */
.header::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none; opacity: 0; background: rgb(10 13 16 / .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); transition: opacity .35s var(--ease); }
.header.is-scrolled::before { opacity: 1; }
.header.is-scrolled { border-bottom-color: var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: var(--s6); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: var(--s3); text-decoration: none; margin-right: auto; }
.brand__mark { width: 4.2rem; height: 1.8rem; fill: var(--steel-hi); }
.brand__word { display: grid; font-family: var(--display); font-size: .62rem; letter-spacing: .14em; line-height: 1.35; padding-left: var(--s3); border-left: 1px solid var(--line-strong); text-transform: uppercase; color: var(--steel-mid); }
.brand__legal { color: var(--muted); }
.nav__list { display: flex; gap: var(--s5); }
.nav__list a { position: relative; text-decoration: none; font-weight: 550; font-size: .97rem; color: var(--muted); padding-block: var(--s2); transition: color .2s var(--ease); }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav__list a:hover, .nav__list a.is-active { color: var(--text); }
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: var(--s4); }
.header__phone { display: inline-flex; align-items: center; gap: var(--s2); text-decoration: none; font-weight: 600; white-space: nowrap; color: var(--steel-mid); }
.nav-toggle { display: none; }
@media (max-width: 74.99em) { .header__phone { display: none; } }
@media (max-width: 59.99em) {
  .header__cta { display: none; }
  .nav-toggle { display: inline-grid; place-items: center; width: 2.9rem; height: 2.9rem; background: rgb(255 255 255 / .04); border: 1px solid var(--line-strong); border-radius: var(--r-md); cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 1.15rem; height: 1.5px; background: var(--text); position: relative; transition: transform .3s var(--ease), background-color .3s var(--ease); }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: -1; background: rgb(10 13 16 / .97); backdrop-filter: blur(10px); padding: calc(var(--header-h) + var(--s6)) var(--gutter) var(--s6); visibility: hidden; opacity: 0; transition: opacity .35s var(--ease), visibility .35s; }
  .nav.is-open { visibility: visible; opacity: 1; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: var(--s4) 0; font-family: var(--display); font-size: 1.35rem; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav.is-open .nav__list li { animation: navIn .5s var(--ease) both; }
  .nav.is-open .nav__list li:nth-child(2) { animation-delay: .05s; }
  .nav.is-open .nav__list li:nth-child(3) { animation-delay: .1s; }
  .nav.is-open .nav__list li:nth-child(4) { animation-delay: .15s; }
  .nav.is-open .nav__list li:nth-child(5) { animation-delay: .2s; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-rows: auto auto auto; align-content: center;
  min-height: 100svh; padding-top: calc(var(--header-h) + var(--s6)); padding-bottom: var(--s7);
  background:
    radial-gradient(60rem 30rem at 72% 58%, rgb(120 145 170 / .16), transparent 70%),
    linear-gradient(180deg, #0A0D10 0%, #0D1216 60%, #0A0D10 100%);
}
.hero::before { /* feines technisches Raster */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  mask-image: radial-gradient(70% 60% at 70% 55%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 70% 55%, #000 0%, transparent 75%);
}
.hero__stage { position: relative; grid-row: 2; height: min(78vw, 30rem); margin-inline: calc(-1 * var(--gutter) + var(--gutter)); touch-action: pan-y; cursor: grab; }
.hero__stage:active { cursor: grabbing; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__content { grid-row: 1; position: relative; z-index: 2; display: grid; gap: var(--s5); justify-items: start; pointer-events: none; }
.hero__content > * { pointer-events: auto; }
.hero__kicker { font-size: var(--fs-sm); font-weight: 600; letter-spacing: .02em; color: var(--muted); display: inline-flex; align-items: center; gap: var(--s3); }
.hero__kicker::before { content: ""; width: 2rem; height: 1px; background: var(--steel-mid); }
.hero__lead { font-size: var(--fs-lg); color: var(--muted); max-width: 34rem; line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s3); }
.hero__modules { grid-row: 3; position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s4); }
.hero__modules-label { font-size: var(--fs-sm); color: var(--muted); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); }
.chip {
  display: inline-flex; align-items: center; gap: var(--s2); min-height: 2.6rem; padding: .4rem .95rem .4rem .75rem;
  border-radius: 999px; border: 1px solid var(--line-strong); background: rgb(255 255 255 / .03);
  font-weight: 600; font-size: .9rem; color: var(--muted); cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.chip::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; border: 1px solid currentColor; transition: background-color .25s var(--ease), box-shadow .25s var(--ease); }
.chip[aria-pressed="true"] { color: var(--text); border-color: rgb(255 255 255 / .35); background: rgb(255 255 255 / .07); }
.chip[aria-pressed="true"]::before { background: var(--steel-hi); border-color: var(--steel-hi); box-shadow: 0 0 10px rgb(255 255 255 / .6); }
.chip:hover { border-color: var(--steel-mid); }
.hero__hint { position: absolute; right: var(--gutter); bottom: var(--s2); display: inline-flex; gap: var(--s2); align-items: center; font-size: .8rem; color: var(--muted); pointer-events: none; }

@media (min-width: 64em) {
  .hero { grid-template-rows: 1fr auto; grid-template-columns: 1fr; padding-bottom: var(--s6); }
  .hero__stage { position: absolute; inset: 0; height: auto; margin: 0; z-index: 1; grid-row: auto; grid-column: auto; }
  .hero__content { grid-row: 1; align-self: center; padding-block: var(--s6); }
  .hero__content > * { max-width: 34rem; }
  .hero__modules { grid-row: 2; }
  .hero__hint { bottom: var(--s6); }
}

/* Hotspots */
.hotspots { position: absolute; inset: 0; pointer-events: none; }
.hotspot {
  position: absolute; left: 0; top: 0; pointer-events: auto; text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--s2);
  transform: translate3d(var(--x, -999px), var(--y, -999px), 0); opacity: 0; transition: opacity .4s var(--ease);
}
.hotspot.is-visible { opacity: 1; }
.hotspot__dot { position: relative; width: 1.6rem; height: 1.6rem; margin: -.8rem 0 0 -.8rem; border-radius: 50%; background: rgb(10 13 16 / .65); border: 1px solid rgb(255 255 255 / .8); display: grid; place-items: center; }
.hotspot__dot::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: #fff; }
.hotspot__dot::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid #fff; animation: ping 2.4s var(--ease) infinite; }
.hotspot__label {
  margin-top: -.8rem; font-size: .8rem; font-weight: 650; white-space: nowrap;
  padding: .3rem .6rem; border-radius: var(--r-sm); background: rgb(10 13 16 / .8); border: 1px solid var(--line-strong);
  opacity: 0; transform: translateX(-6px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.hotspot:hover .hotspot__label, .hotspot:focus-visible .hotspot__label { opacity: 1; transform: none; }
@media (hover: none) { .hotspot__label { display: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(2.2); opacity: 0; } }

/* Laufband */
.marquee { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(1rem, .6rem + 1.5vw, 1.8rem); background: var(--bg); }
.marquee__track { display: flex; width: max-content; align-items: center; gap: clamp(1.5rem, 1rem + 2vw, 3rem); will-change: transform; }
.marquee span { font-family: var(--display); font-size: clamp(1.4rem, .9rem + 2.4vw, 3.2rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgb(201 209 215 / .55); }
.marquee span:nth-of-type(3n+2) { color: var(--steel-mid); -webkit-text-stroke: 0; background: var(--steel); -webkit-background-clip: text; background-clip: text; color: transparent; }
.marquee i { width: .6rem; height: .6rem; background: var(--steel-lo); transform: rotate(45deg); flex: none; }

/* Sektionen */
.section { position: relative; padding-block: var(--section); }
.section--raised { background: var(--bg-raised); }
.section__head { display: grid; gap: var(--s5); margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); max-width: 50rem; }
.section__intro { color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; max-width: 56ch; }

/* Leistungen: große Zeilen mit Lichtkegel */
.services { border-top: 1px solid var(--line); }
.svc {
  position: relative; display: grid; gap: var(--s4); padding-block: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line); isolation: isolate;
}
.svc::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(28rem 12rem at var(--mx, 50%) var(--my, 50%), rgb(170 195 220 / .09), transparent 70%);
}
.svc:hover::before { opacity: 1; }
.svc__title { font-size: var(--fs-h3); line-height: 1.3; transition: transform .45s var(--ease); }
.svc:hover .svc__title { transform: translateX(.5rem); }
.svc__body p { color: var(--muted); max-width: 58ch; }
.svc__body strong { color: var(--text); font-weight: 650; }
@media (min-width: 56em) { .svc { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s8); align-items: baseline; } }

/* Branchen: gestapelte Karten */
.stack { display: grid; gap: var(--s5); }
.card {
  position: relative; overflow: hidden; display: grid; gap: var(--s4); align-content: start;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem); border-radius: var(--r-lg);
  background: linear-gradient(160deg, var(--panel-2), var(--panel) 60%);
  border: 1px solid var(--line); box-shadow: 0 30px 60px -30px rgb(0 0 0 / .8);
  transform-origin: 50% 0;
}
.card::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgb(255 255 255 / .04) 50%, transparent 60%); }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2; background: #05080A; opacity: var(--dim, 0); border-radius: inherit; }
.card__tag { justify-self: start; font-size: var(--fs-sm); font-weight: 650; color: var(--steel-mid); padding: .25rem .7rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.card__title { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.4rem); line-height: 1.15; max-width: 22ch; }
.card p { color: var(--muted); max-width: 60ch; font-size: var(--fs-lg); line-height: 1.6; }
.stack { gap: 0; }
.card { position: sticky; top: calc(var(--header-h) + 1rem + var(--i, 0) * .9rem); margin-bottom: 1.25rem; }
@media (min-width: 48em) {
  .card { top: calc(var(--header-h) + 2rem + var(--i, 0) * 1.25rem); min-height: 22rem; margin-bottom: 2rem; }
}

/* Partner */
.partner { position: relative; overflow: hidden; padding-block: var(--section); background: radial-gradient(50rem 30rem at 75% 50%, rgb(140 160 180 / .12), transparent 70%), var(--bg); }
.partner__steel { position: absolute; right: max(var(--gutter), 2vw); top: 50%; width: min(46rem, 42vw); translate: 0 -50%; opacity: .95; pointer-events: none; }
/* Glanz: aufgehellte Kopie des Logos, durch einen wandernden Verlaufsstreifen sichtbar.
   Kommt ohne Bild-Maske aus, funktioniert daher auch beim Oeffnen der Datei direkt im Browser (file://). */
.partner__shine { position: relative; }
.partner__shine::after {
  content: ""; position: absolute; inset: 0;
  background: url("../img/vq-steel-900.webp") 0 0 / 100% 100% no-repeat;
  filter: brightness(2.6) saturate(.5); opacity: .9;
  -webkit-mask-image: linear-gradient(100deg, transparent 35%, #000 50%, transparent 65%); mask-image: linear-gradient(100deg, transparent 35%, #000 50%, transparent 65%);
  -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  /* --shine (1 -> 0) setzt app.js beim Scrollen: der Streifen laeuft dreimal pro Durchgang ueber das Logo */
  -webkit-mask-position: calc(var(--shine, 1) * 100%) 0; mask-position: calc(var(--shine, 1) * 100%) 0;
}
.partner__grid { position: relative; z-index: 1; }
.partner__copy { display: grid; gap: var(--s5); max-width: 31rem; }
.partner__copy > p { color: var(--muted); font-size: var(--fs-lg); line-height: 1.6; }
.spec { display: grid; gap: 0; border-top: 1px solid var(--line); }
.spec li { display: flex; align-items: center; gap: var(--s3); padding-block: var(--s3); border-bottom: 1px solid var(--line); font-weight: 550; }
.spec li::before { content: ""; width: .45rem; height: .45rem; transform: rotate(45deg); background: var(--steel-mid); flex: none; }
@media (max-width: 63.99em) {
  .partner__steel { position: relative; right: auto; top: auto; translate: none; width: min(100% - 2 * var(--gutter), 40rem); margin: 0 auto var(--s7); }
}

/* Ablauf */
.steps { position: relative; display: grid; gap: var(--s6); }
.steps__track { position: absolute; left: 1.45rem; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(180deg, #fff, var(--steel-lo)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.step { position: relative; display: grid; gap: var(--s2); padding-left: 4.25rem; }
.step__no {
  position: absolute; left: 0; top: -.2rem; display: grid; place-items: center; width: 2.9rem; height: 2.9rem;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong);
  font-family: var(--display); font-size: .8rem; color: var(--muted);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.step.is-on .step__no { background: linear-gradient(180deg, #fff, #C7CFD5); color: var(--bg); border-color: transparent; box-shadow: 0 0 24px rgb(220 230 240 / .35); }
.step__title { font-size: var(--fs-h3); line-height: 1.3; }
.step p { color: var(--muted); max-width: 40ch; }
@media (min-width: 64em) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s5); }
  .steps__track { left: 1.45rem; right: 1.45rem; top: 1.25rem; bottom: auto; width: auto; height: 1px; }
  .steps__fill { transform-origin: left; transform: scaleX(var(--p, 1)); background: linear-gradient(90deg, #fff, var(--steel-lo)); }
  .step { padding-left: 0; padding-top: 4.5rem; }
  .step__no { top: -.2rem; }
}

/* Kontakt */
.contact { display: grid; gap: var(--s7); }
@media (min-width: 64em) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s9); align-items: start; } }
.contact__info { display: grid; gap: var(--s5); }
.contact-list { display: grid; gap: var(--s5); margin-top: var(--s3); }
.contact-list li { display: flex; gap: var(--s4); align-items: flex-start; }
.contact-list .icon { width: 1.35rem; height: 1.35rem; margin-top: 1.45rem; color: var(--steel-mid); }
.contact-list__label { display: block; font-size: var(--fs-sm); color: var(--muted); font-weight: 600; margin-bottom: .15rem; }
.contact-list a, .contact-list address { font-size: var(--fs-lg); font-weight: 600; text-decoration: none; display: block; }
.contact-list a:hover { text-decoration: underline; }
.contact-list__sub { font-size: var(--fs-sm) !important; font-weight: 500 !important; color: var(--muted); text-decoration: underline !important; margin-top: .3rem; }
.contact-list__note { display: block; font-size: var(--fs-sm); color: var(--text); margin-top: .3rem; }
.form { display: grid; gap: var(--s5); padding: clamp(1.4rem, .8rem + 2.5vw, 2.75rem); border-radius: var(--r-lg); background: linear-gradient(160deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); }
.form__title { font-size: var(--fs-h3); }
.form__hint { color: var(--muted); font-size: var(--fs-sm); margin-top: calc(-1 * var(--s3)); }
.form__row { display: grid; gap: var(--s5); }
@media (min-width: 40em) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s2); border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field legend { margin-bottom: var(--s2); }
.field__req { font-weight: 400; color: var(--muted); font-size: var(--fs-sm); }
.field input, .field textarea { width: 100%; min-height: 3.1rem; padding: .75rem .9rem; background: rgb(0 0 0 / .25); border: 1px solid var(--line-strong); border-radius: var(--r-sm); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--steel-lo); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; background: rgb(0 0 0 / .35); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: var(--fs-sm); font-weight: 600; }
.field__error--span { grid-column: 1 / -1; margin-top: calc(-1 * var(--s3)); }
.choices { display: flex; flex-wrap: wrap; gap: var(--s2); }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 550; font-size: .93rem; color: var(--muted); transition: all .2s var(--ease); }
.choice:hover span { border-color: var(--steel-mid); color: var(--text); }
.choice input:checked + span { background: linear-gradient(180deg, #fff, #C7CFD5); color: var(--bg); border-color: transparent; }
.choice input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4); }
.form__status { font-size: var(--fs-sm); font-weight: 600; }
.form__status.is-error { color: var(--error); }

/* Footer */
.footer { padding-block: var(--s8) var(--s6); border-top: 1px solid var(--line); background: var(--bg); }
.footer__grid { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); }
.footer__mark { width: 5.5rem; height: 2.3rem; fill: var(--steel-mid); margin-bottom: var(--s3); }
.footer p, .footer address { color: var(--muted); font-size: .95rem; }
.footer__title { font-size: .95rem; font-weight: 700; margin-bottom: var(--s2); }
.footer a { text-decoration: none; } .footer a:hover { text-decoration: underline; color: var(--text); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); }
.footer__legal p { font-size: var(--fs-sm); }

/* Mobile Aktionsleiste */
.action-bar { display: none; }
@media (max-width: 59.99em) {
  body { padding-bottom: 5rem; }
  .action-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--s2); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: var(--s2) var(--gutter) calc(var(--s2) + env(safe-area-inset-bottom));
    background: rgb(10 13 16 / .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform .35s var(--ease);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar__btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 3rem; border-radius: var(--r-md); font-weight: 650; text-decoration: none; border: 1px solid var(--line-strong); }
  .action-bar__btn--steel { background: linear-gradient(180deg, #fff, #C7CFD5); color: var(--bg); border-color: transparent; }
}

/* Startzustände für Animationen (nur mit JS + Bewegung) */
.motion [data-intro] { opacity: 0; }
.motion [data-fade] { opacity: 0; }
.motion .hero__stage { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 64em) { .hero__poster { left: auto; width: 64%; object-position: right center; } }
.hero__stage:has(.hero__poster) .hero__hint { display: none; }

html:not(.js) .hero__modules, html:not(.js) .hero__hint, html:not(.js) .hotspots { display: none; }

/* Handy/Tablet: Transporter direkt unter der Überschrift, damit er beim Öffnen ganz zu sehen ist */
@media (max-width: 63.99em) {
  .hero {
    grid-template-columns: var(--gutter) minmax(0, 1fr) var(--gutter);
    grid-template-rows: none; align-content: start; row-gap: var(--s4);
    min-height: auto; padding-top: calc(var(--header-h) + var(--s5));
  }
  .hero__content { display: contents; }
  .hero__content > * { grid-column: 2; }
  .hero__kicker { order: 1; }
  .hero .display { order: 2; }
  .hero__stage { order: 3; grid-column: 1 / -1; grid-row: auto; height: min(70vw, 26rem); margin: calc(-1 * var(--s3)) 0 0; }
  .hero__lead { order: 4; }
  .hero .actions { order: 5; }
  .hero__modules { order: 6; grid-column: 2; grid-row: auto; width: auto; margin: var(--s3) 0 0; }
  .hero__hint { bottom: 0; }
}
.svc:focus { outline: none; }

/* Handy: Anfrage-Button und Telefonnummer nebeneinander */
@media (max-width: 63.99em) {
  .hero .actions { flex-wrap: nowrap; gap: var(--s2); width: 100%; }
  .hero .actions .btn { flex: 1 1 0; min-width: 0; padding-inline: .6rem; font-size: clamp(.82rem, 3.6vw, 1rem); white-space: nowrap; }
  .hero .actions .btn .icon { width: 1em; height: 1em; }
}
