/* ── TVO-Linie nach dem Corporate Design Handbuch TVO 1.1 (Oktober 2026), Regeln in vsc_projects/tvo-corporate-design ──
   Text schwarz, Auszeichnungen dunkelblau, Verbandsgrau nur für Hinweise. Spektrum als Akzentfläche, keine Leitthemen-Streifen.
   Kästen weiß mit grauer Kontur und farbiger linker Kante. Grün und Rot nur als Zustand (erfüllt, fehlt), nie als Fläche.
   Wird nach style.css geladen und überschreibt die Grundpalette. */
:root {
    --bg: #EAF1F8;
    --panel: #FFFFFF;
    --ink: #1A1A1A;
    --muted: #6C696A; /* Verbandsgrau #706D6E, für Text auf Hellblau eine Spur dunkler (WCAG AA) */
    --line: #D3D1D2;
    --forest: #0056A3;
    --forest-dark: #00427E;
    --forest-soft: #EAF1F8;
    --gold: #0056A3;
    --gold-soft: #EAF1F8;
    --warn: #CB3811;
    --warn-bg: #FFFFFF;
    --error: #CB3811;
    --error-bg: #FFFFFF;
    --success: #00933B;
    --gruen: #00933B;
    --gruen-soft: #EAF1F8;
    --magenta: #CB3811;
    --magenta-soft: #FFFFFF;
    --verlauf: linear-gradient(90deg, #F39346 0%, #F49938 10%, #F6A220 20%, #F0AA0C 30%, #DBAF04 40%, #A7AC18 50%, #53A330 60%, #1B9156 70%, #017B7C 80%, #006499 90%, #0056A3 100%);
    --v-kultur: var(--warn);
    --v-aktiv: var(--forest);
    --v-familie: var(--forest);
    --radius: 4px;
    --shadow: none;
    /* Calibri, auf Geräten ohne Calibri die maßgleiche Carlito (TVO-Handbuch 1.1). Bree nur in den Logodateien (Ralph, 11.11.2026). */
    --kopfschrift: Calibri, Carlito, "Segoe UI", Arial, sans-serif;
}
body { font-family: Calibri, Carlito, "Segoe UI", Arial, sans-serif; font-size: 17px; background: #fff; color: var(--ink); }
h1, h2, h3 { font-family: var(--kopfschrift); font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; }
h2 { font-size: clamp(22px, 2.2vw, 30px); }
h3 { font-size: 19px; }

/* Dachmarken-Streifen als Seitenkopf */
body::before { content: ""; display: block; height: 4px; background: var(--verlauf); }
.topbar { background: var(--panel); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--kopfschrift); font-weight: 700; color: var(--ink); gap: 14px; }
.brand-mark { display: none; }
.brand img { height: 30px; width: auto; display: block; }
.brand small { font-family: inherit; font-size: 13px; color: var(--muted); display: block; line-height: 1.1; }
.version-badge { background: var(--forest-soft); color: var(--forest); border: none; font-weight: 600; }

/* Dachzeile statt Leitthemen-Streifen: Die Streifen gehören zur Dachmarke, das Werkzeug ist ein Verbandsmedium (Handbuch S. 11). */
.hero .eyebrow, .panel-heading .eyebrow, .result-head .eyebrow, .section-intro .eyebrow, .request-audit-head .eyebrow, .admin-hero .eyebrow { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--muted); background: none; padding: 0; transform: none; margin: 0 0 .35rem; }
.eyebrow { color: var(--muted); }

/* Hero kompakt */
.hero { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 36px; box-shadow: var(--shadow); align-items: center; }
.hero .lead { font-size: 18px; color: var(--muted); max-width: 44em; }
.hero-panel { background: var(--forest-soft); border: none; border-left: 4px solid var(--forest); }
.hero-panel strong { font-family: var(--kopfschrift); font-weight: 700; font-size: 20px; }
.panel-kicker { color: var(--forest); }

/* Schaltflächen */
.button, button { background: var(--forest); color: #fff; border: 1px solid var(--forest); border-radius: 999px; font-weight: 600; font-family: inherit; }
.button:hover, button:hover { background: var(--forest-dark); border-color: var(--forest-dark); color: #fff; }
.button.secondary { background: transparent; color: var(--forest); }
.button.secondary:hover { background: var(--forest-soft); color: var(--forest-dark); }
button.danger { background: var(--warn); border-color: var(--warn); }
#submitButton { background: var(--forest); border: none; font-size: 18px; padding: 14px 28px; box-shadow: none; }
#submitButton:hover { filter: brightness(.95); }

/* Formular: Schritte statt Fieldsets */
.form-panel, .result-panel, .method-panel, .reference-project { border: 1px solid var(--line); box-shadow: var(--shadow); }
fieldset, .form-disclosure { border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px 6px; margin: 0 0 16px; background: var(--panel); }
legend, .form-disclosure > summary { font-family: var(--kopfschrift); font-weight: 700; font-size: 19px; color: var(--ink); padding: 0 8px; display: flex; align-items: center; gap: 12px; }
legend::before, .form-disclosure > summary::before { content: attr(data-step); display: inline-grid; place-items: center; width: 1.6em; height: 1.6em; border-radius: 50%; background: var(--forest); color: #fff; font-size: .8em; }
.form-disclosure > summary { cursor: pointer; list-style: none; padding: 0 8px; margin: 0 -8px; }
.form-disclosure > summary::-webkit-details-marker { display: none; }
.form-disclosure > summary span { margin-left: auto; font-family: inherit; font-size: 13px; color: var(--muted); font-weight: 400; }
.form-disclosure[open] > summary { margin-bottom: 12px; }
.frage { font-size: 14px; color: var(--muted); margin: -4px 0 14px 8px; }
.frage b { color: var(--forest); font-weight: 600; }
label > span { font-weight: 600; color: var(--ink); }
label > small { color: var(--muted); }
input, select, textarea { border: 1px solid #8A8788; border-radius: 8px; font-family: inherit; font-size: 16px; background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--forest); box-shadow: 0 0 0 3px var(--forest-soft); outline: none; }
.field-error { color: var(--warn); }

/* Prozess-Leiste kompakt */
.process-grid li span { background: var(--verlauf); color: #fff; font-family: var(--kopfschrift); font-weight: 700; }
.process-grid li strong { font-family: var(--kopfschrift); font-weight: 700; font-size: 18px; }

/* Status und Ergebnis */
.status { border-radius: 10px; }
.status.error { background: var(--error-bg); color: var(--error); }
.overview-card { border-left: 3px solid var(--forest); }
.overview-card strong { font-family: var(--kopfschrift); font-weight: 700; font-size: 22px; }
.overview-card.score { border-left-color: var(--success); background: var(--gruen-soft); }

/* GEO-Score */
.geo-score { display: grid; gap: 8px; }
.geo-score-kopf { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.geo-score-kopf strong { font-family: var(--kopfschrift); font-weight: 700; font-size: 34px; line-height: 1; color: var(--forest); }
.geo-score-kopf em { font-style: normal; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--forest-soft); color: var(--forest); }
.geo-score-kopf small { color: var(--muted); }
.geo-dim { display: grid; grid-template-columns: 11em 1fr 4em; gap: 6px 12px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 15px; }
.geo-dim > b { font-weight: 600; }
.geo-dim .balken { height: 10px; border-radius: 5px; background: var(--bg); overflow: hidden; }
.geo-dim .balken i { display: block; height: 100%; background: var(--v-aktiv); }
.geo-dim .balken i.mittel { background: #5E8FC4; }
.geo-dim .balken i.wenig { background: var(--v-kultur); }
.geo-dim .zahl { font-variant-numeric: tabular-nums; text-align: right; color: var(--muted); }
.geo-dim .beleg { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.geo-dim .beleg b { color: var(--success); font-weight: 600; }
.geo-dim .beleg em { font-style: normal; color: var(--warn); }

/* Nennungsnetz */
.mention-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.mention-table th { text-align: left; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); padding: 6px 8px 6px 0; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.mention-table td { padding: 8px 8px 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.mention-table .st { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--forest-soft); color: var(--forest); white-space: nowrap; }
.mention-table .st.beid { background: var(--gruen-soft); color: var(--success); }
.mention-table .st.konk { background: #fff; color: var(--warn); border: 1px solid var(--warn); }

/* Admin */
.admin-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.admin-topbar a { text-decoration: none; }
.entity-row small.score { font-weight: 700; color: var(--success); background: var(--gruen-soft); padding: 2px 8px; border-radius: 999px; }
.entity-row small.score.alt { color: var(--muted); background: var(--bg); }
.score-tabelle { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.score-tabelle td, .score-tabelle th { padding: 6px 8px 6px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.score-tabelle td:nth-child(2) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.site-footer { border-top: 4px solid transparent; border-image: var(--verlauf) 1; }

/* Kopfnavigation auf weißem Grund */
.topbar nav a { color: var(--forest); font-weight: 600; }
.topbar nav a:hover, .brand:hover { color: var(--forest-dark); }

/* ── V6b: Schnellstart, harmonische Felder, Verlauf ── */
.schnellstart { background: var(--panel); border: 1px solid var(--line); border-left: 6px solid transparent; border-image: var(--verlauf) 1; border-radius: var(--radius); box-shadow: var(--shadow); padding: 30px 34px; margin: 28px 0 22px; }
.schnellstart h2 { max-width: 30em; margin-bottom: 14px; }
.schnellstart .eyebrow { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--muted); background: none; padding: 0; transform: none; margin: 0 0 .35rem; }
.schnell-zeile { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.schnell-zeile input { flex: 1 1 320px; height: 56px; font-size: 18px; padding: 0 18px; }
.schnell-zeile button { height: 56px; font-size: 18px; padding: 0 30px; background: var(--v-aktiv); border: none; }
.schnellstart .small { color: var(--muted); max-width: 60em; }
label { display: flex; flex-direction: column; gap: 6px; }
label > input, label > select { height: 46px; padding: 0 12px; }
label > textarea { padding: 10px 12px; }
label > small { margin: 0; line-height: 1.35; }
.grid-2 { align-items: start; }
::placeholder { font-weight: 400; color: #8A8788; opacity: 1; }
.form-disclosure.gross > summary { font-size: 21px; }
.form-disclosure.gross > summary::before { content: attr(data-step); }
.form-disclosure.gross > .disclosure-content { padding-top: 12px; }
.form-disclosure.gross fieldset { margin-top: 8px; }
.verlauf { border-radius: 10px; padding: 14px 18px; margin-bottom: 14px; font-size: 16px; border-left: 5px solid var(--forest); background: var(--forest-soft); }
.verlauf strong { font-family: var(--kopfschrift); font-weight: 700; font-size: 20px; display: block; margin-bottom: 2px; }
.verlauf.besser { border-color: var(--success); background: var(--gruen-soft); }
.verlauf.gleich { border-color: var(--gold); background: var(--gold-soft); }
.verlauf.schlechter { border-color: var(--warn); background: var(--warn-bg); }

/* ── V6c: drei Blöcke, Bestätigen, Textbausteine, Hover ── */
.brand:hover, .brand:hover span, .brand:hover small { color: var(--forest-dark) !important; }
fieldset.block-a legend::before { background: var(--forest); }
fieldset.block-b legend::before { background: var(--gold); }
fieldset.block-c legend::before { background: var(--success); }
.form-disclosure.klein { margin-top: 10px; padding: 10px 14px 4px; }
.form-disclosure.klein > summary { font-size: 15px; }
.form-disclosure.klein > summary::before { content: attr(data-step); background: var(--muted); }
.bestaetigen { display: grid; gap: 8px; margin-bottom: 8px; }
.bestaetigen-zeile { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; display: grid; gap: 6px; }
.bestaetigen-zeile b { display: block; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.bestaetigen-zeile span { font-size: 15px; }
.bestaetigen-zeile .optionen { display: flex; gap: 14px; flex-wrap: wrap; }
.bestaetigen-zeile .optionen label { flex-direction: row; align-items: center; gap: 4px; font-size: 14px; color: var(--ink); }
.textbaustein { border: 1px solid var(--line); border-left: 4px solid var(--success); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px; }
.textbaustein.drin { border-left-color: var(--forest); opacity: .8; }
.textbaustein h4 { margin: 0 0 2px; font-family: var(--kopfschrift); font-weight: 700; font-size: 17px; }
.textbaustein small { color: var(--muted); display: block; margin-bottom: 6px; }
.textbaustein p { margin: 0; background: var(--bg); border-radius: 6px; padding: 8px 10px; font-size: 15px; }
.naechster-test { border-left: 4px solid var(--gold); background: var(--gold-soft); padding: 10px 14px; border-radius: 0 8px 8px 0; font-weight: 600; }
.geo-dim .beleg .fest { display: block; color: var(--ink); font-size: 13px; margin-bottom: 3px; }

/* ── V7: ein klarer Weg. Alles hängt an html.v7, damit Admin und Einrichtung unverändert bleiben.
   Die Schrift wächst mit der Breite: Auf dem Beamer steht dieselbe Seite spürbar größer, am Handy bleibt sie lesbar. ── */
html.v7 {
    font-size: clamp(16.5px, 11.2px + 0.5vw, 21px);
    /* Dunklere Fassungen von Grün und Rot: Die Originale erreichen auf Weiß kein WCAG AA. Sie zeigen nur Zustände an. */
    --success: #00702D;
    --warn: #A32B0A;
    --gold-text: #00427E;
    --breite: 74rem;
}
.v7 body { font-size: 1rem; line-height: 1.55; background: #fff; }
.v7 [hidden] { display: none !important; }
.v7 :focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.v7 input:focus-visible, .v7 select:focus-visible, .v7 textarea:focus-visible { outline: 3px solid var(--forest); outline-offset: 1px; border-color: var(--forest); box-shadow: none; }
.v7 a { color: var(--forest); }
/* Solange er keinen Fokus hat, liegt der Sprunglink wirklich außerhalb, auch bei Ganzseiten-Aufnahmen und im Druck. */
.v7 .skip-link { color: #fff; background: var(--forest-dark); transform: none; }
.v7 .skip-link:not(:focus) { position: absolute; left: -9999px; }
.v7 ::placeholder { color: #6E6B6C; }
.v7 h1, .v7 h2, .v7 h3, .v7 h4 { font-family: var(--kopfschrift); font-weight: 700; color: var(--forest); max-width: none; line-height: 1.15; }
.v7 h4 { color: var(--ink); }
/* Akzentfläche unter dem Seitentitel, wie unter jedem Titel der Vorlage */
.v7 h1::after, .v7-erklaerung > h2::after { content: ""; display: block; width: min(16rem, 60%); height: 4px; margin-top: .75rem; background: var(--verlauf); }
.v7 h2 { font-size: 1.75rem; margin: 0 0 .8rem; }
.v7 h3 { font-size: 1.35rem; margin: 2rem 0 .5rem; }
.v7 h4 { font-size: 1.1rem; margin: 0 0 .4rem; }
.v7 p { margin: 0 0 .7rem; }
.v7 code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .9em; overflow-wrap: anywhere; }
.v7 .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.v7-klein { font-size: .9rem; color: var(--muted); }

/* Kopf */
.v7 .topbar { position: static; }
.v7 .topbar-inner { width: min(var(--breite), calc(100% - 2rem)); margin: 0 auto; padding: .8rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; min-height: 0; }
.v7 .brand { font-size: 1.05rem; min-height: 44px; }
.v7 .brand span { color: var(--ink); }
.v7 .topbar nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.v7 .topbar nav a { font-size: .95rem; padding: .35rem 0; }
.v7-seite { width: min(var(--breite), calc(100% - 2rem)); margin: 0 auto; padding: 0 0 4rem; }

/* Dachzeile über dem Titel, wie die TOP-Zeile der Folienvorlage */
.v7 .v7-start .eyebrow, .v7 .v7-erklaerung > .eyebrow, .v7 .panel-heading .eyebrow, .v7 .result-head .eyebrow { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--muted); background: none; padding: 0; transform: none; margin: 0 0 .35rem; }

/* Start: eine Frage, ein Feld, ein Knopf */
.v7-start { padding: clamp(2.2rem, 6vw, 4.5rem) 0 clamp(1.6rem, 3vw, 2.4rem); max-width: 52rem; }
.v7-start h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); line-height: 1.05; margin: 0 0 .9rem; letter-spacing: -.01em; }
.v7-vorspann { font-size: 1.22rem; color: var(--ink); max-width: 44rem; margin-bottom: 1.8rem; }
.v7-pruefform > label { display: block; font-weight: 600; margin-bottom: .45rem; font-size: 1.02rem; }
.v7-pruefzeile { display: flex; gap: .6rem; background: #fff; border: 2px solid #8A8788; border-radius: .4rem; padding: .45rem; box-shadow: none; }
.v7-pruefzeile:focus-within { border-color: var(--forest); outline: 3px solid var(--forest); outline-offset: 1px; }
.v7 .v7-pruefzeile input { flex: 1 1 auto; min-width: 0; width: 100%; height: 3.6rem; font-size: 1.25rem; padding: 0 .9rem; border: 0; border-radius: .3rem; background: transparent; }
.v7 .v7-pruefzeile input:focus-visible { outline: none; box-shadow: inset 0 0 0 1px var(--forest-soft); }
.v7 #pruefKnopf { flex: 0 0 auto; height: 3.6rem; padding: 0 1.8rem; font-size: 1.15rem; border-radius: .3rem; white-space: nowrap; background: var(--forest); border-color: var(--forest); min-width: 11.5rem; }
.v7 #pruefKnopf:hover { background: var(--forest-dark); }
.v7 .v7-datenschutz { margin: .85rem 0 0; font-size: .95rem; color: var(--muted); }
.v7 .v7-feldfehler { margin: .6rem 0 0; color: var(--warn); font-weight: 600; }
.v7 button[aria-disabled="true"] { opacity: .78; cursor: progress; }

/* Schaltflächen */
.v7 #submitButton { background: var(--forest); color: #fff; box-shadow: none; }
.v7 #submitButton:hover { background: var(--forest-dark); filter: none; }
.v7 button, .v7 .button { min-height: 2.75rem; border-radius: .3rem; font-weight: 600; font-size: 1rem; padding: .55rem 1.1rem; }
.v7 button.secondary, .v7 .button.secondary { background: #fff; color: var(--forest); border: 1.5px solid var(--forest); }
.v7 button.secondary:hover, .v7 .button.secondary:hover { background: var(--forest-soft); color: var(--forest-dark); }
.v7 a.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: #fff; background: var(--forest); border: 1px solid var(--forest); }
.v7 a.button:hover { background: var(--forest-dark); color: #fff; }
.v7-knopfzeile { display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; margin: 1rem 0; }
.v7 .v7-textknopf { background: none; border: 0; color: var(--forest); padding: 0; min-height: 0; font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.v7 .v7-textknopf:hover { background: none; color: var(--forest-dark); }

/* Fortschritt: bleibt nach dem Lauf stehen, damit darunter nichts springt */
.v7-fortschritt { background: #fff; border: 1px solid var(--line); border-radius: .3rem; padding: 1rem 1.3rem; margin-bottom: 1rem; }
.v7-stufen { list-style: none; margin: 0 0 .5rem; padding: 0; display: flex; gap: .4rem 2rem; flex-wrap: wrap; }
.v7-stufen li { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--muted); }
.v7-stufen li[data-zustand="laeuft"], .v7-stufen li[data-zustand="fertig"] { color: var(--ink); }
.v7-stufen li[data-zustand="fehler"] { color: var(--warn); }
.v7-stufenmarke { flex: none; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid #B5B3B4; display: inline-grid; place-items: center; font-size: .8rem; line-height: 1; color: #fff; }
li[data-zustand="laeuft"] > .v7-stufenmarke { border-color: var(--forest-soft); border-top-color: var(--forest); animation: v7dreh 1s linear infinite; }
li[data-zustand="fertig"] > .v7-stufenmarke { background: var(--success); border-color: var(--success); }
li[data-zustand="fertig"] > .v7-stufenmarke::after { content: "✓"; }
li[data-zustand="fehler"] > .v7-stufenmarke { background: var(--warn); border-color: var(--warn); }
li[data-zustand="fehler"] > .v7-stufenmarke::after { content: "!"; font-weight: 700; }
.v7-sekunden { font-weight: 400; font-size: .85rem; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 2.5em; }
.v7 .v7-fortschrittsatz { margin: 0; min-height: 1.6em; color: var(--muted); font-size: .95rem; }
@keyframes v7dreh { to { transform: rotate(360deg); } }

.v7-fehlerbox { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: .3rem; padding: 1.1rem 1.3rem; margin-bottom: 1rem; }
.v7-fehlertitel { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: 1.3rem; color: var(--warn); margin-bottom: .35rem; }
.v7-fehlerbox .v7-klein { color: var(--ink); overflow-wrap: anywhere; }
.v7-meldung { border-radius: .3rem; padding: .9rem 1.1rem; margin: 1rem 0; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); }

/* Ergebnis und Reiter */
.v7-ergebnis { scroll-margin-top: .8rem; margin-bottom: 1.2rem; }
.v7-ergebniskopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin: 1.2rem 0 .9rem; }
.v7-ergebniskopf .v7-klein { margin: 0; }
.v7-ergebniskopf h2 { margin: 0; overflow-wrap: anywhere; font-size: 1.7rem; }
.v7-ergebniskopf h2:focus { outline: none; }
.v7-reiterleiste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; background: var(--bg); padding: .4rem; border-radius: .3rem .3rem 0 0; scroll-margin-top: .8rem; }
.v7 .v7-reiterleiste button { background: transparent; color: var(--ink); border: 0; border-radius: .3rem; padding: .7rem .8rem; min-height: 3.4rem; font-weight: 600; font-size: 1rem; line-height: 1.2; justify-content: flex-start; text-align: left; gap: .55rem; }
.v7 .v7-reiterleiste button:hover { background: rgba(255, 255, 255, .6); color: var(--ink); }
.v7 .v7-reiterleiste button[aria-selected="true"] { background: #fff; color: var(--forest-dark); box-shadow: inset 0 -3px 0 var(--forest); }
.v7-reiterzahl { flex: none; display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--muted); color: #fff; font-size: .85em; font-family: var(--kopfschrift); font-weight: 700; }
[aria-selected="true"] > .v7-reiterzahl { background: var(--forest); }
.v7-reitersystem { margin-left: auto; padding: 0 .55em; border-radius: 1em; background: var(--forest-soft); color: var(--forest-dark); font-size: .8em; font-weight: 600; white-space: nowrap; }
.v7-reiterzaehler { margin-left: auto; padding: 0 .55em; border-radius: 1em; background: var(--forest-soft); color: var(--forest-dark); font-size: .85em; font-variant-numeric: tabular-nums; }
.v7-panel { background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 .3rem .3rem; padding: clamp(1.1rem, 2.6vw, 2.2rem); box-shadow: var(--shadow); }
.v7-panel { overflow-wrap: anywhere; }
.v7-fachleute-inhalt, .v7-fehlerbox, .v7-stand, .v7-ergebniskopf { overflow-wrap: anywhere; }
.v7-panel:focus-visible { outline-offset: -3px; }
.v7-panel > :first-child { margin-top: 0; }
.v7-info { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--forest); border-radius: .3rem; padding: .7rem 1rem; color: var(--ink); }
.v7-platzhalter { color: var(--muted); padding: 1.6rem 1rem; background: var(--bg); border-radius: .3rem; }

/* Reiter Befund */
.v7-warnung { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: .3rem; padding: 1rem 1.2rem; margin-bottom: 1.3rem; }
.v7-warnung strong { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: 1.3rem; color: var(--warn); margin-bottom: .3rem; }
.v7-warnung p { font-weight: 600; }
.v7 .v7-ruhig { color: #0B5A26; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--success); border-radius: .3rem; padding: .45rem .9rem; font-size: .95rem; margin-bottom: 1rem; }
.v7-schongut { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--success); border-radius: .3rem; padding: .9rem 1.2rem; margin-bottom: 1.2rem; }
.v7-schongut h3 { margin: 0 0 .4rem; color: #0B5A26; }
.v7-schongut ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem 1.6rem; }
.v7-schongut li { padding-left: 1.5rem; position: relative; }
.v7-schongut li::before { content: "✓"; position: absolute; left: 0; color: #0B5A26; font-weight: 700; }
.v7-schongut p { margin: .4rem 0 0; }
.v7-schongut .v7-klein { color: var(--muted); }
.v7-kriterien { padding-left: 1.4rem; margin: .4rem 0 1rem; }
.v7-kriterien li { margin-bottom: .4rem; }
.v7-quellen { background: var(--bg); border-radius: .3rem; padding: .9rem 1.2rem; margin: 1rem 0 1.4rem; }
.v7-quellen ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.v7-quellen li { margin-bottom: .3rem; }
.v7-wertkarte { margin-bottom: 1rem; }
.v7-gesamt { font-family: var(--kopfschrift); font-weight: 700; font-size: 2.5rem; line-height: 1.15; color: var(--forest-dark); margin-bottom: .2rem; }
.v7-stufe { margin-bottom: .5rem; }
.v7-stufe b { font-family: var(--kopfschrift); font-weight: 700; font-size: 1.3rem; color: var(--forest-dark); }
.v7-wertzeile { font-size: .95rem; color: var(--ink); max-width: 52rem; min-height: 3em; margin-bottom: .3rem; }
.v7-punkteerklaerung { margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.v7-deckel { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: .3rem; padding: .55rem .8rem; }
.v7-deckel b { color: var(--warn); }
.v7-urteil { font-size: 1.25rem; line-height: 1.35; max-width: 50rem; }
.v7-erklaersatz { font-size: .95rem; color: var(--ink); max-width: 52rem; }
.v7-stand { font-size: .9rem; color: var(--muted); }
.v7-stand p { margin-bottom: .2rem; }
.v7-seiten { margin-top: .35rem; font-size: .9rem; color: var(--muted); }
.v7 .v7-seitentyp { margin: .35rem 0 0; font-size: .9rem; color: var(--muted); }
.v7-seiten summary, .v7-codedetail > summary { cursor: pointer; color: var(--forest); font-weight: 600; padding: .25rem 0; }
.v7-seiten ul { margin: .2rem 0 0; padding-left: 1.2rem; overflow-wrap: anywhere; }

.v7-bereiche { display: grid; gap: .1rem; border-top: 1px solid var(--line); }
.v7-bereich { border-bottom: 1px solid var(--line); }
.v7-bereich > summary { display: grid; grid-template-columns: minmax(10rem, 1.15fr) minmax(6rem, 1.4fr) 7rem 1rem; gap: .9rem; align-items: center; padding: .7rem .2rem; cursor: pointer; list-style: none; }
.v7-bereich > summary::-webkit-details-marker { display: none; }
.v7-bereich > summary::after { content: "▸"; color: var(--forest); justify-self: end; transition: transform .15s; }
.v7-bereich[open] > summary::after { transform: rotate(90deg); }
.v7-bereich > summary:hover { background: var(--bg); }
.v7-bereichsname { font-weight: 600; }
.v7-balken { display: flex; height: .75rem; border-radius: .2rem; overflow: hidden; background: #DCDADB; }
.v7-balken i { display: block; height: 100%; }
.v7-balken .fest { background: var(--forest); }
.v7-balken .ki { background: repeating-linear-gradient(135deg, #7FA6D1 0 4px, #4A80BC 4px 8px); }
.v7-bereichszahl { text-align: right; font-variant-numeric: tabular-nums; line-height: 1.2; }
.v7-bereichszahl b { display: block; font-weight: 600; white-space: nowrap; }
.v7-bereichszahl small { font-size: .8rem; color: var(--muted); white-space: nowrap; }
.v7-punkte { list-style: none; margin: 0 0 .7rem; padding: 0 .2rem; display: grid; gap: .35rem; }
.v7-punkt { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr) auto; gap: .55rem; padding: .5rem .55rem; border-radius: .3rem; background: var(--bg); align-items: start; }
.v7-punktmarke { width: 1.4rem; height: 1.4rem; border-radius: 50%; display: inline-grid; place-items: center; font-size: .85rem; font-weight: 700; color: #fff; background: var(--muted); }
.v7-punkt.ok .v7-punktmarke { background: var(--success); }
.v7-punkt.fail .v7-punktmarke { background: var(--warn); }
.v7-punkt.nicht_zutreffend { opacity: 1; }
.v7-punkttitel { font-weight: 600; }
.v7-punkt p { margin: .15rem 0 0; overflow-wrap: anywhere; }
.v7-punktzahl { font-size: .9rem; font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }

.v7-probe { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
.v7-probe li { background: #fff; border: 1px solid var(--line); border-radius: .3rem; padding: .85rem 1rem; min-height: 5.2rem; border-left: 4px solid #B5B3B4; }
.v7-probe li.belegt { border-left-color: var(--success); }
.v7-frage { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: 1.08rem; margin-bottom: .25rem; }
.v7-nichtda { margin: 0; color: var(--muted); font-style: italic; }
.v7-probe blockquote { margin: .3rem 0; padding: .15rem 0 .15rem .7rem; border-left: 3px solid var(--line); color: var(--muted); font-size: .95rem; overflow-wrap: anywhere; }
.v7-probe p { overflow-wrap: anywhere; }
.v7-probebereich { margin-top: 2rem; }

/* Reiter To-do */
.v7-todokopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.v7-todokopf h3 { margin: 0 0 .2rem; }
.v7-todokopf p { margin: 0; }
.v7-filterzeile { display: flex; gap: .35rem; flex-wrap: wrap; }
.v7 button.v7-filter { background: #fff; color: var(--ink); border: 1.5px solid #8A8788; }
.v7 button.v7-filter:hover { background: var(--forest-soft); color: var(--ink); }
.v7 button.v7-filter[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.v7-aufgaben { display: grid; gap: .9rem; }
.v7-hinweis { border: 1px solid var(--line); border-radius: .3rem; padding: 1rem 1.2rem; margin-top: .8rem; }
.v7-hinweis h4 { margin: 0 0 .3rem; font-size: 1.15rem; }
.v7-hinweis p { overflow-wrap: anywhere; }
.v7-aufgabe { border: 1px solid var(--line); border-radius: .3rem; padding: 1rem 1.2rem; }
.v7-aufgabe > header { display: flex; justify-content: space-between; gap: .6rem 1rem; flex-wrap: wrap; align-items: flex-start; margin-bottom: .4rem; }
.v7-aufgabe h4 { margin: 0; flex: 1 1 18rem; font-size: 1.15rem; }
.v7-aufgabe p { overflow-wrap: anywhere; }
/* 7.8: zugeklappte Karten. Der ganze Kopf ist die Klickfläche. */
.v7-aufgabe-zu { padding: 0; }
.v7-klappe > summary { list-style: none; cursor: pointer; padding: .85rem 1.2rem; border-radius: .3rem; }
.v7-klappe > summary::-webkit-details-marker { display: none; }
.v7-klappe > summary:hover { background: var(--forest-soft); }
.v7-klappe > summary:focus-visible { outline: 3px solid var(--forest); outline-offset: 2px; }
.v7-klappe > summary > h4 { margin: 0 0 .4rem; }
.v7-klappe > summary > .v7-marken { display: flex; }
.v7-klappetext { display: inline-block; margin-top: .35rem; font-size: .9rem; color: var(--forest); font-weight: 600; }
.v7-klappetext::before { content: "▸ "; }
.v7-klappe[open] .v7-klappetext::before { content: "▾ "; }
.v7-klappe[open] .v7-klappetext { font-size: 0; margin: 0; }
.v7-klappe[open] .v7-klappetext::before { font-size: .9rem; content: "▾ Weniger"; }
.v7-klappe > :not(summary) { margin-left: 1.2rem; margin-right: 1.2rem; }
.v7-klappe[open] { padding-bottom: 1rem; }
.v7-heute { color: var(--muted); font-size: .95rem; }
.v7-marken { list-style: none; margin: 0; padding: 0; display: flex; gap: .3rem; flex-wrap: wrap; font-size: .85rem; }
.v7-marken li, .v7-marken > span { padding: .1em .65em; border-radius: 2em; background: var(--bg); }
.v7-marken li.punkte, .v7-marken > span.punkte { background: var(--gruen-soft); color: #0B5A26; font-weight: 700; }
.v7-vorschlag { margin-top: .8rem; padding: .8rem 1rem; border-radius: .3rem; background: var(--bg); border-left: 4px solid var(--forest); }
.v7-vorschlag.pruefen { border-left-color: var(--warn); background: #fff; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.v7-vorschlag .v7-klein { color: var(--ink); }
.v7-vorschlagskopf { margin-bottom: .3rem; }
.v7-bittepruefen { color: var(--warn); font-weight: 600; }
.v7-vorspann-hinweis { font-size: .9rem; font-style: italic; color: var(--ink); margin-bottom: .35rem; }
.v7-vorschlagstext { background: #fff; padding: .6rem .8rem; border-radius: .2rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.v7-aussen { margin-top: 1.6rem; padding: .9rem 1.2rem 1.2rem; border: 1px solid var(--line); border-left: 4px solid var(--forest); border-radius: .3rem; background: var(--bg); scroll-margin-top: 1rem; }
.v7-aussen h3 { margin-top: 0; }
.v7-aussen .v7-aufgabe { background: #fff; }
.v7-probeaufgaben { margin-top: 1.6rem; }
.v7-probeaufgaben h3 { margin-top: 0; }
.v7-widersprueche { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: .3rem; padding: 1rem 1.2rem; margin-bottom: 1.3rem; }
.v7-widersprueche h3 { margin: 0 0 .3rem; color: var(--warn); }
.v7-widersprueche ul { margin: .7rem 0 0; padding-left: 1.1rem; }
.v7-widersprueche .v7-aufgabe { background: #fff; margin-top: .5rem; }
.v7-widersprueche .v7-marken li { background: var(--bg); }
.v7-hinweisaufgaben { margin-top: 1.6rem; }
.v7-hinweisaufgaben h3 { margin-top: 0; }
.v7 .v7-frueher { font-style: italic; margin: 0 0 .25rem; }

/* Reiter Code */
.v7-ersetzt { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); border-radius: .3rem; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.v7-ersetzt h4 { font-size: 1.35rem; color: var(--warn); }
.v7-ersetzt .v7-klein { color: var(--ink); overflow-wrap: anywhere; }
.v7-ersetztsatz { font-size: 1.15rem; font-weight: 600; }
.v7-ersetztsatz b { color: var(--warn); }
.v7-dreispalter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-bottom: 1.4rem; }
.v7-spalte { border-radius: .3rem; padding: .8rem 1rem; background: var(--bg); border-top: 4px solid #8A8788; min-width: 0; }
.v7-spalte.gleich { border-top-color: var(--forest); }
.v7-spalte.neu { border-top-color: var(--success); }
.v7-spalte.weg { border-top-color: var(--warn); }
.v7-spalte ul, .v7-zweispalter ul { margin: 0; padding-left: 1.1rem; }
.v7-spalte li { margin-bottom: .3rem; overflow-wrap: anywhere; }
.v7-feldwert { display: block; font-size: .85rem; color: var(--muted); overflow-wrap: anywhere; }
.v7-codekopf { background: var(--forest-soft); border-radius: .3rem; padding: .9rem 1.2rem; margin-bottom: 1rem; }
.v7-codekopf h4 { font-size: 1.25rem; }
.v7-codekopf p { margin: 0; }
.v7-codekopf.aktuell { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--success); }
.v7-codekopf.aktuell h4 { color: #0B5A26; }
.v7-andere, .v7-abweichungen { background: var(--bg); border-radius: .3rem; padding: .8rem 1.1rem; margin-bottom: 1rem; }
.v7-abweichungen { border-left: 4px solid var(--warn); }
.v7-andere ul, .v7-abweichungen ul { margin: 0; padding-left: 1.1rem; }
.v7-andere li, .v7-abweichungen li { margin-bottom: .3rem; }
.v7-codedetail > .v7-codebox { margin-top: .6rem; }
.v7-codebox { background: #1A1A1A; border-radius: .3rem; overflow: hidden; margin-bottom: 1rem; }
.v7-codeleiste { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; padding: .6rem .8rem .6rem 1.1rem; background: #00427E; }
.v7 .v7-codeleiste h3 { margin: 0; color: #fff; font-size: 1.1rem; }
.v7 .v7-codebox pre { margin: 0; padding: 1rem 1.2rem; color: #E8EDF3; background: transparent; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .88rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 28rem; overflow: auto; }
.v7 .v7-codebox pre:focus-visible { outline-color: #fff; outline-offset: -3px; }
.v7 .v7-codebox button.v7-kopieren { background: #fff; color: var(--forest-dark); border-color: #fff; min-width: 9rem; }
.v7 .v7-codebox button.v7-kopieren:hover { background: var(--forest-soft); }
.v7 .v7-codebox button.v7-kopieren:focus-visible { outline-color: #fff; }
.v7-codehinweise { margin: 0 0 1rem; padding: .7rem 1rem .7rem 2rem; background: var(--bg); border-radius: .3rem; font-size: .92rem; overflow-wrap: anywhere; }
.v7-codedetail { margin-bottom: 1rem; }
.v7-zweispalter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; margin-top: .6rem; }
.v7-zweispalter > * { min-width: 0; }
.v7-wohin h3 { margin-top: .6rem; }
.v7-systemlabel { display: block; font-weight: 600; margin: .7rem 0 .25rem; }
.v7 #systemWahl { width: 100%; max-width: 22rem; min-height: 2.75rem; padding: 0 .6rem; }
.v7-anleitung { margin-top: .7rem; }
.v7-pruefwege { padding-left: 1.1rem; margin: 0; }
.v7-pruefwege li { margin-bottom: .55rem; }
.v7-weitergabe { margin-top: 1.6rem; padding: 1rem 1.2rem; background: var(--bg); border-radius: .3rem; }
.v7-weitergabe h3 { margin-top: 0; }
/* 7.8: „So geht es weiter“ unter dem Wert, mit dem Paket darin. */
.v7-weiter { margin: 1.2rem 0 1.6rem; padding: 1rem 1.2rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--forest); border-radius: .3rem; }
.v7-weiter > h3 { margin-top: 0; color: var(--forest); }
.v7-weiterschritte { margin: 0 0 .4rem; padding-left: 1.3rem; }
.v7-weiterschritte li { margin-bottom: .55rem; line-height: 1.45; }
.v7-weiter .v7-weitergabe { margin-top: .8rem; padding: .8rem 1rem; }
.v7-weiter .v7-weitergabe h3 { font-size: 1rem; }

/* Reiter Nachweis */
.v7-ausgang { border-left: 4px solid var(--forest); padding: .1rem 0 .1rem 1rem; margin-bottom: 1rem; }
.v7-ausgang h3 { margin: 0 0 .3rem; }
.v7-nachricht { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--forest); border-radius: .3rem; padding: 1rem 1.2rem; margin-bottom: 1.2rem; }
.v7-nachricht.warnend { border-left-color: var(--warn); }
.v7-nachricht h3 { margin: 0 0 .3rem; }
.v7-nachricht p { margin: 0 0 .35rem; }
.v7-nachricht p:last-child { margin-bottom: 0; }
.v7-schritte { padding-left: 1.3rem; margin: 0 0 1rem; }
.v7-schritte li { margin-bottom: .4rem; }
.v7 button.v7-testb { font-size: 1.1rem; padding: .7rem 1.5rem; }
.v7-differenz { display: inline-block; font-weight: 700; padding: .1em .8em; border-radius: 2em; margin-bottom: .4rem; }
.v7-differenz.plus { background: var(--gruen-soft); color: #0B5A26; }
.v7-differenz.minus { background: #fff; color: var(--warn); border: 1px solid var(--warn); }
.v7-vergleichskopf h3 { margin: 0 0 .35rem; font-size: 2.1rem; }
.v7-warnzeile { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--warn); color: var(--warn); font-weight: 600; border-radius: .3rem; padding: .55rem .8rem; }
.v7-topkarten { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.v7-topkarte { background: var(--bg); border-left: 4px solid var(--success); border-radius: .3rem; padding: .8rem 1rem; }
.v7-topkarte strong { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: 1.12rem; line-height: 1.2; margin-bottom: .3rem; }
.v7-topkarte p { margin: 0; font-size: .95rem; }
.v7-nachweisdetail { border: 1px solid var(--line); border-radius: .3rem; margin: 1rem 0; padding: 0 1.1rem; }
.v7-nachweisdetail > summary { cursor: pointer; padding: .8rem 0; display: flex; flex-wrap: wrap; gap: .1rem .7rem; align-items: baseline; color: var(--forest-dark); }
.v7-nachweisdetail > summary b { font-family: var(--kopfschrift); font-weight: 700; font-size: 1.2rem; }
.v7-nachweisdetail > summary b::before { content: "▸ "; }
.v7-nachweisdetail[open] > summary b::before { content: "▾ "; }
.v7-nachweisdetail > summary span { color: var(--muted); font-size: .92rem; }
.v7-nachweisdetail[open] { padding-bottom: 1rem; }
.v7-tabelle { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 1rem 0; }
.v7-tabelle caption { text-align: left; font-weight: 600; margin-bottom: .3rem; }
.v7-tabelle th, .v7-tabelle td { text-align: left; vertical-align: top; padding: .45rem .5rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.v7-tabelle thead th { font-size: .85rem; color: var(--muted); font-weight: 600; }
.v7-tabelle tbody th { font-weight: 600; }
.v7-tabelle .zahl { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.v7-tabelle .plus { color: var(--success); font-weight: 700; }
.v7-tabelle .minus { color: var(--warn); font-weight: 700; }
.v7-tabelle small { display: block; font-weight: 400; color: var(--muted); }
.v7-tabelle q { display: block; font-size: .88rem; color: var(--muted); margin-top: .15rem; }
.v7-leerzelle { color: var(--muted); font-style: italic; }
.v7-tabellenrahmen { overflow-x: auto; }
.v7-verbesserungen { display: grid; gap: .8rem; }
.v7-verbessert, .v7-verschlechtert { border: 1px solid var(--line); border-left: 4px solid var(--success); border-radius: .3rem; padding: .85rem 1.1rem; overflow-wrap: anywhere; }
.v7-verschlechtert { border-left-color: var(--warn); margin-bottom: .7rem; }
.v7-plus { color: var(--success); font-family: inherit; }
.v7-minus { color: var(--warn); }
.v7-vorherjetzt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin: .4rem 0; font-size: .92rem; }
.v7-vorherjetzt div { background: var(--bg); padding: .4rem .7rem; border-radius: .3rem; min-width: 0; }
.v7-vorherjetzt dt { font-size: .8rem; color: var(--muted); }
.v7-vorherjetzt dd { margin: 0; overflow-wrap: anywhere; }
.v7-offen { padding-left: 1.1rem; }
.v7-offen li { margin-bottom: .5rem; }
.v7-offen p { margin: .1rem 0 0; }
.v7-liste { padding-left: 1.2rem; margin: 0 0 .8rem; }
.v7-liste li { margin-bottom: .5rem; }

/* Für Fachleute */
.v7 input, .v7 select, .v7 textarea { font-weight: 400; color: var(--ink); }
.v7 .bestaetigen-zeile .optionen { gap: .4rem 1.2rem; }
.v7 .bestaetigen-zeile .optionen label { flex-direction: row; align-items: center; gap: .4rem; font-size: .95rem; font-weight: 400; white-space: nowrap; min-height: 2.75rem; }
.v7 .bestaetigen-zeile .optionen input { flex: none; width: 1.2rem; height: 1.2rem; padding: 0; margin: 0; accent-color: var(--forest); }
.v7-fachleute { background: #fff; border: 1px solid var(--line); border-radius: .3rem; margin: 1.4rem 0; }
.v7-fachleute > summary { cursor: pointer; padding: 1rem 1.3rem; display: flex; flex-direction: column; gap: .1rem; }
.v7-fachleute > summary strong { font-family: var(--kopfschrift); font-weight: 700; font-size: 1.25rem; color: var(--forest-dark); }
.v7-fachleute > summary strong::before { content: "▸ "; }
.v7-fachleute[open] > summary strong::before { content: "▾ "; }
.v7-fachleute > summary span { font-size: .92rem; color: var(--muted); }
.v7-fachleute-inhalt { padding: 0 1.3rem 1.3rem; display: grid; gap: 1.4rem; min-width: 0; }
.v7-fachleute-inhalt > * { min-width: 0; }
.v7 .result-panel, .v7 .form-panel { position: static; box-shadow: none; padding: 1.2rem; }
.v7 .result-head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; align-items: flex-start; margin-bottom: .5rem; }
.v7 .result-head h3, .v7 .panel-heading h3 { margin: 0 0 .3rem; font-size: 1.4rem; }
.v7 .result-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.v7-fachstatus { font-size: .95rem; color: var(--muted); min-height: 0; margin-bottom: .6rem; }
.v7 .result pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.v7 .result-panel *, .v7 .form-panel * { min-width: 0; }
.v7 .result-group > summary span, .v7 .small, .v7 label > small { color: var(--muted); }
.v7 fieldset.block-b legend::before { color: var(--ink); }
.v7 .site-footer p { color: inherit; }
.v7-kennung { padding: .8rem 1rem; }
.v7-kennung ul { padding-left: 1.1rem; margin: 0; }
.v7-kennung li { margin-bottom: .5rem; }
.v7-kennung dt { font-weight: 600; margin-top: .7rem; }
.v7-kennung dd { margin: .1rem 0 0; }
.v7-nachklick { margin: .5rem 0 0; padding-left: 1.2rem; }
.v7-nachklick li { margin-bottom: .35rem; }

/* Erklärung */
.v7-erklaerung { background: #fff; border: 1px solid var(--line); border-radius: .3rem; padding: clamp(1.3rem, 3vw, 2.6rem); margin-top: 2.2rem; scroll-margin-top: 1rem; }
.v7-vierer { list-style: none; counter-reset: schritt; margin: .8rem 0 1.4rem; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.v7-vierer li { counter-increment: schritt; background: var(--bg); border-radius: .3rem; padding: 1rem 1.1rem; }
.v7-vierer li::before { content: counter(schritt); display: inline-grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--forest); color: #fff; font-family: var(--kopfschrift); font-weight: 700; margin-bottom: .45rem; }
.v7-vierer strong { display: block; font-family: var(--kopfschrift); font-weight: 700; font-size: 1.2rem; margin-bottom: .25rem; }
.v7-vierer p { margin: 0; font-size: .95rem; }
.v7-spalten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem 2.6rem; margin-bottom: .4rem; }
.v7-spalten > * { min-width: 0; }
.v7-spalten h3 { margin-top: 1.2rem; }
.v7-punktetafel { margin: .5rem 0 .9rem; display: grid; gap: .55rem; }
.v7-punktetafel div { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); gap: .7rem; align-items: baseline; }
.v7-punktetafel dt { font-family: var(--kopfschrift); font-weight: 700; font-size: 1.7rem; color: var(--forest); text-align: right; line-height: 1; }
.v7-punktetafel dd { margin: 0; }
.v7-verweise { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: 1.2rem; font-weight: 600; }
.v7 .prompt-details { margin-top: 1rem; border: 1px solid var(--line); border-radius: .3rem; padding: 0; background: #fff; }
.v7 .prompt-details > summary { cursor: pointer; padding: .8rem 1rem; font-weight: 600; color: var(--forest-dark); }
.v7 .prompt-details pre { max-height: 26rem; overflow: auto; margin: 0; padding: 1rem; white-space: pre-wrap; overflow-wrap: anywhere; font-size: .85rem; background: var(--bg); color: var(--ink); }

/* Fuß */
.v7 .site-footer { width: min(var(--breite), calc(100% - 2rem)); margin: 0 auto; padding: 1.4rem 0 2.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: none; color: var(--ink); }
.v7 .site-footer a { color: var(--forest); }
.v7-fussverweise { display: flex; gap: 1.2rem; }
/* Kurzform »tvo.« im Fuß: mindestens 60 px breit, ringsum Schutzraum in Höhe des »o« (Handbuch S. 7) */
.v7 .site-footer { align-items: flex-start; }
.v7-fussmarke { flex: none; width: 96px; height: auto; margin: .2rem 0 0; }

/* Kurze Bestätigung, etwa nach dem Kopieren */
.v7-kurzmeldung { position: fixed; left: 50%; bottom: 1.2rem; transform: translate(-50%, 180%); max-width: min(34rem, calc(100vw - 2rem)); width: max-content; background: #1A1A1A; color: #fff; padding: .7rem 1.1rem; border-radius: .3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: transform .2s; z-index: 50; visibility: hidden; }
.v7-kurzmeldung.sichtbar { transform: translate(-50%, 0); visibility: visible; }

@media (max-width: 62rem) {
    /* Der Satz bricht hier um. Die Höhe bleibt reserviert, damit das Ergebnis darunter nicht springt, wenn er kürzer wird. */
    .v7 .v7-fortschrittsatz { min-height: 3.2em; }
    .v7-vierer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v7-bereich > summary { grid-template-columns: minmax(0, 1fr) 6.5rem 1rem; }
    .v7-bereich > summary .v7-balken { grid-column: 1 / -1; grid-row: 2; }
}
@media (max-width: 44rem) {
    .v7 .v7-fortschrittsatz { min-height: 4.8em; }
    .v7-pruefzeile { flex-direction: column; padding: .5rem; }
    .v7 #pruefKnopf { width: 100%; }
    .v7-reiterleiste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .v7 .v7-reiterleiste button { min-height: 3.6rem; padding: .55rem .6rem; font-size: .95rem; flex-wrap: wrap; gap: .25rem .45rem; }
    .v7-schongut ul { grid-template-columns: minmax(0, 1fr); }
    .v7-gesamt { font-size: 2rem; }
    .v7-probe, .v7-dreispalter, .v7-zweispalter, .v7-spalten, .v7-vorherjetzt, .v7-topkarten { grid-template-columns: minmax(0, 1fr); }
    .v7-reitersystem { display: none; }
    .v7-vergleichskopf h3 { font-size: 1.7rem; }
    .v7-vierer { grid-template-columns: minmax(0, 1fr); }
    .v7-punkt { grid-template-columns: 1.5rem minmax(0, 1fr); }
    .v7-punktzahl { grid-column: 2; }
    .v7-filterzeile { width: 100%; }
    .v7 button.v7-filter { flex: 1 1 auto; padding-inline: .6rem; }
    .v7-probetabelle thead { display: none; }
    .v7-probetabelle tr { display: block; padding: .5rem 0; border-bottom: 1px solid var(--line); }
    .v7-probetabelle th, .v7-probetabelle td { display: block; border: 0; padding: .15rem 0; }
    .v7-probetabelle td::before { content: attr(data-test) " "; }
    .v7-fachleute-inhalt { padding-inline: .6rem; }
    .v7 .result-panel, .v7 .form-panel { padding: .6rem; }
    .v7 .topbar nav { gap: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
    html.v7 { scroll-behavior: auto; }
    .v7 *, .v7 *::before, .v7 *::after { animation: none !important; transition: none !important; }
    li[data-zustand="laeuft"] > .v7-stufenmarke { border-color: var(--forest); background: var(--forest-soft); }
}
@media print {
    .v7-start, .v7-fortschritt, .v7-fachleute, .v7-erklaerung, .v7 .topbar, .v7 .site-footer, .v7-kurzmeldung { display: none !important; }
}
