/* ==========================================================
   Ulrike von den Driesch · Anfrage und Leadmagnete (23.11.2026)
   Landingpages (/<leistung>/<anliegen>/), Leistungsseiten und /anliegen/.
   Erzeugt von _ulrike-pseo/build_pseo.py + conversion.py.
   ========================================================== */

/* Grundwerte wie praxis.css, damit die Bausteine auch auf Seiten ohne praxis.css stehen (Keynotes) */
#anfrage.case-sec, .lm-band.case-sec { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.anf-copy .cc-label, .lm-copy .cc-label { font-family: var(--font-display); font-style: italic; color: var(--terra-ink); font-size: 1.15rem; }

/* ---------- Vertrauenszeile im Kopf ---------- */
.lp-trust { list-style: none; margin: 1.7rem 0 0; padding: 0; display: grid; gap: .5rem; }
.lp-trust li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; line-height: 1.45; color: var(--muted); }
.lp-trust .ico-svg { width: 1.05rem; height: 1.05rem; margin-top: .12rem; color: var(--sage-700); }
.btn-row .link-arrow .ico-down { transition: transform .3s var(--ease); }
.btn-row .link-arrow:hover .ico-down { transform: translateY(3px); }

/* ---------- Leadmagnet-Band ---------- */
.lm-band { scroll-margin-top: calc(var(--nav-h) + var(--top-bar)); }
.lm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.lm-grid.is-rev { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.lm-copy .cc-label { display: block; margin-bottom: .7rem; }
.lm-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; margin-bottom: 1rem; text-wrap: balance; }
.lm-copy > p { font-size: 1.05rem; line-height: 1.7; color: var(--ink); margin: 0 0 1.5rem; max-width: 60ch; }
.lm-points { list-style: none; margin: 0 0 1.9rem; padding: 0; display: grid; gap: .6rem; }
.lm-points li { display: flex; gap: .65rem; align-items: flex-start; font-size: .97rem; line-height: 1.5; color: var(--ink); }
.lm-points .ico-svg { width: 1.1rem; height: 1.1rem; margin-top: .15rem; color: var(--terra); }
.lm-act { display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.lm-note, .lm-copy > p.lm-note { font-size: .86rem; line-height: 1.5; color: var(--muted); margin: 0; }
.lm-copy > p.lm-note { margin-top: 1.1rem; }

/* Titel des Leitfadens als Bild */
.lm-cover { position: relative; height: 390px; }
.lm-cover > div { position: absolute; top: 50%; left: 50%; width: 248px; height: 340px; border-radius: var(--r-md); }
.lm-cover .lc-back { background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-2); transform: translate(-28%, -50%) rotate(6deg); padding: 1.6rem 1.35rem; }
.lm-cover .lc-back b { display: block; font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: 1.05rem; line-height: 1.2; margin-bottom: 1rem; }
.lm-cover .lc-back i { display: block; height: 7px; border-radius: 99px; background: var(--cream-deep); margin-bottom: .75rem; overflow: hidden; }
.lm-cover .lc-back i::after { content: ""; display: block; height: 100%; width: var(--w, 60%); border-radius: inherit; background: var(--terra); }
.lm-cover .lc-back i.g::after { background: var(--gold); }
.lm-cover .lc-back s { display: block; height: 6px; border-radius: 99px; background: var(--line); margin-bottom: .5rem; text-decoration: none; }
.lm-cover .lc-back s.k { width: 68%; }
.lm-cover .lc-front { background: var(--plum-700); box-shadow: var(--shadow-3); transform: translate(-68%, -50%) rotate(-5deg); padding: 1.8rem 1.5rem; display: flex; flex-direction: column; }
.lm-cover .lc-kick { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lm-cover .lc-title { font-family: var(--font-display); color: var(--cream); font-size: 1.7rem; line-height: 1.05; margin: .8rem 0 .5rem; }
.lm-cover .lc-sub { font-size: .74rem; color: rgba(248, 244, 237, .74); }
.lm-cover .lc-foot { margin-top: auto; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(248, 244, 237, .6); }

/* Leitfaden-Formular direkt im Band (gleiche Felder wie /leitfaden/) */
.lm-gate .pg-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.lm-gate .pg-input { flex: 1 1 190px; }
.lm-gate .pg-input-anrede { flex: 0 1 140px; }
.lm-gate .pg-form input, .lm-gate .pg-form select {
  width: 100%; min-height: 52px; padding: .9rem 1.05rem; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.lm-gate .pg-form select { cursor: pointer; }
.lm-gate .pg-form input:focus, .lm-gate .pg-form select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196, 111, 77, .14); }
.lm-gate .pg-input.has-error input, .lm-gate .pg-input.has-error select { border-color: var(--terra-700); box-shadow: 0 0 0 3px rgba(196, 111, 77, .12); }
.lm-gate .pg-form .btn { flex: 1 1 100%; justify-content: center; }
.lm-gate .pg-note { flex: 1 1 100%; text-align: center; margin: .1rem 0 0; }
.lm-gate .pg-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .82rem; line-height: 1.5; color: var(--muted); margin: 1rem 0 0; }
.lm-gate .pg-check input { margin-top: .25rem; accent-color: var(--terra); flex: none; }
.lm-gate .pg-check + .pg-check { margin-top: .55rem; }
.lm-gate .pg-msg { font-size: .86rem; min-height: 1.2rem; margin: .7rem 0 0; }
.lm-gate .pg-msg.err { color: var(--terra-700); }
.lm-band .pdf-ready { display: none; background: var(--plum); color: var(--cream); border-radius: var(--r-md); padding: clamp(1.4rem, 3vw, 2rem); gap: 1.2rem; flex-wrap: wrap; align-items: center; }
.lm-band .pdf-ready.show { display: flex; }
.lm-band .pdf-ready h3 { color: var(--cream); font-size: 1.4rem; margin: 0 0 .35rem; }
.lm-band .pdf-ready p { color: rgba(248, 244, 237, .84); margin: 0; font-size: .95rem; }
.lm-band .pdf-ready-msg { flex-basis: 100%; font-size: .85rem; margin: 0; }
.lm-band .pdf-ready-msg:empty { display: none; }
.lm-band .pdf-ready-msg.err { color: var(--gold); }

/* Klarheits-Check: Beispielauswertung */
.lm-dims { background: var(--plum); color: var(--cream); border-radius: var(--r-lg); padding: clamp(1.8rem, 3.5vw, 2.6rem); box-shadow: var(--shadow-3); }
.lm-dims .ld-kick { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.lm-dims .ld-title { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2rem); line-height: 1.1; color: var(--cream); margin: .6rem 0 1.6rem; }
.lm-dims .ld-row { display: grid; grid-template-columns: 7.2rem 1fr; gap: 1rem; align-items: center; margin-bottom: 1rem; font-size: .92rem; color: rgba(248, 244, 237, .88); }
.lm-dims .ld-row i { display: block; height: 8px; border-radius: 99px; background: rgba(248, 244, 237, .14); overflow: hidden; }
.lm-dims .ld-row i::after { content: ""; display: block; height: 100%; width: var(--w); border-radius: inherit; background: var(--c, var(--terra)); }
.lm-dims .ld-foot { margin: 1.5rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); font-size: .86rem; color: rgba(248, 244, 237, .74); }

/* Resilienz: Kurz-Check mit Übergabe in den Test */
.lm-check { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: clamp(1.4rem, 3vw, 2.3rem); }
.lm-check .rt-step { display: block; margin-bottom: 1rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.lm-check .rt-step b { color: var(--plum); font-weight: 600; }
.lm-check .rt-q-text { font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.25; margin: 0 0 1.4rem; }
.lm-check .rt-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(.35rem, 1vw, .6rem); }
.lm-check .rt-opt {
  appearance: none; border: 1px solid var(--line); background: var(--cream); border-radius: var(--r-sm); min-height: 54px; cursor: pointer;
  font-family: var(--font-display); font-size: 1.35rem; color: var(--plum); line-height: 1;
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.lm-check .rt-opt:hover { border-color: var(--plum-300); background: var(--paper); transform: translateY(-2px); }
.lm-check .rt-opt:focus-visible { outline: 2px solid var(--terra); outline-offset: 2px; }
.lm-check .rt-opt[aria-checked="true"] { background: var(--plum); border-color: var(--plum); color: var(--cream); transform: none; }
.lm-check .rt-scale-legend { display: flex; justify-content: space-between; gap: 1rem; margin-top: .7rem; font-size: .8rem; color: var(--muted); }
.lm-check .rp-answer { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.lm-check .rp-answer-text { font-size: .95rem; line-height: 1.55; color: var(--muted); margin: 0 0 1.1rem; }
.lm-check .rp-answer.is-set .rp-answer-text { color: var(--ink); }
.lm-check .rp-answer-text b { color: var(--plum); font-family: var(--font-display); font-weight: 400; font-size: 1.12rem; }
.lm-check .rp-answer .btn { white-space: normal; line-height: 1.25; text-align: left; }
.lm-check .rp-hint { font-size: .8rem; color: var(--muted); margin: 1rem 0 0; }

/* Rechner: was einfließt */
.lm-calc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: clamp(1.6rem, 3vw, 2.4rem); }
.lm-calc .lk-kick { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--terra-ink); font-weight: 600; }
.lm-calc ul { list-style: none; margin: 1.1rem 0 0; padding: 0; }
.lm-calc li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; color: var(--ink); }
.lm-calc li span { color: var(--muted); font-size: .85rem; white-space: nowrap; }
.lm-calc .lk-sum { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-top: 1.2rem; font-family: var(--font-display); color: var(--plum); font-size: 1.25rem; }
.lm-calc .lk-sum span { font-family: var(--font-body); font-size: .85rem; color: var(--muted); text-align: right; }

/* ---------- Anfrage: Formular direkt auf der Seite ---------- */
#anfrage { scroll-margin-top: calc(var(--nav-h) + var(--top-bar)); }
.anf-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: stretch; }
.anf-copy { display: flex; flex-direction: column; }
.anf-copy .cc-label { display: block; margin-bottom: .7rem; }
.anf-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.05; margin-bottom: 1rem; text-wrap: balance; }
.anf-copy > p { font-size: 1.05rem; line-height: 1.7; color: var(--ink); margin: 0 0 1.8rem; max-width: 52ch; }
.anf-steps { list-style: none; margin: 0 0 2rem; padding: 0; border-top: 1px solid var(--line); counter-reset: anf; }
.anf-steps li { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); counter-increment: anf; }
.anf-steps li::before { content: counter(anf, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--font-display); font-style: italic; color: var(--terra-ink); font-size: 1.1rem; line-height: 1.5; }
.anf-steps b { font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: 1.15rem; line-height: 1.4; }
.anf-steps span { font-size: .93rem; line-height: 1.55; color: var(--muted); }
.anf-person { margin-top: auto; display: flex; gap: 1rem; align-items: center; }
.anf-person img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; }
.anf-person b { display: block; color: var(--plum); font-weight: 600; }
.anf-person span { display: block; font-size: .88rem; color: var(--muted); }
.anf-person a { display: inline-flex; align-items: center; min-height: 40px; font-size: .95rem; color: var(--plum); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
#anfrage form.contact-form { box-shadow: var(--shadow-2); }
#anfrage .anf-form-head { font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: clamp(1.5rem, 2.2vw, 1.85rem); line-height: 1.15; margin: 0 0 .35rem; }
#anfrage .anf-form-note { font-size: .92rem; color: var(--muted); margin: 0 0 1.5rem; }

/* Randkarte mit Porträt */
.lp-card .lp-who { display: flex; gap: .9rem; align-items: center; margin-bottom: .9rem; }
.lp-card .lp-who img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.lp-card .lp-who b { display: block; font-family: var(--font-display); font-weight: 400; color: var(--plum); font-size: 1.12rem; line-height: 1.2; }
.lp-card .lp-who span { display: block; font-size: .85rem; color: var(--muted); }

@media (max-width: 900px) {
  .lm-grid, .lm-grid.is-rev, .anf-grid { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .lm-cover, .lm-dims, .lm-calc { display: none; }
  .lm-copy > p { margin-bottom: 1.2rem; }
  .lm-points { margin-bottom: 1.5rem; }
  .anf-copy > p { margin-bottom: 1.3rem; }
  .anf-steps { margin-bottom: 1.4rem; }
  .anf-steps li { padding: .8rem 0; }
}
@media (max-width: 600px) {
  .lm-gate .pg-input { flex: 1 1 calc(50% - .35rem); }
  .lm-gate .pg-input-anrede { flex: 1 1 100%; }
  .lm-gate .pg-input:has(input[type="email"]) { flex-basis: 100%; }
  .lm-check .rt-opt { min-height: 48px; font-size: 1.2rem; }
  .lp-trust { margin-top: 1.4rem; }
  /* Formular mobil kompakt: Schritte nur mit Titel, Namen nebeneinander, kleineres Textfeld */
  .anf-copy h2 { margin-bottom: .8rem; }
  .anf-steps { margin-bottom: 1.2rem; }
  .anf-steps li { padding: .55rem 0; }
  .anf-steps span { display: none; }
  #anfrage form.contact-form { padding: 1.4rem 1.15rem; }
  #anfrage .anf-form-note { margin-bottom: 1.1rem; }
  #anfrage .form-row { row-gap: 0; }
  #anfrage .form-row.anf-names { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .7rem; }
  #anfrage .form-field { margin-bottom: .75rem; }
  #anfrage .form-field textarea { min-height: 110px; }
  #anfrage .form-check { margin: .9rem 0 .4rem; }
}
