/* ──────────────────────────────────────────────────────────────
   Promotions-FAQ
   Freundliches Onboarding-Portal: helle Fläche, weiße Karten,
   eine Hauptfarbe, ein paar Pastelltöne. Mobile first – die Leute
   scannen am Tisch.
   ────────────────────────────────────────────────────────────── */

@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/Figtree-normal-300-900.woff2") format("woff2"); }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("fonts/Figtree-italic-300-900.woff2") format("woff2"); }

:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --ink: #1d2433;
  --ink-soft: #485063;
  --ink-mute: #636b7e;
  --line: #e6e4dd;
  --primary: #1a7a63;
  --primary-deep: #145f4d;
  --primary-soft: #e2f2ec;
  --coral: #a8442b;
  --coral-soft: #fde4dc;
  --sky: #2a5ca3;
  --sky-soft: #e1ecfb;
  --sun: #7a5900;
  --sun-soft: #fdf1cd;
  --lilac: #5b45ad;
  --lilac-soft: #ece8fa;
  --warn: #b3452c;
  --gutter: 18px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 36, 51, .04), 0 10px 28px -14px rgba(29, 36, 51, .14);
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: var(--primary-deep); text-underline-offset: 2px; }
p { margin: 0 0 1em; }
strong { font-weight: 700; }
h1, h2, h3 { text-wrap: balance; }
button { font: inherit; }
::selection { background: var(--primary-soft); }

/* Farbtöne, reihum für Kacheln, Nummern und Etiketten */
.tones > :nth-child(4n + 1) { --tone: var(--primary-deep); --tone-soft: var(--primary-soft); }
.tones > :nth-child(4n + 2) { --tone: var(--coral); --tone-soft: var(--coral-soft); }
.tones > :nth-child(4n + 3) { --tone: var(--sky); --tone-soft: var(--sky-soft); }
.tones > :nth-child(4n + 4) { --tone: var(--lilac); --tone-soft: var(--lilac-soft); }

/* ───────── Bausteine ───────── */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px;
}
.card__label {
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 12px;
}

.btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform .12s var(--ease-out), background .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.btn--light { background: #fff; border-color: #fff; color: var(--primary-deep); }
.btn--light:hover { background: var(--primary-soft); border-color: var(--primary-soft); }
.btn--light:focus-visible { outline-color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-soft); font-weight: 600; font-size: 15px; }
.btn--ghost:hover { border-color: var(--ink-mute); color: var(--ink); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ───────── Sperre ───────── */
.gate {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: minmax(0, 1fr);
  padding: 24px var(--gutter);
  background:
    radial-gradient(70% 50% at 100% 0%, var(--primary-soft), transparent 70%),
    radial-gradient(60% 45% at 0% 8%, var(--sun-soft), transparent 70%);
}
.gate__card {
  width: 100%; max-width: 430px;
  align-self: center; justify-self: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 28px 22px 22px;
  animation: rise .6s var(--ease-out) both;
}
.gate__logo { width: 48px; height: 48px; display: block; margin-bottom: 18px; }
.gate__title {
  font-weight: 800;
  font-size: clamp(30px, 8.4vw, 38px);
  line-height: 1.08;
  letter-spacing: -.025em;
  margin: 0 0 12px;
}
.gate__hint { color: var(--ink-soft); margin-bottom: 22px; }
.gate__label { display: block; font-size: 14px; font-weight: 700; color: var(--ink-soft); margin-bottom: 6px; }
.gate__row { display: flex; gap: 10px; }
.gate__input {
  flex: 1 1 0%; min-width: 0; width: 100%;
  font: inherit;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.gate__input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-soft); }
.gate__input::placeholder { color: var(--ink-mute); letter-spacing: 0; font-weight: 400; }
.gate__msg { min-height: 1.6em; margin: 12px 0 0; color: var(--warn); font-size: 15px; }
.gate__fine { margin: 14px 0 0; font-size: 13.5px; color: var(--ink-mute); }
.gate__foot { text-align: center; font-size: 13.5px; color: var(--ink-mute); margin: 24px 0 0; }
.gate--shake .gate__card { animation: shake .45s var(--ease-out); }
@keyframes shake { 10%, 90% { transform: translateX(-2px); } 20%, 80% { transform: translateX(4px); } 30%, 50%, 70% { transform: translateX(-6px); } 40%, 60% { transform: translateX(6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ───────── App-Layout ───────── */
.wrap { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 var(--gutter); }

.readbar { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 10; pointer-events: none; }
.readbar span {
  display: block; height: 100%;
  background: var(--primary);
  border-radius: 0 4px 4px 0;
  transform-origin: left;
  transform: scaleX(var(--read, 0));
}

.hero {
  padding: 26px 0 30px;
  background:
    radial-gradient(70% 90% at 100% 0%, var(--primary-soft), transparent 70%),
    radial-gradient(55% 80% at 0% 10%, var(--sun-soft), transparent 70%);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; margin: 0; }
.brand svg { width: 34px; height: 34px; flex: none; }
.hero__title {
  font-weight: 800;
  font-size: clamp(33px, 8.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -.03em;
  margin: 44px 0 14px;
  max-width: 15ch;
}
.hero__sub { font-size: 19px; line-height: 1.5; color: var(--ink-soft); max-width: 34em; margin-bottom: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li {
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px;
}

/* ───────── Einleitung als Weg ───────── */
.path { margin-top: -4px; }
.path__steps { list-style: none; margin: 0; padding: 0; }
.path__step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding-bottom: 14px; }
.path__step::before { content: ""; position: absolute; left: 16px; top: 40px; bottom: -4px; width: 2px; border-radius: 1px; background: var(--line); }
.path__dot {
  position: relative; width: 34px; height: 34px; margin-top: 18px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--primary); color: #fff; font-size: 15px; font-weight: 800;
}
.path__card { padding: 22px 20px; }
.path__card p { color: var(--ink-soft); max-width: 38em; }
.path__card p:last-child { margin-bottom: 0; }
.path__title { font-weight: 800; font-size: clamp(22px, 5.6vw, 28px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
.path__card--warm { background: var(--sun-soft); border-color: transparent; box-shadow: none; }
.path__card--warm p { color: var(--ink); }
.path__card p.path__sig { font-style: italic; font-weight: 600; margin-top: 14px; }
.path__card p.path__hint { font-size: 13.5px; color: var(--ink-mute); margin-top: 10px; }
.path__bridge { text-align: center; padding: 18px 0 0; }
.path__bridge p { font-size: 18px; font-weight: 600; margin: 0 auto; max-width: 24em; }
.hero__jump { display: inline-block; text-decoration: none; margin-top: 20px; }
.hero__jump::after { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 2px 3px 10px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }

.reasons { list-style: none; margin: 14px 0 0; padding: 0; border-top: 1px solid var(--line); }
.reasons > li { border-bottom: 1px solid var(--line); }
.reasons summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 13px 0; }
.reasons summary::-webkit-details-marker { display: none; }
.reasons summary:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 8px; }
.reasons__title { font-weight: 800; font-size: 17px; line-height: 1.25; color: var(--ink); }
.reasons__summary { grid-row: 2; font-size: 15.5px; line-height: 1.4; color: var(--ink-soft); }
.reasons .faq__toggle { width: 32px; height: 32px; }
.reasons details[open] .faq__toggle { transform: rotate(180deg); background: var(--primary-soft); }
.path__card p.reasons__text { font-size: 15.5px; padding: 0 0 14px; margin: 0; animation: fade .4s var(--ease-out); }

/* ───────── Abschnitte ───────── */
.section { padding: 52px 0 0; scroll-margin-top: 8px; }
.section__head { margin-bottom: 22px; }
.section__step {
  display: inline-block;
  font-size: 13px; font-weight: 800; letter-spacing: .02em;
  color: var(--primary-deep); background: var(--primary-soft);
  border-radius: 999px; padding: 3px 11px; margin: 0 0 12px;
}
.section__title {
  font-weight: 800;
  font-size: clamp(27px, 6.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -.025em;
  margin: 0 0 10px;
}
.section__lead { color: var(--ink-soft); font-size: 18px; max-width: 36em; margin: 0; }
.section > .wrap > * + * { margin-top: 14px; }
.prose { max-width: 38em; }
.prose p.lead { font-size: 20px; line-height: 1.45; font-weight: 600; }
.prose p:last-child { margin-bottom: 6px; }

.reveal { opacity: 0; transform: translateY(10px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* FAQ */
.faq { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.faq details { padding: 0; overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; align-items: center;
  padding: 17px 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; border-radius: var(--radius); }
.faq__q { font-weight: 800; font-size: clamp(18.5px, 4.6vw, 21px); line-height: 1.25; letter-spacing: -.01em; margin: 0; }
.faq__q::before { content: "„"; }
.faq__q::after { content: "“"; }
.faq__count { grid-row: 2; font-size: 13.5px; color: var(--ink-mute); }
.faq__count b { color: var(--ink-soft); font-weight: 700; font-variant-numeric: tabular-nums; }
.faq__toggle {
  grid-column: 2; grid-row: 1 / span 2;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--bg);
  transition: transform .3s var(--ease-out), background .2s;
}
.faq__toggle::before {
  content: ""; width: 9px; height: 9px; margin-top: -4px;
  border-right: 2.5px solid var(--ink-soft); border-bottom: 2.5px solid var(--ink-soft);
  border-radius: 1px; transform: rotate(45deg);
}
.faq details[open] .faq__toggle { transform: rotate(180deg); background: var(--primary-soft); }
.faq__a { padding: 0 18px 20px; animation: fade .4s var(--ease-out); }
.faq__a p { color: var(--ink-soft); max-width: 38em; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a p.faq__short {
  color: var(--primary-deep); background: var(--primary-soft);
  font-weight: 700; font-size: 17.5px; line-height: 1.4;
  border-radius: var(--radius-sm); padding: 12px 14px; margin-bottom: 14px; max-width: none;
}
.video__frame.faq__video { aspect-ratio: 4 / 5; max-width: 400px; margin-bottom: 14px; }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Hervorhebung */
.callout {
  background: var(--sun-soft); border-radius: var(--radius);
  padding: 18px 20px; font-size: 17.5px; font-weight: 600; line-height: 1.45;
}

/* Fragen-Generator */
.gen {
  background: var(--primary); color: #fff; border-radius: 22px;
  padding: 24px 22px 22px;
  position: relative; overflow: hidden;
}
.gen::after {
  content: ""; position: absolute; right: -60px; top: -70px; width: 200px; height: 200px;
  border-radius: 50%; background: rgba(255, 255, 255, .09); pointer-events: none;
}
.gen__label { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .9); margin: 0 0 12px; }
.gen__q {
  font-weight: 800; font-size: clamp(23px, 5.8vw, 31px); line-height: 1.18; letter-spacing: -.02em;
  margin: 0 0 12px; min-height: 2.36em; text-wrap: balance; position: relative; z-index: 1;
}
.gen__q.is-swapping { animation: swap .45s var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gen__topic { font-size: 14.5px; color: rgba(255, 255, 255, .9); margin: 0 0 18px; }

.topics { display: grid; gap: 12px; grid-template-columns: 1fr; margin: 0; list-style: none; padding: 0; }
@media (min-width: 620px) { .topics { grid-template-columns: 1fr 1fr; } }
.topic { padding: 16px 18px; }
.topic h3 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; margin: 0 0 8px; }
.topic h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--tone); opacity: .7; }
.topic ul { margin: 0; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.45; color: var(--ink-soft); }
.topic li { padding: 5px 0; }
.topic--always { background: var(--primary-soft); border-color: transparent; box-shadow: none; grid-column: 1 / -1; --tone: var(--primary-deep); }
.topic--always ul { color: var(--ink); font-weight: 600; }
@media (min-width: 620px) { .topic--always ul { columns: 2; column-gap: 28px; } .topic--always li { break-inside: avoid; } }

/* Feiern statt fragen */
.swaps { list-style: none; padding-block: 6px; margin: 0; }
.swaps li { display: grid; grid-template-columns: 1fr; gap: 2px 20px; padding: 13px 0; border-top: 1px solid var(--line); }
.swaps li:first-child { border-top: 0; }
@media (min-width: 620px) { .swaps li { grid-template-columns: 1fr 1.25fr; align-items: baseline; } }
.swaps .was { color: var(--ink-mute); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.swaps .now { font-weight: 700; line-height: 1.4; }
.swaps .now::before { content: "→ "; color: var(--primary); }
.twocol { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 680px) { .twocol { grid-template-columns: 1fr 1.35fr; align-items: start; } }
.box .note { font-size: 14.5px; color: var(--ink-mute); margin: -6px 0 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { font-size: 14.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--tone-soft); color: var(--tone); }
.check { list-style: none; padding: 0; margin: 0; }
.check li { padding: 8px 0 8px 34px; position: relative; line-height: 1.45; }
.check li:last-child { padding-bottom: 0; }
.check li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-soft) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'><path d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23145f4d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}

/* Videos */
.videos { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; padding: 0; margin: 0; }
@media (min-width: 680px) { .videos { grid-template-columns: repeat(3, 1fr); } }
.video__frame {
  aspect-ratio: 4 / 5; border-radius: 16px;
  display: grid; place-items: center; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--sky-soft), var(--lilac-soft));
}
.video__frame video, .video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video__soon { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); background: rgba(255, 255, 255, .8); padding: 5px 12px; border-radius: 999px; }
.video__title { font-weight: 700; font-size: 15.5px; line-height: 1.35; margin: 10px 2px 0; }

/* Fuß */
.outro { padding: 56px 0 36px; text-align: center; }
.outro__foot { font-size: 13.5px; color: var(--ink-mute); margin: 20px 0 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
@media print {
  .readbar, .gen .btn, .outro .btn { display: none; }
  .reveal { opacity: 1; transform: none; }
  .card { box-shadow: none; }
}
