/* Funnel v2 (27.11.): Frage 1 als Kacheln im ersten Bildschirm, kompaktes Cookie-Fenster, Ergebnis mit eigener Zahl,
   Bewertung am Formular. Nur Seite, Kit unverändert. Präfix fv-. Kacheln in der Optik der Antworten im Check (.q-opt).
   Die Kacheln oben sind Stellvertreter ohne data-nf-frage (js/fv2-2711.js gibt die Antwort an Frage 1 im Check weiter). */

/* ---------- Frage 1 im Hero (alle Varianten) ---------- */
.fv-frage1 { min-width: 0; margin: 0; padding: 0; border: 0; }
.fv-frage1__frage { display: block; float: left; width: 100%; margin: 0 0 12px; padding: 0; color: var(--weiss, #ffffff); }
.fv-frage1__schritt {
  display: block; margin-bottom: 4px;
  font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: .02em;
  color: var(--marine-text-2, #b8c7d4);
}
.fv-frage1__text { display: block; font-size: 19px; line-height: 25px; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
.fv-frage1__kacheln { clear: both; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.fv-frage1 .fv-kachel {
  gap: 10px; min-height: 56px; margin-top: 0; padding: 10px 12px;
  border-color: transparent; color: var(--text, #012641);
  font-size: 15.5px; font-weight: 700; line-height: 1.25;
  box-shadow: 0 1px 2px rgb(0 0 0 / .18), 0 12px 24px -16px rgb(0 0 0 / .55);
}
.fv-frage1 .fv-kachel input { width: 20px; height: 20px; }
.fv-frage1 .fv-kachel:has(input:focus-visible) { outline: 2px solid var(--hellblau, #0caafc); outline-offset: 2px; }
/* Mit Frage 1 im Hero kein Knopf davor; er bleibt im HTML als Auslöser für den Check-Start und als Quelle des Knopfworts. */
.n-hero-cta:has(> .fv-frage1) > .knopf[data-nf-check-start] { display: none; }

@media (max-width: 359px) {
  .fv-frage1__text { font-size: 18px; line-height: 23px; }
  .fv-frage1 .fv-kachel { padding: 8px 10px; font-size: 14.5px; }
}
@media (min-width: 960px) {
  .fv-frage1 { max-width: 600px; }
  .fv-frage1__frage { margin-bottom: 14px; }
  .fv-frage1__schritt { font-size: 14px; }
  .fv-frage1__text { font-size: 22px; line-height: 28px; }
  .fv-frage1__kacheln { gap: 10px; }
  .fv-frage1 .fv-kachel { min-height: 60px; padding: 12px 16px; font-size: 17px; }
}

/* ---------- Cookie-Fenster kompakt (Kit-Baustein v2, nur Maße und Lage): schwebendes Fenster statt Leiste ---------- */
@media (max-width: 767.98px) {
  #nf-consent.nf-cc:not([hidden]) {
    left: 8px; right: 8px; bottom: max(8px, env(safe-area-inset-bottom, 0px));
    padding: 9px 12px 10px;
    border: 1px solid var(--nf-consent-rand, #dde4ea);
    border-radius: 14px;
    font-size: 12px; line-height: 1.34;
    box-shadow: 0 18px 40px -10px rgb(1 38 65 / .38), 0 2px 8px rgb(1 38 65 / .10);
  }
  #nf-consent.nf-cc .nf-cc-titel { font-size: 13.5px; line-height: 17px; }
  #nf-consent.nf-cc .nf-cc-text { margin-top: 2px; }
  #nf-consent.nf-cc .nf-cc-knoepfe { gap: 8px; margin-top: 8px; }
}
/* Zwei gleich große Knöpfe */
#nf-consent.nf-cc .nf-cc-knoepfe { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
#nf-consent.nf-cc .nf-cc-knoepfe > .nf-cc-knopf { width: 100%; min-height: 44px; }
/* Am Desktop immer rechts unten: links läge die Karte bis etwa 930 px Fensterhöhe über den Kacheln (1440×900: Karte ab y 631,
   Kacheln bis y 656). Rechts liegt sie neben den Kacheln, über Foto und Beweisleiste. */
@media (min-width: 960px) {
  #nf-consent.nf-cc { left: auto; right: 24px; }
}
/* Nie über dem Check: Solange er offen ist, wartet das Fenster (Wahl geht danach weiter, Kit-Logik unverändert). */
html[data-nf-check="offen"] #nf-consent.nf-cc { visibility: hidden; }

/* ---------- Ergebnis: eigene Zahl aus der Kanzleigröße ---------- */
.fv-zahl {
  margin: 14px 0 0;
  padding: 14px 16px 12px;
  border-left: 4px solid var(--marine, #012641);
  border-radius: 0 10px 10px 0;
  background: var(--blau-zart, #edf5fb);
}
.fv-zahl[hidden] { display: none; }
.fv-zahl__wert {
  margin: 0;
  font-size: 34px; line-height: 38px; font-weight: 800; letter-spacing: -.02em;
  color: var(--marine, #012641);
  font-variant-numeric: lining-nums;
}
.fv-zahl__satz { margin: 4px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--text, #012641); text-wrap: pretty; }
.fv-zahl__klein { margin: 6px 0 0; font-size: 12.5px; line-height: 17px; color: var(--text-2, #5f6f79); }
@media (min-width: 960px) {
  .fv-zahl { padding: 16px 20px 14px; }
  .fv-zahl__wert { font-size: 40px; line-height: 44px; }
  .fv-zahl__satz { font-size: 17px; line-height: 24px; }
}

/* ---------- Formular: Gesicht auch am Desktop (u1611.css blendete es ab 960 px aus), echte Bewertung neben Gesicht und Überschrift ---------- */
@media (min-width: 960px) { .form-foto { display: block; } }
.fv-bewertung { margin: 6px 0 0; font-size: 14px; line-height: 20px; }
.fv-bewertung__link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2, #5f6f79); font-weight: 600; text-decoration: none; }
.fv-bewertung__link:hover { text-decoration: underline; }
.fv-bewertung__sterne { display: inline-flex; gap: 1px; color: #f2b01e; }
.fv-bewertung__sterne svg { display: block; width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
  .fv-frage1 .q-opt, .fv-frage1 .q-opt input, .fv-frage1 .q-opt input::after { transition: none !important; }
}

/* ---------- Funnel v4 (28.11.): Kachel-Tipp ohne Sprung (js/fv2-2711.js). Getippte Kachel bleibt kurz sichtbar markiert,
   das Blatt öffnet derweil unsichtbar und blendet erst mit Frage 2 sanft ein. Kein Aufblitzen von Frage 1. ---------- */
.fv-frage1 .fv-kachel.fv4-getippt { box-shadow: 0 0 0 3px var(--hellblau, #0caafc), 0 12px 24px -16px rgb(0 0 0 / .55); }
html.fv4-weiter[data-nf-check="offen"] .blatt { opacity: 0; pointer-events: none; }
html.fv4-weiter[data-nf-check="offen"] body { overflow: auto; }
@media (prefers-reduced-motion: no-preference) {
  html.fv4-ein[data-nf-check="offen"] .blatt { animation: fv4-ein 300ms cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes fv4-ein { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
