/* Hallmark · genre: editorial (warm, personal) · macrostructure: Split Studio · hero: H2 Split Diptych · nav: N5 · footer: Ft6
 * theme: custom · vibe: "warm, lebensnah, ein bisschen frech, herzlich" · paper: oklch(97.3% 0.012 70) · accent: oklch(39.5% 0.125 4)
 * display: Cormorant Garamond 300/600 · body: Epilogue 400 · axes: light / roman-serif / warm
 * idea: das echte Foto trägt die Seite; Text und Danni stehen sich als Diptychon gegenüber
 * related: landingpage-webinar (gleiche Tokens-Struktur, Typo, Buttons, Hairlines, Reveal)
 * enrichment: none (Originalfotos) · studied: no · context: user-provided
 * Hallmark · pre-emit critique: P5 H5 E4 S5 R4 V4
 */

/* ── Base (wie Webinar) ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: var(--rule-hair); text-underline-offset: 0.2em; }
a:hover { text-decoration-color: var(--color-berry); }

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

.skip-link {
  position: absolute; left: var(--page-gutter); top: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-berry); color: var(--color-on-berry);
  transform: translateY(-200%);
  z-index: 30;
}
.skip-link:focus-visible { transform: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: normal;
  font-size: var(--text-2xl);
  line-height: 1.08;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
  min-width: 0;
}
.lede { font-size: var(--text-lg); line-height: 1.45; color: var(--color-ink-2); max-width: 40ch; }
.meta { font-size: var(--text-sm); color: var(--color-muted); letter-spacing: 0.02em; }

/* ── Buttons (Webinar-Pill, Bordeaux) ─────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 var(--space-xl);
  border: var(--rule-hair) solid transparent;
  border-radius: var(--radius-pill);
  font: 500 var(--text-sm) / 1 var(--font-body);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform var(--dur-micro) var(--ease-out),
    background-color var(--dur-short) var(--ease-out),
    color var(--dur-short) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--color-berry); color: var(--color-on-berry); }
.btn--primary:hover { background: var(--color-berry-2); }
.btn--small { min-height: 44px; padding: 0 var(--space-lg); }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent;
  color: var(--color-berry);
  border-color: var(--color-berry);
}
.btn--ghost:hover { background: var(--color-paper-warm); }
.btn[aria-disabled="true"] { cursor: not-allowed; opacity: 0.72; transform: none; }

/* ── Nav · N5 floating pill ──────────────────────── */
.nav-pill {
  position: fixed;
  top: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 2 * var(--page-gutter));
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-lg);
  background: var(--color-nav-glass);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px -12px var(--color-shadow);
  z-index: 20;
}
/* Pill ohne Button (danke.html): Wordmark mittig */
.nav-pill--solo { padding: var(--space-xs) var(--space-lg); }
.wordmark {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

/* ── Split Studio: gemeinsames Diptychon ─────────── */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2xl);
  padding: var(--space-4xl) var(--page-gutter);
}
.split__head { display: grid; gap: var(--space-lg); align-content: start; }

/* Foto-Slot neben Überschriften (Platzhalter bis zum echten Foto, wie Webinar) */
.photo-slot {
  width: 100%;
  max-width: 22rem;
  aspect-ratio: 4 / 5;
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot[data-placeholder] {
  display: grid;
  place-items: center;
  background: var(--color-placeholder);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
@media (max-width: 55.99rem) {
  .photo-slot { max-width: 18rem; aspect-ratio: 1 / 1; }
}
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-3xl); }
  .split--reverse { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
}

/* ── Hero · H2 Split Diptych ─────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-xl);
  padding: 5.5rem var(--page-gutter) var(--space-3xl);
}
.hero__text { display: grid; gap: var(--space-lg); align-content: center; order: 2; }
.hero__photo { order: 1; margin-inline: calc(var(--page-gutter) * -1); }
.hero__photo img {
  width: 100%;
  height: clamp(15rem, 40svh, 26rem);
  object-fit: cover;
  object-position: 72% 38%;
}
/* Mobil: Handlung vor Erklärung, damit der Button im ersten Screen liegt */
.hero__action { order: 4; }
.hero__lede { order: 5; }
@media (min-width: 56rem) {
  .hero__action, .hero__lede { order: 0; }
}
@media (min-width: 56rem) {
  .hero {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--space-3xl);
    align-items: center;
    min-height: 100svh;
    padding-top: 6rem;
  }
  .hero__text { order: 1; }
  .hero__photo { order: 2; margin-inline: 0; }
  .hero__photo img { height: auto; aspect-ratio: 3 / 4; max-height: 82svh; object-position: 60% 30%; border-radius: var(--radius-md); }
}

.hero__kicker { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.08em; color: var(--color-ink-2); }
.hero__title {
  font-family: var(--font-display);
  font-style: normal;
  font-size: var(--text-display);
  line-height: 0.92;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
  min-width: 0;
  display: grid;
}
.hero__line { font-weight: 600; text-transform: uppercase; letter-spacing: 0.01em; color: var(--color-berry); }
.hero__brand {
  position: relative;
  justify-self: start;
  font-weight: 300;
  color: var(--color-ink);
  padding-bottom: 0.12em;
}
.squiggle {
  position: absolute; left: 0; bottom: -0.04em;
  width: 100%; height: 0.18em;
  overflow: visible;
}
.squiggle path { fill: none; stroke: var(--color-sage); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }

.hero__claim {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-xl);
  line-height: 1.15;
  color: var(--color-berry);
}
.hero__lede { max-width: 44ch; color: var(--color-ink-2); }
.hero__action {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md) var(--space-xl);
  padding-top: var(--space-xs);
}

/* ── Wiedererkennung ─────────────────────────────── */
.recognise { background: var(--color-surface); }
.moments { display: grid; }
.moments li {
  position: relative;
  padding: var(--space-md) 0 var(--space-md) var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
  max-width: 52ch;
}
.moments li:last-child { border-bottom: var(--rule-hair) solid var(--color-rule); }
.moments li::before {
  content: "";
  position: absolute; left: 0; top: calc(var(--space-md) + 0.72em);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--color-blush);
}
.recognise__turn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.2;
  max-width: 26ch;
}
@media (min-width: 56rem) {
  .recognise__turn { grid-column: 2; }
}

/* ── Idee (Bordeaux-Fläche, wie Webinar-Reframe) ─── */
.idea {
  background: var(--color-berry);
  color: var(--color-on-berry);
  padding: var(--space-4xl) var(--page-gutter);
}
.idea__inner {
  display: grid;
  gap: var(--space-xl);
  max-width: 52rem;
  margin-left: clamp(0rem, 8vw, 10rem);
}
.idea__body { color: var(--color-on-berry-2); font-size: var(--text-lg); line-height: 1.5; max-width: var(--measure); }
.idea__line {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--text-2xl);
  line-height: 1.15;
  padding-top: var(--space-xl);
  border-top: var(--rule-hair) solid var(--color-rule-berry);
}
.idea :focus-visible { outline-color: var(--color-focus-berry); }

/* ── Was dich erwartet ───────────────────────────── */
.parts { display: grid; }
.part {
  display: grid;
  gap: var(--space-sm);
  padding: var(--space-xl) 0;
  border-top: var(--rule-hair) solid var(--color-rule-strong);
}
.part__when {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--color-berry);
}
.part__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.15;
}
.part p:not([class]) { max-width: 56ch; color: var(--color-ink-2); }
.part__no { font-weight: 500; }
.offer__enough {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.2;
  max-width: 28ch;
}
@media (min-width: 56rem) {
  .offer__enough { grid-column: 2; }
}

/* ── Gründerin ───────────────────────────────────── */
.host { background: var(--color-paper-warm); align-items: center; }
.host__photo img {
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--radius-md);
}
.host__text { display: grid; gap: var(--space-md); max-width: var(--measure); }
.host__text .section-title { margin-bottom: var(--space-xs); }
.host__quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-xl);
  line-height: 1.2;
  padding-top: var(--space-sm);
}
.host__sign {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-berry);
  padding-top: var(--space-sm);
}
.host__sign span { display: block; font-family: var(--font-body); font-weight: 400; font-size: var(--text-sm); color: var(--color-muted); }

/* ── Gründerinnenangebot ─────────────────────────── */
.founding { align-items: start; }
.founding:focus { outline: none; }
.founding__info { display: grid; gap: var(--space-xl); }
@media (min-width: 56rem) {
  .founding { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
}

.facts { display: grid; border-top: var(--rule-hair) solid var(--color-rule-strong); max-width: 36rem; }
.facts div {
  display: grid;
  grid-template-columns: minmax(0, 5.75rem) minmax(0, 1fr);
  gap: var(--space-md);
  padding: var(--space-sm) 0;
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.facts dt { font-size: var(--text-sm); color: var(--color-muted); padding-top: 0.15em; hyphens: manual; }
@media (min-width: 40rem) {
  .facts div { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); }
}

.packages { display: flex; flex-wrap: wrap; gap: var(--space-sm); padding-top: var(--space-lg); }
.price {
  display: grid;
  gap: var(--space-xs);
  justify-items: center;
  text-align: center;
  padding: clamp(var(--space-xl), 5vw, var(--space-3xl)) clamp(var(--space-lg), 4vw, var(--space-2xl));
  background: var(--color-surface);
  border: var(--rule-hair) solid var(--color-rule);
  border-top: 3px solid var(--color-berry);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -32px var(--color-shadow);
}
.price__label { font-size: var(--text-sm); font-weight: 500; letter-spacing: 0.08em; color: var(--color-ink-2); }
.price__amount {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4rem, 2.5rem + 6vw, 6.5rem);
  line-height: 1;
  color: var(--color-berry);
}
.price__for { color: var(--color-ink-2); margin-bottom: var(--space-lg); }
.price__status { font-size: var(--text-sm); color: var(--color-ink-2); }
.price__status:empty { display: none; }

/* ── FAQ ─────────────────────────────────────────── */
.faq { background: var(--color-surface); }
.faq__list { border-top: var(--rule-hair) solid var(--color-rule-strong); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--text-lg);
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-berry);
  transition: transform var(--dur-short) var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--color-berry); }
.faq details p { padding-bottom: var(--space-lg); max-width: 58ch; color: var(--color-ink-2); }

/* ── Einladung ───────────────────────────────────── */
.closing {
  padding: var(--space-4xl) var(--page-gutter);
  display: grid;
  gap: var(--space-2xl);
}
.closing__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 1rem + 5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 16ch;
  overflow-wrap: anywhere;
  min-width: 0;
}
.closing__action { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); }

/* ── Footer · Ft6 letter close ───────────────────── */
.foot {
  display: grid;
  gap: var(--space-xl);
  padding: var(--space-2xl) var(--page-gutter);
  border-top: var(--rule-hair) solid var(--color-rule);
}
.foot__close { font-family: var(--font-display); font-size: var(--text-lg); line-height: 1.4; }
.foot__sign { font-weight: 600; color: var(--color-berry); }
.foot__legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-muted);
}
.foot__legal a { white-space: nowrap; }

/* ── Dankes-Seite (danke.html) ───────────────────── */
.thanks { align-items: center; padding-top: calc(var(--space-4xl) + var(--space-2xl)); min-height: 100svh; }
.thanks__photo img {
  width: 100%;
  max-width: 30rem;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 18%;
  border-radius: var(--radius-md);
}
.thanks__text { display: grid; gap: var(--space-lg); max-width: var(--measure); align-content: center; }
.thanks__title {
  position: relative;
  justify-self: start;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: normal;
  font-size: var(--text-display);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--color-berry);
  padding-bottom: 0.12em;
  overflow-wrap: anywhere;
  min-width: 0;
}
.thanks__sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: var(--text-xl);
  line-height: 1.2;
  padding-top: var(--space-sm);
}
.thanks__steps { display: grid; gap: var(--space-md); }
.thanks__steps strong { display: block; font-weight: 600; }
@media (max-width: 55.99rem) {
  .thanks__photo { max-width: 18rem; }
}

/* ── Anmelde-Fenster (Stripe Embedded Checkout) ──── */
.checkout {
  width: min(36rem, 100% - 2 * var(--page-gutter));
  max-height: calc(100dvh - 2 * var(--space-lg));
  margin: auto;
  padding: 0;
  border: var(--rule-hair) solid var(--color-rule);
  border-top: 3px solid var(--color-berry);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-ink);
  box-shadow: 0 24px 60px -24px var(--color-shadow);
  overflow: auto;
  overscroll-behavior: contain;
}
.checkout::backdrop { background: var(--color-backdrop); }
.checkout__head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-md) var(--space-md) var(--space-lg);
  background: var(--color-surface);
  border-bottom: var(--rule-hair) solid var(--color-rule);
}
.checkout__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: 1.2;
  color: var(--color-berry);
}
.checkout__close {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out);
}
.checkout__close:hover { background: var(--color-paper-warm); }
.checkout__close:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.checkout__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; }
.checkout__status { padding: var(--space-xl) var(--space-lg); color: var(--color-ink-2); }
.checkout__mount { min-height: 0; }
.checkout__mount:not(:empty) { padding: var(--space-md) 0; }
@media (max-width: 39.99rem) {
  .checkout {
    width: 100%;
    max-width: none;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
  }
}
html:has(.checkout[open]) { overflow: hidden; }

/* ── Motion: ein Auftritt, sonst Ruhe ────────────── */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal var(--dur-long) var(--ease-out) forwards;
  animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes reveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transform: none; animation: fade 150ms linear forwards; animation-delay: 0ms; }
  @keyframes fade { to { opacity: 1; } }
  .btn, .btn:hover, .btn:active { transform: none; transition: background-color var(--dur-micro) linear; }
  .faq summary::after { transition: none; }
}
