/* Beate-Freiheit E-Book Funnel
   Leitmotiv: oben die Nacht im Büro (Takt, Uhrwerk), unten das Morgenlicht (Atem, Kompass). */

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/playfair-display-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Oswald";
  src: url("../fonts/oswald-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Caveat";
  src: url("../fonts/caveat-600-subset.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --night: #1b130e;
  --night-2: #2a1e15;
  --gold-hi: #f2d899;
  --gold: #c8a96a;
  --gold-deep: #a07840;
  --linen: #f8ede1;
  --sand: #f1e2cf;
  --paper: #fdf8f1;
  --ink: #34261b;
  --ink-soft: #6a5645;
  --cream: #f6ead8;
  --error: #a23d26;

  --serif: "Playfair Display", "Times New Roman", serif;
  --cond: "Oswald", "Arial Narrow", sans-serif;
  --sans: "Jost", "Avenir Next", "Segoe UI", sans-serif;
  --hand: "Caveat", "Bradley Hand", cursive;

  --gutter: clamp(1.25rem, 5vw, 3rem);
  --max: 72rem;
  --section-y: clamp(4.5rem, 12vh, 8rem);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--cream);
  font: 400 1.0625rem/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

h1,
h2,
h3 {
  margin: 0;
  text-wrap: balance;
}

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

button {
  font: inherit;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 3px;
}

.light :focus-visible,
.lead :focus-visible {
  outline-color: var(--ink);
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 50;
  padding: 0.6rem 1rem;
  background: var(--paper);
  color: var(--ink);
  border-radius: 8px;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.hand {
  font-family: var(--hand);
  font-weight: 600;
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  padding: 0.95rem 1.9rem;
  border: 0;
  border-radius: 999px;
  font: 500 1.0625rem/1.2 var(--sans);
  letter-spacing: 0.01em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.6s ease, background-color 0.25s ease;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn--gold {
  color: var(--night);
  background: linear-gradient(100deg, #b98a3e 0%, #e8c271 30%, #f7e0a3 50%, #dbb062 72%, #b98a3e 100%);
  background-size: 220% 100%;
  background-position: 0% 0;
  box-shadow: 0 14px 34px -14px rgba(214, 160, 72, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn--gold:hover {
  background-position: 100% 0;
}

.btn--dark {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 14px 30px -18px rgba(52, 38, 27, 0.8);
}

.btn--dark:hover {
  background: #4a3627;
}

.btn--ghost {
  color: var(--ink);
  background: transparent;
  box-shadow: inset 0 0 0 1.5px var(--gold-deep);
}

.btn--ghost:hover {
  background: rgba(200, 169, 106, 0.14);
}

/* ---------- Himmel, Goldstaub und Uhr (fixiert hinter Hero und Stimmen) ---------- */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.sky__night,
.sky__dawn {
  position: absolute;
  inset: 0;
}

.sky__night {
  background:
    radial-gradient(90% 60% at 78% 38%, rgba(120, 82, 44, 0.42) 0%, rgba(120, 82, 44, 0) 70%),
    radial-gradient(70% 50% at 10% 90%, rgba(70, 46, 26, 0.5) 0%, rgba(70, 46, 26, 0) 70%),
    linear-gradient(180deg, #17100b 0%, #1f160f 55%, #2a1d13 100%);
}

/* Doppelt so hoch wie der Bildschirm mit weicher Oberkante: wird beim Scrollen wie ein Sonnenaufgang hochgeschoben */
.sky__dawn {
  bottom: auto;
  height: 200%;
  background: linear-gradient(180deg, rgba(240, 168, 98, 0) 0%, rgba(244, 178, 110, 0.7) 9%, #f8dcbd 18%, #fcf5ec 28%, var(--linen) 62%, #f7dcc0 100%);
  transform: translateY(50%);
}

.sky__sun {
  position: absolute;
  left: 50%;
  bottom: -55vmax;
  width: 110vmax;
  height: 110vmax;
  margin-left: -55vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 176, 98, 0.6) 0%, rgba(245, 170, 95, 0.28) 32%, rgba(245, 170, 95, 0) 62%);
  opacity: 0;
}

.sky__dust {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dial {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: min(92vw, 78vh, 640px);
  aspect-ratio: 1;
  color: var(--gold);
  opacity: 0;
  pointer-events: none;
}

.dial svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dial__ring {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.6;
}

.dial__ring--thin {
  stroke-width: 0.3;
  stroke-opacity: 0.6;
}

.dial__major,
.dial__minor,
.dial__hour,
.dial__minute {
  stroke: currentColor;
  stroke-linecap: round;
}

.dial__major {
  stroke-width: 1.4;
}

.dial__minor {
  stroke-width: 0.6;
  stroke-opacity: 0.8;
}

.dial__hour {
  stroke-width: 2.6;
}

.dial__minute {
  stroke-width: 1.6;
}

.dial__hand line {
  stroke: var(--gold-hi);
  stroke-width: 0.9;
  stroke-linecap: round;
}

.dial__letter {
  fill: currentColor;
  font: 500 10px/1 var(--sans);
  text-anchor: middle;
  dominant-baseline: central;
  opacity: 0;
}

.dial__needle {
  opacity: 0;
}

.dial__needle-n {
  fill: currentColor;
}

.dial__needle-s {
  fill: #5c3f25;
}

.dial__pin {
  fill: var(--gold-hi);
}

/* ---------- Kopfzeile ---------- */

.brand {
  position: absolute;
  top: max(1.25rem, env(safe-area-inset-top));
  left: 0;
  right: 0;
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  color: var(--cream);
  text-align: center;
  text-transform: uppercase;
}

.brand__name {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font: 400 0.95rem/1 var(--sans);
  letter-spacing: 0.32em;
}

.brand__name::before,
.brand__name::after {
  content: "";
  width: clamp(1.5rem, 8vw, 4.5rem);
  height: 1px;
  background: var(--gold);
}

.brand__claim {
  font: 400 0.62rem/1 var(--sans);
  letter-spacing: 0.34em;
  color: rgba(246, 234, 216, 0.7);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  display: grid;
  gap: 2.75rem;
  align-content: center;
  min-height: 100svh;
  padding: 6.75rem var(--gutter) 3.5rem;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
}

.hero__kicker {
  margin-bottom: 0.9rem;
  font-size: clamp(1.45rem, 1.2rem + 1vw, 1.85rem);
  line-height: 1;
  color: var(--gold-hi);
  transform: rotate(-2deg);
  transform-origin: left;
}

.hero__title {
  font-weight: 400;
}

.hero__brush {
  position: relative;
  isolation: isolate;
  display: inline-block;
  margin-left: -0.32em;
  padding: 0.24em 0.5em 0.26em 0.42em;
  font: 800 clamp(2.6rem, 1rem + 7.6vw, 5.4rem)/0.98 var(--serif);
  letter-spacing: -0.012em;
  color: var(--night);
}

.hero__brush svg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
}

.hero__tick,
.hero__line {
  display: block;
}

.hero__line {
  white-space: nowrap;
}

.hero__breath {
  display: block;
  margin-top: 0.4em;
  font: 600 clamp(2rem, 0.9rem + 5vw, 4rem)/1 var(--cond);
  letter-spacing: 0.004em;
  text-transform: uppercase;
  color: #fff6e8;
}

.hero__breath .gold {
  color: transparent;
  background: linear-gradient(100deg, #c99a4b 0%, #f6dc9a 35%, #fff1c9 50%, #e2b765 65%, #c99a4b 100%);
  background-size: 240% 100%;
  background-position: 0% 0;
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  max-width: 34ch;
  margin-top: 1.4rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: rgba(246, 234, 216, 0.84);
}

.hero__cta {
  display: grid;
  justify-items: start;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__meta {
  max-width: 34ch;
  font-size: 0.95rem;
  color: rgba(246, 234, 216, 0.66);
}

.hero__book {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1800px;
}

.hero__book::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.6rem;
  width: clamp(150px, 42vw, 300px);
  height: 2.2rem;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
  z-index: -1;
}

.book-float {
  transform-style: preserve-3d;
}

.book {
  position: relative;
  width: clamp(170px, 46vw, 330px);
  aspect-ratio: 2 / 3;
  transform-style: preserve-3d;
  transform: rotateY(22deg) rotateX(3deg) rotateZ(-1deg);
}

.book__cover {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 3px 7px 7px 3px;
  transform: translateZ(11px);
  box-shadow: 18px 30px 60px -18px rgba(0, 0, 0, 0.75);
}

.book__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.book__cover::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 6%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(255, 240, 210, 0.16) 45%, rgba(0, 0, 0, 0.18) 75%, rgba(0, 0, 0, 0));
}

.book__spine {
  position: absolute;
  top: 0;
  left: -11px;
  width: 22px;
  height: 100%;
  transform: rotateY(-90deg);
  background: linear-gradient(90deg, #0f0a07, #4a3624 35%, #6b5034 55%, #1a120c);
  border-radius: 2px;
}

.book__shine {
  position: absolute;
  inset: -10% -30%;
  background: linear-gradient(105deg, rgba(255, 244, 214, 0) 40%, rgba(255, 244, 214, 0.34) 50%, rgba(255, 244, 214, 0) 60%);
  transform: translateX(-100%);
  mix-blend-mode: soft-light;
}

/* ---------- Stimmen ---------- */

.voices {
  position: relative;
  color: var(--cream);
}

.voices__stage {
  position: relative;
  display: grid;
  align-content: center;
  gap: clamp(1.5rem, 4.5vh, 3rem);
  min-height: 100svh;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding: 4.5vh var(--gutter);
}

.voices__head h2 {
  font: 800 clamp(2rem, 1.2rem + 3.4vw, 3.5rem)/1.05 var(--serif);
}

.voices__head p {
  max-width: 36ch;
  margin-top: 0.7rem;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
  opacity: 0.82;
}

.voices__list {
  display: grid;
  gap: clamp(0.7rem, 2.2vh, 1.5rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.voice {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  grid-template-areas:
    "note note"
    "arrow allow";
  align-items: center;
  column-gap: 0.4rem;
}

.voice__note {
  grid-area: note;
  position: relative;
  justify-self: start;
  font-size: clamp(1.75rem, 1.25rem + 2.1vw, 2.7rem);
  line-height: 1.05;
  color: var(--gold-hi);
}

.voice__strike {
  position: absolute;
  left: -4%;
  right: -4%;
  top: 54%;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  transform: rotate(-2.5deg) scaleX(1);
  transform-origin: left center;
}

.voice__arrow {
  grid-area: arrow;
  width: 2.4rem;
  transform: rotate(28deg) translateY(-0.2rem);
  fill: none;
  stroke: var(--gold);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.voice__allow {
  grid-area: allow;
  font: italic 500 clamp(1.15rem, 1rem + 0.9vw, 1.65rem)/1.25 var(--serif);
}

.voices__close {
  font: italic 500 clamp(1.7rem, 1.1rem + 2.6vw, 3rem)/1.2 var(--serif);
  text-align: center;
  text-wrap: balance;
}

/* In der animierten Fassung steht der Satz am Ende allein unter dem Kompass */
.js:not(.static) .voices__close {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 68%;
  color: var(--ink);
}

/* ---------- Helle Sektionen ---------- */

.light {
  position: relative;
  color: var(--ink);
  background: var(--linen);
}

.light h2 {
  font: 800 clamp(2rem, 1.3rem + 3vw, 3.3rem)/1.08 var(--serif);
  color: var(--ink);
}

/* Kapitel */

.path {
  padding: calc(var(--section-y) + 2rem) 0 var(--section-y);
  background: linear-gradient(180deg, rgba(248, 237, 225, 0) 0, var(--linen) 30vh);
}

.path__inner {
  display: grid;
  gap: 3rem;
}

.path__head p {
  max-width: 40ch;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.path__cta {
  display: none;
}

.chapters {
  position: relative;
}

.chapters::before,
.chapters__fill {
  content: "";
  position: absolute;
  left: 0.95rem;
  top: 0.55rem;
  bottom: 0.55rem;
  width: 2px;
  border-radius: 2px;
}

.chapters::before {
  background: rgba(160, 120, 64, 0.22);
}

.chapters__fill {
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  transform-origin: top;
}

.chapters__list {
  display: grid;
  gap: 2.6rem;
  margin: 0;
  padding: 0 0 0 3.2rem;
  list-style: none;
}

.chapter {
  position: relative;
}

.chapter::before {
  content: "";
  position: absolute;
  left: -2.65rem;
  top: 0.3rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--linen), 0 0 0 6px rgba(200, 169, 106, 0.35);
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.chapters.is-animated .chapter:not(.is-lit)::before {
  background: var(--linen);
  box-shadow: 0 0 0 4px var(--linen), inset 0 0 0 2px rgba(160, 120, 64, 0.45);
}

.chapter__num {
  font: 800 1rem/1 var(--serif);
  letter-spacing: 0.06em;
  color: var(--gold-deep);
}

.chapter h3 {
  margin: 0.45rem 0 0.4rem;
  font: 800 clamp(1.35rem, 1.1rem + 1vw, 1.75rem)/1.2 var(--serif);
}

.chapter p {
  max-width: 38ch;
  color: var(--ink-soft);
}

.chapter .chapter__extra {
  margin-top: 0.7rem;
  padding-left: 0.85rem;
  border-left: 2px solid rgba(200, 169, 106, 0.55);
  font-size: 0.97rem;
  color: var(--gold-deep);
}

/* Atem-Moment */

.breath {
  padding: var(--section-y) 0;
  background: var(--sand);
}

.breath__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.breath__text p {
  max-width: 36ch;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.breath__widget {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  text-align: center;
}

.breath__circle {
  position: relative;
  display: grid;
  place-items: center;
  width: min(78vw, 340px);
  aspect-ratio: 1;
}

.breath__ring {
  position: absolute;
  inset: 0;
  transform: rotate(-90deg);
}

.breath__track,
.breath__progress {
  fill: none;
  stroke-width: 2.5;
}

.breath__track {
  stroke: rgba(160, 120, 64, 0.2);
}

.breath__progress {
  stroke: var(--gold-deep);
  stroke-linecap: round;
  stroke-dasharray: 603.19;
  stroke-dashoffset: 603.19;
}

.breath__orb {
  position: absolute;
  inset: 11%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #fff8ea 0%, #f8e2b8 32%, #ecc07f 66%, #d69d55 100%);
  box-shadow: 0 30px 70px -24px rgba(200, 140, 70, 0.7), inset 0 -14px 34px rgba(160, 100, 40, 0.22);
  transform: scale(0.58);
}

.breath__label {
  position: relative;
  display: grid;
  gap: 0.25rem;
  color: var(--ink);
}

.breath__phase {
  font: italic 500 1.55rem/1.1 var(--serif);
}

.breath__count {
  min-height: 2.6rem;
  font: 600 2.6rem/1 var(--cond);
}

.breath__done {
  display: grid;
  justify-items: center;
  gap: 1rem;
}

.breath__done p {
  max-width: 34ch;
  color: var(--ink-soft);
}

/* Antreiber */

.drivers {
  padding: var(--section-y) 0;
}

/* Mobil: Überschrift, Antreiber, Karte und erst dann der Button */
.drivers__inner {
  display: grid;
}

.drivers__text {
  display: contents;
}

.drivers__more {
  order: 1;
}

.drivers__intro {
  max-width: 44ch;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.drivers__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 2rem 0 1.25rem;
}

.chip {
  min-height: 2.9rem;
  padding: 0.6rem 1.15rem;
  border: 1.5px solid rgba(160, 120, 64, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.chip:hover {
  border-color: var(--gold-deep);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.drivers__panel {
  max-width: 50rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(160, 120, 64, 0.18), 0 30px 60px -40px rgba(80, 50, 20, 0.4);
}

.drivers__whisper {
  margin-bottom: 1.4rem;
  font-size: clamp(1.75rem, 1.35rem + 1.6vw, 2.5rem);
  line-height: 1.12;
  color: var(--gold-deep);
}

.drivers__facts {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.drivers__facts dt {
  font-weight: 600;
}

.drivers__facts dd {
  margin: 0.2rem 0 0;
  color: var(--ink-soft);
}

.drivers__more {
  display: grid;
  justify-items: start;
  gap: 1.25rem;
  max-width: 50rem;
  margin-top: 2rem;
}

.drivers__more p {
  max-width: 48ch;
  color: var(--ink-soft);
}

/* Über Beate */

.about {
  padding: var(--section-y) 0;
  background: var(--paper);
}

.about__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about__photo {
  position: relative;
  max-width: 27rem;
  margin: 0;
}

.about__photo img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 827 / 847;
  object-fit: cover;
}

.about__note {
  position: absolute;
  right: -0.5rem;
  bottom: -1.6rem;
  padding: 0.2rem 0.9rem;
  font-size: 1.9rem;
  color: var(--gold-deep);
  background: var(--paper);
  border-radius: 999px;
  transform: rotate(-4deg);
}

.about__text h2 {
  max-width: 18ch;
}

.about__text p {
  max-width: 44ch;
  margin-top: 1.1rem;
  color: var(--ink-soft);
}

.about__quote {
  margin: 2rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1.5px solid rgba(200, 169, 106, 0.5);
}

.about__quote p {
  margin: 0;
  font: italic 500 clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem)/1.3 var(--serif);
  color: var(--ink);
}

/* Kundenstimmen */

.stories {
  padding: var(--section-y) 0;
}

.stories__grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.story {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1.5px solid rgba(160, 120, 64, 0.35);
}

.story blockquote {
  margin: 0;
}

.story p {
  max-width: 46ch;
  color: var(--ink-soft);
}

.story .story__pull {
  margin-bottom: 1rem;
  font: italic 500 clamp(1.35rem, 1.1rem + 1vw, 1.8rem)/1.3 var(--serif);
  color: var(--ink);
}

.story figcaption {
  margin-top: 1.1rem;
  font-weight: 600;
}

/* Abschluss und FAQ */

.final {
  padding: var(--section-y) 0 calc(var(--section-y) * 0.9);
  background:
    radial-gradient(70% 45% at 50% 38%, rgba(247, 176, 98, 0.28), rgba(247, 176, 98, 0) 70%),
    var(--linen);
}

.final__inner {
  display: grid;
  justify-items: center;
  text-align: center;
}

.final__book img {
  width: clamp(130px, 30vw, 190px);
  border-radius: 3px 6px 6px 3px;
  box-shadow: 14px 24px 50px -18px rgba(60, 35, 15, 0.55);
  transform: rotate(-4deg);
}

.final__inner h2 {
  margin-top: 2.5rem;
  font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.9rem);
}

.final__inner h2 span {
  display: block;
}

.final__inner p {
  max-width: 38ch;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.final__cta {
  margin-top: 2rem;
}

.faq {
  max-width: 46rem;
  margin-top: calc(var(--section-y) * 0.9);
}

.faq h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
}

.faq details {
  border-top: 1px solid rgba(160, 120, 64, 0.3);
}

.faq details:last-child {
  border-bottom: 1px solid rgba(160, 120, 64, 0.3);
}

.faq summary {
  position: relative;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0.5rem;
  top: 50%;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 1.5px solid var(--gold-deep);
  border-bottom: 1.5px solid var(--gold-deep);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s ease;
}

.faq details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.faq details p {
  max-width: 60ch;
  padding-bottom: 1.25rem;
  color: var(--ink-soft);
}

/* Fußzeile */

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 2rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  background: var(--sand);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.footer nav {
  display: flex;
  gap: 1.5rem;
}

/* Sticky-Button auf dem Handy */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: rgba(27, 19, 14, 0.94);
  box-shadow: 0 -12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(110%);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sticky-cta.is-visible {
  transform: none;
}

.sticky-cta .btn {
  width: 100%;
}

/* ---------- Pop-up ---------- */

.lead {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.lead[open] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lead::backdrop {
  background: rgba(20, 13, 8, 0.74);
}

.lead[open]::backdrop {
  animation: backdrop-in 0.35s ease;
}

@keyframes backdrop-in {
  from {
    opacity: 0;
  }
}

html:has(.lead[open]) {
  overflow: hidden;
}

.lead__panel {
  position: relative;
  width: min(100%, 31rem);
  margin-top: auto;
  padding: 1.6rem var(--gutter) calc(1.4rem + env(safe-area-inset-bottom));
  border-radius: 26px 26px 0 0;
  background: var(--paper);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35);
}

.lead__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.lead__close:hover {
  background: var(--sand);
}

.lead__close svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.lead__head {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 1.1rem;
  align-items: center;
  margin: 0.25rem 2.5rem 1.5rem 0;
}

.lead__cover {
  width: 4.5rem;
  border-radius: 2px 5px 5px 2px;
  box-shadow: 6px 10px 22px -8px rgba(60, 35, 15, 0.55);
  transform: rotate(-4deg);
}

.lead__head h2 {
  font: 800 clamp(1.45rem, 1.2rem + 1vw, 1.75rem)/1.15 var(--serif);
}

.lead__head p {
  margin-top: 0.35rem;
  font-size: 0.98rem;
  color: var(--ink-soft);
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.95rem;
}

.field label {
  font-size: 0.95rem;
  font-weight: 500;
}

.field input,
.field select {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(110, 85, 60, 0.28);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 1.0625rem/1.2 var(--sans);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 4px rgba(200, 169, 106, 0.28);
}

.field.has-error input {
  border-color: var(--error);
}

.field__error {
  font-size: 0.9rem;
  color: var(--error);
}

.field__error:empty {
  display: none;
}

.phone {
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  gap: 0.5rem;
}

.field select {
  appearance: none;
  padding-right: 1.8rem;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236a5645' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 0.75rem center / 0.7rem;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lead__submit {
  width: 100%;
  margin-top: 0.4rem;
}

.lead__submit.is-sending .btn__label::after {
  content: "";
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-left: 0.6em;
  vertical-align: -0.15em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.lead__error {
  margin-top: 0.9rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: rgba(162, 61, 38, 0.08);
  color: var(--error);
  font-size: 0.95rem;
}

.lead__note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Dankesseite ---------- */

.unlock {
  display: grid;
  gap: 3rem;
  align-items: center;
  min-height: 100svh;
  padding: 7.5rem var(--gutter) 4rem;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
}

.thanks {
  background: var(--linen);
  color: var(--ink);
}

.thanks .brand {
  color: var(--ink);
}

.thanks .brand__claim {
  color: var(--ink-soft);
}

.thanks .sky__night {
  display: none;
}

.thanks .sky__dawn {
  transform: translateY(-50%);
}

.thanks .sky__sun {
  opacity: 1;
}

.thanks .sky__sun {
  bottom: -70vmax;
}

.open-book {
  position: relative;
  justify-self: center;
  width: clamp(160px, 40vw, 290px);
  aspect-ratio: 2 / 3;
  perspective: 1800px;
}

.open-book__page {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: start;
  gap: 0.5rem;
  padding: 12% 11%;
  border-radius: 2px 6px 6px 2px;
  background: #faf6ef;
  box-shadow: 14px 24px 50px -18px rgba(60, 35, 15, 0.45), inset 10px 0 18px -12px rgba(80, 50, 20, 0.35);
  color: var(--ink);
}

.open-book__kicker {
  font: 600 0.55rem/1 var(--sans);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  text-align: center;
}

.open-book__title {
  font: 800 clamp(0.95rem, 0.7rem + 1vw, 1.35rem)/1.1 var(--serif);
}

.open-book__lines {
  display: grid;
  gap: 0.42rem;
  margin-top: 0.4rem;
}

.open-book__lines i {
  height: 3px;
  border-radius: 2px;
  background: rgba(52, 38, 27, 0.16);
}

.open-book__lines i:nth-child(3n) {
  width: 78%;
}

.open-book__quote {
  margin-top: 0.8rem;
  padding: 0.6rem 0.5rem;
  border-block: 1px solid rgba(160, 120, 64, 0.6);
  background: #f3e9da;
  font: italic 500 clamp(0.6rem, 0.5rem + 0.4vw, 0.8rem)/1.3 var(--serif);
  text-align: center;
}

.open-book__cover {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform-style: preserve-3d;
}

.open-book__cover img,
.open-book__cover::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 2px 6px 6px 2px;
  backface-visibility: hidden;
}

.open-book__cover img {
  object-fit: cover;
  box-shadow: 14px 24px 50px -18px rgba(60, 35, 15, 0.55);
}

.open-book__cover::after {
  content: "";
  background: linear-gradient(90deg, #efe4d3, #faf6ef);
  transform: rotateY(180deg);
}

.unlock__kicker {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-deep);
  transform: rotate(-2deg);
  transform-origin: left;
}

.unlock h1 {
  margin-top: 0.6rem;
  font: 800 clamp(2.2rem, 1.3rem + 4vw, 4.2rem)/1.04 var(--serif);
  color: var(--ink);
}

.unlock__text p {
  max-width: 40ch;
  margin-top: 1.1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.unlock__download {
  display: grid;
  justify-items: start;
  gap: 0.7rem;
  margin-top: 2rem;
}

.unlock__download .unlock__meta {
  margin-top: 0;
  font-size: 0.92rem;
}

.unlock__text .unlock__tip {
  margin-top: 1.75rem;
  padding-left: 0.9rem;
  border-left: 2px solid rgba(200, 169, 106, 0.6);
  font-size: 1rem;
}

.steps {
  padding: var(--section-y) 0;
  background: var(--paper);
}

.steps__list {
  display: grid;
  gap: 1.75rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps__list li {
  position: relative;
  padding-left: 3.5rem;
  color: var(--ink-soft);
  counter-increment: step;
}

.steps__list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -0.1rem;
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--night);
  font: 800 1.05rem/1 var(--serif);
}

.steps__list strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--ink);
  font-weight: 600;
}

.next {
  padding: var(--section-y) 0;
}

.next__inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.next__inner img {
  width: 100%;
  border-radius: 18px;
  aspect-ratio: 1402 / 1122;
  object-fit: cover;
}

.next__text p {
  max-width: 42ch;
  margin-top: 1rem;
  font-size: 1.125rem;
  color: var(--ink-soft);
}

.next__text .btn {
  margin-top: 1.75rem;
}

.next__text .next__note {
  margin-top: 0.9rem;
  font-size: 0.95rem;
}

.notfound {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1.25rem;
  min-height: 100svh;
  padding: var(--gutter);
  text-align: center;
}

.notfound h1 {
  font: 800 clamp(2rem, 1.4rem + 3vw, 3rem)/1.1 var(--serif);
}

/* ---------- Ab Tablet/Desktop ---------- */

@media (min-width: 640px) {
  .lead[open] {
    justify-content: center;
    padding: 2rem 1rem;
  }

  .lead__panel {
    margin-block: auto;
    padding: 2.25rem 2.25rem 1.9rem;
    border-radius: 26px;
  }

  .drivers__facts {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    padding-top: 7rem;
  }

  .voice {
    grid-template-columns: minmax(15rem, 1fr) 6.5rem 1.55fr;
    grid-template-areas: "note arrow allow";
    column-gap: 1.25rem;
  }

  .voice__arrow {
    width: 100%;
    transform: none;
  }

  .path__inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 5rem;
    align-items: start;
  }

  .path__head {
    position: sticky;
    top: 22vh;
  }

  .path__cta {
    display: inline-flex;
    margin-top: 2rem;
  }

  .breath__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .drivers__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4.5rem;
    align-items: start;
  }

  .drivers__text {
    display: block;
    position: sticky;
    top: 18vh;
  }

  .drivers__chips {
    margin-top: 0.4rem;
  }

  .about__inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
  }

  .stories__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }

  .sticky-cta {
    display: none;
  }

  .unlock {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    padding-top: 8rem;
  }

  .next__inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

@media (max-height: 640px) and (max-width: 899px) {
  .voices__head p {
    display: none;
  }

  .voice__note {
    font-size: 1.6rem;
  }

  .voice__allow {
    font-size: 1.05rem;
  }
}

/* ---------- Animationszustände ---------- */

/* Vor dem Intro unsichtbar, solange Motion aktiv werden kann */
.js:not(.static) [data-intro] {
  opacity: 0;
}

/* Statische Fassung: reduzierte Bewegung oder Motion-Skript nicht geladen */
.static .dial,
.static .sky__dust {
  display: none;
}

.static .voices {
  background: var(--night-2);
}

.static .voices__stage {
  padding-block: var(--section-y);
}

.static .voice__note {
  opacity: 0.55;
}

.static .path {
  background: var(--linen);
  padding-top: var(--section-y);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
