/* ══════════════════════════════════════════════════════════════
   RUNNERD — style.css
   Running Analytics for macOS & iOS
   ══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  --bg:            #E8DFD4;
  --bg-2:          #DFD4C8;
  --bg-card:       rgba(255,248,238,0.70);
  --bg-card-hover: rgba(255,248,238,0.90);
  --border:        rgba(42,31,24,0.08);
  --border-strong: rgba(42,31,24,0.15);
  --text-1:        #2A1F18;
  --text-2:        rgba(42,31,24,0.65);
  --text-3:        rgba(42,31,24,0.40);
  --orange:        #E8873A;
  --orange-deep:   #B84D1E;
  --orange-grad:   linear-gradient(to bottom, #D4622B, #9E3A0E);
  --nerd-grad:     linear-gradient(to bottom, #6B7F99, #8B9DB5);
  --blue:          #3B82BA;
  --mint:          #2A9D6E;
  --nav-bg:        rgba(232,223,212,0.88);
  --max:           1120px;
  --nav-h:         64px;
}

[data-theme="dark"] {
  --bg:            #1E2833;
  --bg-2:          #192028;
  --bg-card:       rgba(255,255,255,0.06);
  --bg-card-hover: rgba(255,255,255,0.09);
  --border:        rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --text-1:        rgba(232,223,212,0.92);
  --text-2:        rgba(232,223,212,0.56);
  --text-3:        rgba(232,223,212,0.32);
  --orange:        #F0A05C;
  --orange-deep:   #C85A20;
  --orange-grad:   linear-gradient(to bottom, #F0A05C, #C85A20);
  --nerd-grad:     linear-gradient(to bottom, #A7B8CC, #8B9DB5);
  --blue:          #5595CC;
  --nav-bg:        rgba(30,40,51,0.88);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
}

/* ── Noise Overlay ────────────────────────────────────────── */
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  opacity: 0.014;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Ambient Blobs ────────────────────────────────────────── */
.blob { position: fixed; border-radius: 50%; pointer-events: none; z-index: 0; }
.blob-orange {
  width: 720px; height: 720px; top: -220px; left: -200px;
  background: radial-gradient(circle, rgba(240,160,92,0.22) 0%, transparent 70%);
  filter: blur(88px);
}
.blob-blue {
  width: 900px; height: 900px; bottom: -300px; right: -300px;
  background: radial-gradient(circle, rgba(85,149,204,0.15) 0%, transparent 68%);
  filter: blur(200px);
}

/* ── Utilities ────────────────────────────────────────────── */
.text-orange { color: var(--orange); }
.text-blue   { color: var(--blue); }
.text-mint   { color: var(--mint); }
.mx-auto     { margin-left: auto; margin-right: auto; }
.disabled    { opacity: 0.6; cursor: default; }

/* ── Focus ────────────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Layout ───────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 56px; }
section { padding: 96px 0; position: relative; z-index: 1; }
section:nth-child(even) { background: var(--bg-2); }

/* ── Wordmark ─────────────────────────────────────────────── */
.wordmark {
  font-family: 'Saira', sans-serif; font-weight: 900;
  letter-spacing: -0.5px; line-height: 1;
  display: inline-flex; align-items: baseline; user-select: none;
}
.wm-run {
  background: var(--orange-grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}
.wm-nerd {
  background: var(--nerd-grad); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Typography ───────────────────────────────────────────── */
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--orange); margin-bottom: 16px;
}
h1, h2, h3, h4 { margin: 0; }
.section-title {
  font-family: 'Saira', sans-serif; font-weight: 900;
  font-size: clamp(28px,5vw,44px); line-height: 1.1;
  color: var(--text-1); margin-bottom: 16px;
}
.section-sub { font-size: 18px; color: var(--text-2); line-height: 1.6; max-width: 560px; }

/* ══════════════════════════════════════════════════════════════
   NAV
   ══════════════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h);
  z-index: 100; background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  transition: background 0.3s;
}
.nav-inner {
  display: flex; align-items: center; width: 100%;
  max-width: var(--max); margin: 0 auto; padding: 0 56px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-icon-wrap { width: 28px; height: 28px; flex-shrink: 0; }
.nav-icon-wrap svg { width: 100%; height: 100%; }
.nav-brand .wordmark { font-size: 20px; }
.icon-dark { display: none; }
[data-theme="dark"] .icon-light { display: none; }
[data-theme="dark"] .icon-dark  { display: block; }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  margin-left: 48px; list-style: none;
}
.nav-links a {
  color: var(--text-2); text-decoration: none;
  font-size: 14px; font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang-toggle { display: flex; align-items: center; gap: 2px; }
.lang-btn {
  padding: 4px 8px; font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 12px; font-weight: 600; color: var(--text-3);
  background: none; border: none; cursor: pointer;
  letter-spacing: 0.04em; transition: color 0.2s; border-radius: 6px;
}
.lang-btn.active { color: var(--text-1); }
.lang-btn:hover { color: var(--text-2); }
.theme-btn {
  padding: 6px; background: none; border: none;
  cursor: pointer; line-height: 0; opacity: 0.6;
  transition: opacity 0.2s; border-radius: 6px;
  color: var(--text-1); display: flex; align-items: center; justify-content: center;
}
.theme-btn:hover { opacity: 1; }
.theme-btn .icon-sun { display: none; }
[data-theme="dark"] .theme-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-btn .icon-sun { display: block; }
.btn-appstore {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--text-1); color: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 10px; border: none; cursor: pointer;
  text-decoration: none; transition: opacity 0.2s;
}
.btn-appstore:hover { opacity: 0.85; }
.btn-appstore svg { width: 14px; height: 14px; fill: currentColor; }

/* ── Mobile Menu ──────────────────────────────────────────── */
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; color: var(--text-1);
}
.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--nav-bg); backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px; z-index: 99;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block; padding: 12px 16px; border-radius: 10px;
  color: var(--text-2); text-decoration: none;
  font-size: 16px; font-weight: 500; transition: all 0.2s;
}
.mobile-menu a:hover { background: var(--bg-card); color: var(--text-1); }

/* ══════════════════════════════════════════════════════════════
   HERO
   ══════════════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 48px); padding-bottom: 100px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 540px;
  gap: 72px; align-items: center; width: 100%;
}
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-category {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 20px;
}
.hero-tagline {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 5vw, 56px); color: var(--text-1);
  line-height: 1.1; margin-bottom: 20px;
}
.hero-accent { color: var(--orange-deep); }
[data-theme="dark"] .hero-accent { color: var(--orange); }
.hero-tagline2 {
  font-size: clamp(14px, 1.6vw, 17px); color: var(--text-2);
  margin-bottom: 0; line-height: 1.5;
}
.hero-ctas { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--text-1); color: var(--bg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: 12px; border: none; cursor: pointer;
  text-decoration: none; transition: opacity 0.2s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }
.btn-primary svg { width: 16px; height: 16px; fill: currentColor; }
.btn-link {
  font-size: 14px; color: var(--text-2); text-decoration: none;
  border-bottom: 1px solid var(--border-strong); padding-bottom: 1px;
  transition: color 0.2s;
}
.btn-link:hover { color: var(--text-1); }
.hero-platform {
  margin-top: 24px; font-size: 12px; color: var(--text-3);
  display: flex; align-items: center; gap: 8px;
}
.platform-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text-3); }

/* ── Hero Visual ──────────────────────────────────────────── */
.hero-visual {
  width: 100%; height: 480px;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.hero-orb-ring {
  position: absolute; width: 360px; height: 360px; border-radius: 50%;
  border: 1px solid rgba(232,135,58,0.10);
  animation: ringPulse 7s ease-in-out infinite;
}
.hero-orb-ring2 {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  border: 1px solid rgba(232,135,58,0.05);
  animation: ringPulse 7s ease-in-out 0.5s infinite;
}
@keyframes ringPulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.04); opacity: 0.5; }
}
.hero-icon {
  width: 360px; height: 360px;
  animation: orbFloat 7s ease-in-out infinite;
  filter: drop-shadow(0 32px 80px rgba(184,77,30,0.30)) drop-shadow(0 8px 24px rgba(0,0,0,0.08));
  position: relative; z-index: 2;
}
.hero-icon svg { width: 100%; height: 100%; display: block; }
.hero-icon .icon-dark { display: none; }
[data-theme="dark"] .hero-icon .icon-light { display: none; }
[data-theme="dark"] .hero-icon .icon-dark  { display: block; }
@keyframes orbFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── Floating Data Cards ──────────────────────────────────── */
.data-card {
  position: absolute; z-index: 3;
  background: var(--bg-card); border: 1px solid rgba(42,31,24,0.08);
  border-radius: 20px; padding: 14px 16px;
  backdrop-filter: blur(32px) saturate(1.8);
  -webkit-backdrop-filter: blur(32px) saturate(1.8);
  box-shadow: 0 2px 16px rgba(42,31,24,0.05), 0 8px 32px rgba(42,31,24,0.04);
  min-width: 152px;
}
[data-theme="dark"] .data-card { border-color: rgba(255,255,255,0.09); }
.dc-label {
  font-size: 9px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 6px;
}
.dc-value {
  font-size: 22px; font-weight: 800;
  font-family: ui-monospace, 'SF Mono', monospace;
  line-height: 1; letter-spacing: -0.03em;
}
.dc-unit { font-size: 13px; font-weight: 500; letter-spacing: 0; font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif; }
.dc-sub { font-size: 11px; color: var(--text-2); margin-top: 5px; }

/* Readiness card */
.dc-readiness-row { display: flex; align-items: center; gap: 8px; }
.dc-readiness-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 35% 30%, #F09850, #B84D1E);
  box-shadow: 0 0 6px rgba(184,77,30,0.5);
}
.dc-chips { display: flex; gap: 6px; margin-top: 10px; }
.dc-chip {
  flex: 1; text-align: center; padding: 8px 6px;
  background: rgba(255,255,255,0.52);
  backdrop-filter: blur(16px) saturate(1.8);
  -webkit-backdrop-filter: blur(16px) saturate(1.8);
  border: 1px solid rgba(255,255,255,0.72);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(42,31,24,0.06), inset 0 1px 0 rgba(255,255,255,0.90);
}
[data-theme="dark"] .dc-chip {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.16);
  box-shadow: 0 1px 4px rgba(0,0,0,0.15), inset 0 1px 0 rgba(255,255,255,0.12);
}
.dc-chip-val { font-size: 15px; font-weight: 700; font-family: ui-monospace, 'SF Mono', monospace; line-height: 1.2; }
.dc-chip-lbl { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-3); margin-top: 3px; }

/* PMC / Sparkline card */
.dc-chart-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.dc-sparkline  { flex: 1; height: 38px; overflow: visible; }

/* Card positions */
.card-readiness { top: 20px; left: 0; width: 210px; }
.card-lastrun   { top: 20px; right: 0; width: 175px; }
.card-pmc       { bottom: 20px; left: 0; width: 175px; }
.card-race      { bottom: 20px; right: 40px; width: 175px; }

/* ══════════════════════════════════════════════════════════════
   VALUE PROPS
   ══════════════════════════════════════════════════════════════ */
#values { padding: 72px 0; }
.value-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 48px; }
.value-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 32px; transition: background 0.2s, border-color 0.2s;
}
.value-card:hover { background: var(--bg-card-hover); border-color: var(--border-strong); }
.value-icon {
  width: 44px; height: 44px; background: rgba(232,135,58,0.12); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--orange);
}
.value-card h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700; font-size: 18px; color: var(--text-1); margin-bottom: 10px;
}
.value-card p { font-size: 15px; color: var(--text-2); line-height: 1.65; }

/* ══════════════════════════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════════════════════════ */
#features { text-align: center; }
.feature-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin: 40px 0 56px; flex-wrap: wrap;
}
.tab-btn {
  display: flex; align-items: center; gap: 8px; padding: 10px 20px;
  border-radius: 100px; border: 1px solid var(--border);
  background: var(--bg-card);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 14px; font-weight: 500; color: var(--text-2);
  cursor: pointer; transition: all 0.2s;
}
.tab-btn:hover { background: var(--bg-card-hover); color: var(--text-1); }
.tab-btn.active {
  background: rgba(232,135,58,0.12); border-color: rgba(232,135,58,0.35); color: var(--orange);
}
.tab-btn.active[data-tab="analyse"] {
  background: rgba(59,130,186,0.10); border-color: rgba(59,130,186,0.30); color: var(--blue);
}
.feature-stage { display: grid; grid-template-columns: 1fr 480px; gap: 64px; align-items: start; text-align: left; }
.feature-mock { margin-top: 32px; }
.feature-panels { position: relative; }
.feature-panel { display: none; }
.feature-panel.active { display: block; }
.feature-panel h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 800; font-size: clamp(24px,4vw,36px); color: var(--text-1);
  margin-bottom: 16px; line-height: 1.2;
}
.feature-panel p { font-size: 17px; color: var(--text-2); line-height: 1.7; margin-bottom: 28px; }
.feature-info h3 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(24px,4vw,36px); color: var(--text-1);
  margin-bottom: 16px; line-height: 1.2;
}
.feature-info p { font-size: 17px; color: var(--text-2); line-height: 1.7; margin-bottom: 28px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px; border-radius: 100px;
  background: var(--bg-card); border: 1px solid var(--border);
  font-size: 13px; color: var(--text-2);
}
.feature-mock {
  width: 480px; position: relative;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
}
.feature-mock img {
  width: 100%; height: auto; display: none;
  border-radius: 19px;
}
.feature-mock img.active.screenshot-light { display: block; }
.feature-mock img.active.screenshot-dark  { display: none; }
[data-theme="dark"] .feature-mock img.active.screenshot-light { display: none; }
[data-theme="dark"] .feature-mock img.active.screenshot-dark  { display: block; }
.feature-mock::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--orange-deep), var(--orange));
}
.feature-mock[data-accent="blue"]::before { background: linear-gradient(90deg, #3B82BA, #5595CC); }
.mock-label { font-size: 13px; color: var(--text-3); text-align: center; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   LAUFTYPEN
   ══════════════════════════════════════════════════════════════ */
#lauftypen { text-align: center; }
.lauftypen-intro { margin: 0 auto 56px; max-width: 560px; }
.lauftypen-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.lauftyp-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 20px 20px; text-align: left;
  transition: background 0.2s, transform 0.2s;
}
.lauftyp-card:hover { background: var(--bg-card-hover); transform: translateY(-2px); }
.lauftyp-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.lauftyp-orb { width: 32px; height: 32px; flex-shrink: 0; }
.lauftyp-name {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700; font-size: 15px; color: var(--text-1);
}
.lauftyp-curve { width: 100%; height: 52px; margin-bottom: 12px; }
.lauftyp-desc { font-size: 12px; color: var(--text-2); line-height: 1.55; }

/* ══════════════════════════════════════════════════════════════
   ALGORITHMEN
   ══════════════════════════════════════════════════════════════ */
#algorithmen .algo-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.algo-cards { display: flex; flex-direction: column; gap: 16px; }
.algo-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px; display: flex;
  align-items: flex-start; gap: 16px; transition: background 0.2s;
}
.algo-card:hover { background: var(--bg-card-hover); }
.algo-icon {
  width: 40px; height: 40px; background: rgba(232,135,58,0.10);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--orange); flex-shrink: 0;
}
.algo-card h4 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700; font-size: 15px; color: var(--text-1); margin-bottom: 4px;
}
.algo-card p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════════
   PRIVACY
   ══════════════════════════════════════════════════════════════ */
#privacy { text-align: center; }
.privacy-flow {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; margin: 56px 0; flex-wrap: wrap;
}
.privacy-node { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.privacy-icon {
  width: 64px; height: 64px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 18px;
  display: flex; align-items: center; justify-content: center; color: var(--orange);
}
.privacy-label { font-size: 13px; font-weight: 500; color: var(--text-2); text-align: center; }
.privacy-icon-accent { background: rgba(232,135,58,0.10); border-color: rgba(232,135,58,0.25); }
.privacy-arrow { color: var(--text-3); font-size: 20px; flex-shrink: 0; }
.privacy-claims {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  max-width: 720px; margin: 0 auto;
}
.privacy-claim {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 20px; display: flex; align-items: flex-start; gap: 12px;
}
.check-icon { width: 20px; height: 20px; color: var(--mint); flex-shrink: 0; margin-top: 1px; }
.privacy-claim p { font-size: 14px; color: var(--text-2); line-height: 1.55; text-align: left; }
.privacy-claim strong { color: var(--text-1); }

/* ══════════════════════════════════════════════════════════════
   PRICING
   ══════════════════════════════════════════════════════════════ */
#pricing { text-align: center; }
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  margin-top: 56px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.price-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px 28px; text-align: left;
  position: relative; transition: border-color 0.2s;
}
.price-card.featured {
  border-color: rgba(232,135,58,0.40); background: rgba(232,135,58,0.05);
  transform: scale(1.05); z-index: 1;
}
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, #D4622B, #9E3A0E); color: white;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
[data-theme="dark"] .featured-badge { background: linear-gradient(135deg, #F0A05C, #C85A20); color: #1A1008; }
.price-name {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 700; font-size: 18px; color: var(--text-1); margin-bottom: 8px;
}
.price-amount {
  font-family: ui-monospace, 'SF Mono', monospace; font-weight: 800;
  font-size: 40px; color: var(--text-1); line-height: 1; margin-bottom: 4px;
}
.price-amount span { font-size: 18px; font-weight: 400; color: var(--text-2); }
.price-note { font-size: 12px; color: var(--text-3); margin-bottom: 28px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.price-features li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--text-2); line-height: 1.45;
}
.price-features li svg { flex-shrink: 0; color: var(--mint); margin-top: 2px; }
.price-cta {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 13px; border-radius: 12px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 15px; font-weight: 600;
  cursor: pointer; transition: all 0.2s; border: 1px solid var(--border-strong);
  background: var(--bg-card); color: var(--text-1); text-decoration: none;
}
.price-card.featured .price-cta {
  background: var(--text-1); border-color: transparent; color: var(--bg);
}
.price-cta:hover { opacity: 0.85; transform: translateY(-1px); }
.price-cta svg { width: 14px; height: 14px; fill: currentColor; }

/* ══════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════ */
#faq { text-align: center; }
.faq-list {
  max-width: 720px; margin: 56px auto 0; text-align: left;
  display: flex; flex-direction: column; gap: 2px;
}
.faq-item { border-radius: 14px; overflow: hidden; }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; background: var(--bg-card); border: none;
  color: var(--text-1);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px; font-weight: 500; cursor: pointer; text-align: left;
  transition: background 0.2s; gap: 16px;
}
.faq-q:hover { background: var(--bg-card-hover); }
.faq-q.open { background: rgba(232,135,58,0.08); }
.faq-chevron { flex-shrink: 0; transition: transform 0.25s; color: var(--text-3); }
.faq-q.open .faq-chevron { transform: rotate(180deg); color: var(--orange); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  background: rgba(232,135,58,0.04);
  font-size: 15px; color: var(--text-2); line-height: 1.7;
}
.faq-a.open { max-height: 300px; padding: 0 24px 20px; }

/* ══════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════ */
footer {
  background: var(--bg-2); border-top: 1px solid var(--border);
  padding: 56px 0 40px; position: relative; z-index: 1;
}
.footer-inner { display: flex; align-items: flex-start; gap: 64px; }
.footer-brand { flex: 1; }
.footer-wordmark { font-size: 24px; margin-bottom: 10px; display: flex; }
.footer-tagline { font-size: 13px; color: var(--text-3); line-height: 1.6; max-width: 240px; }
.footer-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-3); margin-bottom: 14px;
}
.footer-col a {
  display: block; font-size: 14px; color: var(--text-2);
  text-decoration: none; margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--text-1); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--text-3);
}

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES
   ══════════════════════════════════════════════════════════════ */
.legal-page { padding-top: calc(var(--nav-h) + 56px); padding-bottom: 96px; }
.legal-page .container { max-width: 760px; }
.legal-page h1 {
  font-family: 'Saira', sans-serif; font-weight: 900;
  font-size: clamp(28px, 5vw, 40px); line-height: 1.1;
  color: var(--text-1); margin-bottom: 8px;
}
.legal-page .legal-date { font-size: 13px; color: var(--text-3); margin-bottom: 48px; }
.legal-page h2 {
  font-size: 20px; font-weight: 700; color: var(--text-1);
  margin-top: 48px; margin-bottom: 16px;
}
.legal-page h3 {
  font-size: 16px; font-weight: 700; color: var(--text-1);
  margin-top: 32px; margin-bottom: 12px;
}
.legal-page p, .legal-page li {
  font-size: 15px; color: var(--text-2); line-height: 1.7; margin-bottom: 12px;
}
.legal-page ul { list-style: disc; padding-left: 24px; margin-bottom: 16px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--orange); text-decoration: underline; text-underline-offset: 2px; }
.legal-page a:hover { color: var(--orange-deep); }
.legal-page strong { color: var(--text-1); }
.legal-page hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.legal-page .legal-note {
  font-size: 13px; color: var(--text-3); font-style: italic;
  border-left: 3px solid var(--border); padding-left: 16px; margin-top: 40px;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .container { padding: 0 24px; }
  .nav-inner { padding: 0 24px; }
  section { padding: 64px 0; }

  /* Nav */
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .btn-appstore { display: none; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-left { align-items: center; text-align: center; }
  .hero-ctas { justify-content: center; }
  .hero-platform { justify-content: center; }
  .hero-visual { width: 100%; height: 320px; }
  .card-readiness, .card-lastrun, .card-pmc, .card-race { display: none; }

  /* Sections */
  .value-grid { grid-template-columns: 1fr; }
  .feature-stage { grid-template-columns: 1fr; gap: 32px; }
  .feature-mock { width: 100%; order: -1; }
  .lauftypen-grid { grid-template-columns: repeat(2,1fr); }
  #algorithmen .algo-inner { grid-template-columns: 1fr; gap: 40px; }
  .privacy-claims { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; }
  .footer-inner { flex-wrap: wrap; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  section { padding: 48px 0; }
  .hero-tagline { font-size: 32px; }
  .hero-icon { width: 240px; height: 240px; }
  .hero-orb-ring { width: 260px; height: 260px; }
  .hero-orb-ring2 { width: 320px; height: 320px; }
  .lauftypen-grid { grid-template-columns: 1fr; }
  .feature-tabs { gap: 6px; }
  .tab-btn { padding: 8px 14px; font-size: 13px; }
  .privacy-flow { flex-direction: column; gap: 16px; }
  .privacy-arrow { transform: rotate(90deg); }
  .pricing-grid { max-width: 100%; }
}
