:root {
  --bg:        #0D0D0D;
  --bg-card:   #1A1A1A;
  --bg-card-2: #222222;
  --bg-input:  #1A1A24;
  --border:    #2A2A2A;
  --border-h:  #3A3A55;
  --accent:    #F5C800;
  --accent-dim:rgba(245,200,0,0.12);
  --accent-gl: rgba(245,200,0,0.28);
  --text:      #ededf5;
  --logo-drive: #FAFAFA; /* LOCKED LogoBeschreibung.md - DRIVE im Dark-Theme byte-genau #FAFAFA */
  --text-2:    #aaaacc;
  --text-3:    #7878a8;
  --green:     #4ade80;
  --yellow:    #F5C800;
  --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(13,13,13,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 16px;
}
.logo-link {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 5px; text-decoration: none; color: inherit;
}
.logo-top { display: flex; align-items: center; gap: 14px; }
.logo-svg {
  width: 44px; height: 44px; flex-shrink: 0;
  /* LOCKED · LogoBeschreibung.md §8 - kein Schatten/Glow/Filter */
}
.logo-name { display: flex; flex-direction: column; font-family: var(--fc); line-height: 1; gap: 3px; }
.logo-name-drive { font-weight: 900; font-size: 24px; color: var(--logo-drive); font-style: normal; text-transform: uppercase; letter-spacing: -0.023em; }
.logo-name-drive::after { content: '.'; color: var(--accent); }
.logo-name-dry   { font-weight: 700; font-size: 11px; color: var(--accent); font-style: normal; text-transform: uppercase; letter-spacing: 0.368em; }
.logo-sub { font-family: var(--fc); font-size: 12px; font-weight: 400; letter-spacing: 3px; text-transform: uppercase; color: var(--text-3); }
.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: 13px 14px; min-height: 44px;
  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: 0; color: var(--text);
}
.hero-sub { font-size: 16px; color: var(--text-2); margin-top: 10px; }

/* BETA BANNER */
.beta-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  padding: 18px 20px;
  background: rgba(245, 200, 0, 0.11);
  border: 2px solid rgba(245, 200, 0, 0.55);
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}
.beta-badge {
  flex-shrink: 0;
  padding: 4px 10px;
  background: var(--accent);
  color: #0D0D0D;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.beta-banner-text strong {
  color: var(--accent);
  font-weight: 700;
}
.beta-banner-text small {
  display: block;
  font-size: 13px;
  color: var(--text-2);
  margin-top: 2px;
  font-weight: 400;
}
html.is-light .beta-banner {
  background: rgba(245, 200, 0, 0.13);
  border-color: rgba(180, 140, 0, 0.45);
}

/* BETA NOTE UNTER BUTTONS */
.beta-btn-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-3);
  margin-top: 12px;
  padding: 10px 16px;
  background: rgba(245, 200, 0, 0.06);
  border: 1px solid rgba(245, 200, 0, 0.18);
  border-radius: 8px;
  line-height: 1.5;
}
.beta-btn-note strong { color: var(--accent); font-weight: 600; }

/* Hinweis unter der Feature-Tabelle */
.table-note { text-align: center; font-size: 13px; color: var(--text-2); margin-top: 10px; }

/* ── SECTION ── */
section { margin-bottom: 36px; }
h2 {
  font-family: var(--fc); font-weight: 900; font-size: 22px;
  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: 10px; }
p:last-child { margin-bottom: 0; }
strong { color: var(--text); font-weight: 600; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── FEATURE-VERGLEICH ── */
.comparison-table { width: 100%; border-collapse: collapse; margin: 0 0 4px; }
.comparison-table th {
  font-size: 12px; color: var(--text-3); font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; text-align: left; padding: 8px 12px;
  border-bottom: 1px solid var(--border);
}
.comparison-table th:not(:first-child) { text-align: center; }
.comparison-table td {
  padding: 10px 12px; font-size: 14px;
  border-bottom: 1px solid var(--border);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:not(:first-child) { text-align: center; }
.col-feat { color: var(--text-2); }
.col-free { color: var(--text-3); }
.col-pro  { color: var(--green); font-weight: 600; }

/* ── PRICING GRID ── */
.pricing-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 32px;
}
@media (max-width: 520px) { .pricing-grid { grid-template-columns: 1fr; } }

.pricing-card {
  background: var(--bg-card-2); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 26px 22px; position: relative;
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-dim), 0 4px 28px var(--accent-dim);
}

.price-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--accent); color: #0D0D0D;
  font-family: var(--fc); font-size: 11px; font-weight: 700;
  letter-spacing: 0.5px; padding: 3px 10px; border-radius: 20px;
}

.price-label { font-size: 13px; color: var(--text-3); margin-bottom: 8px; }
.price-amount {
  font-family: var(--fc); font-size: 52px; font-weight: 700;
  color: var(--text); line-height: 1;
}
.price-currency { font-size: 28px; vertical-align: super; line-height: 1; }
.price-period { font-size: 14px; color: var(--text-2); margin: 6px 0 4px; }
.price-sub { font-size: 12px; color: var(--text-3); margin-bottom: 22px; min-height: 18px; }

.btn-buy {
  display: block; width: 100%; padding: 13px;
  background: var(--accent); color: #0D0D0D;
  border: none; border-radius: var(--rs);
  font-family: var(--font); font-size: 15px; font-weight: 700;
  cursor: pointer; text-align: center; text-decoration: none;
  box-sizing: border-box; transition: opacity var(--tr);
}
.btn-buy:hover { opacity: 0.88; text-decoration: none; }

/* ── INFO-BOX ── */
.info-box {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 16px 20px;
  font-size: 14px; color: var(--text-2); line-height: 1.7;
  margin-bottom: 32px;
}
.info-box code {
  font-family: 'Courier New', monospace; color: var(--accent);
  background: var(--accent-dim); border-radius: 4px; padding: 1px 5px;
  font-size: 13px;
}
.info-box strong { color: var(--text); }

/* ── TRUST LIST ── */
/* ── RECHTLICHE PFLICHTINFOS UNTER PREISKARTEN ── */
.price-legal {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.7;
}
.price-legal p { margin-bottom: 6px; font-size: 12px; color: var(--text-3); }
.price-legal p:last-child { margin-bottom: 0; }
.price-legal a { color: var(--accent); }
.price-legal strong { color: var(--text-2); font-weight: 600; }

.trust-list {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px;
}
.trust-list li {
  font-size: 14px; color: var(--text-2); line-height: 1.6;
  padding-left: 24px; position: relative;
}
.trust-list li::before {
  content: '✓'; position: absolute; left: 0;
  color: var(--green); font-weight: 700; font-size: 15px;
}
.trust-list li strong { color: var(--text); }

/* ── 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; }

/* ── LIGHT THEME ── */
html.is-light {
  --bg:        #FAFAFA;
  --bg-card:   #ffffff;
  --bg-card-2: #ebebf3;
  --bg-input:  #e2e2ec;
  --border:    #d0d0e0;
  --border-h:  #a0a0c0;
  --text:      #111118;
  --logo-drive: var(--text);
  --text-2:    #2a2a52;
  --text-3:    #5a5878;
  --accent-dim: rgba(245,200,0,0.28);
  --accent-gl:  rgba(245,200,0,0.50);
  --yellow:    #C4920C;
  --green:     #15803d;
}
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(250,250,250,0.92);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
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: #7D5A08; }
html.is-light .comparison-table th { color: var(--text-3); border-bottom-color: var(--border); }
html.is-light .comparison-table td { border-bottom-color: var(--border); }
html.is-light .col-free { color: var(--text-3); }
html.is-light .pricing-card  { background: var(--bg-card-2); border-color: var(--border); }
html.is-light .pricing-card.featured { border-color: var(--accent); }
html.is-light .price-amount  { color: var(--text); }
html.is-light .btn-buy       { color: #0D0D0D; }
html.is-light .info-box      { background: var(--bg-card); border-color: var(--border); color: var(--text-2); }
html.is-light .info-box strong { color: var(--text); }
html.is-light footer { border-top-color: var(--border); color: var(--text-3); }

.hero-sub-small {
  font-size: 0.85rem;
  color: var(--text-3);
  margin-top: 0.25rem;
}
