/* Drandenker — Design-Tokens aus src/theme.ts.
   Keine Webfonts, keine Drittinhalte: die Seite lädt ausschließlich
   eigene Dateien (siehe datenschutz.html). */

:root {
  --bg: #FAF7F2;
  --bg2: #F2EEE6;
  --ink: #1A1A1A;
  --ink2: #2B2B2B;
  --muted: #6B6B6B;
  --muted2: #9A9A9A;
  --line: #E6E1D7;
  --line2: #D9D2C4;
  --card: #FFFFFF;
  --accent: #E85D3C;
  --accent2: #FFE9DF;
  --green: #2F8D5C;
  --green2: #E1F1E7;
  --shadow-card: 0 2px 12px rgba(31, 24, 15, .05);
  --shadow-cta: 0 8px 24px rgba(26, 26, 26, .25);
  --shadow-phone: 0 26px 60px rgba(31, 24, 15, .22);
  --radius: 18px;
  --wrap: 1080px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto,
          "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141312;
    --bg2: #1D1B19;
    --ink: #F5F1EA;
    --ink2: #E4DED4;
    --muted: #A9A29A;
    --muted2: #8A837B;
    --line: #2C2926;
    --line2: #3A3631;
    --card: #1D1B19;
    --accent: #FF7A5A;
    --accent2: #3A2019;
    --green: #5CC28C;
    --green2: #1D2E24;
    --shadow-card: 0 2px 12px rgba(0, 0, 0, .3);
    --shadow-cta: 0 8px 24px rgba(0, 0, 0, .5);
    --shadow-phone: 0 26px 60px rgba(0, 0, 0, .55);
  }
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;   /* sticky header */
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

a { color: var(--accent); }
a:hover { color: var(--ink); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 14px; }
h1 { font-size: clamp(34px, 6vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 14px; }

/* ---- Header --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 64px;
}
.site-header img { border-radius: 9px; }
.site-header .name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.site-header nav {
  margin-left: auto;
  display: flex;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
}
.site-header nav a { color: var(--muted); text-decoration: none; }
.site-header nav a:hover { color: var(--ink); }

/* ---- Badge (Drandenker-Motiv: das HEUTE-Pill der App) ---------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--accent2);
  color: var(--accent);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.badge svg { width: 14px; height: 14px; flex: none; }

/* ---- Sections ------------------------------------------------------- */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }

.section-head { max-width: 620px; margin-bottom: 34px; }
.section-head p { color: var(--muted); font-size: 18px; margin: 0; }

.lead {
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--ink2);
  max-width: 34em;
}

/* ---- Hero ----------------------------------------------------------- */
.hero {
  padding: 64px 0 76px;
  background:
    radial-gradient(900px 460px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(700px 460px at 0% 110%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 70%);
  border-top: 4px solid var(--accent);
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.hero h1 .accent { color: var(--accent); }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 26px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 11px 20px 11px 16px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  box-shadow: var(--shadow-cta);
}
.store-btn:hover { color: var(--bg); opacity: .9; }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn span { display: flex; flex-direction: column; line-height: 1.1; }
.store-btn .small { font-size: 11px; opacity: .75; }
.store-btn .big { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.price-note { margin: 0; font-size: 14.5px; color: var(--muted); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.hero-facts li {
  padding: 6px 13px;
  border: 1px solid var(--line2);
  border-radius: 999px;
  background: var(--card);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink2);
}

/* ---- Phone frame ---------------------------------------------------- */
.phone-col { display: flex; justify-content: center; }
.phone {
  width: min(300px, 78vw);
  padding: 10px;
  border-radius: 44px;
  background: #1E1B18;
  box-shadow: var(--shadow-phone);
}
.phone img { display: block; border-radius: 34px; }

/* ---- Feature rows --------------------------------------------------- */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 52px;
  align-items: center;
}
.feature-row.flip .phone-col { order: -1; }
.feature-row ul { margin: 0; padding-left: 22px; }
.feature-row li { margin-bottom: 10px; color: var(--ink2); }
.feature-row li::marker { color: var(--accent); }

/* ---- Steps ---------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent2);
  color: var(--accent);
  font-weight: 800;
  font-size: 16px;
}
.step p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---- Cards / grids -------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.card p + p { margin-top: 10px; }

.profiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.profile { text-align: left; }
.profile .count {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--accent);
  line-height: 1.1;
}
.profile .count small {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted2);
  margin-top: 4px;
}
.profile h3 { margin: 14px 0 6px; }

.privacy { background: var(--bg2); }
.privacy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 26px 30px;
}
.privacy-grid .item h3 { margin-bottom: 6px; }
.privacy-grid .item h3::before {
  content: "✓";
  display: inline-block;
  margin-right: 8px;
  color: var(--green);
  font-weight: 800;
}
.privacy-grid .item p { margin: 0; color: var(--muted); font-size: 16px; }
.privacy .foot { margin: 30px 0 0; color: var(--muted); }

/* ---- Preis ---------------------------------------------------------- */
.price-card {
  max-width: 460px;
  padding: 30px;
  border: 1px solid var(--line2);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-card);
}
.price-card .tier {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted2);
}
.price-card .amount {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -.03em;
  margin: 6px 0 2px;
}
.price-card .per { color: var(--muted); font-size: 15px; margin-bottom: 16px; }
.price-card ul { margin: 0; padding-left: 22px; }
.price-card li { margin-bottom: 8px; color: var(--ink2); }
.price-card li::marker { color: var(--accent); }

/* ---- FAQ ------------------------------------------------------------ */
.faq details {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  padding: 4px 18px;
  margin-bottom: 12px;
}
.faq summary {
  cursor: pointer;
  padding: 14px 0;
  font-weight: 700;
  letter-spacing: -.01em;
}
.faq summary::marker { color: var(--accent); }
.faq details p { color: var(--muted); font-size: 16px; }
.faq details p:last-child { margin-bottom: 14px; }

/* ---- Support -------------------------------------------------------- */
.support .card { max-width: 640px; }

/* ---- Legal pages ---------------------------------------------------- */
.legal { padding: 56px 0 72px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 4.5vw, 40px); }
.legal h2 {
  font-size: 21px;
  font-weight: 700;
  margin: 34px 0 10px;
}
.legal p, .legal li { color: var(--ink2); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-bottom: 8px; }
.legal li::marker { color: var(--accent); }
.legal address { font-style: normal; color: var(--ink2); }
.legal .stand { color: var(--muted); font-size: 15px; margin-top: -6px; }
.legal .note {
  margin: 26px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: var(--bg2);
  border-radius: 0 12px 12px 0;
}

/* ---- Footer --------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 40px;
  font-size: 14.5px;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}
.site-footer .copy { color: var(--muted); margin-right: auto; }
.site-footer a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-footer a:hover { color: var(--ink); }

/* ---- Responsive ----------------------------------------------------- */
@media (max-width: 900px) {
  .hero .wrap, .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip .phone-col { order: 0; }
  .steps, .profiles { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .site-header nav { gap: 16px; font-size: 14px; }
}

@media (max-width: 520px) {
  .site-header nav a:not(.compact) { display: none; }
  .hero { padding-top: 44px; }
}
