/* =========================================================
   Ulrike von den Driesch · Lead-Magnet-Teaser (Teilmenge von quiz.css)
   Für Seiten, die nur Teaser/Gate-Karten zeigen (Startseite, Leitfaden),
   nicht den vollen Selbsttest-Ablauf (Fragen/Auswertung). Nutzt die
   Tokens aus style.css. Bei Änderungen an den unten genannten
   Original-Abschnitten in quiz.css IMMER auch hier nachziehen.
   ========================================================= */

/* ---------- Lead-Magnet-Teaser (Startseite) ---------- */
.lm-teaser { background: var(--cream-deep); overflow: clip; }
.lm-teaser .lm-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 6vw, 5.5rem); align-items: center;
}
.lm-teaser .lm-eyebrow {
  display: inline-block;
  font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--terra-700); margin-bottom: 1.1rem;
}
.lm-teaser h2 { margin-bottom: .6rem; }
.lm-teaser .lead { max-width: 46ch; margin-bottom: 1.4rem; }
.lm-teaser .lm-meta {
  display: flex; flex-wrap: wrap; gap: 1.6rem; margin: 1.8rem 0 2rem;
}
.lm-teaser .lm-meta div { display: flex; flex-direction: column; gap: .15rem; }
.lm-teaser .lm-meta .m-num {
  font-family: var(--font-display); font-style: italic; font-size: 2.3rem;
  color: var(--plum); line-height: 1;
}
.lm-teaser .lm-meta .m-lbl { font-size: .82rem; color: var(--muted); }

/* Visualisierung der "Karte" rechts */
.lm-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: var(--shadow-2);
}
.lm-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: rotate(-3deg) translate(14px, 16px);
  background: var(--plum); border-radius: var(--r-lg); opacity: .9;
}
.lm-card .lm-card-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem; padding-bottom: 1.2rem; border-bottom: 1px solid var(--line);
}
.lm-card .lm-card-head span { font-family: var(--font-display); font-style: italic; color: var(--plum); }
.lm-card .lm-card-head .dot {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cream-deep);
  display: grid; place-items: center; color: var(--terra);
}
.lm-bar { margin-bottom: 1.05rem; }
.lm-bar .b-top { display: flex; justify-content: space-between; font-size: .88rem; margin-bottom: .4rem; }
.lm-bar .b-top b { font-weight: 600; color: var(--plum); }
.lm-bar .b-top span { color: var(--muted); }
.lm-bar .b-rail { height: 8px; border-radius: 99px; background: var(--cream-deep); overflow: hidden; }
.lm-bar .b-fill { height: 100%; border-radius: 99px; background: var(--terra); }
.lm-bar.is-sage .b-fill { background: var(--sage-700); }
.lm-bar.is-gold .b-fill { background: var(--gold); }
.lm-bar.is-plum .b-fill { background: var(--plum-300); }

@media (max-width: 880px) {
  .lm-teaser .lm-grid { grid-template-columns: 1fr; }
  .lm-card { order: -1; }
}

/* Fade-In, wird auch vom PDF-Gate (".pdf-ready.show") gebraucht */
@keyframes q-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* E-Mail-Gate für PDF (Leitfaden-Download) */
.pdf-gate {
  background: var(--cream-deep); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.6rem); margin-bottom: 1.6rem;
}
.pdf-gate .pg-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
.pdf-gate h3 { font-size: 1.5rem; margin-bottom: .4rem; }
.pdf-gate h3 .ico-svg { color: var(--terra); width: 1.1em; height: 1.1em; vertical-align: -2px; margin-right: .4rem; }
.pdf-gate p { font-size: .95rem; margin-bottom: 0; }
.pdf-gate .pg-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.pdf-gate .pg-form .pg-input { flex: 1 1 240px; }
.pdf-gate .pg-form input[type="email"], .pdf-gate .pg-form input[type="text"] {
  width: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pdf-gate .pg-form input:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196,111,77,.14); }
.pdf-gate .pg-form .pg-input.has-error input { border-color: var(--terra-700); box-shadow: 0 0 0 3px rgba(196,111,77,.12); }
.pdf-gate .pg-form .pg-input-anrede { flex: 0 1 150px; }
.pdf-gate .pg-form select {
  width: 100%; padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); font-family: inherit; font-size: 1rem; color: var(--ink); cursor: pointer;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.pdf-gate .pg-form select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196,111,77,.14); }
.pdf-gate .pg-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; color: var(--muted); }
.pdf-gate .pg-check input { margin-top: .25rem; accent-color: var(--terra); }
.pdf-gate .pg-msg { font-size: .85rem; min-height: 1.2rem; margin: 0; }
.pdf-gate .pg-msg.err { color: var(--terra-700); }
.pdf-gate .pg-msg.ok { color: var(--sage-700); }

/* Gate nach Freischaltung */
.pdf-ready {
  display: none; background: var(--plum); color: var(--cream); border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 1.6rem;
  align-items: center; justify-content: space-between; gap: 1.4rem; flex-wrap: wrap;
}
.pdf-ready.show { display: flex; animation: q-fade .5s var(--ease) both; }
.pdf-ready h3 { color: var(--cream); margin-bottom: .3rem; }
.pdf-ready p { color: rgba(248,244,237,.82); margin: 0; font-size: .95rem; max-width: 44ch; }
.pdf-ready-msg { flex-basis: 100%; margin: 0; font-size: .85rem; min-height: 0; }
.pdf-ready-msg.err { color: var(--gold); }
.pdf-ready-msg:empty { display: none; }

/* ==================== SELBSTTEST-LANDING (Hero + Report-Mock) ==================== */
/* Hero */
.st-hero {
  padding-top: calc(var(--nav-h) + var(--top-bar) + clamp(2.6rem, 6vw, 4.5rem));
  padding-bottom: clamp(2.6rem, 5vw, 4rem);
  background: var(--cream); overflow: clip;
}
.st-hero-grid {
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.st-hero-copy .lm-eyebrow { margin-bottom: 1rem; }
.st-hero-copy h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: .98; margin: 0 0 .55em; }
.st-hero-copy .lead { max-width: 46ch; margin-bottom: 1.7rem; }
.st-hero-cta { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.9rem; }
.st-hero-cta .q-note { font-size: .82rem; color: var(--muted); }
.st-hero-trust { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.st-hero-trust li { display: flex; align-items: center; gap: .65rem; font-size: .92rem; color: var(--muted); }
.st-hero-trust li .ico-svg { width: 1.05em; height: 1.05em; color: var(--sage-700); flex-shrink: 0; }
.st-hero-visual { display: flex; justify-content: center; }
.st-hero-visual .lm-card { width: 100%; max-width: 430px; }
@media (max-width: 880px) {
  .st-hero-grid { grid-template-columns: 1fr; gap: 2.6rem; }
  .st-hero-visual { order: -1; }
  .st-hero-visual .lm-card { max-width: 380px; }
}

/* "Was Sie bekommen" – Report-Mock */
.report-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.report-preview { position: relative; height: 380px; }
.report-card { position: absolute; top: 50%; left: 50%; width: 240px; height: 330px; border-radius: 16px; }
.report-card.back {
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-2);
  transform: translate(-30%, -50%) rotate(6deg); padding: 1.5rem 1.3rem;
}
.report-card.back .rp-h { font-family: var(--font-display); color: var(--plum); font-size: 1rem; margin-bottom: .9rem; }
.report-card.back .rp-bar { height: 7px; border-radius: 99px; background: var(--cream-deep); margin-bottom: .7rem; overflow: hidden; }
.report-card.back .rp-bar i { display: block; height: 100%; border-radius: 99px; background: var(--terra); }
.report-card.back .rp-tx { height: 6px; border-radius: 99px; background: var(--line); margin-bottom: .45rem; }
.report-card.back .rp-tx.s { width: 70%; }
.report-card.front {
  background: var(--plum); color: var(--cream); box-shadow: var(--shadow-3);
  transform: translate(-66%, -50%) rotate(-5deg); padding: 1.7rem 1.4rem;
  display: flex; flex-direction: column;
}
.report-card.front .rc-kick { font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.report-card.front h3 { color: var(--cream); font-size: 1.55rem; line-height: 1.05; margin: .7rem 0 .3rem; }
.report-card.front .rc-sub { font-size: .72rem; color: rgba(248,244,237,.72); }
.report-card.front .rc-ring {
  margin-top: auto; width: 64px; height: 64px; border-radius: 50%;
  background: conic-gradient(var(--gold) 64%, rgba(248,244,237,.16) 0);
  display: grid; place-items: center;
}
.report-card.front .rc-ring::after { content: ""; position: absolute; width: 50px; height: 50px; border-radius: 50%; background: var(--plum); }
.report-card.front .rc-ring b { position: relative; z-index: 1; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--cream); }
.report-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.report-list li { display: flex; gap: .9rem; align-items: flex-start; }
.report-list li .ico-svg { width: 1.2em; height: 1.2em; color: var(--terra); flex-shrink: 0; margin-top: .15rem; }
.report-list li b { display: block; color: var(--plum); font-weight: 600; font-size: 1.02rem; margin-bottom: .1rem; }
.report-list li span { font-size: .92rem; color: var(--muted); }
@media (max-width: 880px) {
  .report-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .report-preview { height: 320px; order: -1; }
}

/* ==================== LEITFADEN-LANDING: Kennzahlen im Dunkeln ==================== */
.figures.on-dark { border-top-color: var(--line-dark) !important; }
.figures.on-dark .fig .num { color: var(--cream); }
.figures.on-dark .fig .num em { color: var(--gold); }
.figures.on-dark .fig .lbl { color: rgba(248, 244, 237, .68); }

/* Kapitel-Bento (7 Items wie das Methoden-Bento der Startseite) */
.chapter-bento { grid-auto-rows: minmax(168px, auto); }
.chapter-bento .bento-item { justify-content: flex-start; padding-top: 1.6rem; }
.chapter-bento .bento-item h3 { padding-right: 2.4rem; font-size: 1.15rem; }
.chapter-bento .bento-item p { max-width: 32ch; margin-top: .3rem; }
.chapter-bento .bento-item .b-num { top: 1.5rem; }
