/* ===================== FONTS (selbst gehostet – DSGVO) =====================
   Lade die .woff2-Dateien nach /landing/fonts/ (Anleitung in README.md).
   Bis dahin greift automatisch der System-Font-Fallback – Seite bleibt nutzbar. */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-SemiBold.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/fonts/PlusJakartaSans-Bold.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ===================== TOKENS ===================== */
:root {
  /* Seite ist nur für Light gebaut — verhindert das automatische Einfärben
     durch "Force Dark" (z. B. Chrome auf Android). */
  color-scheme: light only;

  --primary: #6D5DF6;
  --primary-dark: #4B3FD1;
  --lavender: #EDEBFF;
  --coral: #FF9F7A;
  --cream: #FAF8F5;
  --ink: #1A1626;
  --muted: #6B6677;
  --dark: #14121C;
  --radius-card: 20px;
  --radius-btn: 12px;
  --shadow: 0 12px 40px rgba(109, 93, 246, 0.12);
  --container: 1140px;
  --narrow: 720px;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
/* Sichtbare Fokus-Ringe für Tastatur-Navigation (a11y, Skill §1) */
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 6vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
h3 { font-size: 1.2rem; font-weight: 600; }

/* ===================== LAYOUT ===================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: var(--narrow); }
.center { text-align: center; }
section { padding-block: 100px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block; font-family: var(--font-head); font-weight: 600;
  border-radius: var(--radius-btn); padding: 14px 26px; border: none;
  cursor: pointer; font-size: 1rem; transition: background .15s, transform .15s;
  text-align: center; touch-action: manipulation;
}
.faq summary, .consent { cursor: pointer; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }

/* ===================== BADGES / EYEBROW ===================== */
.badge {
  display: inline-block; font-size: .85rem; font-weight: 600;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.badge-coral { background: #FFE7DC; color: #C25430; }
.eyebrow { display: block; font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.eyebrow-coral { color: var(--coral); }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 245, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid rgba(26, 22, 38, .06);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 8px; font-family: var(--font-head);
  font-weight: 700; font-size: 1.25rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--primary); text-decoration: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ===================== HERO ===================== */
.hero { padding-block: 120px 90px;
  background: radial-gradient(120% 80% at 70% 0%, var(--lavender) 0%, var(--cream) 55%); }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 20px; }
.lead { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; max-width: 30em; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone { border-radius: 36px; box-shadow: var(--shadow); }
.nog-wave { position: absolute; left: -10px; bottom: 20px; }

/* ===================== FORM ===================== */
.waitlist-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; max-width: 460px; }
.waitlist-form input[type="email"] {
  font: inherit; padding: 14px 16px; border: 1px solid rgba(26,22,38,.15);
  border-radius: var(--radius-btn); background: #fff; color: var(--ink);
}
.waitlist-form input[type="email"]:focus { outline: 2px solid var(--primary); border-color: var(--primary); }
.waitlist-form .consent { grid-column: 1 / -1; display: flex; gap: 8px; align-items: flex-start;
  font-size: .82rem; color: var(--muted); }
.waitlist-form .consent input { margin-top: 3px; }
.form-msg { grid-column: 1 / -1; font-size: .9rem; min-height: 1.2em; }
.form-msg.ok { color: #1a8a4b; }
.form-msg.err { color: #c0392b; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.microcopy { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.waitlist-form-center { margin-inline: auto; }

/* ===================== TRUSTBAR ===================== */
.trustbar { background: var(--lavender); padding-block: 22px; }
.trustbar ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 28px;
  justify-content: center; font-size: .9rem; color: var(--muted); font-weight: 500; }
.trustbar li { position: relative; }
.trustbar li:not(:last-child)::after { content: "·"; position: absolute; right: -16px; }

/* ===================== PROBLEM ===================== */
.problem h2 { margin-bottom: 20px; }
.problem p { color: var(--muted); font-size: 1.1rem; }
.pain-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.pain-cards .card { background: #fff; border-radius: var(--radius-card); padding: 28px 22px;
  box-shadow: var(--shadow); font-family: var(--font-head); font-weight: 600; color: var(--ink); }

/* ===================== STEPS ===================== */
.steps { background: var(--cream); }
.steps h2 { margin-bottom: 56px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step { text-align: left; }
.step-num { display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--lavender);
  color: var(--primary); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; margin-bottom: 18px; }
.step h3 { margin-bottom: 10px; }
.step p { color: var(--muted); }

/* ===================== FEATURES ===================== */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-grid.reverse .feature-media { order: 2; }
.feature-alt { background: var(--lavender); }
.feature-copy h2 { margin-bottom: 18px; }
.feature-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 24px; }
.feature-media img { margin-inline: auto; border-radius: 32px; box-shadow: var(--shadow); }
/* Vorher/Nachher: zwei Phones + Pfeil, automatisch responsive */
.beforeafter { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 2.5vw, 20px); }
.beforeafter img { width: auto; max-width: 44%; height: auto; margin-inline: 0; }
.beforeafter img:first-of-type { rotate: -3deg; }
.beforeafter img:last-of-type { rotate: 3deg; }
.beforeafter-arrow { flex: 0 0 auto; color: var(--primary); font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 700; line-height: 1; }
.checks { list-style: none; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 700; }
.feature-dark { background: var(--dark); }
.feature-dark h2, .feature-dark .feature-copy strong { color: #fff; }
.feature-dark p { color: #B8B4C4; }
.checks-light li { color: #E6E4EE; }
.checks-light li::before { color: var(--primary); }

/* ===================== COMPARE ===================== */
.compare h2 { margin-bottom: 16px; }
.compare-intro { color: var(--muted); font-size: 1.1rem; max-width: 34em; margin: 0 auto 48px; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 760px; margin-inline: auto; }
.compare-card { border-radius: var(--radius-card); padding: 32px; text-align: left; }
.compare-card h3 { margin-bottom: 16px; }
.compare-card ul { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.compare-bad { background: #F3F1EE; }
.compare-good { background: #fff; box-shadow: var(--shadow); border: 2px solid var(--primary); }
.compare-good ul { color: var(--ink); }
.compare-claim { font-family: var(--font-head); font-weight: 700; font-size: 1.4rem;
  margin-top: 40px; max-width: 18em; margin-inline: auto; }

/* ===================== PROOF ===================== */
.proof { background: var(--cream); }
.proof-count { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; margin-bottom: 28px; }
.founder { background: #fff; border-radius: var(--radius-card); padding: 36px; box-shadow: var(--shadow);
  font-size: 1.15rem; line-height: 1.6; }
.founder cite { display: block; margin-top: 18px; font-size: .95rem; color: var(--muted); font-style: normal; }

/* ===================== BETA ===================== */
.beta { background: linear-gradient(135deg, var(--lavender) 0%, #DAD4FF 100%); }
.beta h2 { margin-bottom: 16px; }
.beta > .container > p { color: var(--muted); font-size: 1.1rem; margin-bottom: 32px; }

/* ===================== FAQ ===================== */
.faq h2 { margin-bottom: 40px; }
.faq details { background: #fff; border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; box-shadow: 0 4px 16px rgba(26,22,38,.04); }
.faq summary { font-family: var(--font-head); font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: -2px; font-size: 1.4rem; color: var(--primary); }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); margin-top: 12px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--dark); color: #B8B4C4; padding: 56px 0 32px; }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.logo-light { color: #fff; }
.tagline { margin-top: 8px; color: #8C8898; font-size: .95rem; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer a { color: #B8B4C4; }
.site-footer a:hover { color: #fff; }
.copyright { text-align: center; margin-top: 40px; font-size: .85rem; color: #6B6677; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 860px) {
  section { padding-block: 56px; }
  .hero { padding-block: 64px 48px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream); padding: 16px 24px;
    border-bottom: 1px solid rgba(26,22,38,.08); }
  .nav.open a { padding: 12px 0; }
  .nav.open .btn { text-align: center; margin-top: 8px; }
  .nav-toggle { display: flex; }
  .hero-grid, .feature-grid, .feature-grid.reverse { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .feature-grid.reverse .feature-media { order: -1; }
  .feature-dark .feature-media { order: -1; }
  .pain-cards, .step-grid, .compare-grid { grid-template-columns: 1fr; }
  .waitlist-form { grid-template-columns: 1fr; }
  .waitlist-form .btn { width: 100%; }
  .lead { margin-inline: auto; }
}

/* ===================== POLISH: Charakter ohne KI-Neon ===================== */

/* Feine Korn-Textur über allem → "handgemacht"-Gefühl, nicht clean-generisch */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Sticker-Badges: leicht schief, mit Rand + Schatten = aufgeklebt statt flach */
.badge { border: 1.5px solid rgba(26,22,38,.08); box-shadow: 0 4px 12px rgba(26,22,38,.06);
  transform: rotate(-1.5deg); }

/* Highlight-Marker auf einem Schlüsselwort (handgezeichnet wirkend) */
.mark { position: relative; white-space: nowrap; }
.mark::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: .08em;
  height: .32em; background: var(--coral); opacity: .35; border-radius: 3px; z-index: -1;
  transform: rotate(-.8deg); }

/* Karten heben sich beim Hover an = taktil */
.pain-cards .card, .compare-card, .founder, .faq details, .step {
  transition: transform .2s ease, box-shadow .2s ease;
}
.pain-cards .card:hover, .compare-good:hover { transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(109,93,246,.16); }

/* Nog-Charakter in Steps & CTA */
.step-nog { width: 56px; height: 56px; margin: 0 auto 24px; display: block; }
.beta-nog { width: 96px; height: 96px; margin: 0 auto 20px; display: block; }

/* Scroll-Reveal (wird per JS aktiviert; ohne JS bleibt alles sichtbar) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .badge { transform: none; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
