/* =====================================================================
   Die Protein Falle — Freebie-Funnel (1:1-Nachbau der Perspective-Seite)
   Statisch, kein Framework. Alle Werte aus der Original-Seite gemessen:
   Font Oxygen 400/700 · Body #1B2020 auf #FAF7F6 · Sage #476160 ·
   Terracotta #CA5D25 · Peach #F8E2D3 / #FEEFE0 · Radius 20px · Pill-Buttons
   ===================================================================== */

@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;
  --terra-2: #CB5D21;
  --peach: #F8E2D3;
  --peach-2: #FEEFE0;
  --cream: #FAF7F6;
  --btn-fg: #F5F5F5;
  --steel: #2F5061;
  --brown: #7B4C2D;
  --star: #FDBD42;
  --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;   /* lg:max-w-4xl */
  --wrap-xl: 576px; /* max-w-xl (Formulare, Multiple Choice) */
  --wrap-hero: 1184px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
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; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0; }
strong, b { font-weight: 700; }
u { text-decoration: underline; }
s { text-decoration: line-through; }
button { font-family: inherit; }

/* ---------- Seiten-Einblendung („blur"-Transition von Perspective) ---------- */
.pf-page { opacity: 0; filter: blur(6px); animation: pfIn .45s ease-out .02s forwards; }
@keyframes pfIn { to { opacity: 1; filter: blur(0); } }
@media (prefers-reduced-motion: reduce) { .pf-page { animation: none; opacity: 1; filter: none; } }

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

/* ---------- Text-Block-Abstände (Perspective „box": none/small/medium/large/xLarge) ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; }
.wrap-xl { width: 100%; max-width: var(--wrap-xl); margin: 0 auto; }
.wrap-hero { width: 100%; max-width: var(--wrap-hero); margin: 0 auto; }
.px { padding-left: 16px; padding-right: 16px; }
.px-xl { padding-left: 32px; padding-right: 32px; }
.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; }
.tc { text-align: center; } .tl { text-align: left; }

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

.c-sage { color: var(--sage); } .c-terra { color: var(--terra); } .c-terra2 { color: var(--terra-2); }
.c-steel { color: var(--steel); } .c-cream { color: var(--cream); } .c-brown { color: var(--brown); }
.c-black { color: #000; } .c-grey { color: #838388; } .c-slate { color: rgb(75,85,99); }

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

/* ---------- Top-Banner ---------- */
.pf-banner { background: var(--terra); color: var(--cream); text-align: center; padding: 0 32px; }
.pf-banner p { font-size: 16px; line-height: 1.5; }

/* ---------- Hero-Raster (2 Spalten ab 768px) ---------- */
.hero { padding: 16px 16px; }
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; }
.hero__media { padding: 0; }
.hero__media .media-link { display: block; border-radius: var(--r); overflow: hidden; line-height: 0; }
.hero__media img { width: 100%; height: auto; }
.hero__claim { padding: 8px 32px 0; text-align: center; }
.hero__panel { background: var(--peach); border-radius: var(--r); }
.hero__panel--terra { background: var(--terra); }
@media (min-width: 768px) {
  .hero { padding: 16px 40px; }
  .hero__grid { grid-template-columns: 1fr 1fr; }
  .hero__media { padding: 40px; }
  .hero__media > .hero__claim { padding-top: 8px; }
}

/* ---------- Opt-in-Formular ---------- */
.optin { padding: 24px 24px; }
@media (min-width: 640px) { .optin { padding: 40px 40px; } }
.optin__title { text-align: center; padding-bottom: 24px; }
.optin__title p { color: var(--steel); font-size: 20px; line-height: 1.25; }
@media (min-width: 768px) { .optin__title p { font-size: 24px; } }
.form { display: flex; flex-direction: column; gap: 16px; }
.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 2px rgba(202,93,37,.35); }
.field.is-invalid { border-color: #dc2626; }
.consent { display: flex; align-items: flex-start; gap: 16px; }
.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; }
.consent__box svg { width: 100%; height: 100%; display: block; }
.consent__box .cb-border { fill: #fff; stroke: var(--border); stroke-width: 4; rx: 15; transition: stroke .2s; }
.consent__box .cb-check { fill: none; stroke: var(--terra); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset .25s ease; }
.consent input:checked ~ .consent__box .cb-border { stroke: var(--terra); stroke-width: 6; }
.consent input:checked ~ .consent__box .cb-check { stroke-dashoffset: 0; }
.consent input:focus-visible ~ .consent__box { outline: 2px solid rgba(202,93,37,.5); border-radius: 4px; }
.consent.is-invalid .cb-border { stroke: #dc2626; }
.consent__label { font-size: 14px; line-height: 1.5; color: var(--steel); cursor: pointer; }
.consent__label a { text-decoration: underline; }
.hero__panel--terra .consent__label, .hero__panel--terra .optin__title p, .hero__panel--terra .optin__note, .hero__panel--terra .optin__note * { color: var(--cream); }
.form__err { display: none; font-size: 13px; color: #dc2626; }
.form__err.is-on { display: block; }

/* ---------- Buttons (Pill, „jittery"-Animation wie Perspective) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--terra); color: var(--btn-fg); border: 0; border-radius: 9999px; padding: 16px 32px; font-size: 16px; line-height: 1.5; font-weight: 700; text-decoration: none; cursor: pointer; max-width: 100%; text-align: center; transition: transform .15s ease, filter .15s ease; -webkit-tap-highlight-color: transparent; }
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: scale(.98); }
.btn--sage { background: var(--sage); }
.btn--block { display: flex; width: 100%; }
.btn--lg { font-size: 20px; line-height: 1.25; }
.btn--xl { font-size: 24px; line-height: 1.25; }
@media (min-width: 768px) { .btn--lg { font-size: 24px; } .btn--xl { font-size: 36px; line-height: 1.15; letter-spacing: -0.02em; } }
@media (min-width: 640px) { .btn--xl { font-size: 30px; line-height: 1.2; letter-spacing: -0.01em; } }
.btn--jitter { animation: jitter 3.2s ease-in-out infinite; }
@keyframes jitter { 0%,84%,100% { transform: rotate(0) scale(1); } 86% { transform: rotate(-1.6deg) scale(1.02); } 88% { transform: rotate(1.6deg) scale(1.02); } 90% { transform: rotate(-1.2deg) scale(1.02); } 92% { transform: rotate(1.2deg) scale(1.02); } 94% { transform: rotate(-.6deg) scale(1.01); } 96% { transform: rotate(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .btn--jitter { animation: none; } }
.btn-row { display: flex; justify-content: center; padding: 24px 0 0; }
.btn[disabled] { opacity: .7; cursor: progress; }

/* ---------- Bewertungen (Avatare + Sterne + Text) ---------- */
.reviews { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 24px 16px 8px; }
.reviews--left { align-items: flex-start; padding: 8px 32px 0; }
.reviews__avatars { display: flex; }
.reviews__avatars img { width: 40px; height: 40px; border-radius: 9999px; border: 2px solid #fff; object-fit: cover; margin-left: -12px; }
.reviews__avatars img:first-child { margin-left: 0; }
.reviews__stars { display: flex; }
.reviews__stars svg { width: 24px; height: 24px; fill: var(--star); }
.reviews__text { font-size: 14px; line-height: 1.5; text-align: center; }

/* ---------- Listen mit Emoji ---------- */
.list { display: grid; grid-template-columns: 1fr; gap: 24px 16px; padding: 24px 8px; }
.list--2 { }
@media (min-width: 768px) { .list--2 { grid-template-columns: 1fr 1fr; } }
.li { display: flex; align-items: center; gap: 12px; text-align: left; }
.li__ico { flex: 0 0 32px; font-size: 32px; line-height: 1; }
.li__ico img { width: 32px; height: 32px; }
.li__ico--sm { flex: 0 0 24px; font-size: 24px; } .li__ico--sm img { width: 24px; height: 24px; }
.li__txt { font-size: 16px; line-height: 1.5; }
.li--avatar .li__ico { flex: 0 0 48px; } .li--avatar .li__ico img { width: 48px; height: 48px; border-radius: 9999px; object-fit: cover; }
.li--avatar-lg .li__ico { flex: 0 0 64px; } .li--avatar-lg .li__ico img { width: 64px; height: 64px; border-radius: 9999px; object-fit: cover; }
.li--center { justify-content: center; text-align: center; }
.li--center .li__txt { text-align: center; }

/* ---------- Bilder ---------- */
.media { display: block; border-radius: var(--r); overflow: hidden; line-height: 0; margin: 0 auto; }
.media--framed { box-shadow: 0 0 0 1px rgba(27,32,32,.06); }
.media--608 { max-width: 608px; }
.media img { width: 100%; height: auto; }
.section-img { padding: 16px 24px; }

/* ---------- Trennlinie / Divider (Original hat „hidden"-Divider mit Abstand) ---------- */
.gap-xl { height: 32px; }

/* ---------- Footer + Fortschrittsbalken ---------- */
.pf-footer { background: var(--bg); padding: 16px; text-align: center; font-size: 12px; line-height: 16px; color: rgba(0,0,0,.6); }
.pf-footer a { color: inherit; text-decoration: underline; }
.pf-footer span { padding: 0 8px; }
.pf-progress { position: fixed; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(202,93,37,.2); z-index: 50; }
.pf-progress > span { display: block; height: 100%; background: var(--terra); width: var(--p, 14.3%); transition: width .5s ease; }
body { padding-bottom: 4px; }

/* ---------- Quiz: Bild-Antworten (erwartung, abnehmziel) ---------- */
.q-head { text-align: center; padding: 16px 24px 0; }
.q-head .q-sub { font-size: 14px; line-height: 1.5; padding-top: 8px; }
.q-media { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 24px 24px; max-width: 944px; margin: 0 auto; }
@media (min-width: 768px) { .q-media { grid-template-columns: repeat(4, 1fr); } .q-media--5 .q-card:nth-child(5) { grid-column: 2 / span 2; } }
.q-card { display: flex; flex-direction: column; background: var(--sage); color: var(--btn-fg); border-radius: var(--r); overflow: hidden; border: 0; padding: 0; cursor: pointer; text-align: center; font: inherit; transition: transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.q-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,32,32,.15); }
.q-card:active { transform: scale(.98); }
.q-card__img { aspect-ratio: 4 / 3; width: 100%; overflow: hidden; background: var(--sage); }
.q-card__img img { width: 100%; height: 100%; object-fit: cover; }
.q-card__lbl { padding: 16px 8px; font-size: 16px; line-height: 1.25; flex: 1; display: flex; align-items: center; justify-content: center; }
.q-card__lbl--terra { background: var(--terra); font-weight: 700; }
.q-card__lbl--bold { font-weight: 700; }
.q-card.is-selected { box-shadow: 0 0 0 3px var(--terra); }

/* ---------- Quiz: Text-Antworten (alter) ---------- */
.q-text { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 24px 24px; max-width: 944px; margin: 0 auto; }
@media (min-width: 768px) { .q-text { grid-template-columns: 1fr 1fr; } }
.q-pill { display: flex; align-items: center; gap: 16px; background: var(--sage); color: var(--btn-fg); border: 0; border-radius: var(--r); padding: 20px 16px; font: inherit; font-weight: 700; font-size: 16px; line-height: 1.5; text-align: left; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease; -webkit-tap-highlight-color: transparent; }
.q-pill:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(27,32,32,.15); }
.q-pill:active { transform: scale(.98); }
.q-pill .em { width: 20px; height: 20px; flex: 0 0 20px; }

/* ---------- Quiz: Mehrfachauswahl (diat-scheitergrund) ---------- */
.q-multi { display: flex; flex-direction: column; gap: 16px; padding: 24px 16px; }
.q-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--peach-2); border: 1px solid rgba(202,93,37,.15); border-radius: 12px; padding: 12px 16px; min-height: 48px; cursor: pointer; font-size: 16px; line-height: 1.5; color: #2A2A2A; transition: border-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
.q-row:hover { border-color: rgba(202,93,37,.45); }
.q-row input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-row__dot { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 9999px; background: #fff; border: 1px solid rgba(0,0,0,.15); position: relative; }
.q-row__dot::after { content: ""; position: absolute; inset: 5px; border-radius: 9999px; background: var(--terra); transform: scale(0); transition: transform .15s; }
.q-row input:checked ~ .q-row__dot { border-color: var(--terra); }
.q-row input:checked ~ .q-row__dot::after { transform: scale(1); }
.q-row.is-checked { border-color: var(--terra); box-shadow: 0 0 0 1px var(--terra); }
.q-row input:focus-visible ~ .q-row__dot { outline: 2px solid rgba(202,93,37,.5); outline-offset: 2px; }

/* ---------- Danke-Seite ---------- */
.mark { background: #FFFF00; border-radius: 6px; padding: 4px; }
.video { position: relative; border-radius: var(--r); overflow: hidden; background: #000; aspect-ratio: 16 / 9; cursor: pointer; }
.video video, .video iframe, .video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; }
.video__play span { width: 64px; height: 64px; border-radius: 9999px; background: #fff; display: flex; align-items: center; justify-content: center; filter: drop-shadow(0 4px 6px rgba(0,0,0,.2)); transition: transform .15s; }
.video:hover .video__play span { transform: scale(1.06); }
.video__len { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 12px; color: #fff; background: rgba(0,0,0,.45); padding: 2px 8px; border-radius: 6px; }
.video.is-playing .video__play, .video.is-playing .video__len, .video.is-playing > img { display: none; }
.chev { display: flex; justify-content: center; padding: 32px; }
.chev img { width: 24px; height: 24px; opacity: .9; }
.split { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 8px 16px; align-items: center; }
@media (min-width: 768px) { .split { grid-template-columns: 1fr 1fr; padding: 8px 40px; } }
.split__col { padding: 8px 0; }
.split__col--peach { background: var(--peach); border-radius: var(--r); }
.split__col--peach2 { background: var(--peach); border-radius: var(--r); }
.split__bg { border-radius: var(--r); overflow: hidden; line-height: 0; }
.split__bg img { width: 100%; height: auto; }
.section--peach { background: var(--peach); }
.testi { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 8px 16px; }
@media (min-width: 768px) { .testi { grid-template-columns: repeat(3, 1fr); padding: 8px 40px; } }
.testi__card { background: #fff; border-radius: var(--r); padding: 24px 0 8px; }
.testi__card .reviews { padding: 0 32px 8px; align-items: flex-start; }
.testi__q { padding: 8px 32px 16px; font-size: 20px; line-height: 1.25; font-weight: 700; }
@media (min-width: 768px) { .testi__q { font-size: 24px; } }
.testi__n { padding: 0 32px 16px; font-size: 16px; color: #000; }
.countdown { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 16px 0; color: var(--ink); }
.countdown__u { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 56px; }
.countdown__n { font-size: 30px; line-height: 36px; font-weight: 600; font-variant-numeric: tabular-nums; }
.countdown__l { font-size: 12px; opacity: .6; }
.countdown__sep { width: 1px; height: 24px; background: currentColor; opacity: .1; }
@media (min-width: 1024px) { .countdown__n { font-size: 36px; line-height: 40px; } .countdown__l { font-size: 14px; } }
.sig { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 0 24px 24px; text-align: center; }
.sig img { width: 96px; height: 96px; border-radius: 9999px; object-fit: cover; object-position: 50% 33%; }

/* Konfetti-Canvas */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

/* Utility */
.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; }
