/* ==========================================================================
   D&T Lead Solution — Funnel-Landingpages (Academy-Training)
   Ablenkungsfrei, conversion-orientiert. Baut auf css/styles.css (Tokens) auf.
   ========================================================================== */

body.funnel { background: #fff; }

/* --------------------------------------------------------------------------
   Attention-Bar (oben, ehrliche Verknappung — kein Fake-Countdown)
   -------------------------------------------------------------------------- */
.attention-bar {
  background: var(--navy);
  color: #fff;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 20px;
}
.attention-bar strong { color: #fff; font-weight: 700; }
.attention-bar .dot { color: var(--accent); margin: 0 8px; }

/* --------------------------------------------------------------------------
   Minimal-Header (nur Logo, kein Menü)
   -------------------------------------------------------------------------- */
.funnel-header {
  border-bottom: 1px solid var(--line);
}
.funnel-header .container {
  position: relative;          /* Anker für .trust-mini */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 74px;                /* gleiche Höhe wie .navbar */
}
.funnel-header .brand { pointer-events: none; }
.funnel-header .trust-mini {
  position: absolute;
  right: 24px;
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}
.funnel-header .trust-mini .stars { color: var(--star); letter-spacing: 1px; }

/* --------------------------------------------------------------------------
   Funnel-Hero (zentriert, fokussiert)
   -------------------------------------------------------------------------- */
.funnel-main { padding: 56px 0 80px; }
.funnel-narrow { max-width: 780px; margin: 0 auto; text-align: center; }
.funnel-narrow.left { text-align: left; }

.step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 20px;
}
.step-indicator .dots { display: inline-flex; gap: 5px; }
.step-indicator .dots i {
  width: 22px; height: 4px; border-radius: 2px;
  background: var(--line); display: inline-block;
}
.step-indicator .dots i.on { background: var(--accent); }

.funnel-hero h1 {
  font-size: clamp(2.1rem, 4.3vw, 3.35rem);
  margin-bottom: 0.5em;
}
.funnel-hero h1 .hl {
  color: var(--blue);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}
.funnel-hero .sub {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 40em;
  margin: 0 auto 34px;
}
.funnel-narrow.left .funnel-hero .sub { margin-left: 0; }

.funnel-cta-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.funnel-narrow.left .funnel-cta-wrap { align-items: flex-start; }
.btn-cta {
  font-size: 1.12rem;
  padding: 19px 40px;
  box-shadow: 0 10px 30px rgba(10, 79, 214, 0.28);
}
.btn-cta.big { font-size: 1.2rem; padding: 22px 48px; }
.cta-hint { font-size: 0.85rem; color: var(--muted); }
.cta-hint .lock { color: var(--success); }

/* WhatsApp-Button (Dankesseite) */
.btn-whatsapp {
  background: #25d366;
  color: #0a2e18;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.30);
}
.btn-whatsapp:hover { background: #1eb857; color: #0a2e18; }
.btn-whatsapp::after { content: none; }   /* kein Pfeil, das Symbol steht vorne */
.btn-whatsapp svg { flex-shrink: 0; }

/* CTA-Reveal / Unlock (Videoseite) */
[data-reveal-cta].cta-hidden { display: none; }
[data-reveal-cta].cta-shown { animation: ctaIn 0.6s var(--ease-out) both; }
@keyframes ctaIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.reveal-unlock { margin-top: 40px; text-align: center; }
/* auch außerhalb von .reveal-unlock nutzbar (z.B. Dankesseite) */
.unlock-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--success);
  background: #eaf7f0; border: 1px solid #bfe8d4; border-radius: 999px;
  padding: 7px 16px; margin-bottom: 18px;
}
.reveal-unlock .funnel-cta-wrap { align-items: center; }

/* Dezenter Puls am freigeschalteten Button (Aufmerksamkeit) */
.btn-cta.pulse { animation: ctaPulse 2.4s ease-in-out 0.6s infinite; }
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(10, 79, 214, 0.28); }
  50% { box-shadow: 0 10px 30px rgba(10, 79, 214, 0.28), 0 0 0 8px rgba(10, 79, 214, 0.10); }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal-cta].cta-shown { animation: none; }
  .btn-cta.pulse { animation: none; }
}

/* Proof-Streifen (seriös, ohne Fake-Screenshots) */
.proof-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 26px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}
.funnel-narrow.left .proof-strip { justify-content: flex-start; }
.proof-strip .pi { display: inline-flex; align-items: center; gap: 8px; }
.proof-strip .pi .stars { color: var(--star); letter-spacing: 1px; }
.proof-strip .pi strong { color: var(--navy); }
.proof-strip .pi svg { color: var(--success); flex-shrink: 0; }

/* --------------------------------------------------------------------------
   Video (16:9 Platzhalter)
   -------------------------------------------------------------------------- */
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--navy-deep);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(8, 23, 46, 0.28);
}
.video-wrap iframe, .video-wrap video {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}
/* Wistia-Player füllt die 16:9-Box */
.video-wrap wistia-player { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
/* Platzhalter-Optik, solange kein echtes Video eingebettet ist */
.video-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(10,79,214,0.35), transparent 70%),
    var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 24px;
}
.video-placeholder .play {
  width: 84px; height: 84px; border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  transition: transform 0.2s var(--ease-out);
}
.video-placeholder:hover .play { transform: scale(1.06); }
/* Als Opt-in-Trigger (Editorial-Seite): klickbar */
.video-placeholder[data-optin] { cursor: pointer; }
.video-placeholder[data-optin]:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* Gated Thumbnail mit echtem Vorschaubild des VSL (details.html).
   Lokal eingebunden — kein externer Aufruf vor der Einwilligung. */
.video-placeholder.swatch {
  background:
    linear-gradient(rgba(8,23,46,0.62), rgba(8,23,46,0.76)),
    center / cover no-repeat url('../assets/img/vsl-thumb.jpg');
}
.video-placeholder.swatch .vp-note {
  color: #eaf1ff;
  font-weight: 600;
}
.video-placeholder .play svg { color: var(--blue); margin-left: 4px; }
.video-placeholder .vp-label { font-weight: 600; font-size: 1.02rem; }
.video-placeholder .vp-note {
  font-size: 0.8rem; color: #9fb2d4; max-width: 34em;
}

/* --------------------------------------------------------------------------
   Opt-in-Popup (Modal)
   -------------------------------------------------------------------------- */
.optin-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.optin-modal.open { opacity: 1; visibility: visible; }
.optin-modal .backdrop {
  position: absolute; inset: 0;
  background: rgba(8, 23, 46, 0.62);
  backdrop-filter: blur(3px);
}
.optin-card {
  position: relative;
  background: #fff;
  border-radius: var(--r);
  border-top: 4px solid var(--blue);
  width: 100%;
  max-width: 460px;
  padding: 40px 36px 34px;
  box-shadow: 0 30px 80px rgba(8, 23, 46, 0.35);
  transform: translateY(14px) scale(0.98);
  transition: transform 0.3s var(--ease-out);
}
.optin-modal.open .optin-card { transform: none; }
.optin-close {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border: none; background: none;
  cursor: pointer; color: var(--muted); font-size: 1.4rem; line-height: 1;
  border-radius: 6px;
}
.optin-close:hover { background: var(--paper); color: var(--navy); }
.optin-card .oc-label {
  display: inline-block; font-size: 0.75rem; font-weight: 650;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent);
  margin-bottom: 10px;
}
.optin-card h2 { font-size: 1.6rem; margin-bottom: 8px; }
.optin-card .oc-sub { color: var(--muted); font-size: 0.96rem; margin-bottom: 22px; }
.optin-card .form-field { margin-bottom: 14px; }
.optin-card .btn { width: 100%; justify-content: center; margin-top: 6px; }
.optin-card .oc-note {
  font-size: 0.78rem; color: var(--muted); text-align: center; margin: 14px 0 0;
}
.optin-card .oc-note .lock { color: var(--success); }

/* --------------------------------------------------------------------------
   Angebots-Box + Checkliste
   -------------------------------------------------------------------------- */
.offer-box {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: var(--r);
  padding: 40px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg, 0 12px 40px rgba(11,42,91,0.12));
}
.offer-box h2 { font-size: 1.7rem; }
.checklist { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 13px; }
.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 1rem; color: var(--ink);
}
.checklist li .ck {
  flex-shrink: 0; margin-top: 2px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.72rem; font-weight: 800;
}
.offer-scarcity {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--paper-line);
  border-radius: 6px; padding: 13px 16px;
  font-size: 0.92rem; color: var(--navy); font-weight: 550;
  margin: 22px 0;
}
.offer-scarcity svg { color: var(--accent); flex-shrink: 0; }
.offer-box .btn { width: 100%; justify-content: center; }
.offer-guarantee {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  margin-top: 18px; font-size: 0.85rem; color: var(--muted);
}
.offer-guarantee svg { color: var(--success); }

/* Bullets „Das lernst du" */
.learn-list { max-width: 620px; margin: 32px auto 0; display: grid; gap: 14px; text-align: left; }
.funnel-narrow.left .learn-list { margin-left: 0; }
.learn-list li {
  list-style: none; display: flex; align-items: flex-start; gap: 12px;
  font-size: 1.02rem; color: var(--ink);
}
.learn-list li .ck {
  flex-shrink: 0; margin-top: 3px;
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--blue); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800;
}

/* --------------------------------------------------------------------------
   Advertorial / Long-Form (Variante B)
   -------------------------------------------------------------------------- */
.advertorial { max-width: 720px; margin: 0 auto; }
.advertorial .kicker-line {
  font-size: 0.8rem; font-weight: 650; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--accent); margin-bottom: 18px;
}
.advertorial h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.5em; }
.advertorial h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 52px 0 0.5em; }
.advertorial .byline {
  display: flex; align-items: center; gap: 12px;
  padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  margin-bottom: 32px; color: var(--muted); font-size: 0.9rem;
}
.advertorial .byline .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--navy); color: #fff; font-family: var(--font-display);
  font-weight: 650; display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}
.advertorial .byline strong { color: var(--navy); display: block; }
.advertorial p { font-size: 1.1rem; line-height: 1.75; color: var(--ink); margin-bottom: 1.15em; }
.advertorial p.big { font-size: 1.22rem; }
.advertorial .lead-in::first-letter {
  font-family: var(--font-display); font-size: 3.4rem; font-weight: 650;
  float: left; line-height: 0.82; margin: 6px 12px 0 0; color: var(--navy);
}
.advertorial figure { margin: 36px 0; }
.advertorial figure figcaption { text-align: center; font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.pull-quote {
  margin: 40px 0;
  padding-left: 26px;
  border-left: 3px solid var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 550;
  line-height: 1.35;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.advertorial .inline-cta {
  margin: 40px 0;
  padding: 30px;
  background: var(--paper);
  border: 1px solid var(--paper-line);
  border-radius: var(--r);
  text-align: center;
}
.advertorial .inline-cta h3 { font-size: 1.35rem; margin-bottom: 8px; }
.advertorial .inline-cta p { font-size: 1rem; color: var(--muted); margin-bottom: 20px; }
.advertorial ul.body-list { margin: 0 0 1.3em; padding-left: 0; }
.advertorial ul.body-list li {
  list-style: none; display: flex; gap: 12px; align-items: flex-start;
  font-size: 1.08rem; line-height: 1.6; color: var(--ink); margin-bottom: 12px;
}
.advertorial ul.body-list li::before {
  content: "→"; color: var(--accent); font-family: var(--font-display); flex-shrink: 0;
}
.two-col-fit { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 28px 0; }
.fit-card { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.fit-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.fit-card.yes h3 { color: var(--success); }
.fit-card.no h3 { color: #b23a48; }
.fit-card p { font-size: 0.98rem !important; color: var(--muted); margin: 0; line-height: 1.6; }

/* --------------------------------------------------------------------------
   Funnel-FAQ (kompakt)
   -------------------------------------------------------------------------- */
.funnel-faq { max-width: 720px; margin: 0 auto; border-top: 1px solid var(--line); }

/* --------------------------------------------------------------------------
   Minimal-Footer
   -------------------------------------------------------------------------- */
.funnel-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.84rem;
}
.funnel-footer a { color: var(--muted); }
.funnel-footer a:hover { color: var(--navy); }
.funnel-footer .ff-sep { margin: 0 8px; color: var(--line); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .funnel-main { padding: 40px 0 56px; }
  .funnel-header .trust-mini { display: none; }
  .btn-cta, .btn-cta.big { width: 100%; justify-content: center; font-size: 1.05rem; padding: 17px 28px; }
  .offer-box { padding: 28px 22px; }
  .optin-card { padding: 34px 22px 28px; }
  .two-col-fit { grid-template-columns: 1fr; }
  .advertorial p { font-size: 1.05rem; }
  .pull-quote { font-size: 1.25rem; }
}
