/* Werkform · Produktseite (5. Fassung): Präzisions-Werkbank, klare Kanten, App im Mittelpunkt. Hell & dunkel. */

@font-face { font-family: "Geist"; src: url("/assets/fonts/geist-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("/assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --bg: #f4f5f3;
  --surface: #ffffff;
  --surface-2: #eaece8;
  --ink: #111514;
  --ink-2: #525b57;
  --ink-3: #8c9490;
  --line: rgba(17, 21, 20, 0.13);
  --line-2: rgba(17, 21, 20, 0.24);
  --accent: #156b57;
  --cnc: #c4581a;
  --deep: #113028;
  --r: 2px;
  --r-frame: 4px;
  --shadow: 0 24px 48px -28px rgba(17, 21, 20, 0.28);
  --wrap: 1260px;
  --pad: clamp(18px, 3.6vw, 44px);
  --nav: 56px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0d100f;
  --surface: #141918;
  --surface-2: #1a201e;
  --ink: #eff2f1;
  --ink-2: #9ca5a1;
  --ink-3: #5d6662;
  --line: rgba(255, 255, 255, 0.11);
  --line-2: rgba(255, 255, 255, 0.22);
  --accent: #47b89b;
  --cnc: #e38b43;
  --deep: #113028;
  --shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.82);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0d100f; --surface: #141918; --surface-2: #1a201e;
    --ink: #eff2f1; --ink-2: #9ca5a1; --ink-3: #5d6662;
    --line: rgba(255, 255, 255, 0.11); --line-2: rgba(255, 255, 255, 0.22);
    --accent: #47b89b; --cnc: #e38b43; --deep: #113028;
    --shadow: 0 28px 56px -28px rgba(0, 0, 0, 0.82);
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav) + 16px); overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 14px; border-radius: var(--r); background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }

/* ---------- Schrift ---------- */
.h1 { font-size: clamp(2.25rem, 5.2vw, 4.4rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.044em; }
.h2 { font-size: clamp(1.75rem, 3.3vw, 2.85rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.036em; text-wrap: balance; }
.h3 { font-size: 1.2rem; font-weight: 580; line-height: 1.2; letter-spacing: -0.022em; }
/* Kursiver Serifen-Akzent in Überschriften: eine Systemschrift, es wird nichts nachgeladen. */
.h1 i, .h2 i { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; letter-spacing: -0.05em; }
.lead { font-size: clamp(0.98rem, 1.1vw, 1.08rem); line-height: 1.5; color: var(--ink-2); max-width: 38em; text-wrap: pretty; }
.note { font-size: 0.84rem; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: 0.88rem; }

/* ---------- Schaltflächen: kantig, präzise, ohne Pillen-Optik ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 18px; border: 1px solid var(--ink); border-radius: var(--r);
  font: 500 0.92rem/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  color: var(--bg); background: var(--ink);
  transition: background-color 0.14s, color 0.14s, border-color 0.14s;
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
:root[data-theme="dark"] .btn:hover { color: #06130f; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn:hover { color: #06130f; } }
.btn-quiet { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn-quiet:hover, :root[data-theme="dark"] .btn-quiet:hover { color: var(--ink); background: var(--surface); border-color: var(--ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .btn-quiet:hover { color: var(--ink); background: var(--surface); border-color: var(--ink); } }
.btn-small { height: 32px; padding: 0 12px; font-size: 0.84rem; }

/* ---------- Kopfzeile ---------- */
.nav { position: sticky; top: 0; z-index: 30; height: var(--nav); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 90%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 22px; height: 22px; border-radius: 3px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-size: 0.89rem; }
.nav-links a { color: var(--ink-2); text-decoration: none; transition: color 0.14s; }
.nav-links a:hover { color: var(--ink); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; gap: 8px; font: 500 0.78rem/1 var(--mono); }
.lang a { color: var(--ink-3); text-decoration: none; }
.lang a[aria-current="true"], .lang a:hover { color: var(--ink); }
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; color: var(--ink); cursor: pointer; transition: border-color 0.14s, background-color 0.14s; }
.icon-btn:hover { border-color: var(--ink); background: var(--surface); }
.icon-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .sun { display: none; }
:root[data-theme="dark"] .icon-btn .sun { display: block; } :root[data-theme="dark"] .icon-btn .moon { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .icon-btn .sun { display: block; } :root:not([data-theme="light"]) .icon-btn .moon { display: none; } }

/* ---------- Startbereich: eine Aussage, ein Knopf, darunter die ruhige Bühne ---------- */
.hero { padding-top: clamp(44px, 9vh, 104px); padding-bottom: clamp(32px, 5vw, 64px); }
.hero-top { display: grid; gap: 0; justify-items: start; }
.hero .h1 { font-size: clamp(2.6rem, 6.6vw, 5.4rem); }
.h1 .line { display: block; overflow: hidden; padding: 0 0.08em 0.16em 0; margin-bottom: -0.16em; }
.h1 .line > span { display: block; }
.js .h1 .line > span { transform: translateY(108%); animation: line-up 0.8s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes line-up { to { transform: none; } }
.hero .lead { margin-top: clamp(18px, 2.2vw, 28px); max-width: 30em; font-size: clamp(1.05rem, 1.35vw, 1.22rem); }
.cta { display: flex; gap: 8px; flex-wrap: wrap; }
.hero .cta { margin-top: clamp(22px, 2.6vw, 32px); }
.hero .note { margin-top: 14px; }
.js .hero .lead, .js .hero .cta, .js .hero .note, .js .workbench { opacity: 0; animation: fade 0.65s 0.25s ease forwards; }
@keyframes fade { to { opacity: 1; } }

/* ---------- Vorführung im Startbereich ---------- */
.workbench { margin-top: clamp(40px, 6vw, 80px); }
.wb-viewport {
  position: relative; height: clamp(340px, 58vh, 600px);
  border-radius: var(--r-frame); background: var(--surface-2); overflow: clip;
}
#workbench-canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.workbench.is-dragging #workbench-canvas { cursor: grabbing; }
.wb-overlay-tl {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  display: flex; align-items: baseline; gap: 10px; pointer-events: none;
}
.wb-overlay-tl strong { font-size: 0.86rem; font-weight: 560; }
.wb-overlay-tl span { font: 400 0.76rem/1 var(--mono); color: var(--ink-2); }
.wb-overlay-br { position: absolute; right: 14px; bottom: 12px; z-index: 2; }

.wb-switch { display: inline-flex; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.wb-switch button {
  height: 30px; padding: 0 14px; border: 0; border-right: 1px solid var(--line); background: transparent;
  color: var(--ink-2); font: 500 0.82rem/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background-color 0.14s, color 0.14s;
}
.wb-switch button:last-child { border-right: 0; }
.wb-switch button:hover { color: var(--ink); }
.wb-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.wb-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.wb-progress i { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 0)); }

.wb-foot { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.wb-input {
  flex: 0 1 260px; min-width: 0; height: 32px; padding: 0; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--ink); font: 500 0.9rem/1 var(--sans);
}
.wb-input::placeholder { color: var(--ink-3); font-weight: 400; }
.wb-input:focus { outline: none; border-color: var(--accent); }
.wb-disclaimer { margin-left: auto; font-size: 0.78rem; color: var(--ink-3); }
.wb-mini {
  height: 30px; padding: 0 10px; border: 0; background: transparent;
  color: var(--ink-2); font: 500 0.8rem/1 var(--sans); cursor: pointer;
}
.wb-mini:hover { color: var(--ink); }

/* ---------- Aussage & Film ---------- */
.statement { padding-block: clamp(72px, 11vw, 150px) clamp(56px, 8vw, 110px); }
.film-section { padding-bottom: clamp(56px, 8vw, 110px); }
.statement p { max-width: 22em; font-size: clamp(1.55rem, 3.4vw, 2.9rem); font-weight: 500; line-height: 1.12; letter-spacing: -0.034em; }
.statement .w { transition: opacity 0.25s linear; }
.js .statement .w { opacity: 0.16; }
.js .statement .w.on { opacity: 1; }

.film { --inset: max(var(--pad), calc((100vw - var(--wrap)) / 2)); --round: 4px; position: relative; height: min(56.25vw, 84svh); }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #0d100f; clip-path: inset(0 var(--inset) round var(--round)); }
.film-bar { position: absolute; left: calc(var(--inset) + 14px); bottom: 14px; display: flex; gap: 6px; }
.film-btn { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--r); background: rgba(13, 16, 15, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff; font: 500 0.78rem/1 var(--sans); cursor: pointer; }
.film-btn:hover { background: rgba(13, 16, 15, 0.94); }
.film-btn svg { width: 11px; height: 11px; fill: currentColor; }

/* ---------- App-Bühne ---------- */
.showcase { position: relative; height: 420vh; border-top: 1px solid var(--line); }
.showcase-sticky { position: sticky; top: var(--nav); height: calc(100svh - var(--nav)); display: grid; grid-template-rows: auto auto auto; align-content: center; gap: clamp(14px, 2.2vh, 24px); }
.showcase-head { display: grid; grid-template-columns: 1fr minmax(0, 28em); align-items: end; gap: 12px 48px; min-height: 4.5em; }
.showcase h2 { font-size: clamp(1.5rem, 2.5vw, 2.25rem); }
.step-text { font-size: 0.94rem; line-height: 1.5; color: var(--ink-2); }
.step-text.swap { animation: fade 0.35s ease; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 16px; }
.steps li { position: relative; padding-top: 11px; border-top: 1px solid var(--line-2); cursor: pointer; }
.steps li::before { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(var(--fill, 0)); transform-origin: left; }
.steps strong { display: flex; align-items: baseline; gap: 9px; font-size: 0.93rem; font-weight: 500; color: var(--ink-3); transition: color 0.16s; }
.steps strong::before { content: attr(data-n); font: 400 0.74rem/1 var(--mono); }
.steps li.is-active strong, .steps li:hover strong { color: var(--ink); }
.js .steps i { display: none; }
.steps i { display: block; margin-top: 6px; font-style: normal; font-size: 0.88rem; color: var(--ink-2); }
.stage { min-width: 0; display: grid; justify-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--r-frame); background: var(--surface-2); perspective: 1800px; }
.window { position: relative; width: min(100%, calc((100svh - var(--nav) - 270px) * 1.71875)); aspect-ratio: 2200 / 1280; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r-frame); background: #f4f5f3; box-shadow: var(--shadow); transform-origin: 50% 100%; transform: rotateX(var(--tilt, 0deg)) scale(var(--zoom, 1)); }
.window > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.3s ease; }
.window > .is-active { opacity: 1; }
/* Kontrastverstärkung für die helle 3D-Sequenz im Showcase */
#seq { filter: contrast(1.12) saturate(1.18); }

/* ---------- Abschnitte & kantiges Modul-Raster (kein abgerundetes Bento-Template) ---------- */
.section { padding-block: clamp(68px, 9vw, 128px); border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: 1fr minmax(0, 30em); align-items: end; gap: 16px 56px; margin-bottom: clamp(28px, 3.8vw, 48px); }

.bento {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-frame); overflow: hidden;
}
.tile {
  grid-column: span 6; min-width: 0; display: flex; flex-direction: column; gap: 20px;
  padding: clamp(20px, 2.4vw, 32px); background: var(--surface);
}
.tile.w12 { grid-column: span 12; } .tile.w7 { grid-column: span 7; } .tile.w5 { grid-column: span 5; }
.tile.side { flex-direction: row; align-items: stretch; gap: clamp(24px, 4vw, 52px); }
.tile.side > .tile-text { flex: 0 1 38%; align-self: start; }
.tile.side > .demo, .tile.side > .shot { flex: 1 1 0; min-width: 0; }
.tile-text { display: grid; gap: 10px; align-content: start; max-width: 38em; }
.tile-text p { font-size: 0.94rem; color: var(--ink-2); }
.demo { display: grid; gap: 14px; align-content: start; }
.shot { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface-2); }
.shot img { width: 190%; max-width: none; margin-left: -90%; }

.list { display: grid; gap: 7px; font-size: 0.92rem; color: var(--ink-2); }
.list li { position: relative; padding-left: 16px; }
.list li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 5px; height: 5px; background: var(--accent); }
.formats { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.formats li { padding: 2px 7px; border: 1px solid var(--line-2); border-radius: var(--r); font: 500 0.72rem/1.5 var(--mono); color: var(--ink-2); }

/* ---------- Bedienelemente der Vorführungen (kantig, ohne Pillen-Brüche) ---------- */
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.controls label { font-size: 0.84rem; color: var(--ink-2); }
.seg { display: inline-flex; flex-wrap: nowrap; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); overflow: hidden; }
.seg button {
  height: 30px; padding: 0 11px; border: 0; border-right: 1px solid var(--line); background: transparent;
  color: var(--ink-2); font: 500 0.82rem/1 var(--sans); white-space: nowrap; cursor: pointer;
  transition: color 0.14s, background-color 0.14s;
}
.seg button:last-child { border-right: 0; }
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg-6 button { padding: 0 9px; font-size: 0.78rem; }

.field { height: 34px; min-width: 0; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--bg); color: var(--ink); font: 400 0.9rem/1 var(--sans); }
.field:focus { outline: none; border-color: var(--accent); }
.sliders { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px 20px; }
.slider { display: grid; grid-template-columns: 1fr auto; gap: 5px 8px; font-size: 0.82rem; color: var(--ink-2); }
.slider output { font: 500 0.78rem/1.5 var(--mono); color: var(--ink); }
.slider input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; margin: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--accent) var(--v, 50%), var(--line-2) var(--v, 50%)); }
input[type="range"]::-moz-range-track { height: 2px; background: var(--line-2); }
input[type="range"]::-moz-range-progress { height: 2px; background: var(--accent); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 10px; height: 14px; margin-top: -6px; border: 0; border-radius: 1px; background: var(--ink); }
input[type="range"]::-moz-range-thumb { width: 10px; height: 14px; border: 0; border-radius: 1px; background: var(--ink); }
.draw { width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--r); }
svg.draw { background: var(--bg); }
.dimc { stroke: var(--accent); fill: none; } .dimf { fill: var(--accent); stroke: none; }
.dimt { fill: var(--accent); font: 500 13px var(--mono); }
.cmp { fill: none; stroke: var(--ink-3); stroke-dasharray: 5 4; }

.gallery { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; }
.gallery button { aspect-ratio: 1; padding: 18%; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); cursor: pointer; transition: background-color 0.14s, border-color 0.14s; }
.gallery button svg { width: 100%; height: 100%; fill: var(--ink); }
.gallery button:hover { border-color: var(--accent); }
.gallery button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.gallery button[aria-pressed="true"] svg { fill: var(--bg); }
.gallery-empty { grid-column: 1 / -1; padding: 16px 0; font-size: 0.88rem; color: var(--ink-2); }
.pick { display: flex; align-items: center; gap: 18px; }
.pick > div { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.birch { background: #e6d9ae; }
.pick-plate { flex: none; width: 104px; height: 104px; padding: 14px; border: 1px solid rgba(74, 42, 16, 0.25); border-radius: var(--r); }
.pick-plate svg { width: 100%; height: 100%; }

/* Materialtest-Matrix: Achsen außen, saubere Testfelder ohne Text-Überlauf */
.matrix { display: grid; gap: 5px; padding: 10px; border: 1px solid rgba(74, 42, 16, 0.28); border-radius: var(--r); align-items: center; }
.matrix-head { font: 500 0.68rem/1.2 var(--mono); color: #3a220e; text-align: center; white-space: nowrap; }
.matrix-corner { font-size: 0.6rem; color: #5b3a1c; text-align: left; }
.matrix-row-head { text-align: right; padding-right: 4px; }
.matrix-cell { position: relative; aspect-ratio: 1.35; border: 1px solid rgba(74, 42, 16, 0.18); border-radius: 1px; background: rgba(255, 255, 255, 0.24); }
.matrix-swatch { position: absolute; inset: 14%; border-radius: 1px; }
.matrix-axis { display: flex; justify-content: space-between; gap: 12px; font-size: 0.78rem; color: var(--ink-2); }

/* Maschinen */
.machine h3 + p { margin-top: -12px; }
.machine svg.draw { max-height: 290px; padding: 10px; }
.tile.others { flex-direction: row; align-items: start; gap: clamp(24px, 4vw, 52px); }
.tile.others > .tile-text { flex: 0 1 40%; }
.tile.others > .kv { flex: 1 1 0; min-width: 0; grid-template-columns: minmax(150px, auto) 1fr; }
.kv { display: grid; grid-template-columns: minmax(96px, auto) 1fr; font-size: 0.9rem; }
.kv dt, .kv dd { padding: 10px 0; border-top: 1px solid var(--line); }
.kv dt { padding-right: 18px; color: var(--ink-2); }
.steps-list { display: grid; gap: 0; counter-reset: step; }
.steps-list li { display: grid; grid-template-columns: 2.2em 1fr; gap: 2px 0; padding: 12px 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--ink-2); counter-increment: step; }
.steps-list li::before { content: counter(step); grid-row: span 2; font: 400 0.78rem/1.9 var(--mono); color: var(--ink-3); }
.steps-list strong { font-weight: 500; color: var(--ink); }

/* Textzeilen ohne Vorführung */
.rows { margin-top: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 5vw, 72px); }
.rows > div { padding: 20px 0 24px; border-top: 1px solid var(--line-2); }
.rows h3 { font-size: 1rem; font-weight: 540; line-height: 1.35; letter-spacing: -0.012em; }
.rows p { margin-top: 6px; font-size: 0.93rem; color: var(--ink-2); }

/* Film-Kacheln */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.clip { margin: 0; }
.clip video { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid var(--line); border-radius: var(--r-frame); background: #0d100f; }
.clip figcaption { margin-top: 8px; font-size: 0.82rem; color: var(--ink-2); }

/* Überblick & Fragen */
.scroll-x { overflow-x: auto; }
.spec { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 0.92rem; text-align: left; }
.spec th, .spec td { padding: 14px 22px 15px 0; border-top: 1px solid var(--line); vertical-align: top; }
.spec thead th { border-top: 0; font-size: 0.8rem; font-weight: 500; color: var(--ink-2); }
.spec tbody th { width: 9em; font-weight: 500; }
.spec td { color: var(--ink-2); }
.faq-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.faq-grid > .h2 { position: sticky; top: calc(var(--nav) + 28px); }
.faq details { border-top: 1px solid var(--line-2); }
.faq details:last-child { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 0; font-weight: 500; letter-spacing: -0.012em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(var(--ink), var(--ink)) 50% / 100% 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) 50% / 1.5px 100% no-repeat; transition: transform 0.2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 36px 20px 0; font-size: 0.94rem; color: var(--ink-2); max-width: 42em; }

/* Abschluss mit Preis */
.closing { display: grid; justify-items: center; gap: 0; padding: clamp(44px, 7vw, 96px) clamp(20px, 5vw, 64px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: var(--r-frame); background: var(--deep); color: #f1f5f3; text-align: center; }
.closing .h2 { font-size: clamp(2rem, 4.2vw, 3.5rem); }
.closing ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 24px; margin-top: 20px; font-size: 0.94rem; color: #b9cbc4; }
.closing .price-figure { margin-top: clamp(26px, 3.5vw, 44px); font-size: clamp(3rem, 6.2vw, 5rem); font-weight: 580; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.closing .note { margin-top: 10px; color: #b9cbc4; }
.closing .btn, .btn-light { margin-top: 24px; background: #f3f5f4; border-color: #f3f5f4; color: #0b0d0c; }
.closing .btn:hover { background: #fff; border-color: #fff; color: #0b0d0c; }

/* ---------- Kaufseite, Dankesseite, Rechtstexte ---------- */
.page-head { padding-top: clamp(36px, 5.5vw, 80px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(2.1rem, 4.8vw, 3.9rem); font-weight: 580; line-height: 1; letter-spacing: -0.045em; }
.page-head .lead { margin-top: 14px; }
.buy-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 5vw, 76px); align-items: start; padding-bottom: clamp(72px, 10vw, 130px); }
.buy-grid section + section { margin-top: clamp(36px, 4.5vw, 56px); }
.buy-grid section > .h3 { margin-bottom: 14px; }
.buy-grid section a:not(.btn) { color: var(--accent); }
.bom { width: 100%; border-collapse: collapse; font-size: 0.94rem; text-align: left; }
.bom thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.bom td { padding: 12px 0 13px; border-top: 1px solid var(--line); vertical-align: top; }
.bom tr:last-child td { border-bottom: 1px solid var(--line); }
.bom td:first-child { width: 2.4em; font: 400 0.78rem/2 var(--mono); color: var(--ink-3); }
.buy-grid .note { margin-top: 16px; max-width: 40em; }
.plate { position: sticky; top: calc(var(--nav) + 20px); display: grid; gap: 18px; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line-2); border-radius: var(--r-frame); background: var(--surface); }
.plate-head { display: flex; align-items: center; gap: 12px; }
.plate-head img { width: 42px; height: 42px; border-radius: 6px; }
.plate-name { font-size: 1.25rem; font-weight: 580; letter-spacing: -0.022em; }
.plate-field { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.plate-field span { color: var(--ink-2); }
.plate-field strong { font-weight: 500; text-align: right; }
.plate-price strong { font-size: 2rem; font-weight: 580; letter-spacing: -0.04em; line-height: 1.1; }
.plate .btn { width: 100%; }
.btn[aria-disabled="true"], .btn[aria-disabled="true"]:hover { cursor: not-allowed; background: var(--bg); border-color: var(--line-2); color: var(--ink-2); }
.btn-ghost { color: var(--ink); background: transparent; border-color: var(--line-2); }
.btn-ghost:hover { color: var(--ink); background: var(--surface); border-color: var(--ink); }
.access-form { display: grid; gap: 10px; }
.access-label { font-size: 0.86rem; font-weight: 500; }
.access-form .field { height: 40px; width: 100%; font-size: 1rem; }
.access-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.plate-state { font-size: 0.84rem; color: var(--ink-2); }
.plate-state a, .plate-check a { color: var(--accent); }
.plate-check { display: flex; align-items: flex-start; gap: 10px; font-size: 0.86rem; color: var(--ink-2); cursor: pointer; }
.plate-check input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--accent); }
.legal { max-width: 47em; margin-left: max(var(--pad), calc((100% - var(--wrap)) / 2)); padding-bottom: clamp(72px, 10vw, 130px); font-size: 0.96rem; }
.legal h2 { margin: 2em 0 0.55em; font-size: 1.2rem; font-weight: 580; letter-spacing: -0.02em; }
.legal p, .legal ul, .legal address { margin-bottom: 1em; color: var(--ink-2); font-style: normal; }
.legal ul { padding-left: 1.2em; list-style: disc; }
.legal li { margin-bottom: 0.4em; }
.legal a { color: var(--accent); }
.faq p a { color: var(--accent); }
.legal .box { padding: 16px 20px; border: 1px solid var(--line-2); border-radius: var(--r-frame); background: var(--surface); }
.legal .box p:last-child { margin-bottom: 0; }

/* ---------- Fußzeile ---------- */
.foot { border-top: 1px solid var(--line); padding-block: 32px 48px; font-size: 0.84rem; color: var(--ink-2); }
.foot-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px 48px; flex-wrap: wrap; }
.foot p { max-width: 48em; margin-top: 10px; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); }
.foot .brand { color: var(--ink); }

/* ---------- Schmale Fenster ---------- */
@media (max-width: 1020px) {
}
@media (max-width: 900px) {
  .nav-links { display: none; }
  .showcase-head { grid-template-columns: 1fr; min-height: 9em; align-items: start; align-content: start; }
  .steps { gap: 0 8px; grid-template-columns: repeat(4, auto); }
  .steps strong { font-size: 0.84rem; }
  .steps li:not(.is-active) strong { font-size: 0; gap: 0; }
  .steps li:not(.is-active) strong::before { font-size: 0.74rem; }
  .steps li.is-active { min-width: 9.5em; }
  .window { width: min(100%, calc((100svh - var(--nav) - 330px) * 1.71875)); min-width: min(100%, 280px); }
  .sec-head, .faq-grid, .buy-grid { grid-template-columns: 1fr; }
  .faq-grid > .h2 { position: static; }
  .tile, .tile.w7, .tile.w5 { grid-column: span 12; }
  .tile.side { flex-direction: column; }
  .tile.others { flex-direction: column; }
  .tile.others > .tile-text, .tile.others > .kv { flex: none; align-self: stretch; }
  .tile.others > .kv { grid-template-columns: 1fr; }
  .tile.others > .kv dd { border-top: 0; padding-top: 0; }
  .tile.others > .kv dt { padding-bottom: 4px; }
  .tile.side > .tile-text { flex: none; align-self: stretch; }
  .tile.side > .demo, .tile.side > .shot { flex: none; }
  .rows { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; gap: 16px; }
  .plate { position: static; }
  .gallery { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .wb-viewport { height: 320px; }
  .wb-overlay-tl { left: 12px; right: 12px; top: 12px; bottom: auto; flex-direction: column; gap: 4px; }
  .wb-overlay-br { right: 10px; bottom: 10px; }
  .wb-foot { flex-wrap: wrap; gap: 8px 16px; }
  .wb-input { flex: 1 1 100%; }
  .wb-disclaimer { margin-left: 0; flex: 1 1 0; }
  .seg-6 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .seg-6 button { border-bottom: 1px solid var(--line); }
  .seg-6 button:nth-child(3n) { border-right: 0; }
  .seg-6 button:nth-last-child(-n+3) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .film { height: 62vw; }
  .film-btn span { display: none; }
  .cta, .cta .btn { width: 100%; }
  .pick { flex-direction: column; align-items: flex-start; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .js .h1 .line > span { transform: none; animation: none; }
  .js .hero .lead, .js .hero .cta, .js .hero .note, .js .workbench { opacity: 1; animation: none; }
  .js .statement .w { opacity: 1; }
  .window > * { transition: none; }
  .step-text.swap { animation: none; }
}
