/* ==========================================================================
   MyTennisBuddy, Landing Page
   Farben, Radien und Schriften stammen 1:1 aus src/theme.ts der App.
   Layout-Vorbild: "Payno, Fintech App Landing Page" (Orbix Studio, Dribbble).
   ========================================================================== */

:root {
  /* aus theme.ts */
  --bg: #f1ebda;
  --card: #fbf7ea;
  --ink: #14301d;
  --ink-text: #f5f0e1;
  --accent: #c9de3e;

  --clay: #b4472a;
  --red-courts: #d9805f;
  --hard: #2d6e9e;
  --grass: #7fa842;

  --quiet: rgba(20, 48, 29, 0.07);
  --quiet-strong: rgba(20, 48, 29, 0.09);
  --hairline: rgba(20, 48, 29, 0.12);

  --muted: rgba(20, 48, 29, 0.58);
  --muted-soft: rgba(20, 48, 29, 0.42);
  --on-ink-muted: rgba(245, 240, 225, 0.66);
  --on-ink-quiet: rgba(245, 240, 225, 0.14);

  --r-control: 16px;
  --r-card: 24px;
  --r-hero: 28px;
  --r-pill: 100px;

  --display: "Bricolage Grotesque", "Archivo", system-ui, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Auf der Seite darf es Tiefe geben, anders als in der App:
     nur fuer Elemente, die wirklich schweben. Karten im Fluss bleiben flach. */
  --lift-s: 0 2px 8px rgba(20, 48, 29, 0.05);
  --lift-m: 0 18px 40px -22px rgba(20, 48, 29, 0.35);
  --lift-l: 0 40px 90px -40px rgba(20, 48, 29, 0.45);

  --shell: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--accent); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 200;
  background: var(--ink); color: var(--ink-text);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 600; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

section { position: relative; }

.band { padding-block: clamp(72px, 11vw, 144px); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(201, 222, 62, 0.28);
}

.section-head { max-width: 42ch; }
.section-head.center { max-width: 62ch; margin-inline: auto; text-align: center; }
.section-head.center h2 { max-width: 20ch; margin-inline: auto; }
.section-head h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-top: 18px;
}
.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  max-width: 54ch;
}
.section-head.center p { margin-inline: auto; }

.accent-word { color: var(--clay); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--body);
  font-weight: 700;
  font-size: 15.5px;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.22s, box-shadow 0.22s, opacity 0.22s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-ink { background: var(--ink); color: var(--ink-text); box-shadow: var(--lift-m); }
.btn-ink:hover { box-shadow: var(--lift-l); }

.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 14px 30px -18px rgba(20, 48, 29, 0.6); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--hairline);
}
.btn-quiet:hover { background: var(--quiet); }

.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 100;
  padding-top: 16px;
  padding-bottom: 4px;
  transition: padding 0.3s;
}
.nav-wrap.stuck { padding-top: 10px; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px 10px 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(251, 247, 234, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(20, 48, 29, 0.07);
  transition: box-shadow 0.3s, background 0.3s;
}
.nav-wrap.stuck .nav {
  background: rgba(251, 247, 234, 0.9);
  box-shadow: inset 0 0 0 1px rgba(20, 48, 29, 0.08), 0 16px 34px -26px rgba(20, 48, 29, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.035em;
  margin-right: auto;
}
.brand img {
  width: 34px; height: 34px;
  border-radius: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--quiet); }

/* Der Aufruf im aufgeklappten Menü. Auf breiten Schirmen steht er rechts in der Leiste. */
.nav-cta { display: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: var(--quiet);
  border-radius: 50%;
  cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block; width: 17px; height: 1.8px;
  background: var(--ink); border-radius: 2px;
  position: relative;
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0;
  width: 17px; height: 1.8px; background: var(--ink); border-radius: 2px;
  transition: transform 0.25s;
}
.nav-toggle span::before { top: -5.5px; }
.nav-toggle span::after { top: 5.5px; }
.nav-toggle[aria-expanded="true"] span { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(5.5px) rotate(-90deg); }
.nav-toggle[aria-expanded="true"] span::after { opacity: 0; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: var(--gutter); right: var(--gutter);
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 12px;
    border-radius: var(--r-card);
    background: var(--card);
    z-index: 5;
    box-shadow: var(--lift-l), inset 0 0 0 1px var(--hairline);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s, transform 0.22s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 13px 16px; font-size: 16px; color: var(--ink); }
  .nav > .btn { display: none; }
  .nav-cta { display: block; margin-top: 8px; }
  .nav-cta .btn { width: 100%; color: var(--ink-text); }
  .nav-cta .btn:hover { background: var(--ink); color: var(--ink-text); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(60px, 9vw, 120px);
  overflow: hidden;
}

.hero-sky {
  position: absolute;
  inset: -140px 0 auto 0;
  height: 900px;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 52% at 50% 26%, rgba(201, 222, 62, 0.36), transparent 62%),
    radial-gradient(ellipse 90% 60% at 50% 74%, rgba(180, 71, 42, 0.2), transparent 68%),
    radial-gradient(circle at 12% 10%, rgba(45, 110, 158, 0.12), transparent 42%);
  filter: blur(2px);
}
.hero-court {
  position: absolute;
  left: 50%;
  top: clamp(180px, 26vw, 330px);
  width: min(1500px, 150vw);
  transform: translateX(-50%);
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 58%, transparent 94%);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 20%, #000 58%, transparent 94%);
}

.hero-inner { position: relative; z-index: 2; }

.hero-top {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
}

.hero h1 {
  font-size: clamp(2.7rem, 6.4vw, 5.1rem);
  line-height: 0.98;
  margin-top: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--clay);
}

.hero-aside {
  padding-bottom: 8px;
  max-width: 44ch;
}
.hero-aside p {
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-stage {
  position: relative;
  margin-top: clamp(28px, 5vw, 56px);
  display: grid;
  place-items: center;
  min-height: clamp(460px, 62vw, 700px);
}

/* Das Telefon: dunkles Gehaeuse, cremefarbener Schirm, wie Shot.tsx in der App */
.phone {
  position: relative;
  width: clamp(232px, 22vw, 292px);
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(170deg, #1d3d27, #0d2114);
  box-shadow:
    0 60px 120px -50px rgba(20, 48, 29, 0.75),
    0 8px 24px -12px rgba(20, 48, 29, 0.4),
    inset 0 0 0 1px rgba(245, 240, 225, 0.12);
  z-index: 3;
}
.phone::before {
  content: "";
  position: absolute;
  top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 28%; height: 9px;
  border-radius: var(--r-pill);
  background: #0a1a10;
  z-index: 2;
}
.phone img {
  width: 100%;
  border-radius: 37px;
  background: var(--bg);
}
.phone-sm { width: clamp(200px, 22vw, 260px); border-radius: 38px; padding: 8px; }
.phone-sm img { border-radius: 31px; }
.phone-sm::before { width: 30%; height: 7px; top: 14px; }

/* Schwebende Karten um das Telefon */
.float {
  position: absolute;
  z-index: 4;
  padding: 14px 18px;
  border-radius: 20px;
  background: rgba(251, 247, 234, 0.78);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: var(--lift-m), inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  animation: bob 7s ease-in-out infinite;
}
.float:nth-of-type(even) { animation-duration: 8.5s; animation-delay: -2.5s; }

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

.float-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted-soft);
}
.float-value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.float-sub { font-size: 12.5px; color: var(--muted); }

.f-rate { top: 4%; left: 4%; }
.f-streak { top: 16%; right: 7%; display: flex; align-items: center; gap: 10px; }
.f-surface { top: 42%; left: 0; }
.f-xp { bottom: 12%; left: 7%; }
.f-bubble {
  bottom: 4%; right: 0;
  max-width: 268px;
  display: flex; gap: 12px; align-items: center;
  padding: 14px 18px 14px 14px;
}
.f-bubble img { width: 46px; flex: none; }
.f-bubble p { font-size: 14px; line-height: 1.4; }

.ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  letter-spacing: -0.03em;
  background: conic-gradient(var(--clay) 0 77%, var(--quiet) 77% 100%);
  position: relative;
}
.ring::before {
  content: "";
  position: absolute; inset: 6px;
  border-radius: 50%;
  background: var(--card);
}
.ring span { position: relative; z-index: 1; }

.dot-accent {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); flex: none;
}

.swatches { display: flex; gap: 7px; margin-top: 10px; }
.swatches i {
  width: 26px; height: 26px;
  border-radius: 9px;
  display: block;
}
.swatches i:nth-child(1) { background: var(--clay); box-shadow: 0 0 0 2.5px var(--ink); }
.swatches i:nth-child(2) { background: var(--red-courts); }
.swatches i:nth-child(3) { background: var(--hard); }
.swatches i:nth-child(4) { background: var(--grass); }

@media (max-width: 860px) {
  .hero-top { grid-template-columns: 1fr; align-items: start; }
  .hero-aside { padding-bottom: 0; }
  .hero-stage { min-height: 0; margin-top: 44px; }
  .float { padding: 11px 14px; border-radius: 16px; animation: none; }
  .float-value { font-size: 20px; }
  .f-rate { top: 2%; left: -8px; }
  .f-streak { top: 24%; right: -10px; }
  .f-xp { bottom: 22%; left: -10px; }
  .f-bubble, .f-surface { display: none; }
}
@media (max-width: 480px) {
  .f-rate, .f-streak, .f-xp { display: none; }
  .phone { width: min(74vw, 300px); }
}

/* ---------- Trust-Leiste ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--hairline);
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--hairline);
}
.trust li {
  background: var(--bg);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 600;
}
.trust svg { flex: none; width: 20px; height: 20px; color: var(--clay); }

@media (max-width: 800px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .trust { grid-template-columns: 1fr; } }

/* ---------- Statement ---------- */
.statement { text-align: center; position: relative; }
.statement .orb {
  width: 190px; height: 130px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, var(--accent), rgba(201, 222, 62, 0));
  filter: blur(26px);
  opacity: 0.85;
}
.statement h2 {
  font-size: clamp(1.9rem, 4.4vw, 3.3rem);
  line-height: 1.12;
  max-width: 24ch;
  margin-inline: auto;
  font-weight: 700;
  letter-spacing: -0.032em;
}

/* ---------- Feature-Split ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split.flip { grid-template-columns: 1.15fr 0.85fr; }
.split.flip .split-visual { order: 2; }

.split-visual {
  position: relative;
  display: grid;
  place-items: center;
  padding-block: 20px;
}
.split-visual::after {
  content: "";
  position: absolute;
  inset: 8% 4%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 222, 62, 0.4), transparent 68%);
  filter: blur(40px);
}
.split-visual .phone { z-index: 1; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.f-card {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 26px 24px 28px;
}
.f-card .ico {
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--quiet);
  margin-bottom: 18px;
  color: var(--ink);
}
.f-card h3 { font-size: 1.16rem; letter-spacing: -0.025em; }
.f-card p { margin-top: 9px; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

@media (max-width: 900px) {
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-visual { order: 0; }
}
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }

/* ---------- Ablauf: grosse Karten mit echten Screens ---------- */
.flow-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 52px;
}
.flow-card {
  border-radius: var(--r-hero);
  padding: 34px 34px 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(168deg, rgba(201, 222, 62, 0.34), rgba(251, 247, 234, 0.9) 58%);
  box-shadow: inset 0 0 0 1px rgba(20, 48, 29, 0.06);
}
.flow-card:nth-child(2) { background: linear-gradient(168deg, rgba(180, 71, 42, 0.22), rgba(251, 247, 234, 0.9) 58%); }
.flow-card:nth-child(3) { background: linear-gradient(168deg, rgba(45, 110, 158, 0.2), rgba(251, 247, 234, 0.9) 58%); }
.flow-card:nth-child(4) { background: linear-gradient(168deg, rgba(127, 168, 66, 0.26), rgba(251, 247, 234, 0.9) 58%); }

.flow-step {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--muted-soft);
}
.flow-card h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); margin-top: 10px; }
.flow-card > p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 34ch; }
.flow-shot {
  margin: 30px auto -14%;
  width: min(72%, 250px);
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  box-shadow: 0 -10px 60px -30px rgba(20, 48, 29, 0.7), inset 0 0 0 1px rgba(20, 48, 29, 0.08);
  background: #17351f;
  padding: 8px 8px 0;
}
.flow-shot img { border-radius: 24px 24px 0 0; }

@media (max-width: 800px) { .flow-grid { grid-template-columns: 1fr; } }

/* ---------- Ace (dunkle Bahn) ---------- */
.ace-band {
  background: var(--ink);
  color: var(--ink-text);
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(44px, 6vw, 84px);
  position: relative;
  overflow: hidden;
}
.ace-band::after {
  content: "";
  position: absolute;
  right: -10%; top: -30%;
  width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 222, 62, 0.16), transparent 66%);
}
.ace-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.ace-portrait { position: relative; display: grid; place-items: center; }
.ace-portrait::before {
  content: "";
  position: absolute;
  width: 78%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 222, 62, 0.22), transparent 70%);
  filter: blur(10px);
}
.ace-portrait img { position: relative; width: min(280px, 72%); }

.ace-band .eyebrow { color: var(--on-ink-muted); }
.ace-band h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 18px; }
.ace-band p.lead { margin-top: 18px; color: var(--on-ink-muted); max-width: 48ch; }

.rules { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; }
.rules li {
  padding: 18px 0;
  border-top: 1px solid var(--on-ink-quiet);
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 16px;
  align-items: start;
}
.rules li:last-child { border-bottom: 1px solid var(--on-ink-quiet); }
.rules b { display: block; font-weight: 700; font-size: 16px; }
.rules span.n {
  font-family: var(--display);
  font-size: 13px;
  color: var(--accent);
  padding-top: 3px;
}
.rules p { color: var(--on-ink-muted); font-size: 14.5px; margin-top: 4px; }

@media (max-width: 860px) {
  .ace-inner { grid-template-columns: 1fr; }
  .ace-portrait img { width: 190px; }
}

/* ---------- Fortschritt / Zahlen ---------- */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 34px;
}
.stat {
  background: var(--card);
  border-radius: var(--r-card);
  padding: 24px;
}
.stat .v {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 3.6vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 1;
}
.stat .k { margin-top: 8px; font-size: 13.5px; color: var(--muted); font-weight: 600; }
.stat.clay .v { color: var(--clay); }
.stat.hard .v { color: var(--hard); }
.stat.grass .v { color: var(--grass); }

.note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted-soft);
  display: flex; align-items: flex-start; gap: 8px;
}
.note svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }

/* ---------- Preis ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
  align-items: start;
}
.plan {
  background: var(--card);
  border-radius: var(--r-hero);
  padding: 32px 30px 34px;
  position: relative;
}
.plan.lead {
  background: var(--ink);
  color: var(--ink-text);
  box-shadow: var(--lift-l);
  padding-top: 46px;
  margin-top: -14px;
}
.plan-tag {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent);
}
.plan h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; font-family: var(--body); }
.plan .price {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  letter-spacing: -0.05em;
  margin-top: 12px;
  line-height: 1;
}
.plan .price small { font-size: 0.85rem; font-family: var(--body); font-weight: 500; letter-spacing: 0; color: var(--muted); }
.plan.lead .price small { color: var(--on-ink-muted); }
.plan > p { margin-top: 14px; font-size: 14.5px; color: var(--muted); min-height: 3.4em; }
.plan.lead > p { color: var(--on-ink-muted); }
.plan .btn { width: 100%; margin-top: 22px; }
.plan ul { list-style: none; margin: 26px 0 0; padding: 26px 0 0; border-top: 1px solid var(--hairline); display: grid; gap: 12px; }
.plan.lead ul { border-color: var(--on-ink-quiet); }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 11px; font-size: 14.5px; align-items: start; }
.plan li svg { width: 18px; height: 18px; margin-top: 3px; color: var(--clay); }
.plan.lead li svg { color: var(--accent); }
.plan .feat-label {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted-soft);
  text-align: center;
  margin-top: 26px;
}
.plan.lead .feat-label { color: var(--on-ink-muted); }
.plan .feat-label + ul { margin-top: 14px; padding-top: 0; border-top: 0; }

@media (max-width: 900px) {
  .plans { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .plan.lead { margin-top: 0; }
}

/* ---------- Ace sagt (Karussell) ---------- */
.rail {
  display: flex;
  gap: 18px;
  margin-top: 48px;
  padding-bottom: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 3%, #000 97%, transparent);
}
.rail::-webkit-scrollbar { display: none; }

.quote {
  flex: 0 0 min(340px, 78vw);
  scroll-snap-align: center;
  background: var(--card);
  border-radius: var(--r-card);
  padding: 30px 28px 26px;
  display: flex;
  flex-direction: column;
  margin: 0;
}
.quote .mark {
  font-family: var(--display);
  font-size: 44px;
  line-height: 0.6;
  color: var(--accent);
  margin-bottom: 18px;
}
.quote p { font-size: 16.5px; line-height: 1.5; letter-spacing: -0.01em; }
.quote footer {
  margin-top: auto;
  padding-top: 26px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13.5px;
}
.quote footer img { width: 38px; height: 38px; border-radius: 50%; background: var(--quiet); object-fit: contain; }
.quote footer b { display: block; font-weight: 700; }
.quote footer span { color: var(--muted); }

.rail-nav { display: flex; gap: 10px; justify-content: center; margin-top: 8px; }
.rail-nav button {
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  background: var(--quiet);
  cursor: pointer;
  display: grid; place-items: center;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.rail-nav button:hover { background: var(--ink); color: var(--ink-text); transform: translateY(-2px); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq details[open] summary { color: var(--clay); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 26px 44px 26px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: -0.025em;
  position: relative;
  transition: color 0.2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute; right: 6px; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq .answer { padding: 0 8% 28px 0; color: var(--muted); font-size: 15.5px; }
.faq .answer a { color: var(--clay); text-underline-offset: 3px; }

/* ---------- Schluss-CTA ---------- */
.final {
  position: relative;
  border-radius: clamp(28px, 4vw, 44px);
  padding: clamp(48px, 7vw, 92px) clamp(24px, 5vw, 72px);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 90% at 50% 0%, rgba(201, 222, 62, 0.55), transparent 62%),
    linear-gradient(180deg, #fbf7ea, #f2ecdb);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.final img.ace { width: 128px; margin: 0 auto 22px; }
.final h2 { font-size: clamp(2rem, 4.6vw, 3.3rem); max-width: 18ch; margin-inline: auto; }
.final p { margin: 18px auto 0; color: var(--muted); max-width: 46ch; }

.waitlist {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 32px auto 0;
  padding: 7px;
  border-radius: var(--r-pill);
  background: var(--card);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.waitlist input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 18px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
}
.waitlist input::placeholder { color: var(--muted-soft); }
.waitlist input:focus { outline: none; }
.waitlist:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }

.form-note { margin-top: 14px !important; font-size: 13px; color: var(--muted-soft); }

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.store {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 20px 11px 16px;
  border-radius: var(--r-control);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--hairline);
  color: var(--muted);
  cursor: not-allowed;
  text-align: left;
}
.store svg { width: 24px; height: 24px; flex: none; }
.store .s1 { display: block; font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.store .s2 { display: block; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: -0.03em; color: var(--ink); }

@media (max-width: 460px) {
  .waitlist { flex-direction: column; border-radius: var(--r-card); }
  .waitlist input { padding: 12px 18px; }
  .waitlist .btn { width: 100%; }
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: var(--ink-text);
  padding-block: clamp(52px, 7vw, 84px) 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer .brand { color: var(--ink-text); margin-right: 0; }
.footer-top p { margin-top: 18px; color: var(--on-ink-muted); font-size: 14.5px; max-width: 32ch; }
.footer h4 {
  font-family: var(--body);
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--on-ink-muted);
}
.footer ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 11px; }
.footer ul a { font-size: 14.5px; text-decoration: none; color: rgba(245, 240, 225, 0.86); transition: color 0.2s; }
.footer ul a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 26px;
  border-top: 1px solid var(--on-ink-quiet);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--on-ink-muted);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Scroll-Reveal ----------
   Nur wenn JavaScript läuft. Sonst stünde die halbe Seite auf opacity 0 und
   bliebe es auch, und unsichtbarer Text ist schlimmer als kein Effekt. */
html.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Rechtstexte ---------- */
.legal { padding-block: clamp(40px, 6vw, 72px); }
.legal-head h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 18px; }
.legal-head p.updated { margin-top: 16px; color: var(--muted); font-size: 14.5px; }
.prose { max-width: 72ch; margin-top: clamp(40px, 5vw, 64px); }
.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--hairline);
  scroll-margin-top: 110px;
}
.prose > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 30px; letter-spacing: -0.02em; }
.prose p, .prose ul, .prose ol { margin-top: 14px; color: rgba(20, 48, 29, 0.76); font-size: 16px; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; }
.prose li::marker { color: var(--clay); }
.prose a { color: var(--clay); text-underline-offset: 3px; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 15px;
}
.prose th, .prose td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--hairline);
  vertical-align: top;
}
.prose th { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 700; }
.table-wrap { overflow-x: auto; }

.callout {
  margin-top: 22px;
  padding: 20px 24px;
  border-radius: var(--r-card);
  background: var(--card);
  font-size: 15px;
  color: rgba(20, 48, 29, 0.78);
}
.callout.warn { background: rgba(180, 71, 42, 0.09); }
.callout b { color: var(--ink); }

.todo {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 6px;
  background: rgba(201, 222, 62, 0.45);
  box-shadow: inset 0 0 0 1px rgba(20, 48, 29, 0.16);
  font-family: var(--display);
  font-size: 0.9em;
  letter-spacing: 0;
  color: var(--ink);
}

.toc {
  margin-top: 34px;
  padding: 24px 26px;
  border-radius: var(--r-card);
  background: var(--card);
}
.toc h2 {
  font-size: 12px !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: var(--body);
  font-weight: 700;
}
.toc ol { margin-top: 14px; padding-left: 20px; display: grid; gap: 7px; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
