/* =========================================================
   Klarheits-Guide · Nicole Zwecker
   Designsystem angelehnt an nicolezwecker.de
   ========================================================= */

@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-normal.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Jost';
  src: url('/assets/fonts/jost-normal.woff2') format('woff2-variations');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #faf7f2;
  --ivory-2: #f3ede3;
  --ivory-3: #e8dfd1;
  --dark: #15120e;
  --dark-2: #1e1a13;
  --dark-3: #2a241b;
  --text: #1e1a13;
  --text-mid: rgba(30, 26, 19, 0.72);
  --text-dim: rgba(30, 26, 19, 0.52);
  --on-dark: #f5efe5;
  --on-dark-mid: rgba(245, 239, 229, 0.74);
  --on-dark-dim: rgba(245, 239, 229, 0.5);
  --gold: #a67830;
  --gold-2: #c09040;
  --gold-3: #dcb878;
  --gold-text: #86601f;
  --gold-btn: #93681f;
  --line: rgba(166, 120, 48, 0.24);
  --line-soft: rgba(30, 26, 19, 0.1);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 12px rgba(30, 26, 19, 0.06);
  --shadow-md: 0 12px 40px rgba(30, 26, 19, 0.1);
  --shadow-lg: 0 30px 80px rgba(20, 16, 10, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --wrap: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 12vw, 140px);
  --sticky-h: 0px;
}

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

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

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: clamp(16.5px, 1.05vw + 12px, 18px);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.is-locked {
  overflow: hidden;
}

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

img {
  height: auto;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: rgba(192, 144, 64, 0.3);
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
  position: relative;
  z-index: 2;
}

/* ---------- Typografie ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.on-dark .eyebrow {
  color: var(--gold-3);
}

.h1,
.h2,
.h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(2.7rem, 7.4vw + 0.6rem, 5.4rem);
}

.h2 {
  font-size: clamp(2.2rem, 4.6vw + 0.7rem, 3.9rem);
}

.h3 {
  font-size: clamp(1.45rem, 1.2vw + 1.1rem, 1.9rem);
  line-height: 1.15;
}

.h1 em,
.h2 em,
.h3 em {
  font-style: italic;
  color: var(--gold);
}

.on-dark .h1 em,
.on-dark .h2 em,
.on-dark .h3 em {
  color: var(--gold-2);
}

.lead {
  font-size: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);
  line-height: 1.6;
  color: var(--text-mid);
  max-width: 34em;
  margin: 22px 0 0;
  text-wrap: pretty;
}

.on-dark .lead {
  color: var(--on-dark-mid);
}

.lead strong {
  color: var(--text);
  font-weight: 500;
}

.on-dark .lead strong {
  color: var(--on-dark);
}

.micro {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--text-dim);
  margin: 14px 0 0;
}

.on-dark .micro {
  color: var(--on-dark-dim);
}

.on-dark {
  color: var(--on-dark);
}

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

.btn {
  --btn-bg: var(--gold-btn);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #b0843a 0%, var(--btn-bg) 55%, #7e5818 100%);
  color: #fffaf2;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 10px 30px rgba(147, 104, 31, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 244, 222, 0.42) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 5.5s var(--ease) 2.5s infinite;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(147, 104, 31, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.4s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn--block {
  width: 100%;
}

/* Sehr schmale Displays: Button-Text bleibt einzeilig */
@media (max-width: 380px) {
  .btn {
    padding: 0 22px;
    gap: 10px;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
  }
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.85;
}

@keyframes shine {
  0%,
  70% {
    transform: translateX(-120%);
  }
  100% {
    transform: translateX(120%);
  }
}

.link-quiet {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}

/* ---------- Header ---------- */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  padding-top: max(18px, env(safe-area-inset-top));
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: block;
  width: 64px;
  aspect-ratio: 1;
  background: var(--gold-2);
  -webkit-mask: url('/assets/img/logo-maske.png') center / contain no-repeat;
  mask: url('/assets/img/logo-maske.png') center / contain no-repeat;
}

.header-note {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
  text-align: right;
}

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

.hero {
  position: relative;
  min-height: 100svh;
  background:
    radial-gradient(60% 50% at 72% 42%, rgba(192, 144, 64, 0.2), transparent 70%),
    radial-gradient(80% 60% at 10% 100%, rgba(120, 82, 30, 0.18), transparent 70%),
    var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.hero::after {
  /* feines Filmkorn */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .75 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__grid {
  display: grid;
  gap: 28px;
  padding-top: calc(max(18px, env(safe-area-inset-top)) + 96px);
  padding-bottom: 56px;
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__cta {
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  z-index: 2;
  width: min(84vw, 460px);
  margin-inline: auto;
}

.hero__visual picture,
.hero__visual img {
  width: 100%;
}

.hero__visual img {
  -webkit-mask-image: radial-gradient(75% 70% at 50% 46%, #000 58%, transparent 100%);
  mask-image: radial-gradient(75% 70% at 50% 46%, #000 58%, transparent 100%);
}

.hero__glow {
  position: absolute;
  inset: 12% 8% 20%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(214, 160, 80, 0.38), transparent);
  filter: blur(30px);
}

.trust {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 34px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(220, 184, 120, 0.18);
  list-style: none;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--on-dark-mid);
}

.trust li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust li::before {
  content: '';
  flex: none;
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  background: var(--gold-2);
}

.trust strong {
  color: var(--on-dark);
  font-weight: 500;
}

.fog {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.fog.is-ambient {
  z-index: 0;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: 1.08fr 0.92fr;
    align-items: center;
    min-height: 100svh;
    padding-top: 120px;
    padding-bottom: 80px;
    gap: 40px;
  }

  .hero__visual {
    width: 100%;
    max-width: 520px;
    margin-inline: auto 0;
  }
}

/* ---------- Story-Bereich mit goldenem Faden ---------- */

.story {
  position: relative;
  isolation: isolate;
}

.thread {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.thread path {
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thread .thread__line {
  stroke: var(--gold-2);
  stroke-opacity: 0.9;
}

.thread .thread__ghost {
  stroke: var(--gold);
  stroke-opacity: 0.13;
  stroke-width: 1;
}

.thread .thread__tip {
  fill: #f1d7a4;
  filter: drop-shadow(0 0 5px rgba(232, 190, 120, 0.95));
  transition: opacity 0.3s;
}

.thread-zone {
  height: clamp(130px, 18vw, 200px);
}

.thread-zone--knot {
  height: clamp(230px, 26vw, 300px);
}

.thread-zone--sm {
  height: clamp(110px, 12vw, 150px);
}

.story .section {
  padding-block: clamp(20px, 4vw, 48px);
}

.story .section--tint {
  padding-block: clamp(56px, 8vw, 96px);
}

.section {
  position: relative;
  padding-block: var(--section-y);
}

.section--flush-top {
  padding-top: 0;
}

.section--tint {
  background: linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 18%, var(--ivory-2) 82%, var(--ivory) 100%);
}

.section__head {
  max-width: 760px;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .eyebrow {
  justify-content: center;
}

.section__head--center .lead {
  margin-inline: auto;
}

/* ---------- 60-Sekunden-Check ---------- */

.check {
  display: grid;
  gap: 22px;
  margin-top: 44px;
}

.check__list {
  margin: 0;
  padding: 10px;
  list-style: none;
  background: #fffdf9;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.check__item + .check__item {
  border-top: 1px solid var(--line-soft);
}

.check__btn {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 18px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.3s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.check__btn:hover {
  background: rgba(166, 120, 48, 0.05);
}

.check__box {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 1.5px solid rgba(166, 120, 48, 0.55);
  border-radius: 7px;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.check__box svg {
  position: absolute;
  inset: 3px;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: #fffaf2;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  transition: stroke-dashoffset 0.35s var(--ease) 0.05s;
}

.check__btn[aria-pressed='true'] .check__box {
  background: var(--gold);
  border-color: var(--gold);
}

.check__btn[aria-pressed='true'] .check__box svg {
  stroke-dashoffset: 0;
}

.check__btn[aria-pressed='true'] .check__text {
  color: var(--text);
}

.check__text {
  color: var(--text-mid);
  transition: color 0.3s var(--ease);
}

.result {
  position: sticky;
  bottom: calc(12px + env(safe-area-inset-bottom));
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 4px 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(30, 26, 19, 0.94);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.ring {
  position: relative;
  grid-row: span 2;
  width: 64px;
  height: 64px;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 3;
}

.ring__track {
  stroke: rgba(245, 239, 229, 0.14);
}

.ring__bar {
  stroke: var(--gold-2);
  stroke-linecap: round;
  stroke-dasharray: 163.36;
  stroke-dashoffset: 163.36;
}

.ring__value {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1;
}

.ring__value small {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--on-dark-dim);
  display: block;
  margin-top: 2px;
  text-align: center;
}

.result__title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--gold-3);
}

.result__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--on-dark-mid);
}

.result__cta {
  grid-column: 1 / -1;
  margin-top: 12px;
  display: none;
}

.result.has-answers .result__cta {
  display: block;
}

.result__cta .btn {
  width: 100%;
  min-height: 52px;
  font-size: 0.86rem;
}

/* Mobil: kompakte Leiste mit rundem Pfeil-Button rechts */
@media (max-width: 899px) {
  .result {
    grid-template-columns: auto 1fr auto;
    gap: 2px 14px;
    padding: 12px 12px 12px 14px;
  }

  .ring {
    width: 54px;
    height: 54px;
  }

  .ring__value {
    font-size: 1.25rem;
  }

  .result__title {
    font-size: 1.12rem;
  }

  .result__text {
    font-size: 0.8rem;
  }

  .result__cta {
    grid-column: 3;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .result__cta .btn {
    width: 52px;
    min-height: 52px;
    padding: 0;
  }

  .result__cta .btn__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .result__cta .btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (min-width: 900px) {
  .check {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: start;
    gap: 32px;
  }

  .result {
    top: 40px;
    bottom: auto;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 14px;
    padding: 32px;
  }

  .ring {
    grid-row: auto;
    width: 104px;
    height: 104px;
  }

  .ring__value {
    font-size: 2.2rem;
  }

  .result__title {
    font-size: 1.8rem;
  }

  .result__text {
    font-size: 0.98rem;
  }

  .result__cta {
    display: block;
    margin-top: 6px;
    width: 100%;
  }
}

/* ---------- Warnsignale ---------- */

.signals {
  display: grid;
  gap: 18px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: signal;
}

.signal {
  position: relative;
  padding: 30px 26px 28px;
  border-radius: var(--radius);
  background: #fffdf9;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.signal::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-3), transparent);
  transform-origin: left;
}

.signal__num {
  display: block;
  font-family: var(--serif);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 0.9;
  color: var(--gold);
  opacity: 0.85;
}

.signal__label {
  display: block;
  margin: 12px 0 8px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.signal h3 {
  margin-bottom: 12px;
}

.signal p {
  margin: 0;
  color: var(--text-mid);
  font-size: 0.98rem;
}

.extras {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.extra {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.92);
  border: 1px dashed var(--line);
}

.extra svg {
  flex: none;
  width: 34px;
  height: 34px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.extra strong {
  display: block;
  font-weight: 500;
  margin-bottom: 2px;
}

.extra span {
  color: var(--text-mid);
  font-size: 0.95rem;
}

.quote {
  max-width: 820px;
  margin: clamp(56px, 9vw, 96px) auto 0;
  padding: 0;
  text-align: center;
}

.quote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.7rem, 3vw + 0.8rem, 2.7rem);
  line-height: 1.2;
  text-wrap: balance;
}

.quote footer {
  margin-top: 18px;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.center-cta {
  margin-top: 40px;
  text-align: center;
}

@media (min-width: 900px) {
  .signals {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .signal {
    padding: 38px 32px 34px;
  }

  .extras {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 22px;
  }
}

/* ---------- Über Nicole ---------- */

.about {
  display: grid;
  gap: 40px;
}

.about__media {
  position: relative;
  width: min(100%, 440px);
  margin-inline: auto;
}

.about__frame {
  position: absolute;
  inset: 18px -14px -18px 14px;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) + 4px);
  opacity: 0.55;
}

.about__photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  background: var(--ivory-3);
}

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

.about__badge {
  position: absolute;
  right: -6px;
  bottom: 26px;
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.about__badge img {
  width: 56px;
  border-radius: 6px;
}

.about__copy p {
  color: var(--text-mid);
  margin: 18px 0 0;
  max-width: 36em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.85);
  font-size: 0.8rem;
  color: var(--text-mid);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 32px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
}

.stats div {
  margin: 0;
}

.stats dt {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3vw + 1rem, 3rem);
  line-height: 1;
  color: var(--gold);
}

.stats dd {
  margin: 8px 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--text-mid);
}

.book-note {
  margin-top: 26px !important;
  font-size: 0.92rem;
}

.book-note em {
  font-family: var(--serif);
  font-size: 1.12em;
  color: var(--text);
}

@media (min-width: 900px) {
  .about {
    grid-template-columns: 0.85fr 1fr;
    align-items: center;
    gap: 72px;
  }
}

/* ---------- Abschluss ---------- */

.final {
  position: relative;
  padding: clamp(40px, 8vw, 80px) 0 var(--section-y);
  text-align: center;
}

.final .h2 {
  max-width: 13em;
  margin-inline: auto;
}

.final .lead {
  margin-inline: auto;
}

.horizon {
  position: relative;
  height: 44px;
  margin: 34px auto 30px;
  max-width: 760px;
}

.horizon__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-2) 50%, var(--gold) 80%, transparent);
  transform-origin: center;
}

.horizon__sun {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3dc 0%, #e8c88c 45%, var(--gold-2) 100%);
  box-shadow: 0 0 0 6px rgba(192, 144, 64, 0.12), 0 0 30px 8px rgba(232, 200, 140, 0.55);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--dark);
  color: var(--on-dark-mid);
  padding: 56px 0 calc(40px + var(--sticky-h) + env(safe-area-inset-bottom));
  font-size: 0.86rem;
}

.site-footer .wrap {
  display: grid;
  gap: 26px;
}

.site-footer .logo {
  width: 72px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer__links a {
  color: var(--on-dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(220, 184, 120, 0.3);
  padding-bottom: 2px;
}

.footer__note {
  margin: 0;
  max-width: 52em;
  font-size: 0.78rem;
  color: var(--on-dark-dim);
}

@media (min-width: 900px) {
  .site-footer .wrap {
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 48px;
  }

  .footer__note {
    grid-column: 1 / -1;
  }
}

/* ---------- Sticky-CTA (mobil) ---------- */

.sticky-cta {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background: rgba(21, 18, 14, 0.9);
  border-top: 1px solid rgba(220, 184, 120, 0.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  color: var(--on-dark);
  transform: translateY(110%);
  transition: transform 0.55s var(--ease);
}

.sticky-cta.is-visible {
  transform: translateY(0);
}

.sticky-cta__text {
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--on-dark-mid);
}

.sticky-cta__text strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--on-dark);
}

.sticky-cta .btn {
  min-height: 50px;
  padding: 0 22px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

@media (min-width: 900px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  align-items: end;
  visibility: hidden;
}

.modal.is-open {
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 12, 9, 0.62);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
}

.modal__panel {
  position: relative;
  width: 100%;
  max-height: 94svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px 22px calc(26px + env(safe-area-inset-bottom));
  border-radius: 24px 24px 0 0;
  background: var(--ivory);
  box-shadow: var(--shadow-lg);
}

.modal__grip {
  width: 44px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 4px;
  background: var(--ivory-3);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.modal__close svg {
  width: 20px;
  height: 20px;
  stroke: var(--text);
  stroke-width: 1.6;
}

.modal__close:hover {
  background: var(--ivory-2);
}

.progress {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 52px 22px 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.progress__bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: var(--ivory-3);
  overflow: hidden;
}

.progress__bar span {
  display: block;
  height: 100%;
  width: 50%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  transition: width 0.8s var(--ease);
}

.modal__head {
  display: flex;
  gap: 16px;
  align-items: center;
}

.modal__cover {
  flex: none;
  width: 66px;
  border-radius: 2px 5px 5px 2px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.modal__title {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 4vw + 1rem, 2.5rem);
  font-weight: 500;
  line-height: 1.05;
  margin: 0;
}

.modal__title em {
  color: var(--gold);
}

.modal__sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--text-mid);
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.field {
  position: relative;
}

.field label {
  display: block;
  margin: 0 0 6px 4px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-mid);
}

.field input {
  width: 100%;
  height: 56px;
  padding: 0 18px;
  border: 1px solid rgba(30, 26, 19, 0.16);
  border-radius: 14px;
  background: #fffdf9;
  font-size: 16px;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

.field input::placeholder {
  color: rgba(30, 26, 19, 0.36);
}

.field input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(166, 120, 48, 0.14);
}

.field.has-error input {
  border-color: #b24a3a;
}

.field__error {
  display: block;
  min-height: 0;
  margin: 6px 0 0 4px;
  font-size: 0.8rem;
  color: #a2402f;
}

.field__error:empty {
  display: none;
}

.consent-note {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--text-dim);
}

.form__note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 2px 0 0;
  font-size: 0.78rem;
  color: var(--text-dim);
}

.form__note svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.form__status {
  margin: 0;
  font-size: 0.86rem;
  color: #a2402f;
  text-align: center;
}

.form__status:empty {
  display: none;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 250, 242, 0.35);
  border-top-color: #fffaf2;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

@media (min-width: 640px) {
  .modal {
    align-items: center;
    justify-items: center;
    padding: 24px;
  }

  .modal__panel {
    max-width: 520px;
    padding: 34px 38px 34px;
    border-radius: 24px;
  }

  .modal__grip {
    display: none;
  }
}

/* ---------- Unterseiten (Zugang, Vorbereitung) ---------- */

.page-hero {
  position: relative;
  background:
    radial-gradient(60% 55% at 75% 40%, rgba(192, 144, 64, 0.18), transparent 70%),
    var(--dark);
  overflow: hidden;
  isolation: isolate;
}

.page-hero .hero__grid {
  min-height: auto;
}

@media (min-width: 900px) {
  .page-hero .hero__grid {
    min-height: 88svh;
  }
}

.download {
  display: grid;
  gap: 12px;
  margin-top: 30px;
  max-width: 440px;
}

.page-hero .hero__visual--book {
  width: min(62vw, 360px);
  perspective: 1400px;
}

.page-hero .hero__visual--book picture {
  transform: rotateY(-14deg) rotateX(4deg);
  transform-origin: 60% 50%;
  border-radius: 3px 8px 8px 3px;
  overflow: hidden;
  box-shadow: -18px 30px 60px rgba(0, 0, 0, 0.55), inset 6px 0 10px rgba(255, 255, 255, 0.08);
}

.page-hero .hero__visual--book picture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0, rgba(255, 255, 255, 0.1) 2.5%, transparent 6%);
  pointer-events: none;
}

.page-hero .hero__visual--book picture {
  position: relative;
  display: block;
}

.page-hero .hero__visual--book img {
  -webkit-mask-image: none;
  mask-image: none;
}

.next {
  display: grid;
  gap: 36px;
}

.benefits {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--text-mid);
}

.benefits svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.book-card {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border-radius: calc(var(--radius) + 4px);
  background: var(--dark-2);
  color: var(--on-dark);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.book-card::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  right: -180px;
  top: -200px;
  border: 1px solid rgba(220, 184, 120, 0.25);
  border-radius: 50%;
}

.book-card::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  right: -110px;
  top: -140px;
  border: 1px solid rgba(220, 184, 120, 0.16);
  border-radius: 50%;
}

.book-card__person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.book-card__person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 40% 24%;
  border: 1px solid rgba(220, 184, 120, 0.5);
}

.book-card__person strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 500;
}

.book-card__person span {
  font-size: 0.8rem;
  color: var(--on-dark-dim);
}

.book-card .h3 {
  color: var(--on-dark);
}

.book-card ul {
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--on-dark-mid);
}

.book-card li {
  display: flex;
  gap: 10px;
}

.book-card li::before {
  content: '';
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 0.62em;
  transform: rotate(45deg);
  background: var(--gold-2);
}

.cal-error {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--gold-3);
}

.cal-error:empty {
  display: none;
}

@media (min-width: 900px) {
  .next {
    grid-template-columns: 1fr 0.9fr;
    align-items: center;
    gap: 64px;
  }
}

.appointment {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
  padding: 18px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(220, 184, 120, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.appointment[hidden] {
  display: none;
}

.appointment span {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-3);
}

.appointment strong {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.2;
}

.steps {
  display: grid;
  gap: 18px;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 20px;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: #fffdf9;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-sm);
}

.step__num {
  grid-row: span 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--gold);
}

.step p {
  margin: 6px 0 0;
  color: var(--text-mid);
  font-size: 0.98rem;
}

.step a {
  justify-self: start;
  margin-top: 12px;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

@media (min-width: 900px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }

  .step {
    grid-template-columns: 1fr;
    align-content: start;
    padding: 34px 30px;
  }

  .step__num {
    grid-row: auto;
    margin-bottom: 14px;
  }
}

.signature {
  margin: 56px auto 0;
  max-width: 560px;
  text-align: center;
}

.signature p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw + 0.9rem, 1.9rem);
  line-height: 1.3;
  font-style: italic;
}

.signature span {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-size: 2rem;
  font-style: italic;
  color: var(--gold);
}

/* ---------- Squeeze-Page (ein Bildschirm, kein Scrollen) ---------- */

body.squeeze {
  background: var(--dark);
}

.sq {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  /* nie Inhalt abschneiden: passt es auf einem Mini-Display nicht, darf ausnahmsweise gescrollt werden */
  overflow: clip visible;
}

.sq__inner {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: calc(var(--wrap) + 2 * var(--gutter));
  margin-inline: auto;
  padding: max(14px, env(safe-area-inset-top)) var(--gutter) max(10px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto auto;
  grid-template-areas: 'top' 'copy' 'visual' 'action' 'legal';
  gap: clamp(8px, 1.7svh, 20px);
}

.sq__top {
  grid-area: top;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sq__top .logo {
  width: clamp(40px, 6.5svh, 64px);
}

.sq__copy {
  grid-area: copy;
}

.sq__copy .eyebrow {
  margin-bottom: clamp(8px, 1.5svh, 18px);
}

.sq .h1 {
  font-size: clamp(1.8rem, 4.5svh + 0.55rem, 3.2rem);
}

.sq .lead {
  margin-top: clamp(8px, 1.5svh, 20px);
  font-size: clamp(0.92rem, 1.6svh + 0.3rem, 1.12rem);
  line-height: 1.5;
}

.sq__points {
  display: none;
  gap: 10px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: var(--on-dark-mid);
  font-size: 0.95rem;
}

.sq__points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sq__points svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  stroke: var(--gold-2);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sq__visual {
  grid-area: visual;
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sq__visual picture {
  height: 100%;
  display: flex;
  justify-content: center;
}

.sq__visual img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  -webkit-mask-image: radial-gradient(70% 68% at 50% 46%, #000 56%, transparent 100%);
  mask-image: radial-gradient(70% 68% at 50% 46%, #000 56%, transparent 100%);
}

.sq__action {
  grid-area: action;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.sq__action .btn {
  width: 100%;
  max-width: 440px;
}

.sq__trust {
  margin: 0;
  font-size: 0.76rem;
  color: var(--on-dark-mid);
}

.sq__trust strong {
  color: var(--on-dark);
  font-weight: 500;
}

.sq__legal {
  grid-area: legal;
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
}

.sq__legal a {
  color: var(--on-dark-dim);
  text-decoration: none;
}

.sq__legal a:hover {
  color: var(--on-dark);
}

/* Kleine Handys: erst Vertrauenszeile, dann Buch weglassen */
@media (max-width: 899px) and (max-height: 600px) {
  .sq__trust {
    display: none;
  }
}

@media (max-width: 899px) and (max-height: 500px) {
  .sq__visual {
    display: none;
  }
}

@media (min-width: 900px) {
  .sq__inner {
    grid-template-columns: 1.05fr 0.95fr;
    /* Text und Button mittig neben dem Buch, leere Zeilen darüber und darunter */
    grid-template-rows: auto minmax(0, 1fr) auto auto minmax(0, 1fr) auto;
    grid-template-areas: 'top top' '. visual' 'copy visual' 'action visual' '. visual' 'legal legal';
    column-gap: clamp(40px, 5vw, 80px);
    row-gap: clamp(14px, 2.6svh, 32px);
    padding-top: max(22px, env(safe-area-inset-top));
    padding-bottom: 18px;
  }

  .sq .h1 {
    font-size: clamp(2.6rem, min(3.6vw, 7.2svh) + 0.4rem, 5rem);
  }

  .sq__points {
    display: grid;
  }

  .sq__action {
    align-self: start;
    justify-items: start;
    text-align: left;
  }

  .sq__action .btn {
    width: auto;
  }

  .sq__visual {
    height: 100%;
    padding-block: 2svh;
  }

  .sq__legal {
    justify-content: flex-start;
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .sq__points {
    display: none;
  }
}

/* ---------- 404 ---------- */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px var(--gutter);
}

.notfound .logo {
  margin: 0 auto 30px;
}

/* ---------- Seitenwechsel-Blende ---------- */

.veil {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: var(--dark);
  color: var(--on-dark-mid);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.veil.is-visible {
  opacity: 1;
}

.veil__inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

.veil__inner p {
  margin: 0;
}

.veil__sun {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff3dc 0%, #e8c88c 45%, var(--gold-2) 100%);
  box-shadow: 0 0 30px 8px rgba(232, 200, 140, 0.5);
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  50% {
    transform: scale(1.35);
    box-shadow: 0 0 46px 14px rgba(232, 200, 140, 0.35);
  }
}

/* ---------- Unterseiten: Varianten ---------- */

.page-hero--compact .hero__grid {
  min-height: auto;
  padding-bottom: clamp(56px, 9vw, 110px);
}

@media (min-width: 900px) {
  .page-hero--compact .hero__grid {
    grid-template-columns: minmax(0, 820px);
    min-height: 70svh;
    align-content: end;
  }
}

/* ---------- Animation: Grundzustände ---------- */

/* Vor dem JS-Start: Inhalte unsichtbar, damit nichts springt */
.js [data-reveal],
.js [data-hero-title],
.js [data-hero-visual] {
  opacity: 0;
}

/* Sicherheitsnetz: falls JS nicht startet, nach 2,5 s trotzdem alles zeigen */
.js:not(.js-ready) [data-reveal],
.js:not(.js-ready) [data-hero-title],
.js:not(.js-ready) [data-hero-visual] {
  animation: reveal-fallback 0.6s ease 2.5s forwards;
}

@keyframes reveal-fallback {
  to {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .js [data-reveal],
  .js [data-hero-title],
  .js [data-hero-visual] {
    opacity: 1;
  }

  .btn::after {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
