/* ───── Self-hosted Fonts (DSGVO-konform, kein Google-Fonts-Request) ───── */
/* Inter & JetBrains Mono — latin subset, variable woff2 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  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: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url('/assets/fonts/jetbrains-mono-latin.woff2') format('woff2');
  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;
}

:root {
  /* Koralle-Rampe (Marke, identisch zur App) */
  --coral-050: #FFECEC;
  --coral-300: #FFA3A4;
  --coral-500: #FF6667;
  --coral-600: #E84C4E;
  --coral-700: #C93638;
  --coral-900: #7A1A1C;
  --bg: #FAF8F3;
  --bg-soft: #F1ECE0;
  --bg-card: #FFFFFF;
  --text: #1A1416;
  --text-soft: #443A3C;
  --muted: #766A6C;
  --muted-soft: #A39A9B;
  --border: rgba(26,20,22,.08);
  --border-strong: rgba(26,20,22,.16);
  --accent: var(--coral-300);
  --accent-strong: var(--coral-500);
  --accent-deep: var(--coral-900);
  --accent-soft: var(--coral-050);
  --warm: #C99A66;
  --warm-soft: #EBDBC2;
  --warm-deep: #8A6334;
  --success: #2F8F5F;
  --danger: #B03A2E;
  --shadow-sm: 0 1px 2px rgba(26,20,22,.05);
  --shadow-md: 0 8px 24px -10px rgba(26,20,22,.14), 0 2px 6px -2px rgba(26,20,22,.06);
  --shadow-lg: 0 30px 60px -30px rgba(26,20,22,.25), 0 8px 20px -10px rgba(26,20,22,.10);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --maxw: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2,.7,.1,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  color-scheme: light;
}
html[data-theme="dark"] {
  /* Dunkle Bühne: warm (Ink), nicht navy */
  --bg: #111113;
  --bg-soft: #18181B;
  --bg-card: #1C1C1F;
  --ink-700: #26262B;
  --text: rgba(255,255,255,.92);
  --text-soft: rgba(255,255,255,.75);
  --muted: rgba(255,255,255,.55);
  --muted-soft: rgba(255,255,255,.38);
  --border: rgba(255,255,255,.08);
  --border-strong: rgba(255,255,255,.18);
  --accent: var(--coral-300);
  --accent-strong: var(--coral-500);
  --accent-deep: var(--coral-300);
  --accent-soft: color-mix(in oklab, var(--coral-500) 16%, transparent);
  --warm: #D7B889;
  --warm-soft: rgba(203,167,122,.14);
  --warm-deep: #E5C99B;
  --shadow-md: 0 12px 30px -10px rgba(0,0,0,.55);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  line-height: 1.55; letter-spacing: -0.005em;
  overflow-x: hidden;
}
::selection { background: var(--coral-300); color: #1A1416; }
h1,h2,h3,h4 { font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin: 0; color: var(--text); }
p { margin: 0; color: var(--text-soft); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
.mono { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); position: relative; z-index: 2; }

.skip-link {
  position: absolute; left: 8px; top: 8px; z-index: 1000;
  background: var(--text); color: var(--bg);
  padding: 10px 16px; border-radius: 8px;
  transform: translateY(-150%); transition: transform .2s var(--ease);
  font-weight: 500;
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px;
  background: var(--accent-strong);
  transform-origin: 0 0; transform: scaleX(0); z-index: 100;
  transition: transform .12s linear;
}

header.site {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
header.site.scrolled { border-bottom-color: var(--border); }
header.site .row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--text); flex-shrink: 0; }
.logo-mark {
  /* Flache Koralle-Kachel, weiße Marke — nie Verläufe (Brand-Regel) */
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--coral-500);
  border-radius: 9px;
}
.logo-mark img { width: 22px; height: auto; display: block; }
nav.primary { display: flex; align-items: center; gap: 2px; }
nav.primary a {
  padding: 9px 14px; border-radius: 9px;
  color: var(--text-soft); font-size: 14.5px; font-weight: 500;
  transition: color .15s, background .15s;
}
nav.primary a:hover { color: var(--text); background: color-mix(in oklab, var(--text) 4%, transparent); }
nav.primary a[aria-current="page"] { color: var(--text); background: color-mix(in oklab, var(--text) 4%, transparent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 12px;
  background: transparent; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-soft);
  transition: all .15s; flex-shrink: 0;
}
.icon-btn:hover { background: var(--bg-soft); color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 16px; height: 16px; }
.icon-btn .icon-sun { display: none; }
.icon-btn .icon-moon { display: block; }
html[data-theme="dark"] .icon-btn .icon-sun { display: block; }
html[data-theme="dark"] .icon-btn .icon-moon { display: none; }

.menu-toggle { display: none; }

@media (max-width: 860px) {
  header.site {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: color-mix(in oklab, var(--bg) 92%, transparent);
  }
  nav.primary {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch; justify-content: center;
    gap: 4px; padding: 80px 32px 32px;
    transform: translateX(100%); transition: transform .35s var(--ease);
    z-index: 60; pointer-events: none;
  }
  nav.primary[data-open="true"] { transform: none; pointer-events: auto; }
  nav.primary a {
    padding: 16px 20px; font-size: 22px; font-weight: 500;
    border-bottom: 1px solid var(--border); border-radius: 0;
  }
  nav.primary a:last-child { border-bottom: none; }
  .menu-toggle { display: grid; }
  /* Toggle-Buttons über dem Nav-Overlay halten, sonst ist das Menü nicht schließbar */
  nav.primary[data-open="true"] ~ .header-actions { position: relative; z-index: 70; }
  .header-actions .btn-primary { padding: 10px 16px; font-size: 13.5px; }
}
@media (max-width: 480px) {
  .header-actions .btn-primary { display: none; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 12px; font-size: 14.5px; font-weight: 600;
  border: 1px solid transparent; transition: all .25s var(--ease);
  white-space: nowrap; position: relative;
}
.btn-primary { background: var(--coral-500); color: #fff; box-shadow: 0 6px 18px -8px color-mix(in oklab, var(--coral-700) 55%, transparent); }
.btn-primary:hover { background: var(--coral-600); transform: translateY(-1px); box-shadow: 0 12px 26px -10px color-mix(in oklab, var(--coral-700) 65%, transparent); }
.btn-primary:active { background: var(--coral-700); transform: none; }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--text); }
.btn-ghost { background: transparent; color: var(--text-soft); }
.btn-ghost:hover { color: var(--text); }
.btn svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.btn:hover svg.arrow { transform: translateX(3px); }
.btn[disabled] { opacity: .55; cursor: progress; pointer-events: none; }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; border-radius: 8px; }

.hero { padding: clamp(50px, 8vw, 90px) 0 clamp(40px, 6vw, 70px); position: relative; }
.hero-aura { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hero-aura::before, .hero-aura::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
}
.hero-aura::before {
  width: 620px; height: 620px; left: -10%; top: -20%;
  background: radial-gradient(circle, var(--accent-strong) 0%, transparent 60%);
  animation: float1 18s ease-in-out infinite alternate;
}
.hero-aura::after {
  width: 520px; height: 520px; right: -8%; bottom: -10%;
  background: radial-gradient(circle, var(--accent) 0%, transparent 60%);
  animation: float2 22s ease-in-out infinite alternate;
  opacity: .25;
}
@keyframes float1 { from { transform: translate(0,0); } to { transform: translate(60px,40px); } }
@keyframes float2 { from { transform: translate(0,0); } to { transform: translate(-50px,-30px); } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 14px 6px 8px; border-radius: 999px;
  background: color-mix(in oklab, var(--bg-card) 80%, transparent);
  border: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-soft); font-weight: 500;
  margin-bottom: 30px; backdrop-filter: blur(6px);
}
.eyebrow .live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-strong); position: relative; flex-shrink: 0; }
.eyebrow .live-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--accent-strong); animation: ping 1.8s ease-out infinite;
}
@keyframes ping {
  0% { transform: scale(1); opacity: .6; }
  80%, 100% { transform: scale(3); opacity: 0; }
}

.hero-layout { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .hero-layout { grid-template-columns: 1fr; gap: 50px; } }

h1.hero-h {
  font-size: clamp(44px, 6vw, 80px);
  letter-spacing: -0.04em; line-height: 1.02;
  font-weight: 700;
}
h1.hero-h .line-strike {
  display: block;
  font-size: 0.34em;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.005em;
  line-height: 1.15;
  margin-bottom: 18px;
  position: relative;
  width: fit-content;
  opacity: 0;
  animation: fadeIn .9s var(--ease-out) .15s forwards;
}
html[data-theme="dark"] h1.hero-h .line-strike { color: var(--muted-soft); }
h1.hero-h .line-strike::after {
  content: ""; position: absolute;
  left: 0; right: 0; top: 52%; height: 1.5px;
  background: currentColor;
  transform-origin: 0 50%; transform: scaleX(0);
  animation: strikeDraw .6s var(--ease-out) .85s forwards;
  border-radius: 2px;
}
@keyframes strikeDraw { to { transform: scaleX(1); } }
h1.hero-h .line-main {
  display: block;
  color: var(--text);
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) 1.15s forwards;
}
h1.hero-h .accent-word {
  color: var(--accent-strong);
  font-style: italic;
}

.hero-tagline {
  margin-top: 22px;
  font-size: clamp(18px, 1.7vw, 23px);
  max-width: 32ch;
  color: var(--text-soft); line-height: 1.35;
  font-weight: 500; letter-spacing: -0.01em;
  opacity: 0; animation: fadeUp .8s var(--ease-out) 1.3s forwards;
}
.hero-tagline em { color: var(--accent-strong); font-style: italic; font-weight: 600; }
.hero-sub { margin-top: 18px; font-size: clamp(15.5px, 1.3vw, 17.5px); max-width: 52ch; color: var(--muted); line-height: 1.55; opacity: 0; animation: fadeUp .8s var(--ease-out) 1.4s forwards; }
.hero-sub em { font-style: italic; color: var(--text-soft); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { to { opacity: 1; } }
.hero-cta { margin-top: 36px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s var(--ease-out) 1.55s forwards; }
.hero-trust { margin-top: 22px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); opacity: 0; animation: fadeUp .8s var(--ease-out) 1.7s forwards; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-soft); }

/* Hero before/after card */
.ba-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.7s forwards;
}
.ba-half { padding: 30px 32px; position: relative; }
.ba-half.before {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}
.ba-half .ba-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; font-weight: 500;
  color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}
.ba-half .ba-label .ba-mic {
  width: 16px; height: 16px; color: var(--accent-strong);
  display: inline-grid; place-items: center;
}
.ba-half .ba-label .ba-mic svg { width: 100%; height: 100%; }
.ba-half .ba-text { font-size: 15.5px; line-height: 1.6; color: var(--text); }
.ba-half.before .ba-text { color: var(--text-soft); font-style: italic; }
.ba-divider { position: relative; height: 0; display: flex; justify-content: center; }
.ba-arrow {
  position: absolute; top: -18px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--muted);
  box-shadow: var(--shadow-sm);
}
.ba-arrow svg { width: 16px; height: 16px; }
/* Typewriter + Blur — derselbe Ablauf wie der App-Intro-Screen */
.ba-card .ba-half.after .ba-text {
  transition: opacity .55s var(--ease-out), filter .55s var(--ease-out), transform .65s cubic-bezier(.34,1.56,.64,1);
}
.ba-card.typing .ba-half.after .ba-text { opacity: 0; filter: blur(7px); transform: translateY(10px) scale(.985); }
.ba-card .ba-half.before .ba-text { transition: opacity .45s ease, filter .45s ease; }
.ba-card.settled .ba-half.before .ba-text { opacity: .62; filter: blur(1px); }

.ba-wave { display: inline-flex; align-items: center; gap: 2px; height: 12px; }
.ba-wave span {
  width: 2px; background: var(--accent-strong); border-radius: 2px;
  animation: waveBar 1.1s ease-in-out infinite;
}
.ba-wave span:nth-child(1) { height: 30%; animation-delay: -0.9s; }
.ba-wave span:nth-child(2) { height: 60%; animation-delay: -0.6s; }
.ba-wave span:nth-child(3) { height: 100%; animation-delay: -0.3s; }
.ba-wave span:nth-child(4) { height: 70%; animation-delay: -0.45s; }
.ba-wave span:nth-child(5) { height: 40%; animation-delay: -0.15s; }
@keyframes waveBar {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }
main[id], section[id] { scroll-margin-top: 88px; }
.section-header { display: grid; gap: 12px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 760px; }
.section-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: 8px;
}
.section-eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--accent-strong); }
h2 { font-size: clamp(34px, 5vw, 60px); letter-spacing: -0.035em; line-height: 1.02; }
h2 .accent { color: var(--accent-strong); }
.section-lead { font-size: clamp(16px, 1.4vw, 19px); color: var(--text-soft); max-width: 60ch; margin-top: 8px; }

.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--bg);
  padding: 22px 0;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 100px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Compatible-apps strip */
.apps-strip {
  position: relative;
  background: var(--bg);
  padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 44px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.apps-strip .label {
  text-align: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
  margin-bottom: clamp(20px, 3vw, 32px);
  display: flex; align-items: center; justify-content: center; gap: 14px;
}
.apps-strip .label::before, .apps-strip .label::after {
  content: ""; width: 24px; height: 1px; background: var(--border-strong);
}
.apps-strip .marquee { border: none; padding: 6px 0; }
.apps-track { display: flex; gap: clamp(28px, 4vw, 44px); width: max-content; align-items: center; animation: marquee 50s linear infinite; }
.apps-strip:hover .apps-track { animation-play-state: paused; }
.apps-track img {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(26,20,22,0.06));
  transition: transform .25s var(--ease), filter .25s var(--ease);
}
html[data-theme="dark"] .apps-track img { filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4)); }
.apps-track img:hover { transform: translateY(-2px) scale(1.06); }
.apps-strip .caption {
  text-align: center;
  margin-top: clamp(20px, 3vw, 28px);
  font-size: 14px; color: var(--muted);
  max-width: 48ch; margin-left: auto; margin-right: auto;
}
@media (prefers-reduced-motion: reduce) {
  .apps-track { animation: none !important; }
}

.problem-grid { display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .problem-grid { grid-template-columns: 1fr; } }
.pain-card {
  padding: 30px; border-radius: var(--radius-md);
  background: var(--bg-soft); border: 1px solid var(--border);
  display: grid; gap: 16px;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  position: relative; overflow: hidden;
}
.pain-card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pain-num {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: grid; place-items: center; font-family: "JetBrains Mono", monospace;
  font-size: 12px; color: var(--muted); font-weight: 500;
}
.pain-card h3 { font-size: 20px; letter-spacing: -0.018em; }
.pain-card p { font-size: 14.5px; color: var(--text-soft); }

.solution { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.steps {
  display: grid; gap: 0; grid-template-columns: repeat(3, 1fr);
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-card); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step {
  padding: 38px 32px;
  border-right: 1px solid var(--border);
  display: grid; gap: 14px; align-content: start;
  position: relative; transition: background .25s;
}
.step:hover { background: color-mix(in oklab, var(--bg-soft) 50%, var(--bg-card)); }
.step:last-child { border-right: none; }
@media (max-width: 800px) { .step { border-right: none; border-bottom: 1px solid var(--border); } .step:last-child { border-bottom: none; } }
.step-icon {
  width: 48px; height: 48px; border-radius: 13px;
  background: var(--accent-soft); display: grid; place-items: center;
  color: var(--accent-strong); transition: transform .3s var(--ease);
}
.step:hover .step-icon { transform: scale(1.08) rotate(-3deg); }
.step-icon svg { width: 22px; height: 22px; }
.step-num { position: absolute; top: 24px; right: 28px; font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }
.step h3 { font-size: 20px; letter-spacing: -0.018em; }
.step p { font-size: 14.5px; }

.mode-tabs {
  display: inline-flex; gap: 4px;
  padding: 5px; border-radius: 14px;
  background: var(--bg-soft); border: 1px solid var(--border);
  margin-bottom: 32px; position: relative;
  max-width: 100%; overflow-x: auto;
  scrollbar-width: none;
}
.mode-tabs::-webkit-scrollbar { display: none; }
.mode-tab {
  padding: 10px 18px; border-radius: 10px;
  background: transparent; border: 0; color: var(--text-soft);
  font-size: 14px; font-weight: 500; position: relative; z-index: 2;
  transition: color .25s var(--ease);
  white-space: nowrap;
}
.mode-tab[aria-selected="true"] { color: var(--text); }
.mode-tabs .glider {
  position: absolute; top: 5px; left: 5px; height: calc(100% - 10px);
  background: var(--bg-card); border-radius: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), width .35s var(--ease);
  z-index: 1;
}
.mode-tab:hover:not([aria-selected="true"]) { color: var(--text); }
.mode-panel {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-card); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-md);
}
@media (max-width: 800px) { .mode-panel { grid-template-columns: 1fr; } }
.mode-side { padding: 28px 30px 30px; min-height: 220px; position: relative; }
.mode-side.before { border-right: 1px solid var(--border); background: color-mix(in oklab, var(--bg-soft) 35%, var(--bg-card)); }
@media (max-width: 800px) { .mode-side.before { border-right: none; border-bottom: 1px solid var(--border); } }
.mode-side h4 {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-bottom: 16px;
  display: flex; align-items: center; gap: 10px;
}
.mode-side h4 .badge {
  padding: 2px 8px; border-radius: 999px; font-size: 10px; letter-spacing: 0.04em;
  background: var(--bg); color: var(--text-soft); border: 1px solid var(--border);
  font-family: "Inter", sans-serif;
}
.mode-side .body { font-size: 16.5px; line-height: 1.65; }
.mode-side.before .body { color: var(--text-soft); font-style: italic; }
.mode-side.after .body { color: var(--text); }
.mode-side.after h4 .badge { background: var(--accent-soft); color: var(--accent-strong); border-color: transparent; }
.mode-desc { margin-top: 24px; color: var(--muted); font-size: 14.5px; max-width: 60ch; }

/* Standout features ("Was Sproke kann") */
.standout { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.standout-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(3, 1fr);
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
@media (max-width: 900px) { .standout-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .standout-grid { grid-template-columns: 1fr; } }
.standout-tile {
  background: var(--bg-card);
  padding: 32px 30px 30px;
  display: grid; gap: 12px; align-content: start;
  position: relative;
  transition: background .25s;
}
.standout-tile:hover { background: color-mix(in oklab, var(--bg-soft) 30%, var(--bg-card)); }
.standout-tile .lead {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-strong);
  font-weight: 500;
}
.standout-tile h3 {
  font-size: 19px; letter-spacing: -0.018em; line-height: 1.2;
}
.standout-tile h3 em { color: var(--accent-strong); font-style: italic; font-weight: 700; }
.standout-tile p { font-size: 14.5px; color: var(--text-soft); line-height: 1.55; }
.standout-tile .ex {
  margin-top: 4px;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  font-size: 13px; color: var(--text-soft); line-height: 1.55;
  font-family: "JetBrains Mono", monospace;
}
.standout-tile .ex .out { color: var(--text); display: block; margin-top: 6px; font-style: normal; }
.standout-tile .ex .in { font-style: italic; color: var(--muted); display: block; }

/* Spezial-Pakete */
.packs-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.packs-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 880px; }
@media (max-width: 900px) { .packs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .packs-grid { grid-template-columns: 1fr; } }
.pack-card {
  padding: 28px 28px 26px;
  border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  display: grid; gap: 12px; align-content: start;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
  position: relative;
}
.pack-card:hover { transform: translateY(-2px); border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.pack-card .pack-badge {
  align-self: start;
  padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.pack-card .pack-badge.soon { background: var(--bg-soft); color: var(--muted); }
.pack-card h3 { font-size: 18px; letter-spacing: -0.015em; }
.pack-card .templates {
  list-style: none; padding: 0; margin: 4px 0 0;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.pack-card .templates li {
  font-size: 12.5px; color: var(--text-soft);
  background: var(--bg-soft); padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--border);
  font-family: "JetBrains Mono", monospace;
}

.privacy-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-text h2 { margin-top: 14px; }
.privacy-text .section-lead { margin-top: 18px; }
.privacy-points { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.privacy-points li {
  padding: 18px 22px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  display: flex; gap: 14px; align-items: flex-start; font-size: 15px;
  transition: transform .25s var(--ease), border-color .25s;
}
.privacy-points li:hover { transform: translateX(4px); border-color: var(--border-strong); }
.privacy-points li svg { width: 18px; height: 18px; color: var(--accent-strong); flex-shrink: 0; margin-top: 2px; }
.privacy-quote {
  margin-top: 28px; padding: 28px 30px;
  background: var(--bg-soft);
  border-radius: var(--radius-md); border-left: 3px solid var(--accent-strong);
}
.privacy-quote .q { font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--text); line-height: 1.3; }
.privacy-quote .ctx { margin-top: 10px; font-size: 14px; color: var(--text-soft); }

.pricing { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.beta-grid { max-width: 760px; margin: 0 auto; }
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(40px, 5vw, 64px);
  display: flex; flex-direction: column; gap: 22px;
  position: relative; overflow: hidden;
}
.price-card.primary { box-shadow: var(--shadow-lg); }
.price-name { font-family: "JetBrains Mono", monospace; font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price-sub { color: var(--text-soft); font-size: 17px; line-height: 1.55; max-width: 44ch; }
.price-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 13px; }
.price-list li { font-size: 15px; color: var(--text-soft); display: flex; align-items: flex-start; gap: 12px; }
.price-list li svg { width: 16px; height: 16px; color: var(--text); flex-shrink: 0; margin-top: 4px; opacity: 0.5; }
.price-cta { display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
.price-cta .btn-primary { padding: 16px 28px; font-size: 16px; align-self: flex-start; }
.price-cta .note { font-size: 13px; color: var(--muted); line-height: 1.55; }
.sysreq-label { margin-top: 14px; }

/* FAQ */
.faq-grid { display: grid; gap: 0; max-width: 820px; }
.faq-item { border-bottom: 1px solid var(--border); overflow: hidden; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-item summary {
  padding: 28px 4px; cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-size: 18px; font-weight: 500; color: var(--text); letter-spacing: -0.015em;
  transition: color .15s;
  border-radius: 8px;
}
.faq-item summary:hover { color: var(--accent-strong); }
.faq-item summary:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 2px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon {
  width: 22px; height: 22px;
  display: grid; place-items: center; flex-shrink: 0;
  transition: transform .25s var(--ease);
  position: relative;
}
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item summary .icon::before { content: ""; width: 14px; height: 1.5px; background: var(--text-soft); position: absolute; }
.faq-item summary .icon::after { content: ""; width: 1.5px; height: 14px; background: var(--text-soft); position: absolute; }
.faq-item .answer {
  padding: 0 4px 28px; color: var(--text-soft); font-size: 15.5px; line-height: 1.7;
  max-width: 70ch;
}

/* Founder */
.founder-section { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.founder { max-width: 720px; margin: 0 auto; text-align: left; }
.founder-eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 24px;
}
.founder-h {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.025em; line-height: 1.15;
  font-weight: 600; margin-bottom: 32px; max-width: 22ch;
}
.founder-body { font-size: 18px; line-height: 1.7; color: var(--text-soft); margin-bottom: 22px; max-width: 56ch; }
.founder-sig { margin-top: 32px; font-family: "JetBrains Mono", monospace; font-size: 14px; color: var(--muted); }

.final-cta { text-align: center; padding: clamp(80px, 12vw, 150px) 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 1200px; height: 1200px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in oklab, var(--accent) 15%, transparent) 0%, transparent 50%);
  transform: translate(-50%, -50%); pointer-events: none;
}
.final-cta h2 { font-size: clamp(48px, 8vw, 96px); letter-spacing: -0.045em; line-height: 1; }
.final-cta p { margin: 24px auto 0; max-width: 50ch; font-size: 17.5px; color: var(--text-soft); }
.final-cta .actions { margin-top: 40px; display: inline-flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

footer.site { border-top: 1px solid var(--border); padding: 60px 0 40px; color: var(--muted); font-size: 13.5px; }
footer.site .row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 40px; }
@media (max-width: 760px) { footer.site .row { grid-template-columns: 1fr 1fr; } }
footer.site h4 { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 16px; font-weight: 500; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
footer.site ul a { color: var(--text-soft); transition: color .15s; }
footer.site ul a:hover { color: var(--text); }
footer.site .tagline { color: var(--text-soft); max-width: 32ch; line-height: 1.55; margin-top: 16px; }
footer.site .legal { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 12px; }

/* Sub-page hero (technik / impressum / datenschutz / 404 / danke) */
.page-hero { padding: clamp(60px, 8vw, 110px) 0 clamp(30px, 4vw, 60px); }
.page-hero h1 { font-size: clamp(36px, 5vw, 64px); letter-spacing: -0.035em; line-height: 1.05; }
.page-hero .lead { margin-top: 18px; font-size: clamp(16px, 1.4vw, 19px); color: var(--text-soft); max-width: 60ch; }

.prose { max-width: 720px; padding-bottom: clamp(60px, 8vw, 100px); }
.prose h2 { font-size: clamp(24px, 2.6vw, 34px); margin: 48px 0 16px; letter-spacing: -0.022em; }
.prose h3 { font-size: 18px; margin: 28px 0 8px; font-weight: 600; }
.prose p, .prose li { color: var(--text-soft); font-size: 16px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul, .prose ol { padding-left: 22px; }
.prose ul li, .prose ol li { margin-bottom: 8px; }
.prose code { font-family: "JetBrains Mono", monospace; font-size: 13.5px; background: var(--bg-soft); padding: 2px 6px; border-radius: 5px; }
.prose a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 24px; margin: 18px 0; }
.prose dt { font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.prose dd { margin: 0; color: var(--text-soft); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .08s; }
.reveal.delay-2 { transition-delay: .16s; }
.reveal.delay-3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-sub, .hero-tagline, .hero-cta, .hero-trust, .ba-card, .line-strike, .line-main { opacity: 1 !important; transform: none !important; animation: none !important; }
  .eyebrow .live-dot::after, .hero-aura::before, .hero-aura::after, .ba-wave span { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ───── Vergleichs-Tabelle (/vergleich) ───── */
.compare-wrap {
  margin: 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg-card);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 20px 60px -32px color-mix(in oklch, var(--accent-strong) 50%, transparent);
}
table.compare {
  width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0;
  font-size: 14px; background: var(--bg-card);
}
table.compare th, table.compare td {
  padding: 14px 18px; text-align: left; vertical-align: middle; line-height: 1.45;
  border-bottom: 1px solid var(--border);
}
table.compare thead th {
  font-weight: 600; color: var(--text); white-space: nowrap;
  background: var(--bg-soft);
  border-bottom: 2px solid var(--border);
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-soft);
  padding: 16px 18px;
}
table.compare thead th:first-child { border-top-left-radius: var(--radius-md); }
table.compare thead th:last-child { border-top-right-radius: var(--radius-md); }
table.compare thead th.vs-col-self {
  background: var(--accent-strong);
  color: #fff;
  font-family: inherit; font-size: 13.5px; letter-spacing: -0.01em; text-transform: none;
  font-weight: 700;
}
table.compare tbody th[scope="row"] {
  font-weight: 500; color: var(--text); white-space: normal;
  background: color-mix(in oklab, var(--bg-soft) 60%, var(--bg-card));
  font-size: 14px; width: 1%; min-width: 200px;
  border-right: 1px solid var(--border);
}
table.compare tbody td {
  color: var(--text-soft); font-size: 13.5px;
}
table.compare tbody td.vs-col-self {
  background: color-mix(in oklab, var(--accent-strong) 10%, var(--bg-card));
  color: var(--text); font-weight: 600;
  border-left: 1px solid color-mix(in oklab, var(--accent-strong) 30%, transparent);
  border-right: 1px solid color-mix(in oklab, var(--accent-strong) 30%, transparent);
}
table.compare tbody tr:hover td:not(.vs-col-self) {
  background: color-mix(in oklab, var(--bg-soft) 50%, transparent);
}
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr:last-child th[scope="row"] { border-bottom-left-radius: var(--radius-md); }
table.compare tbody tr:first-child td.vs-col-self { border-top: 1px solid color-mix(in oklab, var(--accent-strong) 30%, transparent); }
table.compare tbody tr:last-child td.vs-col-self {
  border-bottom: 1px solid color-mix(in oklab, var(--accent-strong) 30%, transparent);
}
@media (max-width: 720px) {
  table.compare { font-size: 12.5px; }
  table.compare th, table.compare td { padding: 10px 12px; }
  table.compare tbody th[scope="row"] { min-width: 140px; }
}

/* ───── Sub-page hero (technik / vergleich) ───── */
.sub-hero {
  padding: clamp(70px, 9vw, 130px) 0 clamp(40px, 5vw, 70px);
  position: relative;
  overflow: hidden;
}
.sub-hero .wrap { position: relative; z-index: 1; }
.sub-hero .eyebrow { margin-bottom: 24px; }
.sub-hero .hero-h { max-width: 18ch; }
.sub-hero .hero-tagline { max-width: 38ch; }
.sub-hero .hero-sub { max-width: 56ch; }

/* ───── Hotkey grid (technik) ───── */
.hotkey-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  margin-top: 8px;
}
.hotkey-row {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 18px 22px; border-radius: var(--radius-md);
  background: var(--bg-card); border: 1px solid var(--border);
  transition: border-color .2s var(--ease);
}
.hotkey-row:hover { border-color: var(--accent-strong); }
.hotkey-row > div { flex: 1; min-width: 0; }
.hotkey-row strong { font-size: 16px; color: var(--text); letter-spacing: -0.01em; display: block; margin-bottom: 4px; }
.hotkey-row p { font-size: 14.5px; color: var(--text-soft); line-height: 1.5; margin: 0; }
.hotkey-keys { display: inline-flex; gap: 4px; flex-shrink: 0; align-items: center; }
.hotkey-note { margin-top: 28px; font-size: 14px; color: var(--text-soft); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hotkey-note kbd { vertical-align: middle; }

kbd {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px; font-weight: 500;
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 6px;
  color: var(--text);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  line-height: 1;
}
html[data-theme="dark"] kbd { background: var(--bg-soft); }

/* ───── CLI tiles (technik) ───── */
.cli-grid .cli-tile {
  display: flex; flex-direction: column; gap: 12px;
}
.cli-cmd {
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px; font-weight: 500;
  color: var(--accent-strong);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 10px 14px; border-radius: 8px;
  display: inline-block; align-self: flex-start;
  max-width: 100%; word-break: break-word;
}
html[data-theme="dark"] .cli-cmd { background: var(--bg-soft); }
.cli-tile p { font-size: 14.5px; color: var(--text-soft); margin: 0; line-height: 1.5; }

.inline-code {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px; background: var(--bg-soft);
  padding: 2px 7px; border-radius: 5px;
  color: var(--text);
  border: 1px solid var(--border);
}

/* Tighten problem-grid for 6 cards on technik */
@media (min-width: 900px) {
  #anforderungen .problem-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
  .hotkey-grid { grid-template-columns: 1fr; }
  .hotkey-row { padding: 16px 18px; gap: 14px; flex-wrap: wrap; }
}
