/* ===== Review·Boost Landingpage — „Werkstatt-Editorial" =====
   Warmes Papier, Tinte, Terracotta. Mobil-first (380px). */

/* Fonts self-hosted (DSGVO — kein Google-Fonts-CDN, vgl. LG München 3 O 17493/20) */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/fraunces-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/schibsted-latin.woff2") format("woff2");
}

:root {
  --paper: #f6f1e7;
  --paper-deep: #efe6d4;
  --ink: #221b14;
  --ink-soft: #5c5247;
  --accent: #c2552b;
  --accent-deep: #9c3f1c;
  --gold: #b98a2e;
  --line: rgba(34, 27, 20, 0.14);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Schibsted Grotesk", "Segoe UI", sans-serif;

  /* Demo-Stand Variablen (per JS umgeschaltet) */
  --stand-bg: #2d2118;
  --stand-fg: #f6ead8;
  --stand-accent: #d9a05b;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Papier-Korn über allem */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.5;
  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.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

em { font-style: italic; color: var(--accent); }

a { color: var(--accent-deep); }

/* ===== Reveal-Animationen ===== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.12s; }
.d2 { transition-delay: 0.24s; }
.d3 { transition-delay: 0.36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Topbar ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  max-width: 1120px;
  margin: 0 auto;
}
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark span { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 13px 26px;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 0 var(--accent-deep);
}
.btn-primary:hover { box-shadow: 0 6px 0 var(--accent-deep); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--accent-deep); }
.btn-ghost { background: transparent; }
.btn-small { padding: 8px 18px; font-size: 0.9rem; }
.btn-block { display: block; width: 100%; }
.btn-big { font-size: 1.15rem; padding: 17px 36px; }

/* ===== Hero ===== */
.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 22px 70px;
  display: grid;
  gap: 48px;
}
.eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  margin-bottom: 20px;
}
.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 34em;
  margin-bottom: 26px;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.micro { font-size: 0.82rem; color: var(--ink-soft); }
.micro.center { text-align: center; margin-top: 18px; }

/* ===== Demo: Aufsteller + Phone ===== */
.hero-demo { position: relative; }
.demo-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 36px 0 20px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
}
.demo-stage::after { /* Tresen-Linie */
  content: "";
  position: absolute;
  bottom: 18px;
  left: 0; right: 0;
  height: 10px;
  background: rgba(34, 27, 20, 0.1);
}

.stand { position: relative; z-index: 2; filter: drop-shadow(0 14px 18px rgba(34,27,20,0.22)); }
.stand-card {
  width: 196px;
  min-height: 240px;
  background: var(--stand-bg);
  color: var(--stand-fg);
  border-radius: 16px 16px 12px 12px;
  padding: 22px 18px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  transition: background 0.5s ease, color 0.5s ease;
}
.stand-foot {
  width: 110px;
  height: 14px;
  margin: 0 auto;
  background: var(--stand-bg);
  border-radius: 0 0 10px 10px;
  opacity: 0.85;
  transition: background 0.5s ease;
}
.stand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--stand-accent);
  color: var(--stand-bg);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  display: grid;
  place-items: center;
  transition: background 0.5s ease, color 0.5s ease;
}
.stand-shopname {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}
.stand-headline {
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
  line-height: 1.15;
}
.stand-sub { font-size: 0.78rem; opacity: 0.75; }
.stand-nfc {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stand-accent);
  border: 1.5px dashed currentColor;
  border-radius: 999px;
  padding: 6px 14px;
  transition: color 0.5s ease;
}

/* Inhalt-Wechsel-Animation */
.stand-card.is-swapping .stand-headline,
.stand-card.is-swapping .stand-sub,
.stand-card.is-swapping .stand-shopname { animation: swap 0.5s ease; }
@keyframes swap {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: none; }
}

/* Phone, das antippt */
.phone {
  position: absolute;
  z-index: 3;
  width: 74px;
  height: 148px;
  right: 8%;
  bottom: 4px;
  background: #16110c;
  border-radius: 16px;
  border: 3px solid #3a2f24;
  transform: rotate(14deg);
  animation: tap 3.6s ease-in-out infinite;
}
.phone-notch {
  width: 26px; height: 5px;
  background: #3a2f24;
  border-radius: 999px;
  margin: 8px auto 0;
}
@keyframes tap {
  0%, 18%  { transform: rotate(14deg) translate(0, 0); }
  38%, 52% { transform: rotate(7deg) translate(-26px, -22px); }
  72%, 100%{ transform: rotate(14deg) translate(0, 0); }
}
@media (prefers-reduced-motion: reduce) { .phone { animation: none; } }

/* Demo-Chips */
.demo-controls { padding: 18px 4px 0; }
.demo-label { font-size: 0.86rem; font-weight: 700; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 500;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}
.chip:hover { transform: translateY(-1px); border-color: var(--ink); }
.chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ===== Steps ===== */
.steps {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 22px;
  border-top: 1px solid var(--line);
}
.steps h2, .pricing h2, .faq h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: 36px; }
.step-grid { list-style: none; display: grid; gap: 26px; }
.step {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 26px 24px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.35;
  display: block;
  margin-bottom: 8px;
}
.step h3 { font-size: 1.25rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.96rem; }

/* ===== Why (dunkler Block) ===== */
.why {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 22px;
}
.why-inner { max-width: 760px; margin: 0 auto; }
.why h2 { font-size: clamp(1.7rem, 5.6vw, 2.5rem); margin-bottom: 18px; }
.why h2 em { color: var(--gold); }
.why > .why-inner > p { color: rgba(246, 241, 231, 0.78); margin-bottom: 26px; }
.why-list { list-style: none; display: grid; gap: 16px; margin-bottom: 30px; }
.why-list li {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  color: rgba(246, 241, 231, 0.85);
  font-size: 0.98rem;
}
.why-list strong { color: var(--paper); }
.why-fair {
  font-size: 0.9rem;
  color: rgba(246, 241, 231, 0.62);
  border-top: 1px solid rgba(246, 241, 231, 0.16);
  padding-top: 20px;
}

/* ===== Pricing ===== */
.pricing { max-width: 920px; margin: 0 auto; padding: 70px 22px 60px; }
.price-grid { display: grid; gap: 22px; }
.price-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fffdf8;
  padding: 30px 26px;
  position: relative;
}
.price-featured {
  border: 2px solid var(--accent);
  box-shadow: 0 10px 28px rgba(194, 85, 43, 0.16);
}
.price-badge {
  position: absolute;
  top: -13px;
  left: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}
.price-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.price-big {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}
.price-big span { font-size: 1.05rem; font-weight: 500; color: var(--ink-soft); }
.price-sub { color: var(--ink-soft); font-size: 0.92rem; margin: 6px 0 18px; }
.price-card ul { list-style: none; margin-bottom: 24px; display: grid; gap: 9px; }
.price-card ul li {
  font-size: 0.95rem;
  padding-left: 26px;
  position: relative;
}
.price-card ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent);
}

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; padding: 30px 22px 70px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 16px 30px 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding: 0 0 18px; font-size: 0.97rem; }

/* ===== Final CTA ===== */
.final-cta {
  text-align: center;
  padding: 30px 22px 90px;
}
.final-cta h2 {
  font-size: clamp(1.8rem, 6vw, 2.9rem);
  margin-bottom: 26px;
}

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--line);
  padding: 30px 22px 110px;
  text-align: center;
  background: var(--paper-deep);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}
.todo-mark { background: #ffe9a8; padding: 0 4px; border-radius: 4px; }

/* ===== Consent-Banner ===== */
.consent {
  position: fixed;
  z-index: 1000;
  left: 12px; right: 12px; bottom: 12px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 18px 20px;
  box-shadow: 0 14px 36px rgba(34, 27, 20, 0.4);
}
.consent p { font-size: 0.88rem; margin-bottom: 12px; }
.consent a { color: var(--gold); }
.consent-btns { display: flex; gap: 10px; justify-content: flex-end; }
.consent .btn-ghost { border-color: var(--paper); color: var(--paper); }

/* ===== Desktop ===== */
@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding-top: 56px;
    gap: 56px;
  }
  .step-grid { grid-template-columns: repeat(3, 1fr); }
  .price-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
  .demo-stage { padding: 48px 0 26px; }
}
