/* =====================================================================
   Mama.Spagat — Link in Bio (hello.vanessareinthaller.de)
   1:1-Nachbau des Perspective-Funnels (Campaign 680d5b633ea856003bed907c).
   Alle Werte aus dem Original gemessen (Theme „Mama.spagat"):
   Oxygen 400/700 · Body #1B2020 auf #FAF7F6 · Sage #476160 · Terracotta #CA5D25
   · Vivid #FF6300 · Cream #EFE7DD · Sand #F1E6DA · Radius 20px · Pill-Buttons
   Breakpoints wie Perspective: <640 mobil (--fs-m), 640–767 tablet (--fs-t), ≥768 desktop (--fs-d)
   ===================================================================== */

@font-face { font-family: 'Oxygen'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/2sDfZG1Wl4LcnbuKjk0mRUe0Aw.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oxygen'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/2sDfZG1Wl4LcnbuKgE0mRUe0A4Uc.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Oxygen'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/2sDcZG1Wl4LcnbuCNWgzaGW5Kb8VZA.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Oxygen'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../assets/fonts/2sDcZG1Wl4LcnbuCNWgzZmW5Kb8VZBHR.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #FAF7F6;
  --ink: #1B2020;
  --sage: #476160;
  --terra: #CA5D25;
  --vivid: #FF6300;
  --cream: #EFE7DD;
  --sand: #F1E6DA;
  --grey: #E4E4E2;
  --muted: #5E5E60;
  --btn-fg: #F5F5F5;
  --border: #E5E7EB;
  --placeholder: #6B7280;
  --font: 'Oxygen', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
  --r: 20px;
  --wrap: 896px;       /* Textblöcke (lg:max-w-4xl) */
  --wrap-form: 576px;  /* Formular (max-w-xl) */
  --row: 1312px;       /* Grid-Zeilen: 1280 + 2×16 Rand */
}

*, *::before, *::after { box-sizing: border-box; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; padding-bottom: 4px; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
/* Ueberschriften tragen nur Semantik: Groesse und Gewicht kommen weiter aus den t-*-Klassen,
   Browser-Standardabstaende wuerden das Layout gegenueber dem Original verschieben. */
h1, h2, h3 { margin: 0; font-size: inherit; font-weight: inherit; }
strong, b { font-weight: 700; }
u { text-decoration: underline; }
em, i { font-style: italic; }
button { font-family: inherit; }
sup { font-size: .6em; line-height: 0; vertical-align: super; }

/* Bewusst ohne Einblende-Animation: die Seite steht sofort ruhig da (kein Blur-Aufbau). */

/* ---------- Header ---------- */
.lib-header { background: var(--sage); padding: 8px 16px; }
.lib-header__inner { display: flex; justify-content: center; padding: 8px; }
.lib-header__link { display: inline-block; line-height: 0; }
.lib-header__logo { height: 40px; width: auto; }
@media (min-width: 640px) { .lib-header__logo { height: 48px; } }

/* ---------- Layout-Helfer (Perspective „box": none/small/medium/large/xLarge) ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
@media (min-width: 1024px) { .wrap.px-xl { padding-left: 0; padding-right: 0; } } /* Original: Textblöcke exakt 896px breit */
.wrap-form { width: 100%; max-width: var(--wrap-form); margin: 0 auto; }
.px-s { padding-left: 8px; padding-right: 8px; }
.px-m { padding-left: 16px; padding-right: 16px; }
.px-l { padding-left: 24px; padding-right: 24px; }
.px-xl { padding-left: 32px; padding-right: 32px; }
.pt-0 { padding-top: 0; } .pb-0 { padding-bottom: 0; }
.pt-s { padding-top: 8px; }  .pb-s { padding-bottom: 8px; }
.pt-m { padding-top: 16px; } .pb-m { padding-bottom: 16px; }
.pt-l { padding-top: 24px; } .pb-l { padding-bottom: 24px; }
.pt-xl { padding-top: 32px; } .pb-xl { padding-bottom: 32px; }
@media (min-width: 768px) { .px-l { padding-left: 40px; padding-right: 40px; } }
.tc { text-align: center; } .tl { text-align: left; }
.gap-xl { height: 64px; }

/* Textgrößen: mobil / tablet (≥640) / desktop (≥768) wie --fs-m / --fs-t / --fs-d des Originals */
.t-14 { font-size: 14px; line-height: 1.5; }
.t-16 { font-size: 16px; line-height: 1.5; }
.t-20 { font-size: 20px; line-height: 1.25; }
.t-h1 { font-size: 24px; line-height: 1.25; }
.t-h2 { font-size: 30px; line-height: 1.15; letter-spacing: -0.02em; }
@media (min-width: 640px) { .t-h1 { font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; } .t-h2 { font-size: 36px; } }
@media (min-width: 768px) { .t-20 { font-size: 24px; } .t-h1 { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; } .t-h2 { font-size: 48px; } }

.c-ink { color: var(--ink); } .c-sage { color: var(--sage); } .c-terra { color: var(--terra); } .c-vivid { color: var(--vivid); }
.c-cream { color: var(--cream); } .c-white { color: var(--bg); } .c-muted { color: var(--muted); }
.bold { font-weight: 700; } .italic { font-style: italic; }

/* Inline-Emoji als Bild (Apple-Set, wie im Original) */
.em { display: inline-block; height: 1em; width: 1em; vertical-align: -0.15em; }

/* Hervorhebung („mark" mit Farbe, z. B. NEU) */
.mark-terra { background: var(--terra); color: var(--bg); border-radius: 6px; padding: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Grid-Zeilen + Spalten ---------- */
.row { width: 100%; max-width: 1440px; margin: 0 auto; padding-left: 16px; padding-right: 16px; display: grid; grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
@media (min-width: 1024px) { .row { padding-left: 48px; padding-right: 48px; } }
@media (min-width: 1440px) { .row { padding-left: 5vw; padding-right: 5vw; } }
@media (min-width: 768px) { .row--2 { grid-template-columns: 1fr 1fr; } .row--3 { grid-template-columns: repeat(3, 1fr); } }
.col { position: relative; border-radius: var(--r); overflow: hidden; background: var(--bg); padding: 8px 0; display: flex; flex-direction: column; justify-content: center; }
.col--start { justify-content: flex-start; }
.col--end { justify-content: flex-end; }
.col--white { background: #FFFFFF; }
.col--sand { background: var(--sand); }
.col--sage { background: var(--sage); }
.col--photo::before { content: ""; position: absolute; inset: 0; background: url('../assets/vanessa-bg.webp') center / cover no-repeat; opacity: .32; }
.col--photo > * { position: relative; }
.col__inner { padding: 32px 16px; }
@media (min-width: 768px) { .col__inner { padding: 32px 24px; } }
.section--sand { background: var(--sand); }

/* ---------- Antwort-Karten (questionMedia, 2 Stück) ---------- */
.answers { display: grid; grid-template-columns: repeat(2, minmax(0, 216px)); gap: 16px; justify-content: center; padding: 24px 16px 16px; }
.answer { display: flex; flex-direction: column; border-radius: 12px; overflow: hidden; border: 1px solid rgba(0,0,0,.08); box-shadow: 0 1px 3px rgba(27,32,32,.08); text-decoration: none; color: var(--ink); background: #fff; -webkit-tap-highlight-color: transparent; }
.answer__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; }
.answer__img img { width: 100%; height: 100%; object-fit: cover; }
.answer__txt { display: block; flex: 1; text-align: center; padding: 16px 8px; }
.answer__txt--grey { background: var(--grey); }
.answer__txt--cream { background: var(--cream); }

/* ---------- Bild-Karten (media xLarge, Radius 20) ---------- */
.media { display: block; border-radius: var(--r); overflow: hidden; line-height: 0; margin: 0 auto; width: 100%; }
.media img { width: 100%; height: auto; }
.media--link { -webkit-tap-highlight-color: transparent; }
.col .media { width: calc(100% - 32px); }
@media (min-width: 768px) { .col .media { width: calc(100% - 80px); } }
.col .media--wide { max-width: 896px; margin-top: 24px; }
@media (min-width: 768px) { .col .media--wide { margin-top: 40px; } }

/* ---------- Buttons (Pill) ---------- */
.btn { display: inline-block; background: var(--terra); color: var(--btn-fg); border: 0; border-radius: 9999px; padding: 16px 24px; font-size: 16px; line-height: 1.5; font-weight: 700; text-decoration: none; cursor: pointer; max-width: 100%; text-align: center; box-shadow: inset 0 0 1px rgba(0,0,0,.5); transition: filter .15s ease; -webkit-tap-highlight-color: transparent; }
@media (min-width: 1024px) { .btn { padding: 16px 32px; } }
.btn:hover { filter: brightness(1.06); }
.btn--vivid { background: var(--vivid); }
.btn--block { display: block; width: 100%; }
.btn--lg { font-size: 20px; line-height: 1.25; }
@media (min-width: 768px) { .btn--lg { font-size: 24px; } }
.btn[disabled] { opacity: .7; cursor: progress; }
.btn-wrap { display: flex; justify-content: center; }

/* ---------- Countdown ---------- */
.countdown { display: flex; align-items: center; justify-content: center; padding: 16px 0; color: var(--bg); }
.countdown__u { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 56px; }
.countdown__n { font-size: 36px; line-height: 40px; font-weight: 600; font-variant-numeric: tabular-nums; }
.countdown__l { font-size: 14px; line-height: 20px; }
.countdown__sep { width: 1px; height: 32px; background: rgba(250,247,246,.35); margin: 0 12px; }
@media (min-width: 640px) { .countdown__sep { margin: 0 18px; } }

/* ---------- Icon (Chevron / Haken) ---------- */
.icon-row { display: flex; justify-content: center; padding: 32px; }
.icon-row svg, .icon-row img { width: 24px; height: 24px; }
.icon-row--lg img { width: 48px; height: 48px; }

/* ---------- Liste mit Avatar ---------- */
.list { display: flex; align-items: center; gap: 24px; padding: 24px; text-align: left; width: 100%; max-width: 944px; margin: 0 auto; }
.avatar { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 9999px; object-fit: cover; object-position: 50% 30%; }

/* ---------- Formular (Calendly) ---------- */
.form-wrap { width: 100%; max-width: 944px; margin: 0 auto; padding: 16px 24px; } /* Original: Titel 896px breit, Formular 576px */
.form { display: flex; flex-direction: column; gap: 16px; width: 100%; max-width: var(--wrap-form); margin: 0 auto; }
.field { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; height: 56px; display: flex; align-items: center; }
.field__icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; pointer-events: none; }
.field input { flex: 1; height: 54px; border: 0; outline: 0; background: transparent; font: inherit; font-weight: 300; font-size: 16px; padding: 0 40px 0 52px; color: #000; border-radius: 16px; min-width: 0; }
.field input::placeholder { color: var(--placeholder); font-weight: 300; }
.field:focus-within { box-shadow: 0 0 0 3px var(--terra); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; }
.col--sage .btn:focus-visible, .col--sage a:focus-visible { outline-color: #FFFFFF; }
.field.is-invalid { border-color: #dc2626; box-shadow: 0 0 0 2px rgba(220,38,38,.35); }
.consent { display: flex; align-items: flex-start; gap: 16px; padding: 8px 0; position: relative; }
.consent input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.consent__box { position: relative; flex: 0 0 24px; width: 24px; height: 24px; background: #fff; border-radius: 4px; border: 1px solid rgba(0,0,0,.08); display: flex; align-items: center; justify-content: center; transition: box-shadow .2s; }
.consent__box svg { width: 16px; height: 16px; display: block; opacity: 0; transform: scale(.6); transition: opacity .2s, transform .2s; }
.consent input:checked ~ .consent__box svg { opacity: 1; transform: scale(1); }
.consent input:focus-visible ~ .consent__box { outline: 2px solid rgba(255,255,255,.7); outline-offset: 2px; }
.consent.is-invalid .consent__box { box-shadow: 0 0 0 2px rgba(220,38,38,.8); }
.consent__label { font-size: 14px; line-height: 1.5; color: var(--cream); cursor: pointer; padding-top: 2px; }
.consent__label a { text-decoration: underline; }
.form__err { display: none; font-size: 13px; color: #FFE2D7; }
/* Calendly inline (ersetzt das Formular nach dem Absenden, wie Perspective) */
.calendly-inline { width: 100%; min-height: 772px; border-radius: 16px; overflow: hidden; background: #fff; }
.calendly-inline iframe { display: block; width: 100%; min-height: 772px; border: 0; }
@media (max-width: 639px) { .calendly-inline, .calendly-inline iframe { min-height: 1000px; } }
.form__err.is-on { display: block; }

/* ---------- Footer + Fortschrittsbalken (Perspective showProgressBar) ---------- */
.lib-footer { background: var(--bg); padding: 16px 16px 24px; text-align: center; font-size: 12px; line-height: 16px; color: rgba(0,0,0,.6); }
.lib-footer a { color: inherit; text-decoration: underline; }
.lib-footer span { padding: 0 8px; }
/* Fortschrittsbalken entfernt: auf einer Hub-Seite ohne Schritte ohne Aussage. */

/* Utility */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.hidden { display: none !important; }
.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; }
