/* ==========================================================================
   FORMSYS GmbH – Website v2
   Farbe: Schwarz / Weiß / Grau; lebendiger, fein gerasterter Hintergrund
   (Canvas #bgfx) mit weichen Dither-Übergängen zwischen hellen und dunklen
   Bändern. Schrift: Jersey 20 (feine Pixel) für Display, IBM Plex Sans/Mono.
   Layout: volle Bänder, innen max. 1200 px. Figuren laufen frei über die Seite
   (Canvas #fx) und greifen in Überschriften ein (.ch-Buchstaben).
   ========================================================================== */

@import url("../fonts/fonts.css");

:root {
  /* Rohfarben: c0 = Grund, c1 = Gegenfarbe (Theme bestimmt, welche dunkel ist) */
  --c0: #0b0b0d; --c1: #f2f2ef;
  --bg: var(--c0); --fg: var(--c1);
  --bg-2: #141418; --fg-2: #a3a3ad;
  --line: #2a2a31; --line-2: #3d3d46;
  --px: var(--c1); --px-dim: #45454d;
  --ok: #9ad6a0; --err: #e39a9a;
  --f-display: "Jersey 20", "Courier New", monospace;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
  --w: 1200px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --r: 2px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    --c0: #f4f4f1; --c1: #0b0b0d; --bg-2: #ffffff; --fg-2: #5a5a64;
    --line: #d9d9d3; --line-2: #c0c0b9; --px-dim: #cfcfc8; --ok: #2f7d3a; --err: #a53535;
    color-scheme: light;
  }
}
:root[data-theme="light"] {
  --c0: #f4f4f1; --c1: #0b0b0d; --bg-2: #ffffff; --fg-2: #5a5a64;
  --line: #d9d9d3; --line-2: #c0c0b9; --px-dim: #cfcfc8; --ok: #2f7d3a; --err: #a53535;
  color-scheme: light;
}
/* Helle Bänder (Gegenfarbe): Tokens tauschen, Rest folgt automatisch */
.lit { --bg: var(--c1); --fg: var(--c0); --px: var(--c0);
  --bg-2: color-mix(in srgb, var(--c1) 90%, var(--c0)); --fg-2: color-mix(in srgb, var(--c0) 62%, var(--c1));
  --line: color-mix(in srgb, var(--c0) 18%, var(--c1)); --line-2: color-mix(in srgb, var(--c0) 30%, var(--c1));
  --px-dim: color-mix(in srgb, var(--c0) 22%, var(--c1)); }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--c0); color: var(--fg); font-family: var(--f-body); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
body::before { content: ""; position: fixed; inset: 0 0 auto; z-index: 60; height: env(safe-area-inset-top, 0px); background: var(--c0); }
#bgfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; image-rendering: pixelated; }
#fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 45; pointer-events: none; image-rendering: pixelated; }
main, .footer, .topbar { position: relative; z-index: 1; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
::selection { background: var(--fg); color: var(--bg); }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; }
html[data-lang="de"] body [lang="en"] { display: none !important; }
html[data-lang="en"] body [lang="de"] { display: none !important; }

.wrap { width: 100%; max-width: var(--w); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.band { padding-block: clamp(72px, 10vw, 140px); position: relative; color: var(--fg); }
.lit, .page-head { color: var(--fg); }
.band + .band { padding-top: clamp(56px, 8vw, 110px); }

/* ---------- Typografie ---------- */
.display { font-family: var(--f-display); font-weight: 400; line-height: 0.88; letter-spacing: .005em; text-wrap: balance; margin: 0; }
h1.display { font-size: clamp(44px, 10.5vw, 152px); }
[id] { scroll-margin-top: 92px; }
h2.display { font-size: clamp(44px, 6.8vw, 96px); }
h3.display { font-size: clamp(30px, 3.6vw, 48px); line-height: .95; }
h3 { font-family: var(--f-body); font-weight: 600; font-size: 21px; line-height: 1.3; margin: 0 0 10px; text-wrap: balance; }
h4 { margin: 0 0 10px; font-size: 17px; font-weight: 600; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.55vw, 22px); line-height: 1.5; color: var(--fg-2); max-width: 36em; }
.eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2);
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: currentColor; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.small { font-size: 13.5px; }
.muted { color: var(--fg-2); }
.sec-head { display: grid; gap: 18px; max-width: 50em; margin-bottom: clamp(36px, 5vw, 64px); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 14px; }
.prose ul { padding-left: 20px; }
.prose li + li { margin-top: 6px; }
.prose strong { font-weight: 600; }

/* Buchstaben der animierten Überschriften */
.w { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; transform-origin: 10% 100%; transition: transform .32s cubic-bezier(.3, 1.5, .5, 1), opacity .25s ease, clip-path .2s ease; will-change: transform; }
.ch.sp { width: .28em; }
.ch.tip { transform: rotate(-72deg) translate(-4%, 4%); }
.ch.eaten { transform: scale(0); opacity: 0; transition: transform .14s ease-in, opacity .14s ease-in; }
.ch.chip { clip-path: polygon(0 0, 100% 0, 100% 52%, 0 100%); }
.ch.zap { background: var(--fg); color: var(--bg); }
.ch.shake { animation: shake .3s linear; }
@keyframes shake { 25% { transform: translate(-3px, 1px) } 50% { transform: translate(3px, -1px) } 75% { transform: translate(-2px, 0) } }
.shard { position: absolute; z-index: 44; pointer-events: none; font: inherit; color: inherit; }

/* ---------- Schaltflächen ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border: 2px solid var(--fg); border-radius: var(--r);
  background: var(--fg); color: var(--bg); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease; box-shadow: 4px 4px 0 0 var(--line-2); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--line-2); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 0 var(--line-2); }
.btn.ghost { background: transparent; color: var(--fg); box-shadow: none; }
.btn.ghost:hover { background: var(--fg); color: var(--bg); }
.btn.sm { min-height: 40px; padding: 0 14px; font-size: 14.5px; box-shadow: 3px 3px 0 0 var(--line-2); }
.btn .px-arrow { width: 14px; height: 14px; fill: currentColor; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Kopfzeile + Dropdown ---------- */
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--c0) 84%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--f-display); font-size: 30px; letter-spacing: .03em; line-height: 1; }
.brand svg { width: 26px; height: 26px; }
.brand svg rect { fill: var(--fg); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-l { display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-size: 15px; font-weight: 500; text-decoration: none; border-radius: var(--r);
  color: var(--fg-2); background: transparent; border: 0; cursor: pointer; }
.nav-l:hover, .dd.open > .nav-l { color: var(--fg); background: color-mix(in srgb, var(--fg) 8%, transparent); }
.nav-l svg { width: 8px; height: 5px; fill: currentColor; }
.nav .btn { min-height: 40px; padding: 0 16px; font-size: 15px; box-shadow: 3px 3px 0 0 var(--line-2); margin-left: 8px; }
.dd { position: relative; }
.dd-menu { position: absolute; top: calc(100% + 8px); left: 0; min-width: 320px; display: none; flex-direction: column; background: var(--c0); color: var(--c1);
  border: 1px solid var(--line); box-shadow: 8px 8px 0 0 color-mix(in srgb, var(--c1) 12%, transparent); padding: 6px; z-index: 55; }
.dd.open .dd-menu, .dd:focus-within .dd-menu { display: flex; }
.dd.hov .dd-menu { display: flex; }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd-menu a { display: grid; gap: 2px; padding: 12px 14px; text-decoration: none; border-radius: var(--r); font-size: 14px; color: var(--fg-2); }
.dd-menu a b { font-weight: 600; color: var(--fg); font-size: 15px; }
.dd-menu a:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); color: var(--fg); }
.toggles { display: flex; align-items: center; gap: 6px; }
.tgl { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer;
  font-family: var(--f-mono); font-size: 13px; letter-spacing: .06em; }
.tgl:hover { border-color: var(--fg); }
.tgl svg { width: 16px; height: 16px; } .tgl svg rect { fill: currentColor; }
.tgl .on { font-weight: 600; } .tgl .off { opacity: .5; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); background: transparent; cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; margin: auto; } .menu-btn svg rect { fill: currentColor; }
@media (max-width: 960px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; background: var(--c0);
    border-bottom: 1px solid var(--line); padding: 10px var(--gutter-r) 18px var(--gutter-l); gap: 2px; max-height: calc(100vh - 80px); overflow: auto; }
  .nav.open { display: flex; }
  .nav-l { padding: 14px 8px; font-size: 18px; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .dd-menu { position: static; display: flex; min-width: 0; border: 0; box-shadow: none; padding: 0 0 6px 12px; }
  .nav .btn { margin: 14px 0 0; justify-content: center; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 5vw, 80px) clamp(32px, 5vw, 64px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 26px; min-width: 0; }
.hero h1 .dim { color: var(--fg-2); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px 16px; font-family: var(--f-mono); font-size: 13px; color: var(--fg-2); letter-spacing: .04em; }
.hero-tags span::before { content: "■ "; font-size: 8px; vertical-align: 2px; }
.cloud { position: relative; aspect-ratio: 1 / 1; max-height: 600px; width: 100%; min-width: 0; }
.cloud canvas { width: 100%; height: 100%; cursor: crosshair; }
.cloud .cap { position: absolute; left: 0; right: 0; bottom: -6px; display: flex; justify-content: space-between; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); pointer-events: none; }
.cloud .cap .mono { color: var(--fg); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .cloud { order: -1; aspect-ratio: 4 / 3; max-height: 380px; } }

/* ---------- Laufband mit Fresser ---------- */
.ticker { position: relative; overflow: hidden; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ticker::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 120px; z-index: 2; background: linear-gradient(90deg, var(--c0) 40%, transparent); pointer-events: none; }
.ticker .muncher { position: absolute; left: 22px; top: 50%; width: 26px; height: 26px; margin-top: -13px; z-index: 3; }
.ticker .muncher path { fill: var(--fg); } .ticker .muncher .m-eye { fill: var(--c0); }
.ticker .muncher .m-closed { opacity: 0; animation: chomp .5s steps(1) infinite; } .ticker .muncher .m-open { animation: chomp2 .5s steps(1) infinite; }
@keyframes chomp { 0%, 49% { opacity: 0 } 50%, 100% { opacity: 1 } } @keyframes chomp2 { 0%, 49% { opacity: 1 } 50%, 100% { opacity: 0 } }
.ticker .track { display: flex; width: max-content; animation: tick 60s linear infinite; }
.ticker:hover .track { animation-play-state: paused; }
.ticker .item { font-family: var(--f-display); font-size: 26px; letter-spacing: .03em; padding-inline: 20px; white-space: nowrap; color: var(--fg-2); line-height: 1; }
.ticker .item b { color: var(--fg); font-weight: 400; }
.ticker .item::after { content: "•"; margin-left: 40px; color: var(--line-2); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .track, .ticker .muncher path { animation: none; } .ticker .muncher .m-closed { opacity: 0; } }

/* ---------- Karten, Raster ---------- */
.grid-lines { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.grid-lines > * { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: blur(2px); min-width: 0; }
.fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 18px 24px; align-content: start; transition: background .15s ease; }
.field:hover { background: color-mix(in srgb, var(--bg) 60%, transparent); }
.field .ico { width: 64px; height: 64px; } .field .ico svg { width: 100%; height: 100%; } .field .ico rect { fill: var(--fg); }
.field .num { grid-column: 1; font-family: var(--f-mono); font-size: 12px; color: var(--fg-2); letter-spacing: .1em; }
.field .body { grid-column: 2; display: grid; gap: 10px; min-width: 0; }
.field p { color: var(--fg-2); }
.field ul, .ticks { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 15px; }
.field li, .ticks li { display: flex; gap: 10px; align-items: baseline; }
.field li::before, .ticks li::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; background: var(--fg); transform: translateY(-1px); }
.field .more { font-size: 14px; font-weight: 500; margin-top: 4px; }
@media (max-width: 760px) { .fields { grid-template-columns: 1fr; } .field { grid-template-columns: 52px minmax(0, 1fr); } .field .ico { width: 52px; height: 52px; } }

/* ---------- KAI Produkte ---------- */
.kai-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.kai-card { border: 2px solid var(--fg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; align-content: start; min-width: 0;
  background: color-mix(in srgb, var(--bg) 78%, transparent); box-shadow: 10px 10px 0 0 color-mix(in srgb, var(--fg) 14%, transparent); }
.k-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.k-name { font-family: var(--f-display); font-size: clamp(36px, 3.8vw, 54px); line-height: .9; }
.k-badge { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--fg); padding: 5px 9px; }
.k-what { font-size: 19px; font-weight: 500; line-height: 1.4; }
.kai-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--fg-2); }
.kai-card li { display: flex; gap: 10px; } .kai-card li::before { content: "■"; font-size: 8px; line-height: 2.6; color: var(--fg); }
.k-foot { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 6px; }
.k-url { font-family: var(--f-mono); font-size: 13.5px; color: var(--fg-2); overflow-wrap: anywhere; }
.why3 { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.why3 h3 { font-size: 17px; } .why3 p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 860px) { .kai-grid, .why3 { grid-template-columns: 1fr; } }

/* ---------- Demos ---------- */
.demo { border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 86%, transparent); position: relative; }
.demo .tag { position: absolute; top: 10px; right: 12px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); z-index: 2; }
.demo canvas { width: 100%; height: auto; display: block; }
.demo-oracle canvas { aspect-ratio: 16 / 7; max-height: 420px; }
.demo-log { margin: 0; padding: 14px 16px 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-size: 12.5px; line-height: 1.6; color: var(--fg-2); min-height: 7.6em; white-space: pre-wrap; overflow: hidden; }
.demo-log b { color: var(--fg); font-weight: 500; }
.demo-print canvas { aspect-ratio: 16 / 9; max-height: 320px; }
/* Pay: Kasse, Lightning-Strecke, Telefon, Schrittleiste */
.demo-pay { padding: clamp(16px, 2.5vw, 28px); display: grid; gap: 20px; }
.demo-pay [data-s][hidden] { display: none !important; }
.pay-stage { display: grid; grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr); gap: 18px; align-items: start; }
.pos { width: min(100%, 250px); border: 3px solid var(--fg); padding: 14px; margin-inline: auto; display: grid; gap: 10px; background: var(--bg); position: relative; font-size: 13px; }
.pos .ttl, .phone .ttl { font-family: var(--f-display); font-size: 22px; line-height: 1; }
.pos-amt { display: flex; align-items: baseline; gap: 8px; font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.pos-amt .cur { font-size: 12px; color: var(--fg-2); } .pos-amt b { font-size: 30px; font-weight: 500; }
.pos-sat { font-family: var(--f-mono); font-size: 12px; color: var(--fg-2); }
.qr { position: relative; width: 112px; height: 112px; padding: 6px; background: #ffffff; border: 2px solid var(--fg); opacity: .25; transition: opacity .3s; }
.qr .qr-svg { width: 100%; height: 100%; } .qr-svg rect { fill: #0b0b0d; }
.demo-pay[data-step="2"] .qr, .demo-pay[data-step="3"] .qr, .demo-pay[data-step="4"] .qr { opacity: 1; }
.scanline { position: absolute; left: 6px; right: 6px; top: 6px; height: 2px; background: var(--fg); display: none; box-shadow: 0 0 6px var(--fg); }
.demo-pay[data-step="2"] .cam .scanline { display: block; animation: scan 1.1s ease-in-out infinite alternate; }
@keyframes scan { from { top: 10% } to { top: 88% } }
.pos .state { font-family: var(--f-mono); font-size: 12px; color: var(--fg-2); min-height: 1.5em; }
.pos .state .ok { color: var(--fg); font-weight: 500; }
.receipt { max-height: 0; overflow: hidden; opacity: 0; margin-top: -10px; background: var(--bg-2); border: 1px dashed var(--line-2); border-top: 0; padding: 0 10px; font-family: var(--f-mono); font-size: 10.5px; display: grid; gap: 2px; color: var(--fg); transition: max-height .7s cubic-bezier(.2,.8,.3,1), opacity .4s, padding .4s; }
.demo-pay[data-step="5"] .receipt { max-height: 130px; opacity: 1; padding: 8px 10px; }
.route { position: relative; height: 60px; display: flex; align-items: center; justify-content: space-between; align-self: center; margin-top: 120px; }
.route i { width: 8px; height: 8px; background: var(--line-2); transition: background .15s, box-shadow .15s; }
.route i.lit { background: var(--fg); box-shadow: 0 0 6px var(--fg); }
.bolt-svg { position: absolute; left: 0; top: 50%; width: 22px; height: 34px; margin-top: -17px; fill: var(--fg); opacity: 0; filter: drop-shadow(0 0 4px var(--fg)); }
.demo-pay[data-step="4"] .bolt-svg { opacity: 1; animation: fly 1.3s steps(5, end) forwards; }
@keyframes fly { from { left: 0 } to { left: calc(100% - 22px) } }
.route-lbl { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.phone { width: min(100%, 236px); aspect-ratio: 9 / 17; border: 3px solid var(--fg); border-radius: 20px; padding: 14px 12px; margin-inline: auto; display: grid; grid-template-rows: auto 1fr; gap: 10px; font-size: 13px; background: var(--bg); position: relative; }
.phone::before { content: ""; width: 40px; height: 4px; background: var(--fg); margin: 0 auto; border-radius: 2px; }
.phone .scr { display: grid; gap: 8px; align-content: start; min-width: 0; }
.cam { position: relative; aspect-ratio: 1 / 1; background: var(--bg-2); border: 1px solid var(--line); display: grid; place-items: center; padding: 16px; }
.cam .qr-svg { width: 100%; height: 100%; opacity: .92; }
.cam .qr-svg rect { fill: var(--fg); }
.cam .corner { position: absolute; width: 14px; height: 14px; border: 2px solid var(--fg); }
.cam .tl { top: 5px; left: 5px; border-right: 0; border-bottom: 0; } .cam .tr { top: 5px; right: 5px; border-left: 0; border-bottom: 0; }
.cam .bl { bottom: 5px; left: 5px; border-right: 0; border-top: 0; } .cam .br { bottom: 5px; right: 5px; border-left: 0; border-top: 0; }
.phone .hint { font-size: 11px; color: var(--fg-2); }
.phone .row { display: flex; justify-content: space-between; gap: 8px; font-family: var(--f-mono); font-size: 11.5px; color: var(--fg-2); }
.phone .row.total { color: var(--fg); font-weight: 500; border-top: 1px solid var(--line); padding-top: 6px; }
.phone .amt { font-family: var(--f-mono); font-size: 24px; font-variant-numeric: tabular-nums; }
.pbtn { border: 2px solid var(--fg); text-align: center; padding: 9px; font-weight: 600; font-size: 13px; background: var(--fg); color: var(--bg); transition: transform .12s, background .2s, color .2s; }
.demo-pay[data-step="4"] .pbtn { background: var(--bg); color: var(--fg); transform: scale(.97); }
.big-ok { width: 48px; height: 48px; border: 3px solid var(--fg); border-radius: 50%; display: grid; place-items: center; margin: 12px auto 4px; animation: pop .4s cubic-bezier(.3,1.6,.5,1); }
.big-ok i { width: 18px; height: 10px; border-left: 3px solid var(--fg); border-bottom: 3px solid var(--fg); transform: rotate(-45deg) translate(1px, -2px); }
@keyframes pop { from { transform: scale(.4) } to { transform: scale(1) } }
.bal { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; color: var(--fg-2); gap: 8px; }
.bal b { font-family: var(--f-mono); font-size: 20px; color: var(--fg); font-weight: 500; }
.pay-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.pay-steps li { font-size: 12.5px; padding-top: 8px; border-top: 2px solid var(--line-2); color: var(--fg-2); min-width: 0; }
.pay-steps li::before { content: attr(data-i) "  "; font-family: var(--f-mono); }
.pay-steps li.done { border-color: var(--fg); } .pay-steps li.cur { border-color: var(--fg); color: var(--fg); font-weight: 600; }
.pay-cap { font-size: 15px; color: var(--fg-2); min-height: 3.2em; }
@media (max-width: 760px) {
  .pay-stage { grid-template-columns: 1fr; }
  .route { height: 70px; flex-direction: column; width: 10px; margin: 0 auto; }
  .bolt-svg { left: 50%; margin-left: -11px; top: 0; margin-top: 0; transform: rotate(90deg); }
  .demo-pay[data-step="4"] .bolt-svg { animation-name: flyv; }
  @keyframes flyv { from { top: 0 } to { top: calc(100% - 34px) } }
  .route-lbl { left: 24px; bottom: auto; top: 50%; transform: translateY(-50%); white-space: nowrap; }
  .pay-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .demo-pay .bolt-svg, .demo-pay .scanline, .big-ok { animation: none !important; } .demo-pay[data-step="4"] .bolt-svg { left: calc(50% - 11px); } }

/* ---------- Erklärfilm (eigener Player, immer dunkel wie ein Film) ---------- */
.film { border: 2px solid var(--fg); background: #0b0b0d; color: #f2f2ef; box-shadow: 10px 10px 0 0 var(--line-2); }
.film-screen { position: relative; aspect-ratio: 16 / 9; background: #0b0b0d; overflow: hidden; }
.film-cv { width: 100%; height: 100%; display: block; }
.film-big { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; background: color-mix(in srgb, #0b0b0d 40%, transparent); border: 0; cursor: pointer; color: #f2f2ef; }
.film-big svg { width: 72px; height: 72px; fill: #f2f2ef; filter: drop-shadow(0 0 10px rgba(0,0,0,.6)); transition: transform .15s; }
.film-big span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; border: 1px solid #f2f2ef; padding: 8px 12px; background: rgba(11,11,13,.6); }
.film-big:hover svg { transform: scale(1.08); }
.film.started .film-big { display: none; } .film.ended .film-big { display: grid; }
.film-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 16px; text-align: center; font-size: clamp(13px, 1.7vw, 21px); font-weight: 500; line-height: 1.35; color: #f2f2ef; pointer-events: none; background: linear-gradient(transparent, rgba(11,11,13,.75)); text-wrap: balance; }
.film-bar { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-top: 2px solid var(--fg); background: #0b0b0d; }
.film-play, .film-restart { width: 36px; height: 36px; flex: 0 0 auto; border: 1px solid #3d3d46; background: transparent; color: #f2f2ef; cursor: pointer; display: grid; place-items: center; }
.film-play:hover, .film-restart:hover { border-color: #f2f2ef; }
.film-play svg, .film-restart svg { width: 14px; height: 14px; fill: currentColor; }
.film.playing .i-play { display: none; } .film:not(.playing) .i-pause { display: none; }
.film-track { flex: 1; position: relative; height: 10px; background: #2a2a31; cursor: pointer; min-width: 0; }
.film-track:focus-visible { outline: 2px solid #f2f2ef; outline-offset: 3px; }
.film-prog { height: 100%; width: 0; background: #f2f2ef; }
.film-chapters i { position: absolute; top: -3px; width: 2px; height: 16px; background: #5a5a64; }
.film-time { font-size: 12px; color: #a3a3ad; white-space: nowrap; }
@media (max-width: 480px) { .film-cap { font-size: 12px; padding-bottom: 10px; } .film-time { display: none; } }

/* ---------- Prinzipien, Zahlen, Zeitleiste ---------- */
.principles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.principle { padding: clamp(22px, 2.6vw, 34px); display: grid; gap: 14px; align-content: start; }
.principle .glyph { font-family: var(--f-display); font-size: 54px; line-height: .9; }
.principle p { color: var(--fg-2); font-size: 15.5px; }
@media (max-width: 1000px) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principles { grid-template-columns: 1fr; } }
.proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
.proof .stat { display: grid; gap: 8px; padding-top: 18px; border-top: 2px solid var(--fg); min-width: 0; }
.proof .big { font-family: var(--f-display); font-size: clamp(48px, 5.6vw, 76px); line-height: .9; overflow-wrap: anywhere; }
.proof .lbl { font-weight: 600; } .proof p { color: var(--fg-2); font-size: 15px; }
@media (max-width: 820px) { .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .proof { grid-template-columns: 1fr; } }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-left: 2px solid var(--fg); }
.history li { position: relative; padding: 0 0 34px 32px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 24px; }
.history li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; background: var(--fg); }
.history li:last-child { padding-bottom: 0; }
.history .when { font-family: var(--f-display); font-size: 26px; line-height: 1; color: var(--fg); overflow-wrap: anywhere; }
.history .what { font-weight: 600; }
.history p { color: var(--fg-2); font-size: 15.5px; margin-top: 4px; }
.history .what, .history p { grid-column: 2; }
.history .when { grid-column: 1; grid-row: 1 / span 2; }
@media (max-width: 640px) { .history li { grid-template-columns: 1fr; } .history .when { grid-row: auto; } .history .what, .history p { grid-column: 1; } }

/* ---------- Schritte (echte Reihenfolge) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: s; }
.steps li { background: color-mix(in srgb, var(--bg) 82%, transparent); padding: 22px; display: grid; gap: 8px; align-content: start; counter-increment: s; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-display); font-size: 34px; line-height: 1; color: var(--fg-2); }
.steps b { font-weight: 600; } .steps p { color: var(--fg-2); font-size: 15px; }

/* ---------- Spezifikationstabelle ---------- */
.spec { width: 100%; border-collapse: collapse; font-size: 15px; }
.spec th, .spec td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.spec td:first-child { font-weight: 600; white-space: nowrap; }
.spec td { color: var(--fg-2); } .spec td:first-child { color: var(--fg); }
.table-wrap { overflow-x: auto; }

/* ---------- Unternehmen, Kontakt, Netzwerk ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 880px) { .two { grid-template-columns: 1fr; } }
.facts { display: grid; border-top: 1px solid var(--line); margin-top: 28px; }
.facts div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.facts dt { color: var(--fg-2); margin: 0; } .facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .facts div { grid-template-columns: 1fr; gap: 2px; } }
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contacts div { background: color-mix(in srgb, var(--bg) 82%, transparent); padding: 20px; display: grid; gap: 6px; }
.contacts a { font-family: var(--f-mono); font-size: 15px; text-decoration: none; overflow-wrap: anywhere; }
.contacts a:hover { text-decoration: underline; }
.contacts span { color: var(--fg-2); font-size: 14px; }
.contacts .lbl { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.form { display: grid; gap: 16px; border: 1px solid var(--line); padding: clamp(20px, 3vw, 32px); background: color-mix(in srgb, var(--bg) 86%, transparent); }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.form input, .form textarea, .form select { font: inherit; font-size: 16px; color: var(--fg); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); padding: 12px 14px; width: 100%; min-width: 0; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--fg); outline-offset: 0; border-color: var(--fg); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--fg-2); }
.form .consent input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .status { font-size: 15px; min-height: 1.4em; } .form .status.ok { color: var(--ok); } .form .status.err { color: var(--err); }
.form small { color: var(--fg-2); font-size: 13px; }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.net-grid div { background: color-mix(in srgb, var(--bg) 82%, transparent); padding: 20px 18px; display: grid; gap: 6px; min-height: 120px; align-content: start; }
.net-grid .nm { font-family: var(--f-display); font-size: 26px; line-height: 1; }
.net-grid .rl { font-size: 13.5px; color: var(--fg-2); }
.net-grid .cat { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.note { border-left: 3px solid var(--fg); padding: 12px 16px; color: var(--fg-2); font-size: 15px; background: color-mix(in srgb, var(--bg) 70%, transparent); }
.note b { color: var(--fg); font-weight: 600; }

/* ---------- Unterseiten ---------- */
.page-head { padding-block: clamp(48px, 7vw, 100px) clamp(28px, 4vw, 48px); }
.page-head .lead { margin-top: 18px; }
.page-head .btn-row { margin-top: 28px; }
.prose-page .wrap { max-width: 840px; }
.prose-page h2 { font-size: 26px; margin: 44px 0 12px; text-wrap: balance; }
.prose-page h3 { font-size: 18px; margin: 26px 0 8px; }
.prose-page p, .prose-page li { color: var(--fg-2); }
.prose-page p + p { margin-top: 12px; }
.prose-page ul { padding-left: 20px; }
.prose-page strong { color: var(--fg); font-weight: 600; }
.prose-page .box { border: 1px solid var(--line); padding: 20px 22px; margin: 18px 0; background: color-mix(in srgb, var(--bg) 86%, transparent); }
.prose-page .box p { color: var(--fg); }
.prose-page .stand { font-family: var(--f-mono); font-size: 13px; color: var(--fg-2); margin-top: 48px; }
.prose-page dl div { display: grid; grid-template-columns: 220px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.prose-page dl dt { color: var(--fg-2); } .prose-page dl dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .prose-page dl div { grid-template-columns: 1fr; gap: 2px; } }
.center { text-align: center; } .center .btn-row { justify-content: center; }
.cta-band { text-align: center; }
.cta-band .display { margin-bottom: 20px; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Fußzeile mit KAI-Symbolen ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 56px 36px; font-size: 14.5px; color: var(--fg-2); background: color-mix(in srgb, var(--c0) 70%, transparent); }
.footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 12px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg); font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; } .footer a:hover { text-decoration: underline; color: var(--fg); }
.footer .brand { font-size: 24px; color: var(--fg); margin-bottom: 12px; }
.footer .col-brand p + p { margin-top: 12px; }
.footer .legal span { overflow-wrap: anywhere; }
.footer .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-family: var(--f-mono); font-size: 12.5px; }
.kai-links a { display: inline-flex; align-items: center; gap: 10px; }
.ki { width: 18px; height: 18px; display: inline-grid; place-items: center; position: relative; }
.ki svg { width: 100%; height: 100%; fill: var(--fg-2); stroke: var(--fg-2); }
.ki-oracle b { position: absolute; width: 5px; height: 5px; background: var(--fg-2); }
.ki-oracle b:nth-child(1) { left: 0; top: 7px; } .ki-oracle b:nth-child(2) { left: 7px; top: 7px; } .ki-oracle b:nth-child(3) { left: 14px; top: 7px; }
.ki-kasse b { position: absolute; left: 2px; right: 2px; top: 3px; height: 9px; border: 2px solid var(--fg-2); }
.ki-kasse u { position: absolute; left: 5px; right: 5px; top: 12px; height: 2px; background: var(--fg-2); }
.kai-links a:hover .ki svg { fill: var(--fg); stroke: var(--fg); }
.kai-links a:hover .ki-oracle b { background: var(--fg); animation: hop .6s ease infinite; }
.kai-links a:hover .ki-oracle b:nth-child(2) { animation-delay: .12s; } .kai-links a:hover .ki-oracle b:nth-child(3) { animation-delay: .24s; }
@keyframes hop { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-5px) } }
.ki-pay svg { transition: filter .2s; }
.kai-links a:hover .ki-pay svg { animation: flash .34s steps(1) infinite; filter: drop-shadow(0 0 3px var(--fg)) drop-shadow(0 0 8px var(--fg)); }
@keyframes flash { 0%, 54% { opacity: 1; transform: scale(1.18) } 55%, 100% { opacity: .35; transform: scale(1) } }
.kai-links a:hover .ki-kasse b { border-color: var(--fg); } .kai-links a:hover .ki-kasse u { background: var(--fg); animation: print .7s ease-in-out infinite; }
@keyframes print { 50% { transform: translateY(4px); width: 60%; } }
.ki-shield svg path:first-child { transform-origin: 50% 50%; }
.kai-links a:hover .ki-shield svg path:first-child { animation: guard 1.1s ease-in-out infinite; }
.kai-links a:hover .ki-shield .chk { stroke: var(--bg); stroke-dasharray: 10; animation: draw .7s ease forwards; }
.ki-shield::after { content: ""; position: absolute; inset: -2px; border: 1px solid var(--fg); border-radius: 50%; opacity: 0; }
.kai-links a:hover .ki-shield::after { animation: ring 1.1s ease-out infinite; }
@keyframes guard { 0%, 100% { transform: scale(1) } 50% { transform: scale(1.14) } }
@keyframes ring { 0% { transform: scale(.6); opacity: .9 } 100% { transform: scale(1.9); opacity: 0 } }
@keyframes draw { from { stroke-dashoffset: 10 } to { stroke-dashoffset: 0 } }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer .cols { grid-template-columns: 1fr; } }

/* ---------- Sichtbarkeit beim Scrollen ---------- */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.pending { opacity: .001; transform: translateY(14px); }
  .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
}
/* Abstände (statt Inline-Styles, die die CSP verbietet) */
.mt-14 { margin-top: 14px; } .mt-18 { margin-top: 18px; } .mt-20 { margin-top: 20px; } .mt-22 { margin-top: 22px; } .mt-24 { margin-top: 24px; } .mt-28 { margin-top: 28px; } .mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.pt-0 { padding-top: 0 !important; } .mx-auto { margin-inline: auto; } .jc-center { justify-content: center; } .min-60 { min-height: 60vh; } .fs-16 { font-size: 16px; }
.proof-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.skip { position: absolute; left: -9999px; top: 8px; padding: 10px 14px; background: var(--fg); color: var(--bg); z-index: 100; }
.skip:focus { left: 12px; }

/* Easter Eggs: Röhrenbild, Arcade-Modus, Cookie-Null, Fresser im Laufband */
html.crt::after, html.arcade::after { content: ""; position: fixed; inset: 0; z-index: 60; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.22) 0 1px, transparent 1px 3px); animation: crt-flicker 1.6s steps(3) infinite; }
@keyframes crt-flicker { 0%, 100% { opacity: 1; } 50% { opacity: .82; } }
html.arcade::before { content: "ARCADE MODE · 30 S · NO COIN NEEDED"; position: fixed; left: 50%; top: 76px; transform: translateX(-50%); z-index: 61; pointer-events: none; font-family: var(--f-display); font-size: 22px; letter-spacing: .08em; padding: 6px 14px; background: var(--fg); color: var(--bg); animation: egg-blink 1s steps(2) infinite; }
@keyframes egg-blink { 50% { opacity: .35; } }
.stat .big.egg { cursor: pointer; display: inline-block; }
.egg-spin { animation: egg-spin 1.1s cubic-bezier(.3,0,.2,1); }
@keyframes egg-spin { to { transform: rotate(1turn); } }
.ticker .muncher { cursor: pointer; pointer-events: auto; }
.ticker .muncher:hover path { fill: var(--fg-2); }

/* Kosten: groß, mit Zähler auf null */
.kosten { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 4vw, 56px); border: 2px solid var(--fg); padding: clamp(24px, 3vw, 40px); margin-top: clamp(32px, 4vw, 48px); align-items: center; background: color-mix(in srgb, var(--bg) 80%, transparent); }
.kosten-num { font-family: var(--f-display); font-size: clamp(72px, 11vw, 136px); line-height: 1; display: flex; gap: .12em; align-items: baseline; margin-top: 10px; font-variant-numeric: tabular-nums; }
.kosten-num .cur { font-size: .45em; color: var(--fg-2); }
.kosten-stamp { display: inline-block; margin-top: 14px; padding: 6px 12px; border: 2px solid var(--fg); color: var(--fg); font-weight: 600; transform: rotate(-3deg) scale(.6); opacity: 0; transition: transform .4s cubic-bezier(.2, 1.4, .4, 1), opacity .25s; }
.kosten.zero .kosten-stamp { transform: rotate(-3deg) scale(1); opacity: 1; }
.kosten-note { margin-top: 16px; color: var(--fg-2); max-width: 32em; }
.kosten-list { list-style: none; margin: 0; padding: 0; display: grid; }
.kosten-list li { display: grid; grid-template-columns: 120px 1fr; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); min-width: 0; }
.kosten-list li:first-child { border-top: 0; }
.kosten-list b { font-weight: 600; } .kosten-list > li > span { font-family: var(--f-mono); color: var(--fg); }
.kosten-list p { grid-column: 2; color: var(--fg-2); margin: 0; font-size: 14px; }
@media (max-width: 760px) { .kosten { grid-template-columns: 1fr; } .kosten-list li { grid-template-columns: 1fr; } .kosten-list p { grid-column: 1; } }

/* Tabellen auf dem Handy: jede Zeile wird zur Karte, Spaltenname steht über dem Wert */
@media (max-width: 640px) {
  .spec thead { display: none; }
  .spec, .spec tbody, .spec tr, .spec td { display: block; width: 100%; }
  .spec tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .spec td { padding: 4px 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .spec td:first-child { white-space: normal; font-size: 17px; padding-bottom: 8px; }
  .spec td:not(:first-child)::before { content: attr(data-l-de); display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); margin-bottom: 2px; }
  html[data-lang="en"] .spec td:not(:first-child)::before { content: attr(data-l-en); }
}
/* Wissen: Begriffe und FAQ */
.wk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.wk { background: color-mix(in srgb, var(--bg) 82%, transparent); padding: clamp(22px, 3vw, 36px); display: grid; gap: 12px; align-content: start; min-width: 0; }
.wk .num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; color: var(--fg-2); }
.wk h3 { font-size: 22px; margin: 0; text-wrap: balance; }
.wk p { color: var(--fg-2); margin: 0; }
.wk .wk-you { color: var(--fg); border-left: 3px solid var(--fg); padding-left: 14px; }
.wk .wk-you b { font-weight: 600; }
@media (max-width: 760px) { .wk-grid { grid-template-columns: 1fr; } }
.faq-h { font-family: var(--f-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); margin: clamp(32px, 4vw, 48px) 0 10px; font-weight: 500; }
.faq-list { display: grid; border-top: 1px solid var(--fg); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; padding: 16px 0; font-weight: 600; font-size: 17px; color: var(--fg); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 20px; color: var(--fg-2); flex: none; transition: transform .2s ease; }
.faq[open] summary::after { content: "–"; }
.faq summary:hover { color: var(--fg); } .faq summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.faq p { margin: 0 0 18px; color: var(--fg-2); max-width: 62em; }
.faq p b { color: var(--fg); }
/* Schmale Fenster: Schema-Hinweis der Demos nicht über dem Inhalt, sondern als eigene Zeile */
@media (max-width: 560px) { .demo .tag { position: static; display: block; margin-bottom: 8px; text-align: right; } }

/* Kopf-Animation neben der Überschrift (Produktseiten) */
.page-head .wrap.has-anim { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.head-copy { min-width: 0; }
.head-anim { min-width: 0; align-self: start; margin-top: clamp(28px, 6vw, 80px); border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 82%, transparent); padding: 10px; }
.head-anim canvas { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .page-head .wrap.has-anim { grid-template-columns: 1fr; } .head-anim { max-width: 460px; margin-top: 0; } }
