/* /familie v2 (2026-10-28) – nach der Design-Übergabe „Familie Landingpage v2“.
   Nur Bestandsschriften (Archivo 400–700, Source Serif 4 500) und Bestandsbilder; Farben über
   die Tokens aus site.css plus wenige eigene. CSP: keine Inline-Styles – alles hier. */

.fv {
  --fv-gruen: var(--green-dark);        /* #40704d ≈ Übergabe #3d7150 */
  --fv-gruen-hell: var(--green);        /* #588965 ≈ #5f9a6f */
  --fv-gruen-flaeche: var(--green-light);
  --fv-text-weich: var(--ink-soft);
  --fv-leise: #6b6b69;
  --fv-rand: #e3e6e1;
  --fv-rand-stark: #cfd4cd;
  --fv-punkt-aus: #dfe3dd;
  --fv-rosa: #fbeee8;
  --fv-warn: #c0492a;
  --fv-dunkel: var(--ink);
  --fv-auf-dunkel: #c9cdc6;
  background: var(--white);
  color: var(--ink);
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
.fv *, .fv *::before, .fv *::after { box-sizing: border-box; }
.fv [hidden] { display: none !important; }   /* Klassen mit display:flex würden hidden sonst überstimmen */
.fv :focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.fv-spalte { max-width: 680px; margin: 0 auto; padding-left: max(22px, env(safe-area-inset-left, 0px)); padding-right: max(22px, env(safe-area-inset-right, 0px)); }

/* ---------- Kopf ---------- */
.fv-kopf { max-width: 680px; margin: 0 auto; padding: 18px max(22px, env(safe-area-inset-right, 0px)) 18px max(22px, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fv-logo img { height: 40px; width: auto; }
.fv-telefon { font-weight: 700; font-size: 15px; color: var(--ink); text-decoration: none; white-space: nowrap; }
.fv-telefon:hover { text-decoration: underline; }

/* ---------- Knöpfe ---------- */
.fv-knopf { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; padding: 12px 22px;
  border: 2px solid var(--fv-gruen); border-radius: 40px; background: var(--fv-gruen); color: var(--white);
  font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; text-align: center; }
.fv a.fv-knopf { color: var(--white); }
.fv-knopf:hover { background: #355e40; border-color: #355e40; text-decoration: none; }
.fv-knopf:active { transform: translateY(1px); }
.fv-knopf[disabled] { opacity: .65; cursor: progress; }
.fv-knopf--gross { min-height: 62px; font-size: 19px; box-shadow: 0 10px 24px rgba(61, 113, 80, .28); }
.fv-knopf--hell { background: var(--fv-gruen-hell); border-color: var(--fv-gruen-hell); box-shadow: none; }
.fv-knopf--hell:hover { background: var(--fv-gruen); border-color: var(--fv-gruen); }
.fv-knopf--weiss, .fv a.fv-knopf--weiss { background: var(--white); border-color: var(--white); color: var(--fv-gruen); }
.fv-knopf--weiss:hover { background: var(--fv-gruen-flaeche); border-color: var(--fv-gruen-flaeche); }
.fv-knopf--rand { background: var(--white); color: var(--fv-gruen); }
.fv-knopf--rand:hover { background: var(--fv-gruen-flaeche); border-color: var(--fv-gruen); }

/* ---------- Hero ---------- */
.fv-hero { background: var(--fv-gruen-flaeche); }
.fv-hero-inner { padding-top: 34px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 20px; }
.fv-kicker { margin: 0; display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 15px; color: var(--fv-gruen); }
.fv-kicker::before { content: ""; width: 5px; height: 22px; border-radius: 2px; background: var(--orange); flex: 0 0 5px; }
.fv-hero h1 { margin: 0; font-size: clamp(38px, 9vw, 60px); font-weight: 500; line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.fv-hero h1 em { color: var(--fv-gruen); }
.fv-lead { margin: 0; font-size: 18px; line-height: 1.5; color: var(--fv-text-weich); text-wrap: pretty; }
.fv-direkt { align-self: center; margin-top: -6px; font-size: 15px; color: var(--fv-gruen); }
.fv-vertrauen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 14px; color: var(--fv-text-weich); }
.fv-vertrauen li { white-space: nowrap; }
.fv-vertrauen li::before { content: "✓ "; color: var(--fv-gruen); font-weight: 700; }

/* ---------- Check ---------- */
.fv-check { padding-top: 36px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 12px; }
.fv-check > * { scroll-margin-top: 12px; }
.fv-karte { border: 2px solid var(--fv-rand); border-radius: 28px; padding: 26px 22px; display: flex; flex-direction: column; gap: 20px; }
.fv-quiz-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fv-quiz-nr { font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fv-gruen); }
.fv-punkte { display: flex; gap: 6px; }
.fv-punkte span { width: 28px; height: 6px; border-radius: 3px; background: var(--fv-punkt-aus); }
.fv-punkte span.ist-an { background: var(--fv-gruen); }
.fv-frage { margin: 0; font-family: var(--sans); font-size: clamp(22px, 5.4vw, 28px); font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; text-wrap: pretty; }
.fv-antworten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.fv-antworten button { min-height: 58px; padding: 8px 12px; border-radius: 30px; border: 2px solid var(--fv-rand-stark); background: var(--white);
  color: var(--ink); font: 700 17px/1.2 var(--sans); cursor: pointer; }
.fv-antworten button:hover { border-color: var(--fv-gruen); background: var(--fv-gruen-flaeche); }
.fv-hinweis { margin: 0; font-size: 14px; color: var(--fv-leise); }

/* ---------- Ergebnis ---------- */
.fv-ergebnis { border-radius: 28px; background: var(--fv-gruen-flaeche); padding: 26px 22px; display: flex; flex-direction: column; gap: 10px; }
.fv-ergebnis.ist-offen { background: var(--fv-rosa); }
.fv-ergebnis-kicker { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--fv-gruen); }
.fv-ergebnis.ist-offen .fv-ergebnis-kicker { color: var(--fv-warn); }
.fv-ergebnis-titel { margin: 0; font-family: var(--serif); font-size: clamp(34px, 8vw, 46px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.fv-ergebnis-text { margin: 0; font-size: 17px; line-height: 1.5; color: var(--fv-text-weich); }
.fv-ergebnis-liste { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.fv-ergebnis-liste li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; background: var(--white); border-radius: 14px; padding: 12px 14px; }
.fv-ergebnis-liste li.ist-leise { background: rgba(255, 255, 255, .6); color: var(--fv-text-weich); }
.fv-zeichen { color: var(--fv-warn); font-weight: 700; flex: 0 0 auto; }
.ist-leise .fv-zeichen { color: var(--fv-leise); }

/* ---------- Formular ---------- */
.fv-formular { border-radius: 28px; background: var(--fv-dunkel); color: var(--white); padding: 26px 22px; display: flex; flex-direction: column; gap: 14px; }
.fv-formular-kopf { display: flex; gap: 16px; align-items: center; }
.fv-formular-kopf img { width: 76px; height: 96px; object-fit: cover; border-radius: 8px; background: var(--fv-gruen-flaeche); flex: 0 0 76px; transform: rotate(-4deg); }
.fv-formular-titel { margin: 0; color: var(--white); font-size: 26px; line-height: 1.1; }
.fv-formular-sub { margin: 4px 0 0; font-size: 14px; color: var(--fv-auf-dunkel); }
.fv-feld { display: flex; flex-direction: column; gap: 6px; }
.fv-feld-label { font-size: 14px; font-weight: 600; color: var(--fv-auf-dunkel); }
.fv-feld input { height: 56px; padding: 0 18px; border-radius: 16px; border: 2px solid var(--white); background: var(--white); color: var(--ink); font: 400 17px var(--sans); }
.fv-feld input:focus { border-color: var(--fv-gruen-hell); outline: none; }
.fv-feld input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.fv-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fv-fehler { margin: 0; font-size: 14px; color: #f0a08a; }
.fv-angebot .fv-fehler { color: var(--fv-warn); }
.fv-mikro { margin: 0; font-size: 13px; line-height: 1.45; color: #a9ada6; text-align: center; }
.fv-mikro a { color: var(--fv-auf-dunkel); }

/* ---------- Danach ---------- */
.fv-danach { display: flex; flex-direction: column; gap: 16px; }
.fv-erfolg { border-radius: 28px; background: var(--fv-gruen); color: var(--white); padding: 28px 22px; display: flex; flex-direction: column; gap: 10px; }
.fv-erfolg-titel { margin: 0; font-family: var(--serif); font-size: clamp(32px, 8vw, 44px); font-weight: 500; line-height: 1.05; }
.fv-erfolg-titel:focus { outline: none; }
.fv-erfolg-text { margin: 0 0 6px; font-size: 17px; line-height: 1.5; color: #dfe9e1; }
.fv-freiwillig { margin: 0; padding: 4px 4px 0; font-size: 15px; font-weight: 700; color: var(--fv-leise); }
.fv-angebot { border: 2px solid var(--fv-rand); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.fv-angebot h3 { margin: 0; font-family: var(--sans); font-size: 18px; font-weight: 700; }
.fv-angebot p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fv-text-weich); }
.fv .fv-angebot .fv-eingetragen { min-height: 52px; border-radius: 30px; background: var(--fv-gruen-flaeche); color: var(--fv-gruen);
  display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; }

/* ---------- Inhalt, Zitat, FAQ, Fuß ---------- */
.fv-inhalt { padding-top: 30px; padding-bottom: 30px; display: flex; flex-direction: column; gap: 18px; }
.fv-inhalt h2 { margin: 0; font-size: clamp(28px, 7vw, 38px); line-height: 1.1; letter-spacing: -0.02em; }
.fv-haken { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.fv-haken li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.45; }
.fv-haken li::before { content: "✓"; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; background: var(--fv-gruen); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; }
.fv-zitat { background: var(--fv-gruen-flaeche); }
.fv-zitat-inner { padding-top: 34px; padding-bottom: 34px; display: flex; gap: 18px; align-items: center; }
.fv-zitat img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 96px; background: var(--fv-rand-stark); }
.fv-zitat figure { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fv-zitat blockquote { margin: 0; }
.fv-zitat blockquote p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--fv-text-weich); text-wrap: pretty; }
.fv-zitat figcaption { font-size: 14px; font-weight: 700; }
.fv-faq { padding-top: 30px; padding-bottom: 8px; display: flex; flex-direction: column; }
.fv-faq details { border-bottom: 1px solid var(--fv-rand); padding: 16px 0; }
.fv-faq summary { font-size: 17px; font-weight: 700; cursor: pointer; }
.fv-faq p { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: var(--fv-text-weich); }
.fv-fuss { padding-top: 28px; padding-bottom: 140px; display: flex; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--fv-leise); }

/* ---------- Leiste unten ---------- */
.fv-leiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center;
  padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: linear-gradient(rgba(255, 255, 255, 0), var(--white) 30%); }
.fv-leiste[hidden] { display: none; }
.fv-leiste .fv-knopf { max-width: 640px; min-height: 58px; font-size: 18px; }
