/* ════════════════════════════════════════════════════════════════════════
   PaneScale — Website
   Dunkel, präzise, eine Marke: das Windrad aus vier Panes (Mint → Blau → Violett).
   ════════════════════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-opsz-normal.woff2') format('woff2-variations');
  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: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-latin-ext-opsz-normal.woff2') format('woff2-variations');
  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;
}
@font-face {
  font-family: 'JetBrains Mono Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/assets/fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-2: #0a0c10;
  --surface: #0e1015;
  --raised: #14171e;
  --raised-2: #1b1f29;
  --line: rgba(255, 255, 255, 0.07);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.2);
  --text: #ededf0;
  --text-2: #c9cbd1;
  --muted: #9a9ca6;
  --faint: #656771;

  --b1: #45f0c9;
  --b2: #38b6ff;
  --b3: #4d6bff;
  --b4: #9b5cff;
  --grad: linear-gradient(115deg, var(--b1) 0%, var(--b2) 38%, var(--b3) 72%, var(--b4) 100%);
  --accent: #6f8bff;
  --accent-soft: rgba(111, 139, 255, 0.14);
  --mint: #45f0c9;
  /* Text in Farbe: hell und gedämpft, nie die vollen Markenfarben */
  --grad-text: linear-gradient(95deg, #e4f5f0 0%, #c5e0f7 42%, #b9c8f7 100%);
  --ink-accent: #a9c4ee;
  --ink-mint: #9ad8c6;

  --ok: #3dd68c;
  --ok-soft: rgba(61, 214, 140, 0.13);
  --warn: #f5b83d;
  --warn-soft: rgba(245, 184, 61, 0.13);
  --err: #f26d6d;
  --err-soft: rgba(242, 109, 109, 0.13);
  --info: #6ea8fe;

  --font: 'Inter Variable', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono Variable', 'Cascadia Mono', ui-monospace, Consolas, monospace;

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 22px;
  /* Knöpfe sind auf allen Seiten Kapseln (11.10.) */
  --r-pill: 999px;
  /* Große Überschriften auf allen Seiten gleich (11.10.): Gewicht, Laufweite, Farbe und drei Größen;
     der Schluss steht im Verlauf (.grad-text, gesetzt von gradTitle in src/lib/html.mjs) */
  --display-weight: 640;
  --display-track: -0.045em;
  --display-ink: #f4f5f7;
  --fs-h1: clamp(2.5rem, 4.8vw, 4.4rem);
  --fs-h2: clamp(2.2rem, 4.1vw, 3.55rem);
  --fs-h2-sub: clamp(1.9rem, 3.4vw, 2.7rem);
  --fs-h1-doc: clamp(2.2rem, 4.2vw, 3.2rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --header-h: 64px;
  --gutter: 24px;
  --shadow-lg: 0 40px 120px -40px rgba(0, 0, 0, 0.8), 0 12px 32px -12px rgba(0, 0, 0, 0.55);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01', 'ss03';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

::selection {
  background: rgba(77, 107, 255, 0.45);
  color: #fff;
}

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

.i {
  width: 1em;
  height: 1em;
  flex: none;
}

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

.wrap-narrow {
  max-width: 820px;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  border-radius: 8px;
  font-weight: 500;
}
.skip:focus {
  top: 12px;
}

kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.6em;
  height: 1.6em;
  padding: 0 0.4em;
  font: 500 0.78em/1 var(--mono);
  color: var(--text-2);
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 5px;
}
.kbd-plus {
  margin: 0 0.2em;
  color: var(--faint);
}

/* ── Typo-Bausteine ───────────────────────────────────────────────────── */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font: 500 13px/1.2 var(--mono);
  color: var(--muted);
  letter-spacing: 0.01em;
}
.eyebrow::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(56, 182, 255, 0.3);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 60ch;
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.muted {
  color: var(--muted);
}

.mono {
  font-family: var(--mono);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  font: 500 11.5px/1 var(--font);
  letter-spacing: 0.01em;
  color: var(--text-2);
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  white-space: nowrap;
}
.pill-new {
  color: #07080b;
  background: var(--grad-text);
  border-color: transparent;
  font-weight: 600;
}
.pill-pro {
  color: #bccaf0;
  background: rgba(120, 145, 230, 0.1);
  border-color: rgba(140, 165, 240, 0.26);
}
.pill-labs {
  color: var(--ink-mint);
  background: rgba(69, 240, 201, 0.07);
  border-color: rgba(69, 240, 201, 0.22);
}
.pill-ok {
  color: var(--ok);
  background: var(--ok-soft);
  border-color: rgba(61, 214, 140, 0.3);
}
.pill-warn {
  color: var(--warn);
  background: var(--warn-soft);
  border-color: rgba(245, 184, 61, 0.3);
}
.pill-err {
  color: var(--err);
  background: var(--err-soft);
  border-color: rgba(242, 109, 109, 0.3);
}

/* ── Buttons ──────────────────────────────────────────────────────────── */
/* Ein Knopf-System für alle Seiten (11.10.), Vorbild Start-Hero: Kapsel; Hauptaktion hell mit feinem
   Lichtring, Nebenaktion als Glas mit Haarlinie. Größen: sm (Kopfzeile) · Standard · lg (Heros, CTA). */

.btn {
  --halo: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 19px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 0;
  border-radius: var(--r-pill);
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.2s var(--ease), box-shadow 0.3s var(--ease), transform 0.15s var(--ease);
}
.btn .i {
  font-size: 15px;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  color: #0a0b10;
  background: linear-gradient(180deg, #ffffff, #eef0f7);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 0 0 var(--halo) rgba(155, 140, 255, 0.22), 0 10px 34px -8px rgba(124, 140, 255, 0.65);
}
.btn-primary:hover {
  box-shadow: 0 0 0 1px #fff, 0 0 0 calc(var(--halo) + 1px) rgba(155, 140, 255, 0.3), 0 14px 44px -8px rgba(124, 140, 255, 0.85);
}
.btn-ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}
.btn-ghost .i:last-child {
  transition: transform 0.2s var(--ease);
}
.btn-ghost:hover .i:last-child {
  transform: translateX(2px);
}
.btn-sm {
  --halo: 3px;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  font-size: 13.5px;
}
.btn-sm .i {
  font-size: 14px;
}
.btn-lg {
  gap: 9px;
  height: 48px;
  padding: 0 23px;
  font-size: 14.5px;
}
.btn-block {
  width: 100%;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.btn-row.is-center {
  justify-content: center;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 550;
  font-size: 14.5px;
  color: var(--text);
}
.link-arrow .i {
  transition: transform 0.2s var(--ease);
}
.link-arrow:hover .i {
  transform: translateX(3px);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 34px;
  min-width: 34px;
  padding: 0 8px;
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: background 0.2s, color 0.2s;
}
.icon-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.icon-btn .i {
  font-size: 18px;
}

/* ── Header ───────────────────────────────────────────────────────────── */
/* Oben liegt die Kopfzeile offen über der Seite (bündig mit Hero und Inhalt). Beim Scrollen zieht sie sich
   zu einer schwebenden Glas-Insel zusammen; in ihrer unteren Fuge läuft der Lesefortschritt als Licht.
   Die Höhe bleibt --header-h, damit Heros und Sticky-Elemente unverändert rechnen.
   Kein backdrop-filter auf .site-header selbst: Er würde die Insel vom Seiteninhalt abschneiden. */

.site-header {
  --island-w: 1088px;
  position: sticky;
  top: 0;
  z-index: 50;
  display: flow-root; /* sonst schlägt der Abstand der Insel nach oben durch */
  height: var(--header-h);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  transition: width 0.55s var(--ease), max-width 0.55s var(--ease), height 0.55s var(--ease), margin 0.55s var(--ease), padding 0.55s var(--ease);
}
/* Glas der Insel als eigene Ebene: blendet weich ein, ohne die Seite oben zu verwischen */
.header-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(24, 27, 36, 0.7), rgba(10, 12, 17, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.085);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4),
    0 20px 50px -20px rgba(0, 0, 0, 0.9),
    0 2px 12px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
  pointer-events: none;
}
.site-header.is-scrolled .header-inner,
.site-header.is-menu .header-inner {
  width: calc(100% - 24px);
  max-width: var(--island-w);
  height: calc(var(--header-h) - 14px);
  margin-top: 7px;
  padding: 0 8px 0 18px;
}
.site-header.is-scrolled .header-inner::before,
.site-header.is-menu .header-inner::before {
  opacity: 1;
  transform: none;
}
/* Lesefortschritt: Licht in der unteren Fuge der Insel */
.site-header .scroll-bar {
  position: absolute;
  top: auto;
  left: 18px;
  right: 18px;
  bottom: -1px;
  z-index: 1;
  height: 1px;
  border-radius: 1px;
  box-shadow: 0 0 6px rgba(56, 182, 255, 0.45);
  opacity: 0;
  transition: opacity 0.45s var(--ease);
}
.site-header.is-scrolled .scroll-bar {
  opacity: 0.85;
}

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 17px;
  letter-spacing: -0.02em;
}
.brand:hover .mark {
  filter: drop-shadow(0 0 10px rgba(56, 182, 255, 0.6));
}
.mark {
  transition: filter 0.3s;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 34px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover,
.nav-link.is-active,
.has-menu.is-open .nav-link {
  color: var(--text);
}
.nav:not(.has-hl) .nav-link:hover {
  background: rgba(255, 255, 255, 0.05);
}
/* aktive Seite: dieselbe neutrale Glasfläche wie beim Hover, ohne Farbstrich (ohne JS direkt am Link) */
.nav:not(.has-hl) .nav-link.is-active {
  background: rgba(255, 255, 255, 0.065);
}
/* Hover-Fläche, die von Link zu Link gleitet und danach zur aktiven Seite zurückkehrt (site.js) */
.nav-hl {
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--w, 0px);
  height: 34px;
  margin-top: -17px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.065);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.045), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transform: translateX(var(--x, 0px));
  opacity: 0;
  transition: transform 0.4s var(--ease), width 0.4s var(--ease), opacity 0.2s;
  pointer-events: none;
}
.nav-hl.is-on {
  opacity: 1;
}
.nav-hl.is-jump {
  transition: opacity 0.2s;
}
.nav-caret {
  font-size: 13px;
  opacity: 0.7;
  transition: transform 0.25s var(--ease);
}
.has-menu.is-open .nav-caret {
  transform: rotate(180deg);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.search-btn {
  padding: 0 6px 0 10px;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.search-btn:hover {
  border-color: var(--line-2);
}
@media (max-width: 640px) {
  .search-btn {
    background: none;
  }
}
.search-hint {
  display: inline-flex;
  gap: 3px;
}
.search-hint kbd {
  font-size: 10.5px;
  height: 20px;
  min-width: 20px;
}
.menu-btn {
  display: none;
  color: var(--text);
}
/* Menü-Knopf: zwei Linien, die sich zum X drehen */
.burger {
  position: relative;
  width: 18px;
  height: 12px;
}
.burger span {
  position: absolute;
  left: 0;
  right: 0;
  height: 1.7px;
  border-radius: 2px;
  background: currentColor;
  transition: top 0.3s var(--ease), transform 0.35s var(--ease);
}
.burger span:first-child {
  top: 2px;
}
.burger span:last-child {
  top: 8.3px;
}
.menu-btn[aria-expanded='true'] .burger span {
  top: 5.15px;
}
.menu-btn[aria-expanded='true'] .burger span:first-child {
  transform: rotate(45deg);
}
.menu-btn[aria-expanded='true'] .burger span:last-child {
  transform: rotate(-45deg);
}

/* Mega-Menü */
.nav-item {
  position: relative;
}
.mega {
  position: absolute;
  top: calc(100% + 16px);
  left: -28px;
  width: min(880px, calc(100vw - 48px));
  padding: 8px;
  background: linear-gradient(180deg, rgba(21, 24, 32, 0.9), rgba(10, 12, 16, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), var(--shadow-lg);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.985);
  transform-origin: 72px 0;
  transition: opacity 0.2s var(--ease), transform 0.3s var(--ease), visibility 0.2s;
}
.mega::before {
  content: '';
  position: absolute;
  inset: -18px 0 auto;
  height: 18px;
}
.has-menu.is-open .mega {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.mega-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  gap: 8px;
}
.mega-main {
  padding: 10px 4px 4px;
}
.mega-kicker,
.sheet-kicker {
  padding: 0 10px 8px;
  font: 500 12px/1.2 var(--mono);
  letter-spacing: 0.02em;
  color: var(--faint);
}
.mega-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px;
  border-radius: 12px;
  transition: background 0.15s;
}
.mega-item:hover,
.mega-item:focus-visible {
  background: rgba(255, 255, 255, 0.045);
}
.mega-ic {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  color: var(--text-2);
  background: linear-gradient(180deg, #1a1e27, #111419);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.25s;
}
.mega-ic .i {
  font-size: 17px;
}
.mega-item:hover .mega-ic,
.mega-item:focus-visible .mega-ic {
  color: #fff;
  border-color: rgba(56, 182, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 3px rgba(56, 182, 255, 0.08), 0 6px 18px -6px rgba(56, 182, 255, 0.55);
}
.mega-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 550;
  line-height: 1.3;
  margin: 1px 0 3px;
}
.mega-go {
  font-size: 13px;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.25s var(--ease);
}
.mega-item:hover .mega-go,
.mega-item:focus-visible .mega-go {
  opacity: 1;
  transform: none;
}
.mega-line {
  display: block;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.mega-side {
  display: flex;
  flex-direction: column;
  padding: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.mega-film {
  display: block;
  padding: 6px 6px 12px;
  border-radius: 10px;
  transition: background 0.15s;
}
.mega-film:hover,
.mega-film:focus-visible {
  background: rgba(255, 255, 255, 0.04);
}
.mega-film-img {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  margin-bottom: 11px;
  overflow: hidden;
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.mega-film-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s, transform 0.6s var(--ease);
}
.mega-film-img img.is-loaded {
  opacity: 1;
}
.mega-film:hover .mega-film-img img {
  transform: scale(1.04);
}
.mega-play {
  position: absolute;
  left: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #07080b;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 50%;
  box-shadow: 0 6px 16px -4px rgba(0, 0, 0, 0.6);
  transition: transform 0.25s var(--ease);
}
.mega-play .i {
  font-size: 13px;
  margin-left: 2px;
  fill: currentColor;
}
.mega-film:hover .mega-play {
  transform: scale(1.08);
}
.mega-film-t {
  display: block;
  padding: 0 4px;
  font-size: 14px;
  font-weight: 550;
}
.mega-film-l {
  display: block;
  padding: 0 4px;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--muted);
}
.mega-links {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: auto;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.mega-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  font-size: 13.5px;
  color: var(--text-2);
  border-radius: 8px;
  transition: background 0.15s, color 0.15s;
}
.mega-link .i {
  font-size: 14px;
  color: var(--faint);
  transition: transform 0.2s var(--ease), color 0.2s;
}
.mega-link:hover,
.mega-link:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}
.mega-link:hover .i {
  color: var(--text-2);
  transform: translateX(2px);
}
.mega-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: background 0.15s, border-color 0.15s;
}
.mega-foot .i {
  margin-left: auto;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
}
.mega-foot:hover {
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-2);
}
.mega-foot:hover .i {
  transform: translateX(2px);
}

/* Mobiles Menü: deckt die Seite, die Insel bleibt darüber */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(7, 8, 11, 0.88);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  backdrop-filter: blur(28px) saturate(140%);
  animation: sheet-in 0.3s var(--ease);
}
@keyframes sheet-in {
  from {
    opacity: 0;
  }
}
@keyframes sheet-item {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
/* Scrollbereich beginnt unter der Kopfzeile, damit nichts über der Insel hervorschaut */
.sheet-inner {
  position: absolute;
  inset: var(--header-h) 0 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: 18px;
  padding-bottom: 28px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16px);
  mask-image: linear-gradient(180deg, transparent 0, #000 16px);
}
.sheet-inner > * {
  flex-shrink: 0;
}
.sheet-nav {
  display: flex;
  flex-direction: column;
}
.sheet-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-2);
  border-bottom: 1px solid var(--line);
  animation: sheet-item 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 32ms + 40ms);
  transition: color 0.2s;
}
.sheet-nav a .i {
  font-size: 20px;
  color: var(--faint);
  transition: transform 0.25s var(--ease), color 0.2s;
}
.sheet-nav a:hover,
.sheet-nav a.is-active {
  color: var(--text);
}
.sheet-nav a:hover .i {
  color: var(--text-2);
  transform: translate(2px, -2px);
}
.sheet-nav a.is-active .i {
  color: var(--text);
}
.sheet-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 28px 0;
}
.sheet-features .sheet-kicker {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0 2px 4px;
}
.sheet-features a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 7px;
  font-size: 14px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  animation: sheet-item 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 22ms + 200ms);
}
.sheet-features a > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet-ic {
  display: grid;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--text);
  background: linear-gradient(180deg, #1a1e27, #111419);
  border: 1px solid var(--line-2);
  border-radius: 9px;
}
.sheet-ic .i {
  font-size: 15px;
}
.sheet-cta {
  display: grid;
  gap: 10px;
  margin-top: auto;
}
@media (min-width: 720px) {
  .sheet-cta {
    grid-template-columns: 1fr 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sheet,
  .sheet-nav a,
  .sheet-features a {
    animation: none;
  }
  .header-inner,
  .header-inner::before,
  .nav-hl {
    transition: none;
  }
}

/* ── Sektionen ────────────────────────────────────────────────────────── */

.section {
  position: relative;
  padding: 128px 0;
}
.section-tight {
  padding: 88px 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head {
  margin-bottom: 56px;
  max-width: 760px;
}
.section-head h2 {
  font-size: var(--fs-h2);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.04;
  color: var(--display-ink);
}
.section-head .lead {
  margin-top: 18px;
}
.section-head.is-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head.is-center .lead {
  margin-left: auto;
  margin-right: auto;
}
.section-head.is-center .eyebrow {
  justify-content: center;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ── Hero (Start) ─────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 88px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -340px;
  width: 1400px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(77, 107, 255, 0.2), rgba(56, 182, 255, 0.07) 55%, transparent 75%);
  pointer-events: none;
}
.hero-seams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px), linear-gradient(to bottom, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center top;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 0%, transparent 70%);
  opacity: 0.55;
}
.hero-top {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.hero-news {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding: 5px 12px 5px 5px;
  font-size: 13.5px;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: border-color 0.2s, background 0.2s;
}
.hero-news:hover {
  border-color: var(--line-3);
  background: rgba(255, 255, 255, 0.05);
}
.hero-news .i {
  color: var(--muted);
}
.hero h1 {
  font-size: clamp(2.9rem, 7.2vw, 6rem);
  font-weight: 620;
  letter-spacing: -0.048em;
  line-height: 0.98;
}
.hero h1 .line {
  display: block;
}
.hero-side .lead {
  margin-bottom: 28px;
  color: var(--text-2);
  opacity: 0.85;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-meta .i {
  font-size: 14px;
  color: var(--faint);
}
.hero-stage {
  position: relative;
  margin-top: 64px;
}
.hero-stage::after {
  content: '';
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -40px;
  height: 120px;
  background: radial-gradient(closest-side, rgba(77, 107, 255, 0.35), transparent);
  filter: blur(30px);
  z-index: -1;
}

/* ── App-Fenster (Mockup) ─────────────────────────────────────────────── */

.app {
  position: relative;
  background: #0a0c11;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  font-size: 12px;
  isolation: isolate;
}
.app::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  z-index: 3;
}
.app-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 42px;
  padding: 0 0 0 14px;
  background: #0d0f15;
  border-bottom: 1px solid var(--line);
}
.app-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12.5px;
}
.app-tabs {
  display: flex;
  gap: 2px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.app-tab {
  padding: 4px 11px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
}
.app-tab.is-active {
  color: var(--text);
  background: var(--raised-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06) inset;
}
.app-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  height: 100%;
}
.app-search {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 8px;
  width: 200px;
  font-size: 11.5px;
  color: var(--faint);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 7px;
}
.app-search kbd {
  margin-left: auto;
  font-size: 9.5px;
  height: 17px;
}
.app-ic {
  color: var(--muted);
  font-size: 15px;
  position: relative;
}
.app-ic.has-dot::after {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 6px;
  height: 6px;
  background: var(--warn);
  border-radius: 50%;
  box-shadow: 0 0 0 2px #0d0f15;
}
.app-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #38b6ff, #9b5cff);
}
.app-win {
  display: flex;
  height: 100%;
}
.app-win span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 100%;
  color: var(--faint);
}
.app-win .i {
  font-size: 13px;
}
.app-body {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  height: clamp(420px, 46vw, 600px);
}
.app-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 14px 10px;
  background: #0b0d12;
  border-right: 1px solid var(--line);
  overflow: hidden;
}
.side-label {
  padding: 0 8px 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.side-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  font-size: 12px;
  color: var(--text-2);
  border-radius: 7px;
}
.side-item.is-active {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.side-item .count {
  margin-left: auto;
  font: 500 10.5px var(--mono);
  color: var(--faint);
}
.side-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  flex: none;
}
.side-item .i {
  font-size: 13px;
  color: var(--faint);
}
.side-attn {
  margin-top: auto;
  padding: 10px;
  background: var(--warn-soft);
  border: 1px solid rgba(245, 184, 61, 0.25);
  border-radius: 9px;
  font-size: 11.5px;
  color: #f8d48a;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.side-attn.is-on {
  opacity: 1;
  transform: none;
}
.side-attn b {
  display: block;
  color: var(--warn);
  font-weight: 600;
  margin-bottom: 2px;
}
.app-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #090b0f;
}
.app-tool {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
}
.layout-chips {
  display: flex;
  gap: 2px;
}
.layout-chip {
  min-width: 26px;
  height: 22px;
  padding: 0 6px;
  font: 500 10.5px/22px var(--mono);
  text-align: center;
  color: var(--faint);
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}
.layout-chip.is-active {
  color: var(--text);
  background: var(--raised-2);
}
.tool-sep {
  width: 1px;
  height: 16px;
  background: var(--line-2);
}
.tool-ws {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.tool-ws .i {
  font-size: 13px;
}
.tool-right {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: var(--faint);
}
.grid-area {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 8px;
}
.pgrid {
  display: grid;
  gap: 8px;
  height: 100%;
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
  grid-template-rows: repeat(var(--rows, 1), minmax(0, 1fr));
}
.pane {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #0d0f15;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  transition: border-color 0.4s, box-shadow 0.4s;
}
.pane.is-focus {
  border-color: rgba(111, 139, 255, 0.45);
}
.pane.is-attn {
  border-color: rgba(245, 184, 61, 0.55);
  box-shadow: 0 0 0 3px rgba(245, 184, 61, 0.1);
  animation: attn 1.6s ease-in-out infinite;
}
@keyframes attn {
  50% {
    box-shadow: 0 0 0 5px rgba(245, 184, 61, 0.04);
  }
}
.pane-head {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
  white-space: nowrap;
}
.pane-agent {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 11.5px;
}
.pane-agent i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, var(--accent));
  box-shadow: 0 0 8px var(--c, var(--accent));
}
.pane-lane {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font: 500 10.5px var(--mono);
  color: var(--faint);
  overflow: hidden;
  text-overflow: ellipsis;
}
.pane-lane .i {
  font-size: 11px;
}
.pane-state {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 18px;
  padding: 0 7px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  transition: color 0.3s, background 0.3s;
}
.pane-state::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.pane-state[data-s='working'] {
  color: var(--ink-accent);
  background: rgba(56, 182, 255, 0.12);
}
.pane-state[data-s='working']::before {
  animation: blink 1s steps(2) infinite;
}
.pane-state[data-s='needs'] {
  color: var(--warn);
  background: var(--warn-soft);
}
.pane-state[data-s='done'] {
  color: var(--ok);
  background: var(--ok-soft);
}
.pane-state[data-s='idle'] {
  color: var(--faint);
}
@keyframes blink {
  50% {
    opacity: 0.25;
  }
}
.pane-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1px;
  padding: 8px 10px 10px;
  overflow: hidden;
  font: 400 11px/1.6 var(--mono);
  color: var(--text-2);
  mask-image: linear-gradient(to bottom, transparent 0, #000 36px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px);
}
.pane-body .ln {
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: ln-in 0.25s var(--ease);
}
@keyframes ln-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
}
.ln.prompt {
  color: var(--text);
}
.ln.prompt::before {
  content: '› ';
  color: var(--b1);
}
.ln.tool {
  color: var(--muted);
}
.ln.tool::before {
  content: '● ';
  color: var(--b2);
}
.ln.ok {
  color: var(--ok);
}
.ln.ok::before {
  content: '✓ ';
}
.ln.add {
  color: #7fe0a8;
}
.ln.del {
  color: #f19a9a;
}
.ln.dim {
  color: var(--faint);
}
.ln.warn {
  color: var(--warn);
}
.ln.warn::before {
  content: '? ';
}
.ln.bc {
  color: #b9c6ee;
}
.ln.bc::before {
  content: '⇉ ';
}
.caret {
  display: inline-block;
  width: 6px;
  height: 12px;
  margin-left: 1px;
  vertical-align: -2px;
  background: var(--text);
  animation: blink 1s steps(2) infinite;
}
.broadcast {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  margin: 0 8px 8px;
  padding: 0 12px;
  font-size: 11.5px;
  color: var(--faint);
  background: #0d0f15;
  border: 1px solid var(--line);
  border-radius: 9px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.broadcast.is-live {
  border-color: rgba(155, 92, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(155, 92, 255, 0.1);
  color: var(--text);
}
.broadcast .i {
  font-size: 14px;
  color: var(--b4);
}
.bc-text {
  font-family: var(--mono);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
}
.bc-target {
  font-size: 10.5px;
  color: var(--faint);
  white-space: nowrap;
}
.toast {
  position: absolute;
  right: 14px;
  bottom: 60px;
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 260px;
  padding: 12px;
  font-size: 11.5px;
  background: rgba(20, 23, 30, 0.96);
  border: 1px solid var(--line-2);
  border-radius: 11px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
  pointer-events: none;
}
.toast.is-on {
  opacity: 1;
  transform: none;
}
.toast .i {
  font-size: 16px;
  color: var(--warn);
  margin-top: 1px;
}
.toast b {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.toast span {
  color: var(--muted);
}

/* ── CLI-Leiste ───────────────────────────────────────────────────────── */

.clis {
  padding: 56px 0 24px;
}
.clis-inner {
  display: flex;
  align-items: center;
  gap: 32px;
}
.clis-label {
  flex: none;
  max-width: 190px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.marquee {
  position: relative;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 10px;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 5px));
  }
}
.cli-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 16px 0 12px;
  font: 500 13.5px var(--mono);
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  white-space: nowrap;
}
.cli-chip .i {
  color: var(--faint);
  font-size: 15px;
}

/* ── Kennzahlen ───────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 34px 28px 32px;
}
.stat + .stat {
  border-left: 1px solid var(--line);
}
.stat-num {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}

/* ── Tour (Sticky) ────────────────────────────────────────────────────── */

.tour {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  gap: 72px;
}
.tour-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 0;
  opacity: 0.35;
  transition: opacity 0.5s var(--ease);
}
.tour-step.is-active {
  opacity: 1;
}
.tour-step:first-child {
  min-height: 62vh;
  justify-content: flex-start;
  padding-top: 8vh;
}
.tour-num {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font: 500 13px var(--mono);
  color: var(--muted);
}
.tour-num .i {
  font-size: 16px;
  color: var(--b2);
}
.tour-step h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.tour-step > p {
  margin-top: 16px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 46ch;
}
.ticks {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.5;
}
.ticks li .i {
  margin-top: 4px;
  font-size: 15px;
  color: var(--b1);
}
.tour-step .link-arrow {
  margin-top: 24px;
}
.tour-stage {
  position: sticky;
  top: calc(var(--header-h) + 6vh);
  height: min(600px, 76vh);
  align-self: start;
}
.tour-stage .demo-slot {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px) scale(0.985);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.tour-stage .demo-slot.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.tour-inline {
  display: none;
}

/* ── Demos ────────────────────────────────────────────────────────────── */

.demo {
  position: relative;
  container-type: inline-size;
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #0e1016, #0b0d12);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  font-size: 13px;
}
.demo::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}
.demo-head {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  font-weight: 550;
}
.demo-head .i {
  color: var(--b2);
  font-size: 16px;
}
.demo-head .pill {
  margin-left: auto;
}
.demo-body {
  position: relative;
  flex: 1;
  min-height: 0;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demo-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 600;
  color: #07080b;
  background: var(--text);
  border-radius: 7px;
  transition: transform 0.2s, box-shadow 0.3s, background 0.3s, color 0.3s;
}
.mini-btn.ghost {
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line-2);
}
.mini-btn.is-press {
  transform: scale(0.95);
  box-shadow: 0 0 0 5px rgba(111, 139, 255, 0.25);
}
.mini-btn.is-done {
  background: var(--ok);
}
.mini-btn .i {
  font-size: 13px;
}

/* Race */
.lane {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 64px;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.4s, background 0.4s, opacity 0.4s;
}
.lane.is-win {
  border-color: rgba(61, 214, 140, 0.5);
  background: rgba(61, 214, 140, 0.06);
}
.lane.is-out {
  opacity: 0.55;
}
.lane-name {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 13px;
}
.lane-name i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c);
}
.lane-track {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--c, var(--grad));
  border-radius: inherit;
  transition: width 0.6s var(--ease);
}
.checks {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.check {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 20px;
  padding: 0 7px;
  font: 500 10.5px var(--mono);
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.check[data-s='ok'] {
  color: var(--ok);
  border-color: rgba(61, 214, 140, 0.3);
  background: var(--ok-soft);
}
.check[data-s='err'] {
  color: var(--err);
  border-color: rgba(242, 109, 109, 0.35);
  background: var(--err-soft);
}
.check[data-s='run'] {
  color: var(--ink-accent);
  border-color: rgba(56, 182, 255, 0.3);
}
.lane-score {
  text-align: right;
  font: 600 13px var(--mono);
  color: var(--muted);
}
.verdict {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.verdict.is-on {
  opacity: 1;
  transform: none;
}
.verdict-ic {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 10px;
  color: var(--ok);
  background: var(--ok-soft);
}
.verdict b {
  display: block;
  font-size: 13.5px;
}
.verdict span {
  font-size: 12px;
  color: var(--muted);
}
.verdict .mini-btn {
  margin-left: auto;
}

/* Undo */
.timeline {
  position: relative;
  display: grid;
  gap: 6px;
  padding-left: 22px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--line-2);
  border-radius: 2px;
}
.cp {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  transition: background 0.35s, border-color 0.35s, opacity 0.35s;
}
.cp::before {
  content: '';
  position: absolute;
  left: -20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--muted);
  transition: border-color 0.3s, background 0.3s;
}
.cp.is-sel {
  background: rgba(111, 139, 255, 0.08);
  border-color: rgba(111, 139, 255, 0.4);
}
.cp.is-sel::before {
  border-color: var(--accent);
  background: var(--accent);
}
.cp.is-gone {
  opacity: 0.35;
}
.cp-title {
  font-size: 13px;
  font-weight: 550;
}
.cp-meta {
  font: 500 11px var(--mono);
  color: var(--faint);
}
.cp-files {
  margin-left: auto;
  font: 500 11px var(--mono);
  color: var(--muted);
}
.files {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  font: 400 11.5px/1.5 var(--mono);
}
.file {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-2);
}
.file .st {
  margin-left: auto;
  font-size: 10.5px;
  color: var(--faint);
  transition: color 0.3s;
}
.file .st[data-s='ok'] {
  color: var(--ok);
}
.file .st[data-s='err'] {
  color: var(--warn);
}
.file .i {
  font-size: 13px;
  color: var(--faint);
}

/* Point & Fix */
.browser {
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #f6f6f3;
  color: #16161a;
  border-radius: 12px;
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px;
  background: #e9e9e4;
  border-bottom: 1px solid #dcdcd5;
  font: 500 11px var(--mono);
  color: #66666e;
}
.browser-bar .url {
  flex: 1;
  height: 20px;
  padding: 0 8px;
  line-height: 20px;
  background: #fff;
  border-radius: 6px;
}
.site {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 22px;
  align-content: center;
}
.site-card {
  padding: 16px;
  background: #fff;
  border: 1px solid #e3e3dc;
  border-radius: 12px;
}
.site-card h5 {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 650;
}
.site-card .price {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.site-card .ln2 {
  height: 6px;
  margin: 6px 0;
  border-radius: 3px;
  background: #ececE6;
}
.site-cta {
  display: inline-block;
  margin-top: 12px;
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 600;
  color: #b9b9c4;
  background: #ededf2;
  border-radius: 7px;
  transition: all 0.6s var(--ease);
}
.site-cta.is-fixed {
  display: block;
  text-align: center;
  color: #fff;
  background: #1463ff;
}
.pf-hl {
  position: absolute;
  z-index: 2;
  border: 2px solid #4d6bff;
  border-radius: 8px;
  background: rgba(77, 107, 255, 0.1);
  pointer-events: none;
  opacity: 0;
  transition: all 0.35s var(--ease);
}
.pf-hl.is-on {
  opacity: 1;
}
.pf-tag {
  position: absolute;
  left: -2px;
  top: -24px;
  padding: 3px 7px;
  font: 600 10.5px var(--mono);
  color: #fff;
  background: #4d6bff;
  border-radius: 5px;
  white-space: nowrap;
}
.cursor {
  position: absolute;
  z-index: 3;
  width: 18px;
  height: 18px;
  left: 0;
  top: 0;
  pointer-events: none;
  transition: transform 0.9s var(--ease-io);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}
.ask {
  position: absolute;
  z-index: 3;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(14, 16, 21, 0.97);
  color: var(--text);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.ask.is-on {
  opacity: 1;
  transform: none;
}
.ask .i {
  color: var(--b2);
  font-size: 15px;
}
.ask-text {
  flex: 1;
  font-family: var(--mono);
  font-size: 11.5px;
  min-height: 1.4em;
}
.ask-status {
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.diff {
  display: grid;
  font: 400 11.5px/1.65 var(--mono);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.diff-head {
  display: flex;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.diff-head b {
  color: var(--text-2);
  font-weight: 500;
}
.diff .d {
  padding: 0 12px;
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}
.diff .d.add {
  color: #8fe6b3;
  background: rgba(61, 214, 140, 0.08);
}
.diff .d.del {
  color: #f1a3a3;
  background: rgba(242, 109, 109, 0.08);
}
.diff .d.ctx {
  color: var(--faint);
}

/* Guardian */
.meters {
  display: grid;
  gap: 14px;
}
.meter-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}
.meter-top b {
  font-weight: 600;
}
.meter-top span {
  font: 500 12px var(--mono);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.meter .bar {
  height: 8px;
  position: relative;
}
.meter .bar > i {
  transition: width 0.5s linear, background 0.4s;
}
.meter .bar.is-hot > i {
  background: linear-gradient(90deg, var(--warn), var(--err));
}
.events {
  display: grid;
  gap: 6px;
  margin-top: auto;
}
.event {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: 12.5px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 10px;
  animation: ln-in 0.35s var(--ease);
}
.event .i {
  font-size: 15px;
  flex: none;
}
.event.warn .i {
  color: var(--warn);
}
.event.err .i {
  color: var(--err);
}
.event.ok .i {
  color: var(--ok);
}
.event time {
  margin-left: auto;
  font: 500 11px var(--mono);
  color: var(--faint);
}

/* Handoff */
.handoff {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
  flex: 1;
  min-height: 0;
}
.handoff .pane {
  min-height: 0;
}
.handoff .pane-body {
  font-size: 11px;
}
.ho-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  color: var(--faint);
  position: relative;
}
.ho-arrow .i {
  font-size: 20px;
  transition: color 0.4s, transform 0.4s;
}
.ho-arrow.is-on .i {
  color: var(--b4);
  transform: scale(1.15);
}
.packet {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(155, 92, 255, 0.07);
  border: 1px solid rgba(155, 92, 255, 0.3);
  border-radius: 12px;
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.packet.is-on {
  opacity: 1;
  transform: none;
}
.packet-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.packet-title .i {
  color: var(--b4);
}
.packet-items {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Autopilot */
.night {
  position: relative;
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, rgba(77, 107, 255, 0.08), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
  border-radius: 12px;
}
.night-hours {
  display: flex;
  justify-content: space-between;
  font: 500 10.5px var(--mono);
  color: var(--faint);
  margin-bottom: 10px;
}
.night-rows {
  display: grid;
  gap: 8px;
}
.night-row {
  position: relative;
  height: 26px;
  background: rgba(255, 255, 255, 0.025);
  border-radius: 7px;
}
.night-block {
  position: absolute;
  top: 3px;
  bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  border-radius: 5px;
  color: #dfe6ff;
  background: rgba(111, 139, 255, 0.3);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.7s var(--ease), background 0.4s;
}
.night-block.is-on {
  transform: none;
}
.night-block.ok {
  background: rgba(61, 214, 140, 0.28);
  color: #c9f5dc;
}
.night-block.fail {
  background: rgba(242, 109, 109, 0.26);
  color: #ffd2d2;
}
.night-block.warn {
  background: rgba(245, 184, 61, 0.26);
  color: #ffe6b3;
}
.night-now {
  position: absolute;
  top: 34px;
  bottom: 10px;
  width: 2px;
  left: 14px;
  background: var(--b1);
  box-shadow: 0 0 10px var(--b1);
  border-radius: 2px;
  transition: left 0.6s linear;
}
.report {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: auto;
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.report.is-on {
  opacity: 1;
  transform: none;
}
.report-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  font-size: 12.5px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.report-head .i {
  color: var(--warn);
}
.report-head .mini-btn {
  margin-left: auto;
}
.report-cell {
  padding: 12px 14px;
}
.report-cell + .report-cell {
  border-left: 1px solid var(--line);
}
.report-cell b {
  display: block;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.report-cell span {
  font-size: 11.5px;
  color: var(--muted);
}

/* Workflow */
.flow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 26px 6px 10px;
  overflow: hidden;
}
.node {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #11141b;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}
.node-kind {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}
.node-kind .i {
  font-size: 13px;
}
.node-title {
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node-sub {
  font: 400 10.5px var(--mono);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node[data-s='run'] {
  border-color: rgba(56, 182, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.1);
}
.node[data-s='ok'] {
  border-color: rgba(61, 214, 140, 0.45);
}
.node[data-s='wait'] {
  border-color: rgba(245, 184, 61, 0.6);
  box-shadow: 0 0 0 4px rgba(245, 184, 61, 0.1);
}
.node-dot {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line-3);
  transition: background 0.3s;
}
.node[data-s='run'] .node-dot {
  background: var(--b2);
  animation: blink 0.8s steps(2) infinite;
}
.node[data-s='ok'] .node-dot {
  background: var(--ok);
}
.node[data-s='wait'] .node-dot {
  background: var(--warn);
}
.link {
  position: relative;
  flex: 0 0 22px;
  height: 2px;
  background: var(--line-2);
}
.link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
}
.link.is-on::after {
  transform: none;
}
.flow-log {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 12px;
  font: 400 11.5px/1.55 var(--mono);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  min-height: 112px;
  align-content: end;
}
.flow-log .ln {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Video Studio — Mini-Schnittplatz */
.vsd {
  gap: 10px;
  padding: 14px 16px 12px;
}
.vsd-ask {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  padding: 0 6px 0 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-2);
  font-size: 12.5px;
  min-width: 0;
  flex: none;
}
.vsd-glyph {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 7px;
  background: #d97757;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}
.vsd-prompt {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text);
}
.vsd-prompt:empty::before {
  content: 'Describe the video…';
  color: var(--faint);
}
.vsd-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  flex: none;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  animation: vsd-in 0.3s var(--ease);
}
.vsd-status:empty {
  display: none;
}
.vsd-status .i {
  font-size: 13px;
}
.vsd-status.is-run {
  color: var(--ink-accent);
  background: rgba(56, 182, 255, 0.1);
}
.vsd-status.is-ok {
  color: var(--ok);
  background: var(--ok-soft);
}
@keyframes vsd-in {
  from {
    opacity: 0;
    transform: translateY(3px);
  }
}
.vsd-stage {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 130px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(77, 107, 255, 0.09), transparent 60%), #05060a;
  border: 1px solid var(--line);
  overflow: hidden;
}
.vsd-frame {
  position: relative;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0b12;
}
.is-portrait .vsd-frame {
  border-radius: 6px;
  height: calc(100% - 16px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: vsd-morph 0.7s var(--ease);
}
@keyframes vsd-morph {
  from {
    transform: scaleX(2.4);
    opacity: 0.3;
  }
}
.vsd-frame canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.vsd-live {
  position: absolute;
  left: 10px;
  top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 10.5px;
  font-weight: 650;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.3s, transform 0.3s;
}
.vsd-live.is-on {
  opacity: 1;
  transform: none;
}
.vsd-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff5a5a;
  animation: vsd-blink 1.2s ease-in-out infinite;
}
@keyframes vsd-blink {
  50% {
    opacity: 0.3;
  }
}
.vsd-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: none;
  font-size: 11.5px;
}
.vsd-play {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: var(--text);
  color: #07080b;
}
.vsd-play .i {
  font-size: 13px;
}
.vsd-tc {
  font: 500 11.5px var(--mono);
  color: var(--faint);
  white-space: nowrap;
}
.vsd-tc b {
  color: var(--text);
  font-weight: 600;
}
.vsd-fmts {
  display: flex;
  gap: 3px;
  margin-left: auto;
}
.vsd-fmt {
  padding: 3px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  font: 600 10.5px var(--mono);
  color: var(--faint);
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.vsd-fmt.is-on {
  color: var(--text);
  border-color: rgba(69, 240, 201, 0.5);
  background: rgba(69, 240, 201, 0.08);
}
.vsd-exp {
  position: relative;
  display: none;
  width: 124px;
  height: 26px;
  flex: none;
  border-radius: 7px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-2);
}
.vsd-exp.is-on {
  display: block;
}
.vsd-exp i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--grad);
  opacity: 0.4;
}
.vsd-exp b {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  font-size: 10.5px;
  font-weight: 650;
}
.is-exporting .vsd-fmts,
.is-done .vsd-fmts {
  display: none;
}
.is-exporting .vsd-exp,
.is-done .vsd-exp {
  margin-left: auto;
}
.vsd-tl {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}
.vsd-lanes,
.vsd-tracks {
  display: grid;
  grid-template-rows: 18px 48px 22px 20px;
}
.vsd-lanes {
  border-right: 1px solid var(--line);
  color: var(--faint);
}
.vsd-lanes span {
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
}
.vsd-lanes span:last-child {
  border-bottom: 0;
}
.vsd-lanes .i {
  font-size: 12px;
}
.vsd-tracks {
  position: relative;
  margin: 0 10px 0 6px;
}
.vsd-ruler,
.vsd-track {
  position: relative;
  border-bottom: 1px solid var(--line);
}
.vsd-track.vsd-s {
  border-bottom: 0;
}
.vsd-tick {
  position: absolute;
  bottom: 0;
  width: 1px;
  height: 6px;
  background: var(--line-3);
}
.vsd-tick i {
  position: absolute;
  left: 3px;
  bottom: 3px;
  font: 500 9px var(--mono);
  font-style: normal;
  color: var(--faint);
}
.vsd-tick.is-minor {
  height: 3px;
  background: var(--line-2);
}
.vsd-clip {
  position: absolute;
  top: 5px;
  bottom: 5px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--raised-2);
  box-shadow: 0 0 0 1px var(--line-2);
  opacity: 0;
  transform: translateY(6px) scale(0.96);
  transition: opacity 0.35s, transform 0.45s var(--ease), box-shadow 0.3s;
}
.vsd-clip.is-in {
  opacity: 1;
  transform: none;
}
.vsd-clip.is-on {
  box-shadow: 0 0 0 1.5px var(--b1), 0 4px 14px -6px var(--b1);
  z-index: 1;
}
.vsd-clip::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 55%);
}
.vsd-strip {
  position: absolute;
  inset: 0;
  display: flex;
}
.vsd-strip canvas {
  flex: 1;
  min-width: 0;
  height: 100%;
  object-fit: cover;
}
.vsd-clip b {
  position: absolute;
  left: 5px;
  top: 4px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  font-weight: 650;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  white-space: nowrap;
}
.vsd-clip em {
  display: grid;
  place-items: center;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.5);
  font-size: 8.5px;
  font-style: normal;
  text-shadow: none;
}
.vsd-key {
  position: absolute;
  bottom: 4px;
  z-index: 1;
  width: 6px;
  height: 6px;
  margin-left: -3px;
  transform: rotate(45deg);
  border-radius: 1px;
  background: #ffd25a;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.vsd-tr {
  position: absolute;
  top: 68%;
  z-index: 2;
  width: 22px;
  height: 15px;
  margin: -7.5px 0 0 -11px;
  border-radius: 4px;
  overflow: hidden;
  background: #0b0d14;
  box-shadow: 0 0 0 1px var(--line-3), 0 3px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s 0.15s;
}
.vsd-tr.is-in {
  opacity: 1;
}
.vsd-tr i {
  position: absolute;
  inset: 2px;
}
.vsd-tr i:first-child {
  background: rgba(255, 255, 255, 0.25);
}
.vsd-tr i:last-child {
  background: var(--b2);
}
.vsd-tr.tr-zoom i:last-child {
  inset: 4px 7px;
  border-radius: 2px;
}
.vsd-tr.tr-push i:first-child {
  right: 55%;
}
.vsd-tr.tr-push i:last-child {
  left: 45%;
}
.vsd-tr.tr-whip i:last-child {
  left: 35%;
  background: linear-gradient(90deg, transparent, var(--b2) 60%);
}
.vsd-tr.tr-circle i:last-child {
  inset: 3px 7px;
  border-radius: 50%;
}
.vsd-cap {
  position: absolute;
  top: 3px;
  bottom: 3px;
  display: flex;
  align-items: center;
  padding: 0 6px;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid rgba(56, 182, 255, 0.25);
  background: rgba(56, 182, 255, 0.1);
  font-size: 9.5px;
  color: var(--text-2);
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s, color 0.3s;
}
.vsd-cap.is-in {
  opacity: 1;
}
.vsd-cap.is-on {
  background: rgba(56, 182, 255, 0.22);
  color: #fff;
}
.vsd-cue {
  position: absolute;
  top: 3px;
  bottom: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: var(--faint);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, color 0.2s;
}
.vsd-cue i {
  width: 2px;
  height: 11px;
  border-radius: 2px;
  background: var(--ok);
  transition: height 0.2s, box-shadow 0.2s;
}
.vsd-cue.is-in {
  opacity: 1;
}
.vsd-cue.is-tight {
  font-size: 0;
}
.vsd-cue.is-hit {
  color: var(--ok);
}
.vsd-cue.is-hit i {
  height: 15px;
  box-shadow: 0 0 8px var(--ok);
}
.vsd-head {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  width: 2px;
  margin-left: -1px;
  background: var(--b1);
  box-shadow: 0 0 8px var(--b1);
  pointer-events: none;
  transition: opacity 0.3s;
}
.vsd-head::before {
  content: '';
  position: absolute;
  top: 0;
  left: -4px;
  width: 10px;
  height: 8px;
  background: var(--b1);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.is-building .vsd-head {
  opacity: 0.35;
}
@container (max-width: 520px) {
  .vsd {
    padding: 12px;
    gap: 8px;
  }
  .vsd-fmt:nth-child(n + 3),
  .vsd-cue {
    font-size: 0;
  }
  .vsd-fmt:nth-child(n + 3) {
    display: none;
  }
  .vsd-tc {
    font-size: 0;
  }
  .vsd-tc b {
    font-size: 11.5px;
  }
  .vsd-status {
    max-width: 46%;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Voice */
.wave {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 120px;
}
.wave i {
  width: 4px;
  height: 8%;
  border-radius: 4px;
  background: var(--grad);
  background-size: 100% 400%;
  transition: height 0.12s linear;
}
.voice-line {
  min-height: 1.6em;
  font: 500 15px/1.5 var(--mono);
  text-align: center;
  color: var(--text);
}
.voice-line .caret {
  height: 15px;
}
.intent {
  display: flex;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.intent.is-on {
  opacity: 1;
  transform: none;
}

/* Zusammenstellungen */
.studios {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}
.studio {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.studio-copy h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.studio-copy p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 52ch;
}
.studio-copy .link-arrow {
  margin-top: 14px;
}
.studio .demo {
  min-height: 0;
  height: auto;
}

.voice-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.voice-band .demo {
  min-height: 360px;
}
.cmd-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.cmd {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 12px;
  font: 500 12.5px var(--mono);
  color: var(--text-2);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}
.cmd::before {
  content: '“';
  color: var(--faint);
}
.cmd::after {
  content: '”';
  color: var(--faint);
}

/* Feature-Liste: zwei Spalten, Haarlinien, links ein kleines UI-Motiv je Merkmal */
.flist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 72px;
  border-top: 1px solid var(--line);
}
.frow {
  position: relative;
  display: grid;
  grid-template-columns: 136px 1fr;
  align-items: center;
  gap: 0 24px;
  padding: 28px 0 30px;
  border-bottom: 1px solid var(--line);
}
.frow h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.frow p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}
.frow a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.frow a:focus-visible {
  outline: none;
}
.frow:has(a:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}
.frow .pill {
  margin-left: 8px;
  vertical-align: 2px;
}

@media (max-width: 1180px) {
  .flist {
    column-gap: 48px;
  }
  .frow {
    grid-template-columns: 116px 1fr;
    gap: 0 18px;
  }
}

/* Motive: bewusst klein und gedämpft, beim Überfahren etwas heller */
.fglyph {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: var(--faint);
  opacity: 0.85;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.frow:hover .fglyph {
  opacity: 1;
  transform: translateX(2px);
}
.fglyph i,
.fglyph b {
  display: block;
  font-style: normal;
}
.g-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.g-dot {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: var(--faint);
}
.g-dot.is-accent { background: var(--accent); box-shadow: 0 0 10px rgba(111, 139, 255, 0.6); }
.g-dot.is-ok { background: var(--ok); box-shadow: 0 0 8px rgba(61, 214, 140, 0.55); }
.g-dot.is-warn { background: var(--warn); box-shadow: 0 0 8px rgba(245, 184, 61, 0.5); }

/* Chip (Statusmarke / Mono-Label) */
.g-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 9px;
  font: 500 11.5px/1 var(--font);
  color: var(--text-2);
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  white-space: nowrap;
}
.g-chip.g-mono {
  font: 450 11px/1 var(--mono);
  letter-spacing: 0;
  color: var(--muted);
}
.g-chip b {
  margin-left: 2px;
  padding: 2px 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: #07080b;
  background: var(--warn);
  border-radius: 999px;
}
.frow:hover .g-chip {
  border-color: var(--line-3);
}

/* Broadcast: Punkt fächert auf drei Zeilen */
.g-fan {
  display: grid;
  gap: 3px;
}
.g-fan i {
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--raised-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.g-fan i:nth-child(2) { width: 40px; }

/* Pre-warmed: belegte und wartende Zellen */
.g-cells {
  display: grid;
  grid-template-columns: repeat(4, 14px);
  gap: 3px;
}
.g-cells i {
  height: 14px;
  border-radius: 3px;
  border: 1px solid var(--line-2);
  background: var(--raised);
}
.g-cells i.is-on {
  background: var(--raised-2);
  border-color: var(--line-3);
}
.g-cells i.is-warm {
  border-style: dashed;
  border-color: rgba(69, 240, 201, 0.5);
  background: rgba(69, 240, 201, 0.08);
  animation: g-warm 2.4s var(--ease-io) infinite;
}
.g-cells i.is-warm + i.is-warm { animation-delay: 0.6s; }
@keyframes g-warm {
  50% { background: rgba(69, 240, 201, 0.2); }
}

/* Lanes: Zweig aus der Hauptlinie */
.g-svg {
  width: 64px;
  height: 24px;
  overflow: visible;
}
.g-svg path {
  fill: none;
  stroke: var(--line-3);
  stroke-width: 1.5;
}
.g-svg circle {
  fill: var(--bg);
  stroke: var(--muted);
  stroke-width: 1.5;
}
.g-svg circle.is-accent {
  stroke: var(--accent);
  fill: var(--accent-soft);
}

/* Status: Statuspunkte in Pane-Köpfen */
.g-status {
  display: grid;
  grid-template-columns: repeat(2, 22px);
  gap: 4px;
}
.g-status i {
  position: relative;
  height: 12px;
  border-radius: 3px;
  background: var(--raised);
  border: 1px solid var(--line-2);
}
.g-status i::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--faint);
}
.g-status i.is-ok::before { background: var(--ok); }
.g-status i.is-warn::before { background: var(--warn); animation: g-blink 1.6s steps(1) infinite; }
@keyframes g-blink {
  50% { opacity: 0.25; }
}

/* Teammates / Accounts: Avatare */
.g-av {
  display: grid !important;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  font: 700 10px/1 var(--font);
  color: #07080b;
  background: linear-gradient(135deg, var(--b1), var(--b2));
  border-radius: 6px;
}
.g-av.is-alt {
  background: linear-gradient(135deg, var(--b3), var(--b4));
  color: #fff;
}
.g-avs {
  display: flex;
}
.g-avs .g-av {
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--bg);
}
.g-avs .g-av + .g-av {
  margin-left: -5px;
}
.g-note {
  font: 450 11px/1 var(--mono);
  color: var(--faint);
}
.g-lines {
  display: grid;
  gap: 4px;
}
.g-lines i {
  width: 38px;
  height: 3px;
  border-radius: 2px;
  background: var(--raised-2);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.g-lines i + i { width: 24px; }

/* Chat: zwei Sprechblasen */
.g-bubbles {
  display: grid;
  gap: 4px;
}
.g-bubbles i {
  width: 44px;
  height: 8px;
  border-radius: 4px;
  background: var(--raised-2);
  border: 1px solid var(--line-2);
}
.g-bubbles i + i {
  width: 60px;
  margin-left: 0;
  background: var(--accent-soft);
  border-color: rgba(111, 139, 255, 0.35);
}

/* Board: vier Spalten mit Karten */
.g-board {
  display: grid;
  grid-template-columns: repeat(4, 13px);
  gap: 3px;
  align-items: start;
}
.g-board i {
  display: grid !important;
  gap: 2px;
  min-height: 24px;
  padding: 2px;
  border-radius: 3px;
  background: var(--surface);
  border: 1px solid var(--line);
  align-content: start;
}
.g-board b {
  height: 5px;
  border-radius: 1.5px;
  background: var(--raised-2);
}
.g-board b.is-accent { background: var(--accent); }
.g-board b.is-ok { background: rgba(61, 214, 140, 0.55); }

/* Docks: Fenster mit Raster und Seitenleiste */
.g-win {
  display: grid;
  grid-template-columns: 12px 12px 10px;
  grid-template-rows: 9px 9px;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 4px;
  background: var(--surface);
}
.g-win i {
  border-radius: 1.5px;
  background: var(--raised-2);
}
.g-win b {
  grid-column: 3;
  grid-row: 1 / 3;
  border-radius: 1.5px;
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(111, 139, 255, 0.4);
}

/* Command palette: Tasten */
.g-kbd {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 22px;
  padding: 0 6px;
  font: 500 11px/1 var(--mono);
  color: var(--text-2);
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-bottom-width: 2px;
  border-radius: 5px;
}

/* Themes: Farbpunkte */
.g-swatches {
  display: flex;
}
.g-swatches i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--bg);
}
.g-swatches i + i {
  margin-left: -2px;
}
.frow:hover .g-swatches i + i {
  margin-left: 2px;
}
.g-swatches i {
  transition: margin 0.3s var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .g-cells i.is-warm,
  .g-status i.is-warn::before {
    animation: none;
  }
}

/* Prinzipien */
.principles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.principle {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.principle .i {
  font-size: 20px;
  color: var(--b1);
}
.principle h3 {
  margin-top: 18px;
  font-size: 16px;
  font-weight: 600;
}
.principle p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* ── Preise ───────────────────────────────────────────────────────────── */

.billing {
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
}
.billing button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 550;
  color: var(--muted);
  border-radius: var(--r-pill);
  transition: background 0.2s, color 0.2s;
}
.billing button[aria-pressed='true'] {
  color: var(--text);
  background: var(--raised-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07) inset;
}
.billing .save {
  font-size: 11.5px;
  color: var(--ink-mint);
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plans.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 900px;
  margin: 0 auto;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
}
.plan.is-featured {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(115deg, rgba(69, 240, 201, 0.55), rgba(77, 107, 255, 0.55) 60%, rgba(155, 92, 255, 0.45)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(77, 107, 255, 0.35);
}
.plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan-name {
  font-size: 18px;
  font-weight: 600;
}
.plan-blurb {
  margin-top: 8px;
  min-height: 3em;
  font-size: 14.5px;
  color: var(--muted);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 26px;
}
.plan-price .amt {
  font-size: 46px;
  font-weight: 620;
  letter-spacing: -0.045em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan-price .per {
  font-size: 14px;
  color: var(--muted);
}
.plan-note {
  min-height: 1.5em;
  margin-top: 8px;
  font-size: 13px;
  color: var(--faint);
}
.plan .btn {
  margin-top: 24px;
}
.plan-sub {
  margin-top: 10px;
  font-size: 12.5px;
  text-align: center;
  color: var(--faint);
}
.plan-list {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.plan-inherit {
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
  margin-bottom: 14px;
}
.plan-price .amt-word {
  font-size: 36px;
}
.plan-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.plan-feats li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.plan-feats li b {
  font-weight: 600;
  color: var(--text);
}
.plan-feats li .i {
  margin-top: 3px;
  font-size: 15px;
  color: var(--b1);
}
.plans-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}
.plans-foot .i {
  font-size: 16px;
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.compare th,
.compare td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}
.compare thead th {
  position: sticky;
  top: var(--header-h);
  z-index: 2;
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.compare thead th:not(:first-child),
.compare td:not(:first-child) {
  text-align: center;
  width: 18%;
}
.compare .grp td {
  padding-top: 36px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.compare .price-row td {
  font-size: 16px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.compare tfoot td {
  padding-top: 24px;
  border-bottom: 0;
}
.compare td a:not(.btn) {
  border-bottom: 1px dashed var(--line-3);
}
.compare td a:not(.btn):hover {
  color: var(--ink-accent);
}
.compare .yes {
  color: var(--b1);
  font-size: 17px;
  margin: 0 auto;
}
.compare .no {
  color: var(--faint);
  font-size: 15px;
  margin: 0 auto;
}
.compare .val {
  font: 500 13px var(--mono);
  color: var(--text-2);
}

.fine {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 56px;
}
.fine h3 {
  font-size: 16px;
  font-weight: 600;
}
.fine p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
}
.fine p a {
  margin-left: 2px;
  color: var(--text);
  border-bottom: 1px solid rgba(56, 182, 255, 0.5);
  transition: color 0.15s, border-color 0.15s;
}
.fine p a:hover {
  color: var(--b2);
  border-bottom-color: var(--b2);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font-size: 17px;
  font-weight: 550;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary:hover {
  color: #fff;
}
.faq-ic {
  font-size: 18px;
  color: var(--muted);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-ic {
  transform: rotate(45deg);
}
.faq-body {
  overflow: hidden;
}
.faq-body p {
  padding: 0 48px 24px 0;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.faq-body a {
  color: var(--text);
  border-bottom: 1px solid var(--line-3);
}
.faq-split {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
}

/* ── Downloads ────────────────────────────────────────────────────────── */

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.dl {
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
}
.dl.is-main,
.dl.is-yours {
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border-color: transparent;
}
.dl .dl-alt a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.dl-os {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
}
.dl-os svg {
  width: 26px;
  height: 26px;
}
.dl-os .pill {
  margin-left: auto;
}
.dl p {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
}
.dl .btn {
  margin-top: auto;
}
.dl-meta {
  display: grid;
  gap: 8px;
  margin: 20px 0 24px;
  font-size: 13.5px;
  color: var(--muted);
}
.dl-meta div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.dl-meta b {
  font-weight: 500;
  color: var(--text-2);
  text-align: right;
}
.os-tag {
  display: none;
  margin-left: 8px;
}
.dl.is-yours .os-tag {
  display: inline-flex;
}

/* ── CTA ──────────────────────────────────────────────────────────────── */

.cta-band {
  padding: 40px 0 128px;
}
.cta-inner {
  position: relative;
  padding: 96px 32px;
  text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(77, 107, 255, 0.2), transparent 70%), var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 28px;
  overflow: hidden;
  max-width: calc(1240px - 2 * var(--gutter));
}
.cta-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 30%, #000 85%);
}
.cta-grid span {
  border: 1px solid var(--line);
}
.cta-inner h2 {
  position: relative;
  font-size: var(--fs-h2);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.04;
  color: var(--display-ink);
}
.cta-inner .lead {
  position: relative;
  margin: 18px auto 32px;
}
.cta-inner .btn-row {
  position: relative;
}

/* ── Seiten-Hero (Unterseiten) ────────────────────────────────────────── */

.page-hero {
  position: relative;
  padding: 96px 0 64px;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  left: 50%;
  top: -420px;
  width: 1200px;
  height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(77, 107, 255, 0.14), transparent 75%);
  pointer-events: none;
}
.page-hero h1 {
  position: relative;
  font-size: var(--fs-h1);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.02;
  color: var(--display-ink);
  max-width: 18ch;
}
.page-hero .lead {
  position: relative;
  margin-top: 22px;
}
.page-hero .btn-row {
  position: relative;
  margin-top: 32px;
}
.page-hero.is-center {
  text-align: center;
}
.page-hero.is-center h1,
.page-hero.is-center .lead {
  margin-left: auto;
  margin-right: auto;
}
.page-hero.is-center .btn-row {
  justify-content: center;
}
.page-hero.is-center .eyebrow {
  justify-content: center;
}

/* Produkt-Unternavigation */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 20;
  background: rgba(7, 8, 11, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.subnav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 8px var(--gutter);
}
.subnav-inner::-webkit-scrollbar {
  display: none;
}
.subnav a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}
.subnav a .i {
  font-size: 14px;
}
.subnav a:hover {
  color: var(--text);
}
.subnav a.is-active {
  color: var(--text);
  background: var(--raised-2);
}

.feature-block {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
  gap: 72px;
  align-items: center;
}
.feature-block.flip > :first-child {
  order: 2;
}
.feature-block h2 {
  font-size: var(--fs-h2-sub);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.06;
  color: var(--display-ink);
}
.feature-block .lead {
  margin-top: 16px;
}
.feature-block .demo {
  min-height: 460px;
  height: 500px;
}
.spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1px solid var(--line);
}
.spec > div {
  padding: 22px 24px 0 0;
}
.spec > div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}
.spec b {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
}
.spec p {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

/* ── Karten-Raster (Hilfe, Leitfäden, Doku-Index) ─────────────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color 0.25s, background 0.25s, transform 0.25s var(--ease);
}
a.card:hover {
  border-color: var(--line-3);
  background: #10131a;
  transform: translateY(-2px);
}
.card-ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: 11px;
}
.card-ic .i {
  font-size: 19px;
}
a.card:hover .card-ic {
  color: var(--b2);
}
.card h3 {
  margin-top: 18px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.card p {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.card-links {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.card-links a {
  font-size: 14px;
  color: var(--text-2);
}
.card-links a:hover {
  color: var(--ink-accent);
}
.card .card-meta {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--faint);
}

/* ── Doku ─────────────────────────────────────────────────────────────── */

.docs {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 208px;
  gap: 56px;
  padding-top: 40px;
  padding-bottom: 96px;
}
.docs-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  max-height: calc(100vh - var(--header-h) - 48px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}
.docs-side-btn {
  display: none;
}
.docs-group + .docs-group {
  margin-top: 26px;
}
.docs-group p {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.docs-group a {
  display: block;
  padding: 6px 10px;
  margin-left: -10px;
  font-size: 14px;
  color: var(--muted);
  border-radius: 7px;
  transition: color 0.15s, background 0.15s;
}
.docs-group a:hover {
  color: var(--text);
}
.docs-group a.is-active {
  color: var(--text);
  background: var(--raised);
  box-shadow: inset 2px 0 0 var(--b2);
}
.docs-main {
  min-width: 0;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  font-size: 13px;
  color: var(--faint);
}
.crumbs a:hover {
  color: var(--text);
}
.crumbs .i {
  font-size: 12px;
}
.docs-main h1 {
  font-size: var(--fs-h1-doc);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.06;
  color: var(--display-ink);
}
.docs-main .doc-lead {
  margin-top: 14px;
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}
.doc-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.doc-pager a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, background 0.2s;
}
.doc-pager a:hover {
  border-color: var(--line-3);
  background: var(--surface);
}
.doc-pager span {
  display: block;
  font-size: 12.5px;
  color: var(--faint);
}
.doc-pager b {
  display: block;
  margin-top: 4px;
  font-weight: 550;
}
.doc-pager .next {
  text-align: right;
  grid-column: 2;
}
.doc-help {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.doc-help a {
  color: var(--text);
  border-bottom: 1px solid var(--line-3);
}
.toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  font-size: 13px;
}
.toc p {
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  transition: color 0.15s, border-color 0.15s;
}
.toc a.l3 {
  padding-left: 24px;
}
.toc a:hover {
  color: var(--text);
}
.toc a.is-active {
  color: var(--text);
  border-left-color: var(--b2);
}

/* ── Prose ────────────────────────────────────────────────────────────── */

.prose {
  margin-top: 36px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--text-2);
}
.prose > * + * {
  margin-top: 1.1em;
}
.prose h2 {
  margin-top: 2.4em;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: var(--text);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h3 {
  margin-top: 2em;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.prose h4 {
  margin-top: 1.8em;
  font-size: 1rem;
  color: var(--text);
}
.prose h2 + *,
.prose h3 + *,
.prose h4 + * {
  margin-top: 0.7em;
}
.prose .anchor {
  float: left;
  margin-left: -1.1em;
  width: 1em;
  color: var(--faint);
  opacity: 0;
  transition: opacity 0.15s;
}
.prose h2:hover .anchor,
.prose h3:hover .anchor {
  opacity: 1;
}
.prose a {
  color: var(--text);
  border-bottom: 1px solid rgba(56, 182, 255, 0.5);
  transition: border-color 0.15s, color 0.15s;
}
.prose a:hover {
  color: var(--b2);
  border-bottom-color: var(--b2);
}
.prose strong {
  color: var(--text);
  font-weight: 600;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose li::marker {
  color: var(--faint);
}
.prose code {
  padding: 0.12em 0.4em;
  font: 500 0.86em var(--mono);
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--line);
  border-radius: 6px;
}
.prose hr {
  margin: 3em 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.prose blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--b3);
  color: var(--text);
  font-size: 1.08em;
}
.prose img {
  border-radius: 12px;
  border: 1px solid var(--line);
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  line-height: 1.5;
}
.prose th,
.prose td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  white-space: nowrap;
}
.prose tr:last-child td {
  border-bottom: 0;
}

.code {
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: #0b0d12;
  overflow: hidden;
}
.code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  padding: 0 8px 0 14px;
  font: 500 12px var(--mono);
  color: var(--faint);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.code-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 9px;
  font: 500 12px var(--font);
  color: var(--muted);
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.code-copy:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.code-copy.is-done {
  color: var(--ok);
}
.code pre {
  margin: 0;
  padding: 16px 18px;
  overflow-x: auto;
  font: 400 13.5px/1.7 var(--mono);
  color: #d9dde6;
  tab-size: 2;
}
.code code {
  padding: 0;
  font: inherit;
  background: none;
  border: 0;
  color: inherit;
}
.t-c {
  color: #6b7285;
}
.t-s {
  color: #8fe6b3;
}
.t-k {
  color: #8fb8ff;
}
.t-kw {
  color: #c9a7ff;
}
.t-n {
  color: #ffc98a;
}
.t-f {
  color: #7fdcf0;
}

.callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.65;
  background: rgba(111, 139, 255, 0.06);
  border: 1px solid rgba(111, 139, 255, 0.25);
  border-radius: 12px;
}
.callout > .i {
  margin-top: 3px;
  font-size: 18px;
  color: var(--accent);
}
.callout > div > * + * {
  margin-top: 0.6em;
}
.callout-title {
  font-weight: 600;
  color: var(--text);
}
.callout-tip {
  background: rgba(69, 240, 201, 0.05);
  border-color: rgba(69, 240, 201, 0.25);
}
.callout-tip > .i {
  color: var(--b1);
}
.callout-warn {
  background: rgba(245, 184, 61, 0.06);
  border-color: rgba(245, 184, 61, 0.28);
}
.callout-warn > .i {
  color: var(--warn);
}

.steps > ol {
  list-style: none;
  padding: 0;
  counter-reset: step;
}
.steps > ol > li {
  position: relative;
  padding: 0 0 22px 46px;
  counter-increment: step;
}
.steps > ol > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  font: 600 13px var(--mono);
  color: var(--text);
  background: var(--raised);
  border: 1px solid var(--line-2);
  border-radius: 8px;
}
.steps > ol > li::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 34px;
  bottom: 6px;
  width: 1px;
  background: var(--line-2);
}
.steps > ol > li:last-child {
  padding-bottom: 0;
}
.steps > ol > li:last-child::after {
  display: none;
}
.steps > ol > li + li {
  margin-top: 0;
}

/* ── Blog ─────────────────────────────────────────────────────────────── */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}
.filter {
  height: 34px;
  padding: 0 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  transition: all 0.2s;
}
.filter:hover {
  color: var(--text);
  border-color: var(--line-3);
}
.filter[aria-pressed='true'] {
  color: #07080b;
  background: var(--text);
  border-color: var(--text);
}
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}
.post-card:hover {
  border-color: var(--line-3);
  transform: translateY(-3px);
}
.post-card[hidden] {
  display: none;
}
.post-art {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #0b0d12;
}
.post-art .art-grid {
  position: absolute;
  inset: 18px;
  display: grid;
  gap: 6px;
}
.post-art .art-grid span {
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.02);
}
.post-art .art-grid span.hi {
  background: var(--grad);
  border-color: transparent;
  opacity: 0.85;
}
.post-art .art-grid span.hi2 {
  background: rgba(111, 139, 255, 0.18);
  border-color: rgba(111, 139, 255, 0.4);
}
.post-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 22px 22px;
}
.post-cat {
  font: 500 12px var(--mono);
  color: var(--ink-accent);
}
.post-card h3 {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}
.post-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
}
.post-card p {
  margin-top: 8px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}
.post-meta {
  display: flex;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 12.5px;
  color: var(--faint);
}
.post-feature {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  margin-bottom: 40px;
}
.post-feature .post-art {
  aspect-ratio: auto;
  min-height: 300px;
  border-bottom: 0;
  border-right: 1px solid var(--line);
}
.post-feature .post-body {
  padding: 36px;
  justify-content: center;
}
.post-feature h3 {
  font-size: 28px;
}
.article-head {
  padding: 80px 0 24px;
}
.article-head h1 {
  font-size: var(--fs-h1-doc);
  font-weight: var(--display-weight);
  letter-spacing: var(--display-track);
  line-height: 1.06;
  color: var(--display-ink);
}
.article-head .doc-lead {
  margin-top: 18px;
  font-size: 19px;
  color: var(--muted);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--muted);
}
.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.article-meta .i {
  color: var(--faint);
}
.article .prose {
  margin-top: 8px;
}
.article-foot {
  margin-top: 64px;
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-lg);
}
.article-foot p {
  color: var(--muted);
  font-size: 15px;
}
.article-foot b {
  display: block;
  color: var(--text);
  font-size: 16px;
  margin-bottom: 2px;
}
.article-foot .btn {
  margin-left: auto;
  flex: none;
}

/* ── Changelog ────────────────────────────────────────────────────────── */

.release {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
}
.release-side {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
}
.release-ver {
  font: 600 22px var(--mono);
  letter-spacing: -0.02em;
}
.release-date {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.release-side .pill {
  margin-top: 12px;
}
.release h2 {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}
.release .prose {
  margin-top: 16px;
}
.release .tag {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 7px;
  font: 600 11px/1.6 var(--mono);
  border-radius: 5px;
  vertical-align: 2px;
}
.tag.new {
  color: var(--ink-mint);
  background: rgba(69, 240, 201, 0.1);
}
.tag.imp {
  color: var(--ink-accent);
  background: rgba(56, 182, 255, 0.1);
}
.tag.fix {
  color: var(--warn);
  background: var(--warn-soft);
}

/* ── Formulare ────────────────────────────────────────────────────────── */

.form {
  display: grid;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 550;
  color: var(--text-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  font-size: 15px;
  background: var(--bg-2);
  border: 1px solid var(--line-2);
  border-radius: 10px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  height: 150px;
  padding: 12px 14px;
  resize: vertical;
  line-height: 1.55;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(56, 182, 255, 0.6);
  box-shadow: 0 0 0 4px rgba(56, 182, 255, 0.12);
}
.form-note {
  font-size: 13px;
  color: var(--faint);
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 64px;
}
.channels {
  display: grid;
  gap: 12px;
}
.channel {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.channel h3 {
  font-size: 15.5px;
  font-weight: 600;
}
.channel p {
  margin-top: 4px;
  font-size: 14px;
  color: var(--muted);
}
.channel a.mail {
  display: inline-block;
  margin-top: 8px;
  font: 500 13.5px var(--mono);
  color: var(--text);
  border-bottom: 1px solid var(--line-3);
}
.panel {
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r-xl);
}

/* Hilfe-Suche */
.help-search {
  position: relative;
  max-width: 640px;
  margin: 32px auto 0;
}
.help-search .i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 19px;
  color: var(--faint);
}
.help-search input {
  width: 100%;
  height: 58px;
  padding: 0 20px 0 52px;
  font-size: 16.5px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.help-search input:focus {
  outline: none;
  border-color: rgba(56, 182, 255, 0.6);
  box-shadow: 0 0 0 5px rgba(56, 182, 255, 0.1);
}
.empty {
  padding: 40px;
  text-align: center;
  color: var(--muted);
}

/* Rechtstexte: assets/css/legal.css */

/* ── Suche (Dialog) ───────────────────────────────────────────────────── */

.search {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  padding: 12vh 16px 16px;
}
.search[hidden] {
  display: none;
}
.search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 4, 6, 0.7);
  backdrop-filter: blur(6px);
  animation: fade 0.2s;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.search-panel {
  position: relative;
  width: min(640px, 100%);
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  background: #0f1117;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: pop 0.22s var(--ease);
}
@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.985);
  }
}
.search-field {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 58px;
  border-bottom: 1px solid var(--line);
}
.search-field .i {
  font-size: 19px;
  color: var(--faint);
}
.search-field input {
  flex: 1;
  height: 100%;
  font-size: 16.5px;
  background: none;
  border: 0;
  outline: none;
}
.search-field input::-webkit-search-cancel-button {
  display: none;
}
.search-results {
  overflow-y: auto;
  padding: 8px;
}
.sr-group {
  padding: 10px 10px 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.sr {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 10px;
}
.sr .i {
  margin-top: 3px;
  font-size: 16px;
  color: var(--faint);
}
.sr b {
  display: block;
  font-size: 14.5px;
  font-weight: 550;
}
.sr span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.sr mark {
  background: none;
  color: var(--ink-accent);
}
.sr.is-active,
.sr:hover {
  background: var(--raised);
}
.sr.is-active .i {
  color: var(--b2);
}
.search-foot {
  display: flex;
  gap: 18px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--faint);
  border-top: 1px solid var(--line);
}
.search-foot kbd {
  font-size: 10px;
  height: 18px;
  min-width: 18px;
  margin-right: 2px;
}

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-footer {
  position: relative;
  padding: 72px 0 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 32px;
}
.footer-brand p {
  margin-top: 16px;
  max-width: 34ch;
  font-size: 14.5px;
  color: var(--muted);
}
.footer-platform {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px !important;
  color: var(--faint) !important;
}
.footer-title {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 64px;
  padding: 24px 0;
  font-size: 13px;
  color: var(--faint);
  border-top: 1px solid var(--line);
}
.footer-bottom a:hover {
  color: var(--text);
}
.footer-word {
  margin: 0 0 -0.22em;
  font-size: clamp(3.5rem, 16vw, 15rem);
  white-space: nowrap;
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.85;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}

/* ── Responsiv ────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
  }
  .docs {
    grid-template-columns: 220px minmax(0, 1fr);
  }
  .toc {
    display: none;
  }
  .principles {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 960px) {
  :root {
    --gutter: 20px;
  }
  .section {
    padding: 96px 0;
  }
  .hero-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .app-body {
    grid-template-columns: minmax(0, 1fr);
    height: 470px;
  }
  .app-side,
  .app-search {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(3) {
    border-left: 0;
  }
  .stat:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .tour {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .tour-stage {
    display: none;
  }
  .tour-step,
  .tour-step:first-child {
    min-height: 0;
    opacity: 1;
    padding: 48px 0;
  }
  .tour-step + .tour-step {
    border-top: 1px solid var(--line);
  }
  .tour-inline {
    display: block;
    height: 460px;
    margin-top: 32px;
  }
  .studios,
  .voice-band,
  .feature-block,
  .faq-split,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-block.flip > :first-child {
    order: 0;
  }
  .flist {
    grid-template-columns: 1fr;
  }
  .frow {
    grid-template-columns: 120px 1fr;
  }
  .plans,
  .plans.two {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 0 auto;
  }
  .dl-grid,
  .cards,
  .posts {
    grid-template-columns: 1fr 1fr;
  }
  .dl-grid .dl:last-child {
    grid-column: 1 / -1;
  }
  .post-feature {
    grid-template-columns: 1fr;
  }
  .post-feature .post-art {
    min-height: 200px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .release {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .release-side {
    position: static;
    display: flex;
    align-items: baseline;
    gap: 14px;
  }
  .release-side .pill {
    margin-top: 0;
  }
  .docs {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 20px;
  }
  .docs-side {
    position: static;
    max-height: none;
    margin-bottom: 24px;
    padding: 0;
  }
  .docs-side-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 46px;
    padding: 0 14px;
    font-size: 14.5px;
    font-weight: 550;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 11px;
  }
  .docs-side-nav {
    display: none;
    padding: 18px 4px 4px;
  }
  .docs-side.is-open .docs-side-nav {
    display: block;
  }
  .spec {
    grid-template-columns: 1fr;
  }
  .spec > div + div {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    margin-top: 18px;
  }
  .fine {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .compare-wrap {
    overflow-x: auto;
  }
  .compare {
    min-width: 640px;
  }
  .compare thead th {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
    --header-h: 58px;
  }
  body {
    font-size: 15.5px;
  }
  .hide-sm,
  .search-hint {
    display: none;
  }
  .search-btn {
    border: 0;
    padding: 0 6px;
  }
  .header-actions .btn-primary {
    display: none;
  }
  .section {
    padding: 80px 0;
  }
  .hero {
    padding-top: 56px;
  }
  .hero h1 {
    font-size: clamp(2.6rem, 12vw, 3.4rem);
  }
  .hero-stage {
    margin-top: 44px;
  }
  .app {
    border-radius: 12px;
  }
  .app-tabs .app-tab:not(.is-active) {
    display: none;
  }
  .app-bar-right .app-ic,
  .app-avatar,
  .tool-right {
    display: none;
  }
  .app-body {
    height: 420px;
  }
  .pane-lane {
    display: none;
  }
  .toast {
    left: 12px;
    right: 12px;
    width: auto;
  }
  .clis-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .clis-label {
    max-width: none;
  }
  .marquee {
    width: 100%;
  }
  .stat {
    padding: 24px 16px;
  }
  .frow {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 24px 0;
  }
  .principles,
  .dl-grid,
  .cards,
  .posts,
  .form-row {
    grid-template-columns: 1fr;
  }
  .tour-inline {
    height: 440px;
  }
  .demo {
    min-height: 0;
    font-size: 12.5px;
    border-radius: 16px;
  }
  .demo-body {
    padding: 14px;
  }
  .lane {
    grid-template-columns: 1fr auto;
  }
  .lane-track {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .handoff {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto 1fr;
  }
  .ho-arrow {
    width: auto;
    height: 20px;
    transform: rotate(90deg);
  }
  .flow {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 10px;
  }
  .flow .link {
    display: none;
  }
  .node {
    flex: 1 1 calc(50% - 4px);
  }
  .feature-block .demo {
    height: 460px;
  }
  .cta-inner {
    padding: 64px 20px;
    border-radius: 20px;
  }
  .plan {
    padding: 24px;
  }
  .faq-body p {
    padding-right: 0;
  }
  .article-foot {
    flex-direction: column;
    align-items: flex-start;
  }
  .article-foot .btn {
    margin-left: 0;
  }
  .doc-pager {
    grid-template-columns: 1fr;
  }
  .doc-pager .next {
    grid-column: 1;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }
  .panel {
    padding: 22px;
  }
  .report-cell b {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .marquee-track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
  }
}

/* ── Statische Produkt-Visuals ────────────────────────────────────────── */

.layouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.custom-grid {
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.custom-grid span:first-child {
  grid-row: 1 / 3;
}
.layout.is-custom {
  border-style: dashed;
}
.layout {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.3s, background 0.3s;
}
.layout:hover,
.layout.is-on {
  border-color: rgba(56, 182, 255, 0.45);
  background: rgba(56, 182, 255, 0.05);
}
.layout-grid {
  display: grid;
  grid-template-columns: repeat(var(--c), 1fr);
  grid-template-rows: repeat(var(--r), 1fr);
  gap: 3px;
  aspect-ratio: 16 / 10;
}
.layout-grid span {
  border-radius: 3px;
  background: var(--raised-2);
  border: 1px solid var(--line-2);
}
.layout.is-on .layout-grid span {
  background: rgba(111, 139, 255, 0.22);
  border-color: rgba(111, 139, 255, 0.45);
}
.layout-n {
  font: 500 11.5px var(--mono);
  color: var(--muted);
}
.split-demo {
  display: flex;
  height: 92px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.split-a,
.split-b {
  display: flex;
  align-items: flex-end;
  padding: 10px 12px;
  font: 500 11.5px var(--mono);
  color: var(--muted);
  background: #0d0f15;
}
.split-a {
  flex: 0 0 62%;
  animation: split 6s var(--ease-io) infinite;
}
.split-b {
  flex: 1;
}
.split-handle {
  position: relative;
  flex: 0 0 6px;
  background: var(--line);
  cursor: col-resize;
}
.split-handle::after {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  top: 50%;
  height: 28px;
  transform: translateY(-50%);
  border-radius: 4px;
  background: var(--b2);
  box-shadow: 0 0 10px var(--b2);
}
@keyframes split {
  0%,
  100% {
    flex-basis: 62%;
  }
  45%,
  55% {
    flex-basis: 34%;
  }
}

.mate {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
}
.mate-av {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  font-weight: 650;
  font-size: 15px;
  color: #07080b;
  background: var(--c);
  border-radius: 10px;
}
.mate-main {
  min-width: 0;
  flex: 1;
}
.mate-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.mate-top b {
  font-size: 14px;
}
.mate-main p {
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}
.mate-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
  font: 500 11px var(--mono);
  color: var(--faint);
}
.mate-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mate-hand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding: 11px 14px;
  font-size: 12.5px;
  color: var(--text-2);
  background: rgba(155, 92, 255, 0.07);
  border: 1px solid rgba(155, 92, 255, 0.3);
  border-radius: 12px;
}
.mate-hand .i {
  color: var(--b4);
  font-size: 16px;
}

.steps-viz {
  display: grid;
  gap: 6px;
}
.sv {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.015);
}
.sv > .i {
  font-size: 15px;
  color: var(--muted);
}
.sv b {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
}
.sv span {
  font: 400 11px var(--mono);
  color: var(--faint);
}
.sv > i {
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--ok);
}
.sv[data-s='err'] > i {
  background: var(--err);
}
.sv[data-s='run'] {
  border-color: rgba(56, 182, 255, 0.45);
}
.sv[data-s='run'] > i {
  background: var(--b2);
  animation: blink 0.9s steps(2) infinite;
}
.sv[data-s='wait'] {
  border-color: rgba(245, 184, 61, 0.45);
}
.sv[data-s='wait'] > i {
  background: var(--warn);
}

.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  height: 100%;
}
.board-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.board-col > p {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
}
.board-col > p span {
  font-family: var(--mono);
  color: var(--faint);
}
.board-card {
  display: grid;
  gap: 6px;
  padding: 10px;
  background: #11141b;
  border: 1px solid var(--line-2);
  border-radius: 9px;
}
.board-card b {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.35;
}
.board-card .pill {
  justify-self: start;
  height: 18px;
  font-size: 10px;
}

@media (max-width: 640px) {
  .layouts {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
  .layout {
    padding: 6px;
  }
  .layout-n {
    font-size: 10px;
  }
  .split-demo {
    height: 70px;
  }
  .board {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sv:nth-child(n + 7) {
    display: none;
  }
}

/* Feinschliff Mockup-Köpfe */
.pane-agent,
.pane-state {
  flex: none;
}
.pane-lane {
  flex: 0 1 auto;
  min-width: 0;
  white-space: nowrap;
}
.app-search {
  white-space: nowrap;
  overflow: hidden;
}
kbd {
  white-space: nowrap;
}

/* Demos passen sich ihrer eigenen Breite an */
@container (max-width: 700px) {
  .flow {
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 6px;
  }
  .flow .link {
    display: none;
  }
  .node {
    flex: 1 1 calc(33.333% - 6px);
  }
}
@container (max-width: 420px) {
  .node {
    flex: 1 1 calc(50% - 4px);
  }
  .demo-head .muted {
    display: none;
  }
}

/* Mobile Tour: Demos wachsen mit ihrem Inhalt */
@media (max-width: 960px) {
  .tour-inline {
    height: auto;
  }
  .tour-inline .demo {
    height: auto;
    min-height: 460px;
  }
}
.tool-ws {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
