/* Unterseite Regionsanalyse (Auftrag fr-04). Zielseite für Anzeigen, ein Kopf (Auftrag 153; die alten Köpfe ?w=a|b|d|e seit Runde 53 entfernt).
   Grundlage ist das System der Startseite (site/sektionen-3/style.css und site/start/tools/start.css):
   gleiche Variablen, gleiche Klassen für Raster, Schrift, Pillen, Icons und die Zeichnung der Karte (rg-*).
   Eigene Teile tragen das Präfix fr-.
   Aufbau: 0 Grundlage · ic- Icons · nav- Leiste · rg- Zeichnung der Karte · fr-kopf Kopf mit Feld und Karte ·
   fr-feld Ablauf · fr-lead · fr-rep Report · fr-pro Profilkarten · lg- Logos · fr-st Stimmen · fr-ende · fuss */

/* ================= 0 GRUNDLAGE (aus sektionen-3) ================= */
/* CI-Fundament (Auftrag 96): Schrift, Farben, Knöpfe, Kopf und Fuß kommen aus ../assets/ci/ci.css (steht im <head> vor dieser Datei).
   Die alten Namen der Variablen leben weiter und zeigen auf die Rollen des Fundaments. Sie stehen an .rb-dunkel und .rb-hell,
   damit sie in jedem Abschnitt zur Fläche passen. Eigene Farbwerte gibt es hier nicht mehr (Ausnahmen: NOTIZ.md Abschnitt 11). */
.rb-dunkel, .rb-hell {
  --f1: var(--rb-fl);
  --f2: var(--rb-karte);
  --f3: var(--rb-karte-2);
  --tx: var(--rb-kopf);
  --tx2: var(--rb-tx);
  --tx3: var(--rb-leise);
  --linie: var(--rb-linie);
  --linie2: var(--rb-feld-rand);
  --gruen: var(--rb-gruen);
  --gruen-tx: var(--rb-marke);
  --ic: var(--rb-tx);
  --warn: var(--rb-fehlertext);
}
:root {
  --petrol: var(--rb-petrol);
  --rand: var(--rb-rand);
  --breite: var(--rb-breite);
  --luft: var(--rb-luft);
  --radius: var(--rb-r-bild);
  --aus: var(--rb-aus);
  --t-h2: var(--rb-t-7);
  --t-h2k: var(--rb-t-6);
  --t-h3: var(--rb-t-5);
  --t-lead: var(--rb-t-4);
  --t-text: var(--rb-t-3);
  --t-klein: var(--rb-t-1);
  --nav: var(--rb-kopf-h);
}
@media (max-width: 700px) { :root { --radius: 22px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--rb-kopf-h) + 16px); }
html.still { scroll-behavior: auto; }
body { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure, dl, dd, dt, fieldset, legend, blockquote { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
b { font-weight: var(--rb-w-mittel); }
[hidden] { display: none !important; }

.sek { padding: var(--luft) 0; background: var(--rb-fl); }
.sek.f2 { background: var(--rb-petrol-2); }
.rand { width: min(100%, calc(var(--breite) + 2 * var(--rand))); margin-inline: auto; padding-inline: var(--rand); }
.sek-kopf { margin-bottom: clamp(36px, 4.5vw, var(--rb-a-8)); }
.dach { margin-bottom: 14px; }   /* Aussehen: rb-marke */
h1 { font-size: var(--rb-t-7); line-height: 1.12; letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); color: var(--rb-kopf); text-wrap: balance; }
h2 { font-size: var(--t-h2); line-height: var(--rb-zh-kopf); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); color: var(--rb-kopf); max-width: 20em; text-wrap: balance; }
h3 { font-size: var(--t-h3); line-height: var(--rb-zh-mittel); font-weight: var(--rb-w-mittel); color: var(--rb-kopf); }
.lead { font-size: var(--t-lead); line-height: 1.42; color: var(--tx2); max-width: 36em; margin-top: 18px; text-wrap: pretty; }
.lead b { color: var(--tx); }
.ki-marke { position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 99px; background: var(--rb-schleier); color: var(--rb-eis); font-size: var(--t-klein); line-height: 1.3; pointer-events: none; z-index: 3; }

/* ================= ic- ICON-SYSTEM (aus sektionen-3) ================= */
.ic { --ic-n: 48; display: inline-flex; flex: none; width: calc(var(--ic-n) * 1px); height: calc(var(--ic-n) * 1px); color: var(--ic); }
.ic svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke-width: calc(96 / var(--ic-n)); stroke-linecap: round; stroke-linejoin: round; }
.ic-l { stroke: currentColor; }
.ic-g { stroke: var(--gruen); transform-box: fill-box; transform-origin: center; }
.fr-dreht .ic-g { animation: ic-hub 1.1s var(--aus) infinite; }
html.still .fr-dreht .ic-g { animation: none; }
@keyframes ic-hub { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-5px); } }

/* ================= rg- ZEICHNUNG DER KARTE (aus sektionen-3, Behälter heißt hier .kf) ================= */
.kf { position: relative; overflow: hidden; }
.kf > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.rg-marken { position: absolute; inset: 0; pointer-events: none; }
.rg-netz path { stroke: var(--rb-linie-dunkel); stroke-width: 1; fill: none; opacity: .5; }
.rg-wald ellipse { fill: var(--gruen); opacity: .05; }
.rg-wasser path { fill: none; stroke: var(--rb-ci-text-hell); stroke-opacity: .55; stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; }
.rg-see { fill: var(--rb-ci-text-hell); fill-opacity: .34; }
.rg-schein-a { stop-color: var(--rb-gruen); stop-opacity: .16; }
.rg-schein-b { stop-color: var(--rb-gruen); stop-opacity: 0; }
.rg-zone { fill: var(--gruen); fill-opacity: .055; stroke: var(--gruen); stroke-width: 1.6; stroke-opacity: .75; stroke-dasharray: 2 7; stroke-linecap: round; transform-origin: 600px 370px; }
.rg-zone-1 { stroke-dasharray: none; stroke-opacity: .9; fill-opacity: .1; }
.rg-strassen path { fill: none; stroke-linecap: round; stroke-dasharray: 1; }
.rg-s-a { stroke: var(--rb-dunkel-leise); stroke-width: 4.5; opacity: .75; }
.rg-s-b { stroke: var(--rb-dunkel-leise); stroke-width: 2.6; opacity: .6; }
.rg-s-s { stroke: var(--rb-dunkel-leise); stroke-width: 1.5; opacity: .5; }
.rg-d { fill: var(--rb-weiss); fill-opacity: .62; stroke: transparent; stroke-width: 1.8; transition: fill .6s, fill-opacity .6s, stroke .6s; }
.rg-st3 .rg-d-aktiv { fill-opacity: 0; stroke: var(--rb-weiss); }
.rg-st4 .rg-d-gruen { fill: var(--rb-gruen); fill-opacity: 1; filter: drop-shadow(0 0 5px var(--rb-schein-punkt)); }
.rg-ag { fill: var(--rb-petrol); stroke: var(--rb-weiss); stroke-width: 2.4; stroke-linejoin: round; }
.rg-weg { fill: none; stroke: var(--rb-gruen); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; filter: drop-shadow(0 0 7px var(--rb-schein-punkt)); }
.rg-fluss { fill: none; stroke: var(--rb-weiss); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 2 20; animation: rg-fliess 1.4s linear infinite; }
.rg-start { fill: var(--rb-gruen); fill-opacity: .28; transform-box: fill-box; transform-origin: center; animation: rg-halo 2.4s ease-out infinite; }
.rg-kern { fill: var(--rb-gruen); }
.rg-kern-i { fill: var(--petrol); }
.rg-ring { fill: none; stroke: var(--rb-gruen); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: rg-ring 3s ease-out infinite; }
.rg-ring-2 { animation-delay: 1.5s; }
/* Beschriftung als HTML, damit die Schrift an jeder Breite gleich groß bleibt */
.rg-marken span { position: absolute; white-space: nowrap; font-size: var(--t-klein); line-height: 1.2; }
.rg-ort { color: var(--rb-dunkel-leise); text-shadow: 0 0 3px var(--rb-petrol), 0 0 8px var(--rb-petrol), 0 0 8px var(--rb-petrol); }
.rg-ort-o { transform: translate(-50%, -150%); } .rg-ort-u { transform: translate(-50%, 60%); }
.rg-ort-r { transform: translate(12px, -50%); } .rg-ort-l { transform: translate(calc(-100% - 12px), -50%); }
.rg-zonenname { transform: translate(-50%, -50%); padding: 2px 9px; border-radius: 99px; background: var(--rb-petrol-2); color: var(--rb-gruen); font-weight: var(--rb-w-mittel); box-shadow: 0 0 0 1px color-mix(in srgb, var(--rb-gruen) 45%, transparent); }
.rg-hier { transform: translate(-50%, calc(-100% - 22px)); padding: 6px 13px; border-radius: 99px; background: var(--rb-gruen); color: var(--petrol); font-weight: var(--rb-w-mittel); box-shadow: 0 6px 20px rgba(0, 21, 28, 0.35); max-width: 15em; overflow: hidden; text-overflow: ellipsis; }
.rg-hier::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.rg-nr { transform: translate(-50%, -50%); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rb-weiss); color: var(--petrol); font-weight: var(--rb-w-kopf); font-size: var(--rb-t-2) !important; box-shadow: 0 0 0 3px var(--rb-gruen), 0 6px 16px rgba(0, 21, 28, 0.4); }
.rg-min { transform: translate(-50%, calc(-100% - 12px)); padding: 3px 10px; border-radius: 99px; background: var(--rb-weiss); color: var(--petrol); font-weight: var(--rb-w-kopf); box-shadow: 0 0 0 2px var(--rb-gruen), 0 6px 16px rgba(0, 21, 28, 0.4); }
/* Ablauf: vor dem Start verborgen, dann nach Zeitplan (--t), am Ende alles da */
.kf:not(.rg-fertig) .rg-a, .kf:not(.rg-fertig) .rg-d { opacity: 0; }
.kf:not(.rg-fertig) .rg-z { stroke-dashoffset: 1; }
.kf:not(.rg-fertig) .rg-w { opacity: 0; }
.rg-laeuft .rg-a { animation: rg-ein .7s var(--t) both; }
.rg-laeuft .rg-z { animation: rg-zeichne var(--d, 1.2s) var(--t) var(--aus) both; }
.rg-laeuft .rg-w { animation: rg-wachs 1.1s var(--t) var(--aus) both; }
.rg-laeuft .rg-d { animation: rg-punkt .5s var(--t) var(--aus) both; }
.rg-laeuft .rg-ag { animation: rg-wachs .6s var(--t) var(--aus) both; transform-box: fill-box; transform-origin: center; }
.rg-fertig .rg-d-gruen { animation: rg-funkel 3.4s var(--f) ease-in-out infinite; }
.rg-laeuft .rg-fluss { animation: rg-ein .7s var(--t) both, rg-fliess 1.4s linear infinite; }
.rg-laeuft .rg-start { animation: rg-ein .7s var(--t) both, rg-halo 2.4s ease-out infinite; }
html.still .kf *, .kf.rg-steht * { animation: none !important; }
@keyframes rg-ein { from { opacity: 0; } to { opacity: 1; } }
@keyframes rg-zeichne { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes rg-wachs { from { opacity: 0; transform: scale(.55); } to { opacity: 1; transform: scale(1); } }
@keyframes rg-punkt { from { opacity: 0; r: 0; } to { opacity: 1; } }
@keyframes rg-funkel { 0%, 100% { fill-opacity: 1; } 50% { fill-opacity: .45; } }
@keyframes rg-fliess { to { stroke-dashoffset: -22; } }
@keyframes rg-halo { 0% { transform: scale(1); fill-opacity: .4; } 100% { transform: scale(2.6); fill-opacity: 0; } }
@keyframes rg-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
/* Läuft die Analyse für die Eingabe des Besuchers, verschwinden Ortsnamen und Fahrzeiten des Beispiels */
.kf.fr-eigen .rg-ort, .kf.fr-eigen .rg-min { display: none; }

/* ================= fr-kopf KOPF: Text und Feld links, die Karte ist das Bild ================= */
.fr-kopf { position: relative; display: grid; align-content: start; min-height: min(100svh, calc(980px - 80px * var(--rb-m))); padding: calc(var(--nav) + clamp(24px, 6.4vh, 76px)) 0 clamp(24px, 4vh, 56px); background: var(--rb-fl); overflow: clip; }
.fr-kopf > .rand { position: relative; z-index: 2; pointer-events: none; }
.fr-kopf > .rand > * { pointer-events: auto; }
.fr-text { max-width: min(calc(640px - 40px * var(--rb-m) + 160 * var(--rb-w)), 45vw); }   /* wächst zwischen 1440 und 1920 px mit der Schrift */
.fr-dach { margin-bottom: 14px; flex-wrap: wrap; }
.fr-dach span + span { color: var(--tx3); font-weight: var(--rb-w-text); }
h1 b { font-weight: inherit; color: var(--gruen-tx); }
.fr-sub { margin-top: 18px; max-width: 28em; font-size: var(--t-lead); line-height: 1.42; color: var(--tx2); text-wrap: pretty; }
.fr-sub b { color: var(--tx); }
/* Runde 49: „Ihre erste Regionsanalyse ist kostenfrei.“ steht abgesetzt in eigener Zeile */
.fr-frei { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: var(--t-lead); line-height: 1.3; font-weight: var(--rb-w-mittel); color: var(--tx); }
.fr-frei::before { content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--rb-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.4' fill='none' stroke='%23002A38' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.fr-um { white-space: nowrap; }

/* Karte */
.fr-karte { position: absolute; z-index: 1; top: 0; bottom: 0; right: 0; left: max(40%, calc(50% - 170px)); -webkit-mask-image: linear-gradient(to right, transparent 0, black 34%), linear-gradient(to top, transparent 0, black 9%); mask-image: linear-gradient(to right, transparent 0, black 34%), linear-gradient(to top, transparent 0, black 9%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.fr-karte-auf { position: absolute; z-index: 3; top: calc(var(--nav) + 18px); right: clamp(16px, 2.4vw, 34px); display: grid; justify-items: end; gap: 8px; pointer-events: none; }
.fr-legende { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 16px; padding: 8px 14px; border-radius: 99px; background: var(--rb-schleier); box-shadow: inset 0 0 0 1px var(--linie); font-size: var(--t-klein); color: var(--tx2); }
.fr-legende li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.fr-p { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--tx); opacity: .7; }
.fr-p-aktiv { background: none; box-shadow: inset 0 0 0 2px var(--tx); opacity: 1; }
.fr-p-gruen { background: var(--gruen); opacity: 1; box-shadow: 0 0 8px var(--rb-schein-punkt); }
.fr-p-ag { width: 9px; height: 9px; border-radius: 2px; background: var(--rb-petrol); box-shadow: 0 0 0 2px var(--rb-weiss); opacity: 1; transform: rotate(45deg); margin-inline: 2px; }
.fr-hinweis { padding: 5px 14px; border-radius: 99px; background: var(--rb-schleier); font-size: var(--t-klein); line-height: 1.35; color: var(--tx3); text-align: right; }

/* Vier Ergebnisfelder: zählen hoch und werden verdeckt */
.fr-werte { position: absolute; z-index: 3; right: clamp(16px, 2.4vw, 34px); bottom: clamp(18px, 3.4vh, 34px); left: calc(max(40%, calc(50% - 170px)) + 12%); display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 20px; background: color-mix(in srgb, var(--rb-petrol-2) 72%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--linie); animation: fr-auf .6s var(--aus); }
html.still .fr-werte { animation: none; }
.fr-wert { position: relative; display: grid; align-content: space-between; gap: 10px; min-height: 96px; padding: 14px 16px 15px; }
.fr-wert + .fr-wert { box-shadow: inset 1px 0 0 var(--linie); }
.fr-wert dt { display: flex; align-items: center; gap: 8px; font-size: var(--t-klein); line-height: 1.25; color: var(--tx2); }
.fr-wert dd { display: flex; align-items: center; gap: 10px; height: 34px; }
.fr-ziffern { display: block; font-size: var(--rb-t-5); line-height: 34px; font-weight: var(--rb-w-kopf); font-variant-numeric: tabular-nums; color: var(--tx); opacity: .25; filter: blur(3px); transition: filter .5s, opacity .5s; user-select: none; }
.fr-wert.zaehlt .fr-ziffern { opacity: 1; }
.fr-wert.gruen .fr-ziffern { color: var(--gruen-tx); }
.fr-wert.verdeckt .fr-ziffern { opacity: 1; filter: blur(7px); }
.fr-schleier { display: inline-flex; flex: none; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--rb-schleier); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rb-gruen) 60%, transparent); color: var(--gruen-tx); font-size: var(--t-klein); font-weight: var(--rb-w-mittel); white-space: nowrap; opacity: 0; transform: translateY(4px); transition: opacity .45s, transform .45s var(--aus); }
.verdeckt .fr-schleier { opacity: 1; transform: none; }
html.still .fr-ziffern, html.still .fr-schleier { transition: none; }

/* ================= fr-feld ABLAUF: Beruf und Ort, Bedarf, Analyse, Kontakt, Bestätigung ================= */
.fr-feld { position: relative; width: min(100%, calc(560px - 40px * var(--rb-m) + 100 * var(--rb-w))); margin-top: clamp(20px, 3.2vh, 32px); padding: 20px 20px 22px; border-radius: var(--rb-r-karte); box-shadow: var(--rb-schatten-dunkel); scroll-margin-top: calc(var(--nav) + 12px); }
/* Schritte, Fortschritt, Felder, Meldungen, Störung und Bestätigung kommen seit Auftrag 141 aus ../assets/ci/formular.css (rb-form rb-form-knapp) */
@keyframes fr-auf { from { opacity: 0; transform: translateY(10px); } }
.fr-wofuer { margin: -6px 4px 0; font-size: var(--rb-t-2); color: var(--tx2); overflow-wrap: anywhere; }
.fr-wofuer b { color: var(--tx); }
.fr-aendern { margin-left: 6px; vertical-align: baseline; }   /* Aussehen: rb-link rb-link-ohne rb-link-klein */
/* Schritt 1: die Auswahl in zwei Ebenen kommt aus ../assets/ci/auswahl.css (rb-aw). Hier nur der Vorschlag für den Standort (Auftrag 153) */
.fr-vorschlag { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 5px; margin-top: -4px; color: var(--tx2); }
.fr-vorschlag button { margin-left: 6px; }
.fr-vorschlag-marke { padding: 1px 8px; border-radius: 99px; background: var(--rb-hauch); color: var(--tx); font-weight: var(--rb-w-mittel); }
.fr-vorschlag-marke[hidden] { display: none; }
.fr-reihe { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: start; }
.fr-klein { padding-inline: 4px; font-size: var(--t-klein); line-height: 1.45; color: var(--tx3); }
.fr-klein a { text-decoration: underline; text-underline-offset: 4px; }
.fr-klein a:hover { color: var(--tx); }
html.still .rb-kn[aria-busy="true"] .rb-kn-p::after { animation: none; }
/* Honigtopf und Ansage für Vorleser: nicht zu sehen */
.fr-nur-vorleser { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* Nach dem Absenden lädt kein Knopf mehr zum Start ein */
html[data-schritt="fertig"] a[href="#analyse"] { display: none; }
/* Schritt 2: Auswahl als Reihe von Feldern (Radio) */
.fr-gruppe legend { padding: 0 4px 7px; font-size: var(--rb-t-2); font-weight: var(--rb-w-mittel); color: var(--tx); }
.fr-haken { display: flex; align-items: center; gap: 10px; margin: 8px 4px 0; font-size: var(--rb-t-2); color: var(--tx2); cursor: pointer; }
.fr-haken input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; background: var(--rb-feld); box-shadow: inset 0 0 0 1.5px var(--linie2); cursor: pointer; transition: background-color .2s, box-shadow .2s; }
.fr-haken input:checked { background: var(--rb-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002a38' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.5 4.5 8.500-9.500'/%3E%3C/svg%3E") center / 16px no-repeat; box-shadow: none; }
/* Analyse läuft: fünf Zeilen, jede bekommt einen Haken */
.fr-wer { display: flex; align-items: center; gap: 12px; padding: 2px 4px 0; }
.fr-wer .ic { --ic-n: 42; }
.fr-wer p { font-size: var(--rb-t-2); line-height: 1.3; color: var(--tx2); overflow-wrap: anywhere; }
.fr-wer b { display: block; font-size: var(--t-lead); color: var(--tx); }
.fr-zeilen { display: grid; padding: 4px 16px; border-radius: var(--rb-r-feld); background: var(--rb-feld); box-shadow: inset 0 0 0 1px var(--linie); }
.fr-zeilen li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: center; min-height: 42px; font-size: var(--rb-t-2); color: var(--tx3); transition: color .3s; }
.fr-zeilen li + li { box-shadow: inset 0 1px 0 var(--linie); }
.fr-zeilen li.dran, .fr-zeilen li.ok { color: var(--tx); }
.fr-zeichen { position: relative; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--linie2); }
.dran .fr-zeichen { box-shadow: none; border: 2px solid var(--linie2); border-top-color: var(--gruen); animation: fr-kreis .7s linear infinite; }
.ok .fr-zeichen { box-shadow: none; background: var(--rb-gruen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002a38' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 12.5l4.5 4.5 8.500-9.500'/%3E%3C/svg%3E") center / 15px no-repeat; animation: fr-haken .4s var(--aus); }
html.still .fr-zeichen { animation: none !important; }
@keyframes fr-kreis { to { transform: rotate(360deg); } }
@keyframes fr-haken { from { transform: scale(.4); } }
.fr-balken { height: 4px; border-radius: 4px; background: var(--linie); overflow: hidden; }
.fr-balken span { display: block; height: 100%; border-radius: 4px; background: var(--gruen); transform: scaleX(0); transform-origin: left; }
.fr-feld[data-schritt="lauf"] .fr-balken span { animation: fr-balken var(--dauer, 7s) linear forwards; }
html.still .fr-balken span { animation: none !important; transform: none; }
@keyframes fr-balken { to { transform: none; } }
/* Bestätigung */
.fr-feld[data-schritt="fertig"] { box-shadow: inset 0 0 0 3px var(--rb-gruen), var(--rb-schatten-dunkel); }
.fr-feld .rb-form-erfolg { padding: 4px; }
.fr-feld .rb-form-erfolg h2 { font-size: var(--rb-t-5); letter-spacing: 0; }
.fr-feld .rb-form-recht, .fr-feld .rb-ff-meldung { padding-inline: 4px; }
@media (min-width: 561px) { .fr-zwei-mail { grid-template-columns: 3fr 2fr; } }

/* ---------- Kopf unter 1000 px: Text, Feld, Karte untereinander ---------- */
@media (max-width: 999px) {
  h1 br { display: none; }   /* gesetzte Zeilen gelten nur neben der Karte */
  .fr-kopf { display: flex; flex-direction: column; min-height: 0; padding: calc(var(--nav) + 22px) 0 28px; }
  .fr-kopf > .rand { order: 1; }
  .fr-text { max-width: 40em; }
  .fr-feld { width: 100%; max-width: calc(620px - 40px * var(--rb-m)); }
  .fr-karte { order: 2; position: relative; inset: auto; left: auto; margin: 18px 10px 0; aspect-ratio: 16 / 10; border-radius: var(--radius); background: radial-gradient(70% 80% at 50% 50%, var(--rb-petrol-3), var(--rb-petrol-2)); box-shadow: inset 0 0 0 1px var(--linie); -webkit-mask-image: none; mask-image: none; }
  .fr-karte-auf { order: 3; position: static; justify-items: start; margin: 10px 10px 0; padding-inline: 6px; }
  .fr-legende { justify-content: flex-start; padding: 0; background: none; box-shadow: none; }
  .fr-hinweis { padding: 0; background: none; text-align: left; max-width: none; }
  .fr-werte { order: 3; position: static; margin: 10px 10px 0; grid-template-columns: 1fr 1fr; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--rb-petrol-2); }
  .fr-wert { min-height: 84px; padding: 12px 14px; }
  .fr-wert:nth-child(odd) { box-shadow: none; }
  .fr-wert:nth-child(n+3) { border-top: 1px solid var(--linie); }
  .fr-karte-auf { order: 4; }
  /* Läuft die Analyse, steht die Karte oben und der Kopftext macht Platz */
  .fr-kopf[data-schritt="lauf"] .fr-text { display: none; }
  .fr-kopf[data-schritt="lauf"] .fr-karte { order: 0; margin-top: 0; }
  .fr-kopf[data-schritt="lauf"] .fr-werte { order: 0; }
  .fr-kopf[data-schritt="lauf"] .fr-feld { margin-top: 10px; }
  .fr-kopf[data-schritt="lauf"] { padding-top: calc(var(--nav) + 10px); }
}
@media (max-width: 700px) {
  .fr-dach { margin-bottom: 8px; }
  .fr-dach span + span { display: none; }
  .fr-sub { margin-top: 10px; font-size: var(--rb-t-2); line-height: 1.4; }
  .fr-frei { margin-top: 10px; font-size: var(--rb-t-2); gap: 8px; }
  .fr-frei::before { width: 18px; height: 18px; }
  .fr-kopf h1 { font-size: var(--rb-t-6); line-height: 1.14; }   /* Runde 49: Bernds Sätze bleiben ganz, die Größe gibt nach, damit das Feld im ersten Bildschirm beginnt */
  .fr-kopf > .rand { padding-inline: 14px; }
  .fr-text { padding-inline: 6px; }
  .fr-feld { margin-top: 16px; padding: 14px 14px 16px; border-radius: 22px; }
  .fr-feld .rb-form-schritt { gap: 10px; }
  .fr-reihe { grid-template-columns: 1fr; }
  .fr-reihe > .rb-kn { order: 3; }   /* der Hinweis zum Vorschlag bleibt direkt unter dem Feld */
  .fr-karte { aspect-ratio: 37 / 30; }
  .fr-kopf[data-schritt="lauf"] .fr-karte { aspect-ratio: 37 / 25; }
  .fr-wert { min-height: 72px; padding: 9px 12px 10px; gap: 4px; }
  .fr-zeilen { padding-inline: 12px; }
  .fr-zeilen li { min-height: 36px; gap: 10px; }
  .fr-wer .ic { --ic-n: 36; }
}
/* Am Handy steht im Kontakt-Schritt jedes Feld in voller Breite: Eine E-Mail-Adresse passt nicht in ein halbes Feld */
/* Darüber bekommt die E-Mail mehr Platz als das Telefon */

/* ================= fr-rep WAS DER RADAR ZEIGT: vier Ausschnitte eines Reports ================= */
/* Kopf des Abschnitts (Runde 49): links die Überschrift, rechts Rolands Satz, der früher auf dem erzeugten Bild stand */
.fr-rep-auf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: end; gap: var(--rb-a-5) 0; }
.fr-roland { display: grid; gap: 14px; max-width: 40em; }
.fr-roland blockquote { font-size: var(--t-lead); line-height: 1.45; color: var(--tx2); text-wrap: pretty; }
.fr-roland blockquote b { color: var(--tx); }
.fr-roland figcaption { display: flex; align-items: center; gap: 10px; font-size: var(--t-klein); font-weight: var(--rb-w-mittel); color: var(--tx); }
.fr-roland .ic { --ic-n: 30; }
.fr-rep .rb-ruf { margin-top: var(--rb-a-6); }
@media (max-width: 900px) { .fr-rep-auf { grid-template-columns: 1fr; } }
.fr-rep-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.fr-rep-kopf { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 16px 24px; border-radius: var(--radius) var(--radius) 0 0; background: var(--rb-petrol-3); font-size: var(--t-klein); color: var(--tx2); }
.fr-rep-kopf b { font-size: var(--t-text); color: var(--tx); margin-right: 8px; }
.fr-rep-marke { padding: 3px 11px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--linie2); white-space: nowrap; }
.fr-rep-text { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-content: center; padding: 30px clamp(20px, 3vw, var(--rb-a-7)) 30px 0; border-top: 1px solid var(--linie); }
.fr-rep-nr { grid-row: span 2; font-size: var(--rb-t-7); line-height: .95; font-weight: var(--rb-w-text); font-variant-numeric: tabular-nums; color: var(--gruen-tx); min-width: 1.1em; }
.fr-rep-text p { grid-column: 2; color: var(--tx2); max-width: 27em; text-wrap: pretty; }
.fr-rep-blatt { position: relative; display: grid; align-content: center; min-height: 236px; padding: 26px 24px; background: var(--rb-petrol-2); border-top: 1px solid var(--linie); }
.fr-rep-raster > .fr-rep-blatt:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.fr-rep-titel { font-size: var(--t-klein); font-weight: var(--rb-w-mittel); color: var(--tx3); margin-bottom: 14px; }
/* verdeckte Zahl im Report */
.fr-vz { display: inline-flex; align-items: center; gap: 12px; }
.fr-vz span:first-child { font-size: var(--vz, var(--rb-t-6)); line-height: 1.1; font-weight: var(--rb-w-kopf); color: var(--tx); font-variant-numeric: tabular-nums; filter: blur(var(--vzb, 7px)); user-select: none; }
.fr-vz span + span { display: inline-flex; flex: none; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; background: var(--rb-schleier); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rb-gruen) 60%, transparent); color: var(--gruen-tx); font-size: var(--t-klein); font-weight: var(--rb-w-mittel); white-space: nowrap; }
.fr-vz.gruen span:first-child { color: var(--gruen-tx); }
.fr-vz.klein { --vz: var(--rb-t-5); --vzb: 5px; }
.fr-vz.klein span + span { height: 24px; padding: 0 10px; }
/* 1 Wie viele */
.fr-b1 { grid-template-columns: calc(200px + 60 * var(--rb-w)) 1fr; gap: 0 26px; align-items: center; }
.fr-b1 .kf { width: calc(200px + 60 * var(--rb-w)); aspect-ratio: 1; border-radius: 18px; background: radial-gradient(70% 80% at 50% 50%, var(--rb-petrol-3), var(--rb-petrol)); box-shadow: inset 0 0 0 1px var(--linie); }
.fr-b1 dl { display: grid; gap: 14px; }
.fr-b1 dt { font-size: var(--rb-t-2); color: var(--tx2); margin-bottom: 4px; }
/* 2 Wechselbereit: Punktefeld */
.fr-b2 { grid-template-columns: 1fr auto; gap: 0 26px; align-items: center; }
.fr-b2 .fr-rep-titel { grid-column: 1 / -1; }
.fr-feldpunkte { display: grid; grid-template-columns: repeat(20, 1fr); gap: 7px; max-width: calc(420px + 140 * var(--rb-w)); }
.fr-feldpunkte span { aspect-ratio: 1; border-radius: 50%; background: var(--tx); opacity: .3; }
.fr-feldpunkte span.g { background: var(--rb-gruen); opacity: 1; box-shadow: 0 0 8px var(--rb-schein-punkt); animation: fr-funkel 3.4s var(--f, 0s) ease-in-out infinite; }
html.still .fr-feldpunkte span.g { animation: none; }
@keyframes fr-funkel { 50% { opacity: .45; } }
.fr-modell { display: block; margin-top: 8px; font-size: var(--t-klein); color: var(--tx3); }
/* 3 Arbeitgeber: Liste mit Balken */
.fr-ag { display: grid; gap: 10px; }
.fr-ag li { display: grid; grid-template-columns: 16px minmax(0, 150px) minmax(0, 1fr) 136px; gap: 14px; align-items: center; }
.fr-ag .fr-p-ag { margin: 0 3px; }
.fr-name { height: 14px; border-radius: 7px; background: var(--tx); opacity: .22; width: var(--b, 100%); }
.fr-ag li:first-child .fr-name { height: auto; width: auto; background: none; opacity: 1; font-size: var(--t-klein); color: var(--tx2); white-space: nowrap; }
.fr-stab { height: 10px; border-radius: 5px; background: linear-gradient(to right, var(--tx3), color-mix(in srgb, var(--tx3) 60%, transparent)); width: var(--b, 100%); opacity: .7; }
/* 4 Wechselgründe: Rangfolge */
.fr-gr { display: grid; gap: 10px; }
.fr-gr li { display: grid; grid-template-columns: 22px minmax(0, 170px) minmax(0, 1fr); gap: 14px; align-items: center; font-size: var(--t-klein); color: var(--tx3); font-variant-numeric: tabular-nums; }
.fr-gr li:first-child .fr-name { height: auto; width: auto; background: none; opacity: 1; color: var(--tx2); white-space: nowrap; }
.fr-gr .fr-stab { background: linear-gradient(to right, var(--rb-gruen), rgba(134, 188, 37, 0.35)); opacity: 1; }
@media (max-width: 900px) {
  .fr-rep-raster { grid-template-columns: 1fr; }
  .fr-rep-kopf { grid-column: 1; order: -1; border-radius: var(--radius) var(--radius) 0 0; display: none; }
  .fr-rep-text { padding: 28px 0 16px; }
  .fr-rep-blatt, .fr-rep-raster > .fr-rep-blatt:last-child { min-height: 0; border: 0; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--linie); margin-bottom: 8px; padding: 20px 18px; }
}
@media (max-width: 560px) {
  .fr-b1 { grid-template-columns: 112px 1fr; gap: 0 16px; }
  .fr-b1 .kf { width: 112px; border-radius: 14px; }
  .fr-b2 { grid-template-columns: 1fr; gap: 16px; }
  .fr-feldpunkte { gap: 5px; }
  .fr-ag li { grid-template-columns: 16px minmax(0, 104px) minmax(0, 1fr) 122px; gap: 10px; }
  .fr-vz { gap: 8px; }
  .fr-gr li { grid-template-columns: 18px minmax(0, 120px) minmax(0, 1fr); gap: 10px; }
}

/* ================= fr-pro WER IN IHREM GEBIET ARBEITET: drei Karten vor der Karte ================= */
.fr-pro-buehne { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--rb-petrol); box-shadow: inset 0 0 0 1px var(--linie); }
.fr-pro-buehne .kf { aspect-ratio: 21 / 10; background: radial-gradient(60% 80% at 50% 50%, var(--rb-petrol-3), var(--rb-petrol)); }
.fr-pro-buehne .kf > svg { -webkit-mask-image: radial-gradient(ellipse 52% 80% at 50% 50%, black 62%, transparent 100%); mask-image: radial-gradient(ellipse 52% 80% at 50% 50%, black 62%, transparent 100%); }
.fr-pro-karten { position: absolute; inset: 0; pointer-events: none; }
.fr-pk { position: absolute; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: center; width: min(calc(320px - 20px * var(--rb-m)), 27%); padding: 18px 20px; border-radius: 20px; background: color-mix(in srgb, var(--rb-petrol-2) 82%, transparent); backdrop-filter: blur(18px) saturate(1.3); -webkit-backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--linie2), var(--rb-schatten-dunkel); pointer-events: auto; }
.fr-pk:nth-child(1) { right: 3%; bottom: 8%; }
.fr-pk:nth-child(2) { left: 3%; bottom: 10%; }
.fr-pk:nth-child(3) { right: 3%; top: 8%; }
.fr-pk-nr { grid-row: span 3; align-self: start; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rb-weiss); color: var(--petrol); font-size: var(--rb-t-2); font-weight: var(--rb-w-kopf); box-shadow: 0 0 0 3px var(--rb-gruen); }
.fr-pk b { font-size: var(--t-lead); line-height: 1.2; color: var(--tx); }
.fr-pk span:not(.fr-pk-nr) { font-size: var(--rb-t-2); color: var(--tx2); }
.fr-pk span.fr-pk-min { color: var(--gruen-tx); font-weight: var(--rb-w-mittel); }
.fr-pro-fuss { margin-top: 16px; font-size: var(--t-klein); color: var(--tx3); }
.fr-wende { margin-top: clamp(40px, 5vw, 72px); font-size: var(--t-h2); line-height: var(--rb-zh-kopf); letter-spacing: var(--rb-lw-kopf); font-weight: var(--rb-w-kopf); color: var(--gruen-tx); max-width: 16em; text-wrap: balance; }
@media (max-width: 900px) {
  .fr-pro-buehne { overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .fr-pro-buehne .kf { aspect-ratio: 4 / 3; border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--linie); }
  .fr-pro-karten { position: static; display: grid; gap: 8px; margin-top: 8px; }
  .fr-pk, .fr-pk:nth-child(n) { position: static; width: auto; backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--rb-petrol); box-shadow: inset 0 0 0 1px var(--linie); padding: 16px 18px; }
}

/* ================= lg- LOGOS (aus start.css) und fr-st STIMMEN ================= */
.fr-ver { padding-bottom: calc(var(--rb-luft) * 0.75); }
.fr-ver h2 { font-size: var(--t-h2k); line-height: var(--rb-zh-mittel); }
.lg-lauf { display: grid; gap: 30px; margin-top: clamp(32px, 4vw, var(--rb-a-8)); overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, black 9%, black 91%, transparent); mask-image: linear-gradient(to right, transparent, black 9%, black 91%, transparent); }
.lg-zeile { display: flex; width: max-content; animation: lg-lauf 90s linear infinite; }
.lg-zeile.lg-rueck { animation-direction: reverse; animation-duration: 104s; }
.lg-lauf:hover .lg-zeile { animation-play-state: paused; }
.lg-zeile ul { display: flex; align-items: center; gap: clamp(38px, 4.4vw, var(--rb-a-8)); padding-right: clamp(38px, 4.4vw, var(--rb-a-8)); }
.lg-zeile img { height: 40px; width: auto; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .7; }
@keyframes lg-lauf { to { transform: translateX(-50%); } }
html.still .lg-zeile { animation: none; }
.fr-st { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: clamp(40px, 5vw, var(--rb-a-8)); }
.fr-st figure { display: grid; align-content: space-between; gap: 28px; padding: clamp(24px, 2.8vw, 38px); border-radius: var(--rb-r-karte); background: var(--rb-karte); box-shadow: var(--rb-karte-schatten); }
.fr-st blockquote { font-size: var(--rb-t-4); line-height: 1.4; font-weight: var(--rb-w-mittel); color: var(--tx); text-wrap: pretty; }
.fr-st blockquote::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 20px; border-radius: 4px; background: var(--gruen); }
.fr-st figcaption { font-size: var(--rb-t-2); line-height: 1.4; color: var(--tx2); }
.fr-st figcaption b { display: block; color: var(--tx); }
@media (max-width: 800px) { .fr-st { grid-template-columns: 1fr; } }
@media (max-width: 700px) { html.still .lg-rueck { display: none; } }

/* ================= fr-ende ABSCHLUSS und fuss ================= */
/* Abschluss: der Streifen des Fundaments (rb-ruf-streifen, ci.css) auf der Fläche der Seite */
.fr-ende { padding-top: 0; }
/* Fuß: rb-fuss aus dem Fundament. An der Stelle des KI-Hinweises stehen hier die Datenquellen (die Seite zeigt kein erzeugtes Bild mehr) */
.rb-fuss .fuss-quellen { color: var(--rb-leise); }

.rg-schmal .rg-nur-breit { display: none; }

/* ---------- Kopf am Rechner: ab Schritt 2 macht die Subheadline Platz, niedrige Fenster bekommen kleinere Maße ---------- */
@media (min-width: 1000px) {
  .fr-kopf:not([data-schritt="1"]) .fr-sub, .fr-kopf:not([data-schritt="1"]) .fr-frei { display: none; }
}
@media (min-width: 1000px) and (max-height: 820px) {
  .fr-dach { margin-bottom: 8px; }
  .fr-sub { margin-top: 12px; font-size: var(--rb-t-3); max-width: 33em; }
  .fr-frei { margin-top: 8px; font-size: var(--rb-t-3); }
  .fr-kopf { padding: calc(var(--nav) + 18px) 0 22px; }
  .fr-feld { margin-top: 16px; padding: 16px 18px; }
  .fr-feld .rb-form-schritt { gap: 8px; }
  .fr-feld { --rb-ff-h: 48px; }
  .fr-feld .rb-form-kopf { margin-bottom: 8px; }
  .fr-feld .rb-ff > label { padding-block: 4px; }
  .fr-feld .rb-wahl span { min-height: 40px; }
  .fr-gruppe legend { padding-bottom: 4px; }
  .fr-haken { margin-top: 6px; }
  .fr-zeilen li { min-height: 36px; }
  .fr-wert { min-height: 84px; padding: 10px 14px; }
}

/* Auftrag 141: Am Handy steht der Fortschritt dichter über der Frage, damit der Knopf des ersten Schritts höher liegt */
@media (max-width: 560px) { .fr-feld .rb-form-kopf { margin-bottom: 10px; } }
