/* ZippoWorkz – Website (Stand 14.10.2026)
   Marke: Navy #00020F, Cyan #0CC6FF, Violett #7C4DFF, Schrift Outfit.
   Die Welle aus dem Banner fließt als Hintergrund die Seite hinunter (stream.js).
   Bewusst nur dunkel, wie die Marke. Keine externen Requests, Schrift selbst gehostet. */

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ground: #00020f;
  --panel: #060b21;
  --panel-2: #0b1230;
  --wire: #1a2246;
  --ink: #eef2ff;
  --muted: #9ba5c6;
  --signal: #0cc6ff;
  --violet: #7c4dff;
  --on-signal: #00020f;
  --brand-grad: linear-gradient(90deg, #0cc6ff, #7c4dff);
  --done: #3fe0b0;
  --wait: #ffc66b;
  --shadow: 0 1px 0 rgba(0, 0, 0, .3), 0 30px 60px -30px rgba(0, 0, 0, .9);
  --mono: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 8px;
  --r-md: 16px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-color: var(--wire) var(--ground); accent-color: var(--signal); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: "Outfit", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem; line-height: 1.6;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
a, button { cursor: pointer; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.06; letter-spacing: -.03em; }
h3 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--on-signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 3px; }

.stream { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.site-head, main, .site-foot { position: relative; z-index: 1; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 40; background: var(--signal); color: var(--on-signal); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 12px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px;
  padding: .7em 1.2em; border-radius: var(--r-sm); border: 0;
  background: var(--signal); color: var(--on-signal);
  font: inherit; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: background-color .18s var(--ease-out), transform .12s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(.99); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: color-mix(in oklab, var(--signal) 82%, var(--ink)); } }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--wire); }
@media (hover: hover) and (pointer: fine) { .btn.ghost:hover { background: var(--panel-2); } }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: .25em; text-decoration-color: var(--signal); }
@media (hover: hover) and (pointer: fine) { .link:hover { color: var(--signal); } }

/* Header */
.site-head {
  position: sticky !important; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in oklab, var(--ground) 86%, transparent);
  backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid var(--wire);
}
.site-head .wrap { display: flex; align-items: center; gap: 2rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-weight: 750; letter-spacing: -.02em; font-size: 1.15rem; }
.brand svg { width: 26px; height: 26px; }
.site-nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .95rem; }
.site-nav a { text-decoration: none; color: var(--muted); }
.site-nav a[aria-current="page"] { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .site-nav a:hover { color: var(--ink); } }
.site-head .btn { min-height: 40px; padding: .5em 1em; font-size: .95rem; }
@media (max-width: 880px) { .site-nav { display: none; } .site-head .btn { margin-left: auto; } }

/* Hero: the banner, as a page. */
.hero { padding: clamp(48px, 8vw, 120px) 0 clamp(48px, 7vw, 96px); }
.hero-copy { max-width: 46rem; margin-bottom: clamp(48px, 8vw, 112px); }
.hero h1 { margin: 0; font-weight: 600; }
.wordmark { display: block; font-size: clamp(3.4rem, 10vw, 8rem); line-height: .95; letter-spacing: -.03em; }
.wordmark span { position: relative; display: inline-block; }
.wordmark span::after { content: ""; position: absolute; left: .02em; right: .02em; bottom: -.14em; height: .07em; min-height: 4px; border-radius: 99px; background: var(--brand-grad); }
.tagline { display: block; margin-top: .9em; font-size: clamp(1.25rem, 2.4vw, 1.75rem); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.lede { margin: 1.6rem 0 2rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34ch; }
.lede strong { color: var(--ink); font-weight: 500; }
.hero .actions { display: flex; flex-wrap: wrap; gap: .8rem 1.4rem; align-items: center; }
.board-lead { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .6rem 2rem; margin-bottom: 1.2rem; }
.board-lead h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.board-lead p { margin: 0; color: var(--muted); max-width: 44ch; }

/* The board */
.board {
  position: relative; border: 1px solid var(--wire); border-radius: var(--r-md);
  background:
    radial-gradient(circle at 1px 1px, color-mix(in oklab, var(--wire) 70%, transparent) 1px, transparent 1.4px) 0 0 / 22px 22px,
    var(--panel);
  box-shadow: var(--shadow); overflow: hidden;
}
.board-bar { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; padding: .9rem 1.2rem; border-bottom: 1px solid var(--wire); background: color-mix(in oklab, var(--panel) 85%, var(--ground)); }
.board-bar p { margin: 0; font-size: .92rem; color: var(--muted); }
.board-bar strong { color: var(--ink); font-weight: 650; }
.live { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--done); box-shadow: 0 0 0 3px color-mix(in oklab, var(--done) 25%, transparent); }

.lanes { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 56px); padding: clamp(18px, 3vw, 32px); }
.lane { position: relative; z-index: 1; display: grid; align-content: center; gap: .7rem; }
.lane-title { font-size: .8rem; color: var(--muted); margin: 0 0 .1rem; letter-spacing: .01em; }
.node {
  position: relative; display: grid; gap: .1rem; padding: .7rem .85rem; border-radius: 10px;
  background: var(--ground); border: 1px solid var(--wire);
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .25s var(--ease-out);
}
.node b { font-weight: 650; font-size: .98rem; }
.node small { color: var(--muted); font-size: .82rem; line-height: 1.35; min-height: 1.1em; }
.node.on { border-color: var(--signal); box-shadow: 0 0 0 3px color-mix(in oklab, var(--signal) 22%, transparent); }
.node.ok { border-color: var(--done); }
.node.ok small { color: var(--done); }
.node.waiting { border-color: var(--wait); box-shadow: 0 0 0 3px color-mix(in oklab, var(--wait) 22%, transparent); }
.node.waiting small { color: var(--wait); }
.node.off { opacity: .45; }
.node.gate { background: color-mix(in oklab, var(--violet) 14%, var(--ground)); border-color: color-mix(in oklab, var(--violet) 45%, var(--wire)); }
.gate-actions { display: flex; gap: .5rem; margin-top: .45rem; }
.gate-actions[hidden] { display: none; }
.gate-actions .btn { min-height: 36px; padding: .35em .8em; font-size: .88rem; }
.wires { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: visible; }
.wires path { fill: none; stroke: var(--wire); stroke-width: 1.5; }
.wires path.hot { stroke: var(--signal); stroke-width: 2; }
.wires circle { fill: var(--signal); filter: drop-shadow(0 0 4px var(--signal)); }
.wires circle.ghost { fill: var(--muted); opacity: .55; }

.try { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-top: 1px solid var(--wire); }
.try-in { padding: 1.1rem 1.2rem 1.2rem; display: grid; gap: .7rem; align-content: start; }
.try-in label { font-weight: 650; font-size: .95rem; }
.try-in .hint { color: var(--muted); font-size: .85rem; margin: 0; }
.samples { display: flex; flex-wrap: wrap; gap: .4rem; }
.samples button {
  font: inherit; font-size: .85rem; padding: .35em .8em; min-height: 36px; border-radius: 99px;
  border: 1px solid var(--wire); background: transparent; color: var(--muted);
  transition: color .15s var(--ease-out), border-color .15s var(--ease-out), background-color .15s var(--ease-out);
}
.samples button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .samples button:hover { color: var(--ink); border-color: var(--muted); } }
textarea {
  width: 100%; min-height: 6.5rem; resize: vertical; font: inherit; font-size: .95rem; line-height: 1.5;
  padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--wire); background: var(--ground); color: var(--ink);
}
textarea:focus-visible, select:focus-visible { outline-offset: 0; }
select { font: inherit; font-size: .92rem; min-height: 40px; padding: .35em .6em; border-radius: 8px; border: 1px solid var(--wire); background: var(--ground); color: var(--ink); }
.channel { display: inline-flex; align-items: center; gap: .5rem; font-size: .9rem; color: var(--muted); }
.try-row { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.try-log { border-left: 1px solid var(--wire); padding: 1.1rem 1.2rem 1.2rem; background: color-mix(in oklab, var(--ground) 55%, var(--panel)); min-width: 0; }
.try-log .log-title { font-size: .95rem; font-weight: 700; margin: 0 0 .6rem; }
.log { font-family: var(--mono); font-size: .8rem; line-height: 1.55; display: grid; gap: .35rem; max-height: 15rem; overflow: auto; }
.log li { display: grid; grid-template-columns: 4.6em 1fr; gap: .6rem; color: var(--muted); }
.log li time { color: var(--muted); font-variant-numeric: tabular-nums; }
.log li span { color: var(--ink); overflow-wrap: anywhere; }
.log li.ok span { color: var(--done); }
.log li.wait span { color: var(--wait); }
.log-empty { color: var(--muted); font-size: .9rem; margin: 0; }
.draft { margin-top: .8rem; padding: .7rem .8rem; border-radius: 10px; border: 1px dashed var(--wire); font-size: .88rem; white-space: pre-line; }
.draft[hidden] { display: none; }
.draft b { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: .3rem; }
.board-note { margin: .9rem 0 0; color: var(--muted); font-size: .88rem; }

@media (max-width: 900px) {
  /* On narrow screens the input sits above the flow, so you watch it run. */
  .board { display: flex; flex-direction: column; }
  .try { display: contents; }
  .board-bar { order: 0; }
  .try-in { order: 1; border-bottom: 1px solid var(--wire); }
  .lanes { order: 2; grid-template-columns: 1fr 1fr; }
  .try-log { order: 3; border-left: 0; border-top: 1px solid var(--wire); }
}
@media (max-width: 560px) {
  .lanes { grid-template-columns: 1fr; gap: 22px; }
}

/* Sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
section + section { border-top: 1px solid color-mix(in oklab, var(--wire) 60%, transparent); }
.intro { max-width: 48rem; margin-bottom: clamp(32px, 5vw, 56px); }
.intro p { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 0; }

/* Scroll-driven reveal: progressive enhancement, content is visible without it. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
    @keyframes rise { from { transform: translateY(16px); } to { transform: none; } }
  }
}

/* Before / after rows */
.pain { display: grid; grid-template-columns: minmax(0, 1fr) 2.4rem minmax(0, 1fr); gap: 1rem; align-items: center; padding: 1.4rem 0; border-top: 1px solid var(--wire); }
.pain:last-child { border-bottom: 1px solid var(--wire); }
.pain h3 { margin-bottom: .35rem; }
.pain p { color: var(--muted); margin: 0; }
.pain .arrow { width: 2.4rem; height: 2px; background: var(--brand-grad); position: relative; }
.pain .arrow::after { content: ""; position: absolute; right: -1px; top: -4px; border-left: 8px solid var(--violet); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.pain .after { padding: .9rem 1.1rem; border-radius: 10px; background: color-mix(in oklab, var(--violet) 16%, var(--panel)); }
.pain .after p { color: var(--ink); }
@media (max-width: 760px) { .pain { grid-template-columns: 1fr; } .pain .arrow { transform: rotate(90deg); margin: .2rem 0 .2rem .8rem; } }

/* Services bento: 4 cells, one wide */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.cell { padding: clamp(20px, 2.6vw, 30px); border-radius: var(--r-md); background: color-mix(in oklab, var(--panel) 88%, transparent); border: 1px solid var(--wire); display: grid; align-content: start; gap: .5rem; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cell p { color: var(--muted); margin: 0; }
.cell:nth-child(1) { grid-column: span 4; }
.cell:nth-child(2) { grid-column: span 2; }
.cell:nth-child(3) { grid-column: span 3; }
.cell:nth-child(4) { grid-column: span 3; background: linear-gradient(135deg, color-mix(in oklab, var(--signal) 16%, var(--panel)), color-mix(in oklab, var(--violet) 22%, var(--panel))); border-color: color-mix(in oklab, var(--violet) 40%, var(--wire)); }
.cell .mini { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .6rem; font-size: .82rem; color: var(--muted); }
.cell .mini span { padding: .2em .6em; border-radius: 6px; border: 1px solid var(--wire); background: var(--ground); }
.cell .mini i { width: 14px; height: 1.5px; background: var(--signal); display: inline-block; }
@media (max-width: 820px) { .bento { grid-template-columns: 1fr; } .cell:nth-child(n) { grid-column: auto; } }
.aside-note { margin-top: 1.6rem; color: var(--muted); max-width: 56ch; }

/* Offer */
.offer { border-radius: var(--r-md); border: 1px solid var(--wire); background: var(--panel); box-shadow: var(--shadow); overflow: hidden; }
.offer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; padding: clamp(24px, 4vw, 48px); align-items: end; }
.offer-top div > p { color: var(--muted); max-width: 46ch; margin: 1rem 0 0; }
.price { margin: 0; text-align: right; }
.price b { display: block; color: var(--ink); font-size: clamp(3rem, 7vw, 5.2rem); line-height: 1; letter-spacing: -.045em; font-weight: 750; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); }
.offer-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--wire); }
.offer-body > div { padding: clamp(24px, 4vw, 44px); }
.offer-body > div + div { border-left: 1px solid var(--wire); background: color-mix(in oklab, var(--ground) 40%, var(--panel)); }
.offer-body h3 { font-size: 1rem; margin-bottom: .8rem; }
.check li, .cross li { position: relative; padding-left: 1.6rem; margin: .5rem 0; }
.check li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .7rem; height: .38rem; border-left: 2px solid var(--done); border-bottom: 2px solid var(--done); transform: rotate(-45deg); }
.cross li { color: var(--muted); }
.cross li::before { content: ""; position: absolute; left: .1rem; top: .8em; width: .7rem; height: 2px; background: var(--muted); }
.offer-cta { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 48px); border-top: 1px solid var(--wire); }
.offer-cta p { color: var(--muted); font-size: .95rem; margin: 0; max-width: 52ch; }
@media (max-width: 760px) {
  .offer-top, .offer-body { grid-template-columns: 1fr; }
  .price { text-align: left; }
  .offer-body > div + div { border-left: 0; border-top: 1px solid var(--wire); }
}

/* Process: a real sequence on one wire */
.process { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); counter-reset: p; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 1.2rem; height: 2px; background: var(--wire); }
.process::after { content: ""; position: absolute; left: 0; top: 1.2rem; height: 2px; width: 100%; background: var(--brand-grad); transform-origin: left; transform: scaleX(1); }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .process::after { animation: wire linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
    @keyframes wire { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  }
}
.process li { position: relative; counter-increment: p; padding-top: 3.2rem; }
.process li::before {
  content: counter(p); position: absolute; top: 0; left: 0; display: grid; place-items: center;
  width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ground); border: 2px solid var(--violet);
  font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink);
}
.process h3 { margin-bottom: .4rem; }
.process p { color: var(--muted); margin: 0; }
@media (max-width: 760px) {
  .process { grid-template-columns: 1fr; }
  .process::before, .process::after { left: 1.2rem; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; }
  @supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) { .process::after { animation-name: wire-v; } @keyframes wire-v { from { transform: scaleY(0); } to { transform: scaleY(1); } } } }
  .process li { padding: 0 0 0 3.6rem; min-height: 2.4rem; }
}

/* Proof */
.proof { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.proof .intro { margin-bottom: 0; }
.proof dl { margin: 0; }
.proof dl div { padding: 1.3rem 0; border-top: 1px solid var(--wire); }
.proof dl div:first-child { border-top: 0; padding-top: 0; }
.proof dt { font-weight: 700; }
.proof dd { margin: .25rem 0 0; color: var(--muted); }
@media (max-width: 820px) { .proof { grid-template-columns: 1fr; } }

/* Shop list */
.shop li { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem auto; gap: .3rem 2rem; align-items: baseline; padding: 1.3rem 0; border-top: 1px solid var(--wire); }
.shop li:last-child { border-bottom: 1px solid var(--wire); }
.shop h3 { font-size: 1.1rem; }
.shop p { grid-column: 1; color: var(--muted); margin: 0; font-size: .97rem; max-width: 54ch; }
.shop .amount { grid-row: 1; grid-column: 2; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.shop .go { grid-row: 1 / span 2; grid-column: 3; align-self: center; white-space: nowrap; }
@media (max-width: 640px) { .shop li { grid-template-columns: minmax(0, 1fr) auto; } .shop .go { grid-row: auto; grid-column: 1 / -1; justify-self: start; margin-top: .3rem; } }

/* Tools + control */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
.two h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.toolset > p { color: var(--muted); margin-top: 1rem; }
.toolset dl { margin: 1.4rem 0 0; display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.4rem; }
.toolset dt { font-weight: 650; }
.toolset dd { margin: 0; color: var(--muted); }
.safety ul { margin-top: 1.2rem; }
.safety li { padding: .9rem 0; border-top: 1px solid var(--wire); }
.safety li:first-child { border-top: 0; padding-top: 0; }
.safety b { display: block; }
.safety span { color: var(--muted); }
@media (max-width: 820px) { .two { grid-template-columns: 1fr; } .toolset dl { grid-template-columns: 1fr; gap: .1rem; } .toolset dd { margin-bottom: .6rem; } }

/* About */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about p { color: var(--muted); max-width: 60ch; }
.about p:first-of-type { color: var(--ink); font-size: 1.2rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } }

/* FAQ */
.faq { margin: 0; }
.faq div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: .6rem clamp(24px, 5vw, 72px); padding: 1.4rem 0; border-top: 1px solid var(--wire); }
.faq div:last-child { border-bottom: 1px solid var(--wire); }
.faq dt { font-weight: 650; }
.faq dd { margin: 0; color: var(--muted); }
@media (max-width: 720px) { .faq div { grid-template-columns: 1fr; } }

/* Closing */
.closing .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem clamp(32px, 6vw, 88px); align-items: end; }
.closing h2 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.04em; line-height: 1.02; }
.closing p { color: var(--muted); font-size: 1.1rem; margin: 0 0 1.4rem; max-width: 40ch; }
.closing .contact { margin: 1.2rem 0 0; font-size: .95rem; }
@media (max-width: 820px) { .closing .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { padding: 2.4rem 0 3rem; font-size: .92rem; color: var(--muted); border-top: 1px solid var(--wire); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.site-foot p { margin: 0; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.site-foot a { color: var(--ink); }

/* Demo page */
.demo-head { padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.demo-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.04em; line-height: 1.04; max-width: 18ch; }
.demo-head p { color: var(--muted); font-size: 1.15rem; max-width: 52ch; margin: 1rem 0 0; }
.demo-explain { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.demo-explain h3 { margin-bottom: .4rem; }
.demo-explain p { color: var(--muted); margin: 0; }
@media (max-width: 860px) { .demo-explain { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .demo-explain { grid-template-columns: 1fr; } }

/* Legal + 404 */
.legal { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 96px); }
.legal .wrap { max-width: 50rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.03em; line-height: 1.1; margin-bottom: .4rem; }
.legal .stand { color: var(--muted); margin-bottom: 2.4rem; }
.legal h2 { font-size: 1.25rem; letter-spacing: -.01em; margin: 2.2rem 0 .6rem; }
.legal p, .legal li { max-width: 68ch; }
.legal ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 1em; }
.legal li { margin: .3rem 0; }
.legal address { font-style: normal; margin-bottom: 1em; }
.legal .form { background: var(--panel); border: 1px solid var(--wire); border-radius: var(--r-md); padding: 1.4rem 1.6rem; margin-top: 1rem; }
.legal .form p:last-child { margin-bottom: 0; }
.notfound { padding: clamp(64px, 12vw, 160px) 0; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.03em; margin-bottom: 1rem; }
.notfound p { color: var(--muted); max-width: 40ch; margin-bottom: 2rem; }

/* ---------- Positioning 14.10.2026: facts, pillars, care ---------- */
.kicker { margin: 0 0 .6rem; font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--signal); }
.hero-copy { margin-bottom: clamp(40px, 6vw, 80px); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--wire); }
.facts div { padding: 1.4rem 1.2rem 0 0; }
.facts div + div { padding-left: 1.2rem; border-left: 1px solid var(--wire); }
.facts dt { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.facts dd { margin: .5rem 0 0; color: var(--muted); font-size: .95rem; max-width: 22ch; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}

.pillars { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.pillar { display: grid; align-content: start; gap: .7rem; padding: clamp(24px, 3.4vw, 40px); border-radius: var(--r-md); border: 1px solid var(--wire); background: color-mix(in oklab, var(--panel) 90%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.pillar.main { background: linear-gradient(150deg, color-mix(in oklab, var(--signal) 12%, var(--panel)), color-mix(in oklab, var(--violet) 18%, var(--panel))); border-color: color-mix(in oklab, var(--violet) 40%, var(--wire)); }
.pillar h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); letter-spacing: -.02em; }
.pillar > p { color: var(--muted); margin: 0; }
.pillar.main > p { color: var(--ink); }
.pillar .kicker { margin: 0; }
.pillar .link { justify-self: start; margin-top: .4rem; }
.ticks li { position: relative; padding-left: 1.5rem; margin: .45rem 0; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .65rem; height: .35rem; border-left: 2px solid var(--done); border-bottom: 2px solid var(--done); transform: rotate(-45deg); }
.mini { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-size: .82rem; color: var(--muted); }
.mini span { padding: .2em .6em; border-radius: 6px; border: 1px solid var(--wire); background: var(--ground); }
.mini i { width: 14px; height: 1.5px; background: var(--signal); display: inline-block; }
@media (max-width: 820px) { .pillars { grid-template-columns: 1fr; } }

.offer-body h3.later { margin-top: 1.6rem; }
.offer-cta .link { white-space: nowrap; }
.process.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .process.four { grid-template-columns: 1fr; } }

.care-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.care-list li { padding: 1.1rem 0; border-top: 1px solid var(--wire); }
.care-list li:first-child { border-top: 0; padding-top: 0; }
.care-list b { display: block; font-weight: 650; }
.care-list span { color: var(--muted); }
.care-card { display: grid; gap: .9rem; justify-items: start; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-md); border: 1px solid color-mix(in oklab, var(--signal) 40%, var(--wire)); background: color-mix(in oklab, var(--panel) 92%, transparent); box-shadow: var(--shadow); }
.care-card p { margin: 0; color: var(--muted); }
.care-card small { color: var(--muted); font-size: .85rem; }
@media (max-width: 820px) { .care-grid { grid-template-columns: 1fr; } }

.creator { align-items: start; }
.proof-list { margin: 0; }
.proof-list div { padding: 1.1rem 0; border-top: 1px solid var(--wire); }
.proof-list div:first-child { border-top: 0; padding-top: 0; }
.proof-list dt { font-weight: 650; }
.proof-list dd { margin: .25rem 0 0; color: var(--muted); }
.creator .shop li { grid-template-columns: minmax(0, 1fr) auto; }
.creator .shop .amount { grid-column: 2; }
.creator .shop .go { grid-row: auto; grid-column: 1 / -1; justify-self: start; margin-top: .3rem; }

/* ---------- Kundencenter (demo) ---------- */
.portal-page > .portal { position: relative; }
.portal-gate { padding: clamp(56px, 10vw, 140px) 0; }
.gate-card { max-width: 44rem; }
.gate-card h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -.04em; line-height: 1.04; margin-bottom: 1.2rem; }
.gate-card > p { color: var(--muted); font-size: 1.15rem; max-width: 52ch; }
.demo-flag { padding: .9rem 1.1rem; border-radius: 10px; border: 1px dashed color-mix(in oklab, var(--wait) 55%, var(--wire)); font-size: .98rem !important; margin: 1.6rem 0 1.8rem; }
.demo-flag b { color: var(--wait); font-weight: 650; }

.portal-shell { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.portal-shell[hidden], .portal-gate[hidden] { display: none; }
.portal-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .8rem 2rem; padding-bottom: 1.2rem; margin-bottom: 1.4rem; border-bottom: 1px solid var(--wire); }
.portal-top h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.03em; }
.portal-top h1:focus { outline: none; }
.portal-top p { margin: .3rem 0 0; color: var(--muted); font-size: .95rem; }
.portal-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.portal-nav { position: sticky; top: 84px; display: grid; gap: 2px; }
.portal-nav a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; min-height: 44px; padding: .5rem .8rem; border-radius: var(--r-sm); color: var(--muted); text-decoration: none; font-weight: 500; transition: background-color .15s var(--ease-out), color .15s var(--ease-out); }
.portal-nav a[aria-current="page"] { background: var(--panel-2); color: var(--ink); box-shadow: inset 0 0 0 1px var(--wire); }
@media (hover: hover) and (pointer: fine) { .portal-nav a:hover { color: var(--ink); } }
.count { min-width: 1.5rem; padding: 0 .4rem; border-radius: 99px; background: var(--signal); color: var(--on-signal); font-size: .78rem; font-weight: 700; line-height: 1.5rem; text-align: center; font-variant-numeric: tabular-nums; }
.count[hidden] { display: none; }
@media (max-width: 820px) {
  .portal-body { grid-template-columns: 1fr; }
  .portal-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding-bottom: .3rem; scrollbar-width: thin; }
  .portal-nav a { flex: none; }
}

.portal-main { min-width: 0; }
.portal-main > section { padding: 0; border: 0; }
.portal-main > section[hidden] { display: none; }
.portal-main h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 1rem; }
.portal-main h2:focus { outline: none; }
.view-intro { color: var(--muted); max-width: 60ch; }
.view-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem 1.4rem; margin-bottom: 1rem; }
.view-head h2 { margin: 0; }
.inline { display: inline-flex; align-items: center; gap: .6rem; color: var(--muted); font-size: .92rem; }
.muted { color: var(--muted); }
.panel { padding: clamp(18px, 2.4vw, 26px); border-radius: var(--r-md); border: 1px solid var(--wire); background: color-mix(in oklab, var(--panel) 94%, transparent); }
.panel + .panel { margin-top: 14px; }
.panel h3 { font-size: 1rem; margin-bottom: .8rem; }

.stats { margin: 0 0 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.stats div { padding: 1rem 1.1rem; border-radius: 12px; border: 1px solid var(--wire); background: var(--panel); }
.stats dt { color: var(--muted); font-size: .85rem; }
.stats dd { margin: .2rem 0 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (max-width: 980px) { .stats { grid-template-columns: 1fr 1fr; } }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.ov-grid .panel + .panel { margin-top: 0; }
@media (max-width: 980px) { .ov-grid { grid-template-columns: 1fr; } }
.auto-status li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--wire); }
.auto-status li:first-child { border-top: 0; padding-top: 0; }
.auto-status small { display: block; color: var(--muted); font-size: .85rem; }
.activity li { display: grid; grid-template-columns: 5.2rem 1fr; gap: .8rem; padding: .45rem 0; font-size: .93rem; }
.activity time { color: var(--muted); font-variant-numeric: tabular-nums; }
.sla { margin: 1rem 0 0; font-size: .92rem; }

.pill { display: inline-flex; align-items: center; gap: .4rem; padding: .15rem .6rem; border-radius: 99px; font-size: .8rem; font-weight: 600; white-space: nowrap; border: 1px solid currentColor; }
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill-new { color: var(--signal); }
.pill-work { color: #a993ff; }
.pill-wait { color: var(--wait); }
.pill-done { color: var(--done); }
.pill-off { color: var(--muted); }

.tickets { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 14px; align-items: start; }
@media (max-width: 980px) { .tickets { grid-template-columns: 1fr; } }
.ticket-list { display: grid; gap: 6px; }
.ticket-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "id pill" "title title" "meta meta"; gap: .25rem .8rem; align-items: center; text-align: left; padding: .8rem .9rem; border-radius: 12px; border: 1px solid var(--wire); background: var(--panel); color: var(--ink); font: inherit; transition: border-color .15s var(--ease-out), background-color .15s var(--ease-out); }
.ticket-row.active { border-color: var(--signal); background: var(--panel-2); }
@media (hover: hover) and (pointer: fine) { .ticket-row:hover { border-color: var(--muted); } }
.tid { grid-area: id; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.ttitle { grid-area: title; font-weight: 600; overflow-wrap: anywhere; }
.tmeta { grid-area: meta; font-size: .85rem; color: var(--muted); }
.ticket-row .pill { grid-area: pill; }
.ticket-detail { min-height: 12rem; padding: clamp(16px, 2.2vw, 24px); border-radius: var(--r-md); border: 1px solid var(--wire); background: color-mix(in oklab, var(--ground) 50%, var(--panel)); }
.detail-head { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.detail-meta { color: var(--muted); font-size: .88rem; margin: .3rem 0 1rem; font-family: var(--mono); }
.thread { display: grid; gap: .7rem; margin-bottom: 1rem; }
.thread li { padding: .7rem .9rem; border-radius: 12px; max-width: 90%; }
.thread li b { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: .2rem; }
.thread li p { margin: 0; }
.thread li.me { justify-self: end; background: var(--panel-2); border: 1px solid var(--wire); }
.thread li.us { background: color-mix(in oklab, var(--violet) 16%, var(--panel)); }
.reply { display: grid; gap: .6rem; justify-items: start; }
.empty { color: var(--muted); padding: .6rem 0; }

.ticket-form { margin-top: 14px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-bottom: 1rem; }
.fields label { display: grid; gap: .35rem; font-size: .92rem; font-weight: 600; }
.fields .wide { grid-column: 1 / -1; }
input { font: inherit; font-size: .95rem; min-height: 44px; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--wire); background: var(--ground); color: var(--ink); }
input:focus-visible { outline-offset: 0; }
.fields select { min-height: 44px; }
.form-error { color: var(--wait); font-size: .92rem; }
.form-error[hidden] { display: none; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }

.approval-list { display: grid; gap: 12px; }
.approval { padding: clamp(16px, 2.2vw, 22px); border-radius: var(--r-md); border: 1px solid var(--wire); background: var(--panel); }
.approval-head { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.approval-head small { color: var(--muted); width: 100%; }
.approval-body { white-space: pre-line; margin: .8rem 0 1rem; padding: .8rem .9rem; border-radius: 10px; border: 1px dashed var(--wire); font-size: .93rem; }
.approval-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.automation-list { display: grid; gap: 12px; }
.automation { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 1.6rem; align-items: center; padding: clamp(16px, 2.2vw, 22px); border-radius: var(--r-md); border: 1px solid var(--wire); background: var(--panel); }
.automation h3 { margin-bottom: .25rem; }
.automation p { margin: 0; color: var(--muted); }
.automation .auto-meta { margin-top: .4rem; font-size: .85rem; font-family: var(--mono); }
.auto-actions { display: flex; align-items: center; gap: 1rem; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 99px; border: 1px solid var(--wire); background: var(--ground); padding: 0; flex: none; transition: background-color .2s var(--ease-out), border-color .2s var(--ease-out); }
.switch span { position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--muted); transition: transform .2s var(--ease-out), background-color .2s var(--ease-out); }
.switch[aria-checked="true"] { background: color-mix(in oklab, var(--done) 30%, var(--ground)); border-color: var(--done); }
.switch[aria-checked="true"] span { transform: translateX(22px); background: var(--done); }
@media (max-width: 560px) { .automation { grid-template-columns: 1fr; } }

.chart { width: 100%; height: auto; }
.chart line { stroke: var(--wire); }
.chart text { fill: var(--muted); font-size: 12px; font-family: inherit; }
.chart text.v { fill: var(--ink); font-weight: 600; }
.chart .c-lead, .legend .c-lead::before { fill: var(--signal); background: var(--signal); }
.chart .c-sup, .legend .c-sup::before { fill: var(--violet); background: var(--violet); }
.chart .c-oth, .legend .c-oth::before { fill: var(--wait); background: var(--wait); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .6rem; font-size: .88rem; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: .45rem; }
.legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; }

.doc-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 14px; }
.doc-tabs button { font: inherit; font-size: .9rem; min-height: 40px; padding: .35em .9em; border-radius: 99px; border: 1px solid var(--wire); background: transparent; color: var(--muted); }
.doc-tabs button[aria-pressed="true"] { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.doc[hidden] { display: none; }
.steps { list-style: decimal; padding-left: 1.3rem; }
.steps li { margin: .5rem 0; padding-left: .3rem; }
.doc table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.doc th, .doc td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--wire); }
.doc th { color: var(--muted); font-weight: 600; }
.doc td.ok { color: var(--done); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kv { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1.4rem; }
.kv dt { font-weight: 650; }
.kv dd { margin: 0; color: var(--muted); }
@media (max-width: 560px) { .kv { grid-template-columns: 1fr; gap: .1rem; } .kv dd { margin-bottom: .6rem; } }

#view-testlauf .board { margin-top: .4rem; }

.toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 50; transform: translateX(-50%); padding: .7rem 1.1rem; border-radius: 10px; background: var(--ink); color: var(--ground); font-weight: 600; box-shadow: var(--shadow); max-width: calc(100vw - 32px); }
.toast[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .toast:not([hidden]) { animation: toast-in .22s var(--ease-out); }
  @keyframes toast-in { from { transform: translate(-50%, 8px); opacity: 0; } to { transform: translateX(-50%); opacity: 1; } }
}
.table-wrap { overflow-x: auto; }
@media (max-width: 560px) { .doc th, .doc td { padding: .5rem .4rem; font-size: .86rem; } }

/* ---------- Icons, price tiers, tool chips (14.10.2026) ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; }
.ilist li { display: flex; align-items: flex-start; gap: .7rem; margin: .55rem 0; }
.ilist .ic { padding: .3em; width: 1.9em; height: 1.9em; margin-top: -.15em; border-radius: 8px; color: var(--signal); background: color-mix(in oklab, var(--signal) 12%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--signal) 28%, transparent); }
.pillar:not(.main) .ilist .ic { color: #b29dff; background: color-mix(in oklab, var(--violet) 16%, transparent); box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--violet) 35%, transparent); }
.node b { display: flex; align-items: center; gap: .45rem; }
.node b .ic { color: var(--signal); width: 1.05em; height: 1.05em; }
.node.gate b .ic { color: #b29dff; }
.care-list li { display: flex; gap: .9rem; align-items: flex-start; }
.care-list li > .ic { width: 2.4rem; height: 2.4rem; padding: .55rem; border-radius: 10px; color: var(--signal); background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--wire); }

.toolgrid { margin: 1.4rem 0 0; display: grid; gap: 1rem; }
.toolgrid div { display: grid; grid-template-columns: 8.5rem 1fr; gap: .4rem 1rem; align-items: start; }
.toolgrid dt { display: flex; align-items: center; gap: .5rem; font-weight: 650; padding-top: .25rem; }
.toolgrid dt .ic { color: var(--signal); }
.toolgrid dd { margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.toolgrid dd span { padding: .25em .7em; border-radius: 99px; border: 1px solid var(--wire); background: color-mix(in oklab, var(--panel) 80%, transparent); font-size: .9rem; color: var(--ink); }
@media (max-width: 560px) { .toolgrid div { grid-template-columns: 1fr; } }

.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(40px, 6vw, 72px); }
.tier { display: grid; align-content: start; gap: .6rem; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-md); border: 1px solid var(--wire); background: color-mix(in oklab, var(--panel) 92%, transparent); }
.tier.featured { border-color: color-mix(in oklab, var(--violet) 55%, var(--wire)); background: linear-gradient(160deg, color-mix(in oklab, var(--signal) 10%, var(--panel)), color-mix(in oklab, var(--violet) 18%, var(--panel))); box-shadow: var(--shadow); }
.tier h3 { font-size: 1.2rem; }
.tier-price { margin: 0; display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.tier-price b { font-size: clamp(2rem, 3.4vw, 2.6rem); line-height: 1; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.tier-price span { color: var(--muted); }
.tier-for { color: var(--muted); margin: 0 0 .3rem; }
.tier-note { margin: 1.2rem 0 0; color: var(--muted); font-size: .95rem; max-width: 70ch; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

.portal-nav .nl { display: inline-flex; align-items: center; gap: .6rem; }
.portal-nav .ic { opacity: .85; }
.portal-nav a[aria-current="page"] .ic { color: var(--signal); opacity: 1; }

/* Szenarien und Live-Verlauf */
.scenarios { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 1rem 0; }
.scenario { display: grid; gap: .35rem; text-align: left; padding: 16px; border-radius: var(--r-md); border: 1px solid var(--wire); background: var(--panel); color: var(--ink); font: inherit; cursor: pointer; }
.scenario span { color: var(--muted); font-size: .92rem; }
.scenario[aria-pressed="true"] { border-color: var(--signal); box-shadow: 0 0 0 1px var(--signal) inset; }
.scenario-form label { display: grid; gap: .4rem; margin: .6rem 0; }
.scenario-form textarea { width: 100%; }
.live { margin-top: 14px; }
.live-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.live-steps { list-style: none; margin: 1rem 0 0; padding: 0 0 0 1.4rem; border-left: 2px solid var(--wire); display: grid; gap: 1rem; }
.live-steps li { position: relative; display: grid; gap: .15rem; color: var(--muted); }
.live-steps li::before { content: ""; position: absolute; left: calc(-1.4rem - 7px); top: .35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--wire); }
.live-steps li.done { color: var(--ink); }
.live-steps li.done::before { background: var(--done); border-color: var(--done); }
.live-steps time { font-size: .85rem; color: var(--muted); font-family: var(--mono); }

/* Bewegung: nur ohne Reduced-Motion */
@media (prefers-reduced-motion: no-preference) {
  .portal-main > section:not([hidden]) { animation: view-in .35s var(--ease-out) both; }
  .stats > div, .ticket-list > li, .approval, .automation, .scenario, .panel { animation: view-in .4s var(--ease-out) both; }
  .stats > div:nth-child(2), .ticket-list > li:nth-child(2), .approval:nth-child(2), .automation:nth-child(2), .scenario:nth-child(2) { animation-delay: .06s; }
  .stats > div:nth-child(3), .ticket-list > li:nth-child(3), .approval:nth-child(3), .automation:nth-child(3), .scenario:nth-child(3) { animation-delay: .12s; }
  .stats > div:nth-child(4), .ticket-list > li:nth-child(n+4), .approval:nth-child(n+4) { animation-delay: .18s; }
  .live-steps li.done { animation: view-in .4s var(--ease-out) both; }
  .live-steps li.done::before { animation: step-pop .5s var(--ease-out) both; }
  .scenario, .approval, .automation, .btn { transition: transform .2s var(--ease-out), border-color .2s, box-shadow .2s; }
  .btn:active, .scenario:active { transform: scale(.97); }
  @keyframes view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
  @keyframes step-pop { 0% { transform: scale(.4); } 60% { transform: scale(1.35); } 100% { transform: scale(1); } }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .scenario:hover, .approval:hover, .automation:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--signal) 60%, var(--wire)); }
}

/* Flüssigere Bewegung: Linie füllt sich stetig, GPU-Transforms, weichere Kurve */
.live { --p: 0; }
.live-steps { position: relative; border-left-color: transparent; }
.live-steps::before, .live-steps::after { content: ""; position: absolute; left: -2px; top: 0; width: 2px; height: 100%; transform-origin: top; }
.live-steps::before { background: var(--wire); }
.live-steps::after { background: var(--brand-grad); transform: scaleY(var(--p)); will-change: transform; transition: transform .12s linear; }
@media (prefers-reduced-motion: no-preference) {
  :root { --ease-soft: cubic-bezier(.22, 1, .36, 1); }
  .portal-main > section:not([hidden]) { animation-duration: .5s; animation-timing-function: var(--ease-soft); }
  .stats > div, .ticket-list > li, .approval, .automation, .scenario, .panel { animation-duration: .55s; animation-timing-function: var(--ease-soft); will-change: transform, opacity; }
  .scenario, .approval, .automation, .btn, .ticket-row, .portal-nav a { transition: transform .35s var(--ease-soft), border-color .3s, box-shadow .35s var(--ease-soft), background-color .25s; }
  .scenario:hover, .approval:hover, .automation:hover { box-shadow: 0 18px 40px -22px rgba(12, 198, 255, .45); }
  @keyframes view-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
}
.portal-main > section, .live, .scenario-form, .scenarios { min-width: 0; max-width: 100%; }
.live-steps li span, .scenario span, .scenario b { overflow-wrap: anywhere; }

/* Labs: Creator Studio und Markets Lab */
.lab-hero { padding-block: clamp(48px, 9vw, 110px) clamp(20px, 4vw, 40px); }
.lab-hero h1 { max-width: 20ch; }
.lab-hero .lead { max-width: 60ch; color: var(--muted); font-size: 1.12rem; }
.lab-note { max-width: 62ch; padding: .8rem 1rem; border-radius: var(--r-sm); border: 1px solid var(--wire); background: color-mix(in oklab, var(--panel) 90%, transparent); color: var(--muted); }
.lab-note b { color: var(--ink); }
.lab-cta { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; margin-top: 1.4rem; }
.lab-ctrl { margin-top: 1rem; }
.labs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 16px; margin-top: 1.4rem; }
.lab-card { display: grid; align-content: start; gap: .7rem; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-md); border: 1px solid var(--wire); background: linear-gradient(160deg, color-mix(in oklab, var(--signal) 7%, var(--panel)), color-mix(in oklab, var(--violet) 12%, var(--panel))); color: var(--ink); text-decoration: none; min-width: 0; }
.lab-card h3 { font-size: 1.3rem; }
.lab-card p { margin: 0; color: var(--muted); }
.lab-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: color-mix(in oklab, var(--signal) 14%, var(--panel)); color: var(--signal); }
.lab-ico .ic { width: 22px; height: 22px; }
.mini-ui { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: .3rem; }
.mini-ui i { flex: 1; border-radius: 6px 6px 3px 3px; background: var(--brand-grad); opacity: .75; }
.mini-ui i:nth-child(1) { height: 90%; } .mini-ui i:nth-child(2) { height: 72%; } .mini-ui i:nth-child(3) { height: 100%; } .mini-ui i:nth-child(4) { height: 58%; } .mini-ui i:nth-child(5) { height: 80%; }
.mini-line { display: block; height: 54px; margin-top: .3rem; border-radius: 8px; background: repeating-linear-gradient(90deg, color-mix(in oklab, var(--signal) 35%, transparent) 0 2px, transparent 2px 22px), linear-gradient(180deg, transparent 49%, var(--wire) 50%, transparent 51%); }
.mini-line i { display: none; }

.pkg { display: grid; gap: .8rem; padding: clamp(18px, 2.6vw, 28px); border-radius: var(--r-md); border: 1px solid var(--wire); background: color-mix(in oklab, var(--panel) 94%, transparent); box-shadow: var(--shadow); min-width: 0; }
.pkg-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: .9rem; }
.pkg h3 { font-size: 1.25rem; }
.pkg-sub { margin: 0; color: var(--muted); }
.pkg-shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.pkg-shots i { aspect-ratio: 4 / 5; border-radius: 10px; background: linear-gradient(160deg, color-mix(in oklab, var(--signal) 45%, var(--panel)), color-mix(in oklab, var(--violet) 55%, var(--panel))); opacity: calc(var(--h) / 100); }
.pkg-shots i:nth-child(1) { --h: 94; }
.pkg-shots i:nth-child(2) { --h: 91; }
.pkg-shots i:nth-child(3) { --h: 88; }
.pkg-shots i:nth-child(4) { --h: 86; }
.pkg-shots i:nth-child(5) { --h: 84; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--wire); }
.checks li { display: flex; justify-content: space-between; gap: 12px; padding: .55rem .8rem; background: color-mix(in oklab, var(--panel) 96%, transparent); font-size: .95rem; }
.checks li span { color: var(--muted); } .checks li b { font-weight: 600; text-align: right; }
.pkg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pkg-msg { margin: 0; min-height: 1.4em; color: var(--muted); font-size: .95rem; }
.pkg[data-state="approve"] { border-color: var(--done); } .pkg[data-state="reject"] { border-color: color-mix(in oklab, var(--wait) 60%, var(--wire)); }

.pipeline { --p: 0; list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; counter-reset: step; }
.pipeline::before, .pipeline::after { content: ""; position: absolute; left: 4%; right: 4%; top: 18px; height: 2px; transform-origin: left; }
.pipeline::before { background: var(--wire); }
.pipeline::after { background: var(--brand-grad); transform: scaleX(var(--p)); transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.pipeline li { position: relative; display: grid; gap: .3rem; padding-top: 44px; counter-increment: step; color: var(--muted); min-width: 0; }
.pipeline li::before { content: counter(step); position: absolute; top: 0; left: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--ground); border: 2px solid var(--wire); color: var(--muted); font-weight: 700; z-index: 1; transition: background-color .4s, border-color .4s, color .4s, transform .5s cubic-bezier(.22, 1, .36, 1); }
.pipeline li b { color: var(--ink); } .pipeline li span { font-size: .92rem; overflow-wrap: anywhere; }
.pipeline li.on::before { background: var(--signal); border-color: var(--signal); color: var(--on-signal); transform: scale(1.12); }
@media (max-width: 760px) {
  .pipeline { grid-template-columns: 1fr; gap: 18px; }
  .pipeline::before, .pipeline::after { left: 18px; right: auto; top: 4%; bottom: 4%; width: 2px; height: auto; transform-origin: top; }
  .pipeline::after { transform: scaleY(var(--p)); }
  .pipeline li { padding: 0 0 0 54px; min-height: 38px; }
}
@media (prefers-reduced-motion: no-preference) {
  .lab-card { transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .35s; }
  .mini-ui i { transform-origin: bottom; animation: bar-in .9s cubic-bezier(.22, 1, .36, 1) both; }
  .mini-ui i:nth-child(2) { animation-delay: .07s; } .mini-ui i:nth-child(3) { animation-delay: .14s; } .mini-ui i:nth-child(4) { animation-delay: .21s; } .mini-ui i:nth-child(5) { animation-delay: .28s; }
  .mini-line { animation: line-flow 3s linear infinite; }
  @keyframes bar-in { from { transform: scaleY(.15); opacity: 0; } to { transform: none; opacity: .75; } }
  @keyframes line-flow { from { background-position: 0 0, 0 0; } to { background-position: 22px 0, 0 0; } }
  .pkg-shots i { animation: view-in .6s cubic-bezier(.22, 1, .36, 1) both; }
  .pkg-shots i:nth-child(2) { animation-delay: .06s; } .pkg-shots i:nth-child(3) { animation-delay: .12s; } .pkg-shots i:nth-child(4) { animation-delay: .18s; } .pkg-shots i:nth-child(5) { animation-delay: .24s; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .lab-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--signal) 55%, var(--wire)); box-shadow: 0 22px 44px -24px rgba(12, 198, 255, .5); }
}
@media (prefers-reduced-motion: reduce) {
  .pipeline::after, .pipeline li::before { transition: none; }
}

/* Sehr schmale Handys (320 px): Kopf-Button blendet aus, derselbe Aufruf steht im Hero */
@media (max-width: 380px) { .site-head .btn { display: none; } }
@media (max-width: 380px) { .facts { grid-template-columns: 1fr; } .facts div, .facts div + div { padding-left: 0; border-left: 0; padding-bottom: .4rem; } }
