/* ── Preppy Designsystem (siehe DESIGN_SYSTEM.md) ─────────────────────────
   Beige #FAF5EB · Terrakotta #B85342 · Salbei #6B7A4E · Senf #C68930
   Georgia nur für Titel · flache Karten ohne Schatten · Pill-Chips
   Bewusst ohne Webfonts/Tracking: keine Drittanbieter-Requests.

   Aufbau nach NN/g-Heuristiken, Ziel = App-Download:
   #1 Systemstatus (aktive Nav, Hover, klarer „bald verfügbar"-Zustand)
   #2 Sprache der Nutzer (Alltagszitate statt Feature-Sprech)
   #4 Standards (Store-Badges, erwartete Landingpage-Reihenfolge)
   #6 Wiedererkennen statt Erinnern (echte App-Screenshots)
   #8 Minimalismus (eine Botschaft pro Abschnitt)
   #10 Hilfe (FAQ + Support-Link)
   Verhalten: F-Muster oben, CTA in Daumenzone, CTA-Wiederholung bei Scroll-Tiefe. */

:root {
  --bg: #FAF5EB;
  --bg-deep: #F3ECDD;
  --surface: #FFFFFF;
  --ink: #2E2A24;
  --ink-soft: #6B6456;
  --ink-faint: #9A9284;
  --primary: #B85342;
  --primary-dark: #9C4335;
  --primary-soft: #F6E3DF;
  --sage: #6B7A4E;
  --sage-soft: #E9EDE0;
  --mustard: #9A6A1F;
  --mustard-soft: #F5E8D0;
  --border: #E8E0D0;
  --border-strong: #D8CDB8;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3, .brand { font-family: var(--serif); font-weight: 700; letter-spacing: -0.02em; }
img { max-width: 100%; display: block; }

/* ── Sticky Header ──────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 14px; }
.brand { font-size: 1.55rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 9px; }
.brand span { color: var(--primary); }
.brand-icon { border-radius: 9px; } /* echtes App-Icon (Terrakotta-Colorway), deutlich abgerundet */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; font-weight: 600;
  padding: 9px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--primary); background: var(--bg-deep); }
.nav-cta {
  background: var(--primary); color: #fff !important; padding: 10px 18px !important;
  border-radius: 999px; font-weight: 700;
}
.nav-cta:hover { background: var(--primary-dark) !important; }
@media (max-width: 700px) { .nav-links .hide-sm { display: none; } }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px;
  align-items: center; padding: 60px 0 72px;
}
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mustard);
  background: var(--mustard-soft); border: 1px solid rgba(198,137,48,0.35);
  border-radius: 999px; padding: 5px 14px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.5rem); line-height: 1.12; margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--primary); }
.hero .sub { font-size: 1.08rem; color: var(--ink-soft); max-width: 48ch; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  background: var(--bg-deep); border: 1px solid var(--border);
  border-radius: 999px; padding: 6px 14px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
}
.chip.sage { background: var(--sage-soft); color: var(--sage); border-color: rgba(107,122,78,0.3); }
.chip.mustard { background: var(--mustard-soft); color: var(--mustard); border-color: rgba(198,137,48,0.35); }

/* ── Store-Badges (Download-CTA) ────────────────────────────── */
.stores { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 11px;
  background: var(--ink); color: var(--bg); text-decoration: none;
  border-radius: 13px; padding: 11px 20px 11px 17px;
  transition: transform 0.15s, background 0.2s;
}
.store-badge:hover { background: #1F1C17; transform: translateY(-1px); }
.store-badge .glyph { font-size: 1.5rem; line-height: 1; }
.store-badge .txt { display: flex; flex-direction: column; line-height: 1.2; }
.store-badge .txt small { font-size: 0.68rem; opacity: 0.75; font-weight: 500; }
.store-badge .txt strong { font-size: 1rem; font-weight: 700; }
.store-badge.soon { background: var(--bg-deep); color: var(--ink-soft); border: 1px dashed var(--border-strong); cursor: default; }
.store-badge.soon:hover { transform: none; background: var(--bg-deep); }
.trust-line { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.85rem; color: var(--ink-faint); }
.trust-line span::before { content: '✓ '; color: var(--sage); font-weight: 700; }
.beta-link { margin: 12px 0 16px; }
.beta-link a { color: var(--primary); font-size: 0.9rem; font-weight: 600; text-decoration: none; }
.beta-link a:hover { text-decoration: underline; }

/* ── Phone-Rahmen für echte App-Screenshots ─────────────────── */
.phone-frame {
  border: 8px solid var(--ink); border-radius: 42px; overflow: hidden;
  background: var(--ink); width: 100%; max-width: 300px; margin: 0 auto;
}
/* Screenshots immer VOLLSTÄNDIG zeigen (kein Anschnitt) — die Rahmenbreite
   steuert die Höhe, damit die Abschnitte trotzdem kompakt bleiben. */
.phone-frame img { border-radius: 34px; width: 100%; height: auto; }
.hero .phone-frame { transform: rotate(2deg); max-width: 236px; }
.step .phone-frame { max-width: 206px; }
.showcase .phone-frame { max-width: 226px; }
.phone-duo { display: flex; justify-content: center; gap: 16px; }
.phone-duo .phone-frame { max-width: 186px; border-width: 6px; }
.phone-duo .phone-frame:first-child { transform: rotate(-3deg); }
.phone-duo .phone-frame:last-child { transform: rotate(3deg); }

/* ── Sektionen ──────────────────────────────────────────────── */
section { padding: 58px 0; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--mustard); margin-bottom: 10px;
}
section h2 { font-size: clamp(1.7rem, 3.4vw, 2.25rem); margin-bottom: 12px; }
section .lead { font-size: 1rem; color: var(--ink-soft); max-width: 58ch; margin-bottom: 34px; }

/* Problem-Karten */
.pains { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pain {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 20px;
  display: flex; flex-direction: column; gap: 9px;
  transition: border-color 0.2s;
}
.pain:hover { border-color: var(--mustard); }
.pain q { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.1rem; line-height: 1.35; quotes: '„' '“'; }
.pain .fix { margin-top: auto; font-size: 0.87rem; font-weight: 600; color: var(--sage); }
.pain .fix::before { content: '→ '; }

/* Abgrenzung: was Preppy NICHT ist (Positionierung, direkt unter den Pain-Karten) */
#abgrenzung { padding-top: 0; }
.anti-lead {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px;
}
.anti-lead strong { color: var(--primary); }
.anti { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.anti-card {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--bg-deep); border: 1px dashed var(--border-strong);
  border-radius: 16px; padding: 18px 20px;
}
.anti-card .no {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  font-weight: 800; font-size: 0.85rem; display: grid; place-items: center; margin-top: 2px;
}
.anti-card h3 { font-size: 1.03rem; margin-bottom: 3px; }
.anti-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* Schritte mit Screenshots */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; }
.step .phone-frame { max-width: 224px; margin-bottom: 18px; }
.step .num {
  counter-increment: step;
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--primary); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 0.95rem; margin-bottom: 8px;
}
.step .num::before { content: counter(step); }
.step h3 { font-size: 1.08rem; margin-bottom: 5px; }
.step p { font-size: 0.9rem; color: var(--ink-soft); }

/* Feature-Deep-Dives (alternierend) */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.showcase:last-child { margin-bottom: 0; }
.showcase.flip .copy { order: 2; }
.showcase h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 12px; }
.showcase p { color: var(--ink-soft); margin-bottom: 16px; }
.showcase ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.showcase li { font-size: 0.93rem; color: var(--ink); padding-left: 26px; position: relative; }
.showcase li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-soft); color: var(--sage);
  font-size: 11px; font-weight: 800; display: grid; place-items: center;
}

/* Feature-Grid (Rest) */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 22px 20px; transition: border-color 0.2s; }
.feature:hover { border-color: var(--primary); }
.feature .icon { font-size: 1.6rem; display: block; margin-bottom: 10px; }
.feature h3 { font-size: 1.03rem; margin-bottom: 6px; }
.feature p { font-size: 0.88rem; color: var(--ink-soft); }

/* Vertrauen */
.trust { background: var(--sage-soft); border: 1px solid rgba(107,122,78,0.25); border-radius: 20px; padding: 34px 32px; }
.trust h2 { margin-bottom: 8px; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.trust-grid h3 { font-size: 1rem; margin-bottom: 5px; color: var(--sage); }
.trust-grid p { font-size: 0.88rem; color: var(--ink-soft); }

/* FAQ */
.faq { max-width: 720px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 20px;
  font-weight: 600; font-size: 0.98rem;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.35rem; color: var(--primary); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .answer { padding: 14px 20px 18px; font-size: 0.92rem; color: var(--ink-soft); }
.faq .answer a { color: var(--primary); }

/* Abschluss-CTA */
.final-cta { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 46px 32px; }
.final-cta h2 { margin-bottom: 10px; }
.final-cta .lead { margin: 0 auto 26px; }
.final-cta .stores { justify-content: center; }
.final-cta .trust-line { justify-content: center; }

/* Footer */
footer {
  border-top: 1px solid var(--border); margin-top: 46px; padding: 30px 0 100px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  font-size: 0.85rem; color: var(--ink-faint);
}
footer .links { display: flex; gap: 20px; }
footer a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--primary); }

/* Sticky CTA-Leiste (mobil, Daumenzone) */
.sticky-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: rgba(250,245,235,0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  align-items: center; justify-content: space-between; gap: 12px;
}
.sticky-cta .txt { font-size: 0.82rem; color: var(--ink-soft); font-weight: 600; }
.sticky-cta a {
  background: var(--primary); color: #fff; text-decoration: none;
  padding: 11px 18px; border-radius: 999px; font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}

/* Textseiten (Datenschutz, Support) */
.page { max-width: 760px; margin: 0 auto; padding: 24px 24px 64px; }
.page h1 { font-size: 2.1rem; margin: 28px 0 8px; }
.page .meta { color: var(--ink-faint); font-size: 0.85rem; margin-bottom: 30px; }
.page h2 { font-size: 1.3rem; margin: 34px 0 10px; }
.page h3 { font-size: 1.05rem; margin: 22px 0 6px; }
.page p, .page li { font-size: 0.95rem; color: var(--ink-soft); }
.page ul { padding-left: 22px; margin: 8px 0; }
.page .card { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin: 14px 0; }
.page .hinweis { background: var(--mustard-soft); border: 1px solid rgba(198,137,48,0.35); border-radius: 14px; padding: 14px 18px; margin: 14px 0; font-size: 0.9rem; color: var(--mustard); }
.page a { color: var(--primary); }
.back { display: inline-block; margin-top: 8px; font-size: 0.9rem; font-weight: 600; color: var(--primary); text-decoration: none; }

/* Einstiegs-Animation */
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(14px); animation: rise 0.6s ease forwards; }
  .rise.d1 { animation-delay: 0.08s; }
  .rise.d2 { animation-delay: 0.16s; }
  .rise.d3 { animation-delay: 0.24s; }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pains, .features, .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .showcase { grid-template-columns: 1fr; gap: 28px; }
  .showcase.flip .copy { order: 0; }
}
@media (max-width: 700px) {
  section { padding: 44px 0; }
  .hero { grid-template-columns: 1fr; gap: 30px; padding: 30px 0 40px; }
  .hero .phone-frame { transform: none; max-width: 210px; }
  /* Zwei knappe Problem-Karten pro Zeile — kein Text-Block am Stück */
  .pains { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pain { padding: 16px 14px; gap: 8px; }
  .pain q { font-size: 0.98rem; }
  .pain .fix { font-size: 0.8rem; }
  .features, .trust-grid { grid-template-columns: 1fr; }
  .anti { grid-template-columns: 1fr; gap: 10px; }
  .anti-card { padding: 15px 16px; }
  .trust { padding: 26px 20px; }
  .step .phone-frame { max-width: 200px; }
  .showcase .phone-frame { max-width: 210px; }
  .phone-duo { gap: 10px; }
  .phone-duo .phone-frame { max-width: 148px; border-width: 5px; }
  .sticky-cta { display: flex; }
  footer { padding-bottom: 110px; }
  /* Trust-Häkchen in EINER Reihe statt unschönem Umbruch */
  .trust-line { flex-wrap: nowrap; justify-content: space-between; gap: 8px; font-size: 0.78rem; }
  .trust-line span { white-space: nowrap; }
}
