/* ─────────────────────────────────────────────────────────────
   Jil Langwost · Webinar-Funnel — 1:1 nach Figma „[D] Jil Langwost" (Hi-fi / Design)
   Werte aus der Figma-API: Farben, Schriften, Radien, Schatten.
   ───────────────────────────────────────────────────────────── */
:root {
  --ink: #101010;
  --pink: #ffb3c7;          /* Buttons, Akzente */
  --pink-deep: #e591b1;     /* Logo, Footer-Deko */
  --pink-btn-shadow: #af6683;
  --green: #0f6839;         /* Banner, Footer, Zahlen-Badges */
  --green-2: #008c42;
  --green-dark: #0f542d;
  --cream: #fffbf0;
  --red: #b20000;           /* Knappheit */
  --red-soft: #ff4f55;
  --grey-line: #e9e9e9;
  --star: #fbbc04;
  --font-head: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;
  --font-btn: 'Rubik', 'Inter', system-ui, sans-serif;
  --font-num: 'Playpen Sans', 'Inter', system-ui, sans-serif;
  --line: rgba(0, 0, 0, .08);
  --shadow-card: 0 8px 24px -2px rgba(0, 0, 0, .08);
  --card-tint: linear-gradient(180deg, rgba(255, 179, 199, 0) 50%, rgba(255, 179, 199, .16) 100%);
  --card-tint-2: linear-gradient(180deg, rgba(255, 179, 199, 0) 50%, rgba(255, 179, 199, .2) 100%);
  --ease: cubic-bezier(.25, .6, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.5; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.02em; text-wrap: balance; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sec { padding: 80px 0; position: relative; }
.center { text-align: center; }
.eyebrow { font-size: 18px; line-height: 27px; margin-bottom: 8px; }
.h2 { font-size: 44px; line-height: 1.2; }

/* Kursiver Rosa-Akzent mit Pinsel-Unterstrich (Playfair Display Bold Italic) */
.acc { font-family: var(--font-accent); font-style: italic; font-weight: 700; color: var(--pink); letter-spacing: 0; position: relative; display: inline-block; padding: 0 .04em; }
.acc::after { content: ''; position: absolute; left: 0; right: -10%; bottom: -.08em; height: .1em; background: url('img/swash.svg') center/100% 100% no-repeat; }

/* Hintergrund-Raster wie in Figma (Linien 8 % Deckkraft, radial ausgeblendet) */
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 179, 199, .35) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 179, 199, .35) 1px, transparent 1px); background-size: 16.5px 16.5px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .55; }
.glow { position: absolute; left: 50%; top: -285px; width: 3300px; height: 377px; transform: translateX(-50%); background: #fcb2d7; border-radius: 50%; filter: blur(140px); opacity: .45; pointer-events: none; }
.cloud { position: absolute; pointer-events: none; }

/* ── Button (grüne Pille mit Kante; auf grünem Grund .btn-pink) ── */
.btn { --btn-edge: var(--green-dark); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; padding: 0 32px; border-radius: 100px; background: linear-gradient(180deg, var(--green-2), var(--green)); color: #fff; font-family: var(--font-btn); font-weight: 500; font-size: 17px; letter-spacing: -0.02em; text-decoration: none; box-shadow: 0 3px 0 -1px var(--btn-edge), inset 0 2px 4px rgba(255, 255, 255, .25); transition: transform .2s var(--ease), box-shadow .2s var(--ease), filter .2s; }
.btn::before { content: ''; position: absolute; inset: 2px; border-radius: inherit; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04); pointer-events: none; }
.btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 -1px var(--btn-edge), inset 0 2px 4px rgba(255, 255, 255, .25); }
.btn-pink { --btn-edge: var(--pink-btn-shadow); background: var(--pink); }
.btn-pink::before { border-color: rgba(255, 255, 255, .7); }
.btn-wide { width: 320px; max-width: 100%; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* Knappheits-Hinweis unter dem Button */
.cta-stack { display: inline-flex; flex-direction: column; align-items: center; max-width: 100%; }
.scarcity { display: inline-flex; align-items: center; gap: 6px; background: #fff; border-radius: 0 0 12px 12px; padding: 8px 18px 10px; margin-top: -2px; box-shadow: 0 6px 16px rgba(0, 0, 0, .06); font-size: 14px; color: var(--red); width: 84%; justify-content: center; }
.pulse { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); flex: none; margin: 0 4px; }
.pulse::before { content: ''; position: absolute; inset: -4px; border-radius: 50%; background: rgba(178, 0, 0, .2); }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(178, 0, 0, .35); animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: 1; } 80% { transform: scale(1.4); opacity: 0; } 100% { opacity: 0; } }

/* Liquid-Glass-Bubble (z. B. Eyebrow im Hero mit Live-Punkt) */
.glass-pill { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 14px; border-radius: 100px; background: linear-gradient(180deg, rgba(255, 255, 255, .72), rgba(255, 255, 255, .38)); border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(14px) saturate(180%); backdrop-filter: blur(14px) saturate(180%); box-shadow: 0 8px 24px -6px rgba(175, 102, 131, .25), inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -2px 6px rgba(255, 179, 199, .25); font-weight: 500; }
.glass-pill::before { content: ''; position: absolute; inset: 1px 12px auto; height: 45%; border-radius: 100px; background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(255, 255, 255, 0)); pointer-events: none; }
.glass-pill .pulse { margin: 0 2px 0 4px; }
/* Live-Variante: rote Schrift, Punkte als Trenner, Glas bleibt neutral */
.live-pill { --live: #e5352b; color: var(--live); font-weight: 500; flex-wrap: wrap; row-gap: 2px; padding: 10px 22px 10px 16px; background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .22)); border-color: rgba(255, 255, 255, .75); box-shadow: 0 10px 30px -10px rgba(16, 16, 16, .18), inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 2px rgba(255, 255, 255, .5), inset 0 0 0 .5px rgba(16, 16, 16, .04); }
.live-pill .pulse { background: var(--live); margin-right: 10px; }
.live-pill .pulse::before { background: rgba(229, 53, 43, .2); }
.live-pill .pulse::after { border-color: rgba(229, 53, 43, .35); }
.live-pill span { white-space: nowrap; }
.live-pill b { font-weight: inherit; }
.live-pill .lp-short { display: none; }
.live-pill > span + span::before { content: '•'; margin: 0 12px; font-size: .8em; vertical-align: .1em; }

/* ── Sticky-CTA (Liquid Glass, unten) ── */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; justify-content: center; padding: 0 16px calc(16px + env(safe-area-inset-bottom)); pointer-events: none; transform: translateY(130%); transition: transform .45s var(--ease); }
.sticky-cta.on { transform: none; }
.sticky-inner { pointer-events: auto; display: flex; align-items: center; gap: 28px; padding: 10px 10px 10px 22px; border-radius: 28px; background: linear-gradient(180deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .55)); border: 1px solid rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%); box-shadow: 0 18px 50px -12px rgba(16, 16, 16, .28), inset 0 1px 1px rgba(255, 255, 255, .95); }
.sticky-info { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.sticky-info b { display: block; font-weight: 600; }
.sticky-info > div > span { color: rgba(16, 16, 16, .6); font-variant-numeric: tabular-nums; }
.sticky-info .pulse { background: #e5352b; }
.sticky-cta .cta-stack { width: 340px; }
.sticky-cta .btn { width: 100%; min-height: 52px; white-space: nowrap; padding: 0 20px; }
.sticky-cta .scarcity { box-shadow: none; background: rgba(255, 255, 255, .85); padding: 6px 14px 7px; font-size: 13px; }

/* ── Grüner Banner mit Countdown ── */
.banner { position: relative; z-index: 30; background: var(--green); color: #fff; }
.banner .wrap { display: flex; align-items: center; justify-content: center; gap: 20px; min-height: 57px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.banner-text { font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }
.timer { display: flex; gap: 8px; }
.timer span { background: rgba(255, 255, 255, .12); border-radius: 100px; padding: 8px 12px; font-weight: 500; font-size: 16px; line-height: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.banner-btn { background: var(--pink); color: var(--ink); border-radius: 100px; padding: 8px 12px; font-weight: 500; font-size: 16px; line-height: 17px; text-decoration: none; white-space: nowrap; transition: background .2s; }
.banner-btn:hover { background: #ffc6d5; }

/* ── Karten ── */
.card { background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.card-tint { background: var(--card-tint), #fff; }
.card-tint-2 { background: var(--card-tint-2), #fff; }
.shadow { box-shadow: var(--shadow-card); }

/* Grüne Zahlen-Badges (Playpen Sans) */
.num-badge { width: 54px; height: 54px; border-radius: 14px; background: linear-gradient(180deg, var(--green-2), var(--green)); box-shadow: 0 3px 0 -1px var(--green-dark), inset 0 2px 4px rgba(255, 255, 255, .25); display: grid; place-items: center; position: relative; flex: none; }
.num-badge::before { content: ''; position: absolute; inset: 2px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .18); }
.num-badge span { font-family: var(--font-num); font-weight: 600; font-size: 32px; line-height: 1; color: #fde4ec; }

/* ── Footer ── */
.footer { position: relative; overflow: hidden; background: radial-gradient(120% 140% at 50% -20%, var(--green-2) 0%, var(--green) 45%, var(--green-dark) 100%); color: #fff; padding: 40px 0 34px; }
.footer::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 16.5px 16.5px; pointer-events: none; }
.footer .wrap { position: relative; }
.footer-top { display: flex; justify-content: space-between; align-items: center; }
.footer-top nav { display: flex; gap: 24px; }
.footer-top nav a { text-decoration: none; font-size: 16px; }
.footer-top nav a:hover { text-decoration: underline; }
.footer p { margin: 46px auto 0; max-width: 1200px; text-align: center; font-size: 16px; line-height: 22.4px; color: rgba(255, 255, 255, .6); }
.footer .leaf { position: absolute; top: 40px; width: 95px; pointer-events: none; }
.footer .leaf.l { left: -30px; }
.footer .leaf.r { right: -30px; transform: scaleX(-1); }

/* ── Progress-Balken (rosa gestreift, 95 %) ── */
.progress { display: flex; align-items: center; gap: 10px; background: rgba(16, 16, 16, .04); border: 1px solid rgba(255, 179, 199, .1); border-radius: 100px; padding: 0 8px 0 0; height: 31px; }
.progress .track { flex: 1; height: 31px; border-radius: 100px; overflow: hidden; }
.progress .fill { height: 100%; width: 0; border-radius: 100px; background: repeating-linear-gradient(115deg, #ffb3c7 0 18px, #ffc2d2 18px 36px); position: relative; overflow: hidden; transition: width 1.1s var(--ease); }
.progress .fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, .75) 45%, rgba(253, 216, 235, .9) 50%, transparent 65%); background-size: 200% 100%; animation: shine 2.6s linear infinite; }
@keyframes shine { from { background-position: 150% 0; } to { background-position: -50% 0; } }
.progress b { font-weight: 500; font-size: 14px; color: var(--ink); min-width: 32px; text-align: right; }


/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 900px) {
  .sec { padding: 56px 0; }
  .h2 { font-size: 34px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  .h2 { font-size: 30px; }
  .eyebrow { font-size: 16px; }
  .banner .wrap { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .live-pill { font-size: 13px; padding: 8px 14px 8px 10px; flex-wrap: nowrap; }
  .live-pill > span + span::before { margin: 0 8px; }
  .live-pill .lp-long { display: none; }
  .live-pill .lp-short { display: inline; }
  .banner-text { width: 100%; text-align: center; font-size: 14px; }
  .timer span, .banner-btn { font-size: 14px; padding: 7px 11px; }
  .footer-top { flex-direction: row; }
  .footer p { font-size: 13px; margin-top: 28px; }
  .footer .leaf { width: 60px; top: 70px; }
  /* Sticky auf dem Handy: volle Breite, nur Button + Knappheit, Daumen-Zone */
  .sticky-cta { padding: 0 10px calc(10px + env(safe-area-inset-bottom)); }
  .sticky-inner { width: 100%; padding: 8px 8px 6px; border-radius: 24px; }
  .sticky-info { display: none; }
  .sticky-cta .cta-stack { width: 100%; }
  .sticky-cta .btn { min-height: 54px; font-size: 16px; padding: 0 16px; }
  .sticky-cta .scarcity { width: auto; background: none; padding: 5px 0 1px; margin: 0; }
}
