:root {
  --bg:        #080809;
  --bg-card:   #0f0f15;
  --bg-card-2: #161621;
  --bg-input:  #1c1c28;
  --border:    #252535;
  --border-h:  #3a3a55;
  --accent:    #FFCC00;
  --accent-dim:rgba(255,204,0,0.12);
  --accent-gl: rgba(255,204,0,0.28);
  --text:      #ededf5;
  --text-2:    #aaaacc;
  --text-3:    #7878a8;
  --green:     #4ade80;
  --yellow:    #FFCC00;
  --rain:      #60a5fa;
  --r: 14px; --rs: 8px;
  --font: 'Barlow', sans-serif;
  --fc:   'Barlow Condensed', sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
  --tr: 0.18s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed; inset: 0; pointer-events: none; z-index: 999;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.025;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 0 18px 80px; position: relative; z-index: 1; }

/* ── HEADER ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  padding-top: env(safe-area-inset-top, 0px);
  margin-bottom: 36px;
  transition: padding var(--tr);
}
header.scrolled {
  padding-top: calc(8px + env(safe-area-inset-top, 0px));
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg);
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--border);
  transition: border-radius 0.25s var(--ease), box-shadow 0.25s var(--ease),
              background 0.25s var(--ease), border-color 0.25s var(--ease),
              padding 0.25s var(--ease);
}
header.scrolled .header-inner {
  border-radius: 18px;
  border-bottom-color: transparent;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  background: rgba(8,8,9,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 16px;
}
.logo-link { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.logo-svg {
  width: 38px; height: 38px; flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(255,204,0,0.45));
}
.logo-name { font-family: var(--fc); font-weight: 900; font-size: 20px; }
.logo-name em { color: var(--accent); font-style: normal; }
.logo-sub { font-family: var(--fc); font-size: 9px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-3); margin-top: 2px; }
.btn-back {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card-2); border: 1.5px solid var(--border);
  border-radius: var(--rs); padding: 9px 14px;
  color: var(--text-2); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all var(--tr);
}
.btn-back:hover { border-color: var(--accent); color: var(--accent); }

/* ── HERO ── */
.hero {
  text-align: center;
  padding: 10px 0 40px;
}
.hero-badge {
  display: inline-block;
  font-family: var(--fc); font-weight: 700; font-size: 12px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--accent);
  background: var(--accent-dim); border: 1px solid var(--accent-gl);
  border-radius: 20px; padding: 4px 14px; margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--fc); font-weight: 900; font-size: clamp(28px, 6vw, 42px);
  line-height: 1.1; margin-bottom: 16px; color: var(--text);
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-lead {
  font-size: 17px; color: var(--text-2); max-width: 560px; margin: 0 auto 28px;
  line-height: 1.7;
}
.hero-icon { font-size: 52px; margin-bottom: 16px; display: block; }

/* ── SECTION ── */
section { margin-bottom: 44px; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--fc); font-weight: 700; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 10px;
}
h2 {
  font-family: var(--fc); font-weight: 900; font-size: 26px;
  color: var(--text); margin-bottom: 14px; line-height: 1.2;
}
h2 span { color: var(--accent); }
p { color: var(--text-2); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }

/* ── DIVIDER ── */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── PROBLEM/LÖSUNG CARD ── */
.split-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 540px) { .split-grid { grid-template-columns: 1fr; } }
.split-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 18px;
}
.split-card.problem { border-color: rgba(248,113,113,0.25); }
.split-card.solution { border-color: rgba(74,222,128,0.25); }
.split-label {
  font-family: var(--fc); font-weight: 700; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px;
}
.split-card.problem .split-label { color: #f87171; }
.split-card.solution .split-label { color: var(--green); }
.split-card ul { list-style: none; }
.split-card li {
  font-size: 14px; color: var(--text-2); padding: 5px 0;
  border-bottom: 1px solid var(--border); display: flex; gap: 8px;
}
.split-card li:last-child { border-bottom: none; }
.split-card li::before { flex-shrink: 0; margin-top: 1px; }
.split-card.problem li::before { content: '✗'; color: #f87171; }
.split-card.solution li::before { content: '✓'; color: var(--green); }

/* ── STEPS ── */
.steps { display: flex; flex-direction: column; gap: 16px; }
.step {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 18px 20px;
  transition: border-color var(--tr);
}
.step:hover { border-color: var(--border-h); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #0a0a0c;
  font-family: var(--fc); font-weight: 900; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-body h3 {
  font-family: var(--fc); font-weight: 700; font-size: 17px;
  color: var(--text); margin-bottom: 6px;
}
.step-body p { font-size: 14px; margin-bottom: 0; }
.step-tip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim); border: 1px solid var(--accent-gl);
  border-radius: 6px; padding: 5px 10px; margin-top: 8px;
  font-size: 13px; color: var(--text-2);
}
.step-tip strong { color: var(--accent); }

/* ── AMPEL ── */
.ampel-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
@media (max-width: 480px) { .ampel-grid { grid-template-columns: 1fr; } }
.ampel-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 20px 16px; text-align: center;
}
.ampel-dot {
  width: 28px; height: 28px; border-radius: 50%;
  margin: 0 auto 12px; flex-shrink: 0;
}
.ampel-card.g .ampel-dot { background: var(--green); box-shadow: 0 0 12px var(--green); }
.ampel-card.y .ampel-dot { background: var(--yellow); box-shadow: 0 0 12px var(--yellow); }
.ampel-card.b .ampel-dot { background: var(--rain); box-shadow: 0 0 12px var(--rain); }
.ampel-card.g { border-color: rgba(74,222,128,0.25); }
.ampel-card.y { border-color: rgba(255,204,0,0.25); }
.ampel-card.b { border-color: rgba(96,165,250,0.25); }
.ampel-val {
  font-family: var(--fc); font-weight: 900; font-size: 22px;
  margin-bottom: 4px;
}
.ampel-card.g .ampel-val { color: var(--green); }
.ampel-card.y .ampel-val { color: var(--yellow); }
.ampel-card.b .ampel-val { color: var(--rain); }
.ampel-label { font-family: var(--fc); font-weight: 700; font-size: 14px; color: var(--text); margin-bottom: 6px; }
.ampel-desc { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ── INFO BOX ── */
.info-box {
  background: var(--bg-card); border: 1.5px solid var(--border-h);
  border-radius: var(--r); padding: 16px 18px; margin-top: 14px;
  font-size: 14px; color: var(--text-2); line-height: 1.6;
}
.info-box strong { color: var(--text); }

/* ── FEATURE LIST ── */
.feature-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
@media (max-width: 540px) { .feature-list { grid-template-columns: 1fr; } }
.feature-item {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 16px 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.feature-item.pro-item { border-color: rgba(255,204,0,0.25); }
.feature-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.feature-title { font-family: var(--fc); font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 3px; }
.feature-desc  { font-size: 13px; color: var(--text-2); line-height: 1.5; }

/* ── CHART ERKLAERUNG ── */
.chart-explain {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 20px;
}
.chart-explain-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 10px 0; border-bottom: 1px solid var(--border);
}
.chart-explain-row:last-child { border-bottom: none; }
.chart-explain-icon { font-size: 20px; flex-shrink: 0; min-width: 28px; text-align: center; }
.chart-explain-text h4 {
  font-family: var(--fc); font-weight: 700; font-size: 15px; color: var(--text); margin-bottom: 3px;
}
.chart-explain-text p { font-size: 13px; margin: 0; }

/* ── INSTALL ── */
.install-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 500px) { .install-grid { grid-template-columns: 1fr; } }
.install-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 20px;
}
.install-os {
  font-family: var(--fc); font-weight: 900; font-size: 18px;
  color: var(--text); margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.install-step {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 10px; font-size: 14px; color: var(--text-2);
}
.install-step:last-child { margin-bottom: 0; }
.install-n {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent); color: #0a0a0c;
  font-family: var(--fc); font-weight: 700; font-size: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ── ZEITSTRAHL LEGENDE ── */
.timeline-legend {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 18px 20px;
  display: flex; flex-direction: column; gap: 12px;
}
.tl-row { display: flex; gap: 14px; align-items: center; }
.tl-swatch { width: 44px; height: 18px; border-radius: 4px; flex-shrink: 0; }
.tl-swatch.active { background: linear-gradient(90deg, #60a5fa, #4ade80); opacity: 0.9; }
.tl-swatch.faint  { background: linear-gradient(90deg, #60a5fa, #FFCC00); opacity: 0.2; }
.tl-swatch.frame  { background: transparent; border: 1.5px solid rgba(255,204,0,0.5); border-radius: 4px; }
.tl-swatch.past   { background: #555; opacity: 0.4; }
.tl-swatch.now    { background: transparent; border: 1.5px dashed var(--accent); }
.tl-text { font-size: 14px; color: var(--text-2); }
.tl-text strong { color: var(--text); }

/* ── PRO SECTION ── */
.pro-compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-bottom: 16px;
}
@media (max-width: 520px) { .pro-compare { grid-template-columns: 1fr; } }
.pro-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 20px;
}
.pro-card.highlighted { border-color: rgba(255,204,0,0.4); }
.pro-card-title {
  font-family: var(--fc); font-weight: 900; font-size: 18px;
  color: var(--text); margin-bottom: 4px;
}
.pro-card.highlighted .pro-card-title { color: var(--accent); }
.pro-card-price {
  font-family: var(--fc); font-weight: 700; font-size: 14px;
  color: var(--text-3); margin-bottom: 14px;
}
.pro-card ul { list-style: none; }
.pro-card li {
  font-size: 14px; color: var(--text-2); padding: 6px 0;
  border-bottom: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-start;
}
.pro-card li:last-child { border-bottom: none; }
.pro-card li .check { flex-shrink: 0; margin-top: 2px; }
.pro-card.highlighted li .check { color: var(--accent); }
.check-green { color: var(--green); }
.check-dim   { color: var(--text-3); }
.pro-steps { display: flex; flex-direction: column; gap: 12px; }
.pro-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 16px 18px;
}
.pro-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #0a0a0c;
  font-family: var(--fc); font-weight: 900; font-size: 16px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pro-step-body h4 {
  font-family: var(--fc); font-weight: 700; font-size: 16px;
  color: var(--text); margin-bottom: 4px;
}
.pro-step-body p { font-size: 14px; margin: 0; }

/* ── COMMUNITY ── */
.community-link {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-card); border: 1.5px solid var(--border-h);
  border-radius: var(--r); padding: 18px 20px; text-decoration: none; color: inherit;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.community-link:hover { border-color: #1877F2; box-shadow: 0 0 20px rgba(24,119,242,0.15); }
.community-link .ci { font-size: 34px; flex-shrink: 0; }
.community-link .ct { flex: 1; }
.community-link .ct strong { display: block; font-family: var(--fc); font-weight: 900; font-size: 17px; color: var(--text); margin-bottom: 3px; }
.community-link .ct span { font-size: 13px; color: var(--text-2); }
.community-link .cta {
  background: #1877F2; color: #fff;
  font-family: var(--fc); font-weight: 700; font-size: 13px;
  padding: 9px 14px; border-radius: 7px; white-space: nowrap;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border); padding: 24px 0 10px;
  text-align: center; color: var(--text-3); font-size: 12px;
}
footer a { color: var(--accent); text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ── UTILITY ── */
.para-mt  { margin-top: 14px; }
.para-mb  { margin-bottom: 16px; }
.para-mb-sm { margin-bottom: 8px; }
.pro-unlock-heading {
  font-family: var(--fc); font-size: 20px; font-weight: 900;
  color: var(--text); margin: 24px 0 14px;
}

/* ── LIGHT THEME ─────────────────────────────────────────── */
html.is-light {
  --bg:        #f4f4f8;
  --bg-card:   #ffffff;
  --bg-card-2: #ebebf3;
  --bg-input:  #e2e2ec;
  --border:    #d0d0e0;
  --border-h:  #a0a0c0;
  --text:      #111118;
  --text-2:    #2a2a52;
  --text-3:    #5a5878;
  --accent-dim: rgba(255,204,0,0.28);
  --accent-gl:  rgba(255,204,0,0.50);
  --yellow:    #CC8800;
  --green:     #15803d;
  --rain:      #1d4ed8;
}
html.is-light body   { background: var(--bg); }
html.is-light body::after { opacity: 0.008; }
html.is-light header { background: var(--bg); }

html.is-light header.scrolled .header-inner {
  background: rgba(244,244,248,0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

html.is-light .hero h1 { color: var(--text); }
html.is-light .hero-lead { color: var(--text-2); }

html.is-light .split-card { background: var(--bg-card); border-color: var(--border); }
html.is-light .split-card.problem { border-color: rgba(220,38,38,0.25); }
html.is-light .split-card.solution { border-color: rgba(21,128,61,0.25); }
html.is-light .split-card li { color: var(--text-2); border-bottom-color: var(--border); }

html.is-light .step { background: var(--bg-card); border-color: var(--border); }
html.is-light .step:hover { border-color: var(--border-h); }
html.is-light .step-body h3 { color: var(--text); }

html.is-light .ampel-card { background: var(--bg-card); border-color: var(--border); }
html.is-light .ampel-card.g { border-color: rgba(21,128,61,0.3); }
html.is-light .ampel-card.y { border-color: rgba(204,136,0,0.3); }
html.is-light .ampel-card.b { border-color: rgba(29,78,216,0.3); }
html.is-light .ampel-card.g .ampel-dot { background: var(--green); box-shadow: 0 0 12px rgba(21,128,61,0.4); }
html.is-light .ampel-card.y .ampel-dot { background: var(--yellow); box-shadow: 0 0 12px rgba(204,136,0,0.4); }
html.is-light .ampel-card.b .ampel-dot { background: var(--rain);   box-shadow: 0 0 12px rgba(29,78,216,0.4); }
html.is-light .ampel-card.y .ampel-val { color: var(--yellow); }
html.is-light .ampel-label { color: var(--text); }
html.is-light .ampel-desc  { color: var(--text-2); }

html.is-light .info-box { background: var(--bg-card); border-color: var(--border-h); color: var(--text-2); }
html.is-light .info-box strong { color: var(--text); }

html.is-light .feature-item { background: var(--bg-card); border-color: var(--border); }
html.is-light .feature-item.pro-item { border-color: rgba(204,136,0,0.3); }
html.is-light .feature-title { color: var(--text); }
html.is-light .feature-desc  { color: var(--text-2); }

html.is-light .chart-explain { background: var(--bg-card); border-color: var(--border); }
html.is-light .chart-explain-row { border-bottom-color: var(--border); }
html.is-light .chart-explain-text h4 { color: var(--text); }

html.is-light .install-card { background: var(--bg-card); border-color: var(--border); }
html.is-light .install-os { color: var(--text); }
html.is-light .install-step { color: var(--text-2); }

html.is-light .timeline-legend { background: var(--bg-card); border-color: var(--border); }
html.is-light .tl-text { color: var(--text-2); }
html.is-light .tl-text strong { color: var(--text); }

html.is-light .pro-card { background: var(--bg-card); border-color: var(--border); }
html.is-light .pro-card.highlighted { border-color: rgba(204,136,0,0.4); }
html.is-light .pro-card-title { color: var(--text); }
html.is-light .pro-card-price { color: var(--text-3); }
html.is-light .pro-card li { color: var(--text-2); border-bottom-color: var(--border); }

html.is-light .pro-step { background: var(--bg-card); border-color: var(--border); }
html.is-light .pro-step-body h4 { color: var(--text); }
html.is-light .pro-step-body p { color: var(--text-2); }

html.is-light .community-link { background: var(--bg-card); border-color: var(--border-h); }
html.is-light .community-link .ct strong { color: var(--text); }
html.is-light .community-link .ct span   { color: var(--text-2); }

html.is-light footer { border-top-color: var(--border); color: var(--text-3); }
html.is-light h2 { color: var(--text); }
html.is-light p  { color: var(--text-2); }
html.is-light strong { color: var(--text); }
html.is-light .divider { border-top-color: var(--border); }
html.is-light .btn-back { background: var(--bg-card-2); border-color: var(--border); color: var(--text-2); }
html.is-light .btn-back:hover { border-color: var(--accent); color: #8a5800; }
