/* =====================================================================
   movetoshop.de – „Monochrome Kinetic"
   Schwarz/Weiß, Orange nur als Akzent. Zusammenspiel: motion.js (GSAP),
   bike3d.js (Three.js). Startzustände nur unter html.js:not(.motion-off).
   ===================================================================== */

:root {
  --ink: #0a0a0a; --ink-2: #141414; --ink-3: #1f1f1f;
  --paper: #ffffff; --paper-2: #f4f4f2;
  --line: rgba(10,10,10,.12); --line-dark: rgba(255,255,255,.14);
  --muted: #5c5c5c; --muted-dark: #a3a3a3;
  --signal: #ff6a1a; --signal-2: #ffb02e;
  --signal-text: #c24400;
  /* Nutzer-Feedback 3: farbige Knöpfe nur mit weißer Schrift – Knopf-Orange mit 4,8:1 zu Weiß (AA) */
  --signal-btn: #c94600; --signal-btn-h: #a83a00;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(.16,1,.3,1);

  /* Nutzer-Feedback 25.10.: volle Breite, nur ein schmaler Rand zur Bildschirmkante */
  --gutter: clamp(16px, 2.5vw, 40px);
  --header-h: 72px;
  --radius: 4px;
  --sec-pad: clamp(4rem, 7.5vw, 8rem);
}

/* ---------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, video, canvas, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong, b { font-weight: 600; }
::selection { background: var(--signal); color: var(--ink); }

:focus-visible { outline: 2px solid var(--signal-btn); outline-offset: 3px; border-radius: 2px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 10000;
  background: var(--signal-btn); color: var(--paper); padding: .75rem 1.1rem;
  font-family: var(--font-display); font-weight: 600; border-radius: var(--radius);
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: none; margin: 0; padding: 0 var(--gutter); }

/* ---------------------------------------------------------------- Bänder */
.band-dark  { background: var(--ink); color: var(--paper); }
.band-light { background: var(--paper); color: var(--ink); }
.band-paper { background: var(--paper-2); color: var(--ink); }
section { position: relative; }
section[id] { scroll-margin-top: var(--header-h); }

/* ---------------------------------------------------------------- Typo */
.display {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 6.2vw, 6rem); line-height: .98; letter-spacing: -.04em;
  text-wrap: balance;
}
.display-xl { font-size: clamp(3rem, 9vw, 9rem); line-height: .92; word-spacing: .06em; }
.display-md { font-size: clamp(2.1rem, 4.4vw, 4.4rem); -webkit-hyphens: manual; hyphens: manual; }
.display em, .hero-title em, .footer-title em { font-style: normal; }
/* Akzentwort: zweiter Ton statt Unterstrich; der orange Unterstrich nur an wenigen Schlüsselstellen (.ul) */
.display em { color: var(--muted); }
.band-dark .display em { color: var(--muted-dark); }
.display em.ul {
  color: inherit;
  background: linear-gradient(var(--signal), var(--signal)) 0 96% / 100% .07em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  transition: background-size 1.1s var(--ease-out) .35s;
}
html.js:not(.motion-off) .display:not(.is-in) em.ul { background-size: 0 .07em; }
html.js:not(.motion-ready) .display em.ul { animation: mts-ul 0s 2.5s forwards; }
@keyframes mts-ul { to { background-size: 100% .07em; } }
.h-outline { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.band-dark .h-outline { -webkit-text-stroke-color: rgba(255,255,255,.92); }
/* Hero: minimale Füllung, damit die Outline-Zeile sofort als Inhalt zählt (LCP wurde sonst erst bei einem späten Repaint gemeldet) */
.hero-title .h-outline { color: rgba(255,255,255,.03); }

.lead { font-size: clamp(1.05rem, 1.25vw, 1.3rem); line-height: 1.6; color: var(--muted); max-width: 52ch; }
.band-dark .lead { color: var(--muted-dark); }
.lead strong { color: var(--ink); }
.band-dark .lead strong { color: var(--paper); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem; flex-wrap: wrap;
  font-family: var(--font-display); font-size: .74rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: clamp(1.25rem, 2.4vw, 2rem);
}
.eyebrow-dark, .band-dark .eyebrow { color: var(--paper); }
.sec-no { color: var(--muted); font-variant-numeric: tabular-nums; padding-right: .7rem; border-right: 1px solid var(--line); }
.band-dark .sec-no { color: var(--muted-dark); border-color: var(--line-dark); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Split (motion.js) */
html.js:not(.motion-off) [data-split]:not(.is-split) { visibility: hidden; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
[data-split] .wi { display: inline-block; will-change: transform; }
[data-split] .c { display: inline-block; }
html.js:not(.motion-off) [data-split]:not(.is-in) .wi { transform: translateY(110%); }
/* em-Unterstrich darf über die Wortmaske hinausragen */
[data-split] em .w { padding-bottom: .16em; margin-bottom: -.16em; }

/* Reveal-Startzustände */
html.js:not(.motion-off) [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(32px); }
html.js:not(.motion-off) [data-reveal="clip"]:not(.is-in) { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); }
html.js:not(.motion-off) [data-stagger]:not(.is-in) > * { opacity: 0; transform: translateY(24px); }
/* Feedback 5: Text der Vertiefungen gleitet von der Seite herein (motion.js, Start beim Eintritt des Blocks) */
html.js:not(.motion-off) [data-slide="left"]:not(.is-in) { opacity: 0; transform: translateX(-72px); }
html.js:not(.motion-off) [data-slide="right"]:not(.is-in) { opacity: 0; transform: translateX(72px); }
@media (max-width: 768px) {
  html.js:not(.motion-off) [data-slide="left"]:not(.is-in) { transform: translateX(-32px); }
  html.js:not(.motion-off) [data-slide="right"]:not(.is-in) { transform: translateX(32px); }
}

/* Failsafe, falls motion.js nie lädt */
@keyframes mts-failsafe { to { visibility: visible; opacity: 1; transform: none; clip-path: none; } }
html.js:not(.motion-ready) [data-split],
html.js:not(.motion-ready) [data-split] .wi,
html.js:not(.motion-ready) [data-reveal],
html.js:not(.motion-ready) [data-slide],
html.js:not(.motion-ready) [data-stagger] > * { animation: mts-failsafe 0s 2.5s forwards; }

/* ---------------------------------------------------------------- Buttons */
.btn {
  --bg: var(--ink); --fg: var(--paper); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.5rem; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .45s var(--ease-out), border-color .45s var(--ease-out);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--signal-btn); transform: translateY(101%);
  transition: transform .55s var(--ease-out);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
/* Hover/Fokus: Orange-Füllung immer mit weißer Schrift (inkl. Icons über currentColor) */
.btn:hover, .btn:focus-visible { color: var(--paper); border-color: var(--signal-btn); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease-out); }
.btn:hover svg[aria-hidden] { transform: translateX(3px); }
.btn-dark   { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); }
.btn-light  { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); }
.btn-signal { --bg: var(--signal-btn); --fg: var(--paper); --bd: var(--signal-btn); }
.btn-signal::before { background: var(--signal-btn-h); }
.btn-signal:hover, .btn-signal:focus-visible { border-color: var(--signal-btn-h); }
.band-dark .btn-signal:focus-visible, .band-dark .btn-light:focus-visible { outline-color: var(--paper); }
.btn-ghost  { --bg: transparent; --fg: currentColor; --bd: rgba(255,255,255,.32); }
.band-light .btn-ghost, .band-paper .btn-ghost { --bd: var(--line); }
.btn-sm { min-height: 40px; padding: .5rem 1.05rem; font-size: .86rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600;
  background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 2px no-repeat;
  padding-bottom: 4px; transition: background-size .5s var(--ease-out);
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 2px; }
.u-link { color: var(--ink); background: linear-gradient(var(--signal), var(--signal)) 0 100% / 100% 1px no-repeat; transition: background-size .4s var(--ease-out); }
.u-link:hover { background-size: 100% 2px; }

/* ---------------------------------------------------------------- Global UI */
.scroll-progress, #scrollProgress {
  position: fixed; left: 0; top: 0; z-index: 1001; width: 100%; height: 2px;
  background: linear-gradient(90deg, var(--signal), var(--signal-2));
  transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}

.back-to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 900;
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--paper); border: 1px solid var(--line-dark);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .4s, transform .4s var(--ease-out), visibility .4s, background .3s, color .3s;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--signal-btn); color: var(--paper); }

/* ---------------------------------------------------------------- Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--header-h);
  color: var(--paper); background: transparent; pointer-events: none;
}
/* Feedback 4 (Variante b): der Header verschwindet nie. Keine Farbfläche, nur ein zarter Verlauf in der Farbe des
   Bandes darunter, der weich ausläuft – Text, der darunter durchläuft, blendet aus statt mit Logo und Menü zu kollidieren.
   motion.js setzt .hdr-light/.hdr-dark; über den Film-Fotos (eigene Abdunklung) und ganz oben keiner. */
.site-header::before, .site-header::after { content: ""; position: absolute; inset: 0 0 -36px 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .35s linear; }
.site-header::before { background: linear-gradient(to bottom, rgba(255,255,255,.98), rgba(255,255,255,.93) 62%, rgba(255,255,255,0)); }
.site-header::after { background: linear-gradient(to bottom, rgba(10,10,10,.96), rgba(10,10,10,.9) 62%, rgba(10,10,10,0)); }
.site-header.hdr-light::before, .site-header.hdr-dark::after { opacity: 1; }
body.nav-open .site-header::before, body.nav-open .site-header::after { opacity: 0; }
/* Nutzer-Feedback 3: Header immer transparent. motion.js setzt je Element (Logo, jeder Menüpunkt, jedes Icon, Knopf)
   .on-light, wenn darunter eine helle Fläche liegt -> dunkel; sonst hell mit leichtem Schatten fürs Foto */
.header-inner > * { pointer-events: auto; color: var(--paper); text-shadow: 0 1px 14px rgba(0,0,0,.35); }
.brand, .desktop-nav a, .icon-link, .hamburger { transition: color .3s linear, opacity .3s, background-size .45s var(--ease-out), border-color .3s; }
.site-header .on-light { color: var(--ink); text-shadow: none; }
.header-inner {
  height: 100%; max-width: none; margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; }
.brand img { width: auto; height: 40px; object-fit: contain; filter: drop-shadow(0 1px 6px rgba(0,0,0,.25)); }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.02em; }
.desktop-nav { display: flex; gap: clamp(.8rem, 1.4vw, 1.6rem); margin: 0 auto; }
.desktop-nav a {
  font-family: var(--font-display); font-size: .86rem; font-weight: 500; color: inherit; opacity: .86;
  padding: .4rem 0; background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 1px no-repeat;
  transition: opacity .3s, background-size .45s var(--ease-out);
}
.desktop-nav a:hover, .desktop-nav a:focus-visible { opacity: 1; background-size: 100% 1px; }
.desktop-nav a.on-light { background-image: linear-gradient(var(--signal-btn), var(--signal-btn)); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.desktop-nav + .header-actions { margin-left: 0; }
.icon-link {
  display: inline-flex; align-items: center; gap: .4rem; height: 40px; min-width: 40px; justify-content: center;
  padding: 0 .55rem; border-radius: 999px; color: inherit;
  font-family: var(--font-display); font-size: .86rem; font-weight: 500; transition: color .3s, background .3s;
}
.icon-link svg { width: 19px; height: 19px; }
.icon-link:hover { background: rgba(255,255,255,.12); }
.icon-link.on-light:hover { background: rgba(10,10,10,.06); }
.hamburger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); position: relative; }
.hamburger.on-light { border-color: rgba(10,10,10,.35); }
/* Header-Knopf: weiß auf dunkel, schwarz (weiße Schrift) auf hell */
.cta-header { text-shadow: none; }
.cta-header.on-light { --bg: var(--ink); --fg: var(--paper); --bd: var(--ink); color: var(--fg); }
/* offenes Menü: dunkles Panel bzw. abgedunkelte Seite darunter -> immer hell */
body.nav-open .site-header .on-light { color: var(--paper); }
body.nav-open .cta-header.on-light { --bg: var(--paper); --fg: var(--ink); --bd: var(--paper); color: var(--fg); }
body.nav-open .hamburger.on-light { border-color: rgba(255,255,255,.5); }
.hamburger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.hamburger span:first-child { top: 17px; }
.hamburger span:last-child { top: 25px; }
.hamburger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.hamburger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.overlay {
  position: fixed; inset: 0; z-index: 998; background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.overlay.is-open { opacity: 1; visibility: visible; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 999; width: min(420px, 100%);
  background: var(--ink); color: var(--paper); padding: calc(var(--header-h) + 1rem) 24px 2rem;
  overflow-y: auto; overscroll-behavior: contain;
  transform: translateX(100%); visibility: hidden;
  transition: transform .55s var(--ease-out), visibility .55s;
  border-left: 1px solid var(--line-dark);
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mn-label { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin: 0 0 .6rem; }
.mobile-nav ul { margin-bottom: 1.6rem; }
.mobile-nav li a {
  display: block; padding: .62rem 0; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em;
}
.mobile-nav li a:hover { color: var(--signal); }
.mn-service li a { font-size: .98rem; color: rgba(255,255,255,.8); }
.mn-cta { display: grid; gap: .6rem; margin-bottom: 1.8rem; }
body.nav-open { overflow: hidden; }

@media (max-width: 1240px) {
  .desktop-nav, .header-actions .icon-link { display: none; }
  .hamburger { display: inline-block; }
  .header-actions { margin-left: auto !important; }
}
@media (max-width: 480px) {
  .cta-header { display: none; }
}

/* ---------------------------------------------------------------- Hero */
/* Bühne randlos 100vw x 100svh; Inhalt und Bewegung: Abschnitt „Hero als Scroll-Film" weiter unten + hero-film.js */
.hero { min-height: 100vh; min-height: 100svh; overflow: hidden; }
.hero-spacer { position: relative; }
.hero-pin { position: relative; width: 100%; flex: 1 0 100%; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; justify-content: center; background: var(--ink); }
.hero-shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,10,10,.86) 0%, rgba(10,10,10,.62) 26%, rgba(10,10,10,.12) 44%, transparent 56%),
    linear-gradient(180deg, rgba(10,10,10,.55) 0%, transparent 22%, transparent 70%, rgba(10,10,10,.75) 100%); }
.hero-title .hl { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .hli { display: block; }
/* Headline per CSS: wartet weder auf motion.js noch auf Bilder (LCP) */
html.js .hero-title .hli { animation: hero-line 1.05s var(--ease-out) .12s both; }
html.js .hero-title .hl + .hl .hli { animation-delay: .24s; }
/* Masken-Reveal per clip-path statt transform: transform-Animationen verschoben die LCP-Erfassung bis zum nächsten
   Repaint (gemessen bis 3,2 s), clip-path nicht (0,45 s) */
@keyframes hero-line { from { clip-path: inset(100% -5% -20% -5%); } to { clip-path: inset(-20% -5% -20% -5%); } }
.hero-title {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -.045em;
  font-size: clamp(3rem, 5.3vw, 9.5rem); line-height: .9; max-width: 16ch; word-spacing: .05em;
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }

/* ---------------------------------------------------------------- Kennzahlen */
.stats { border-top: 1px solid var(--line-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat { padding: clamp(1.6rem, 3vw, 2.6rem) clamp(.8rem, 1.6vw, 1.6rem); border-right: 1px solid var(--line-dark); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; margin-bottom: .6rem; white-space: nowrap; }
.stat dd { margin: 0; color: var(--muted-dark); font-size: .9rem; line-height: 1.45; max-width: 22ch; }
@media (max-width: 960px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { border-bottom: 1px solid var(--line-dark); padding-left: 0; }
  .stat:nth-child(2n) { border-right: 0; padding-left: 1rem; }
  .stat:last-child { grid-column: 1 / -1; border-bottom: 0; }
}

/* ---------------------------------------------------------------- Marquee */
.marquee-band { padding: clamp(2.5rem, 5vw, 4rem) 0; border-bottom: 1px solid var(--line); }
.marquee-head .eyebrow { margin-bottom: 1.4rem; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-inner { will-change: transform; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-set { display: flex; align-items: center; gap: clamp(3rem, 6vw, 6rem); padding-right: clamp(3rem, 6vw, 6rem); }
.marquee-set img { height: 34px; width: auto; max-width: 160px; object-fit: contain; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- Horizontal-Scroll */
.hs { border-bottom: 1px solid var(--line); }
.hs-pin { position: relative; overflow: hidden; }
.hs-track { display: flex; align-items: stretch; width: max-content; will-change: transform; }
.hs-panel {
  position: relative; flex: none; width: min(44vw, 700px); min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 3rem) clamp(2rem, 4vw, 4.5rem) 4rem;
  border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center;
}
.hs-intro { width: max(44vw, 560px); padding-left: var(--gutter); padding-right: clamp(2rem, 4vw, 5rem); }
.hs-intro .display { font-size: clamp(2.4rem, 4.4vw, 6.4rem); }
.hs-hint { display: flex; align-items: center; gap: 1rem; margin-top: 3rem; font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.chain-line { width: 120px; height: 14px; background: var(--chain-url) repeat-x 0 50% / 28px 14px; animation: chainrun 1.6s linear infinite; }
/* Nutzer-Feedback 3 (10): Ziffer gefüllt in Orange, über der Überschrift im Fluss – überlappt nichts */
.hs-num {
  display: block; position: relative; max-width: 44ch; margin: 0 0 clamp(1rem, 2.4vh, 1.8rem);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(4.6rem, 7.5vw, 9rem); line-height: .82; letter-spacing: -.06em;
  color: var(--signal-btn); pointer-events: none; user-select: none;
}
.case-body { position: relative; max-width: 44ch; }
.case-tag { font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-text); margin-bottom: 1rem; }
.case h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; margin-bottom: 1.2rem; }
.case-pain { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.8rem; }
.ticks li, .crosses li { position: relative; padding: .8rem 0 .8rem 2rem; border-top: 1px solid var(--line); }
.ticks li:last-child, .crosses li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 14px; height: 8px; border-left: 2px solid var(--signal); border-bottom: 2px solid var(--signal); transform: rotate(-45deg); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: 2px; top: 1.35rem; width: 14px; height: 1.5px; background: var(--muted); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.hs-photo { width: 56vw; padding: 0; border-right: 0; }
.hs-photo img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.hs-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 1px; background: var(--line); z-index: 2; }
.hs-progress span { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--hs-p, 0)); }
.hs-intro .lead { margin-top: 1.6rem; }
/* Ohne Pin (kein JS, reduced motion, GSAP fehlt): Strecke als Raster statt abgeschnittener Zeile */
@media (min-width: 769px) {
  html:not(.js) .hs-track, html.motion-off .hs-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: auto; transform: none !important; }
  html:not(.js) .hs-panel, html.motion-off .hs-panel { width: auto; min-height: 0; padding: 4rem clamp(1.5rem, 3vw, 3rem); border-bottom: 1px solid var(--line); }
  html:not(.js) .hs-intro, html.motion-off .hs-intro,
  html:not(.js) .hs-photo, html.motion-off .hs-photo { grid-column: 1 / -1; border-right: 0; }
  html:not(.js) .hs-intro, html.motion-off .hs-intro { padding-top: var(--sec-pad); padding-left: var(--gutter); }
  html:not(.js) .hs-panel.case:nth-child(4), html.motion-off .hs-panel.case:nth-child(4) { border-right: 0; }
  html:not(.js) .hs-hint, html.motion-off .hs-hint, html:not(.js) .hs-progress, html.motion-off .hs-progress { display: none; }
  html:not(.js) .hs-photo, html.motion-off .hs-photo { padding: 0; }
  html:not(.js) .hs-photo img, html.motion-off .hs-photo img { max-height: 80vh; height: auto; aspect-ratio: 16 / 7; }
}
@media (max-width: 768px) {
  .hs-track { display: block; width: auto; transform: none !important; }
  .hs-panel, .hs-intro, .hs-photo { width: auto; min-height: 0; padding: 4rem var(--gutter); border-right: 0; border-bottom: 1px solid var(--line); }
  .hs-intro { padding-top: var(--sec-pad); }
  .hs-num { font-size: clamp(4rem, 19vw, 5.2rem); margin-bottom: .9rem; }
  .hs-hint, .hs-progress { display: none; }
  .hs-photo { padding: 0; }
  .hs-photo img { max-height: none; aspect-ratio: 4 / 3; }
}

/* ---------------------------------------------------------------- System (Dashboard je Modul) */
/* Nutzer-Feedback 3 (11): echtes Dashboard statt Fahrrad. Desktop: gepinnte Bühne, links Module, rechts Browser-Rahmen.
   Mobil, reduzierte Bewegung, ohne JS: Karten mit Screenshot (Liste .sys-list), keine Bühne. */
.system { overflow: hidden; }
.sys-pin { position: relative; }
.sys-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(ellipse at 70% 60%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 70% 60%, #000 10%, transparent 70%);
}
.sys-head { position: relative; z-index: 3; padding-top: var(--sec-pad); display: grid; grid-template-columns: 1.1fr 1fr; gap: .6rem 4rem; align-items: end; }
.sys-head .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.sys-head .display { font-size: clamp(2.2rem, 4.4vw, 5.6rem); }
.sys-lead { color: var(--muted-dark); max-width: 56ch; font-size: 1rem; }
.sys-lead strong { color: var(--paper); }
.sys-stage { display: none; }

/* Browser-Rahmen (Bühne und Karten) */
.sb-bar { position: relative; display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: #1b1b1b; border-bottom: 1px solid rgba(255,255,255,.08); }
.sb-bar > i { width: 10px; height: 10px; border-radius: 50%; background: #3a3a3a; flex: none; }
.sb-url { display: flex; align-items: center; gap: .45rem; min-width: 0; margin: 0 auto 0 12px; padding: .3rem .85rem; max-width: 72%; border-radius: 999px; background: #0d0d0d; color: rgba(255,255,255,.88); font: 500 .8rem/1.2 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-url svg { width: 13px; height: 13px; flex: none; fill: none; stroke: var(--signal); stroke-width: 1.6; }
.sb-host { color: var(--paper); }
.sb-path { color: var(--muted-dark); overflow: hidden; text-overflow: ellipsis; transition: opacity .3s; }
.sb-view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f5f5f5; }
.sb-view img { width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
.sb-view picture, .process-screen picture { display: contents; }

/* Karten (Standard: ohne JS, reduzierte Bewegung, Tablet) */
.sys-foot { position: relative; z-index: 3; padding-top: clamp(2rem, 4vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
/* Feedback 5: „Alles greift ineinander.“ und der Knopf mittig untereinander, auf allen Breiten */
.sys-end { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: clamp(1.2rem, 2.4vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.sys-final { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 5.6rem); letter-spacing: -.04em; line-height: 1; }
.sys-final em { font-style: normal; color: var(--signal); }
.sys-cta { flex: none; }
.sys-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2vw, 2rem); width: 100%; }
.sys-list li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: .4rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.sys-list > li > span { grid-row: span 2; font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; color: var(--signal); padding-top: .3rem; }
.sys-list > li > b { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.sys-list > li > small { display: block; color: var(--muted-dark); font-size: .88rem; line-height: 1.45; }
.sys-card-shot { grid-column: 1 / -1; margin-top: 1rem; border: 1px solid var(--line-dark); border-radius: 10px; overflow: hidden; background: #1b1b1b; }
.sys-card-shot .sb-bar { height: 32px; padding: 0 10px; gap: 5px; }
.sys-card-shot .sb-bar > i { width: 8px; height: 8px; }
.sys-card-shot .sb-url { font-size: .7rem; padding: .22rem .65rem; max-width: 80%; margin-left: 8px; color: var(--muted-dark); }
.sys-card-shot figcaption { padding: .7rem .9rem .8rem; color: rgba(255,255,255,.82); font-size: .84rem; line-height: 1.4; }
@media (min-width: 1280px) { .sys-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Desktop mit Scroll-Führung */
@media (min-width: 769px) {
  html.js:not(.motion-off) #system .sys-pin { height: 100vh; height: 100svh; min-height: 640px; display: grid; grid-template-rows: auto minmax(0, 1fr); }
  html.js:not(.motion-off) #system .sys-head { padding-top: calc(var(--header-h) + 1.2rem); }
  html.js:not(.motion-off) #system .sys-stage { position: relative; z-index: 2; display: grid; grid-template-columns: clamp(250px, 24vw, 400px) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 4rem); align-items: center; min-height: 0; padding-top: clamp(1rem, 2.5vh, 2rem); padding-bottom: clamp(1rem, 3vh, 2.2rem); perspective: 1600px; }
  html.js:not(.motion-off) #system .sys-list { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  html.js:not(.motion-off) #system .sys-list figure { display: none; }
  html.js:not(.motion-off) #system .sys-end { margin-top: 0; }
}
.sys-labels { align-self: center; display: grid; }
.sys-label { position: relative; display: grid; grid-template-columns: 2.2rem 1fr; gap: .5rem; padding: .58rem 0 .58rem 1rem; border-top: 1px solid var(--line-dark); opacity: .42; transition: opacity .45s var(--ease-out); }
.sys-label:last-child { border-bottom: 1px solid var(--line-dark); }
.sys-label::before { content: ""; position: absolute; left: 0; top: -1px; bottom: -1px; width: 2px; background: var(--signal); transform: scaleY(0); transform-origin: 50% 0; transition: transform .45s var(--ease-out); }
.sys-label.is-active { opacity: 1; }
.sys-label.is-active::before { transform: scaleY(1); }
.sl-no { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; color: var(--muted-dark); padding-top: .25rem; }
.sys-label.is-active .sl-no { color: var(--signal); }
.sl-card b { display: block; font-family: var(--font-display); font-size: clamp(1rem, 1.25vw, 1.3rem); letter-spacing: -.015em; color: var(--paper); }
.sl-card small, .sl-card em { display: block; font-size: .8rem; line-height: 1.4; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease-out), opacity .45s, margin .45s; }
.sl-card em { font-style: normal; color: var(--signal); }
.sys-label.is-active .sl-card small { max-height: 4.2em; opacity: 1; margin-top: .25rem; color: rgba(255,255,255,.82); }
.sys-label.is-active .sl-card em { max-height: 4.2em; opacity: 1; margin-top: .35rem; }
/* Bühne: Rahmen so groß, wie Höhe und Breite es zulassen (16:10 + Leiste), rechtsbündig */
.sys-browser { position: relative; justify-self: end; width: min(100%, calc((100svh - var(--sys-head-h, 300px) - 6.5rem) * 1.6)); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; overflow: hidden; background: #1b1b1b;
  box-shadow: 0 60px 120px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4), 0 30px 80px -40px rgba(255,106,26,.25);
  transform-origin: 60% 50%; transform: rotateY(calc(var(--sb-ry, 0) * 1deg)) rotateX(calc(var(--sb-rx, 0) * 1deg)); will-change: transform; }
.sb-count { flex: none; font: 500 .72rem/1 var(--font-display); letter-spacing: .12em; color: var(--muted-dark); }
.sb-count b { color: var(--signal); font-weight: 600; }
.sys-browser .sb-shot { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease-out); }
.sys-browser .sb-shot.is-on { opacity: 1; }
.sb-note { position: absolute; right: 0; bottom: -1.7rem; font-size: .72rem; color: var(--muted-dark); white-space: nowrap; }
.sys-browser { overflow: visible; }
.sys-browser .sb-bar { border-radius: 12px 12px 0 0; }
.sys-browser .sb-view { border-radius: 0 0 12px 12px; }
.sys-swipe { display: none; align-items: center; gap: .5rem; margin: 0 0 .9rem; font: 500 .74rem/1 var(--font-display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.sys-swipe svg { width: 16px; height: 16px; color: var(--signal); }
/* Mobil: Karten horizontal wischbar, nächste Karte angeschnitten */
@media (max-width: 768px) {
  .sys-head { grid-template-columns: 1fr; }
  .sys-list { display: flex; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) .6rem; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
  .sys-list li { flex: 0 0 86%; scroll-snap-align: start; }
  .sys-card-shot .sb-bar > i { display: none; }
  .sys-card-shot .sb-bar { height: auto; padding: 6px 8px; }
  .sys-card-shot .sb-url { max-width: none; margin: 0; border-radius: 8px; font-size: .68rem; white-space: normal; overflow-wrap: anywhere; }
  .sys-swipe { display: flex; }
  .sys-final { font-size: 2.2rem; }
}

/* ---------------------------------------------------------------- Funktionen */
.features { padding: var(--sec-pad) 0 0; }
.features-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 7rem); padding-bottom: var(--sec-pad); }
.features-sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.features-sticky .lead { margin: 1.6rem 0 2.2rem; }
/* Produkt-Screenshots als dunkles Geräte-Mockup – immer in Originalfarbe (Nutzer-Feedback 25.10.) */
.screen { position: relative; border: 1px solid var(--ink-3); background: var(--ink-2); padding: 30px 8px 8px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); border-radius: 10px; overflow: hidden; }
.screen::before { content: ""; position: absolute; left: 16px; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: #3a3a3a; box-shadow: 13px 0 0 #3a3a3a, 26px 0 0 #3a3a3a; }
.screen::after { content: ""; position: absolute; right: 16px; top: 14px; width: 28%; height: 3px; border-radius: 2px; background: #262626; }
.screen img { width: 100%; border-radius: 4px; }
.screen-dark { border-color: var(--line-dark); background: var(--ink-3); box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); }
.feature-list { counter-reset: f; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); align-content: start; }
@media (max-width: 1100px) { .feature-list { grid-template-columns: 1fr; } }
.feature {
  position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: .8rem;
  padding: clamp(1.2rem, 1.8vw, 1.9rem) 0; border-bottom: 1px solid var(--line);
}
.feature::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform .7s var(--ease-out); }
.feature:hover::after { transform: scaleX(1); }
.f-no { font-family: var(--font-display); font-size: clamp(1.6rem, 2.4vw, 2.2rem); font-weight: 600; letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--ink); line-height: 1; transition: color .4s; }
.feature:hover .f-no { color: var(--signal); -webkit-text-stroke-color: var(--signal); }
.f-tag { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-text); margin-bottom: .45rem; }
.feature h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.2rem, 1.5vw, 1.6rem); letter-spacing: -.025em; line-height: 1.15; margin-bottom: .5rem; }
.feature p:last-child { color: var(--muted); max-width: 60ch; }
@media (max-width: 960px) {
  .features-grid { grid-template-columns: 1fr; }
  .features-sticky { position: static; }
}
/* Vertiefung Preisregeln + Leasing: dunkles Band über die volle Breite, Screenshots groß bis an den Rand */
.deep { padding: var(--sec-pad) 0; overflow-x: clip; }
.deep-item { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; padding: 0 0 0 var(--gutter); scroll-margin-top: var(--header-h); }
.deep-item + .deep-item { margin-top: clamp(3rem, 6vw, 6rem); }
.deep-rev { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); padding: 0 var(--gutter) 0 0; }
.deep-item .screen { border-radius: 10px 0 0 10px; border-right: 0; }
.deep-rev .screen { border-radius: 0 10px 10px 0; border-left: 0; border-right: 1px solid var(--line-dark); }
.deep-text .lead { margin: 1.4rem 0 0; }
.deep-cta { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.6rem; margin: clamp(3rem, 6vw, 5rem) var(--gutter) 0; padding-top: clamp(2.4rem, 4vw, 3.4rem); border-top: 1px solid var(--line-dark); }
.deep-cta h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -.03em; margin-bottom: .6rem; }
.deep-cta p { color: var(--muted-dark); max-width: 56ch; margin: 0 auto; }
@media (max-width: 960px) {
  .deep-item, .deep-rev { grid-template-columns: 1fr; padding: 0 var(--gutter); }
  .deep-rev .screen { order: 2; }
  .deep-item .screen, .deep-rev .screen { border-radius: 10px; border: 1px solid var(--line-dark); }
}

/* ---------------------------------------------------------------- Ketten-Ornament */
:root {
  --chain-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Crect x='1' y='2.5' width='17' height='9' rx='4.5' fill='none' stroke='%230a0a0a' stroke-opacity='.45' stroke-width='1.3'/%3E%3Crect x='14' y='4.5' width='13' height='5' rx='2.5' fill='none' stroke='%230a0a0a' stroke-opacity='.45' stroke-width='1.3'/%3E%3Ccircle cx='5.5' cy='7' r='1.3' fill='%230a0a0a' fill-opacity='.45'/%3E%3Ccircle cx='13.5' cy='7' r='1.3' fill='%230a0a0a' fill-opacity='.45'/%3E%3C/svg%3E");
}
@keyframes chainrun { to { background-position: 28px 50%; } }

/* ---------------------------------------------------------------- Foto-3D (gemeinsam) */
/* Statisches Bild im Markup: sichtbar ohne JS, ohne WebGL, bei reduced motion; weicht, sobald das Modul läuft */
.p3d { position: relative; }
.p3d-fallback { transition: opacity .6s var(--ease-out); }
.p3d.is-3d .p3d-fallback { opacity: 0; visibility: hidden; }

/* ---------------------------------------------------------------- Showroom (Foto-Relief) */
.showroom { padding: 0 0 calc(var(--sec-pad) * .7); overflow: hidden; }
.sr-stage { position: relative; }
.sr-pin { position: relative; height: 100vh; height: 100svh; min-height: 620px; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--paper); overflow: hidden; }
.sr-head { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 1.4rem); display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; flex-wrap: wrap; }
.sr-head .eyebrow { margin-bottom: .4rem; }
.sr-head .display-xl { font-size: clamp(2.8rem, 7vw, 9rem); }
.sr-canvas { position: relative; min-height: 0; margin: 0; }
.sr-canvas .p3d-fallback { position: absolute; inset: 4% 8% 6%; width: 84%; height: 90%; object-fit: contain; }
.sr-hint { position: relative; z-index: 2; display: flex; align-items: center; gap: 1rem; justify-content: flex-end; padding: 0 calc(var(--gutter) + 72px) 1.4rem var(--gutter); font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sr-hint .chain-line { width: 90px; }
.drift-wrap { margin-top: clamp(2rem, 4vw, 3rem); overflow: hidden; display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.drift-row { display: flex; gap: clamp(1rem, 2vw, 1.6rem); width: max-content; padding: 0 var(--gutter); }
.drift-row-2 { margin-left: -14vw; }
html:not(.js) .drift-wrap, html.motion-off .drift-wrap { overflow-x: auto; overscroll-behavior-x: contain; padding-bottom: .6rem; }
html:not(.js) .drift-row-2, html.motion-off .drift-row-2 { margin-left: 0; }
.bike-card { width: clamp(260px, 26vw, 560px); position: relative; }
.bike-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: contain; transition: transform 1.1s var(--ease-out); }
.bike-card:hover img { transform: scale(1.05) rotate(-1.2deg); }
.bike-card figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; padding: .4rem 4% 0; font-family: var(--font-display); font-weight: 600; font-size: .92rem; letter-spacing: -.01em; line-height: 1.3; }
.bike-card figcaption span { font-size: .7rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--signal-text); }
.showroom-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem 2rem; flex-wrap: wrap; margin-top: 2.4rem; }
.note { color: var(--muted); font-size: .88rem; }
@media (hover: none), (pointer: coarse) { .only-fine { display: none; } }
@media (max-width: 768px) {
  .sr-pin { height: auto; min-height: 0; grid-template-rows: auto auto auto; }
  .sr-head { padding-top: var(--sec-pad); }
  .sr-canvas { height: 62vw; min-height: 240px; }
  .sr-hint { display: none; } /* mobil statisch ein Modell: „Vier Modelle“ träfe nicht zu */
  .drift-row-2 { display: none; }
  .bike-card { width: 78vw; }
}

/* ---------------------------------------------------------------- Plattform (Scroll-Film) */
/* Fünf CUBE-Fotos aus verschiedenen Serien (andere als im Hero), hero-film.js schneidet sie beim Scrollen.
   Gemeinsame Film-Regeln (.hf-*) stehen im Abschnitt „Hero als Scroll-Film" am Ende. */
.action { overflow: hidden; background: var(--ink); }
.vb-spacer { position: relative; }
.vb-pin { position: relative; width: 100%; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; display: flex; flex-direction: column; background: var(--ink); }
.vb-film .hf-beat .display { margin-bottom: 1.2rem; font-size: clamp(2.6rem, 4.4vw, 7rem); line-height: .95; }
.vb-film .hf-beat .chips { margin-top: .4rem; }
/* Nutzer-Feedback 3 (9): Texte im Plattform-Film immer linksbündig */
.vb-film .hf-beat { justify-self: start; text-align: left; }
.vb-film .hf-beat .hf-sub { margin-left: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .95rem; border: 1px solid rgba(255,255,255,.3); border-radius: 999px; font-family: var(--font-display); font-size: .85rem; }
.chips li:last-child { border-color: var(--signal); color: var(--signal); }

/* ---------------------------------------------------------------- Problem & Lösung */
.pl { padding: var(--sec-pad) 0; }
.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); max-width: 980px; }
.sec-head .lead { margin-top: 1.6rem; }
.sec-head-split { max-width: none; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem 5rem; align-items: end; }
.sec-head-split .lead { margin-top: 0; }
.sec-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.sec-head-center .lead { margin-left: auto; margin-right: auto; }
@media (max-width: 960px) { .sec-head-split { grid-template-columns: 1fr; } }

/* Zeilenweiser Vergleich: je Zeile klappt das X zum Haken um (motion.js setzt .is-on), kein Trenner über Fließtext */
.pl-compare { border-top: 1px solid var(--line); }
.pl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 1.5rem; padding-top: 1.4rem; padding-bottom: 1.2rem; }
.pl-cols p { display: grid; gap: .3rem; }
.pl-cols b { font-family: var(--font-display); font-size: clamp(1.4rem, 2.4vw, 2.4rem); letter-spacing: -.03em; line-height: 1.05; }
.pl-tag { font-family: var(--font-display); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pl-tag-on { color: var(--signal-text); }
.pl-row { border-top: 1px solid var(--line); }
.pl-row:last-child { border-bottom: 1px solid var(--line); }
.pl-row-in { display: grid; grid-template-columns: minmax(0, 1fr) 72px minmax(0, 1fr); gap: 1.5rem; align-items: center; padding-top: clamp(1rem, 1.8vw, 1.6rem); padding-bottom: clamp(1rem, 1.8vw, 1.6rem); }
.pl-before, .pl-after { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.6rem); letter-spacing: -.02em; line-height: 1.25; transition: color .6s var(--ease-out), opacity .6s var(--ease-out); }
.pl-before { color: var(--muted); }
.pl-flip { position: relative; width: 48px; height: 48px; justify-self: center; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); transition: background .5s var(--ease-out), border-color .5s; perspective: 300px; }
.pl-flip svg { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; backface-visibility: hidden; transition: transform .6s var(--ease-out); }
.pl-x { color: var(--muted); transform: rotateY(180deg); }
.pl-ok { color: var(--ink); transform: rotateY(0); }
.pl-row .pl-flip { background: var(--signal-btn); border-color: var(--signal-btn); }
.pl-row .pl-ok { color: var(--paper); }
.pl-row .pl-before { text-decoration: line-through; text-decoration-color: rgba(10,10,10,.35); }
/* Startzustand nur mit Motion: X sichtbar, Lösung gedimmt */
html.js:not(.motion-off) .pl-row:not(.is-on) .pl-x { transform: rotateY(0); }
html.js:not(.motion-off) .pl-row:not(.is-on) .pl-ok { transform: rotateY(-180deg); }
html.js:not(.motion-off) .pl-row:not(.is-on) .pl-flip { background: var(--paper); border-color: var(--line); }
html.js:not(.motion-off) .pl-row:not(.is-on) .pl-before { color: var(--ink); text-decoration-color: transparent; }
html.js:not(.motion-off) .pl-row:not(.is-on) .pl-after { opacity: .22; }
@media (max-width: 768px) {
  .pl-cols { display: none; }
  .pl-row-in { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "x b" "x a"; gap: .35rem .9rem; align-items: start; }
  .pl-flip { grid-area: x; width: 36px; height: 36px; }
  .pl-flip svg { width: 18px; height: 18px; }
  .pl-before { grid-area: b; font-size: .95rem; }
  .pl-after { grid-area: a; font-size: 1.1rem; font-weight: 600; }
  .pl-before .sr-only, .pl-after .sr-only { position: static !important; width: auto; height: auto; margin: 0; clip: auto; overflow: visible; white-space: normal; display: block; font-family: var(--font-display); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: var(--muted); text-decoration: none; }
  /* mobil ohne Scrub: Lösung gleich sichtbar */
  html.js:not(.motion-off) .pl-row:not(.is-on) .pl-after { opacity: 1; }
  html.js:not(.motion-off) .pl-row:not(.is-on) .pl-x { transform: rotateY(180deg); }
  html.js:not(.motion-off) .pl-row:not(.is-on) .pl-ok { transform: none; }
  html.js:not(.motion-off) .pl-row:not(.is-on) .pl-flip { background: var(--signal); border-color: var(--signal); }
  html.js:not(.motion-off) .pl-row:not(.is-on) .pl-before { color: var(--muted); }
}

.perfect { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1.3fr; gap: 2rem 4rem; padding: clamp(2rem, 4vw, 3.4rem); border: 1px solid var(--line); position: relative; }
.perfect::before { content: ""; position: absolute; left: -1px; top: -1px; width: 64px; height: 2px; background: var(--signal); }
.perfect h3 { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.3rem); letter-spacing: -.03em; line-height: 1.05; margin-bottom: 1rem; }
.perfect p { color: var(--muted); }
.perfect-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1.5rem; align-content: start; }
.perfect-list li { display: flex; align-items: center; gap: .55rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; font-size: .95rem; }
.perfect-list svg { width: 16px; height: 16px; color: var(--signal-text); flex: none; }
@media (max-width: 960px) { .perfect { grid-template-columns: 1fr; } .perfect-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .perfect-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- BIDEX */
.bidex { padding: 0; }
/* Auftakt: Partikel-Foto auf dunkler Bühne */
.bx-stage { position: relative; }
.bx-pin { position: relative; height: 100vh; height: 100svh; min-height: 600px; overflow: hidden; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; background: var(--ink); }
/* Prüfbefund 25.10.: Bühne als eigene Grid-Zeile UNTER der Headline (kein Anstoßen an „Live im Shop.") */
.bx-canvas { position: relative; grid-row: 2; min-height: 0; margin: clamp(1.2rem, 3.5vh, 2.6rem) 6% clamp(.8rem, 2vh, 1.4rem); }
.bx-copy { grid-row: 1; }
.bx-canvas .p3d-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.bx-copy { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 1.4rem); }
.bx-copy .eyebrow { margin-bottom: .6rem; }
.bx-copy .display-xl { font-size: clamp(2.4rem, 4.9vw, 6.6rem); max-width: 14ch; } /* Feedback 5: kleiner, mehr Platz für Rad + Galerie */
.bx-steps { position: relative; z-index: 2; grid-row: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2rem; padding-bottom: clamp(1.4rem, 4vh, 2.6rem); }
.bx-steps li { padding-top: .9rem; border-top: 1px solid var(--line-dark); transition: opacity .5s var(--ease-out), border-color .5s; }
html.js:not(.motion-off) .bx-stage.is-live .bx-steps li:not(.is-on) { opacity: .5; }
.bx-steps li.is-on { border-top-color: var(--signal); }
.bx-steps span { display: block; font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; color: var(--signal); margin-bottom: .3rem; }
.bx-steps b { display: block; font-family: var(--font-display); font-size: clamp(1.1rem, 1.6vw, 1.6rem); letter-spacing: -.02em; }
.bx-steps small { display: block; color: var(--muted-dark); font-size: .88rem; line-height: 1.45; max-width: 36ch; }
.bx-body { padding-top: clamp(3rem, 6vw, 5rem); }
@media (max-width: 768px) {
  .bx-pin { height: auto; min-height: 0; display: flex; flex-direction: column; padding-bottom: 1.5rem; }
  .bx-copy { order: 1; } .bx-canvas { order: 2; } .bx-steps { order: 3; }
  .bx-copy { padding-top: var(--sec-pad); }
  .bx-canvas { position: relative; inset: auto; height: 62vw; margin: 1rem 0; }
  .bx-steps { grid-template-columns: 1fr; gap: .8rem; }
}
/* Schritt 03 „Im Shop“: Produktansicht neben dem Rad (Nutzer-Feedback 3, Punkt 13). Feedback 4 (11): Karte so groß wie
   eine echte Produktseite, Rad direkt daneben (motion.js bxGeom setzt --shop-x/--shop-s), mobil untereinander */
.bx-canvas > canvas, .bx-canvas .p3d-fallback { transition: transform 1s var(--ease-out), opacity .6s var(--ease-out); }
.bx-shop { position: relative; z-index: 3; width: clamp(360px, 27.5vw, 540px); padding: clamp(1.3rem, 2vw, 2.4rem); background: var(--paper); color: var(--ink); border-radius: 16px;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); font-size: 1rem; line-height: 1.4; }
.bs-hint { display: flex; align-items: center; gap: .6rem; margin-bottom: clamp(.8rem, 1.6vh, 1.2rem); font-size: .86rem; color: var(--muted); }
.bs-hint span { padding: .28rem .6rem; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font: 600 .7rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.bs-brand { font: 600 .82rem/1 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.bs-name { margin: .45rem 0 .35rem; font: 600 clamp(2rem, 2.9vw, 3.4rem)/1 var(--font-display); letter-spacing: -.035em; }
.bs-spec { color: var(--muted); font-size: clamp(.92rem, 1vw, 1.05rem); }
.bs-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .3rem .8rem; margin-top: clamp(.9rem, 1.8vh, 1.3rem); }
.bs-price strong { font: 600 clamp(2rem, 2.7vw, 3.1rem)/1 var(--font-display); letter-spacing: -.03em; color: var(--signal-text); }
.bs-price s { color: var(--muted); font-size: clamp(1.05rem, 1.2vw, 1.3rem); }
.bs-tag { padding: .32rem .62rem; border-radius: 5px; background: var(--signal-btn); color: var(--paper); font: 600 .86rem/1 var(--font-display); letter-spacing: .02em; }
.bs-uvp { margin-top: .4rem; font-size: .84rem; color: var(--muted); }
.bs-row { margin-top: clamp(.9rem, 1.8vh, 1.3rem); }
.bs-label { font-size: .95rem; color: var(--muted); margin-bottom: .5rem; }
.bs-label b { color: var(--ink); font-weight: 600; }
.bs-swatches { display: flex; gap: .6rem; }
/* Feedback 5: Farbe und Rahmenhöhe sind echte Knöpfe (aria-pressed); Farbe tauscht Rad + Galerie, Größe nur die Markierung */
.bs-swatches button { width: clamp(72px, 6vw, 96px); aspect-ratio: 3 / 2; border-radius: 10px; border: 1px solid var(--line); background: #fff; overflow: hidden; padding: 3px; transition: border-color .25s, box-shadow .25s; }
.bs-swatches button:hover { border-color: rgba(10,10,10,.45); }
.bs-swatches button.is-on { border: 2px solid var(--ink); padding: 2px; }
.bs-swatches img { width: 100%; height: 100%; object-fit: contain; }
.bs-sizes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.bs-sizes button { min-width: 0; padding: .62rem .2rem; border: 1px solid var(--line); border-radius: 8px; text-align: center; font: 500 1rem/1 var(--font-display); color: var(--ink); background: var(--paper); transition: background .25s, color .25s, border-color .25s; }
.bs-sizes button:hover { border-color: var(--ink); }
.bs-sizes button.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.bx-shop button:focus-visible { outline: 2px solid var(--signal-btn); outline-offset: 2px; }
/* Tippziele ≥ 44 px auf Touch */
/* ohne JavaScript: Beispielansicht als reine Anzeige, keine toten Bedienelemente */
html:not(.js) .bx-gal { display: none; }
html:not(.js) .bx-shop button { pointer-events: none; }
.bs-stock { display: flex; align-items: center; gap: .55rem; margin-top: clamp(.9rem, 1.8vh, 1.3rem); font-size: .98rem; font-weight: 500; color: #1d7a3a; }
.bs-stock i { width: 9px; height: 9px; border-radius: 50%; background: #23a04b; box-shadow: 0 0 0 4px rgba(35,160,75,.18); flex: none; }
.bs-cart { display: flex; align-items: center; justify-content: center; gap: .65rem; min-height: 58px; margin-top: clamp(.9rem, 1.8vh, 1.3rem); border-radius: 999px; background: var(--signal-btn); color: var(--paper); font: 600 1.12rem/1 var(--font-display); }
.bs-cart svg { width: 21px; height: 21px; }
.bs-lease { margin-top: .8rem; text-align: center; font-size: .9rem; color: var(--muted); }
/* Desktop: Karte rechts, vertikal zwischen Kopf und Schrittleiste; das Rad rückt bis an ihre linke Kante.
   Ohne JS / reduziert: Karte immer sichtbar, Rad mit festem Versatz */
@media (min-width: 769px) {
  .bx-shop { position: absolute; right: var(--gutter); top: calc(var(--header-h) + .5rem); bottom: 8.5rem; height: fit-content; margin: auto 0; }
  .bx-pin { --shop-x: -17%; --shop-s: .86; }
  .bx-stage.is-shop .bx-canvas > canvas, .bx-stage.is-shop .bx-canvas .p3d-fallback,
  html:not(.js) .bx-canvas .p3d-fallback, html.motion-off .bx-canvas .p3d-fallback { transform: translateX(var(--shop-x)) scale(var(--shop-s)); }
  html.js:not(.motion-off) .bx-shop { opacity: 0; transform: translateY(24px) scale(.97); visibility: hidden; transition: opacity .6s var(--ease-out), transform .8s var(--ease-out), visibility 0s .8s; }
  html.js:not(.motion-off) .bx-stage.is-shop .bx-shop { opacity: 1; transform: none; visibility: visible; transition: opacity .6s var(--ease-out) .15s, transform .8s var(--ease-out) .15s, visibility 0s; }
}
/* niedrige Fenster: Karte kompakter, bleibt aber deutlich größer als eine Kachel */
@media (min-width: 769px) and (max-height: 860px) {
  .bx-shop { top: calc(var(--header-h) - .2rem); bottom: 7.6rem; padding: 1.2rem 1.5rem; }
  .bs-name { font-size: clamp(1.8rem, 2.4vw, 2.6rem); }
  .bs-price strong { font-size: clamp(1.8rem, 2.3vw, 2.5rem); }
  .bs-hint { margin-bottom: .6rem; } .bs-row, .bs-price, .bs-stock, .bs-cart { margin-top: .65rem; }
  .bs-sizes button { padding: .5rem .45rem; }
  .bs-cart { min-height: 50px; }
  .bs-swatches button { width: 72px; }
}
/* sehr niedrige Fenster (1024×700, 1280×720): Karte kompakt, beginnt unter dem Header, endet über der Schrittleiste */
@media (min-width: 769px) and (max-height: 760px) {
  .bx-shop { top: calc(var(--header-h) + .2rem); bottom: 6.4rem; padding: .9rem 1.2rem; font-size: .9rem; }
  .bs-hint { margin-bottom: .4rem; font-size: .78rem; }
  .bs-name { font-size: clamp(1.5rem, 2vw, 2rem); margin: .3rem 0 .15rem; }
  .bs-spec { font-size: .84rem; }
  .bs-price { margin-top: .45rem; } .bs-price strong { font-size: clamp(1.5rem, 1.9vw, 2rem); }
  .bs-uvp { font-size: .76rem; margin-top: .2rem; }
  .bs-row, .bs-stock, .bs-cart { margin-top: .45rem; }
  .bs-label { font-size: .84rem; margin-bottom: .3rem; }
  .bs-swatches button { width: 58px; }
  .bs-sizes button { padding: .38rem .2rem; font-size: .86rem; }
  .bs-stock { font-size: .86rem; }
  .bs-cart { min-height: 44px; font-size: .98rem; }
  .bs-lease { margin-top: .4rem; font-size: .8rem; }
}
/* Tippziele auf allen Geräten mit Touch (auch Hybrid/Tablet mit Tastatur: any-pointer), nach den kompakten Höhenstufen,
   damit deren min-width nicht gewinnt (Prüfbefund 26.10., 1024×700: 38 px). Rahmenhöhen als eine Reihe mit 7 gleich
   breiten Feldern – mit festen 44 px bräche die Reihe bei schmaler Karte um und die Karte liefe in die Schrittleiste. */
@media (any-pointer: coarse) {
  .bs-swatches button { min-height: 48px; min-width: 72px; }
  .bs-sizes { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
  .bs-sizes button { min-width: 0; min-height: 44px; }
}
/* Feedback 5: Produktansicht zum Ausprobieren. .bx-view liegt deckungsgleich über dem Rad (gleiche Transformation wie
   das Rad in Schritt 03, Radbreite --bike-w aus motion.js bxGeom). .is-alt = andere Farbe (Freisteller statt Partikel-Rad),
   .is-zoom = Studioansicht an der Stelle des Rads. Desktop nur in Schritt 03 (.is-shop), mobil/reduziert immer. */
.bx-view { position: absolute; inset: 0; pointer-events: none; transition: transform 1s var(--ease-out); }
.bx-color, .bx-zoom { position: absolute; left: 50%; top: 50%; max-width: none; height: auto; opacity: 0; transform: translate(-50%, -50%); transition: opacity .45s var(--ease-out); }
.bx-color { width: var(--bike-w, 100%); aspect-ratio: 1800 / 1079; }
.bx-zoom { width: calc(var(--bike-w, 100%) * .895); aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.bx-zoom:not([src]) { display: none; }
.bx-gal { display: none; }
.bg-tile { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: #141414; opacity: .85; transition: opacity .25s, outline-color .25s; outline: 2px solid transparent; outline-offset: 2px; }
.bg-tile img { width: 100%; height: 100%; object-fit: cover; }
.bg-tile:hover, .bg-tile:focus-visible { opacity: 1; }
.bg-tile.is-on { opacity: 1; outline-color: var(--paper); }
.bg-tile:focus-visible { outline-color: var(--signal); }
@media (max-width: 768px) {
  /* Prüfbefund 26.10.: wie auf dem Desktop an Schritt 03 gebunden – zurück in 01/02 kommt das Partikel-Rad wieder,
     die Auswahl (Farbe, Ansicht, Label) bleibt und erscheint beim nächsten Schritt 03 erneut */
  .bx-stage.is-shop.is-alt:not(.is-zoom) .bx-color, .bx-stage.is-shop.is-zoom .bx-zoom.is-on,
  html.motion-off .bx-stage.is-alt:not(.is-zoom) .bx-color, html.motion-off .bx-stage.is-zoom .bx-zoom.is-on { opacity: 1; }
  .bx-stage.is-shop.is-alt .bx-canvas > canvas, .bx-stage.is-shop.is-alt .bx-canvas .p3d-fallback,
  .bx-stage.is-shop.is-zoom .bx-canvas > canvas, .bx-stage.is-shop.is-zoom .bx-canvas .p3d-fallback,
  html.motion-off .bx-stage.is-alt .bx-canvas .p3d-fallback, html.motion-off .bx-stage.is-zoom .bx-canvas .p3d-fallback { opacity: 0; }
  /* mobil: Ansichten als wischbare Leiste direkt unter dem Rad, darunter die Karte, dann die Schritte */
  .bx-gal { order: 3; display: flex; gap: 8px; margin: .2rem 0 0; padding: 4px var(--gutter) .5rem; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); scrollbar-width: none; }
  .bx-gal::-webkit-scrollbar { display: none; }
  .bg-tile { flex: 0 0 104px; scroll-snap-align: start; }
  .bx-steps { order: 5; margin-top: 1.6rem; }
}
@media (min-width: 769px) {
  .bx-stage.is-shop .bx-view, html:not(.js) .bx-view, html.motion-off .bx-view { transform: translateX(var(--shop-x)) scale(var(--shop-s)); }
  .bx-stage.is-shop.is-alt:not(.is-zoom) .bx-color, .bx-stage.is-shop.is-zoom .bx-zoom.is-on,
  html.motion-off .bx-stage.is-alt:not(.is-zoom) .bx-color, html.motion-off .bx-stage.is-zoom .bx-zoom.is-on { opacity: 1; }
  .bx-stage.is-shop.is-alt .bx-canvas > canvas, .bx-stage.is-shop.is-alt .bx-canvas .p3d-fallback,
  .bx-stage.is-shop.is-zoom .bx-canvas > canvas, .bx-stage.is-shop.is-zoom .bx-canvas .p3d-fallback,
  html.motion-off .bx-stage.is-alt .bx-canvas .p3d-fallback, html.motion-off .bx-stage.is-zoom .bx-canvas .p3d-fallback { opacity: 0; }
  /* Galerie links neben dem Rad; Lage und Raster (3 Spalten × 2 Reihen oder Reihe unter dem Rad) rechnet motion.js aus dem freien Platz */
  .bx-gal[data-mode="grid"], .bx-gal[data-mode="row"] { position: absolute; z-index: 3; left: var(--gal-x, 0); top: var(--gal-y, 0); width: var(--gal-w, 300px);
    display: grid; grid-template-columns: repeat(var(--gal-cols, 2), minmax(0, 1fr)); gap: 10px; }
  html.js:not(.motion-off) .bx-gal { visibility: hidden; transition: visibility 0s .6s; }
  html.js:not(.motion-off) .bx-gal .bg-tile { opacity: 0; transform: translateX(-18px); transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), outline-color .25s; }
  html.js:not(.motion-off) .bx-stage.is-shop .bx-gal { visibility: visible; transition: visibility 0s; }
  html.js:not(.motion-off) .bx-stage.is-shop .bx-gal .bg-tile { opacity: .85; transform: none; transition: opacity .5s var(--ease-out) var(--d, .2s), transform .7s var(--ease-out) var(--d, .2s), outline-color .25s; }
  html.js:not(.motion-off) .bx-stage.is-shop .bx-gal .bg-tile:is(.is-on, :hover, :focus-visible) { opacity: 1; }
  .bg-tile:nth-child(1) { --d: .2s; } .bg-tile:nth-child(2) { --d: .24s; } .bg-tile:nth-child(3) { --d: .28s; }
  .bg-tile:nth-child(4) { --d: .32s; } .bg-tile:nth-child(5) { --d: .36s; } .bg-tile:nth-child(6) { --d: .4s; }
}
@media (max-width: 768px) {
  .bx-shop { order: 4; width: auto; margin: 1.4rem var(--gutter) 0; }
  .bs-name { font-size: clamp(1.9rem, 8.4vw, 2.6rem); }
  .bs-price strong { font-size: clamp(1.9rem, 8vw, 2.4rem); }
}

/* BIDEX-Erzählung (Feedback 4, Punkt 12): vier Kapitel, je Kapitel ein Foto. Standard (mobil, ohne JS, reduziert):
   Kapitel untereinander, Bild über dem Text. Desktop mit motion.js (.is-pinned): gepinnt, links Text, rechts randlos
   das Foto des Kapitels, Wechsel per Wischblende von unten (kein Zoom). */
.bxs { position: relative; }
.bxs-text { padding: var(--sec-pad) var(--gutter); }
.bxs-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bxs-logo { width: clamp(170px, 15vw, 270px); height: auto; }
.bxs-ticks { display: none; }
.bxs-media { display: none; }
.bxs-ch { padding: clamp(2rem, 5vw, 3.5rem) 0; border-top: 1px solid var(--line); }
.bxs-fig-m { position: relative; margin: 0 0 1.4rem; overflow: hidden; background: var(--ink); }
.bxs-fig-m img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bxs-kicker { font: 500 .78rem/1.3 var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--signal-text); margin-bottom: 1.1rem; }
.bxs-statement { font: 600 clamp(1.9rem, 3.3vw, 4rem)/1.06 var(--font-display); letter-spacing: -.035em; max-width: 21ch; text-wrap: balance; }
.bxs-title { font: 600 clamp(2.2rem, 4.2vw, 5.4rem)/.98 var(--font-display); letter-spacing: -.04em; max-width: 14ch; text-wrap: balance; }
.bxs-statement em, .bxs-title em { font-style: normal; background: linear-gradient(var(--signal), var(--signal)) 0 96% / 100% .07em no-repeat; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.bxs-lead { margin-top: clamp(1.2rem, 2.4vh, 1.8rem); color: var(--muted); font-size: clamp(1.05rem, 1.2vw, 1.25rem); line-height: 1.6; max-width: 46ch; }
.bxs-points { border-bottom: 1px solid var(--line); }
.bxs-points li { display: grid; grid-template-columns: 3rem minmax(0, 1fr); align-items: baseline; padding: clamp(.9rem, 1.8vh, 1.3rem) 0; border-top: 1px solid var(--line);
  font: 600 clamp(1.45rem, 2.4vw, 2.9rem)/1.08 var(--font-display); letter-spacing: -.03em; }
.bxs-points span { font: 500 .8rem/1 var(--font-display); letter-spacing: .12em; color: var(--signal-text); }
.bxs-ch .btn { margin-top: clamp(1.4rem, 3vh, 2.2rem); }
/* Tablet/Desktop ohne Pin: Bild links, Text rechts */
@media (min-width: 769px) {
  .bxs-ch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 5rem); align-content: center; }
  .bxs-ch > * { grid-column: 2; }
  .bxs-fig-m { grid-column: 1; grid-row: 1 / span 6; margin: 0; align-self: start; }
}
/* gepinnt */
@media (min-width: 961px) {
  .bxs.is-pinned .bxs-pin { height: 100vh; height: 100svh; min-height: 640px; display: grid; grid-template-columns: minmax(0, 44fr) minmax(0, 56fr); overflow: hidden; background: var(--paper); }
  .bxs.is-pinned .bxs-text { display: flex; flex-direction: column; min-height: 0; padding: calc(var(--header-h) + 1.6rem) clamp(2rem, 4vw, 5rem) clamp(2rem, 5vh, 3.5rem) var(--gutter); }
  .bxs.is-pinned .bxs-ticks { display: flex; gap: .45rem; font: 500 .74rem/1 var(--font-display); letter-spacing: .14em; color: var(--muted); }
  .bxs.is-pinned .bxs-ticks li { width: clamp(2.4rem, 3.4vw, 3.6rem); padding-top: .55rem; border-top: 2px solid var(--line); transition: border-color .4s, color .4s; }
  .bxs.is-pinned .bxs-ticks li.is-on { border-color: var(--signal); color: var(--ink); }
  .bxs.is-pinned .bxs-chapters { position: relative; flex: 1; min-height: 0; display: grid; align-items: center; }
  /* inaktive Kapitel nur unsichtbar (Screenreader lesen alle vier, motion.js nimmt deren Knöpfe aus der Tab-Folge) */
  .bxs.is-pinned .bxs-ch { grid-area: 1 / 1; display: block; padding: 0; border: 0; opacity: 0; pointer-events: none; transform: translateY(28px);
    transition: opacity .3s linear, transform .6s var(--ease-out); }
  .bxs.is-pinned .bxs-ch.is-on { opacity: 1; pointer-events: auto; transform: none; transition: opacity .45s var(--ease-out) .08s, transform .6s var(--ease-out) .08s; }
  .bxs.is-pinned .bxs-fig-m { display: none; }
  .bxs.is-pinned .bxs-media { display: block; position: relative; margin-top: var(--header-h); overflow: hidden; background: var(--ink); }
  /* Feedback 5 (Runde 2): Blende setzt sofort an (ease-out statt langsamem Anlauf), Ebenen vorab auf der GPU */
  .bxs-fig { position: absolute; inset: 0; margin: 0; clip-path: inset(100% 0 0 0); transition: clip-path 0s .7s; will-change: clip-path; }
  .bxs-fig.is-on { z-index: 2; clip-path: inset(0 0 0 0); transition: clip-path .7s cubic-bezier(.22, .61, .36, 1); }
  .bxs-fig img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------------------------------------------------------------- Sicherheit */
.security { padding: var(--sec-pad) 0; overflow: hidden; }
.security-media { position: absolute; inset: 0; overflow: hidden; }
.security-media img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.security-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(10,10,10,.55) 40%, rgba(10,10,10,.92) 100%); }
.security-inner { position: relative; z-index: 1; }
.sec-cards { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-dark); }
.sec-card { padding: 2rem 1.6rem 2.4rem 0; border-right: 1px solid var(--line-dark); position: relative; }
.sec-card + .sec-card { padding-left: 1.6rem; }
.sec-card:last-child { border-right: 0; }
.sc-ic { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--line-dark); border-radius: 50%; color: var(--signal); margin-bottom: 2rem; transition: background .4s, color .4s; }
.sc-ic svg { width: 22px; height: 22px; }
.sec-card:hover .sc-ic { background: var(--signal-btn); color: var(--paper); border-color: var(--signal-btn); }
.sec-card h3 { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .6rem; }
.sec-card p { color: var(--muted-dark); font-size: .95rem; }
@media (max-width: 960px) {
  .sec-cards { grid-template-columns: 1fr 1fr; }
  .sec-card { border-bottom: 1px solid var(--line-dark); }
  .sec-card:nth-child(2n) { border-right: 0; }
  .sec-card:nth-child(3) { padding-left: 0; }
}
@media (max-width: 560px) {
  .sec-cards { grid-template-columns: 1fr; }
  .sec-card, .sec-card + .sec-card { padding-left: 0; border-right: 0; }
}

/* ---------------------------------------------------------------- Ablauf */
.process { padding: var(--sec-pad) 0; }
.profile { position: relative; margin-bottom: 0; }
.profile-svg { width: 100%; height: clamp(120px, 16vw, 220px); overflow: visible; }
.pf-grid path { stroke: var(--line); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; stroke-dasharray: 2 6; }
.pf-ghost { fill: none; stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.pf-line { fill: none; stroke: var(--signal); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.profile-axis { display: flex; justify-content: space-between; font-family: var(--font-display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: .5rem 0; border-bottom: 1px solid var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { padding: 2rem 1.6rem 2.6rem 0; border-right: 1px solid var(--line); position: relative; }
.step + .step { padding-left: 1.6rem; }
.step:last-child { border-right: 0; }
.pf-points { position: absolute; inset: 0 0 auto 0; height: clamp(120px, 16vw, 220px); pointer-events: none; }
.pf-points li { position: absolute; left: var(--x); top: var(--y); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); transition: background .4s, border-color .4s, transform .4s var(--ease-out); }
.pf-points li span { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); font-family: var(--font-display); font-size: .7rem; letter-spacing: .12em; color: var(--muted); }
.pf-points li.is-on { background: var(--signal); border-color: var(--signal); transform: scale(1.15); }
html:not(.js) .pf-points li, html.motion-off .pf-points li { background: var(--signal); border-color: var(--signal); }
.step-no { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 1; letter-spacing: -.05em; margin-bottom: 1.2rem; }
.step h3 { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.02em; margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: .95rem; }
.process-show { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 6rem); align-items: center; margin-top: clamp(3rem, 6vw, 6rem); margin-right: calc(var(--gutter) * -1); }
.ps-text .display-md { margin-top: .4rem; }
.ps-text .lead { margin-top: 1.2rem; max-width: 46ch; }
.ps-points { display: grid; gap: 0; margin-top: 1.6rem; }
.ps-points li { display: flex; align-items: center; gap: .6rem; padding: .7rem 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 500; }
.ps-points li:last-child { border-bottom: 1px solid var(--line); }
.ps-points svg { width: 16px; height: 16px; color: var(--signal-text); flex: none; }
.process-screen { padding: 0; border-radius: 12px 0 0 12px; border-right: 0; background: #1b1b1b; box-shadow: 0 50px 100px -50px rgba(0,0,0,.55); }
.process-screen::before, .process-screen::after { content: none; }
.process-screen img { border-radius: 0; }
@media (max-width: 960px) {
  .process-show { grid-template-columns: 1fr; margin-right: 0; }
  .process-screen .sb-bar > i { display: none; }
  .process-screen .sb-bar { height: auto; padding: 6px 8px; }
  .process-screen .sb-url { max-width: none; margin: 0; border-radius: 8px; font-size: .68rem; white-space: normal; overflow-wrap: anywhere; }
  .process-screen { border-radius: 10px; border-right: 1px solid var(--ink-3); }
}
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .step { border-bottom: 1px solid var(--line); }
  .step:nth-child(2n) { border-right: 0; }
  .step:nth-child(3) { padding-left: 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding-left: 0; border-right: 0; }
}

/* ---------------------------------------------------------------- Termin */
.booking { padding: var(--sec-pad) 0; overflow: hidden; }
.booking-glow { position: absolute; left: 70%; top: 45%; width: 90vw; height: 60vw; max-width: 1600px; max-height: 1000px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(255,106,26,.22) 0%, rgba(255,106,26,.06) 40%, transparent 70%); pointer-events: none; }
.booking-grid { position: relative; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.booking-text { position: sticky; top: calc(var(--header-h) + 2rem); }
.booking-text .lead { margin-top: 1.4rem; }
.booking-facts { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.8rem 0; }
.booking-facts span { padding: .4rem .9rem; border: 1px solid var(--line-dark); border-radius: 999px; font-family: var(--font-display); font-size: .85rem; }
.booking-facts span:first-child { border-color: var(--signal); color: var(--signal); }
.booking-contact { display: grid; gap: .3rem; font-style: normal; color: var(--muted-dark); }
.booking-contact b { color: var(--paper); font-family: var(--font-display); font-weight: 600; }
.u-link-dark { color: var(--paper); }
.iframe-wrap { position: relative; border: 1px solid var(--ink-3); background: var(--ink-2); padding: 0 8px 8px; border-radius: 10px; overflow: hidden; box-shadow: 0 60px 120px -50px rgba(255,106,26,.45); }
.iframe-wrap:focus-within { outline: 2px solid var(--signal); outline-offset: 3px; }
.iframe-bar { display: flex; align-items: center; gap: 1rem; height: 40px; padding: 0 8px; font-family: var(--font-display); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); }
.ib-dots { display: inline-flex; gap: 6px; }
.ib-dots i { width: 7px; height: 7px; border-radius: 50%; background: #3a3a3a; }
.iframe-wrap::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--signal), var(--signal-2)); z-index: 1; }
.iframe-wrap iframe { width: 100%; height: 820px; border: 0; border-radius: 4px; background: var(--paper); }
/* Fassade: kein Request an den Kalender vor dem Klick */
.termin-facade { display: grid; justify-items: start; align-content: center; gap: 1rem; height: 820px; padding: clamp(1.6rem, 4vw, 3.4rem); border-radius: 4px; background: var(--ink); background-image: linear-gradient(to right, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px); background-size: calc(100% / 7) 100%, 100% 72px; }
.tf-ic { width: 40px; height: 40px; color: var(--signal); }
.tf-kicker { font-family: var(--font-display); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signal); }
.tf-title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.6rem); letter-spacing: -.03em; line-height: 1.05; max-width: 18ch; }
.tf-text { color: var(--muted-dark); font-size: .92rem; max-width: 58ch; }
html:not(.js) .tf-loading { display: none; }
html:not(.js) .termin-facade { height: auto; min-height: 360px; }
.termin-note { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1.6rem; margin-top: -1rem; color: var(--muted-dark); font-size: .9rem; }
.termin-note p { margin: 0; max-width: 58ch; }
.termin-note .link-arrow { color: var(--paper); }
@media (max-width: 960px) { .booking-grid { grid-template-columns: 1fr; } .booking-text { position: static; } .termin-note { grid-column: 1; } }
/* Handy: Kalenderschritt endet nach Zeitliste und „Weiter“ (~850 px) – Rest scrollt im iframe statt leerer Fläche */
.termin-top { display: none; }
@media (max-width: 960px) { .termin-top { display: inline-flex; color: var(--paper); justify-self: start; } }
@media (max-width: 768px) { .iframe-wrap iframe, .termin-facade { height: clamp(900px, 112svh, 1250px); } .termin-facade { align-content: start; } }

/* ---------------------------------------------------------------- FAQ */
.faq { padding: var(--sec-pad) 0; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-aside .lead { margin-top: 1.6rem; }
.faq-list { border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 3rem 1fr 40px; gap: 1rem; align-items: center;
  padding: 1.5rem 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.08rem, 1.5vw, 1.3rem); letter-spacing: -.015em; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.fq-no { font-size: .74rem; letter-spacing: .14em; color: var(--muted); font-weight: 500; }
.fq-ic { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .35s, border-color .35s, transform .5s var(--ease-out); }
.fq-ic svg { width: 18px; height: 18px; }
.faq-item summary:hover .fq-ic { border-color: var(--ink); }
.faq-item[open]:not(.is-closing) .fq-ic { transform: rotate(45deg); background: var(--signal-btn); border-color: var(--signal-btn); color: var(--paper); }
.faq-item summary:hover .fq-q { color: var(--signal-text); }
.faq-a { padding: 0 3.5rem 1.8rem 4rem; color: var(--muted); max-width: 70ch; }
@media (max-width: 960px) { .faq-grid { grid-template-columns: 1fr; } .faq-aside { position: static; } }
@media (max-width: 560px) { .faq-item summary { grid-template-columns: 2.2rem 1fr 36px; gap: .6rem; } .fq-ic { width: 36px; height: 36px; } .faq-a { padding: 0 0 1.6rem 2.8rem; } }

/* ---------------------------------------------------------------- Footer */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 5vw, 4rem); }
.footer-marquee { overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 1.2rem 0; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer-marquee-track { display: flex; width: max-content; animation: marquee 46s linear infinite reverse; }
.footer-marquee ul { display: flex; align-items: center; gap: 1rem; padding-right: 1rem; }
.footer-marquee li { display: grid; place-items: center; height: 56px; padding: 0 1.4rem; border-radius: 999px; background: var(--paper); }
.footer-marquee img { height: 26px; width: auto; max-width: 120px; object-fit: contain; }
.footer-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem 5rem; }
.footer-logo { width: auto; height: 56px; margin-bottom: 1.6rem; }
.footer-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 1.2rem; }
.footer-title em { color: var(--signal); }
.footer-lead > p { color: var(--muted-dark); max-width: 42ch; margin-bottom: 2rem; }
.footer-pills { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.fn-title { font-family: var(--font-display); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1rem; }
.footer-nav li a { display: inline-block; padding: .3rem 0; color: rgba(255,255,255,.86); background: linear-gradient(var(--signal), var(--signal)) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease-out), color .3s; }
.footer-nav li a:hover, .footer-nav li a:focus-visible { color: var(--paper); background-size: 100% 1px; }
.footer-partner { position: relative; margin-top: clamp(3rem, 6vw, 5rem); overflow: hidden; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); scroll-margin-top: var(--header-h); }
.fp-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.footer-partner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.25) 100%); }
.fp-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 5rem; align-items: end; padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3rem, 7vw, 6rem); }
.fp-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 4.6rem); line-height: 1; letter-spacing: -.04em; margin-bottom: 1rem; }
.fp-title em { font-style: normal; color: var(--muted-dark); }
.fp-lead { color: rgba(255,255,255,.82); max-width: 46ch; }
.fp-sub { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .6rem; }
.fp-inner p:not(.fn-title):not(.fp-lead) { color: rgba(255,255,255,.82); max-width: 54ch; margin-bottom: 1.6rem; }
@media (max-width: 960px) { .fp-inner { grid-template-columns: 1fr; } }
.footer-word {
  --fill: 100%;
  margin: clamp(2rem, 5vw, 4rem) 0 0; padding: 0 var(--gutter); text-align: center; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2.8rem, 13.2vw, 15rem); line-height: .82; letter-spacing: -.055em;
  color: var(--paper);
  background: linear-gradient(90deg, currentColor var(--fill), transparent 0);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.5);
  user-select: none;
}
.footer-word.is-filled { -webkit-text-stroke-color: transparent; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-top: 1.6rem; padding-bottom: 1.6rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--muted-dark); }

.made { display: inline-flex; align-items: center; gap: .45rem; }
.made-ic { width: 16px; height: 16px; color: var(--signal); animation: spin 6s linear infinite; }
.legal { display: flex; gap: .4rem 1.2rem; flex-wrap: wrap; }
.legal a { display: inline-flex; align-items: center; min-height: 32px; padding: 0 .2rem; }
.legal a:hover { color: var(--paper); }
.to-top-link { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; color: var(--paper); transition: background .3s, color .3s; }
.to-top-link svg { width: 18px; height: 18px; }
.to-top-link:hover { background: var(--signal-btn); color: var(--paper); border-color: var(--signal-btn); }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-nav { grid-template-columns: 1fr 1fr; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------------------------------------------------------------- Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------------------------------------------------------------- Mobil-Feinschliff */
@media (max-width: 768px) {
  :root { --header-h: 64px; --sec-pad: 3.4rem; }
  .feature { padding: 1rem 0; }
  .stat { padding: 1.1rem .8rem 1.1rem 0; }
  /* Hero mobil: Foto bildschirmfüllend, Headline oben, Lead + CTAs unten – der Fahrer (Bildmitte) bleibt frei */
  .hero-ctas { position: relative; z-index: 2; margin: 0 var(--gutter); flex-wrap: nowrap; }
  .hero-ctas .btn { flex: 1 1 0; min-height: 48px; padding: .7rem .9rem; font-size: .92rem; }
  .display-xl { font-size: clamp(2.6rem, 13vw, 4.4rem); }
  .btn { white-space: normal; text-align: center; }
}

/* Mobil: fester Balken „Termin buchen“ nach dem Hero; der Nach-oben-Knopf entfällt dort (überdeckte Text und Kalender) */
.m-cta { display: none; }
@media (max-width: 768px) {
  .back-to-top { display: none; }
  .m-cta {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 950;
    display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; border-radius: 999px;
    background: var(--signal-btn); color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: 1rem;
    box-shadow: 0 14px 34px -12px rgba(0,0,0,.6);
    transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform .45s var(--ease-out), opacity .3s, visibility .45s;
  }
  .m-cta svg { width: 18px; height: 18px; }
  .m-cta.is-visible { transform: none; opacity: 1; visibility: visible; }
  body.nav-open .m-cta { visibility: hidden; opacity: 0; }
  .footer-bottom { padding-bottom: 5.5rem; }
  /* Tippziele >= 44 px (Prüfbefund Feedback 4) */
  .footer-nav li a { padding: .7rem 0; }
  .legal a { min-height: 44px; }
  .to-top-link { width: 44px; height: 44px; }
  .brand { min-height: 44px; }
  .link-arrow { min-height: 44px; }
}

/* ---------------------------------------------------------------- Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track, .footer-marquee-track, .made-ic, .chain, .chain-line { animation: none !important; }
  .marquee { overflow-x: auto; }
  .marquee-set[aria-hidden="true"], .footer-marquee ul + ul { display: none; }
  .display em.ul { background-size: 100% .07em !important; }
}
html.motion-off .display em.ul { background-size: 100% .07em; }

/* ohne JS gibt es keinen Farbwechsel – Header dann nicht fest, er bleibt über dem dunklen Hero */
html:not(.js) .site-header { position: absolute; }

/* ==========================================================================
   Hero als Scroll-Film (Nutzer-Feedback 3, Punkt 8): sechs CUBE-Fotos aus verschiedenen Serien und Umgebungen,
   hero-film.js schneidet sie beim Scrollen (Kamerafahrt + radiale Unschärfe im Übergang).
   Randlos 100vw x 100svh; Text nie über dem Fahrer (Fokuspunkte je Einstellung, Seite je Tafel).
   ========================================================================== */
.hero-film .hero-pin { justify-content: flex-start; }
.hf-media { position: absolute; inset: 0; overflow: hidden; background: var(--ink); }
.hf-frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; opacity: 0; will-change: transform, opacity; }
.hf-frame:first-child { opacity: 1; object-position: 50% 50%; }
#hero .hf-frame:first-child { object-position: 75% 50%; }
#verbunden .hf-frame:first-child { object-position: 73% 58%; }
.hf-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .4s linear; }
.hf-gl-live .hf-canvas { opacity: 1; }
.hf-gl-live .hf-frame { visibility: hidden; }

/* Lesbarkeit: links (Standard) bzw. rechts (Tafel mit Fahrer links) abdunkeln, unten immer */
[data-film] .hero-shade { background:
  linear-gradient(90deg, rgba(10,10,10,.78) 0%, rgba(10,10,10,.5) 30%, rgba(10,10,10,0) 58%),
  linear-gradient(0deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,0) 34%),
  linear-gradient(180deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,0) 22%);
  transition: opacity .5s linear; }
[data-film] .hero-shade::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .5s linear;
  background: linear-gradient(270deg, rgba(10,10,10,.8) 0%, rgba(10,10,10,.5) 32%, rgba(10,10,10,0) 60%); }

.hf-copy { position: relative; z-index: 2; flex: 1; display: grid; align-items: center;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 0; }
.hf-beat { grid-area: 1 / 1; max-width: min(46rem, 52vw); }
.hf-beat[data-side="right"] { justify-self: end; text-align: right; }
/* Wechsel ohne Doppelbelichtung: die alte Tafel ist weg, bevor die neue kommt */
html.js .hf-beat { opacity: 0; transform: translateY(28px); transition: opacity .22s linear, transform .5s var(--ease-out); pointer-events: none; }
html.js .hf-beat.is-on { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s var(--ease-out) .22s, transform .8s var(--ease-out) .22s; }
.hf-beat .hero-title { margin-bottom: 0; }
.hf-line { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; line-height: .95;
  font-size: clamp(2.6rem, 5vw, 7.5rem); color: var(--paper); margin: 0 0 1.2rem; text-wrap: balance; }
.hf-line .h-outline { display: block; }
.hf-sub { font-size: clamp(1.1rem, 1.35vw, 1.45rem); line-height: 1.45; color: rgba(255,255,255,.9); max-width: 36ch; margin: 0; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.hf-beat .hero-title + .hf-sub { margin-top: clamp(1rem, 2.4vh, 1.8rem); }
.hf-beat[data-side="right"] .hf-sub { margin-left: auto; }

.hf-bar { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem;
  padding: 0 var(--gutter) clamp(1.6rem, 4vh, 3rem); }
.hf-bar .hero-ctas { margin: 0; }
.hf-prog { display: flex; gap: 6px; padding-bottom: .9rem; }
.hf-prog i { display: block; width: clamp(18px, 2.4vw, 44px); height: 2px; background: rgba(255,255,255,.28); transition: background .3s linear; }
.hf-prog i.is-on { background: var(--signal); }


@media (max-width: 768px) {
  /* Hochkant: Bild oben, Text und Knöpfe darunter – nichts liegt über dem Rad */
  .hero-film .hero-pin { padding: 0; justify-content: flex-start; }
  [data-film] .hf-media { bottom: 38%; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%); mask-image: linear-gradient(180deg, #000 78%, transparent 100%); }
  [data-film] .hero-shade { background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,0) 18%); }
  [data-film] .hero-shade::after { display: none; }
  .hf-copy { position: absolute; left: 0; right: 0; bottom: calc(clamp(1.6rem, 4vh, 3rem) + 48px + 62px); top: auto; padding: 0 var(--gutter); align-items: end; min-height: 34%; }
  .hf-beat, .hf-beat[data-side="right"] { max-width: none; justify-self: start; text-align: left; }
  .hf-beat[data-side="right"] .hf-sub { margin-left: 0; }
  .hf-beat .hero-title { font-size: clamp(2.3rem, 10.6vw, 4.4rem); }
  .hf-line { font-size: clamp(2rem, 9vw, 3.4rem); margin-bottom: .7rem; }
  .hf-sub { font-size: 1rem; }
  .hf-bar { position: absolute; left: 0; right: 0; bottom: 0; }
  .hf-bar .hero-ctas { flex: 1; flex-wrap: nowrap; }
  .hf-bar .hero-ctas .btn { flex: 1 1 0; min-height: 48px; padding: .7rem .9rem; font-size: .92rem; }
  .hf-prog { position: absolute; left: var(--gutter); right: var(--gutter); top: -22px; padding: 0; }
  .hf-prog i { flex: 1; width: auto; }
}
.hf-beat .hero-title { margin: 0; position: static; }
/* Feedback 5: alle Tafeln (Hero und #verbunden) links und vertikal mittig – kein data-valign mehr; Bildwahl/Fokuspunkt
   halten den Fahrer rechts der Textspalte */
/* Fahrer steht in den ersten Einstellungen in der Bildmitte: Textspalte endet vor 42 % der Breite */
@media (min-width: 769px) {
  .hf-beat { max-width: min(46rem, 40vw); }
  .hf-beat .hero-title { font-size: clamp(2.8rem, 4.5vw, 8.4rem); max-width: none; }
  .hf-line { font-size: clamp(2.4rem, 4.2vw, 6.8rem); }
}
/* große Monitore: Tafel mitwachsen lassen, sonst bricht die Headline bei 2560 vierzeilig um (Prüfbefund Feedback 4) */
@media (min-width: 1700px) {
  #hero .hf-beat { max-width: 44vw; }
  /* Prüfbefund 26.10.: Tafel 6 „Wir machen den Rest.“ lief bei breiten Fenstern einzeilig bis an den ersten Fahrer */
  #hero .hf-beat[data-beat="5"] .hf-line { max-width: 34vw; }
}
@media (max-width: 768px) {
  .vb-film .hf-copy { bottom: calc(clamp(1.6rem, 4vh, 3rem) + 3.6rem); }
  .vb-film .hf-beat .display { font-size: clamp(2.2rem, 9.5vw, 3.6rem); }
}

/* Ohne JS / reduzierte Bewegung (Abnahme 25.10.): kein Pin, alle Tafeln lesbar untereinander */
html:not(.js) .hero-film .hero-pin, html:not(.js) .vb-pin, html.motion-off .hero-film .hero-pin, html.motion-off .vb-pin { height: auto; min-height: 100vh; min-height: 100svh; }
html:not(.js) .hf-copy, html.motion-off .hf-copy { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(2.5rem, 6vh, 4.5rem); padding-bottom: 2.5rem; }
/* Desktop: erstes Foto bleibt als Bühne stehen (sticky), die Tafeln laufen links daran vorbei – nie über dem Fahrer */
@media (min-width: 769px) {
  html:not(.js) .hero-film, html.motion-off .hero-film, html:not(.js) .vb-film, html.motion-off .vb-film,
  html:not(.js) .hero-film .hero-pin, html.motion-off .hero-film .hero-pin, html:not(.js) .vb-pin, html.motion-off .vb-pin { overflow: clip; }
  html:not(.js) [data-film] .hf-media, html.motion-off [data-film] .hf-media,
  html:not(.js) [data-film] .hero-shade, html.motion-off [data-film] .hero-shade { position: sticky; inset: auto; top: 0; flex: none; width: 100%; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; }
  html:not(.js) .hf-copy, html.motion-off .hf-copy { padding-top: calc(var(--header-h) + 18vh); padding-bottom: 18vh; }
}
html:not(.js) .hf-beat, html.motion-off .hf-beat { grid-area: auto; justify-self: start; align-self: auto; text-align: left; opacity: 1; transform: none; }
html:not(.js) .hf-beat .hf-sub, html.motion-off .hf-beat .hf-sub { margin-left: 0; }
html:not(.js) .hf-prog, html.motion-off .hf-prog { display: none; }
html:not(.js) .hf-frame:not(:first-child), html.motion-off .hf-frame:not(:first-child) { display: none; }
@media (max-width: 768px) {
  html:not(.js) [data-film] .hf-media, html.motion-off [data-film] .hf-media { position: relative; inset: auto; height: 56vh; height: 56svh; -webkit-mask-image: none; mask-image: none; }
  html:not(.js) [data-film] .hero-shade, html.motion-off [data-film] .hero-shade { display: none; }
  html:not(.js) .hf-copy, html.motion-off .hf-copy, html:not(.js) .vb-film .hf-copy, html.motion-off .vb-film .hf-copy { position: static; padding-top: 1.6rem; min-height: 0; }
  html:not(.js) .hf-bar, html.motion-off .hf-bar { position: static; padding-top: .5rem; padding-bottom: 5.5rem; }
}
