/* ============================================================
   Sonntags Start Club — Premium-Designsystem
   Richtung: ruhig & hochwertig (Natur / Editorial)
   Ein globales System fuer alle Seiten. Privacy-safe:
   keine externen Font-Calls (System-Serif + System-Sans).
   ============================================================ */

/* ---------- Design-Variablen ---------- */
:root {
  color-scheme: light;

  /* Blush/Rosé-Basis — Soft Wave v7 */
  --blush: #fae8f0;
  --blush-warm: #fef3f8;
  --blush-deep: #f4c8dc;
  --blush-card: #fff8fb;

  /* Plum-Brand */
  --plum: #3e1565;
  --plum-dark: #28094a;
  --plum-mid: #6b3292;
  --plum-soft: #bfa1d8;
  --plum-faint: #f0e5fa;

  /* Flaechen / Papier */
  --paper: #fae8f0;
  --paper-warm: #fef3f8;
  --sand: #f5dff0;
  --surface: #fff8fb;
  --surface-2: #fffafe;

  /* Text */
  --ink: #1e0b30;
  --ink-muted: #6b4a85;
  --ink-soft: #a882c0;

  /* Brand-Mapping */
  --forest: #6b3292;
  --forest-dark: #28094a;
  --sage: #f0e5fa;
  --sage-soft: #fef3f8;

  /* CTA/Akzent */
  --terra: #6b3292;
  --terra-cta: #3e1565;
  --terra-cta-hover: #28094a;

  /* Waerme-Akzent — Amber, sparsam */
  --gold: #d8924a;
  --gold-soft: #f0d6b3;

  /* Linien */
  --line: rgba(62, 21, 101, 0.11);
  --line-strong: rgba(62, 21, 101, 0.2);
  --line-soft: rgba(62, 21, 101, 0.06);

  /* Schatten */
  --shadow-1:
    0 1px 4px rgba(62, 21, 101, 0.06), 0 8px 24px -12px rgba(62, 21, 101, 0.14);
  --shadow-2:
    0 4px 24px rgba(62, 21, 101, 0.09), 0 1px 4px rgba(62, 21, 101, 0.05);

  /* Radien */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Fokus */
  --focus-ring: 0 0 0 3px rgba(107, 50, 146, 0.34);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-fast: 160ms;
  --dur: 240ms;
  --dur-slow: 480ms;

  /* Schrift — kein externer Call; Fraunces wird genutzt, falls lokal vorhanden */
  --font-display:
    "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  --font-text:
    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: min(1180px, 100% - 2.5rem);
  --measure: 64ch;
  --measure-lead: 46ch;
}

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  background: var(--blush);
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(
      ellipse 90% 55% at 50% 0%,
      rgba(253, 220, 240, 0.52) 0%,
      rgba(253, 220, 240, 0) 65%
    ),
    radial-gradient(
      ellipse 60% 40% at 85% 30%,
      rgba(245, 195, 228, 0.28) 0%,
      rgba(245, 195, 228, 0) 58%
    ),
    radial-gradient(
      ellipse 50% 40% at 12% 70%,
      rgba(242, 185, 222, 0.18) 0%,
      rgba(242, 185, 222, 0) 55%
    ),
    var(--blush);
  background-attachment: scroll;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--forest);
  text-decoration: none;
}
button,
input {
  font: inherit;
  color: inherit;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: var(--r-sm);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 80;
  padding: 10px 16px;
  background: var(--forest);
  color: #fff;
  border-radius: var(--r-sm);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus {
  top: 12px;
}

/* ---------- Layout ---------- */
.container {
  width: var(--container);
  margin: 0 auto;
}
.page {
  position: relative;
  isolation: isolate;
}
main {
  display: block;
}
.section,
.hero,
.v2-section,
.v2-hero {
  position: relative;
  padding: clamp(4.5rem, 10vw, 8rem) 0;
}
.hero,
.v2-hero {
  padding-top: clamp(3rem, 7vw, 5rem);
}
.section + .section,
.v2-section + .v2-section {
  border-top: 1px solid var(--line-soft);
}
.section-accent,
.v2-section-warm {
  background:
    radial-gradient(
      ellipse 82% 62% at 100% 0%,
      rgba(244, 198, 222, 0.18) 0%,
      rgba(244, 198, 222, 0) 66%
    ),
    radial-gradient(
      ellipse 68% 58% at 0% 100%,
      rgba(238, 182, 216, 0.12) 0%,
      rgba(238, 182, 216, 0) 63%
    ),
    var(--blush-warm);
}
.v2-section-deep {
  background: linear-gradient(180deg, var(--sage-soft), var(--surface));
}
.v2-form-section {
  background: var(--sand);
}

/* ---------- Typografie ---------- */
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--forest-dark);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-optical-sizing: auto;
}
p {
  margin: 0;
}
h1,
.landing-v2 h1,
.challenge-title,
.hero-headline {
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.2rem);
  line-height: 1.04;
  max-width: 18ch;
}
h2,
.landing-v2 h2 {
  font-size: clamp(2rem, 1.4rem + 2vw, 3rem);
  max-width: 22ch;
}
h3,
.landing-v2 h3 {
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  line-height: 1.2;
}
.lead,
.v2-lead {
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: var(--measure-lead);
}
.section p,
.v2-section p,
.hero p {
  max-width: var(--measure);
  color: var(--ink-muted);
}
.note,
.hero-note,
.v2-hero-note,
.v2-small-note {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}
.accent-word {
  color: var(--terra);
}
.hero-headline {
  display: grid;
  gap: 2px;
}
.hero-headline .line {
  display: block;
}

/* Eyebrow / kleine Labels */
.eyebrow,
.v2-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 4px;
  padding: 6px 13px;
  font-family: var(--font-text);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  background: var(--sage);
  border: 1px solid rgba(107, 50, 146, 0.22);
  border-radius: var(--r-pill);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.v2-card-kicker,
.signup-kicker,
.card-label {
  font-family: var(--font-text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 24px;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: center;
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}
.button-primary {
  background: var(--terra-cta);
  color: #fff;
  box-shadow: var(--shadow-1);
}
.button-primary:hover {
  background: var(--terra-cta-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-2);
}
.button-primary:active {
  transform: translateY(0);
}
.button-secondary {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--forest);
}
.button-secondary:hover {
  border-color: var(--forest);
  background: var(--sage-soft);
}
.button[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.button .arrow {
  display: inline-block;
  transition: transform var(--dur) var(--ease);
}
.button:hover .arrow {
  transform: translateX(4px);
}
.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.94rem;
}
.text-button {
  background: none;
  border: 0;
  padding: 0;
  color: var(--terra);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.actions,
.hero-actions,
.v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}
.actions-center,
.v2-actions-center {
  justify-content: center;
}

/* ---------- Top-Banner ---------- */
.top-banner {
  position: relative;
  z-index: 45;
  background: var(--forest-dark);
  color: #f4f9ee;
}
.top-banner-inner {
  min-height: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 14px;
  padding: 9px 16px;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(244, 249, 238, 0.82);
}
.top-banner-inner strong {
  color: #fff;
  font-weight: 600;
}

/* ---------- Navigation ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(254, 243, 248, 0.88);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  color: var(--forest-dark);
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
  background: var(--forest);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 6px 16px rgba(62, 21, 101, 0.22);
}
.nav-links {
  display: none;
  gap: 22px;
  color: var(--ink-muted);
  font-size: 0.96rem;
}
.nav-links a:hover {
  color: var(--forest);
}

/* ---------- Hero ---------- */
.hero-grid,
.split,
.v2-hero-grid,
.v2-two-col,
.v2-tree-section-grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}
.hero-copy,
.v2-hero-copy,
.v2-section-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}
.v2-section-copy-wide {
  max-width: 60ch;
  margin: 0 auto;
  text-align: center;
}
.v2-section-copy-wide .v2-eyebrow,
.v2-section-copy-wide .eyebrow {
  margin-inline: auto;
}

/* Funnel-Ablauf (4 Schritte) */
.v2-flow {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.v2-flow > div {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.v2-flow span {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--terra);
}
.v2-flow strong {
  display: block;
  margin: 6px 0 4px;
  color: var(--forest-dark);
  font-size: 1.08rem;
}
.v2-flow p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Karten ---------- */
.card,
.v2-card,
.v2-tree-card,
.v2-workbook-preview,
.product-card,
.panel,
.v2-profile-card,
.v2-final-inner {
  background:
    radial-gradient(
      ellipse 82% 62% at 100% 0%,
      rgba(244, 198, 222, 0.16) 0%,
      rgba(244, 198, 222, 0) 66%
    ),
    radial-gradient(
      ellipse 44% 36% at 0% 0%,
      rgba(255, 244, 250, 0.28) 0%,
      rgba(255, 244, 250, 0) 61%
    ),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
}
.v2-card-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.v2-card h3,
.card h3 {
  margin-bottom: 8px;
}
.v2-card p {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

/* Listen mit Haken */
.v2-check-list,
.check-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
}
.v2-check-list li,
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink-muted);
}
.v2-check-list li::before,
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sage);
  border: 1px solid rgba(107, 50, 146, 0.28);
}
.v2-check-list li::after,
.check-list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--forest);
  border-bottom: 2px solid var(--forest);
  transform: rotate(-45deg);
}

/* Schritt-/Wochenlisten */
.v2-week-list,
.ritual-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.v2-week-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
}
.v2-week-list strong {
  min-width: 64px;
  color: var(--terra);
  font-family: var(--font-display);
}
.v2-week-list span {
  color: var(--ink-muted);
}
.ritual-steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-auto-rows: auto;
  column-gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
}
.ritual-steps li > span {
  grid-row: span 2;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--terra);
}
.ritual-steps strong {
  color: var(--forest-dark);
}
.ritual-steps small {
  color: var(--ink-soft);
}
.ritual-stamp {
  margin-top: 14px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.product-card-top {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.product-card-top span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ritual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
}

/* Workbook-Vorschau */
.v2-workbook-preview {
  padding: 16px;
}
.v2-workbook-preview img {
  width: 100%;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}
.v2-workbook-preview figcaption {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}
figure {
  margin: 0;
}

/* Nicole-Zitat */
blockquote {
  margin: 0;
  padding: 16px 20px;
  border-left: 3px solid var(--terra);
  background: var(--sage-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--forest-dark);
}

/* ---------- Erfolgsbaum-Visual ---------- */
.v2-tree-card {
  text-align: center;
}
.v2-tree-card h2 {
  margin: 6px auto 4px;
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem);
}
.v2-tree-visual {
  position: relative;
  margin: 12px 0 4px;
}
.v2-tree-visual svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 280px;
}

/* Wachstumsphasen: nur die aktive Phase ist sichtbar; Ursprung der
   Skalierung liegt am Wurzelpunkt, damit der Baum "aus dem Boden" waechst.
   Erfolgsbaum bleibt gruen (Natur-Motiv), unabh. von Marke. */
.tree-stage {
  opacity: 0;
  transform: scale(0.94);
  transform-box: view-box;
  transform-origin: 50% 91%;
  transition:
    opacity 640ms var(--ease),
    transform 860ms var(--ease);
}
.tree-stage.is-active {
  opacity: 1;
  transform: none;
}

/* Ohne JavaScript gibt es keine Simulation: fertigen Baum statisch zeigen.
   Bewusst auf die Startseiten-Simulation begrenzt: challenge.html laedt
   app.js nicht (nie eine .js-Klasse) und steuert die Phasen stattdessen
   ueber data-tree-stage am .success-tree-Container. */
html:not(.js) .v2-tree-visual .tree-stage[data-tree-stage="tree"] {
  opacity: 1;
  transform: none;
}

/* Diamanten glimmen dezent, erst in der letzten Phase sichtbar. */
.tree-gems {
  animation: gem-glint 3.6s ease-in-out infinite;
}
@keyframes gem-glint {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.72;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tree-stage {
    transition: none;
  }
  .tree-gems {
    animation: none;
  }
}

.v2-tree-replay {
  margin: 0 auto 2px;
  padding: 6px 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font: inherit;
  font-size: 0.85rem;
  color: var(--ink-muted);
  cursor: pointer;

  /* Unsichtbar, aber im Layout: reserviert Platz, damit die Stufen-Liste
     nicht springt, wenn der Button nach der Simulation erscheint.
     visibility nimmt ihn zugleich aus Fokus- und Accessibility-Tree. */
  visibility: hidden;
  opacity: 0;
  transition:
    color var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    opacity var(--dur) var(--ease);
}
.v2-tree-replay.is-visible {
  visibility: visible;
  opacity: 1;
}

/* Ohne JavaScript laeuft keine Simulation: Button samt Platz entfernen. */
html:not(.js) .v2-tree-replay {
  display: none;
}
.v2-tree-replay:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}
.v2-tree-replay:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.v2-tree-stages,
.v2-timeline {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.v2-tree-stages button,
.v2-timeline > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  background: var(--sage-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-pill);
  font-size: 0.92rem;
}

/* Stufen sind klickbar: sie steuern die Wachstums-Simulation. */
.v2-tree-stages button {
  width: 100%;
  font-family: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
}
.v2-tree-stages button:hover {
  border-color: var(--line-strong);
}
.v2-tree-stages button:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}
.v2-tree-stages button.is-current {
  background: var(--sage);
  border-color: var(--plum-soft);
}
.v2-tree-stages strong,
.v2-timeline strong {
  color: var(--forest-dark);
  font-family: var(--font-display);
}
.v2-tree-stages span,
.v2-timeline span {
  color: var(--terra);
  font-weight: 600;
}
.v2-timeline {
  gap: 10px;
}

/* ---------- Signup-Karte ---------- */
.signup-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.6rem);
  display: grid;
  gap: 14px;
}
.signup-card-copy {
  display: grid;
  gap: 6px;
}
.signup-form {
  display: grid;
  gap: 14px;
  margin-top: 4px;
}
.signup-label {
  font-weight: 600;
  color: var(--forest-dark);
  font-size: 0.95rem;
}
.signup-field input[type="email"] {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  background: var(--surface-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  transition:
    border-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}
.signup-field input[type="email"]:focus {
  border-color: var(--terra);
  box-shadow: var(--focus-ring);
  outline: none;
}
.input--hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.signup-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.signup-consent input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: var(--forest);
}
.signup-consent a {
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.signup-consent--health {
  padding: 10px 12px;
  background: var(--gold-soft);
  border: 1px solid rgba(216, 146, 74, 0.35);
  border-radius: var(--r-sm);
  color: var(--forest-dark);
}
.signup-button {
  width: 100%;
}
.signup-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0;
}
.signup-provider-note {
  font-size: 0.8rem;
}
.signup-status {
  margin: 0;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  background: var(--sage-soft);
  border: 1px solid var(--line-soft);
  font-size: 0.9rem;
  color: var(--forest-dark);
}
.signup-status[data-state="success"] {
  background: #e7f1dd;
  border-color: rgba(30, 92, 58, 0.3);
}
.signup-status[data-state="error"] {
  background: #f7e6df;
  border-color: rgba(182, 82, 50, 0.4);
  color: var(--terra-cta-hover);
}
.signup-fallback {
  font-size: 0.86rem;
  color: var(--terra);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brevo-submit-frame,
iframe[hidden] {
  display: none;
}

/* ---------- Empathie (NEU) ---------- */
.empathy {
  background: var(--forest-dark);
}
.empathy h2,
.empathy h3 {
  color: #f8f0fc;
}
.empathy .v2-eyebrow,
.empathy .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #eddcf8;
}
.empathy p {
  color: rgba(248, 240, 252, 0.86);
}
.empathy .accent-word {
  color: var(--gold-soft);
}

/* ---------- Social Proof / Testimonials (NEU) ---------- */
.quotes {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: 22px;
  display: grid;
  gap: 14px;
}
.quote__text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.45;
  color: var(--forest-dark);
}
.quote__who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.quote__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sage);
  display: grid;
  place-items: center;
  color: var(--forest);
  font-weight: 600;
}
.proof-tiktok {
  margin-top: clamp(1.5rem, 4vw, 2.2rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}
.proof-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 14px;
}

/* ---------- FAQ (NEU) ---------- */
.faq {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: clamp(1.5rem, 4vw, 2.5rem) auto 0;
}
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 4px 18px;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 14px 0;
  font-weight: 600;
  color: var(--forest-dark);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: "+";
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--terra);
  transition: transform var(--dur) var(--ease);
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__item p {
  margin: 0 0 16px;
  color: var(--ink-muted);
}

/* ---------- Abschluss-CTA ---------- */
.v2-final {
  background: linear-gradient(180deg, var(--sage-soft), var(--sand));
}
.v2-final-inner {
  text-align: center;
  display: grid;
  gap: 16px;
  justify-items: center;
  max-width: 720px;
  margin: 0 auto;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(244, 249, 238, 0.82);
  padding: 36px 0;
  border-top: 4px solid var(--forest);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.92rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-links a {
  color: rgba(244, 249, 238, 0.82);
}
.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: #fff;
}

/* ---------- Legal-Seiten ---------- */
.legal {
  max-width: var(--measure);
}
.legal h1 {
  margin-bottom: 8px;
}
.legal h2 {
  margin: 32px 0 8px;
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.5rem);
}
.legal p,
.legal li {
  color: var(--ink-muted);
}
.legal ul {
  padding-left: 20px;
}
.legal-meta {
  margin-top: 28px;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

/* ---------- Challenge: Hero / Claim ---------- */
.challenge-claim {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem);
  color: var(--terra);
  margin: 6px 0 12px;
}
.challenge-tag-note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--sage-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  color: var(--ink-muted);
  max-width: 64ch;
}
.section-head {
  max-width: 60ch;
  margin-bottom: clamp(1.5rem, 4vw, 2.4rem);
  display: grid;
  gap: 10px;
}

/* Challenge-Prototyp */
.challenge-workspace {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2rem);
}
.challenge-board {
  min-width: 0;
  display: grid;
  gap: 18px;
}
.tree-panel {
  position: relative;
  align-self: start;
  padding: clamp(1rem, 0.85rem + 1vw, 1.35rem);
  background: linear-gradient(180deg, #fffafe 0%, #f5fbf7 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
}
.tree-panel h3 {
  margin-top: 4px;
  max-width: none;
}
.success-tree {
  position: relative;
  height: clamp(238px, 34vw, 320px);
  margin: 16px 0 14px;
  overflow: hidden;
  border: 1px solid rgba(47, 111, 72, 0.16);
  border-radius: var(--r-sm);
  background: linear-gradient(180deg, #f8fdff 0%, #fbf8f1 64%, #f1eadc 100%);
}
.success-tree svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* Mapping der Challenge-Stufen (challenge.js: empty/seed/sprout/plant/
   stable/reflections/diamonds/final) auf die 5 SVG-Wachstumsphasen des
   gezeichneten Erfolgsbaums. Rein deklarativ ueber data-tree-stage am
   Container, damit challenge.js die Baum-Umsetzung nicht kennen muss:
   "empty" deutet den Samen nur an, "stable" nutzt den kleinen Baum, ab
   "reflections" steht der grosse Baum. */
.success-tree[data-tree-stage="empty"] .tree-stage[data-tree-stage="seed"] {
  opacity: 0.35;
  transform: none;
}
.success-tree[data-tree-stage="seed"] .tree-stage[data-tree-stage="seed"],
.success-tree[data-tree-stage="sprout"] .tree-stage[data-tree-stage="sprout"],
.success-tree[data-tree-stage="plant"] .tree-stage[data-tree-stage="plant"],
.success-tree[data-tree-stage="stable"] .tree-stage[data-tree-stage="sapling"],
.success-tree[data-tree-stage="reflections"]
  .tree-stage[data-tree-stage="tree"],
.success-tree[data-tree-stage="diamonds"] .tree-stage[data-tree-stage="tree"],
.success-tree[data-tree-stage="final"] .tree-stage[data-tree-stage="tree"] {
  opacity: 1;
  transform: none;
}

/* Diamantpunkte wachsen mit den spaeten Stufen: bei "reflections" nur der
   erste, dezente Reflex, ab "diamonds" alle Punkte. Die Opacity liegt auf
   den Kind-Gruppen, damit die Glint-Animation auf .tree-gems selbst
   erhalten bleibt. */
.success-tree .tree-gems > g {
  transition: opacity var(--dur) var(--ease);
}
.success-tree[data-tree-stage="reflections"] .tree-gems > g {
  opacity: 0.55;
}
.success-tree[data-tree-stage="reflections"] .tree-gems > g:nth-of-type(n + 2) {
  opacity: 0;
}
@media (prefers-reduced-motion: reduce) {
  .success-tree .tree-gems > g {
    transition: none;
  }
}
.tree-state-copy {
  color: var(--ink-muted);
  font-weight: 600;
}
.tree-next {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.tree-milestones {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.tree-milestones li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.62);
}
.tree-milestones li.is-active {
  border-color: rgba(47, 111, 72, 0.28);
  background: #f1fbf5;
}
.tree-milestones li[aria-current="step"] {
  border-color: rgba(107, 50, 146, 0.28);
  box-shadow: inset 3px 0 0 var(--terra);
}
.tree-milestones span {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 0.84rem;
}
.tree-milestones strong {
  color: var(--forest-dark);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-align: right;
}
.milestone-toast {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(119, 210, 230, 0.32);
  border-radius: var(--r-sm);
  background: #effcff;
  color: #235c69;
  font-size: 0.92rem;
}
.milestone-toast[hidden] {
  display: none;
}
.tree-panel.has-confetti .success-tree::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 68px;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  background: #b9f3ff;
  box-shadow:
    -74px 18px 0 #d8924a,
    -48px -10px 0 #7aa35b,
    -22px 22px 0 #b9f3ff,
    24px -14px 0 #d8924a,
    52px 18px 0 #7aa35b,
    78px -4px 0 #b9f3ff;
  animation: tree-confetti 820ms var(--ease) both;
}
@keyframes tree-confetti {
  0% {
    opacity: 0;
    transform: translate(-50%, -12px) scale(0.8);
  }
  28% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 42px) scale(1);
  }
}

/* Fortschritt */
.challenge-progress {
  margin: 0;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.challenge-progress-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.challenge-progress-label {
  font-weight: 600;
  color: var(--forest-dark);
}
.challenge-bar {
  margin: 12px 0 8px;
  height: 10px;
  border-radius: var(--r-pill);
  background: var(--sage);
  overflow: hidden;
}
.challenge-bar span {
  display: block;
  height: 100%;
  width: 0%;
  border-radius: var(--r-pill);
  background: linear-gradient(90deg, #2f6f48, #77d2e6);
  transition: width var(--dur-slow) var(--ease);
}
.challenge-progress-note {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Tages-Grid */
.day-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
  gap: 10px;
}
.day-tile {
  min-height: 106px;
  display: grid;
  align-content: space-between;
  gap: 6px;
  padding: 10px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition:
    transform var(--dur) var(--ease),
    border-color var(--dur) var(--ease),
    background var(--dur) var(--ease);
}
.day-tile:hover {
  transform: translateY(-2px);
  border-color: var(--forest);
  background: var(--sage-soft);
}
.day-flag {
  color: var(--ink-soft);
  font-size: 0.72rem;
  line-height: 1.2;
}
.day-num {
  font-family: var(--font-display);
  font-size: 1.72rem;
  font-weight: 600;
  color: var(--forest-dark);
  line-height: 1;
}
.day-name {
  color: var(--ink-muted);
  font-size: 0.82rem;
  line-height: 1.2;
  overflow-wrap: anywhere;
}
.day-tile.is-locked {
  cursor: not-allowed;
  background: rgba(245, 223, 240, 0.58);
  opacity: 0.74;
}
.day-tile.is-locked:hover {
  transform: none;
  border-color: var(--line);
}
.day-tile.is-locked .day-num,
.day-tile.is-locked .day-name {
  color: var(--ink-soft);
}
.day-tile.is-done {
  background: #2f6f48;
  border-color: #2f6f48;
}
.day-tile.is-done .day-flag,
.day-tile.is-done .day-num,
.day-tile.is-done .day-name {
  color: #fff;
}

/* Urkunde */
.certificate-card {
  padding: clamp(1.1rem, 0.95rem + 1vw, 1.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.certificate-card.is-unlocked {
  border-color: rgba(47, 111, 72, 0.3);
  background: linear-gradient(180deg, #fffafe 0%, #f1fbf5 100%);
}
.certificate-status {
  display: inline-flex;
  margin: 0 0 8px;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--sage-soft);
  color: var(--terra);
  font-size: 0.84rem;
  font-weight: 700;
}
.certificate-card h3 {
  max-width: none;
}
.certificate-card .button {
  margin-top: 16px;
}
.certificate-card .button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}
.certificate-preview {
  margin-top: 18px;
  padding: clamp(1.2rem, 1rem + 2vw, 2rem);
  text-align: center;
  border: 1px solid rgba(47, 111, 72, 0.24);
  border-radius: var(--r-sm);
  background: #fff;
}
.certificate-preview[hidden] {
  display: none;
}
.certificate-brand {
  margin: 0 auto 8px;
  color: var(--terra);
  font-weight: 700;
}
.certificate-preview h4 {
  font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.2rem);
}
.certificate-signoff {
  margin: 12px auto 0;
  color: var(--ink-soft);
  font-weight: 700;
}

@media (min-width: 940px) {
  .challenge-workspace {
    grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.45fr);
    align-items: start;
  }
  .tree-panel {
    position: sticky;
    top: 92px;
  }
}

@media (max-width: 520px) {
  .day-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .day-tile {
    min-height: 98px;
    padding: 9px;
  }
}

/* Modal */
.challenge-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 20px;
}
.challenge-modal[hidden] {
  display: none;
}
.challenge-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(40, 9, 74, 0.52);
  backdrop-filter: blur(4px);
}
.challenge-modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-2);
  padding: clamp(1.5rem, 1rem + 2vw, 2.4rem);
}
.challenge-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}
.challenge-modal-close:hover {
  background: var(--sage-soft);
}
.challenge-modal-goal {
  margin: 6px 0 18px;
  font-weight: 600;
  color: var(--terra);
}
.challenge-detail {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
}
.challenge-detail dt {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.challenge-detail dd {
  margin: 4px 0 0;
  color: var(--ink-muted);
}
.challenge-modal-card .button {
  width: 100%;
}
.button.is-done {
  background: var(--forest);
  color: #fff;
}
.challenge-modal-note {
  margin: 12px 0 0;
  font-size: 0.84rem;
  color: var(--ink-soft);
}
body.modal-open {
  overflow: hidden;
}

/* ---------- Sticky Mobile CTA ---------- */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 46;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(254, 243, 248, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: center;
}
.sticky-cta .button {
  width: 100%;
  max-width: 420px;
}
@media (min-width: 820px) {
  .sticky-cta {
    display: none;
  }
}

/* ---------- Reveal-Animation ---------- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur-slow) var(--ease),
    transform var(--dur-slow) var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Mitglieder-Ring (Zugehoerigkeits-Anker) ---------- */
.member-ring-wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
  margin: 0 auto clamp(1.75rem, 4vw, 2.75rem);
}
.member-ring {
  display: flex;
  justify-content: center;
  padding-left: 16px;
}
.member-ring .member {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-left: -16px;
  border-radius: 50%;
  border: 3px solid var(--paper);
  background: var(--sage);
  color: var(--forest-dark);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  box-shadow: var(--shadow-1);
}
.member-ring .member:nth-child(2n) {
  background: var(--gold-soft);
  color: #8a5a1f;
}
.member-ring .member-you {
  width: 62px;
  height: 62px;
  background: var(--terra-cta);
  color: #fff;
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.member-ring .member-you:hover {
  transform: scale(1.06);
}
.member-ring-note {
  max-width: 50ch;
  text-align: center;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.member-ring-note .ph {
  color: var(--terra);
  font-weight: 600;
  white-space: nowrap;
}

/* Kompakter Hero-Trust-Streifen (kleinere Variante des Rings) */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 2px;
}
.hero-trust .member-ring {
  padding-left: 10px;
}
.hero-trust .member {
  width: 38px;
  height: 38px;
  margin-left: -10px;
  font-size: 0.85rem;
  border-width: 2px;
}
.hero-trust .member-you {
  width: 40px;
  height: 40px;
  font-size: 0.6rem;
}
.hero-trust-text {
  margin: 0;
  max-width: 34ch;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* ---------- Video ---------- */
.video-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.video-card {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}
.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #1c1418;
  display: block;
}
.video-cap {
  padding: 12px 16px 16px;
  font-size: 0.92rem;
  color: var(--ink-muted);
}
.video-cap strong {
  display: block;
  color: var(--forest-dark);
  font-family: var(--font-display);
  font-weight: 500;
}
.video-portrait {
  max-width: 300px;
  margin-inline: auto;
  overflow: hidden;
  border-radius: var(--r-md);
}
.video-portrait video {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  border-radius: var(--r-md);
}
.video-note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-align: center;
}
@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1020px) {
  .video-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .video-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Download-/Danke-Seite (Blush/Plum-Skin) ---------- */

.danke-body {
  --forest: #3e1565;
  --forest-dark: #28094a;
  --terra: #6b3292;
  --terra-cta: #3e1565;
  --terra-cta-hover: #28094a;
  --sage: #f0e5fa;
  --sage-soft: #fef5fa;
  --paper: #fae8f0;
  --paper-warm: #fff8fb;
  --sand: #f0dcf0;
  --surface: #fffbfe;
  --surface-2: #fff8fb;
  --ink: #1e0b30;
  --ink-muted: #6b4a85;
  --ink-soft: #a882c0;
  --gold: #bfa1d8;
  --gold-soft: #efd8fa;
  --line: rgba(62, 21, 101, 0.11);
  --line-strong: rgba(62, 21, 101, 0.22);
  --line-soft: rgba(62, 21, 101, 0.07);
  --shadow-1:
    0 1px 4px rgba(62, 21, 101, 0.07), 0 8px 28px -12px rgba(62, 21, 101, 0.16);
  --shadow-2:
    0 2px 6px rgba(62, 21, 101, 0.09), 0 18px 44px -16px rgba(62, 21, 101, 0.22);
  --focus-ring: 0 0 0 3px rgba(107, 50, 146, 0.3);

  background:
    radial-gradient(
      ellipse 90% 55% at 50% 0%,
      rgba(253, 220, 240, 0.52) 0%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 62% 40% at 88% 28%,
      rgba(245, 195, 228, 0.26) 0%,
      transparent 56%
    ),
    radial-gradient(
      ellipse 52% 40% at 12% 74%,
      rgba(238, 185, 220, 0.18) 0%,
      transparent 55%
    ),
    #fae8f0;
  background-attachment: fixed;
}

.danke-body .top-banner {
  background: linear-gradient(135deg, #3e1565 0%, #28094a 100%);
}

.danke-body .site-nav {
  background: rgba(255, 248, 251, 0.88);
}

.danke-body .brand-mark {
  background: linear-gradient(135deg, #6b3292, #3e1565);
  box-shadow: 0 6px 16px rgba(62, 21, 101, 0.28);
}

.danke-body .eyebrow {
  background: linear-gradient(135deg, #f0e5fa, #e8d5f8);
  border-color: rgba(107, 50, 146, 0.2);
  color: #3e1565;
}

.danke-body .eyebrow::before {
  background: #bfa1d8;
}

.danke-body .button-primary {
  background: linear-gradient(135deg, #6b3292 0%, #3e1565 100%);
  box-shadow:
    0 4px 18px rgba(62, 21, 101, 0.28),
    0 1px 4px rgba(62, 21, 101, 0.1);
}

.danke-body .button-primary:hover {
  background: linear-gradient(135deg, #5a2780 0%, #28094a 100%);
}

.danke-body .button-secondary {
  background: rgba(255, 248, 251, 0.9);
  border-color: rgba(62, 21, 101, 0.24);
  color: #3e1565;
}

.danke-body .button-secondary:hover {
  background: #f0e5fa;
  border-color: #6b3292;
}

.danke-body .product-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #fef5fa 0%, #fae9f3 55%, #f6e0f1 100%);
  border: 1px solid rgba(107, 50, 146, 0.16);
  box-shadow:
    0 4px 28px rgba(62, 21, 101, 0.12),
    0 1px 4px rgba(62, 21, 101, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.danke-body .product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #6b3292 0%, #3e1565 50%, #28094a 100%);
  border-radius: 14px 14px 0 0;
}

.danke-body .product-card::after {
  content: "";
  position: absolute;
  top: -22%;
  right: -18%;
  width: 62%;
  height: 68%;
  background: radial-gradient(
    ellipse,
    rgba(244, 198, 222, 0.36) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

.danke-body .product-card > * {
  position: relative;
  z-index: 1;
}

.danke-body .ritual-steps li > span {
  color: #6b3292;
}

.danke-body .ritual-steps li {
  border-bottom-color: rgba(62, 21, 101, 0.09);
}

.danke-body .site-footer {
  background: linear-gradient(135deg, #3e1565 0%, #28094a 100%);
  border-top-color: #6b3292;
}

/* Danke-Seite: nur sichere Mail-Bestaetigungsvariante sichtbar */
.danke-body #variant-a {
  display: block;
}

.danke-body #variant-b {
  display: none;
}

/* Tripwire-Video-Platzhalter */
.danke-body .tripwire-video-wrap {
  position: relative;
  width: 100%;
  max-width: 380px;
  margin: 1rem auto;
  border-radius: var(--r-md);
  overflow: hidden;
  background: #1c1418;
  aspect-ratio: 9 / 16;
}

.danke-body .tripwire-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Digistore24-Kauflink-Platzhalter */
.danke-body .digistore-placeholder {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 20px;
  background: var(--sage-soft);
  border: 2px dashed rgba(107, 50, 146, 0.3);
  border-radius: var(--r-md);
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (min-width: 640px) {
  .actions,
  .hero-actions,
  .v2-actions {
    align-items: center;
  }
  .v2-flow,
  .v2-card-grid,
  .quotes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .v2-tree-section-grid .v2-timeline {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 820px) {
  body {
    background-attachment: fixed;
  }
  .nav-links {
    display: flex;
  }
  .v2-two-col,
  .split,
  .v2-tree-section-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  }
  .hero-grid,
  .v2-hero-grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.82fr);
    align-items: start;
  }
  .v2-section-copy {
    align-content: center;
  }
}

@media (min-width: 1020px) {
  .v2-flow,
  .v2-card-grid-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .v2-card-grid:not(.v2-card-grid-four),
  .quotes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Hero-Portrait Nicole — Muster aus wochenstart.html uebernommen */
.v2-hero-side {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 34px;
}
.v2-hero-portrait {
  margin: 0;
  position: relative;
  width: min(64vw, 264px);
}
.v2-portrait-ring {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.9);
  background: var(--plum-dark);
  box-shadow: 0 24px 48px rgba(40, 9, 74, 0.22);
}
.v2-portrait-ring img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* Quelle traegt ein rundes Motiv auf dunklem Grund; der Zoom
     laesst das Motiv den Kreis-Ausschnitt fuellen. */
  transform: scale(1.28);
}
.v2-hero-portrait figcaption {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 248, 251, 0.88);
  backdrop-filter: blur(6px);
  color: var(--plum);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(40, 9, 74, 0.14);
}
.v2-hero-side .v2-tree-card {
  width: 100%;
}
