:root {
  --mist: #e1ecf4;
  --mist-deep: #c9d9e8;
  --paper: #f5f8fb;
  /* Clear dark blue ink (Klaus) — readable, not charcoal/black */
  --ink: #1e4d72;
  --text: #1e4d72;
  --text-soft: #2a5c82;
  --line: rgba(30, 77, 114, 0.28);
  --white: #ffffff;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "Montserrat", "Avenir Next", "Segoe UI", sans-serif;
  --font-serif: "Libre Baskerville", "Iowan Old Style", Georgia, serif;
  /* One Montserrat system: light caps / body / tracking */
  --weight-display: 200;
  --weight-body: 400;
  --track-caps: 0.22em;
  --track-brand: 0.28em;
  /* Pillars stay ~24px; Unlock / Podcast / Ergebnis / Nicole share ~42–48px @1440 */
  --size-pillar: clamp(1.15rem, 2.4vw, 1.5rem);
  --size-display: clamp(1.75rem, 3.33vw, 3rem); /* ~48px @1440 */
  /* Chapter rhythm; Podcast flanks equal (pillars→PODCAST == PODCAST→Ergebnis) */
  --chapter-pad: clamp(4.75rem, 8.5vw, 6.75rem);
  --chapter-inner: clamp(3.5rem, 6.5vw, 5.25rem);
  --chapter-gap-podcast-ergebnis: clamp(2.25rem, 4.5vw, 3.75rem);
  /* = sage bottom + results top (− slight heading offset so flanks match optically) */
  --podcast-flank: calc(
    var(--chapter-pad) + var(--chapter-gap-podcast-ergebnis) + var(--chapter-pad) - 1.125rem
  );
  --pivot-gap: clamp(2.75rem, 4.5vw, 3.5rem);
  /* All Contact pills share one box (sticky / inline / closing) */
  --cta-min-width: 11.5rem;
  --cta-height: 2.75rem;
  --cta-pad-x: 1.35rem;
  --cta-font: 0.9375rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: var(--font-sans);
  font-weight: var(--weight-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--text);
  color: var(--white);
  padding: 0.5rem 0.85rem;
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

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

/* —— Sticky top: brand + Contact —— */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.7rem clamp(1rem, 3.5vw, 2.5rem) 0.85rem;
  background: linear-gradient(
    180deg,
    rgba(225, 236, 244, 0.88) 0%,
    rgba(225, 236, 244, 0.55) 55%,
    rgba(225, 236, 244, 0) 100%
  );
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  /* Full-width fade must not steal clicks from content under the transparent edge */
  pointer-events: none;
}

.topbar__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  column-gap: 1rem;
  width: 100%;
  max-width: none;
  pointer-events: auto;
}

.brand {
  grid-column: 1;
  justify-self: start;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.8rem, 1.55vw, 0.9375rem); /* 15px @ desktop */
  line-height: 1.55;
  letter-spacing: var(--track-brand);
  text-transform: uppercase;
  font-weight: var(--weight-body);
  color: var(--text-soft);
}

.topbar .btn-contact {
  grid-column: 2;
  justify-self: center;
  margin-top: 0.15rem;
}

.brand span {
  display: block;
  font-weight: inherit;
  letter-spacing: inherit;
}

.btn-contact,
.btn-contact--inline,
.btn-contact--ghost,
.topbar .btn-contact,
.about-closing .btn-contact,
.about-closing .btn-contact--ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto;
  min-width: var(--cta-min-width);
  height: var(--cta-height);
  padding: 0 var(--cta-pad-x);
  border: 1.5px solid #2b4352;
  border-radius: 999px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--cta-font);
  line-height: 1;
  color: #2b4352;
  background: #d5ddd6;
  box-shadow: 0 2px 14px rgba(43, 67, 82, 0.18);
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease),
    box-shadow 180ms var(--ease);
}

.btn-contact:hover,
.btn-contact--inline:hover,
.btn-contact--ghost:hover,
.topbar .btn-contact:hover,
.about-closing .btn-contact--ghost:hover {
  background: #2b4352;
  border-color: #2b4352;
  color: #fff;
  box-shadow: none;
}

.btn-contact:active,
.btn-contact--inline:active,
.btn-contact--ghost:active {
  transform: scale(0.97);
}

/* —— Continuous mountain scape —— */
.scape {
  position: relative;
  isolation: isolate;
  color: var(--text-soft);
  background: #dfe6e0;
  overflow: hidden;
  /* Pull up under sticky bar so mountain is continuous behind it */
  margin-top: -5.5rem;
  padding-top: 5.5rem;
}

.scape__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(
      180deg,
      rgba(223, 230, 224, 0) 0%,
      rgba(223, 230, 224, 0) 58%,
      rgba(245, 248, 251, 0.35) 84%,
      rgba(245, 248, 251, 0.95) 100%
    ),
    url("hero-mountains.jpg") center 18% / cover no-repeat;
}

/* —— Hero: truly centered axis (logo / unlock / spine) ——
   Heights follow Readymag artboard rhythm so first viewport
   shows logo → unlock (mid) → spine → start of questions. */
.hero {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* ~ logo@173 + unlock@406 on 1024 artboard ≈ mid-first-screen */
  padding: clamp(1.25rem, 5vh, 3.25rem) 1.25rem 0;
}

.hero__axis {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 32rem;
  text-align: center;
}

.hero__logo {
  width: clamp(7.5rem, 20vw, 12.9375rem); /* 207px @ 1024 */
  height: auto;
  margin: 0 auto;
  opacity: 0.95;
  pointer-events: none;
  animation: logo-in 1.4s var(--ease) both;
}

/* Shared caps style; size splits: pillars vs section displays */
.hero__unlock,
.section-heading,
.pillar h3,
.about__name {
  font-family: var(--font-sans);
  font-weight: var(--weight-display);
  letter-spacing: var(--track-caps);
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero__unlock,
.section-heading,
.about__name {
  font-size: var(--size-display);
}

.pillar h3 {
  font-size: var(--size-pillar);
}

.hero__unlock {
  margin: clamp(1.1rem, 3.2vh, 2rem) 0 0;
  text-align: center;
  animation: fade-up 1s 0.15s var(--ease) both;
}

.hero__spine {
  width: 1px;
  height: clamp(3.25rem, 8vw, 5.125rem); /* 82px @ desktop */
  margin-top: clamp(0.65rem, 1.5vh, 1rem);
  margin-bottom: clamp(0.5rem, 1.5vh, 1rem);
  background: var(--ink);
  transform-origin: top center;
  animation: spine-grow 1.1s 0.4s var(--ease) both;
}

/* —— Staggered questions (desktop artboard proportions; mobile stack) —— */
.questions-block {
  position: relative;
  z-index: 1;
  /* Bottom = podcast-flank − sage top pad → Contact→pillars ≈ podcast-flank */
  padding: clamp(1.5rem, 4vw, 2.5rem) 1.25rem
    calc(var(--podcast-flank) - var(--chapter-pad));
}

.questions-grid {
  position: relative;
  width: min(100%, 42rem);
  margin: 0 auto;
  display: grid;
  gap: 1.75rem;
}

.q {
  text-align: center;
  color: var(--ink);
}

.q__mark {
  display: block;
  margin: 0 auto 0.55rem;
  font-family: var(--font-sans);
  font-size: clamp(1.75rem, 3.9vw, 2.5rem); /* 40px */
  line-height: 0.7;
  font-weight: 500;
  color: var(--ink);
  text-shadow:
    0 0 12px rgba(245, 248, 251, 0.95),
    0 1px 18px rgba(245, 248, 251, 0.9);
}

.q p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(0.9rem, 1.55vw, 0.9375rem); /* 15px */
  line-height: 1.67; /* 25/15 */
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  /* Soft mist halo so slate stays readable on bright fog */
  text-shadow:
    0 0 10px rgba(245, 248, 251, 0.98),
    0 1px 14px rgba(245, 248, 251, 0.92);
}

/* Desktop: absolute stagger matching Readymag left/right columns */
@media (min-width: 768px) {
  .questions-grid {
    width: min(100%, 48rem);
    min-height: 26rem;
    display: block;
  }

  .q {
    position: absolute;
  }

  /* Proportions from artboard (relative to ~1024 content width → 48rem box) */
  .q--1 {
    left: 6%;
    top: 0;
    width: 38%;
  }

  .q--2 {
    right: 2%;
    top: 1.6rem;
    width: 42%;
  }

  .q--3 {
    right: 0;
    top: 7.5rem;
    width: 36%;
  }

  .q--4 {
    left: 0;
    top: 8.2rem;
    width: 44%;
  }

  .q--5 {
    right: 4%;
    top: 16rem;
    width: 36%;
  }

  .q--6 {
    left: 2%;
    top: 17.5rem;
    width: 42%;
  }
}

.pivot {
  width: min(100%, 34rem);
  /* After last question — same air as Podcast flanks */
  margin: var(--podcast-flank) auto 0;
  text-align: center;
}

.pivot p {
  margin: 0 0 1.1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 2.15vw, 1.375rem); /* 22px */
  line-height: 1.45; /* ~32/22 */
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink);
  text-shadow:
    0 0 10px rgba(245, 248, 251, 0.98),
    0 1px 14px rgba(245, 248, 251, 0.92);
}

/* Tight rhythm between the three pivot texts (not ask→CTA) */
.pivot p.pivot__lead,
.pivot p.pivot__freedom {
  margin-bottom: var(--pivot-gap);
}

.pivot p.pivot__freedom,
.pivot p.pivot__ask {
  margin-top: 0;
}

.pivot p.pivot__ask {
  /* Avoid collapsing with .pivot__cta — CTA owns that gap */
  margin-bottom: 0;
}

.pivot em,
.pivot__clause {
  font-family: var(--font-serif);
  font-style: italic;
}

/* Forced break: “— mental, emotional und körperlich.” on its own line */
.pivot__clause {
  display: block;
  margin-top: 0.35rem;
}

.pivot__cta {
  margin-top: 1.75rem !important;
}

.section-heading {
  margin: 0;
  text-align: center;
}

/* —— Sage band: endlich ×3 + podcasts —— */
.sage-band {
  position: relative;
  z-index: 1;
  padding: var(--chapter-pad) 1.5rem;
  /* Extra bottom air before DAS ERGEBNIS */
  padding-bottom: calc(var(--chapter-pad) + var(--chapter-gap-podcast-ergebnis));
  background: #e0e5db;
  color: var(--text-soft);
}

.pillars {
  display: grid;
  gap: 2.75rem;
  grid-template-columns: 1fr;
  width: min(100%, 58rem);
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 800px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 2.25rem;
    align-items: start;
  }
}

.pillar {
  text-align: center;
  max-width: 18rem;
  margin: 0 auto;
}

.pillar__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.95rem;
  object-fit: contain;
}

.pillar__endlich {
  margin: 0 0 0.55rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-soft);
}

.pillar h3 {
  margin: 0 0 0.9rem;
}

.pillar p:not(.pillar__endlich) {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.55;
  font-weight: var(--weight-body);
  letter-spacing: 0;
  color: var(--text-soft);
}

.pillar__icon-wrap {
  display: inline-flex;
  margin: 0 auto 0.95rem;
}

.pillar__icon-wrap .pillar__icon {
  margin: 0;
}

.podcasts {
  width: min(100%, 36rem);
  /* Match gap after podcast block → DAS ERGEBNIS */
  margin: var(--podcast-flank) auto 0;
  text-align: center;
}

.podcasts__show {
  margin: 1.15rem 0 0.55rem;
  font-family: var(--font-sans);
  font-size: clamp(0.72rem, 1.2vw, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.podcasts__episode {
  margin: 0 auto 1.35rem;
  max-width: 28rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
}

.podcasts__episode-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 77, 114, 0.28);
  transition: border-color 180ms var(--ease), color 180ms var(--ease);
}

.podcasts__episode-link:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.podcasts__intro {
  margin: 0 auto 1.75rem;
  max-width: 32rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: var(--weight-body);
  letter-spacing: 0;
  color: var(--text-soft);
}

.spotify-embed {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
}

.spotify-gate {
  width: min(100%, 26.25rem); /* ~420px */
  min-height: 7.375rem; /* ~118px */
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: #121212;
  text-align: center;
  box-sizing: border-box;
}

.spotify-frame {
  width: min(100%, 26.25rem);
  margin-left: auto;
  margin-right: auto;
}

.spotify-gate p {
  margin: 0;
  max-width: 22rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(232, 238, 241, 0.88);
}

.spotify-gate a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.spotify-gate button {
  appearance: none;
  border: 1px solid rgba(232, 238, 241, 0.7);
  background: transparent;
  color: rgba(245, 248, 251, 0.95);
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  font: inherit;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 180ms var(--ease), color 180ms var(--ease), transform 120ms var(--ease);
}

.spotify-gate button:hover {
  background: rgba(245, 248, 251, 0.95);
  color: #121212;
}

.spotify-gate button:active {
  transform: scale(0.97);
}

.spotify-gate[hidden] {
  display: none;
}

.spotify-frame {
  min-height: 152px;
}

.spotify-frame iframe {
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
  display: block;
  background: #121212;
}

/* —— DAS ERGEBNIS: stone spine + flanking text (Readymag) —— */
.results-band {
  position: relative;
  overflow: hidden;
  color: var(--text-soft);
  padding: var(--chapter-pad) 1.25rem;
}

.results-band__media {
  position: absolute;
  inset: 0;
  /* Clean mist — stones are HTML spine only (no baked texture stones) */
  background:
    radial-gradient(ellipse 80% 55% at 50% 70%, rgba(255, 255, 255, 0.55), transparent 70%),
    linear-gradient(180deg, #e6e9e4 0%, #eef0ec 45%, #f4f6f3 100%);
}

.results-band__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 52rem);
  margin: 0 auto;
  text-align: center;
}

.results-band .section-heading {
  margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
}

.results-stage {
  position: relative;
  width: min(100%, 46rem);
  margin: 0 auto;
  min-height: clamp(26rem, 62vw, 32rem);
}

.results-spine {
  position: absolute;
  left: 50%;
  top: 0.35rem;
  bottom: 0.35rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
  transform: translateX(-50%);
  pointer-events: none;
}

.stone {
  position: relative;
  display: block;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.55), transparent 45%),
    radial-gradient(circle at 70% 72%, rgba(90, 100, 95, 0.18), transparent 50%),
    linear-gradient(160deg, #f2f3f0 0%, #d5dbd6 42%, #b8c0ba 100%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.75),
    inset 0 -2px 4px rgba(80, 90, 85, 0.12),
    0 12px 24px rgba(52, 77, 99, 0.14);
}

.stone i {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4a3a2a;
  box-shadow: 0 0 0 1px rgba(74, 58, 42, 0.2);
}

.stone--1 {
  width: 4.6rem;
  height: 2.7rem;
  border-radius: 50%;
  transform: rotate(-6deg);
}

.stone--1 i {
  top: 42%;
  left: 58%;
}

.stone--2 {
  width: 2.85rem;
  height: 4.4rem;
  border-radius: 50%;
  transform: rotate(12deg);
  margin-right: 1.1rem;
}

.stone--2 i {
  top: 28%;
  left: 48%;
}

.stone--3 {
  width: 3.6rem;
  height: 3.2rem;
  border-radius: 48% 52% 45% 55% / 55% 48% 52% 45%;
  transform: rotate(-4deg);
  margin-left: 1rem;
}

.stone--3 i {
  top: 55%;
  left: 38%;
}

.stone--4 {
  width: 5.1rem;
  height: 3rem;
  border-radius: 50%;
  transform: rotate(3deg);
}

.stone--4 i {
  top: 40%;
  left: 62%;
}

.result {
  position: absolute;
  z-index: 2;
  width: min(15.5rem, 42%);
  margin: 0;
}

.result h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.result p {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.5;
  font-weight: var(--weight-body);
  letter-spacing: 0;
  color: var(--text-soft);
}

/* Freude TR · Wissen ML · Sinn MR · Weiter BL — align toward spine */
.result--freude {
  top: 2%;
  left: calc(50% + 3.35rem);
  text-align: left;
}

.result--wissen {
  top: 26%;
  right: calc(50% + 3.35rem);
  text-align: right;
}

.result--sinn {
  top: 52%;
  left: calc(50% + 3.35rem);
  text-align: left;
}

.result--weiter {
  bottom: 1%;
  right: calc(50% + 3.35rem);
  width: min(16.5rem, 44%);
  text-align: right;
}

@media (max-width: 640px) {
  .results-stage {
    min-height: 30rem;
  }

  .result {
    width: min(11.5rem, 44%);
  }

  .result--freude,
  .result--sinn {
    left: calc(50% + 2.4rem);
  }

  .result--wissen,
  .result--weiter {
    right: calc(50% + 2.4rem);
  }

  .result--weiter {
    width: min(12.5rem, 46%);
  }

  .result h3 {
    font-size: 0.95rem;
  }

  .result p {
    font-size: 0.78rem;
  }

  .stone--1 {
    width: 3.6rem;
    height: 2.1rem;
  }

  .stone--2 {
    width: 2.2rem;
    height: 3.4rem;
    margin-right: 0.65rem;
  }

  .stone--3 {
    width: 2.8rem;
    height: 2.5rem;
    margin-left: 0.65rem;
  }

  .stone--4 {
    width: 3.9rem;
    height: 2.3rem;
  }
}

/* —— About + closing: one continuous misty mountain (Readymag) —— */
.about-closing {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  min-height: min(118svh, 58rem);
  color: var(--text-soft);
  padding: var(--chapter-pad) 1.5rem 6.5rem;
}

.about-closing__media {
  position: absolute;
  inset: 0;
  /* Formatfüllend wie Hero/Scape (cover) — leichter Schleier nur für Lesbarkeit */
  background:
    linear-gradient(
      180deg,
      rgba(245, 247, 244, 0.42) 0%,
      rgba(245, 247, 244, 0.18) 28%,
      rgba(245, 247, 244, 0.06) 48%,
      rgba(20, 28, 34, 0.12) 68%,
      rgba(8, 10, 12, 0.42) 86%,
      rgba(6, 8, 10, 0.62) 100%
    ),
    url("closing-mountains.jpg") center 42% / cover no-repeat;
}

.about-closing__inner {
  position: relative;
  z-index: 1;
  width: min(100%, 31rem);
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about__photo {
  width: clamp(9.75rem, 18vw, 11.5rem);
  height: clamp(9.75rem, 18vw, 11.5rem);
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
  margin: 0 0 1.25rem;
  box-shadow: none;
  filter: none;
  background: transparent;
}

.about__name {
  margin: 0 0 1.1rem;
  color: var(--slate, #1e4d72);
}

.about__name span {
  display: block;
}

.about__bio {
  margin: 0 0 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.55;
  font-weight: var(--weight-body);
  letter-spacing: 0;
  color: var(--text-soft);
}

.about__cta {
  margin: 0 0 0.8rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.875rem;
  color: #e8eef1;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Contact geometry/colors: shared .btn-contact rules above (no per-variant resize). */

.closing__moon {
  width: 6.25rem;
  height: auto;
  margin-top: 2rem;
  margin-bottom: 0.25rem;
  border-radius: 50%;
  opacity: 0.98;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.4));
  animation: moon-drift 8s ease-in-out infinite;
  will-change: transform;
}

@keyframes moon-drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
  45% {
    transform: translate3d(10px, -20px, 0) rotate(3deg);
  }
}

/* Endlich icons — stronger drift on wrapper (not on .reveal node) */
.pillar__icon-wrap.is-drifting {
  animation: icon-drift 7s ease-in-out infinite;
  will-change: transform;
  transform-origin: 50% 55%;
}

.pillar__icon-wrap.is-drifting--delay-2 {
  animation-delay: -2.4s;
  animation-duration: 7.8s;
}

.pillar__icon-wrap.is-drifting--delay-3 {
  animation-delay: -4.1s;
  animation-duration: 6.6s;
}

@keyframes icon-drift {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  45% {
    transform: translateY(-12px) rotate(-4deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .closing__moon,
  .pillar__icon-wrap.is-drifting {
    animation: none;
  }
}

.closing__legal {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: 1.1rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.5rem;
  max-width: min(100% - 2rem, 28rem);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.closing__legal-col {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.closing__legal a {
  text-decoration: none;
  color: #e8eef1;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
  transition: color 160ms var(--ease);
}

.closing__legal a:hover {
  color: #fff;
}

/* Legal pages still use site-footer */
.site-footer {
  padding: 2rem 1.5rem 2.5rem;
  background: var(--text);
  color: rgba(255, 255, 255, 0.88);
}

.site-footer__inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  justify-content: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms var(--ease), opacity 160ms var(--ease);
}

.site-footer a:hover {
  border-bottom-color: currentColor;
  opacity: 1;
}

/* —— Legal pages —— */
.legal-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--mist), var(--paper) 18rem);
}

.legal-top {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: baseline;
  flex-wrap: wrap;
  background: rgba(225, 236, 244, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.legal-top a {
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.legal-top .back {
  font-family: var(--font-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
}

.legal-main {
  width: min(100% - 2rem, 42rem);
  margin: 0 auto 3rem;
  flex: 1;
  padding-top: 0.5rem;
}

.legal-main h1 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.legal-main h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.legal-main p,
.legal-main li {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.98rem;
}

.legal-main ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
}

/* —— Motion —— */
.reveal {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 800ms var(--ease), transform 800ms var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (scripting: none) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

  .hero__spine,
  .hero__logo,
  .hero__unlock,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }

  .hero__spine {
    transform: none !important;
  }

  .reveal {
    transform: none !important;
  }
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(0.8rem) scale(0.96);
  }
  to {
    opacity: 0.95;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(0.9rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes spine-grow {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* —— Phone landscape only (desktop landscape keeps centered Contact) —— */
@media (max-width: 767px) and (max-height: 560px) and (orientation: landscape) {
  .topbar {
    padding: 0.35rem 1rem 0.45rem;
  }

  .topbar__inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    max-width: none;
  }

  .brand {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .topbar .btn-contact {
    margin-top: 0;
    /* Keep shared --cta-* size even in landscape */
  }

  .scape {
    margin-top: -3.25rem;
    padding-top: 3.25rem;
  }

  .hero {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
  }

  .hero__logo {
    width: clamp(4.5rem, 12vw, 7rem);
  }

  .hero__unlock {
    margin-top: 0.75rem;
  }

  .hero__spine {
    height: 2.5rem;
  }
}

/* iPhone: readable type, logo size, questions close under spine */
@media (max-width: 480px) {
  .topbar {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding-top: 1rem;
  }

  .hero__logo {
    width: clamp(8rem, 42vw, 10rem);
  }

  .questions-block {
    padding-top: 1rem;
  }

  .questions-grid {
    gap: 1.5rem;
  }

  .about-closing {
    min-height: auto;
    padding-bottom: 8.5rem;
  }

  .closing__legal {
    left: 1rem;
    right: 1rem;
    max-width: none;
    flex-direction: column;
    gap: 0.85rem;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.85rem;
  }
}

