/* ============================================================
   SailCommander — Landing Page
   Design system + components
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:            #070b16;
  --bg-2:          #0a1020;
  --surface:       rgba(255,255,255,.045);
  --surface-2:     rgba(255,255,255,.07);
  --surface-solid: #0f1626;
  --line:          rgba(255,255,255,.10);
  --line-strong:   rgba(255,255,255,.18);
  --text:          #eef2fb;
  --text-soft:     #aeb8d0;
  --text-mute:     #7a86a3;

  --brand:    #2ea7f0;   /* Ozean-Blau (aus dem Icon) */
  --brand-2:  #21d4c4;   /* Türkis (aus dem Icon) */
  --brand-3:  #5b8cff;   /* tiefes Blau */
  --accent:   #7af0d8;

  --grad-brand: linear-gradient(120deg, #5b8cff 0%, #2ea7f0 42%, #21d4c4 100%);
  --grad-text:  linear-gradient(115deg, #7fb6ff 0%, #44c8f0 45%, #43e8cf 100%);
  --grad-stage: radial-gradient(120% 140% at 70% 0%, rgba(46,167,240,.22), transparent 55%);

  --radius:    18px;
  --radius-lg: 26px;
  --radius-sm: 11px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow:    0 24px 60px -22px rgba(0,0,0,.65);
  --shadow-lg: 0 50px 120px -30px rgba(0,0,0,.75);
  --glow:      0 0 0 1px rgba(46,167,240,.35), 0 18px 60px -12px rgba(46,167,240,.5);

  --maxw: 1200px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

[data-theme="light"] {
  --bg:            #eef2fa;
  --bg-2:          #e4eaf6;
  --surface:       rgba(12,22,46,.04);
  --surface-2:     rgba(12,22,46,.06);
  --surface-solid: #ffffff;
  --line:          rgba(13,27,58,.12);
  --line-strong:   rgba(13,27,58,.2);
  --text:          #0c1730;
  --text-soft:     #41506e;
  --text-mute:     #6b7796;
  --shadow:    0 24px 60px -24px rgba(31,52,99,.3);
  --shadow-lg: 0 50px 110px -34px rgba(31,52,99,.4);
  --grad-text:  linear-gradient(115deg, #2f6bff 0%, #0c97d6 50%, #07b2a0 100%);
  --grad-stage: radial-gradient(120% 140% at 70% 0%, rgba(46,167,240,.18), transparent 55%);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *{ animation: none !important; transition: none !important; } }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
svg { display: block; }
code, kbd { font-family: var(--mono); }
em { font-style: normal; color: var(--text); }

::selection { background: rgba(46,167,240,.35); color: #fff; }

/* ---------- Atmosphäre ---------- */
.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.aurora::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, transparent 60%, var(--bg)); }
.aurora-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; }
[data-theme="light"] .aurora-blob { opacity: .4; mix-blend-mode: normal; }
.blob-1 { width: 720px; height: 720px; top: -260px; left: -160px; background: radial-gradient(circle, #2563eb, transparent 65%); animation: drift1 22s var(--ease) infinite alternate; }
.blob-2 { width: 640px; height: 640px; top: -160px; right: -180px; background: radial-gradient(circle, #15c9c0, transparent 65%); animation: drift2 26s var(--ease) infinite alternate; }
.blob-3 { width: 560px; height: 560px; top: 720px; left: 40%; background: radial-gradient(circle, #4f7bff, transparent 65%); animation: drift3 30s var(--ease) infinite alternate; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-100px, 60px) scale(1.1); } }
@keyframes drift3 { to { transform: translate(60px, -80px) scale(1.2); } }

.grid-overlay {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(110% 80% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.noise { position:absolute; inset:0; opacity:.025; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Layout helpers ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 11vw, 150px) 24px; }
.section-head { max-width: 760px; margin: 0 auto clamp(44px, 6vw, 76px); text-align: center; }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brand-2); padding: 6px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--surface); margin-bottom: 20px;
}
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.section-head p { margin-top: 18px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: var(--text-soft); }

.grad-text { background: var(--grad-text); background-size: 190% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 7s ease-in-out infinite alternate; }
@keyframes gradShift { from { background-position: 0% 0; } to { background-position: 100% 0; } }

/* ---------- Buttons ---------- */
.btn {
  --b: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-size: .95rem; font-weight: 600; letter-spacing: -0.01em;
  padding: 12px 20px; border-radius: 12px; border: 1px solid var(--b); cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .3s var(--ease), background .25s, border-color .25s, opacity .2s;
  white-space: nowrap; position: relative; color: var(--text);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 15px 26px; font-size: 1.02rem; border-radius: 14px; }
.btn-block { width: 100%; }

.btn-primary { color: #04111f; background: var(--grad-brand); box-shadow: 0 12px 34px -10px rgba(46,167,240,.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 48px -10px rgba(46,167,240,.75); }

.btn-glass { background: var(--surface-2); border-color: var(--line-strong); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.btn-glass:hover { transform: translateY(-2px); background: var(--surface); border-color: var(--brand); }

.btn-ghost { background: transparent; border-color: transparent; color: var(--text-soft); padding: 10px 14px; }
.btn-ghost:hover { color: var(--text); }

/* Kauf-Knopf, solange der App-Store-Eintrag noch nicht existiert.
   Ein <a> ohne href ist von sich aus weder anklickbar noch fokussierbar —
   das ist der Punkt: Ein Knopf, der nichts tut, darf auch nicht so aussehen,
   als täte er etwas. Sobald APP_STORE_URL in script.js gesetzt ist, hängt
   das Skript das href an und diese Regeln greifen nicht mehr. */
.btn:not([href]) {
  cursor: default;
  opacity: .62;
  box-shadow: none;
}
.btn:not([href]):hover,
.btn:not([href]):active { transform: none; box-shadow: none; }
.btn-primary:not([href])::after { content: none; }

/* ---------- Navigation (schwebende Glaskapsel) ---------- */
.nav { position: sticky; top: 10px; z-index: 100; padding: 0 14px; }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 10px 16px; display: flex; align-items: center; gap: 22px;
  border: 1px solid transparent; border-radius: 18px;
  transition: background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.nav.scrolled .nav-inner {
  background: color-mix(in srgb, var(--bg) 62%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
  border-color: var(--line-strong);
  box-shadow: 0 12px 40px -18px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06);
}
[data-theme="light"] .nav.scrolled .nav-inner { box-shadow: 0 12px 40px -20px rgba(31,52,99,.35), inset 0 1px 0 rgba(255,255,255,.7); }

.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.14rem; letter-spacing: -0.02em; }
.brand-mark { border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand-accent { color: var(--brand-2); }

.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-links a { padding: 8px 14px; border-radius: 9px; color: var(--text-soft); font-size: .94rem; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-soft); cursor: pointer; transition: color .2s, border-color .2s, transform .2s; }
.theme-toggle:hover { color: var(--text); border-color: var(--brand); transform: translateY(-1px); }
.icon-moon { display: none; }
[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

.nav-burger { display: none; flex-direction: column; gap: 5px; width: 40px; height: 40px; border: 1px solid var(--line-strong); background: var(--surface); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-burger span { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) 24px clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.02fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; font-size: .86rem; font-weight: 500; color: var(--text-soft);
  padding: 7px 8px 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface);
  transition: border-color .2s, color .2s; margin-bottom: 26px;
}
.eyebrow:hover { border-color: var(--brand); color: var(--text); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px rgba(33,212,196,.2); animation: pulse 2.4s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(33,212,196,0); } }
.eyebrow svg { color: var(--brand-2); }

.hero-title { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 850; line-height: 1.0; letter-spacing: -0.045em; text-wrap: balance; }
.hero-sub { margin-top: 24px; font-size: clamp(1.08rem, 1.9vw, 1.32rem); color: var(--text-soft); max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-mute); }
.hero-trust svg { color: var(--brand-2); flex-shrink: 0; }

/* ---------- Hero Stage / App Window ---------- */
.hero-stage { position: relative; }
.stage-glow { position: absolute; inset: -8% -6% -14% -6%; background: var(--grad-stage); filter: blur(10px); z-index: -1; }

.window {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
[data-theme="light"] .window { background: linear-gradient(180deg, #fff, #f4f7fd); }

/* ---------- Rundgang (Bildstrecke im Dialog) ---------- */
.tour {
  /* margin:auto zentriert den modalen Dialog — der globale Reset setzt margin:0. */
  width: min(1160px, 94vw); max-height: 92vh; margin: auto; padding: 0; border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg); background: var(--surface-solid); color: var(--text);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.tour::backdrop { background: rgba(4, 8, 18, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.tour[open] { display: flex; flex-direction: column; }

.tour-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 18px 20px 14px; border-bottom: 1px solid var(--line); }
.tour-kicker { display: block; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); }
.tour-title { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 3px; }
.tour-head-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.tour-count { font-family: var(--mono); font-size: .82rem; color: var(--text-mute); }
.tour-close {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px;
  border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text-soft); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.tour-close:hover { color: var(--text); border-color: var(--line-strong); background: var(--surface); }

.tour-figure { min-height: 0; display: flex; flex-direction: column; background: var(--bg-2); }
.tour-figure img { width: 100%; height: auto; max-height: calc(92vh - 210px); object-fit: contain; display: block; }
.tour-figure figcaption { padding: 13px 20px; font-size: .92rem; color: var(--text-soft); border-top: 1px solid var(--line); background: var(--surface); }

.tour-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.tour-foot .btn { padding: 10px 16px; font-size: .92rem; }
.tour-foot .btn[disabled] { opacity: .38; pointer-events: none; }
.tour-dots { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.tour-dot {
  width: 9px; height: 9px; padding: 0; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--line-strong); background: transparent; transition: background .2s, border-color .2s, transform .2s;
}
.tour-dot:hover { border-color: var(--brand-2); }
.tour-dot[aria-current="true"] { background: var(--brand-2); border-color: var(--brand-2); transform: scale(1.25); }

/* Screenshots auf der Seite oeffnen den Rundgang an dieser Station. */
.shot { cursor: zoom-in; }
.shot:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }

@media (max-width: 720px) {
  .tour-head { padding: 14px 15px 11px; }
  .tour-foot { padding: 12px 15px 15px; flex-wrap: wrap; }
  .tour-dots { order: 3; width: 100%; }
  .tour-figure img { max-height: calc(92vh - 250px); }
}

/* ---------- Bildschirmfotos (echte App-Aufnahmen) ---------- */
.shot {
  border: 1px solid var(--line-strong); border-radius: var(--radius-lg); overflow: hidden;
  background: var(--surface); box-shadow: var(--shadow-lg);
}
.shot img { width: 100%; height: auto; display: block; }
.shot figcaption {
  font-size: .84rem; color: var(--text-mute); padding: 11px 16px;
  border-top: 1px solid var(--line); background: var(--surface-2);
}
.shot-hero { transform-style: preserve-3d; }

.app-window { transform: perspective(1800px) rotateX(4deg) rotateY(-7deg); transform-style: preserve-3d; transition: transform .6s var(--ease); }
.app-window:hover { transform: perspective(1800px) rotateX(1deg) rotateY(-2deg); }
@media (hover: none) { .app-window { transform: none; } }

.win-titlebar { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.traffic { display: inline-flex; gap: 7px; }
.traffic i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.tl-r { background: #ff5f57; } .tl-y { background: #febc2e; } .tl-g { background: #28c840; }
.win-tabs { display: flex; gap: 7px; align-items: center; overflow: hidden; }
.win-tab { font-size: .78rem; color: var(--text-mute); padding: 5px 11px; border-radius: 8px; white-space: nowrap; border: 1px solid transparent; }
.win-tab.active { color: var(--text); background: var(--surface-2); border-color: var(--line); }
.win-tab.remote { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-2); }
.win-tab.remote.active { background: rgba(33,212,196,.12); border-color: rgba(33,212,196,.3); color: var(--accent); }
.win-tab.sep { padding: 0; border: 0; }
.win-search { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--text-mute); padding: 5px 11px; border: 1px solid var(--line); border-radius: 8px; }

.win-body { display: grid; grid-template-columns: 1fr auto 1fr; min-height: 340px; }
.panel { padding: 6px; display: flex; flex-direction: column; }
.panel-active { border-right: 1px solid var(--line); }
.panel-remote { background: linear-gradient(180deg, rgba(33,212,196,.04), transparent); }
.panel-path { font-size: .72rem; color: var(--text-mute); padding: 7px 9px; display: flex; align-items: center; gap: 7px; border-radius: 7px; }
.panel-path svg { color: var(--brand); flex-shrink: 0; }
.panel-active .panel-path { color: var(--text-soft); background: var(--surface); }

.panel-head { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 5px 11px; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); border-bottom: 1px solid var(--line); }
.panel-head span:nth-child(2),.panel-head span:nth-child(3) { text-align: right; }

.filelist { list-style: none; font-size: .8rem; }
.frow { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; padding: 6px 11px; border-radius: 7px; align-items: center; transition: background .15s; }
.frow .fs, .frow .fp { color: var(--text-mute); font-size: .74rem; font-variant-numeric: tabular-nums; }
.frow .fp { font-family: var(--mono); letter-spacing: -0.02em; }
.fn { display: inline-flex; align-items: center; gap: 9px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fi { width: 15px; height: 15px; flex-shrink: 0; }
.fi-folder { fill: #5b9dff; }
.fi-doc { fill: var(--text-mute); }
.fi-img { fill: #43e8cf; }
.fi-zip { fill: #febc2e; }
.frow.dir .fn { font-weight: 500; }
.frow.sel { background: var(--grad-brand); color: #04111f; }
.frow.sel .fs, .frow.sel .fp { color: rgba(4,17,31,.7); }
.frow.sel .fi-folder { fill: #04111f; }
.frow.incoming { background: rgba(33,212,196,.14); box-shadow: inset 2px 0 0 var(--brand-2); animation: incoming 2.4s var(--ease) infinite; }
@keyframes incoming { 0%,100%{ background: rgba(33,212,196,.06);} 50%{ background: rgba(33,212,196,.2);} }

.transfer-rail { display: grid; place-items: center; padding: 0 4px; position: relative; }
.transfer-rail::before { content:""; position:absolute; top:18%; bottom:18%; width:1px; background: linear-gradient(var(--brand), var(--brand-2)); opacity:.35; }
.transfer-chip { display: grid; place-items: center; gap: 2px; width: 42px; padding: 9px 0; border-radius: 11px; background: var(--grad-brand); color: #04111f; box-shadow: var(--glow); position: relative; }
.transfer-chip svg { animation: nudge 1.8s var(--ease) infinite; }
.transfer-chip span { font-size: .62rem; font-weight: 700; }
@keyframes nudge { 0%,100%{ transform: translateX(-2px);} 50%{ transform: translateX(3px);} }

.win-statusbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 14px; border-top: 1px solid var(--line); background: var(--surface); font-size: .74rem; color: var(--text-soft); flex-wrap: wrap; }
.status-transfer { display: inline-flex; align-items: center; gap: 9px; }
.status-transfer svg { color: var(--brand-2); }
.status-pct { color: var(--brand-2); }
.progress { width: 92px; height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; border: 1px solid var(--line); }
.progress-bar { display: block; height: 100%; width: 0; background: var(--grad-brand); border-radius: 999px; animation: fill 3.4s var(--ease) infinite; }
@keyframes fill { 0%{ width: 8%;} 70%{ width: 72%;} 100%{ width: 72%;} }
.status-keys { display: inline-flex; gap: 12px; color: var(--text-mute); }
.status-keys kbd { color: var(--text-soft); }

kbd {
  font-size: .72em; font-weight: 600; padding: 2px 7px; border-radius: 6px;
  background: var(--surface-2); border: 1px solid var(--line-strong); border-bottom-width: 2px; color: var(--text);
}

.float-badge {
  position: absolute; display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 500;
  padding: 9px 13px; border-radius: 12px; background: var(--surface-solid); border: 1px solid var(--line-strong);
  box-shadow: var(--shadow); color: var(--text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.float-badge svg { color: var(--brand-2); }
.fb-1 { top: -3%; left: -6%; animation: floaty 6s var(--ease) infinite; }
.fb-2 { bottom: 6%; right: -5%; animation: floaty 6s var(--ease) infinite 1.5s; }
@keyframes floaty { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------- Marken-Animation (scroll-scrub) ---------- */
.reveal-stage { position: relative; height: 210vh; }
.reveal-sticky { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 30px); padding: 72px 24px; }
.reveal-kicker { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-2); padding: 6px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.reveal-card {
  position: relative; width: min(420px, 76vw); aspect-ratio: 1400 / 1480;
  border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 120% at 50% 28%, #fdfefe, #e8edf4 72%, #dbe2ec);
  box-shadow: 0 50px 130px -28px rgba(46,167,240,.55), 0 0 0 1px var(--line-strong), inset 0 0 0 1px rgba(255,255,255,.6);
}
.reveal-card::before { content:""; position:absolute; inset:-30% -10%; z-index:-1; pointer-events:none; background: radial-gradient(50% 50% at 50% 50%, rgba(33,212,196,.4), transparent 70%); filter: blur(30px); }
.reveal-video { width: 100%; height: 100%; object-fit: cover; display: block; background: #eef2f8; }
.reveal-hint { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-mute); transition: opacity .5s var(--ease); }
.reveal-hint svg { color: var(--brand-2); animation: revealBob 1.8s var(--ease) infinite; }
.reveal-hint.is-hidden { opacity: 0; }
@keyframes revealBob { 0%,100%{ transform: translateY(-2px);} 50%{ transform: translateY(4px);} }

/* ---------- Stats band ---------- */
.stats-band {
  max-width: var(--maxw); margin: 0 auto; padding: 22px 24px;
  display: grid; grid-template-columns: repeat(5,1fr); gap: 18px;
}
.stat { text-align: center; padding: 26px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.stat-num { display: block; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .9rem; color: var(--text-mute); }

/* ---------- Manifesto / Positionierung ---------- */
.manifesto { max-width: 900px; margin: 0 auto; padding: clamp(54px,8vw,92px) 24px; text-align: center; }
.manifesto-lead { font-size: clamp(1.02rem,2vw,1.28rem); color: var(--text-mute); font-weight: 500; }
.manifesto-title { font-size: clamp(2.3rem,6vw,4rem); font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; margin: 8px 0 0; }
.manifesto-sub { font-size: clamp(1.04rem,1.9vw,1.3rem); color: var(--text-soft); max-width: 700px; margin: 22px auto 0; }
.manifesto-sub strong { color: var(--text); font-weight: 600; }
.persona-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.persona { display: inline-flex; align-items: center; gap: 9px; font-size: .95rem; font-weight: 600; padding: 11px 20px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.persona svg { color: var(--brand-2); }

/* ---------- System verstehen ---------- */
.understand-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }
.ucard { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.ucard:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.ucard-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--brand-2); margin-bottom: 16px; }
.ucard-ic svg { width: 23px; height: 23px; }
.ucard h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.ucard p { font-size: .94rem; color: var(--text-soft); }
.ucard p strong { color: var(--text); font-weight: 600; }
.ucard-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,4vw,48px); align-items: center; background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.ucard-points { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
.ucard-points li { position: relative; padding-left: 26px; font-size: .9rem; color: var(--text-soft); }
.ucard-points li::before { content:""; position:absolute; left:0; top:3px; width:16px; height:16px; border-radius:50%; background: var(--grad-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat; }

.ucard-visual { display: flex; flex-direction: column; gap: 12px; }
.treemap { display: flex; gap: 6px; height: 180px; }
.tm { border-radius: 10px; padding: 12px; display: flex; flex-direction: column; justify-content: flex-end; font-size: .82rem; font-weight: 700; color: #04111f; overflow: hidden; line-height: 1.2; }
.tm span { font-size: .72rem; opacity: .85; }
.tm-a { flex: 1.7; background: linear-gradient(150deg,#5b8cff,#2ea7f0); }
.tm-col { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.tm-b { flex: 1.5; background: linear-gradient(150deg,#2ea7f0,#21d4c4); }
.tm-c { flex: 1; background: linear-gradient(150deg,#21d4c4,#43e8cf); }
.tm-d { flex: 1.3; background: var(--surface-2); color: var(--text); border: 1px solid var(--line-strong); }
.tm-e { flex: 1; background: var(--surface); color: var(--text-soft); border: 1px solid var(--line); }
.trend { display: inline-flex; align-items: center; gap: 9px; font-size: .85rem; color: var(--text-soft); padding: 10px 14px; border-radius: 10px; background: rgba(33,212,196,.08); border: 1px solid rgba(33,212,196,.25); }
.trend svg { color: var(--brand-2); flex-shrink: 0; }
.trend b { color: var(--text); }

/* ---------- Remote-Highlights ---------- */
.remote-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.rhl { display: flex; gap: 16px; align-items: flex-start; padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: linear-gradient(180deg, var(--surface-2), var(--surface)); }
.rhl-ic { width: 48px; height: 48px; flex-shrink: 0; display: grid; place-items: center; border-radius: 13px; background: var(--grad-brand); color: #04111f; }
.rhl h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.rhl p { font-size: .9rem; color: var(--text-soft); }

/* ---------- Server-Center ---------- */
.servercenter-row { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px,4vw,56px); align-items: center; margin-bottom: clamp(34px,5vw,52px); }
.sc-copy h3 { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; margin-top: 4px; }
.sc-copy > p { margin-top: 14px; color: var(--text-soft); font-size: 1.04rem; }
.sc-list { list-style: none; margin-top: 20px; display: grid; gap: 11px; }
.sc-list li { display: flex; align-items: center; gap: 12px; font-size: .95rem; color: var(--text-soft); }
.sc-list > li > svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--brand-2); }
.sc-list b { color: var(--text); font-weight: 600; }

.sc-art { position: relative; }
.sc-window { box-shadow: var(--shadow-lg); }
.sc-body { display: grid; grid-template-columns: 184px 1fr; min-height: 256px; }
.sc-side { padding: 8px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; background: var(--surface); }
.sc-si { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 8px; font-size: .82rem; color: var(--text-soft); white-space: nowrap; }
.sc-si svg { color: var(--text-mute); flex-shrink: 0; }
.sc-si.active { background: var(--grad-brand); color: #04111f; font-weight: 600; }
.sc-si.active svg { color: #04111f; }

.sc-detail { padding: 14px 16px; }
.sc-detail-head { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-mute); padding-bottom: 10px; }
.sc-fav { display: flex; align-items: center; gap: 11px; padding: 11px 8px; border-radius: 9px; font-size: .9rem; border-bottom: 1px solid var(--line); }
.sc-fav:last-child { border-bottom: 0; }
.sc-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.sc-dot.run { background: #28c840; box-shadow: 0 0 0 3px rgba(40,200,64,.18); }
.sc-dot.stop { background: var(--text-mute); }
.sc-name { font-weight: 500; }
.sc-proto { margin-left: auto; font-size: .67rem; font-weight: 700; font-family: var(--mono); padding: 3px 9px; border-radius: 6px; background: rgba(91,157,255,.15); color: #8bb6ff; }
.sc-proto.dav { background: rgba(33,212,196,.15); color: var(--accent); }
.sc-proto.web { background: rgba(139,91,255,.15); color: #b69dff; }
.sc-proto.ssh { background: rgba(46,167,240,.15); color: #7cc4f5; }

/* ---------- Erweiterte Suche ---------- */
.search-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: center; }
.search-copy h3 { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; margin-top: 8px; }
.search-copy > p { margin-top: 14px; color: var(--text-soft); font-size: 1.04rem; }
.search-copy .ticks { margin-top: 20px; }

.search-art { position: relative; }
.search-window { box-shadow: var(--shadow-lg); }
.search-tree { padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.qnode { display: flex; align-items: center; gap: 10px; }
.qop { font-size: .64rem; font-weight: 800; letter-spacing: .07em; padding: 3px 9px; border-radius: 6px; color: #04111f; flex-shrink: 0; }
.op-and { background: linear-gradient(135deg,#5b8cff,#2ea7f0); }
.op-or  { background: linear-gradient(135deg,#ffb02e,#ff7a45); }
.op-not { background: linear-gradient(135deg,#ff6f91,#ff7a45); }
.qop-label { font-size: .76rem; color: var(--text-mute); }
.qrule { display: flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 9px; background: var(--surface); border: 1px solid var(--line); font-size: .78rem; }
.qg { font-weight: 700; color: var(--brand-2); padding: 2px 7px; border-radius: 5px; background: rgba(33,212,196,.12); border: 1px solid rgba(33,212,196,.25); flex-shrink: 0; }
.qf { color: var(--text); font-weight: 500; }
.qm { color: var(--text-mute); font-family: var(--mono); font-size: .72rem; }
.qv { margin-left: auto; font-weight: 600; color: var(--text); font-family: var(--mono); padding: 2px 9px; border-radius: 5px; background: var(--surface-2); border: 1px solid var(--line-strong); white-space: nowrap; }
.qgroup { margin-left: 15px; padding-left: 16px; border-left: 2px solid var(--line-strong); display: flex; flex-direction: column; gap: 9px; }

.search-examples { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: clamp(34px,5vw,54px); }
.sx-chip { font-size: .86rem; color: var(--text-soft); padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.sx-chip:hover { border-color: var(--brand); color: var(--text); }

/* ---------- Schnellansicht / Viewer ---------- */
.viewer-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.vcard { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s var(--ease), border-color .3s; }
.vcard:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.vcard-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); color: var(--brand-2); margin-bottom: 16px; }
.vcard-ic svg { width: 23px; height: 23px; }
.vcard h3 { font-size: 1.14rem; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.vcard p { font-size: .92rem; color: var(--text-soft); }
.viewer-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: clamp(30px,4vw,46px); }
.viewer-chips span { font-size: .8rem; font-weight: 500; color: var(--text-soft); padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }

/* ---------- Feature rows ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 88px); align-items: center; margin-top: clamp(60px, 9vw, 120px); }
.feature-row:first-of-type { margin-top: 0; }
.feature-row.reverse .feature-copy { order: 2; }
.feature-tag { display: inline-block; font-size: .82rem; font-weight: 600; color: var(--brand-2); letter-spacing: .04em; margin-bottom: 14px; }
.feature-copy h3 { font-size: clamp(1.5rem, 3vw, 2.15rem); font-weight: 700; line-height: 1.14; letter-spacing: -0.025em; }
.feature-copy p { margin-top: 16px; color: var(--text-soft); font-size: 1.06rem; }
.feature-copy code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-size: .85em; color: var(--brand-2); border: 1px solid var(--line); }

.ticks { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--text-soft); font-size: .98rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--grad-brand);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ticks kbd { margin: 0 1px; }

/* ---------- Mini window (feature art) ---------- */
.feature-art { position: relative; }
.mini-window { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
[data-theme="light"] .mini-window { background: linear-gradient(180deg,#fff,#f4f7fd); }
.mw-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.mw-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.mw-bar i:nth-child(1){ background:#ff5f57;} .mw-bar i:nth-child(2){ background:#febc2e;} .mw-bar i:nth-child(3){ background:#28c840;}
.mw-bar span { margin-left: 8px; font-size: .78rem; color: var(--text-mute); }

/* keyboard demo */
.kbd-demo { padding: 22px; display: grid; gap: 14px; }
.kbd-line { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--text-soft); }
.kbd-line kbd { font-size: .82rem; }
.kbd-arrow { color: var(--brand-2); font-weight: 700; }
.kbd-line span:last-child { color: var(--text-soft); }

/* abstraction diagram */
.abstraction { position: relative; padding: 26px 22px 30px; }
.abs-node { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; border: 1px solid var(--line-strong); background: var(--surface-2); font-size: .86rem; font-weight: 600; position: relative; z-index: 2; }
.abstraction { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px 8px; }
.abs-node svg { color: var(--brand-2); }
.abs-local svg { color: #5b9dff; } .abs-archive svg { color: #febc2e; } .abs-remote svg { color: #43e8cf; }
.abs-core { grid-column: 1 / -1; margin-top: 56px; text-align: center; padding: 16px; border-radius: 13px; background: var(--grad-brand); color: #04111f; font-weight: 800; font-size: 1.05rem; box-shadow: var(--glow); z-index: 2; position: relative; }
.abs-core span { display: block; font-family: var(--mono); font-size: .68rem; font-weight: 600; opacity: .8; margin-top: 4px; }
.abs-wires { position: absolute; left: 22px; right: 22px; top: 56px; height: 90px; width: calc(100% - 44px); z-index: 1; }
.abs-wires path { fill: none; stroke: var(--brand); stroke-width: 1.5; opacity: .4; stroke-dasharray: 5 5; animation: dash 1s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }

/* transfer demo */
.transfer-demo { padding: 22px; }
.td-row { display: flex; justify-content: space-between; align-items: center; font-size: .92rem; margin-bottom: 12px; }
.td-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.td-name svg { color: #febc2e; }
.td-meta { color: var(--text-mute); font-size: .82rem; }
.td-bar { height: 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; }
.td-bar span { display: block; height: 100%; width: var(--p,72%); background: var(--grad-brand); border-radius: 999px; animation: fill 3.4s var(--ease) infinite; }
.td-stats { display: flex; justify-content: space-between; font-size: .78rem; color: var(--text-mute); margin-top: 9px; font-variant-numeric: tabular-nums; }
.td-queue { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0; }
.tq-item { font-size: .74rem; padding: 4px 10px; border-radius: 7px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-mute); }
.tq-item.done { color: var(--brand-2); border-color: rgba(33,212,196,.3); }
.tq-item.active { color: #04111f; background: var(--grad-brand); border-color: transparent; font-weight: 600; }
.td-conflict { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 14px; border-radius: 11px; background: rgba(254,188,46,.08); border: 1px solid rgba(254,188,46,.28); font-size: .82rem; }
.td-conflict svg { color: #febc2e; flex-shrink: 0; }
.tc-actions { margin-left: auto; display: inline-flex; gap: 6px; }
.tc-actions i { font-style: normal; font-size: .74rem; padding: 3px 9px; border-radius: 6px; border: 1px solid var(--line-strong); color: var(--text-mute); }
.tc-actions i.on { background: var(--grad-brand); color: #04111f; border-color: transparent; font-weight: 600; }

/* ---------- Protocols ---------- */
.proto-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.proto-card { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s var(--ease), border-color .3s, background .3s; overflow: hidden; }
.proto-card::after { content:""; position:absolute; inset:0; background: var(--grad-stage); opacity:0; transition: opacity .3s; pointer-events:none; }
.proto-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.proto-card:hover::after { opacity:1; }
.proto-ic { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 13px; font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; color: #04111f; margin-bottom: 16px; }
.ic-blue{background:linear-gradient(135deg,#5b8cff,#2ea7f0);} .ic-cyan{background:linear-gradient(135deg,#2ea7f0,#21d4c4);}
.ic-teal{background:linear-gradient(135deg,#21d4c4,#43e8cf);} .ic-amber{background:linear-gradient(135deg,#ffb02e,#ff7a45);}
.ic-violet{background:linear-gradient(135deg,#8b5bff,#5b8cff);} .ic-rose{background:linear-gradient(135deg,#ff5f8f,#ff7a45);}
.ic-sky{background:linear-gradient(135deg,#56c8ff,#3b82f6);} .ic-indigo{background:linear-gradient(135deg,#6366f1,#3b82f6);}
.ic-green{background:linear-gradient(135deg,#34d399,#10b981); font-size:1.4rem;}
.proto-card h4 { font-size: 1.08rem; font-weight: 700; margin-bottom: 6px; }
.proto-card p { font-size: .9rem; color: var(--text-soft); position: relative; z-index: 1; }
.proto-flag { position: absolute; top: 16px; right: 16px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2); padding: 3px 9px; border-radius: 999px; background: rgba(33,212,196,.12); border: 1px solid rgba(33,212,196,.3); }
.proto-planned { grid-column: 1 / -1; border-style: dashed; display: grid; grid-template-columns: auto 1fr auto; column-gap: 18px; row-gap: 2px; align-items: center; }
.proto-planned .proto-ic { grid-row: 1 / 3; margin-bottom: 0; opacity: .85; }
.proto-planned h4 { grid-column: 2; grid-row: 1; align-self: end; }
.proto-planned p { grid-column: 2; grid-row: 2; align-self: start; }
.proto-planned .proto-flag.proto-soon { position: static; grid-column: 3; grid-row: 1 / 3; align-self: center; }
.proto-flag.proto-soon { color: var(--text-soft); background: var(--surface-2); border-color: var(--line-strong); }

.remote-assurance { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin-top: 22px; }
.assure { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.assure svg { color: var(--brand-2); flex-shrink: 0; margin-top: 2px; }
.assure b { display: block; font-size: 1rem; margin-bottom: 3px; }
.assure span { font-size: .88rem; color: var(--text-soft); }

/* ---------- Docker ---------- */
.section-docker { position: relative; }
.kicker-docker { display: inline-flex; align-items: center; gap: 7px; color: #56c8ff; }
.kicker-docker svg { color: #56c8ff; }
.section-head p code { background: var(--surface-2); padding: 2px 7px; border-radius: 6px; font-size: .85em; color: var(--brand-2); border: 1px solid var(--line); }

.docker-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 4vw, 56px); align-items: center; }

.docker-art { position: relative; }
.docker-window { box-shadow: var(--shadow-lg); }
.docker-body { display: grid; grid-template-columns: 190px 1fr; min-height: 290px; }

.container-list { border-right: 1px solid var(--line); padding: 8px; background: linear-gradient(180deg, rgba(86,200,255,.05), transparent); }
.clist-head { font-size: .66rem; text-transform: uppercase; letter-spacing: .09em; color: var(--text-mute); padding: 7px 9px 10px; }
.citem { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; font-size: .82rem; font-weight: 500; cursor: default; transition: background .15s; }
.citem em { margin-left: auto; font-style: normal; font-size: .68rem; color: var(--text-mute); font-family: var(--mono); }
.citem .cname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.citem.on { background: rgba(86,200,255,.14); box-shadow: inset 2px 0 0 #56c8ff; }
.citem.on em { color: var(--text-soft); }
.cdot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cdot.run { background: #28c840; box-shadow: 0 0 0 3px rgba(40,200,64,.18); }
.cdot.stop { background: var(--text-mute); }

.docker-panel { background: linear-gradient(180deg, rgba(86,200,255,.05), transparent); }
.frow.editing { background: rgba(86,200,255,.16); box-shadow: inset 2px 0 0 #56c8ff; }
.frow.editing .fi-doc { fill: #56c8ff; }

.fb-docker { position: absolute; bottom: 10%; left: -5%; display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600; padding: 9px 13px; border-radius: 12px; background: var(--surface-solid); border: 1px solid var(--line-strong); box-shadow: var(--shadow); color: var(--text); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); animation: floaty 6s var(--ease) infinite 1s; }
.fb-docker svg { color: var(--brand-2); }

.docker-host { color: #56c8ff !important; border-color: rgba(86,200,255,.3) !important; }

.docker-uses h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.02em; }
.duse { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--line); }
.duse:first-of-type { border-top: 0; }
.duse-ic { width: 38px; height: 38px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); color: #56c8ff; }
.duse-ic svg { width: 19px; height: 19px; }
.duse b { font-size: .98rem; }
.duse b code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; font-size: .85em; color: var(--brand-2); }
.duse p { font-size: .88rem; color: var(--text-soft); margin-top: 3px; }
.duse p code { background: var(--surface-2); padding: 1px 5px; border-radius: 5px; font-size: .85em; color: var(--brand-2); }

.docker-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: clamp(36px, 5vw, 56px); }
.docker-badges span { display: inline-flex; align-items: center; gap: 9px; font-size: .88rem; color: var(--text-soft); padding: 11px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.docker-badges svg { color: #56c8ff; flex-shrink: 0; }

/* ---------- Tools grid ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.tool { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform .3s var(--ease), border-color .3s, background .3s; }
.tool:hover { transform: translateY(-4px); border-color: var(--brand); background: var(--surface-2); }
.tool-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 15px; color: var(--brand-2); transition: background .3s, color .3s; }
.tool-ic svg { width: 22px; height: 22px; }
.tool:hover .tool-ic { background: var(--grad-brand); color: #04111f; border-color: transparent; }
.tool h4 { font-size: 1rem; font-weight: 700; margin-bottom: 5px; }
.tool p { font-size: .86rem; color: var(--text-soft); }
.tool p a { color: var(--brand-2); font-weight: 600; white-space: nowrap; }
.tool p a:hover { text-decoration: underline; }
.tool-more { background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-style: dashed; }

/* ---------- Snippets ---------- */
.section-snippets { }
.snip-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px,6vw,80px); align-items: center; }
.snip-copy h2 { font-size: clamp(1.7rem,3.4vw,2.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; margin-top: 8px; }
.snip-copy > p { margin-top: 16px; color: var(--text-soft); font-size: 1.06rem; }
.snip-palette { box-shadow: var(--shadow-lg); }
.snip-search { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 1rem; color: var(--text); }
.snip-search svg { color: var(--text-mute); }
.caret { width: 2px; height: 18px; background: var(--brand-2); animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.snip-list { padding: 8px; }
.snip-item { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; transition: background .15s; }
.snip-item code { flex: 1; font-size: .84rem; color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.snip-item.on { background: var(--surface-2); }
.snip-item.on code { color: var(--text); }
.snip-plat { font-size: .68rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: rgba(91,157,255,.15); color: #8bb6ff; white-space: nowrap; }
.snip-plat.deb { background: rgba(214,67,67,.15); color: #ff8a8a; }
.snip-plat.fed { background: rgba(59,130,246,.15); color: #7fb0ff; }
.snip-plat.ps { background: rgba(91,140,255,.15); color: #9db4ff; }
.snip-copy-ic { font-size: .72rem; font-family: var(--mono); color: var(--text-mute); padding: 3px 7px; border: 1px solid var(--line); border-radius: 6px; }
.snip-item.on .snip-copy-ic { color: var(--brand-2); border-color: rgba(33,212,196,.3); }
.snip-foot { display: flex; justify-content: space-between; padding: 12px 18px; border-top: 1px solid var(--line); font-size: .76rem; color: var(--text-mute); }

/* ---------- Security ---------- */
.sec-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.sec-card { padding: 26px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.sec-card svg { color: var(--brand-2); margin-bottom: 16px; }
.sec-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 7px; }
.sec-card p { font-size: .9rem; color: var(--text-soft); }
.sec-card code { font-family: var(--mono); font-size: .82em; color: var(--brand-2); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; max-width: 880px; margin: 0 auto; align-items: start; }
.price-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; }
.price-card.featured { border-color: rgba(46,167,240,.5); background: linear-gradient(180deg, rgba(46,167,240,.08), var(--surface)); box-shadow: var(--glow); }
.price-ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); font-size: .76rem; font-weight: 700; color: #04111f; padding: 6px 16px; border-radius: 999px; background: var(--grad-brand); white-space: nowrap; box-shadow: var(--shadow-sm); }
.price-top h3 { font-size: 1.3rem; font-weight: 700; }
.price-tag { font-size: clamp(2.2rem,4vw,2.9rem); font-weight: 800; letter-spacing: -0.03em; margin: 10px 0; }
.price-tag span { font-size: .9rem; font-weight: 500; color: var(--text-mute); margin-left: 8px; letter-spacing: 0; }
.price-intro { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; color: #ffce9e; padding: 7px 13px; border-radius: 999px; background: linear-gradient(135deg, rgba(255,176,46,.16), rgba(255,122,69,.1)); border: 1px solid rgba(255,176,46,.36); margin: 0 0 14px; }
.price-intro svg { color: #ffb02e; flex-shrink: 0; }
[data-theme="light"] .price-intro { color: #b9610a; }
.price-lead { color: var(--text-soft); font-size: .96rem; min-height: 48px; }
.price-feats { list-style: none; margin: 24px 0; display: grid; gap: 11px; flex: 1; }
.price-feats li { position: relative; padding-left: 28px; font-size: .94rem; color: var(--text-soft); }
.price-feats li::before { content:""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; border-radius: 50%; background: var(--grad-brand); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round' d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/12px no-repeat; }
.price-feats li.hl { font-weight: 700; color: var(--text); padding-left: 0; }
.price-feats li.hl::before { display: none; }
.price-foot { text-align: center; font-size: .78rem; color: var(--text-mute); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; transition: border-color .25s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 1.04rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-plus::before, .faq-plus::after { content:""; position: absolute; background: var(--brand-2); border-radius: 2px; transition: transform .3s var(--ease); }
.faq-plus::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq-plus::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq details[open] .faq-plus::after { transform: rotate(90deg); opacity: 0; }
.faq p { padding: 0 22px 22px; color: var(--text-soft); font-size: .98rem; }

/* ---------- Final CTA ---------- */
.cta-final { max-width: var(--maxw); margin: 0 auto; padding: 0 24px clamp(80px,10vw,140px); }
.cta-card { position: relative; text-align: center; padding: clamp(48px,7vw,88px) 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--surface-2), var(--surface)); overflow: hidden; }
.cta-card::before { content:""; position:absolute; inset:0; background: var(--grad-stage); pointer-events:none; }
.cta-card > * { position: relative; }
.cta-icon { margin: 0 auto 22px; border-radius: 20px; box-shadow: var(--shadow); }
.cta-card h2 { font-size: clamp(2.1rem,4.6vw,3.4rem); font-weight: 800; letter-spacing: -0.03em; }
.cta-card p { max-width: 540px; margin: 16px auto 0; color: var(--text-soft); font-size: 1.1rem; }
.cta-card .hero-cta { justify-content: center; }
.cta-fine { font-size: .84rem; color: var(--text-mute); margin-top: 22px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 64px 24px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; color: var(--text-mute); font-size: .9rem; }
.footer-col h5 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-mute); margin-bottom: 14px; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-soft); font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--brand-2); }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 22px 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--text-mute); }

/* ---------- To-top ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; background: var(--surface-solid); border: 1px solid var(--line-strong); color: var(--text); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, transform .3s, visibility .3s; z-index: 90; }
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--brand-2); border-color: var(--brand); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stage { margin-top: 16px; }
  .app-window { transform: none; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-copy { order: 0; }
  .snip-wrap { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(3,1fr); }
  .proto-grid { grid-template-columns: repeat(2,1fr); }
  .tools-grid { grid-template-columns: repeat(2,1fr); }
  .mermaid-grid { grid-template-columns: 1fr; }
  .sec-grid { grid-template-columns: repeat(2,1fr); }
  .remote-assurance { grid-template-columns: 1fr; }
  .docker-grid { grid-template-columns: 1fr; }
  .understand-grid { grid-template-columns: 1fr; }
  .ucard-wide { grid-template-columns: 1fr; }
  .remote-highlights { grid-template-columns: 1fr; }
  .servercenter-row { grid-template-columns: 1fr; }
  .search-grid { grid-template-columns: 1fr; }
  .viewer-cards { grid-template-columns: 1fr; }
  .reveal-stage { height: auto; }
  .reveal-sticky { position: static; height: auto; min-height: 70vh; }
  .reveal-hint { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-cta-secondary { display: none; }
  .float-badge { display: none; }

  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 12px; right: 12px;
    background: var(--surface-solid); border: 1px solid var(--line-strong); border-radius: var(--radius);
    padding: 12px; gap: 4px; box-shadow: var(--shadow-lg); margin: 0;
  }
  .nav-links.open a { padding: 12px 14px; }
}
@media (max-width: 620px) {
  .stats-band { grid-template-columns: repeat(2,1fr); }
  .price-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .win-body { grid-template-columns: 1fr; }
  .panel-remote { display: none; }
  .transfer-rail { display: none; }
  .status-keys { display: none; }
  .float-badge { display: none; }
  .hero-cta .btn { flex: 1; }
  .proto-grid, .tools-grid, .sec-grid { grid-template-columns: 1fr; }
  .docker-body { grid-template-columns: 1fr; }
  .mermaid-body { grid-template-columns: 1fr; }
  .container-list { border-right: 0; border-bottom: 1px solid var(--line); }
  .docker-host { display: none; }
  .docker-badges span { width: 100%; }
  .theme-toggle { display: none; }
  /* Flottenzeile: auf schmalen Screens nur das erste Statusabzeichen —
     zwei nebeneinander sprengen sonst die Mockup-Breite. */
  #linux .sc-fav .sc-proto + .sc-proto { display: none; }
  .nav-actions .nav-cta span { display: none; }
  .nav-actions .nav-cta { padding: 11px 13px; }
  .nav-inner { gap: 12px; }
}

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.subpage .nav-inner { background: color-mix(in srgb, var(--bg) 62%, transparent); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); border-color: var(--line-strong); }
.legal-page { max-width: 780px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 24px; }
.legal h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 14px 0 10px; }
.legal h2 { font-size: 1.22rem; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; padding-top: 26px; border-top: 1px solid var(--line); }
.legal h2:first-of-type { border-top: none; padding-top: 8px; }
.legal h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; color: var(--text); margin: 26px 0 8px; }
.legal p, .legal ul { color: var(--text-soft); font-size: .98rem; margin-bottom: 14px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal li::marker { color: var(--brand-2); }
.legal a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in srgb, var(--brand-2) 45%, transparent); transition: text-decoration-color .2s; }
.legal a:hover { text-decoration-color: var(--brand-2); }
.legal strong { color: var(--text); }
.legal code { font-size: .86em; background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.legal-todo { background: rgba(255,196,0,.16); color: inherit; border: 1px dashed rgba(255,196,0,.55); border-radius: 6px; padding: 0 6px; }
.legal-emphasis { font-size: .84rem !important; line-height: 1.65; letter-spacing: .01em; background: var(--surface-2); border: 1px solid var(--line); border-left: 3px solid var(--brand-2); border-radius: 10px; padding: 14px 16px; }
.legal-source { font-size: .86rem !important; color: var(--text-mute) !important; margin-top: 26px; }
.legal-updated { margin-top: 44px; font-size: .86rem; color: var(--text-mute); }
/* ---------- Kontaktseite ---------- */
.contact-page { max-width: 1060px; margin: 0 auto; padding: clamp(48px, 8vw, 96px) 24px; }
.contact-head { max-width: 720px; }
.contact-head h1 { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 14px 0 12px; }
.contact-lead { color: var(--text-soft); font-size: 1.02rem; }
.contact-lead + .contact-lead { margin-top: 14px; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 26px; margin-top: 40px; align-items: start; }

.contact-form { padding: 30px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.field { margin-bottom: 20px; }
.field > label { display: block; font-size: .92rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.req { color: var(--brand-2); }

.field input[type="text"], .field input[type="email"], .field textarea, .field select {
  width: 100%; font-family: var(--font); font-size: .96rem; color: var(--text);
  background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 150px; line-height: 1.6; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer; }
.field select option { color: var(--text); background: var(--surface-solid); }
.field input::placeholder, .field textarea::placeholder { color: var(--text-mute); }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--line-strong); background: var(--surface); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 28%, transparent);
}
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #ff6b6b; }
.field.has-error input:focus-visible, .field.has-error textarea:focus-visible, .field.has-error select:focus-visible { box-shadow: 0 0 0 3px rgba(255,107,107,.28); }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 2px solid var(--text-mute); border-bottom: 2px solid var(--text-mute);
  transform: rotate(45deg); pointer-events: none;
}

.field-hint { font-size: .84rem; color: var(--text-mute); margin-top: 7px; }
.field-error { font-size: .85rem; font-weight: 500; color: #ff8080; margin-top: 7px; }

.field-check { margin-top: 26px; }
.checkbox { display: flex; gap: 11px; align-items: flex-start; font-size: .9rem; color: var(--text-soft); cursor: pointer; }
.checkbox input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--brand); cursor: pointer; }
.checkbox a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-fine { font-size: .84rem; color: var(--text-mute); }
.contact-form.is-sending { opacity: .65; pointer-events: none; }

.form-status { font-size: .93rem; border-radius: 12px; padding: 14px 16px; margin-bottom: 24px; border: 1px solid var(--line-strong); background: var(--surface-2); color: var(--text-soft); }
.form-status.is-ok { border-color: color-mix(in srgb, var(--brand-2) 55%, transparent); background: color-mix(in srgb, var(--brand-2) 12%, transparent); color: var(--text); }
.form-status.is-error { border-color: rgba(255,107,107,.55); background: rgba(255,107,107,.12); color: var(--text); }

.contact-side { display: grid; gap: 16px; }
.side-card { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.side-card h2 { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.side-card p { font-size: .89rem; color: var(--text-soft); }
.side-card a { color: var(--brand-2); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; }
}

.footer-slim { margin-top: 40px; }
.footer-inline-links { display: flex; gap: 18px; }
.footer-inline-links a { color: var(--text-soft); transition: color .2s; }
.footer-inline-links a:hover { color: var(--brand-2); }
.footer-inline-links a[aria-current="page"] { color: var(--text); }

/* ---------- Plattform-Chips (Container-Sektion) ---------- */
.platform-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 24px; }
.platform-chips span {
  font-family: var(--mono); font-size: .8rem; font-weight: 500; color: var(--text-soft);
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); transition: color .2s, border-color .2s, transform .2s var(--ease);
}
.platform-chips span:hover { color: var(--brand-2); border-color: var(--brand-2); transform: translateY(-2px); }

/* ---------- Tool-Karten: Neu-Flag ---------- */
.tool { position: relative; }
.tool-flag {
  position: absolute; top: 16px; right: 16px; font-size: .66rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em; color: var(--brand-2);
  padding: 3px 9px; border-radius: 999px; background: rgba(33,212,196,.12); border: 1px solid rgba(33,212,196,.3);
}

/* ---------- Mermaid-Editor-Sektion ---------- */
.mermaid-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.mermaid-art { position: relative; }
.mermaid-window { position: relative; z-index: 1; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--surface-solid); box-shadow: var(--shadow-lg); overflow: hidden; }
.mermaid-body { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 280px; }
.mermaid-code {
  font-family: var(--mono); font-size: .82rem; line-height: 1.75; color: var(--text-soft);
  padding: 20px 18px; border-right: 1px solid var(--line); overflow: hidden; white-space: pre;
  background: color-mix(in srgb, var(--bg) 45%, transparent);
}
.mm-kw { color: var(--brand); font-weight: 600; }
.mm-str { color: var(--accent); }
.mermaid-preview { display: grid; place-items: center; padding: 18px; background: var(--grad-stage); }
.mermaid-diagram { width: 100%; max-width: 340px; height: auto; color: var(--brand-2); }
.mermaid-diagram .mm-edges path { stroke: color-mix(in srgb, var(--text-soft) 70%, transparent); stroke-width: 1.6; }
.mermaid-diagram .mm-edges { color: color-mix(in srgb, var(--text-soft) 70%, transparent); }
.mermaid-diagram .mm-nodes rect, .mermaid-diagram .mm-nodes path {
  fill: var(--surface-2); stroke: var(--brand); stroke-width: 1.4;
}
.mermaid-diagram .mm-nodes .mm-warn { stroke: #f0a32e; }
.mermaid-diagram .mm-nodes .mm-ok { stroke: var(--brand-2); fill: rgba(33,212,196,.14); }
.mermaid-diagram .mm-nodes text, .mermaid-diagram .mm-labels text {
  fill: var(--text); stroke: none; font-family: var(--mono); font-size: 9.5px; text-anchor: middle;
}
.mermaid-diagram .mm-labels text { fill: var(--text-mute); font-size: 8px; }
.mermaid-uses h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 18px; letter-spacing: -0.02em; }

/* ---------- Moderne Politur ---------- */
/* Lesefortschritt (CSS scroll-driven, ohne JS) */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2.5px; z-index: 300;
  background: var(--grad-brand); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  .scroll-progress { animation: growProgress linear both; animation-timeline: scroll(root); }
}
@keyframes growProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Feine Innenkante oben auf Glasflächen */
.window, .mini-window, .stat, .proto-card, .tool, .sec-card, .vcard, .ucard, .price-card {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.window { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.07); }
[data-theme="light"] .window { box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.9); }

/* Cursor-Spotlight auf Karten (Position via JS-Custom-Properties) */
@media (hover: hover) {
  .proto-card, .tool, .sec-card, .vcard, .ucard, .stat, .price-card, .rhl, .assure, .duse {
    position: relative;
  }
  .proto-card::before, .tool::before, .sec-card::before, .vcard::before, .ucard::before,
  .stat::before, .price-card::before, .rhl::before, .assure::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    opacity: 0; transition: opacity .35s var(--ease); z-index: 0;
    background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
                color-mix(in srgb, var(--brand) 14%, transparent), transparent 72%);
  }
  .proto-card:hover::before, .tool:hover::before, .sec-card:hover::before, .vcard:hover::before,
  .ucard:hover::before, .stat:hover::before, .price-card:hover::before, .rhl:hover::before,
  .assure:hover::before { opacity: 1; }
}

/* Primaer-Button: Lichtstreifen beim Hover */
.btn-primary { overflow: hidden; }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.4) 50%, transparent 58%);
  transform: translateX(-130%);
}
.btn-primary:hover::after { transform: translateX(130%); transition: transform .7s var(--ease); }

/* Zahlen in den Stats monospaced-taktil */
.stat-num { font-feature-settings: "tnum"; }

/* Ausgewogenere Zeilenumbrueche in Karten-Titeln */
h3, .tool h4, .proto-card h4 { text-wrap: balance; }
