/* E.A.S.Y. marketing site - light-first, AI-tech polish.
   Inspired by modern minimal AI landings (Neuralflow vibe).
   Single source of truth for tokens + components.
   Buttons are anthracite/white - orange stays a subtle brand accent only.

   Tokens are intentionally restrained: one neutral scale, one accent,
   one cool tint for AI glow. */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand */
  --orange: #e67e22;
  --orange-hi: #f08e36;
  --anthracite: #0f0f12;

  /* Neutral scale - DARK by default */
  --bg: #0a0a0f;
  --bg-2: #0f0f15;
  --surface: #14141b;
  --surface-2: #1a1a22;
  --line: #232330;
  --line-2: #34343f;
  --line-3: #4a4a55;

  --text: #f4f4f7;
  --text-2: #d8d8de;
  --muted: #9a9aa3;
  --faint: #6b6b75;

  /* Functional - dark default */
  --primary: #ffffff;
  --primary-fg: #0a0a0f;
  --primary-hover: #f4f4f7;
  --secondary-fg: #f4f4f7;
  --secondary-bg: transparent;
  --secondary-border: #4a4a55;

  /* AI accent (very subtle glow, not for fills) */
  --glow-cool: rgba(120, 160, 255, 0.10);
  --glow-warm: rgba(230, 126, 34, 0.12);

  /* Type */
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Radii - sharper */
  --r-sm: 2px;
  --r: 4px;
  --r-lg: 6px;
  --r-pill: 999px;

  /* Spacing */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  --max-w: 1240px;

  /* Shadows - soft, low */
  --sh-1: 0 1px 0 rgba(0, 0, 0, 0.20);
  --sh-2: 0 8px 24px rgba(0, 0, 0, 0.30), 0 1px 2px rgba(0, 0, 0, 0.20);
  --sh-3: 0 24px 64px rgba(0, 0, 0, 0.40), 0 4px 12px rgba(0, 0, 0, 0.20);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  --bg: #fbfaf7;
  --bg-2: #f4f2ec;
  --surface: #ffffff;
  --surface-2: #f7f5f0;
  --line: #e6e3dc;
  --line-2: #d3cfc5;
  --line-3: #b8b3a6;

  --text: #0f0f12;
  --text-2: #2d2c2a;
  --muted: #6b675e;
  --faint: #9c988e;

  --primary: #0f0f12;
  --primary-fg: #ffffff;
  --primary-hover: #2d2c2a;
  --secondary-fg: #0f0f12;
  --secondary-border: #b8b3a6;

  --glow-cool: rgba(74, 122, 218, 0.10);
  --glow-warm: rgba(230, 126, 34, 0.08);

  --sh-1: 0 1px 0 rgba(15, 15, 18, 0.04);
  --sh-2: 0 8px 24px rgba(15, 15, 18, 0.06), 0 1px 2px rgba(15, 15, 18, 0.04);
  --sh-3: 0 24px 64px rgba(15, 15, 18, 0.10), 0 4px 12px rgba(15, 15, 18, 0.06);
}

/* ─── Reset ─────────────────────────────────────────────── */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "cv11" on;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--orange); }
button { font: inherit; cursor: pointer; color: inherit; background: transparent; border: 0; }
::selection { background: var(--orange); color: #fff; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--s-5); }

/* ─── Staging banner ────────────────────────────────────── */
.staging-banner {
  background: #2b220a;
  color: #f0d27a;
  padding: 7px var(--s-5);
  font-size: 12px;
  text-align: center;
  border-bottom: 1px solid #4a3a10;
  letter-spacing: 0.01em;
}
[data-theme="light"] .staging-banner {
  background: #fef3c7;
  color: #713f12;
  border-bottom-color: #fbd49a;
}

/* ─── Topbar ────────────────────────────────────────────── */
header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
header.site .inner {
  height: 68px;
  display: flex;
  align-items: center;
  gap: var(--s-6);
}
header.site .brand { display: flex; align-items: center; }
header.site .brand img { height: 44px; width: auto; display: block; }
/* dark by default → show dark-mode logo */
header.site .brand .logo-light { display: none; }
header.site .brand .logo-dark { display: block; }
[data-theme="light"] header.site .brand .logo-light { display: block; }
[data-theme="light"] header.site .brand .logo-dark { display: none; }

header.site nav.primary {
  display: flex;
  gap: var(--s-6);
  margin-left: var(--s-5);
  font-size: 14px;
  font-weight: 500;
}
header.site nav.primary a {
  color: var(--text-2);
  position: relative;
  padding: 4px 0;
  transition: color .15s var(--ease-out);
}
header.site nav.primary a:hover { color: var(--text); }
header.site nav.primary a.active { color: var(--text); }
header.site nav.primary a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.topbar-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.btn-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-2);
  transition: border-color .15s var(--ease-out), background-color .15s var(--ease-out);
}
.btn-icon:hover { border-color: var(--line-2); background: var(--surface); }
.lang-switch {
  height: 36px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: transparent;
  color: var(--text);
  font: 600 12px var(--font);
  letter-spacing: 0.04em;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  text-align: center;
  height: 44px;
  padding: 0 var(--s-5);
  border-radius: var(--r);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color .15s var(--ease-out), border-color .15s var(--ease-out), color .15s var(--ease-out), transform .04s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--primary);
  color: var(--primary-fg);
}
.btn-primary:hover { background: var(--primary-hover); color: var(--primary-fg); }
.btn-secondary {
  background: var(--secondary-bg);
  color: var(--secondary-fg);
  border-color: var(--secondary-border);
}
.btn-secondary:hover { border-color: var(--text); color: var(--text); background: var(--surface); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--text); background: var(--surface-2); }
.btn-sm { height: 36px; padding: 0 var(--s-4); font-size: 13px; }
.btn-lg { height: 52px; padding: 0 var(--s-6); font-size: 15px; }

/* CTA pair in header */
.cta-demo {
  height: 36px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  transition: border-color .15s var(--ease-out), background-color .15s var(--ease-out);
}
.cta-demo:hover { border-color: var(--text); color: var(--text); background: var(--surface); }
.cta-login {
  height: 36px;
  padding: 0 var(--s-4);
  background: var(--primary);
  color: var(--primary-fg);
  border-radius: var(--r);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
}
.cta-login:hover { background: var(--primary-hover); color: var(--primary-fg); }

/* ─── Section base ──────────────────────────────────────── */
section { padding: var(--s-9) 0; position: relative; }
section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
[data-theme="light"] section.alt { background: var(--surface-2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font);
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
}
section h2 {
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-4);
  font-weight: 800;
  text-transform: uppercase;
}
section h2 .em { color: var(--orange); }
section .lede {
  color: var(--muted);
  max-width: 640px;
  margin: 0 0 var(--s-7);
  font-size: 17px;
  line-height: 1.55;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* ─── HERO ──────────────────────────────────────────────── */
.hero {
  padding: var(--s-9) 0 var(--s-8);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* mesh gradient - dark default */
  content: "";
  position: absolute;
  inset: -10% -5% auto auto;
  width: 80%;
  height: 95%;
  background:
    radial-gradient(40% 50% at 70% 30%, rgba(230, 126, 34, .18) 0%, transparent 70%),
    radial-gradient(40% 50% at 90% 10%, rgba(80, 120, 220, .26) 0%, transparent 70%),
    radial-gradient(30% 40% at 50% 70%, rgba(80, 120, 220, .14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(24px);
  transform: translateY(var(--mesh-shift, 0px));
  transition: transform .12s linear;
}
[data-theme="light"] .hero::before {
  background:
    radial-gradient(40% 50% at 70% 30%, rgba(230, 126, 34, .08) 0%, transparent 70%),
    radial-gradient(40% 50% at 90% 10%, rgba(80, 120, 220, .10) 0%, transparent 70%),
    radial-gradient(30% 40% at 50% 70%, rgba(80, 120, 220, .06) 0%, transparent 70%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 620px; }
.hero h1 {
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin: 0 0 var(--s-5);
  font-weight: 800;
}
.hero h1 .grad {
  background: linear-gradient(180deg, var(--text) 0%, var(--muted) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .subline {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--text-2);
  max-width: 560px;
  margin: 0 0 var(--s-6);
  line-height: 1.55;
}
.hero .ctas {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.hero .meta {
  display: flex;
  gap: var(--s-5);
  margin-top: var(--s-6);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
  align-items: center;
}
.hero .meta .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  margin-right: var(--s-2);
}

/* Hero illustration */
.hero-illu {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-left: auto;
}
.hero-illu svg { width: 100%; height: 100%; display: block; }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero-illu { max-width: 420px; margin: 0 auto; }
  .hero h1 { font-size: clamp(36px, 8vw, 52px); }
}

/* ─── Stats strip ───────────────────────────────────────── */
.stats {
  padding: var(--s-7) 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: var(--s-3) var(--s-5);
  border-left: 1px solid var(--line);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat .num {
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.stat .label {
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--s-3);
  letter-spacing: 0.02em;
}
.stat .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  background: color-mix(in srgb, var(--orange) 12%, transparent);
  padding: 2px var(--s-2);
  border-radius: var(--r-sm);
  margin-top: var(--s-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stats-source {
  margin-top: var(--s-5);
  font-size: 12px;
  color: var(--faint);
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.stats-source::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #2f6b3c;
  display: inline-block;
  box-shadow: 0 0 0 3px color-mix(in srgb, #2f6b3c 25%, transparent);
}
@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { padding-top: var(--s-5); padding-bottom: var(--s-5); }
}

/* ─── Method (Was wir machen) ──────────────────────────── */
.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
}
.method-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
  overflow: hidden;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.method-card:hover {
  border-color: var(--line-2);
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}
.method-card .illu {
  width: 56px;
  height: 56px;
  margin-bottom: var(--s-4);
  color: var(--text);
}
.method-card .illu svg { width: 100%; height: 100%; }
.method-card .num {
  position: absolute;
  top: var(--s-5);
  right: var(--s-5);
  font: 600 11px var(--font-mono);
  color: var(--faint);
  letter-spacing: 0.1em;
}
.method-card h3 {
  font-size: 20px;
  margin-bottom: var(--s-3);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.method-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 880px) {
  .method { grid-template-columns: 1fr; }
}

/* ─── Branch-Check ──────────────────────────────────────── */
.bc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  box-shadow: var(--sh-2);
  max-width: 920px;
}
.bc-form { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.bc-input {
  flex: 1 1 320px;
  min-width: 0;
  font: 500 14px var(--font-mono);
  padding: 0 var(--s-4);
  height: 48px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.bc-input:focus {
  outline: 0;
  border-color: var(--text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 12%, transparent);
}
/* Email-Gate Overlay nach erfolgreicher Branch-Check Analyse */
.bc-locked [data-bc-branch],
.bc-locked [data-bc-layout] {
  filter: blur(8px);
  user-select: none;
  letter-spacing: 0.02em;
}
.bc-blurred {
  filter: blur(5px);
  user-select: none;
  opacity: 0.85;
}
.bc-emailgate {
  margin-top: var(--s-5);
  padding: var(--s-5) var(--s-5);
  border-radius: var(--r);
  border: 1px solid var(--accent, #e67e22);
  background: color-mix(in srgb, var(--accent, #e67e22) 6%, var(--bg));
  box-shadow: 0 4px 24px color-mix(in srgb, var(--accent, #e67e22) 14%, transparent);
}
.bc-emailgate-inner { max-width: 640px; margin: 0 auto; }
.bc-emailgate-headline {
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  margin-bottom: 6px;
}
.bc-emailgate-sub {
  font-size: 14px;
  color: var(--text-2, var(--text));
  margin-bottom: var(--s-4);
  line-height: 1.5;
}
.bc-emailgate-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
.bc-emailgate-email {
  flex: 1 1 280px;
  min-width: 0;
  font: 500 14px var(--font-mono);
  padding: 0 var(--s-4);
  height: 48px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--text);
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.bc-emailgate-email:focus {
  outline: 0;
  border-color: var(--accent, #e67e22);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #e67e22) 20%, transparent);
}
.bc-emailgate-form button[type='submit'] {
  flex: 0 0 auto;
  height: 48px;
}
.bc-emailgate-note {
  margin-top: var(--s-3);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-2, var(--text));
  opacity: 0.75;
}
.bc-emailgate-error {
  margin-top: var(--s-3);
  font-size: 13px;
  color: var(--err, #c0392b);
}

.bc-progress { margin-top: var(--s-5); display: none; }
.bc-progress.active { display: block; }
.bc-progress ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--s-2);
}
.bc-progress li {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 13px;
  color: var(--muted);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
}
.bc-progress li .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  flex: 0 0 auto;
}
.bc-progress li.active { color: var(--text); border-color: var(--text); }
.bc-progress li.active .dot { background: var(--orange); animation: pulse 1.1s infinite; }
.bc-progress li.done { color: var(--text-2); }
.bc-progress li.done .dot { background: #2f6b3c; }
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.6); opacity: 0.4; }
}

.bc-result { margin-top: var(--s-6); display: none; }
.bc-result.active { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.bc-score {
  border: 1px solid var(--line);
  background: var(--surface-2);
  border-radius: var(--r);
  padding: var(--s-5);
  position: relative;
  overflow: hidden;
}
.bc-score .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.bc-score .value {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: var(--s-2) 0 0;
  color: var(--orange);
}
.bc-score .scale { font-size: 12px; color: var(--faint); }

/* Loader für Branch-Check */
.bc-form button[type="submit"] { position: relative; transition: opacity .15s ease; }
.bc-form button[type="submit"][disabled] { opacity: 0.85; cursor: progress; }
.bc-form button[type="submit"][disabled] .bc-btn-label { visibility: hidden; }
.bc-form button[type="submit"][disabled]::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: bc-spin .7s linear infinite;
}
@keyframes bc-spin { to { transform: rotate(360deg); } }

.bc-progress.active li { position: relative; }
.bc-progress.active li.active::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--orange);
  pointer-events: none;
  animation: bc-pulse 1.6s ease-in-out infinite;
}
@keyframes bc-pulse {
  0%, 100% { opacity: 0.35; }
  50%      { opacity: 1; }
}
.bc-progress.active li.active .dot {
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(230,126,34,0.55);
  animation: bc-dot 1.2s ease-out infinite;
}
@keyframes bc-dot {
  0%   { box-shadow: 0 0 0 0   rgba(230,126,34,0.55); }
  70%  { box-shadow: 0 0 0 10px rgba(230,126,34,0);    }
  100% { box-shadow: 0 0 0 0   rgba(230,126,34,0);    }
}
.bc-progress.active li.done .dot { background: var(--success, #2f6b3c); }

.bc-loading-hint {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  margin-top: var(--s-3);
  letter-spacing: 0.04em;
  display: none;
}
.bc-loading-hint.active { display: block; }
.bc-loading-hint .pulse {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  animation: bc-blink 1s ease-in-out infinite;
}
@keyframes bc-blink { 50% { opacity: 0.25; } }

.bc-snapshot {
  grid-column: 1 / -1;
  margin-bottom: var(--s-3);
  border: 1px solid var(--line);
  background: #0a0a0e;
  max-height: 380px;
  overflow: hidden;
  position: relative;
}
.bc-snapshot.active { display: block !important; }
.bc-snapshot-label {
  position: absolute; top: 8px; left: 12px;
  font: 700 10px var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 4px 10px;
  z-index: 2;
}
.bc-snapshot a { display: block; cursor: zoom-in; }
.bc-snapshot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: cover;
  object-position: top center;
  opacity: 0.92;
  transition: opacity .2s ease;
}
.bc-snapshot:hover img { opacity: 1; }

.bc-narrative {
  grid-column: 1 / -1;
  margin-top: var(--s-3);
  padding: var(--s-4) var(--s-5);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--orange);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-2);
  white-space: pre-line;
  display: none;
}
.bc-narrative.active { display: block; }

.bc-repeat {
  grid-column: 1 / -1;
  margin-top: var(--s-4);
  padding: var(--s-5);
  background: radial-gradient(80% 60% at 10% 0%, color-mix(in srgb, var(--orange) 15%, transparent), transparent 60%), var(--surface);
  border: 2px solid var(--orange);
}
.bc-repeat-inner strong { display: block; font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 6px; color: var(--text); }
.bc-repeat-inner p { margin: 0 0 var(--s-3); color: var(--text-2); font-size: 14px; }

.bc-error {
  grid-column: 1 / -1;
  margin-top: var(--s-3);
  padding: var(--s-3) var(--s-4);
  background: #fff4d6;
  color: #8a6a1a;
  border: 1px solid #f0d995;
  font-size: 13px;
}
.bc-cta {
  margin-top: var(--s-5);
  display: flex;
  gap: var(--s-3);
  align-items: center;
  flex-wrap: wrap;
}
.bc-cta .locked-note { font-size: 13px; color: var(--muted); }
.bc-disclaimer { margin-top: var(--s-3); font-size: 12px; color: var(--faint); }
@media (max-width: 640px) { .bc { padding: var(--s-5); } .bc-result.active { grid-template-columns: 1fr; } }

/* ─── Connectors ────────────────────────────────────────── */
.conn-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s-3);
}
.conn {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-3);
  transition: border-color .15s var(--ease-out), transform .15s var(--ease-out);
}
.conn:hover { border-color: var(--line-2); transform: translateY(-2px); }
.conn .ico {
  width: 36px;
  height: 36px;
  color: var(--text);
}
.conn .ico svg { width: 100%; height: 100%; }
.conn .name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
}
.conn .cat {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ─── Compare ───────────────────────────────────────────── */
.compare-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface);
}
.compare { width: 100%; border-collapse: collapse; font-size: 14px; }
.compare th, .compare td {
  padding: var(--s-5);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.compare thead th {
  background: var(--bg-2);
  color: var(--text);
  font: 700 11px var(--font);
  text-transform: uppercase;
  letter-spacing: 0.10em;
}
.compare tbody tr:last-child td { border-bottom: none; }
.compare td.feature { font-weight: 600; color: var(--text); width: 24%; }
.compare td.standard { color: var(--muted); width: 36%; }
.compare td.easy {
  color: var(--text);
  font-weight: 600;
  width: 40%;
  position: relative;
}
.compare td.easy::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 3px; height: 24px;
  background: var(--orange);
  border-radius: 2px;
}
@media (max-width: 720px) {
  .compare, .compare thead, .compare tbody, .compare th, .compare td, .compare tr { display: block; }
  .compare thead { display: none; }
  .compare tr { border-bottom: 1px solid var(--line); padding: var(--s-3) 0; }
  .compare td { border: none; padding: var(--s-1) var(--s-5); }
  .compare td.feature { padding-top: var(--s-4); }
  .compare td.easy::before { display: none; }
}

/* ─── Modules ───────────────────────────────────────────── */
.mod-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--s-4);
}
.mod-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  transition: border-color .25s var(--ease-out);
  position: relative;
}
.mod-card:hover { border-color: var(--text); }
.mod-card .ico {
  width: 36px;
  height: 36px;
  color: var(--text);
  margin-bottom: var(--s-4);
}
.mod-card .num {
  font: 600 11px var(--font-mono);
  color: var(--faint);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--s-2);
}
.mod-card h3 {
  font-size: 18px;
  margin-bottom: var(--s-3);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mod-card p { color: var(--muted); font-size: 14px; line-height: 1.55; }

/* ─── Pricing ───────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-3);
}
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out);
}
.plan:hover { border-color: var(--line-2); transform: translateY(-3px); }
.plan.featured {
  border: 2px solid var(--text);
  box-shadow: var(--sh-3);
}
.plan .plan-tag {
  position: absolute;
  top: -12px; left: var(--s-5);
  background: var(--text);
  color: var(--primary-fg);
  font: 700 11px var(--font);
  letter-spacing: 0.08em;
  padding: 4px var(--s-3);
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.plan .name {
  font: 700 13px var(--font);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.plan .desc {
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--s-2);
  min-height: 36px;
}
.plan .price {
  display: flex;
  align-items: baseline;
  gap: var(--s-2);
  margin: var(--s-5) 0 var(--s-2);
}
.plan .price .num {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1;
}
.plan .price .per { color: var(--muted); font-size: 14px; }
.plan .original {
  font-size: 13px;
  color: var(--faint);
  text-decoration: line-through;
  margin-bottom: var(--s-2);
}
.plan ul {
  list-style: none;
  margin: var(--s-5) 0;
  font-size: 14px;
  flex: 1;
}
.plan ul li {
  padding: var(--s-2) 0;
  color: var(--text-2);
  display: flex;
  gap: var(--s-3);
  align-items: flex-start;
}
.plan ul li::before {
  content: "";
  width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e67e22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  flex: 0 0 16px;
  margin-top: 3px;
}
.plan .btn { width: 100%; }
.plan .note {
  margin-top: var(--s-3);
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}
.plan .founder-banner {
  background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 18%, transparent), color-mix(in srgb, var(--orange) 8%, transparent));
  border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent);
  border-radius: var(--r);
  padding: var(--s-3) var(--s-4);
  margin-bottom: var(--s-4);
  font-size: 13px;
  color: var(--text);
}
.plan .founder-banner strong { color: var(--orange); font-weight: 800; }
.plan .founder-banner .price-strike {
  text-decoration: line-through;
  color: var(--faint);
  margin-right: var(--s-2);
  font-weight: 500;
}

/* ─── Demo Form ─────────────────────────────────────────── */
.demo {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  position: relative;
  overflow: hidden;
  box-shadow: var(--sh-2);
}
.demo::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 60%;
  height: 100%;
  background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--orange) 10%, transparent), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.demo-copy { position: relative; z-index: 1; }
.demo-copy h2 { font-size: clamp(28px, 3vw, 36px); margin-bottom: var(--s-4); }
.demo-copy p { color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 460px; }
.demo-copy .check-list { margin-top: var(--s-5); display: flex; flex-direction: column; gap: var(--s-3); }
.demo-copy .check-list li {
  list-style: none;
  display: flex; gap: var(--s-3); align-items: flex-start;
  color: var(--text-2);
  font-size: 14px;
}
.demo-copy .check-list li::before {
  content: "";
  width: 18px; height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e67e22' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
  margin-top: 1px;
  flex: 0 0 18px;
}
.demo-form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: var(--s-3); }
.demo-form label { display: block; font-size: 12px; font-weight: 600; color: var(--text); margin-bottom: var(--s-1); letter-spacing: 0.02em; }
.demo-form input, .demo-form select, .demo-form textarea {
  width: 100%;
  font: 400 14px var(--font);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 0 var(--s-4);
  height: 44px;
  transition: border-color .15s var(--ease-out), box-shadow .15s var(--ease-out);
}
.demo-form textarea { padding: var(--s-3) var(--s-4); height: 100px; resize: vertical; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus {
  outline: 0;
  border-color: var(--text);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 10%, transparent);
}
.demo-form .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.demo-form .field { display: block; }
.demo-form .submit-row { display: flex; align-items: center; gap: var(--s-4); margin-top: var(--s-2); }
.demo-form .submit-row .privacy { font-size: 12px; color: var(--muted); }
.demo-form .submit-row .privacy a { color: var(--text); text-decoration: underline; }
.demo-form .alert {
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r);
  font-size: 14px;
}
.demo-form .alert.ok { background: #102016; color: #6ad186; border: 1px solid #1e3d2a; }
.demo-form .alert.err { background: #2a1416; color: #ff8a85; border: 1px solid #4a1c20; }
[data-theme="light"] .demo-form .alert.ok { background: #e7f0e9; color: #2f6b3c; border-color: #c5e0c8; }
[data-theme="light"] .demo-form .alert.err { background: #f8e9e7; color: #a03333; border-color: #e8c5c0; }
@media (max-width: 880px) {
  .demo { grid-template-columns: 1fr; padding: var(--s-6); gap: var(--s-5); }
}

/* ─── Footer ────────────────────────────────────────────── */
footer.site {
  background: #060608;
  border-top: 1px solid var(--line);
  padding: var(--s-8) 0 var(--s-5);
  color: var(--text-2);
}
[data-theme="light"] footer.site { background: var(--bg-2); }
footer.site .brand img { height: 40px; width: auto; display: block; }
footer.site .brand .logo-light { display: none; }
footer.site .brand .logo-dark { display: block; }
[data-theme="light"] footer.site .brand .logo-light { display: block; }
[data-theme="light"] footer.site .brand .logo-dark { display: none; }
footer.site .top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-7);
}
footer.site .col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
footer.site .col a,
footer.site .col button {
  display: block;
  color: var(--text-2);
  font-size: 14px;
  font-family: inherit;
  font-weight: normal;
  letter-spacing: normal;
  text-transform: none;
  padding: 4px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  width: auto;
}
footer.site .col a:hover,
footer.site .col button:hover { color: var(--orange); }
footer.site .brand img { height: 26px; margin-bottom: var(--s-3); }
footer.site .brand p { color: var(--muted); font-size: 13px; max-width: 320px; }
footer.site .bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: var(--s-4);
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: var(--s-3);
}
@media (max-width: 720px) { footer.site .top { grid-template-columns: 1fr 1fr; } }

/* ─── Mira Chat Widget ───────────────────────────────────── */
.mira-bubble-btn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 14px;
  background: #1a1916;
  color: #fff;
  border-radius: 100px;
  font: 700 12px var(--font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 4px 20px rgba(0,0,0,.28);
  cursor: pointer;
  border: none;
  transition: background .14s, transform .14s, box-shadow .14s;
}
.mira-bubble-btn:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,0,0,.32); }
.mira-bubble-btn .mira-bubble-ico {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.mira-bubble-btn.hidden { display: none; }
.mira-backdrop {
  position: fixed; inset: 0;
  background: rgba(26,25,22,.42);
  backdrop-filter: blur(1.5px);
  z-index: 1200;
  opacity: 0; pointer-events: none;
  transition: opacity .26s ease;
}
.mira-backdrop.open { opacity: 1; pointer-events: auto; }
.mira-panel {
  position: fixed; top: 0; right: 0;
  height: 100vh; height: 100dvh;
  width: min(420px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  box-shadow: -14px 0 52px rgba(0,0,0,.18);
  display: flex; flex-direction: column; overflow: hidden;
  z-index: 1201;
  transform: translateX(102%); pointer-events: none;
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
}
.mira-panel.open { transform: translateX(0); pointer-events: auto; }
.mira-panel-head {
  background: #1a1916;
  border-left: 4px solid var(--orange);
  color: #fff;
  padding: 12px 12px 12px 14px;
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.mira-panel-ident { display: flex; align-items: center; gap: 10px; }
.mira-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--orange); color: #fff;
  font: 700 14px var(--font);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; letter-spacing: 0;
}
.mira-panel-labels { display: flex; flex-direction: column; gap: 1px; }
.mira-panel-title { font: 700 13px var(--font); letter-spacing: 0.07em; text-transform: uppercase; color: #fff; line-height: 1.2; }
.mira-panel-sub   { font: 400 11px var(--font); color: rgba(255,255,255,.55); line-height: 1.2; }
.mira-panel-actions { display: flex; align-items: center; gap: 4px; }
.mira-head-btn {
  background: transparent; border: none; color: rgba(255,255,255,.6);
  width: 30px; height: 30px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: background .12s, color .12s;
}
.mira-head-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.mira-head-btn.active { color: var(--orange); }
.mira-head-btn.speak-on { color: #4caf50; }
.mira-messages {
  flex: 1; overflow-y: auto; padding: 14px 14px 6px;
  display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth;
}
.mira-messages::-webkit-scrollbar { width: 4px; }
.mira-messages::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.mira-msg { display: flex; flex-direction: column; max-width: 86%; animation: mira-fadein .15s ease; }
@keyframes mira-fadein { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; } }
.mira-msg--user      { align-self: flex-end;   align-items: flex-end;   }
.mira-msg--assistant { align-self: flex-start; align-items: flex-start; }
.mira-bubble {
  padding: 9px 13px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.58; color: var(--text);
  word-break: break-word; position: relative;
}
.mira-msg--user .mira-bubble      { background: #1a1916; color: #fff; border-bottom-right-radius: 4px; }
.mira-msg--assistant .mira-bubble { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.mira-bubble p { margin: 0 0 5px; }
.mira-bubble p:last-child { margin-bottom: 0; }
.mira-bubble strong { font-weight: 700; }
.mira-bubble em { font-style: italic; }
.mira-bubble code { font-family: var(--font-mono); font-size: 12px; background: rgba(0,0,0,.07); padding: 1px 5px; border-radius: 3px; }
.mira-bubble a { color: var(--orange); }
.mira-speak-btn {
  background: transparent; border: none; color: var(--muted); padding: 0; margin-top: 3px; margin-left: 2px;
  cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 3px; transition: color .12s; line-height: 1;
}
.mira-speak-btn:hover { color: var(--orange); }
.mira-speak-btn.speaking { color: var(--orange); }
@keyframes mira-wave-bar {
  0%    { height: 3px;  opacity: .30; }
  38%   { height: 20px; opacity: 1;   }
  80%   { height: 6px;  opacity: .48; }
  100%  { height: 3px;  opacity: .30; }
}
.mira-dots { display: inline-flex; gap: 5px; align-items: center; height: 18px; }
.mira-dots span {
  width: 7px; height: 7px; border-radius: 50%; background: var(--muted);
  animation: mira-bounce 1.1s infinite ease-in-out;
}
.mira-dots span:nth-child(1) { animation-delay: 0.00s; }
.mira-dots span:nth-child(2) { animation-delay: 0.16s; }
.mira-dots span:nth-child(3) { animation-delay: 0.32s; }
@keyframes mira-bounce {
  0%, 100% { transform: translateY(0) scale(0.70); opacity: .40; }
  30%       { transform: translateY(-5px) scale(1.12); opacity: 1; }
  60%       { transform: translateY(-2px) scale(0.92); opacity: .72; }
}
.mira-panel-foot {
  border-top: 1px solid var(--line); padding: 10px 12px;
  display: flex; align-items: flex-end; gap: 8px; background: var(--surface); flex-shrink: 0;
}
.mira-input-wrap { flex: 1; position: relative; }
.mira-input {
  width: 100%; resize: none; border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 12px; font: 13.5px var(--font); color: var(--text); background: var(--surface-2);
  line-height: 1.4; max-height: 100px; overflow-y: auto; transition: border-color .15s;
  box-sizing: border-box; display: block;
}
.mira-input:focus { outline: none; border-color: var(--orange); }
.mira-input:disabled { opacity: 0.55; cursor: not-allowed; }
.mira-mic-btn {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--orange); color: #fff; border: none; cursor: pointer; font-size: 22px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: flex-end;
  transition: background .14s, transform .1s;
}
.mira-mic-btn:hover { background: color-mix(in srgb, var(--orange) 80%, #000); transform: scale(1.05); }
.mira-mic-btn.recording { animation: mira-mic-pulse 1.4s ease-out infinite; }
@keyframes mira-mic-pulse {
  0%   { box-shadow: 0 0 0 0    rgba(230,126,34,.55); }
  70%  { box-shadow: 0 0 0 12px rgba(230,126,34,.0);  }
  100% { box-shadow: 0 0 0 0    rgba(230,126,34,.0);  }
}
.mira-send-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: #1a1916; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
  transition: background .14s, transform .1s;
}
.mira-send-btn:hover { background: var(--orange); }
.mira-send-btn:active { transform: scale(0.93); }
.mira-send-btn:disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.mira-new-thread-bar { display: flex; align-items: center; gap: 8px; padding: 0 12px 8px; flex-shrink: 0; }
.mira-new-thread-bar button {
  flex: 1; background: transparent; border: 1px dashed var(--line); border-radius: 8px;
  padding: 6px 0; font: 600 11px var(--font); letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); cursor: pointer; transition: border-color .14s, color .14s, background .14s;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.mira-new-thread-bar button:hover { border-color: var(--orange); color: var(--orange); background: color-mix(in srgb, var(--orange) 6%, var(--surface)); }
.mira-memory-hint {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 12px 7px 14px;
  background: color-mix(in srgb, var(--orange) 7%, var(--surface));
  border-bottom: 1px solid color-mix(in srgb, var(--orange) 16%, var(--line)); flex-shrink: 0;
}
.mira-memory-text { flex: 1; font: 400 11px var(--font); color: var(--muted); line-height: 1.45; }
.mira-memory-dismiss { background: transparent; border: none; color: var(--muted); font-size: 15px; cursor: pointer; padding: 0 2px; line-height: 1; flex-shrink: 0; margin-top: 1px; transition: color .12s; }
.mira-memory-dismiss:hover { color: var(--text); }
.mira-voice-view {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 22px 14px 18px; flex-shrink: 0;
  border-bottom: 1px solid var(--line); background: var(--surface-2);
}
.mira-panel.voice-first .mira-voice-view { display: flex; }
.mira-logo-orb {
  width: 88px; height: 88px; border-radius: 50%;
  background: color-mix(in srgb, var(--orange) 10%, var(--surface));
  border: 2px solid color-mix(in srgb, var(--orange) 22%, var(--line));
  display: flex; align-items: center; justify-content: center;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; will-change: transform;
}
.mira-logo-orb img { width: 54px; height: 54px; object-fit: contain; }
.mira-logo-orb.idle    { animation: mira-orb-idle    3.8s cubic-bezier(.37, 0, .63, 1) infinite; }
.mira-logo-orb.listening { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 16%, var(--surface)); animation: mira-orb-listen 1.55s cubic-bezier(.37, 0, .63, 1) infinite; }
.mira-logo-orb.thinking  { border-color: color-mix(in srgb, var(--orange) 55%, var(--line)); animation: mira-orb-think 2.6s cubic-bezier(.45, 0, .55, 1) infinite; }
.mira-logo-orb.speaking  { border-color: var(--orange); background: color-mix(in srgb, var(--orange) 18%, var(--surface)); animation: mira-orb-speak 1.0s cubic-bezier(.37, 0, .63, 1) infinite; }
@keyframes mira-orb-idle {
  0%   { box-shadow: 0 0 0 0 rgba(230,126,34,.18); transform: scale(1); }
  28%  { box-shadow: 0 0 0 6px rgba(230,126,34,.10); transform: scale(1.022); }
  55%  { box-shadow: 0 0 0 12px rgba(230,126,34,.04); transform: scale(1.018); }
  100% { box-shadow: 0 0 0 0 rgba(230,126,34,.18); transform: scale(1); }
}
@keyframes mira-orb-listen {
  0%  { box-shadow: 0 0 0 0 rgba(230,126,34,.52); transform: scale(1); }
  22% { box-shadow: 0 0 0 7px rgba(230,126,34,.28); transform: scale(1.07); }
  78% { box-shadow: 0 0 0 20px rgba(230,126,34,.02); transform: scale(1.01); }
  100%{ box-shadow: 0 0 0 0 rgba(230,126,34,.52); transform: scale(1); }
}
@keyframes mira-orb-think {
  0%   { background: color-mix(in srgb, var(--orange) 14%, var(--surface)); transform: scale(1); }
  48%  { background: color-mix(in srgb, var(--orange) 32%, var(--surface)); transform: scale(1.030); }
  100% { background: color-mix(in srgb, var(--orange) 14%, var(--surface)); transform: scale(1); }
}
@keyframes mira-orb-speak {
  0%   { box-shadow: 0 0 0 2px  color-mix(in srgb, var(--orange) 24%, transparent); }
  38%  { box-shadow: 0 0 0 7px  color-mix(in srgb, var(--orange) 12%, transparent); }
  70%  { box-shadow: 0 0 0 12px color-mix(in srgb, var(--orange) 4%,  transparent); }
  100% { box-shadow: 0 0 0 2px  color-mix(in srgb, var(--orange) 24%, transparent); }
}
.mira-voice-label { font: 700 10px var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.mira-panel.voice-on .mira-panel-sub::after { content: ' · SPRACHMODUS'; color: #4caf50; font-weight: 700; letter-spacing: .05em; }
.mira-panel.voice-speaking .mira-panel-sub::after { content: ' · SPRICHT …'; color: var(--orange); }
.mira-voice-hint-bubble {
  position: absolute; bottom: 78px; left: 50%; transform: translateX(-50%);
  background: #1a1916; color: #fff; border-radius: 20px; padding: 8px 18px;
  font: 400 12.5px var(--font); white-space: nowrap; pointer-events: none;
  z-index: 20; opacity: 1; transition: opacity .5s ease; box-shadow: 0 4px 18px rgba(0,0,0,.28);
}
.mira-voice-hint-bubble::after {
  content: ''; position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-top-color: #1a1916; border-bottom: none;
}
.mira-voice-hint-bubble.fade-out { opacity: 0; }

/* ─── Demo modal (header CTA → modal) ───────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 18, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 90;
  padding: var(--s-5);
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  max-width: 540px;
  width: 100%;
  padding: var(--s-7);
  box-shadow: var(--sh-3);
  max-height: 90vh;
  overflow-y: auto;
}
.modal h3 { font-size: 24px; margin-bottom: var(--s-3); }
.modal .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: var(--s-5); }
.modal-close { float: right; font-size: 22px; line-height: 1; color: var(--muted); padding: 0 var(--s-2); }
.modal-close:hover { color: var(--text); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 880px) {
  section { padding: var(--s-8) 0; }
  header.site nav.primary { display: none; }
  .cta-demo span.label-full { display: none; }
}

/* ─── Post-rewrite overrides: sharper UI, no decorative stripes ─ */

/* SVG icon sizing in cards (ensure they don't render at default 300×150) */
.mod-card .ico,
.mod-card .ico svg,
.method-card .illu,
.method-card .illu svg,
.conn .ico,
.conn .ico svg,
.btn svg,
.cta-demo svg,
header.site .brand img {
  display: block;
}
.mod-card .ico svg { width: 100%; height: 100%; }
.method-card .illu svg { width: 100%; height: 100%; }
.conn .ico svg { width: 100%; height: 100%; }
.btn svg, .cta-demo svg { width: 1em; height: 1em; }

/* Method card: number floats top-right cleanly, icon below */
.method-card { padding-top: var(--s-6); }
.method-card .num { top: var(--s-4); right: var(--s-4); }

/* Module card layout: icon first row, num second, headline below */
.mod-card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-6); }
.mod-card .ico { width: 32px; height: 32px; margin: 0 0 var(--s-2); flex: 0 0 32px; }
.mod-card .num { display: block; margin: 0; font-size: 11px; }
.mod-card h3 { margin: 0; font-size: 17px; font-weight: 800; }
.mod-card p { margin: 0; }

/* Remove decorative stripes that read as "Fasching" */
.pillar { padding-top: var(--s-6); }
.pillar::before { display: none; }
.compare td.easy::before { display: none; }
.compare td.easy { padding-left: var(--s-5); }
.eyebrow::before { display: none; }
.eyebrow {
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--orange) 35%, transparent);
  border-radius: var(--r-pill);
  color: var(--orange);
  background: color-mix(in srgb, var(--orange) 6%, transparent);
}

/* Hero meta dots: smaller, more subtle */
.hero .meta .dot { width: 4px; height: 4px; background: var(--orange); opacity: .8; }

/* Pricing card check icons keep orange - sharp line for grouping */
.plan { padding-top: var(--s-7); }
.plan.featured .plan-tag { background: var(--orange); color: #fff; }

/* Pipeline node sizing (method page) */
.pipe-step .num { border-radius: 50%; }

/* Connector detail status */
.conn-status { border-radius: var(--r-sm); }

/* Sticky-header subtle scroll shadow + scrolled state */
header.site.scrolled { border-bottom-color: var(--line-2); box-shadow: var(--sh-1); }

/* Hero CTAs: orange-tinted secondary border hover */
.btn-secondary:hover { border-color: var(--orange); color: var(--text); }
.cta-demo:hover { border-color: var(--orange); }
header.site nav.primary a:hover { color: var(--orange); }

/* Section headings: more breathing room, capital styling */
section h2 { line-height: 1.05; }

/* Reveal: stagger up to 8 children, more visible offset */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }
.reveal:nth-child(5) { transition-delay: .32s; }
.reveal:nth-child(6) { transition-delay: .40s; }

/* Card hover: subtle tilt + glow */
.mod-card, .method-card, .pillar, .conn-detail, .conn, .plan {
  transition: border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.mod-card:hover, .method-card:hover, .pillar:hover, .conn:hover {
  border-color: color-mix(in srgb, var(--orange) 50%, var(--line));
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
}

/* Compare: 4-column variant */
.compare td.easy, .compare td.easy-plus {
  background: linear-gradient(90deg, rgba(230,126,34,.06), transparent 85%);
  color: var(--text);
  font-weight: 600;
}
.compare td.easy-plus {
  background: linear-gradient(90deg, rgba(230,126,34,.12), transparent 85%);
}

/* Stat hover micro-effect */
.stat .num { transition: color .25s var(--ease-out); }
.stat:hover .num { color: var(--orange); }

/* "Used by" footer ribbon */
.ribbon { display: flex; align-items: center; gap: var(--s-3); font-size: 12px; color: var(--muted); padding: var(--s-3) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }


/* ─── Pricing teaser (homepage condensed) ───────────────── */
.pricing-teaser {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: var(--s-4);
  align-items: stretch;
}
.pt-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  position: relative;
  overflow: hidden;
}
.pt-card--featured {
  border: 1px solid color-mix(in srgb, var(--orange) 60%, var(--line));
  background:
    radial-gradient(60% 80% at 100% 0%, color-mix(in srgb, var(--orange) 14%, transparent), transparent 65%),
    var(--surface);
}
.pt-tag {
  display: inline-block;
  font: 700 11px var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 4px 10px;
  border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent);
  border-radius: var(--r-pill);
  margin-bottom: var(--s-4);
}
.pt-name {
  font: 700 13px var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.pt-price { display: flex; align-items: baseline; gap: var(--s-2); margin-bottom: var(--s-2); }
.pt-num { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; }
.pt-per { color: var(--muted); font-size: 16px; }
.pt-strike { font-size: 13px; color: var(--faint); margin-bottom: var(--s-5); }
.pt-list { list-style: none; margin-bottom: var(--s-5); }
.pt-list li { padding: var(--s-2) 0; color: var(--text-2); display: flex; gap: var(--s-3); align-items: flex-start; font-size: 14px; }
.pt-list li::before { content: ""; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e67e22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat; margin-top: 3px; flex: 0 0 14px; }
.pt-card .btn { width: 100%; }

.pt-side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pt-side h3 { font-size: 13px; color: var(--muted); letter-spacing: 0.12em; margin-bottom: var(--s-4); font-weight: 700; }
.pt-side-list { list-style: none; display: flex; flex-direction: column; gap: var(--s-3); margin-bottom: var(--s-5); flex: 1; }
.pt-side-list li { font-size: 14px; color: var(--text-2); line-height: 1.5; padding-left: var(--s-4); position: relative; }
.pt-side-list li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.pt-side-list strong { color: var(--text); font-weight: 700; }
.pt-actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }
@media (max-width: 880px) { .pricing-teaser { grid-template-columns: 1fr; } }

/* ─── 4-col compare polish ──────────────────────────────── */
.compare.compare-4 thead small { display: block; font-weight: 400; opacity: .65; margin-top: 2px; font-size: 10px; text-transform: none; letter-spacing: 0; }
.compare.compare-4 th, .compare.compare-4 td { padding: var(--s-4); font-size: 13px; }
.compare.compare-4 td.feature { font-weight: 700; width: 18%; }
.compare.compare-4 td.standard { color: var(--muted); width: 18%; }
.compare.compare-4 td.easy, .compare.compare-4 td.easy-plus { width: 23%; }
@media (max-width: 960px) {
  .compare.compare-4, .compare.compare-4 thead, .compare.compare-4 tbody,
  .compare.compare-4 tr, .compare.compare-4 th, .compare.compare-4 td { display: block; }
  .compare.compare-4 thead { display: none; }
  .compare.compare-4 td.feature { padding-top: var(--s-4); }
  .compare.compare-4 td::before { content: attr(data-th) " · "; color: var(--faint); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; margin-right: var(--s-2); }
  .compare.compare-4 td.feature::before { display: none; }
}


/* ─── v3 polish: sharper edges, future-AI background ───── */

/* Sharper eyebrow - no rounded pill, just a left rule */
.eyebrow {
  background: transparent;
  border: 0;
  border-left: 2px solid var(--orange);
  border-radius: 0;
  padding: 0 0 0 var(--s-3);
  color: var(--orange);
  font: 700 11px var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* Plan tags / featured: square corners, sharper */
.plan-tag, .plan .plan-tag, .pt-tag,
.plan-card .tag, .price-card .tag, .addon .pop {
  border-radius: var(--r-sm);
  letter-spacing: 0.14em;
}
.cat-badge { border-radius: var(--r-sm); }
.conn-status { border-radius: var(--r-sm); }

/* Connector filter buttons - square */
.conn-filter button { border-radius: var(--r); }

/* Stats source dot: smaller, no glow halo */
.stats-source::before { box-shadow: none; }

/* ─── Lang-switch + select: fix dark dropdown contrast ──── */
.lang-switch {
  background: var(--surface);
  color: var(--text);
  color-scheme: dark;
}
[data-theme="light"] .lang-switch { color-scheme: light; }
.lang-switch option,
.demo-form select option,
select.bc-input option {
  background: var(--surface);
  color: var(--text);
}
/* select arrow - custom for consistency */
.lang-switch,
.demo-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%239a9aa3' stroke-width='1.5'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
[data-theme="light"] .lang-switch,
[data-theme="light"] .demo-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%236b675e' stroke-width='1.5'%3E%3Cpath d='M3 5l3 3 3-3'/%3E%3C/svg%3E");
}

/* ─── Future-AI background grid (animated) ──────────────── */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(230,126,34,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(230,126,34,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: 0 0;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 0%, transparent 70%);
  animation: gridDrift 60s linear infinite;
}
[data-theme="light"] body::before {
  background-image:
    linear-gradient(rgba(15,15,18,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,15,18,0.04) 1px, transparent 1px);
}
@keyframes gridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 56px 56px, 56px 56px; }
}
header.site, footer.site, section, .hero { position: relative; z-index: 1; }

/* Hero scanline overlay */
.hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    0deg,
    transparent 0px,
    transparent 3px,
    rgba(255,255,255,0.012) 3px,
    rgba(255,255,255,0.012) 4px
  );
  z-index: 0;
  mix-blend-mode: overlay;
  opacity: .6;
}

/* Floating dust particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.particles span {
  position: absolute;
  width: 2px; height: 2px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(0.4px);
  animation: floatUp linear infinite;
}
.particles span:nth-child(odd)  { background: rgba(120,160,255,0.6); }
@keyframes floatUp {
  0%   { transform: translateY(20px); opacity: 0; }
  10%  { opacity: 0.5; }
  90%  { opacity: 0.5; }
  100% { transform: translateY(-100vh); opacity: 0; }
}

/* Marquee strip - animated plattform logos ribbon */
.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-5) 0;
  background: var(--bg-2);
  position: relative;
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;   background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0;  background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track {
  display: flex;
  gap: var(--s-7);
  animation: marquee 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  color: var(--muted);
  font: 600 13px var(--font);
  letter-spacing: 0.04em;
}
.marquee-item .ico { width: 22px; height: 22px; color: var(--text-2); }
.marquee-item .ico svg { width: 100%; height: 100%; display: block; }
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* Glow lines under section headlines */
section h2 + .lede {
  position: relative;
}

/* Plan/featured: square Founder pill instead of rounded */
.plan-card .tag, .plan-tag { border-radius: var(--r-sm); }

/* Match `.eyebrow` simpler inside a tighter spec */
.eyebrow { display: inline-flex; align-items: center; gap: var(--s-2); }
.eyebrow::before { display: none; }


/* ─── v4 polish: sharper edges, taller header, edel-technisch ─ */

:root {
  --r-sm: 0;
  --r: 2px;
  --r-lg: 4px;
}

/* Header: more breathing room + sharper edges */
header.site .inner { height: 88px; gap: var(--s-7); }
header.site .brand img { height: 52px; }
header.site nav.primary { gap: var(--s-7); margin-left: var(--s-6); font-size: 14px; }

/* All buttons: sharper */
.btn { border-radius: 2px; height: 46px; padding: 0 var(--s-6); }
.btn-lg { height: 56px; padding: 0 var(--s-7); }
.btn-sm { height: 36px; padding: 0 var(--s-4); }
.btn-icon { border-radius: 2px; width: 40px; height: 40px; }
.cta-demo, .cta-login { height: 40px; border-radius: 2px; padding: 0 var(--s-5); }
.lang-switch { border-radius: 2px; height: 40px; padding: 0 var(--s-4); padding-right: 30px; }

/* Lang-switch with flags */
.lang-switch { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; }
.lang-switch option { font-weight: 600; }

/* Mira bubble: design-system override (sharp edges for this theme) */
.mira-bubble-btn { border-radius: 2px; }
.mira-panel { border-radius: 0; }
.mira-panel-head { border-radius: 0; }
.mira-send-btn { border-radius: 2px; }
.mira-input { border-radius: 2px; }
.mira-new-thread-bar button { border-radius: 2px; }

/* Cards: still framed, just less rounded */
.mod-card, .method-card, .pillar, .conn-detail, .conn, .plan, .plan-card,
.pt-card, .pt-side, .addon, .module-detail, .demo, .modal, .bc, .compare-wrap,
.data-card, .matrix-wrap, .pricing-teaser .pt-card, .pricing-teaser .pt-side {
  border-radius: 2px;
}

/* Form fields */
.demo-form input, .demo-form select, .demo-form textarea,
.bc-input { border-radius: 2px; }

/* Plan tag / featured / status / cat-badge: sharp rectangles */
.plan-tag, .plan-card .tag, .pt-tag, .price-card .tag,
.cat-badge, .conn-status, .addon .pop, .stat .badge {
  border-radius: 0;
  letter-spacing: 0.14em;
}

/* Hero CTAs heavier, more edel */
.hero .ctas .btn { letter-spacing: 0.04em; }

/* Pricing teaser CTA full-width on hero card stays */

/* ─── Hero image + score-grid layout ───────────────────── */
.hero-illu {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-width: 560px;
  margin-left: auto;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 2px;
}
.hero-illu img.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: .55;
  filter: contrast(1.05) saturate(1.08);
}
.hero-illu::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, var(--bg) 100%),
    radial-gradient(50% 50% at 30% 70%, color-mix(in srgb, var(--orange) 20%, transparent), transparent 60%);
  pointer-events: none;
  z-index: 1;
}
.hero-illu .score-grid {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.04);
}
.score-cell {
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}
.score-cell .head { display: flex; align-items: center; gap: var(--s-2); color: var(--orange); }
.score-cell .head .label { font: 700 10px var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.score-cell .score-icon { color: var(--orange); }
.score-cell .num { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.score-cell .num .small { font-size: 12px; font-weight: 500; color: var(--muted); }
.score-cell .bar { height: 3px; background: var(--line); margin-top: var(--s-2); position: relative; overflow: hidden; }
.score-cell .bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; background: var(--orange); width: var(--pct, 60%); }

/* ─── Google Reviews block ─────────────────────────────── */
.reviews {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: var(--s-7);
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: var(--s-7);
  align-items: center;
  border-radius: 2px;
}
.reviews-summary { display: flex; flex-direction: column; gap: var(--s-3); }
.reviews-stars { display: flex; align-items: center; gap: var(--s-2); color: #fbbf24; font-size: 20px; line-height: 1; }
.reviews-stars .num { color: var(--text); font-weight: 800; font-size: 36px; letter-spacing: -0.02em; margin-right: var(--s-2); }
.reviews-summary .src { display: inline-flex; align-items: center; gap: var(--s-2); font-size: 12px; color: var(--muted); }
.reviews-summary .src .g-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: #fff; border-radius: 2px;
  font: 800 12px var(--font); color: #4285f4;
}
.reviews-summary .src .g-logo span:nth-child(1) { color: #4285f4; }
.reviews-summary p { color: var(--muted); font-size: 13px; line-height: 1.5; max-width: 280px; }
.reviews-summary .btn { width: fit-content; margin-top: var(--s-3); }

.reviews-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
.review-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: var(--s-5);
  font-size: 14px;
  color: var(--text-2);
  position: relative;
  border-radius: 2px;
}
.review-card .stars { color: #fbbf24; font-size: 13px; letter-spacing: 1px; margin-bottom: var(--s-2); }
.review-card .body { color: var(--text-2); line-height: 1.55; margin-bottom: var(--s-3); }
.review-card .who { font-size: 12px; color: var(--muted); display: flex; gap: var(--s-2); align-items: center; }
.review-card .who .avatar {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-hi));
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 11px var(--font);
}
.review-card .verified { margin-left: auto; font-size: 10px; letter-spacing: 0.1em; color: #4ade80; text-transform: uppercase; }
@media (max-width: 960px) {
  .reviews { grid-template-columns: 1fr; }
  .reviews-list { grid-template-columns: 1fr; }
}

/* Footer reviews-strip - slim, always visible */
.footer-reviews {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-6);
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-2);
}
.footer-reviews .lhs { display: flex; align-items: center; gap: var(--s-3); }
.footer-reviews .stars { color: #fbbf24; font-size: 15px; letter-spacing: 1px; }
.footer-reviews .label { color: var(--muted); }
.footer-reviews .g-logo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  background: #fff; border-radius: 2px;
  font: 800 12px var(--font); color: #4285f4;
}
.footer-reviews a.cta { margin-left: auto; color: var(--text); font-weight: 700; }
.footer-reviews a.cta:hover { color: var(--orange); }

/* ─── Workflow upgrade: connected node diagram ─────────── */
.workflow {
  position: relative;
  padding: var(--s-6) 0;
}
.workflow-line {
  position: absolute;
  left: 0; right: 0; top: 32px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--line-2) 10%, var(--orange) 50%, var(--line-2) 90%, transparent 100%);
  z-index: 0;
}
.workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
  position: relative;
  z-index: 1;
}
.wf-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--s-3);
}
.wf-step .ico {
  width: 64px; height: 64px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  transition: border-color .2s var(--ease-out), color .2s var(--ease-out), background-color .2s var(--ease-out);
  position: relative;
}
.wf-step:hover .ico { border-color: var(--orange); color: var(--orange); }
.wf-step .ico::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid var(--orange);
  opacity: 0;
  transition: opacity .2s var(--ease-out);
}
.wf-step:hover .ico::after { opacity: 0.4; }
.wf-step .label { font: 700 11px var(--font-mono); letter-spacing: 0.12em; color: var(--orange); text-transform: uppercase; }
.wf-step h4 { font-size: 15px; font-weight: 700; margin: 0; letter-spacing: -0.01em; }
.wf-step p { font-size: 12px; color: var(--muted); line-height: 1.45; max-width: 160px; }
@media (max-width: 960px) {
  .workflow-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-5); }
  .workflow-line { display: none; }
}
@media (max-width: 540px) { .workflow-grid { grid-template-columns: repeat(2, 1fr); } }


/* ─── v5: Macromedia-Profi + AI/Data feel ───────────────── */

/* ── Hero image: deutlich sichtbar machen ── */
.hero-illu img.hero-photo {
  opacity: 1;
  mix-blend-mode: normal;
  filter: contrast(1.08) saturate(1.10) brightness(0.9);
}
.hero-illu::after {
  background:
    linear-gradient(180deg, transparent 0%, transparent 50%, rgba(10,10,15,0.65) 100%),
    radial-gradient(70% 70% at 50% 50%, transparent 0%, rgba(10,10,15,0.30) 80%);
}
/* Score-grid as overlay on bottom right of image, not covering it */
.hero-illu .score-grid {
  position: absolute;
  inset: auto 0 0 0;
  height: 50%;
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--bg) 88%, transparent) 30%, var(--bg) 100%);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr;
  gap: 1px;
  padding: var(--s-4);
}
.hero-illu .score-grid .score-cell:nth-child(n+3) { display: none; }
.score-cell { background: transparent; backdrop-filter: none; padding: var(--s-2) var(--s-3); }

/* Show all 4 score cells in a strip below the image, separate container */
.hero-illu-wrap { display: flex; flex-direction: column; gap: var(--s-3); max-width: 560px; margin-left: auto; }
.score-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.score-strip .score-cell {
  background: var(--surface);
  padding: var(--s-3) var(--s-4);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}
.score-strip .score-cell .head { display: flex; align-items: center; gap: var(--s-2); }
.score-strip .score-cell .label { font: 700 9px var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.score-strip .num { font-size: 22px; font-weight: 800; letter-spacing: -0.025em; color: var(--text); line-height: 1; font-variant-numeric: tabular-nums; }
.score-strip .num .small { font-size: 10px; font-weight: 500; color: var(--muted); }
.score-strip .bar { height: 2px; background: var(--line); position: relative; overflow: hidden; }
.score-strip .bar::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; background: var(--orange); width: var(--pct, 60%); transition: width 1s var(--ease-out); }
@media (max-width: 720px) { .score-strip { grid-template-columns: repeat(2, 1fr); } }

/* ── Scroll progress bar oben ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(var(--progress, 0));
  transform-origin: 0 0;
  z-index: 100;
  pointer-events: none;
}

/* ── Cursor glow ── */
.cursor-glow {
  position: fixed;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230,126,34,0.06) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  transform: translate(var(--cx, -1000px), var(--cy, -1000px)) translate(-50%, -50%);
  transition: opacity .3s var(--ease-out);
  mix-blend-mode: screen;
}
@media (max-width: 880px) { .cursor-glow { display: none; } }

/* ── Custom lang dropdown with SVG flags ── */
.lang-dd {
  position: relative;
  height: 40px;
}
.lang-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  height: 40px;
  padding: 0 var(--s-3);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--text);
  font: 700 13px var(--font);
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color .15s var(--ease-out);
}
.lang-dd-toggle:hover { border-color: var(--line-2); }
.lang-dd-toggle .flag { width: 18px; height: 13px; flex: 0 0 18px; }
.lang-dd-toggle .chev { width: 10px; height: 10px; opacity: .6; }
.lang-dd-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  min-width: 120px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: 2px;
  display: none;
  flex-direction: column;
  z-index: 60;
  box-shadow: var(--sh-3);
}
.lang-dd.open .lang-dd-menu { display: flex; }
.lang-dd-menu a {
  display: flex; align-items: center; gap: var(--s-2);
  padding: 10px 12px;
  font: 600 13px var(--font);
  color: var(--text);
  letter-spacing: 0.04em;
}
.lang-dd-menu a:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }
.lang-dd-menu a .flag { width: 18px; height: 13px; flex: 0 0 18px; }

/* ── Live data ticker (Macromedia-Profi-Feeling) ── */
.data-ticker {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: var(--s-4) 0;
  font: 500 13px var(--font-mono);
  color: var(--text-2);
  overflow: hidden;
  white-space: nowrap;
}
.data-ticker .row {
  display: flex; gap: var(--s-6); align-items: center;
  animation: tickerScroll 40s linear infinite;
}
.data-ticker .dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.7); display: inline-block; margin-right: var(--s-2); animation: livePulse 1.5s ease-in-out infinite; }
.data-ticker .item { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--muted); }
.data-ticker .item strong { color: var(--text); font-weight: 700; }
.data-ticker .item .accent { color: var(--orange); font-weight: 700; }
@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes livePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.4); opacity: 0.6; }
}

/* ── Hero h1 split-text reveal ── */
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: wordIn .8s var(--ease-out) forwards;
}
@keyframes wordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Animated SVG line drawing on scroll ── */
.draw-on-scroll path { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.draw-on-scroll.in path { animation: drawLine 2s var(--ease-out) forwards; }
@keyframes drawLine { to { stroke-dashoffset: 0; } }

/* ── Stats counter scramble effect ── */
.stat .num { transition: color .25s var(--ease-out); }
.stat:hover .num { color: var(--orange); }

/* ── Magnetic button hover hint ── */
.btn-primary { transition: background-color .15s var(--ease-out), transform .12s var(--ease-out); }
.btn-primary:hover { box-shadow: 0 0 0 4px color-mix(in srgb, var(--orange) 18%, transparent); }

/* ── Mobile nav hamburger ── */
.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  width: 40px; height: 40px;
  border-radius: 2px;
  align-items: center; justify-content: center;
  color: var(--text);
  cursor: pointer;
}
.nav-burger:hover { border-color: var(--line-2); }
.nav-burger .bars { display: flex; flex-direction: column; gap: 3px; }
.nav-burger .bars span { width: 18px; height: 2px; background: currentColor; }

@media (max-width: 880px) {
  .nav-burger { display: inline-flex; margin-left: auto; }
  header.site nav.primary {
    display: none;
    position: fixed;
    top: 88px; left: 0; right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: var(--s-5);
    flex-direction: column;
    gap: var(--s-4);
    z-index: 49;
  }
  header.site.nav-open nav.primary { display: flex; }
  header.site .topbar-tools { gap: var(--s-2); }
  header.site .cta-demo span.label-full { display: none; }
  header.site .cta-login { display: none; }
  header.site .inner { height: 72px; gap: var(--s-3); padding-left: var(--s-4); padding-right: var(--s-4); }
  header.site .brand img { height: 36px; }
  .hero-illu-wrap, .hero-illu { max-width: 100%; }
  .hero-grid { gap: var(--s-5); }
  .hero h1 { font-size: clamp(32px, 9vw, 48px) !important; }
  section { padding: var(--s-7) 0; }
  .data-ticker { font-size: 11px; }
}

@media (max-width: 540px) {
  .container { padding: 0 var(--s-4); }
  .hero { padding: var(--s-7) 0 var(--s-6); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pricing-teaser .pt-card .btn { font-size: 13px; }
  .hero .ctas .btn { width: 100%; }
}

/* ── Section big-headline reveal ── */
section h2.reveal-text { overflow: hidden; }


/* ─── v6: fein + edel-technisch, ALLES Großbuchstaben ──── */

/* Buttons: schlanker, feiner, ALL CAPS */
.btn {
  height: 38px;
  padding: 0 var(--s-5);
  font: 500 12px var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 0;
}
.btn-lg { height: 44px; padding: 0 var(--s-6); font-size: 12px; letter-spacing: 0.18em; }
.btn-sm { height: 32px; padding: 0 var(--s-4); font-size: 11px; letter-spacing: 0.14em; }
.btn svg { width: 12px; height: 12px; opacity: .8; }
.btn-primary:hover { box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 18%, transparent); }

.cta-demo, .cta-login {
  height: 36px;
  padding: 0 var(--s-4);
  font: 500 11px var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 0;
}

/* Header nav: ALL CAPS, fein */
header.site nav.primary a {
  font: 500 12px var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}
header.site nav.primary a.active { color: var(--text); }

/* Lang-dropdown ALL CAPS */
.lang-dd-toggle {
  font: 600 11px var(--font);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  height: 36px;
  border-radius: 0;
}
.lang-dd-menu a { font: 600 11px var(--font); letter-spacing: 0.12em; text-transform: uppercase; }
.lang-dd-menu { border-radius: 0; }

.btn-icon { height: 36px; width: 36px; border-radius: 0; }
.nav-burger { height: 36px; width: 36px; border-radius: 0; }

/* Footer links ALL CAPS */
footer.site .col a {
  font: 500 11px var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
footer.site .col h5 {
  font: 700 10px var(--font);
  letter-spacing: 0.20em;
}

/* Hero image: more dominant, less overlay */
.hero-illu {
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero-illu img.hero-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: contrast(1.05) saturate(1.10);
}
.hero-illu::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 70%, rgba(10,10,15,0.40) 100%),
    radial-gradient(80% 90% at 50% 30%, transparent 0%, rgba(10,10,15,0.18) 90%);
  pointer-events: none;
}
.hero-illu .score-grid { display: none; }

/* Featured plan-tag rectangular */
.plan-tag, .plan-card .tag, .pt-tag {
  font: 700 9px var(--font); letter-spacing: 0.20em; border-radius: 0;
}

/* Section headlines uppercase ALREADY done - eyebrows too: */
.eyebrow { font: 700 10px var(--font); letter-spacing: 0.22em; text-transform: uppercase; }

/* Real connector logos - monochrome (no background, no color) */
.conn .ico, .conn-detail .ico, .marquee-item .ico {
  color: var(--text);
}
.conn .ico svg, .conn-detail .ico svg, .marquee-item .ico svg { fill: currentColor; }


/* ─── v7: image hero everywhere + module thumbnails + clean connector cards ─ */

/* Connector card icon: clip oversized paths, force visible bounds */
.conn-detail .ico, .conn .ico, .marquee-item .ico {
  overflow: hidden;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.conn-detail .ico {
  width: 36px; height: 36px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: 6px;
}
.conn-detail .ico svg { width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
.conn .ico svg, .marquee-item .ico svg { width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
.conn .ico { width: 28px; height: 28px; }
.marquee-item .ico { width: 18px; height: 18px; }

/* Page-hero image: large hero image on subpages */
.page-hero { padding-top: var(--s-9); }
.page-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: var(--s-8);
  align-items: center;
  position: relative; z-index: 1;
}
.page-hero-img {
  aspect-ratio: 16 / 10;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.page-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.05); }
.page-hero-img::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 60%, rgba(10,10,15,0.30) 100%);
}
@media (max-width: 880px) { .page-hero-grid { grid-template-columns: 1fr; gap: var(--s-5); } }

/* Module thumbnail in plans-page module-detail card */
.module-detail .module-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--bg-2);
  border: 1px solid var(--line);
  margin: 0 0 var(--s-5);
  overflow: hidden;
}
.module-detail .module-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: contrast(1.05); }

/* Plans page: clear section dividers between Pakete | Module | Add-Ons */
.section-divider {
  text-align: center;
  margin: var(--s-9) 0 var(--s-7);
  padding-top: var(--s-7);
  border-top: 1px solid var(--line);
}
.section-divider .kicker {
  display: inline-block;
  font: 700 11px var(--font);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 0 var(--s-3);
}
.section-divider h2 { margin-top: var(--s-3); }
.section-divider p { color: var(--muted); max-width: 640px; margin: var(--s-3) auto 0; font-size: 16px; }

/* Add-on row (Speed, Image Generation etc.) */
.addons-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-5);
}
@media (max-width: 880px) { .addons-grid-2 { grid-template-columns: 1fr; } }
.addon-block {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: var(--s-6);
  position: relative;
}
.addon-block .badge {
  font: 700 10px var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s-3);
}
.addon-block h3 {
  font-size: 18px; font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s-2);
  text-transform: none;
}
.addon-block .price-row {
  display: flex; align-items: baseline; gap: var(--s-2);
  margin-top: var(--s-3);
  padding-top: var(--s-3);
  border-top: 1px solid var(--line);
}
.addon-block .price-row .from { font: 600 11px var(--font); letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.addon-block .price-row .num { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--text); }
.addon-block .price-row .per { color: var(--muted); font-size: 13px; }
.addon-block p { color: var(--muted); font-size: 14px; line-height: 1.55; }


/* ─── v8: real banner hero + section background images ────── */

/* Banner-style hero - full-width, immersive */
.banner-hero {
  position: relative;
  width: 100%;
  min-height: 540px;
  display: flex;
  align-items: center;
  background: var(--bg-2) center/cover no-repeat;
  overflow: hidden;
  padding: var(--s-9) 0 var(--s-9);
  margin-bottom: 0;
}
.banner-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,15,0.85) 0%, rgba(10,10,15,0.55) 55%, rgba(10,10,15,0.25) 100%),
    linear-gradient(180deg, transparent 60%, rgba(10,10,15,0.55) 100%);
  z-index: 0;
}
.banner-hero .container { position: relative; z-index: 1; max-width: var(--max-w); }
.banner-hero h1 { color: #fff; text-shadow: 0 6px 32px rgba(0,0,0,0.55); }
.banner-hero h1 .grad {
  background: linear-gradient(180deg, #ffffff 0%, #ffd9b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* Word-reveal wraps each word in <span class="word"> - wenn die im
   .grad-Container sitzen, gehen sie sonst auf transparent. Daher die
   Gradient-Clip-Eigenschaften nochmal pro .word setzen. */
.banner-hero h1 .grad .word {
  background: linear-gradient(180deg, #ffffff 0%, #ffd9b5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.banner-hero .lede { color: #f5f1ea; text-shadow: 0 4px 18px rgba(0,0,0,0.55); }
.banner-hero .subline { color: #f0ece4; text-shadow: 0 4px 18px rgba(0,0,0,0.55); }
@media (max-width: 720px) {
  .banner-hero { min-height: 380px; padding: var(--s-7) 0; }
  .banner-hero::before { background: linear-gradient(180deg, rgba(10,10,15,0.55) 0%, rgba(10,10,15,0.75) 100%); }
}

/* Section background-image (subtle, behind content) */
.has-bg {
  position: relative;
  overflow: hidden;
}
.has-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--section-bg) center/cover no-repeat;
  opacity: var(--section-bg-opacity, .25);
  pointer-events: none;
  z-index: 0;
}
.has-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
  pointer-events: none;
  z-index: 0;
}
.has-bg > .container, .has-bg > * { position: relative; z-index: 1; }

/* Hero on home: keep score-strip but no side image (banner instead) */
.banner-hero .hero-grid {
  display: block;
  max-width: 720px;
}
.banner-hero .hero-illu-wrap { display: none; }


/* ─── v9: light header on dark page + fine textless CTAs ── */

/* Header stays light-mode regardless of page theme */
header.site {
  background: #ffffff;
  color: #0f0f12;
  border-bottom: 1px solid #e6e3dc;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
header.site.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,.04); }
/* Force the light logo (orange/anthracite on white) on dark page too */
header.site .brand .logo-light { display: block; }
header.site .brand .logo-dark { display: none; }
[data-theme="light"] header.site .brand .logo-light { display: block; }
[data-theme="light"] header.site .brand .logo-dark { display: none; }

/* Header nav text dark */
header.site nav.primary a {
  color: #4a4843;
  font-weight: 500;
  letter-spacing: 0.16em;
}
header.site nav.primary a:hover { color: #0f0f12; }
header.site nav.primary a.active { color: #0f0f12; }

/* Header CTAs: borderless, text-only style */
header.site .cta-demo, header.site .cta-login {
  background: transparent;
  border: 0;
  height: 32px;
  padding: 0 var(--s-2);
  font: 600 11px var(--font);
  letter-spacing: 0.16em;
  color: #0f0f12;
  text-transform: uppercase;
}
header.site .cta-demo:hover, header.site .cta-login:hover { color: var(--orange); background: transparent; border: 0; }
header.site .cta-demo svg { color: #6b675e; }
header.site .cta-demo:hover svg { color: var(--orange); }
/* Only the LOGIN keeps a tiny right separator so it reads as the primary CTA */
header.site .cta-login {
  border-left: 1px solid #e6e3dc;
  padding-left: var(--s-4);
  margin-left: var(--s-2);
}

/* Theme + lang buttons in header: smaller, lighter */
header.site .btn-icon {
  border: 0;
  background: transparent;
  color: #4a4843;
  width: 32px; height: 32px;
}
header.site .btn-icon:hover { color: var(--orange); background: transparent; }
header.site .lang-dd-toggle {
  height: 32px;
  background: transparent;
  border: 0;
  color: #0f0f12;
  font-size: 11px;
  padding: 0 var(--s-2);
}
header.site .lang-dd-toggle:hover { color: var(--orange); }
header.site .lang-dd-menu { background: #fff; border-color: #d3cfc5; color: #0f0f12; }
header.site .lang-dd-menu a { color: #0f0f12; }
header.site .lang-dd-menu a:hover { background: #f7f5f0; color: var(--orange); }
header.site .nav-burger { border: 0; color: #0f0f12; }
header.site .nav-burger:hover { color: var(--orange); }

/* Staging banner should still be subtle on the white header */
.staging-banner { border-bottom: 1px solid #fbd49a; }

/* ─── Legend layout (Vier Achsen) clean ──────────────────── */
.legend {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  padding: 0;
}
.legend-item {
  background: var(--surface);
  padding: var(--s-5);
  display: flex;
  align-items: center;
  gap: var(--s-4);
  border-right: 0;
}
.legend-item .ico { color: var(--orange); width: 32px; height: 32px; flex: 0 0 32px; }
.legend-item .ico svg { width: 100%; height: 100%; }
.legend-item .text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.legend-item .text .k {
  font: 700 10px var(--font); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--orange);
}
.legend-item .text .v {
  font-size: 14px; font-weight: 700; color: var(--text);
  letter-spacing: -0.005em; text-transform: none;
}
@media (max-width: 880px) { .legend { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .legend { grid-template-columns: 1fr; } }

/* Em-dash em → en, narrower visual */
.text-em-narrow { letter-spacing: -0.02em; }


/* ─── Rank-Guardian: visually mark as paid add-on ──────── */
.module-detail.addon-flag {
  border: 1px dashed var(--orange);
  position: relative;
}
.module-detail .paid-badge {
  position: absolute;
  top: -10px;
  left: var(--s-5);
  background: var(--orange);
  color: #fff;
  font: 700 10px var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 3px var(--s-3);
  z-index: 2;
}


/* ─── v10: header follows theme + reorder tools + sticky reinforced ── */

/* Revert v9 hard-coded light header - follow theme tokens */
header.site {
  background: var(--bg);
  color: var(--text);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  /* Sticky reinforced */
  position: sticky;
  top: 0;
  z-index: 100;
}
[data-theme="light"] header.site {
  background: #ffffff;
  color: #0f0f12;
  border-bottom-color: #e6e3dc;
}
header.site.scrolled { box-shadow: 0 1px 0 var(--line); }

/* Logo: show dark-version logo on dark page, light logo on light page */
header.site .brand .logo-light { display: none; }
header.site .brand .logo-dark { display: block; }
[data-theme="light"] header.site .brand .logo-light { display: block; }
[data-theme="light"] header.site .brand .logo-dark { display: none; }

/* Nav text follows theme */
header.site nav.primary a { color: var(--text-2); }
header.site nav.primary a:hover, header.site nav.primary a.active { color: var(--text); }

/* CTAs in header use theme colors */
header.site .cta-demo, header.site .cta-login {
  color: var(--text);
  background: transparent;
  border: 0;
}
header.site .cta-demo:hover, header.site .cta-login:hover { color: var(--orange); }
header.site .cta-demo svg { color: var(--muted); }
header.site .cta-demo:hover svg { color: var(--orange); }
header.site .cta-login {
  border-left: 1px solid var(--line);
  padding-left: var(--s-4);
}

/* Icon buttons follow theme */
header.site .btn-icon {
  color: var(--text-2);
  background: transparent;
  border: 0;
}
header.site .btn-icon:hover { color: var(--orange); }

/* Lang-dropdown follows theme */
header.site .lang-dd-toggle {
  background: transparent;
  border: 0;
  color: var(--text);
}
header.site .lang-dd-toggle:hover { color: var(--orange); }
header.site .lang-dd-menu {
  background: var(--surface);
  border-color: var(--line-2);
  color: var(--text);
}
header.site .lang-dd-menu a { color: var(--text); }
header.site .lang-dd-menu a:hover { background: var(--surface-2); color: var(--orange); }

header.site .nav-burger { color: var(--text); border: 0; background: transparent; }
header.site .nav-burger:hover { color: var(--orange); }

/* Reorder topbar tools: demo · login · lang · theme · burger */
header.site .topbar-tools { display: flex; align-items: center; gap: var(--s-2); }
header.site .topbar-tools .cta-demo { order: 1; }
header.site .topbar-tools .cta-login { order: 2; }
header.site .topbar-tools .lang-dd { order: 3; }
header.site .topbar-tools [data-theme-toggle] { order: 4; }
header.site .topbar-tools .nav-burger { order: 5; }

/* small visual breathing for the rightmost icons */
header.site .topbar-tools .lang-dd { margin-left: var(--s-2); }


/* ─── v11: lang flags only, spacing groups ─────────────── */

/* Lang toggle: only flag, no text, no border, very tight */
header.site .lang-dd-toggle {
  padding: 4px;
  gap: 2px;
}
header.site .lang-dd-toggle .flag { width: 22px; height: 16px; flex: 0 0 22px; }
header.site .lang-dd-toggle .chev { width: 8px; height: 8px; opacity: .55; }

/* Header tools spacing: tighter pair flag↔theme, bigger gap flag↔login */
header.site .topbar-tools { gap: 4px; }
header.site .topbar-tools .cta-demo { margin-right: 0; }
header.site .topbar-tools .cta-login {
  margin-right: var(--s-5); /* big gap to flag */
  padding-right: 0;
}
header.site .topbar-tools .lang-dd {
  margin-left: 0;
  margin-right: 0;
}
header.site .topbar-tools [data-theme-toggle] {
  margin-left: 0; /* tight to flag */
}

/* Menu items keep DE/EN - Deutsch/English labels (they need clarity) */


/* ─── AI quote block - editorial, no comic style ──────── */
.ai-quote {
  background: linear-gradient(135deg, color-mix(in srgb, var(--orange) 4%, transparent), transparent 80%), var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
  padding: var(--s-6) var(--s-7);
  margin: var(--s-7) 0;
  position: relative;
  max-width: 820px;
}
.ai-quote .label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font: 700 10px var(--font-mono);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: var(--s-4);
}
.ai-quote .label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px color-mix(in srgb, #4ade80 25%, transparent);
  animation: livePulse 2.4s ease-in-out infinite;
}
.ai-quote .body {
  font: italic 500 17px/1.55 var(--font);
  color: var(--text);
  margin: 0;
}
.ai-quote .body code {
  font-family: var(--font-mono);
  font-size: 14px;
  font-style: normal;
  color: var(--orange);
  background: color-mix(in srgb, var(--orange) 8%, transparent);
  padding: 1px 5px;
  border-radius: 2px;
}
.ai-quote .source {
  margin-top: var(--s-4);
  font: 600 11px var(--font-mono);
  color: var(--muted);
  letter-spacing: 0.06em;
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.ai-quote .source span { display: inline-flex; align-items: center; gap: var(--s-1); }
.ai-quote .source span::before { content: "·"; color: var(--faint); margin-right: var(--s-1); }
.ai-quote .source span:first-child::before { display: none; margin: 0; }
@media (max-width: 720px) {
  .ai-quote { padding: var(--s-5); }
  .ai-quote .body { font-size: 15px; }
}


/* AI quote: center-aligned on the page */
.ai-quote { margin-left: auto; margin-right: auto; }


/* ─── Security teaser block on home ────────────────────── */
.security-teaser {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-7);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 2px solid var(--orange);
  padding: var(--s-7);
}
.security-teaser .badge-row { display: flex; gap: var(--s-2); align-items: center; margin-bottom: var(--s-4); }
.security-teaser .badge {
  font: 700 10px var(--font-mono);
  letter-spacing: 0.20em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 4px var(--s-3);
  border: 1px solid color-mix(in srgb, var(--orange) 40%, transparent);
}
.security-teaser .badge.flag { padding: 4px 6px; display: inline-flex; align-items: center; gap: 6px; }
.security-teaser .badge.flag svg { width: 18px; height: 13px; }
.security-teaser h2 { font-size: clamp(24px, 2.6vw, 32px); margin-bottom: var(--s-3); }
.security-teaser .lede { color: var(--text-2); font-size: 15px; line-height: 1.55; margin-bottom: var(--s-4); }
.security-teaser ul { list-style: none; display: flex; flex-direction: column; gap: var(--s-2); margin-bottom: var(--s-5); }
.security-teaser ul li {
  display: flex; gap: var(--s-3); align-items: flex-start;
  font-size: 14px; color: var(--text-2);
}
.security-teaser ul li::before {
  content: ""; width: 14px; height: 14px; margin-top: 4px; flex: 0 0 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e67e22' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.security-teaser .visual {
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}
.security-teaser .visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.security-teaser .visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(10,10,15,0.50) 100%);
}
@media (max-width: 880px) { .security-teaser { grid-template-columns: 1fr; padding: var(--s-5); } }


/* ─── v12: FINAL POLISH - schärfer, leichter, präzise ─── */

/* All buttons: lighter weight, sharper letter-spacing, no extra rounding */
.btn, .cta-demo, .cta-login {
  font-weight: 500;
  letter-spacing: 0.18em;
  border-radius: 0;
}
.btn-primary, .btn-secondary, .btn-dark, .btn-ghost { font-weight: 500; }
.btn { padding: 0 var(--s-6); }

/* Nav + lang dropdown menu items: lighter */
header.site nav.primary a { font-weight: 500; letter-spacing: 0.18em; }
.lang-dd-toggle, .lang-dd-menu a { font-weight: 500; letter-spacing: 0.16em; }

/* Plan tags, badges, eyebrows: no rounding */
.eyebrow, .plan-tag, .pt-tag, .plan-card .tag, .cat-badge,
.conn-status, .addon .pop, .stat .badge, .plan-tag,
.section-divider .kicker, .ai-quote .label, .marquee-item,
.fact-card h3, .never-card h3, .data-ticker .item,
.legend-item .text .k, .module-detail .paid-badge {
  border-radius: 0;
  font-weight: 500;
}
/* Keep brand bold where it matters (numbers, headlines) */
.stat .num, .pt-num, .plan .price .num, .plan-card .num,
.fact-card .v, .map-block .city, .ai-quote .body code,
section h2, .hero h1, h1, h2, h3, h4 { font-weight: 700; }
.hero h1, section h2 { font-weight: 800; }

/* Make borders sharper: no shadows on hover, just border shift */
.mod-card:hover, .method-card:hover, .pillar:hover, .conn:hover, .plan:hover,
.plan-card:hover { box-shadow: none; }

/* Cards: 1 px hairlines, no curves */
.mod-card, .method-card, .pillar, .conn, .conn-detail, .plan, .plan-card,
.pt-card, .pt-side, .addon, .addon-block, .module-detail, .data-card,
.fact-card, .review-card, .rk-card, .map-block, .never-card,
.demo, .bc, .ai-quote, .security-teaser, .compare-wrap, .matrix-wrap,
.modal { border-radius: 0; }

/* Inputs sharp */
.bc-input, .demo-form input, .demo-form select, .demo-form textarea,
.lang-switch, .btn-icon, .nav-burger, .lang-dd-toggle, .lang-dd-menu { border-radius: 0; }

/* Pulse dots: 50% radius only (round) - keep */

/* Stylistic touch: thin orange marker lines under section headlines */
section h2 + .lede { padding-bottom: var(--s-2); }
section > .container > h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  background: var(--orange);
  margin: var(--s-3) 0 var(--s-5);
}

/* ─── Brand trust badge in header (shield + DE flag) ───── */
.brand-trust {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  margin-left: var(--s-4);
  border: 1px solid var(--line);
  color: var(--text-2);
  font: 500 10px var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s var(--ease-out), border-color .15s var(--ease-out);
}
.brand-trust:hover { color: var(--orange); border-color: var(--orange); text-decoration: none; }
.brand-trust .ico { color: var(--orange); width: 14px; height: 14px; display: inline-flex; align-items: center; justify-content: center; }
.brand-trust .ico svg { width: 100%; height: 100%; display: block; }
.brand-trust .flag { width: 16px; height: 11px; flex: 0 0 16px; display: inline-block; }
.brand-trust .lbl { font-weight: 500; }
@media (max-width: 1080px) { .brand-trust .lbl { display: none; } }
@media (max-width: 880px) { .brand-trust { display: none; } }


/* ─── v13: brand-trust = icon-only, kompakt ────────────── */
.brand-trust {
  width: 32px; height: 32px;
  padding: 0;
  margin-left: var(--s-3);
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  background: transparent;
}
.brand-trust:hover { color: var(--orange); border: 0; background: transparent; }
.brand-trust svg { width: 18px; height: 18px; display: block; }


/* ─── v14: kompakter Header + Suche ───────────────────── */

/* Larger gap between menu (left) and tools (right) */
header.site nav.primary { margin-left: var(--s-6); margin-right: auto; }
header.site .topbar-tools { gap: 6px; margin-left: var(--s-7); }

/* Demo + Login slightly tighter to give room */
header.site .cta-demo, header.site .cta-login {
  height: 32px;
  padding: 0 var(--s-3);
  font-size: 11px;
  letter-spacing: 0.16em;
}
header.site .cta-demo .label-full { letter-spacing: 0.16em; }
header.site .cta-login { padding-left: var(--s-3); margin-right: var(--s-5); }

/* Brand-trust smaller */
.brand-trust { width: 28px; height: 28px; margin-left: var(--s-2); }
.brand-trust svg { width: 16px; height: 16px; }

/* Search button */
.search-btn {
  width: 32px; height: 32px;
  border: 0;
  background: transparent;
  color: var(--text-2);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.search-btn:hover { color: var(--orange); background: transparent; }
.search-btn svg { width: 16px; height: 16px; }

/* Search modal - taller, search-optimized */
.search-modal {
  background: var(--surface);
  border: 1px solid var(--line);
  width: 100%;
  max-width: 620px;
  padding: 0;
  display: flex; flex-direction: column;
  max-height: 80vh;
}
.search-modal .search-input-row {
  display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-4) var(--s-5);
  border-bottom: 1px solid var(--line);
}
.search-modal .search-input-row svg { width: 16px; height: 16px; color: var(--muted); flex: 0 0 16px; }
.search-modal .search-input-row input {
  flex: 1;
  background: transparent;
  border: 0;
  outline: 0;
  font: 500 16px var(--font);
  color: var(--text);
}
.search-modal .search-input-row input::placeholder { color: var(--faint); }
.search-modal .search-input-row .esc {
  font: 500 11px var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 2px 6px;
  text-transform: uppercase;
}
.search-results { overflow-y: auto; flex: 1; padding: var(--s-2) 0; }
.search-result {
  display: block;
  padding: var(--s-3) var(--s-5);
  border-bottom: 1px solid var(--line);
  color: var(--text);
  cursor: pointer;
  transition: background-color .15s var(--ease-out);
}
.search-result:last-child { border-bottom: 0; }
.search-result:hover, .search-result.active { background: var(--surface-2); text-decoration: none; }
.search-result .crumb {
  font: 500 10px var(--font-mono);
  letter-spacing: 0.14em;
  color: var(--orange);
  text-transform: uppercase;
}
.search-result .title { font-size: 14px; font-weight: 600; margin-top: 4px; }
.search-result .desc { font-size: 12px; color: var(--muted); margin-top: 2px; line-height: 1.5; }
.search-empty { padding: var(--s-7) var(--s-5); text-align: center; color: var(--muted); font-size: 14px; }


/* ─── Knowledge Base styles ────────────────────────────── */
.kb-page { padding: var(--s-9) 0; }
.kb-page .breadcrumb {
  font: 500 11px var(--font-mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.kb-page .breadcrumb a { color: var(--muted); }
.kb-page .breadcrumb a:hover { color: var(--orange); }
.kb-page .breadcrumb .sep { margin: 0 var(--s-2); color: var(--faint); }

.kb-search-bar {
  position: relative;
  margin: var(--s-5) 0 var(--s-7);
  max-width: 720px;
}
.kb-search-bar input {
  width: 100%;
  height: 56px;
  padding: 0 var(--s-5) 0 56px;
  font: 400 16px var(--font);
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0;
}
.kb-search-bar input:focus { outline: 2px solid var(--orange); outline-offset: 0; }
.kb-search-bar svg {
  position: absolute; left: var(--s-5); top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted);
}

.kb-tag-cloud { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-7); }
.kb-tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font: 500 11px var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
  background: var(--surface);
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color .15s var(--ease-out), color .15s var(--ease-out);
}
.kb-tag:hover, .kb-tag.active { border-color: var(--orange); color: var(--orange); text-decoration: none; }
.kb-tag .count { color: var(--faint); font-weight: 400; }

.kb-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-4); margin-bottom: var(--s-9); }
.kb-cat-card {
  background: var(--surface); border: 1px solid var(--line); padding: var(--s-6);
  display: flex; flex-direction: column; gap: var(--s-3);
  transition: border-color .15s var(--ease-out), transform .15s var(--ease-out);
}
.kb-cat-card:hover { border-color: var(--orange); transform: translateY(-2px); text-decoration: none; }
.kb-cat-card .icon { width: 32px; height: 32px; color: var(--orange); }
.kb-cat-card .icon svg { width: 100%; height: 100%; display: block; }
.kb-cat-card h3 { font-size: 20px; font-weight: 800; margin: 0; letter-spacing: -0.01em; }
.kb-cat-card .desc { color: var(--muted); font-size: 14px; line-height: 1.55; flex: 1; }
.kb-cat-card .count { font: 500 11px var(--font-mono); letter-spacing: 0.16em; color: var(--orange); text-transform: uppercase; }

.kb-art-list { display: flex; flex-direction: column; gap: var(--s-3); }
.kb-art-card {
  background: var(--surface); border: 1px solid var(--line); padding: var(--s-5) var(--s-6);
  display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: start;
  transition: border-color .15s var(--ease-out);
}
.kb-art-card:hover { border-color: var(--orange); text-decoration: none; }
.kb-art-card .meta { font: 500 10px var(--font-mono); letter-spacing: 0.16em; color: var(--orange); text-transform: uppercase; margin-bottom: var(--s-2); }
.kb-art-card h3 { font-size: 18px; font-weight: 700; margin: 0 0 var(--s-2); letter-spacing: -0.01em; }
.kb-art-card p { font-size: 14px; color: var(--muted); line-height: 1.55; margin: 0; }
.kb-art-card .tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: var(--s-3); }
.kb-art-card .tags span {
  font: 500 10px var(--font-mono); letter-spacing: 0.10em;
  color: var(--text-2); border: 1px solid var(--line); padding: 2px 6px; text-transform: uppercase;
}
.kb-art-card .arrow { color: var(--muted); margin-top: var(--s-2); }
.kb-art-card:hover .arrow { color: var(--orange); }
@media (max-width: 720px) {
  .kb-art-card { grid-template-columns: 1fr; }
  .kb-art-card .arrow { display: none; }
}

/* ─── Article body (Markdown rendered) ─────────────────── */
.kb-article-hero { margin-bottom: var(--s-7); padding-bottom: var(--s-5); border-bottom: 1px solid var(--line); }
.kb-article-hero .meta { font: 500 11px var(--font-mono); letter-spacing: 0.14em; color: var(--orange); text-transform: uppercase; margin-bottom: var(--s-3); }
.kb-article-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.05; letter-spacing: -0.025em; margin: 0 0 var(--s-4); text-transform: none; }
.kb-article-hero .lede { font-size: 18px; color: var(--text-2); line-height: 1.55; max-width: 720px; margin: 0 0 var(--s-5); }
.kb-article-hero .info { display: flex; gap: var(--s-4); font: 500 12px var(--font-mono); color: var(--muted); letter-spacing: 0.06em; flex-wrap: wrap; }

.kb-body { max-width: 760px; }
.kb-body h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; margin: var(--s-7) 0 var(--s-3); text-transform: none; }
.kb-body h2::after { content: ""; display: block; width: 24px; height: 2px; background: var(--orange); margin-top: var(--s-2); }
.kb-body h3 { font-size: 18px; font-weight: 700; margin: var(--s-5) 0 var(--s-2); text-transform: none; }
.kb-body p { font-size: 16px; color: var(--text-2); line-height: 1.7; margin: 0 0 var(--s-4); }
.kb-body ul, .kb-body ol { margin: 0 0 var(--s-4) var(--s-5); }
.kb-body li { font-size: 15px; color: var(--text-2); line-height: 1.65; margin-bottom: var(--s-2); }
.kb-body a { color: var(--orange); text-decoration: underline; }
.kb-body code { font-family: var(--font-mono); font-size: 14px; background: color-mix(in srgb, var(--orange) 8%, transparent); color: var(--orange); padding: 1px 5px; }
.kb-body pre { background: var(--bg-2); border: 1px solid var(--line); padding: var(--s-4) var(--s-5); overflow-x: auto; margin: 0 0 var(--s-4); }
.kb-body pre code { background: transparent; color: var(--text); padding: 0; font-size: 13px; line-height: 1.55; }
.kb-body blockquote { border-left: 2px solid var(--orange); padding-left: var(--s-4); margin: var(--s-4) 0; color: var(--text-2); font-style: italic; }
.kb-body table { width: 100%; border-collapse: collapse; margin: 0 0 var(--s-4); font-size: 14px; }
.kb-body th, .kb-body td { border-bottom: 1px solid var(--line); padding: var(--s-2) var(--s-3); text-align: left; vertical-align: top; }
.kb-body th { font-weight: 700; color: var(--text); background: var(--bg-2); text-transform: none; letter-spacing: 0; font-size: 13px; }

.kb-tags-row { margin: var(--s-7) 0; padding-top: var(--s-5); border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.kb-tags-row .label { font: 700 11px var(--font-mono); letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; margin-right: var(--s-3); }

.kb-related { margin-top: var(--s-8); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.kb-related .label { font: 700 11px var(--font-mono); letter-spacing: 0.16em; color: var(--orange); text-transform: uppercase; margin-bottom: var(--s-4); }
.kb-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--s-3); }

.kb-empty { padding: var(--s-7); text-align: center; color: var(--muted); border: 1px dashed var(--line); }


/* ─── v15: logos größer, header rechts kompakter, footer ohne tagline ── */

/* Logos */
header.site .brand img { height: 52px; }
footer.site .brand img { height: 56px; }
footer.site .brand p { display: none; } /* nur Logo, kein Subtext */

/* Header rechte Seite kompakter - kein Zeilenumbruch */
header.site .topbar-tools { gap: 2px; }
header.site .cta-demo, header.site .cta-login {
  height: 30px;
  padding: 0 var(--s-2);
  font-size: 10px;
  letter-spacing: 0.14em;
}
header.site .cta-demo svg { width: 12px; height: 12px; }
header.site .cta-login { padding-left: var(--s-3); margin-right: var(--s-3); }

header.site .search-btn,
header.site .btn-icon,
header.site .nav-burger {
  width: 28px; height: 28px;
}
header.site .search-btn svg,
header.site .btn-icon svg { width: 14px; height: 14px; }
header.site .lang-dd-toggle {
  height: 28px;
  padding: 0 4px;
}
header.site .lang-dd-toggle .flag { width: 18px; height: 13px; }
header.site .lang-dd-toggle .chev { width: 8px; height: 8px; }

/* Nav-Links kleiner */
header.site nav.primary { gap: var(--s-5); }
header.site nav.primary a { font-size: 11px; letter-spacing: 0.14em; }

