/* start-vorfuehrung.css – Startseite mit Vorführung (Nacht 2026-11-22), lädt nach live.css, start.css, gemeinsam.css.
   Quelle: Z:\Smartbit\Programmieren\RecSimple\docs\website\2026-11-22_startseite-vorfuehrung\ (STAND.md, Skizze B/C, text\startseite-wortlaut.md).
   Teil 1: Baustein vorfuehrung\demo.css, Teil A auf .vf begrenzt (Farben/Schrift der Seite bleiben aus live.css), Teil B wörtlich.
   Teil 2: schmaler Kopf, Kernaussagen, Vergleich. */

/* =================== Teil 1: Vorführung =================== */
.vf {
  --app-schrift: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif;
  --app-kopf: #f3f3f3; --app-feld: #f2f6f9; --app-feld-rand: #1f5fa8; --app-knopf-rand: #c9d0d6; --app-gruen: #21803a;
  --fenster-ecke: 12px;
  --fenster-schatten: 0 1px 3px rgba(20, 24, 29, .08), 0 18px 44px rgba(20, 24, 29, .13);
  --sp1: #3b73d1; --sp1-hauch: #dce7f7;
  --sp2: #c7661f; --sp2-hauch: #f6e4d4;
  --sp3: #1f8f86; --sp3-hauch: #d2ebe8;
  --pille: #2b2b2d; --pille-ring: #4caf50;
}
.vf *, .vf *::before, .vf *::after { box-sizing: border-box; }
.vf p, .vf h3 { margin: 0; }
.vf img { max-width: 100%; height: auto; display: block; }
/* live.css belegt .fenster, .seite, .pille, .cursor schon anders: im Baustein zurücksetzen */
.vf .fenster { display: block; }
.vf .seite { padding-block: 0; }
.vf .pille { right: auto; background: none; color: inherit; padding: 0; border-radius: 0; box-shadow: none; font-size: inherit; }
.vf-start.flaeche { background: var(--flaeche); }
.vf-start.abschnitt { padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 72px); }
/* volle Inhaltsbreite statt 1040 px */
.vf-start .vf { max-width: none; }
.vf kbd {
  font-family: inherit; font-weight: 700; font-size: .85em; color: var(--text);
  border: 1.5px solid var(--linie-aktiv); border-bottom-width: 3px; border-radius: 6px;
  padding: 0 6px; background: var(--grund);
}

/* Programmfenster (Nachbau Windows 11 hell) */
.fenster {
  font-family: var(--app-schrift); background: #fff; color: #1b1b1b;
  border: 1px solid #d3d9df; border-radius: var(--fenster-ecke); box-shadow: var(--fenster-schatten);
  overflow: hidden; text-align: left; line-height: 1.5;
}
.vf .fenster-kopf { display: flex; align-items: center; height: 38px; background: var(--app-kopf); padding-left: 14px; font-size: 13.5px; color: #1b1b1b; }
.vf .fenster-kopf img { width: 16px; height: 16px; margin-right: 8px; }
.vf .fenster-titel { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vf .fk { display: flex; height: 100%; }
.vf .fk i { position: relative; width: 46px; height: 100%; }
.vf .fk i::before, .vf .fk i::after { content: ""; position: absolute; left: 50%; top: 50%; }
.vf .fk-min::before { width: 10px; height: 1px; background: #222; transform: translate(-50%, 0); }
.vf .fk-max::before { width: 9px; height: 9px; border: 1px solid #222; border-radius: 1.5px; transform: translate(-50%, -50%); }
.vf .fk-zu::before, .vf .fk-zu::after { width: 13px; height: 1px; background: #222; }
.vf .fk-zu::before { transform: translate(-50%, 0) rotate(45deg); }
.vf .fk-zu::after { transform: translate(-50%, 0) rotate(-45deg); }
.vf .dokument { padding: clamp(24px, 3vw, 36px) clamp(22px, 3.4vw, 40px) clamp(56px, 6vw, 68px); font-size: clamp(16.5px, 1.45vw, 19px); line-height: 1.7; min-height: 190px; }
.vf .dokument p + p,.vf .dokument :is(p,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>p))+p,.vf .dokument :is(p,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>p))+.et_pb_module>:is(.et_pb_text_inner,.et_pb_heading_container)>p{ margin-top: .8em; }
.vf .cursor { display: inline-block; width: 2px; height: 1.2em; background: #111; vertical-align: -.22em; margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.vf .mit-pille { position: relative; }
.vf .pille { position: absolute; left: clamp(18px, 3vw, 36px); bottom: -30px; display: flex; align-items: center; gap: 12px; z-index: 2; max-width: calc(100% - 24px); }
.vf .pille-mic {
  flex: none; width: 60px; height: 60px; border-radius: 50%; background: var(--pille); border: 3px solid var(--pille-ring);
  display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.vf .pille-mic img { width: 24px; height: 24px; }
.vf .pille-mic.haken::before { content: ""; width: 10px; height: 19px; border: solid var(--pille-ring); border-width: 0 3.5px 3.5px 0; transform: translate(0, -2px) rotate(45deg); }
.vf .pille-text {
  min-width: 0; overflow: hidden; text-overflow: ellipsis;
  background: var(--pille); color: #dcdcdc; border: 1.5px solid #5a5a5d; border-radius: 12px;
  padding: 9px 16px; font-family: var(--app-schrift); font-size: 16.5px; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
}
.vf .pille .pille-text { color: #ececec; }
.vf .pegel { display: inline-flex; align-items: center; gap: 3px; height: 18px; margin-right: 10px; vertical-align: -3px; }
.vf .pegel i { width: 3px; border-radius: 2px; background: #6fcf73; animation: pegel 1.1s ease-in-out infinite; }
.vf .pegel i:nth-child(1) { height: 8px; } .vf .pegel i:nth-child(2) { height: 16px; animation-delay: .15s; }
.vf .pegel i:nth-child(3) { height: 11px; animation-delay: .3s; } .vf .pegel i:nth-child(4) { height: 6px; animation-delay: .45s; }
@keyframes pegel { 50% { transform: scaleY(.45); } }
@keyframes lauscht { 0%, 100% { outline: 0 solid rgba(76, 175, 80, .45); } 50% { outline: 8px solid rgba(76, 175, 80, 0); } }
.vf .pruefen { padding: 20px 22px 16px; font-size: 14.5px; }
.vf .p-kopf { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.vf .p-kopf h4 { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 19px; font-weight: 600; letter-spacing: 0; }
.vf .a-knopf { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 32px; padding: 0 14px; border: 1px solid var(--app-knopf-rand); border-radius: 6px; background: #fff; font-weight: 600; font-size: 13.5px; white-space: nowrap; color: #1b1b1b; }
.vf .spieler { display: flex; align-items: center; gap: 14px; margin: 14px 0 16px; }
.vf .spiel { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--app-gruen); position: relative; }
.vf .spiel::before { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vf .spiel.pause::before { left: 11px; top: 10px; width: 4px; height: 14px; border: 0; background: #fff; box-shadow: 8px 0 0 #fff; }
.vf .leiste { flex: 1; height: 5px; border-radius: 3px; background: #dfe5ea; position: relative; }
.vf .leiste b { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 3px; background: var(--app-gruen); }
.vf .leiste b::after { content: ""; position: absolute; right: -7px; top: -4.5px; width: 14px; height: 14px; border-radius: 50%; background: var(--app-gruen); }
.vf .zeit { font-size: 13.5px; color: #555; white-space: nowrap; font-variant-numeric: tabular-nums; }
.vf .p-mitte { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 16px; }
.vf .p-mitte.ohne-seite { grid-template-columns: minmax(0, 1fr); }
.vf .textfeld { background: var(--app-feld); border: 1.5px solid var(--app-feld-rand); border-radius: 6px; padding: 16px 18px; line-height: 1.6; font-size: 16px; }
.vf .textfeld p + p,.vf .textfeld :is(p,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>p))+p,.vf .textfeld :is(p,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>p))+.et_pb_module>:is(.et_pb_text_inner,.et_pb_heading_container)>p{ margin-top: 6px; }
.vf .sp { padding-left: 8px; border-left: 3px solid; }
.vf .sp1 { border-color: var(--sp1); } .vf .sp2 { border-color: var(--sp2); } .vf .sp3 { border-color: var(--sp3); }
.vf .sp-name { padding: 0 3px; font-weight: 600; white-space: nowrap; }
.vf .sp1 .sp-name { background: var(--sp1-hauch); } .vf .sp2 .sp-name { background: var(--sp2-hauch); } .vf .sp3 .sp-name { background: var(--sp3-hauch); }
.vf .markiert { background: #cfe0f7; outline: 1.5px solid #6d9ad9; border-radius: 2px; padding: 0 2px; }
.vf .seite { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.vf .auswahl { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 0 12px; border: 1px solid #9aa3ab; border-radius: 5px; background: #fff; }
.vf .auswahl::after { content: ""; width: 7px; height: 7px; border: solid #333; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.vf .name { display: flex; align-items: center; gap: 8px; }
.vf .name::before { content: ""; flex: none; width: 5px; height: 26px; border-radius: 2px; background: #999; }
.vf .name.n1::before { background: var(--sp1); } .vf .name.n2::before { background: var(--sp2); } .vf .name.n3::before { background: var(--sp3); }
.vf .p-fuss { display: flex; align-items: center; gap: 12px; margin-top: 14px; font-size: 13px; }
.vf .p-fuss .status { margin-right: auto; color: #555; }
@media (max-width: 760px) {
  .vf .p-mitte { grid-template-columns: minmax(0, 1fr); }
  .vf .pruefen { padding: 16px 14px 14px; }
  .vf .textfeld { padding: 12px 13px; }
  .vf .fk i { width: 36px; }
  .vf .dokument { padding: 20px 20px 52px; font-size: 17px; min-height: 0; }
  .vf .pille { left: 14px; bottom: -26px; }
  .vf .pille-mic { width: 52px; height: 52px; }
  .vf .pille-text { font-size: 15px; padding: 8px 12px; white-space: normal; line-height: 1.35; text-wrap: balance; }
}

/* =================== Teil B: Baustein „Vorführung“ (Tour + selbst ausprobieren) =================== */
/* Nur innerhalb von .vf. Zustände: .vf-an (JavaScript läuft), data-modus="tour" | "frei", data-frei="gespraech" | "diktat". */
.vf { max-width: 1040px; margin-inline: auto; }
.vf-kopf { text-align: center; }
.vf.vf-an[data-modus=tour] .vf-kopf .titel { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.vf-kopf .titel { margin-bottom: clamp(20px, 2.6vw, 30px); }

/* Ohne JavaScript nur das Standbild „Diktat prüfen“ */
.vf-umschalter, .vf-hoeren, .vf-punkte, .vf-bedien, .vf-legende, .vf-frei-fuss, .vf-blase, .vf-lupe, .vf-meldung, .vf-ton { display: none; }

/* Programmfenster „Diktat prüfen“: Feinheiten zum Bestand */
.p-titel { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 19px; font-weight: 600; }
.vf .textfeld { max-height: 312px; overflow: auto; line-height: 1.65; }
.vf .textfeld p + p,.vf .textfeld :is(p,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>p))+p,.vf .textfeld :is(p,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>p))+.et_pb_module>:is(.et_pb_text_inner,.et_pb_heading_container)>p{ margin-top: 7px; }
.vf .textfeld:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
.vf .textfeld[contenteditable=true]:focus { outline: 0; box-shadow: 0 0 0 1px var(--app-feld-rand); }
.vf .textfeld[contenteditable=true]:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
.vf .sp-name { user-select: none; -webkit-user-select: none; border-radius: 2px; }
.vf .w { border-radius: 2px; }
.vf .w.laeuft { background: #cfe0f7; box-shadow: 0 0 0 1.5px #6d9ad9; }
.vf .w.neu-geschrieben { background: rgba(76, 175, 80, .22); }
.vf.vf-an .vf-text .w { cursor: pointer; }
/* Sprecher aus: Text ohne Etiketten und Farben, in der Seitenleiste nur das Kästchen */
.vf .vf-text.ohne-sprecher p { display: inline; padding-left: 0; border-left: 0; }
.vf .vf-text.ohne-sprecher .sp-name { display: none; }
.vf-sprecher-teil { display: flex; flex-direction: column; gap: 9px; }
.vf-sprecher-teil[hidden] { display: none; }
.vf-klein-titel { color: #333; }
.vf-kasten { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; margin-top: -6px; cursor: pointer; font-size: 14px; }
.vf-kasten input {
  appearance: none; -webkit-appearance: none; flex: none; margin: 0; width: 18px; height: 18px; border-radius: 4px;
  border: 1.5px solid #6b7684; background: #fff; display: grid; place-items: center; cursor: pointer;
}
.vf-kasten input::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); opacity: 0; }
.vf-kasten input:checked { background: var(--app-gruen); border-color: var(--app-gruen); }
.vf-kasten input:checked::after { opacity: 1; }
.vf-kasten input:focus-visible { outline: 3px solid var(--fokus); outline-offset: 3px; }
.vf-name input {
  flex: 1; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid #9aa3ab; border-radius: 5px; background: #fff;
  font-family: var(--app-schrift); font-size: 14px; color: #1b1b1b;
}
.vf-name input:focus { outline: 0; border-color: var(--app-feld-rand); box-shadow: 0 0 0 1px var(--app-feld-rand); }
.vf-name input:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }
.vf .p-fuss button.a-knopf { font-family: var(--app-schrift); cursor: pointer; }
.vf .p-fuss button.a-knopf:hover { background: #f3f5f7; }
.vf .p-fuss .a-knopf.gedrueckt { background: #e6ecf1; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .15); }
.vf-spiel {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin: -5px;
  padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer;
}
.vf-spiel:focus-visible { border-radius: 50%; outline-offset: 0; }
.vf-leiste { flex: 1; display: flex; align-items: center; height: 44px; cursor: pointer; touch-action: manipulation; }
.vf-leiste:focus-visible { outline-offset: 0; }
.vf-leiste .leiste { flex: 1; }

/* Diktat-Pille: Kreis 56 × 56 ohne Schrift, daneben die Blase mit dem laufenden Satz (vorläufig, gedämpft) */
.vf .pille-mic { width: 56px; height: 56px; padding: 0; cursor: pointer; font: inherit; color: inherit; }
.vf .pille-mic:focus-visible { outline-offset: 4px; border-radius: 50%; }
.vf .pille-mic.haken img { display: none; }
.vf .pille.hoert .pille-mic { animation: lauscht 2.2s ease-in-out infinite; }
.vf .vf-vorschau { color: #b4b4b8; font-style: italic; max-width: min(520px, 100%); white-space: normal; line-height: 1.4; }
.vf .vf-vorschau:empty::before { content: "\2026"; }
.vf-brief .dokument { min-height: 250px; }
.vf-diktat .vf-neu { background: rgba(76, 175, 80, .18); border-radius: 3px; transition: background-color 1.2s; }
.vf-diktat .vf-neu.alt { background: transparent; }

/* ============ mit JavaScript ============ */
.vf.vf-an .vf-rahmen { position: relative; }
.vf.vf-an .vf-kamera { position: relative; transform-origin: 0 0; }

/* ---- Tour ---- */
.vf.vf-an[data-modus=tour] .vf-sicht {
  position: relative; height: 560px; overflow: hidden; border-radius: 20px; background: #e9eef2;
  box-shadow: inset 0 0 0 1px var(--linie);
}
.vf.vf-an[data-modus=tour] .vf-kamera { padding: 28px; transition: transform .95s cubic-bezier(.45, 0, .2, 1); }
.vf.vf-an[data-modus=tour] .vf-kamera > * { user-select: none; -webkit-user-select: none; }
@media (min-width: 761px) {
  .vf.vf-an[data-modus=tour] .vf-brief { max-width: 560px; }
  .vf.vf-an[data-modus=tour] .vf-pruefen { max-width: 720px; }
}
.vf.vf-an[data-modus=tour] .vf-lupe {
  display: block; position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 5;
  border-radius: 10px; box-shadow: 0 0 0 2px var(--akzent), 0 0 0 3000px rgba(16, 22, 28, .24);
  transition: left .95s cubic-bezier(.45, 0, .2, 1), top .95s cubic-bezier(.45, 0, .2, 1), width .95s cubic-bezier(.45, 0, .2, 1), height .95s cubic-bezier(.45, 0, .2, 1);
}
.vf.vf-an[data-modus=tour] .vf-blase {
  display: block; position: absolute; right: 24px; top: 40px; width: 300px; z-index: 6;
  background: #fff; color: var(--text); border-radius: 16px; padding: 20px 22px 18px;
  box-shadow: 0 2px 4px rgba(20, 24, 29, .08), 0 18px 40px rgba(20, 24, 29, .22);
  transition: top .95s cubic-bezier(.45, 0, .2, 1);
}
.vf-blase-schritt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--akzent); }
.vf-blase-titel { font-size: 1.22rem; line-height: 1.25; margin: 6px 0 8px; letter-spacing: -.01em; }
.vf-blase-satz { font-size: .95rem; line-height: 1.55; color: var(--text-leise); }
.vf-blase-satz kbd { font-size: .85em; }
.vf-blase-zeit { display: block; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--linie); overflow: hidden; }
.vf-blase-zeit i { display: block; height: 100%; width: 0; background: var(--akzent); }
.vf-blase-zeit.laeuft i { animation: blasezeit var(--vf-dauer, 8s) linear forwards; }
@keyframes blasezeit { to { width: 100%; } }

.vf.vf-an[data-modus=tour] .vf-punkte {
  display: flex; justify-content: center; list-style: none; margin: 26px auto 0; padding: 0; max-width: 640px;
}
.vf-punkte li { flex: 1; position: relative; text-align: center; }
.vf-punkte li + li::before,.vf-punkte :is(li,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>li))+li::before,.vf-punkte :is(li,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>li))+.et_pb_module>:is(.et_pb_text_inner,.et_pb_heading_container)>li::before{ content: ""; position: absolute; top: 22px; right: calc(50% + 18px); left: calc(-50% + 18px); height: 2px; background: var(--linie); }
.vf-punkte li.erledigt + li::before,.vf-punkte :is(li.erledigt,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>li.erledigt))+li::before,.vf-punkte :is(li.erledigt,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>li.erledigt))+.et_pb_module>:is(.et_pb_text_inner,.et_pb_heading_container)>li::before{ background: var(--akzent); }
.vf-punkte button {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px; min-height: 44px; padding: 8px 6px;
  border: 0; background: none; font: inherit; font-size: .92rem; font-weight: 500; color: var(--text); cursor: pointer; border-radius: 10px;
}
.vf-punkt {
  position: relative; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--linie-aktiv); background: #fff; font-size: .8rem; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums;
}
.vf-punkte li.aktiv .vf-punkt { background: var(--akzent); border-color: var(--akzent); color: #fff; box-shadow: 0 0 0 5px rgba(31, 122, 52, .16); }
.vf-punkte li.aktiv button { font-weight: 700; }
.vf-punkte li.erledigt .vf-punkt { background: var(--akzent); border-color: var(--akzent); color: transparent; }
.vf-punkte li.erledigt .vf-punkt::after { content: ""; position: absolute; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }

.vf.vf-an[data-modus=tour] .vf-bedien {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 14px; margin-top: 22px;
}
.vf-knopf { padding: 11px 24px; font-size: 1rem; }
.vf-knopf.zweit { background: var(--grund); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--linie-aktiv); }
.vf-knopf.zweit:hover { background: #fff; color: var(--text); box-shadow: inset 0 0 0 2px var(--text); }
.vf-knopf:disabled { opacity: .55; cursor: default; }
.vf-lauf {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 12px; border: 0; border-radius: 999px;
  background: none; font: inherit; font-size: .92rem; color: var(--text); cursor: pointer;
}
.vf-lauf:hover { background: rgba(20, 24, 29, .05); }
.vf-lauf-zeichen { position: relative; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--text); }
.vf-lauf-zeichen::before, .vf-lauf-zeichen::after { content: ""; position: absolute; top: 7px; width: 3px; height: 9px; background: var(--text); }
.vf-lauf-zeichen::before { left: 7px; }
.vf-lauf-zeichen::after { left: 13px; }
.vf-lauf[aria-pressed=false] .vf-lauf-zeichen::before { left: 9px; top: 6px; width: 0; height: 0; background: none; border-left: 9px solid var(--text); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.vf-lauf[aria-pressed=false] .vf-lauf-zeichen::after { display: none; }

/* ---- Selbst ausprobieren ---- */
.vf.vf-an[data-modus=frei] .vf-umschalter {
  display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 22px;
  background: var(--grund); border: 1px solid var(--linie); border-radius: 999px; box-shadow: var(--schatten);
}
.vf-umschalter [role=tab] {
  min-height: 44px; padding: 8px 22px; border: 0; border-radius: 999px; background: none; color: var(--text);
  font: inherit; font-size: 1rem; font-weight: 600; cursor: pointer;
}
.vf-umschalter [role=tab]:hover { background: var(--flaeche); }
.vf-umschalter [role=tab][aria-selected=true] { background: var(--akzent); color: var(--auf-akzent); }
.vf.vf-an[data-modus=frei][data-frei=gespraech] .vf-buehne { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.vf.vf-an[data-modus=frei][data-frei=gespraech] .vf-hoeren {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 18px 22px;
  background: #fff; border: 1px solid var(--linie); border-radius: 16px; box-shadow: var(--schatten); text-align: center;
}
.vf.vf-an[data-modus=frei][data-frei=diktat] .vf-rahmen { max-width: 760px; margin-inline: auto; padding-bottom: 36px; }
.vf-gross-spiel {
  display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; border: 0; cursor: pointer; padding: 0;
  background: var(--akzent); box-shadow: 0 0 0 8px rgba(31, 122, 52, .14), 0 10px 24px rgba(31, 122, 52, .3);
}
.vf-gross-spiel:hover { background: var(--akzent-dunkel); }
.vf-gross-spiel:focus-visible { outline-offset: 10px; border-radius: 50%; }
.vf-gross-zeichen { width: 0; height: 0; margin-left: 7px; border-left: 30px solid #fff; border-top: 19px solid transparent; border-bottom: 19px solid transparent; }
.vf-gross-spiel.spielt .vf-gross-zeichen { margin-left: 0; width: 30px; height: 34px; border: 0; background: linear-gradient(90deg, #fff 0 10px, transparent 10px 20px, #fff 20px 30px); }
.vf-hoeren-titel { font-weight: 700; font-size: 1.08rem; }
.vf-welle { display: flex; align-items: center; gap: 1px; width: 100%; height: 48px; }
.vf-welle i { flex: 1; min-width: 1px; border-radius: 1px; background: #b9c3cc; }
.vf-welle i.gespielt { background: var(--akzent); }
.vf-hoeren-zeit { font-size: .86rem; color: var(--text-leise); font-variant-numeric: tabular-nums; }
.vf-hoeren-klein { font-size: .82rem; color: var(--text-leise); }
.vf.vf-an[data-modus=frei] .vf-meldung { display: block; min-height: 1.6em; margin-top: 14px; text-align: center; font-weight: 600; }
.vf.vf-an[data-modus=frei] .vf-meldung kbd { font-size: .9em; }
.vf.vf-an[data-modus=frei][data-frei=gespraech] .vf-legende {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; list-style: none; margin: 10px 0 0; padding: 0; font-size: .95rem;
}
.vf-legende li { display: inline-flex; align-items: center; gap: 9px; }
.vf-legende li > span { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--akzent); color: #fff; font-size: .78rem; font-weight: 700; }
.vf.vf-an[data-modus=frei] .vf-frei-fuss { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 26px; }
.vf-ehrlich { margin-top: 20px; text-align: center; color: var(--text-leise); font-size: .9rem; }

/* ---- Handy: eigener Aufbau, Sprechblase unter der Lupe ---- */
@media (max-width: 760px) {
  .vf .p-mitte { grid-template-columns: minmax(0, 1fr); }
  .vf .p-mitte .seite { order: -1; }
  .vf .vf-sprecher-teil > .vf-klein-titel, .vf .vf-sprecher-teil > .auswahl, .vf .vf-sprecher-teil > span[aria-hidden] { display: none; }
  .vf-name input { height: 44px; font-size: 16px; }
  .vf .textfeld { max-height: 300px; font-size: 15.5px; }
  .vf .p-kopf .a-knopf { display: none; }
  .vf.vf-an[data-modus=tour] .vf-sicht { height: 400px; border-radius: 16px; }
  .vf.vf-an[data-modus=tour] .vf-kamera { padding: 14px; }
  .vf.vf-an[data-modus=tour] .vf-blase {
    position: relative; right: auto; top: auto !important; width: auto; margin-top: 16px; padding: 16px 18px 14px;
    box-shadow: 0 1px 2px rgba(20, 24, 29, .06), 0 8px 22px rgba(20, 24, 29, .1); border: 1px solid var(--linie);
  }
  .vf.vf-an[data-modus=tour] .vf-blase::before {
    content: ""; position: absolute; top: -8px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
    background: #fff; border-left: 1px solid var(--linie); border-top: 1px solid var(--linie); transform: rotate(45deg);
  }
  .vf.vf-an[data-modus=tour] .vf-punkte { margin-top: 18px; }
  .vf-punkte button { font-size: .78rem; gap: 4px; padding: 6px 2px; line-height: 1.25; }
  .vf-punkte li + li::before,.vf-punkte :is(li,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>li))+li::before,.vf-punkte :is(li,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>li))+.et_pb_module>:is(.et_pb_text_inner,.et_pb_heading_container)>li::before{ top: 19px; }
  .vf-punkt { width: 26px; height: 26px; }
  .vf.vf-an[data-modus=tour] .vf-bedien { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
  .vf-bedien .vf-lauf { grid-column: 1 / -1; justify-self: center; }
  .vf-bedien .vf-selbst { grid-column: 1 / -1; }
  .vf-bedien .vf-knopf { padding: 11px 12px; }
  .vf.vf-an[data-modus=frei][data-frei=gespraech] .vf-buehne { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .vf.vf-an[data-modus=frei][data-frei=gespraech] .vf-hoeren {
    display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 4px; padding: 16px; text-align: left; align-items: center;
  }
  .vf-gross-spiel { width: 72px; height: 72px; grid-row: 1 / 4; }
  .vf-gross-zeichen { margin-left: 5px; border-left-width: 24px; border-top-width: 15px; border-bottom-width: 15px; }
  .vf-gross-spiel.spielt .vf-gross-zeichen { width: 24px; height: 26px; background: linear-gradient(90deg, #fff 0 8px, transparent 8px 16px, #fff 16px 24px); }
  .vf-welle { height: 30px; grid-column: 2; }
  .vf-hoeren-titel, .vf-hoeren-zeit { grid-column: 2; }
  .vf-hoeren-klein { grid-column: 1 / -1; margin-top: 6px; }
  .vf-umschalter [role=tab] { padding: 8px 16px; font-size: .95rem; }
  .vf.vf-an[data-modus=frei] .vf-frei-fuss { flex-direction: column; align-items: stretch; }
  .vf.vf-an[data-modus=frei][data-frei=gespraech] .vf-legende { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .vf .pruefen { padding: 14px 12px 12px; }
  .vf .fk i { width: 28px; }
  .vf-umschalter [role=tab] { padding: 8px 12px; }
}

/* erster Zoom ohne Kamerafahrt */
.vf.vf-sofort .vf-kamera, .vf.vf-sofort .vf-lupe, .vf.vf-sofort .vf-blase { transition: none !important; }


/* =================== Teil 2: Startseite =================== */
/* Schmaler Kopf (Skizze B): eine Spalte, mittig, Knopf und Cloud-Zeile nebeneinander */
.hero-b.hero-schmal:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){display:block;text-align:center;padding-block:clamp(20px, 3vw, 36px) clamp(18px, 2.4vw, 28px)}
.hero-b.hero-schmal h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.hero-b.hero-schmal .hero-b-unter:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){max-width:40em;margin:12px auto 22px}
.hs-zeile:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:14px 22px}
.hero-b.hero-schmal .knoepfe:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){justify-content:center}
.hs-cloud{position:relative;display:inline-flex;align-items:center;gap:12px;color:var(--text);font-weight:700;font-size:1.02rem;line-height:1.35}.hs-cloud:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){text-align:start}.hs-cloud:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){margin:0}
.hs-cloud::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--gruen-hauch); }
.hs-cloud::after { content: ""; position: absolute; left: 7px; top: 50%; width: 26px; height: 26px; margin-top: -13px; background: var(--akzent);
  -webkit-mask: url("assets/bilder/symbol-wolke-aus.svg") center/contain no-repeat; mask: url("assets/bilder/symbol-wolke-aus.svg") center/contain no-repeat; } /* assets/bilder/symbol-wolke-aus.svg, wie .n-cloud in gemeinsam.css */
.hero-b.hero-schmal p.klein.zahlungsart:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){margin:14px auto 0}
@media (max-width: 760px) {
  .hero-b.hero-schmal:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){padding-block:14px 18px}
  .hs-zeile:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){flex-direction:column;gap:14px}
  .hero-b.hero-schmal .knoepfe:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){width:100%}
}

/* Rechner direkt unter der Vorführung: Abstand oben wie zwischen zwei Abschnitten */
.vf-start + .rechner-huelle:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *),:is(.vf-start,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>.vf-start))+.rechner-huelle:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *),:is(.vf-start,.et_pb_module:has(>:is(.et_pb_text_inner,.et_pb_heading_container)>.vf-start))+.et_pb_module>:is(.et_pb_text_inner,.et_pb_heading_container)>.rechner-huelle:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *),.et_pb_section:has(>.et_pb_row>.et_pb_column>.vf-start)+.et_pb_section>.et_pb_row>.et_pb_column>.rechner-huelle:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){padding-top:clamp(48px, 6vw, 72px)}

/* Drei Kernaussagen */
.kern-karten:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){display:grid;grid-template-columns:repeat(3, minmax(0, 1fr));gap:22px}
.kern-karte{background:var(--grund);border:1px solid var(--linie);border-radius:var(--radius, 18px);box-shadow:var(--schatten)}.kern-karte:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){padding:26px 26px 28px}
.kern-karte::before { content: ""; display: block; width: 48px; height: 48px; margin-bottom: 16px; border-radius: 14px; background: var(--gruen-hauch); }
.kern-titel { font-size: 1.25rem; font-weight: 700; line-height: 1.25; margin: 0 0 8px; }
.kern-karte p{color:var(--text-leise);line-height:1.55}.kern-karte p:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){margin:0}
@media (max-width: 860px) { .kern-karten:where(:not(.rs-modul,.rs-modul *),.rs-baustein *,.rs-html *){grid-template-columns:minmax(0, 1fr);gap:16px} }

/* Kleine Vergleichstabelle */
.vergleich { padding-bottom: clamp(56px, 8vw, 96px); }
.vergleich .titel { margin-bottom: 24px; }
.vtab { margin: 0 auto; max-width: 920px; overflow-x: auto; }
.vtab table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.vtab th, .vtab td { padding: 12px 14px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.vtab thead th { font-size: .86rem; color: var(--text-leise); font-weight: 600; }
.vtab tbody th { font-weight: 600; }
.vtab .vt-wir { background: var(--gruen-hauch); font-weight: 700; color: var(--text); }
.vtab thead .vt-wir { color: var(--akzent-dunkel); }
.vtab .vt-offen { color: var(--text-leise); font-style: italic; } /* Platzhalter, nicht live */
.vt-klein { text-align: center; margin: 14px auto 0; color: var(--text-leise); font-size: .86rem; }
@media (max-width: 600px) {
  .vtab table { font-size: .84rem; }
  .vtab th, .vtab td { padding: 9px 7px; }
}

/* Kernaussagen: Symbol in der Kachel (Wolke aus und Hören aus dem Bestand, zwei Personen eigene Zeichnung im selben Strich) */
.kern-karte { position: relative; }
.kern-karte::after { content: ""; position: absolute; left: 38px; top: 38px; width: 26px; height: 26px; background: var(--akzent);
  -webkit-mask: var(--kern-symbol) center/contain no-repeat; mask: var(--kern-symbol) center/contain no-repeat; }
.kern-cloud { --kern-symbol: url("assets/bilder/symbol-wolke-aus.svg"); }
.kern-hoeren { --kern-symbol: url("assets/bilder/symbol-hoeren.svg"); }
.kern-sprecher { --kern-symbol: url("assets/bilder/eingebettet-567ed9f540.svg"); }

/* ---- Nacharbeit nach Prüfung 2026-11-22 ----
   Schwebender Knopf am Handy: schmale Kapsel statt Kreis (Schrift passte nicht in den Kreis) und
   ausgeblendet, solange die Vorführung im Bild ist (verdeckte Weiter, Schließen, Transkript); Klasse setzt demo.js. */
@media (max-width: 760px) {
  .schwebe { width: auto; height: 48px; padding: 0 22px; border-radius: 24px; font-size: 1rem; white-space: nowrap; }
  .schwebe a { border-radius: 24px; }
  .vf-im-blick .schwebe { display: none; }
}
/* Selbst ausprobieren: Programmteile ohne Funktion in der Vorführung (Mehr, Anzahl Sprecher, Neu berechnen, Schließen)
   abgeschwächt, ohne Rahmen, Mauszeiger normal, damit sie nicht wie bedienbare Knöpfe wirken. */
.vf[data-modus="frei"] span.a-knopf,
.vf[data-modus="frei"] .auswahl { color: #6b737b; border-color: transparent; background: transparent; box-shadow: none; cursor: default; }
.vf[data-modus="frei"] .auswahl::after { border-color: #9aa3ab; }

/* =================== Teil C: Umbau nach dem Konzept der Fachrunde (2026-11-22) ===================
   Quelle: docs\website\2026-11-22_startseite-vorfuehrung\fachrunde\KONZEPT.md (Einstiegsbild, Drehbuch, Handy-Fassung).
   Gilt nach Teil B und ersetzt dort Lupe, Sprechblase, Pille und Tour-Ansicht des Fensters. */
.vf [hidden] { display: none !important; }
.vf { scroll-margin-top: 24px; }
/* In sich geschlossen (Divi, 2026-11-25): Zeilenhöhe als Faktor wie body in live.css. Im Divi-Text-Modul erbt die
   Vorführung sonst 27,2 px fest; Stationsleiste, Bedienknöpfe und Hinweissatz wurden dadurch 3 bzw. 8 px höher. */
.vf { line-height: 1.6; }
.vf button:focus-visible, .vf a:focus-visible, .vf [tabindex]:focus-visible { outline: 3px solid var(--fokus); outline-offset: 2px; }

/* Etikett außerhalb des Fensters: durchgestrichene Wolke (Symbol wie .hs-cloud) */
.vf-etikett { display: none; }
.vf.vf-an[data-modus=tour] .vf-etikett, .vf:not(.vf-an) .vf-etikett {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 6px 14px 6px 8px;
  background: #fff; border: 1px solid var(--linie); border-radius: 999px; color: var(--text); font-weight: 600; font-size: .92rem; line-height: 1.3;
}
.vf-wolke { flex: none; width: 24px; height: 24px; background: var(--akzent);
  -webkit-mask: url("assets/bilder/symbol-wolke-aus.svg") center/contain no-repeat;
  mask: url("assets/bilder/symbol-wolke-aus.svg") center/contain no-repeat; }

/* Farbstreifen als eigenes Element (für scaleY), Etikett mit Aufleuchten */
.vf .sp { position: relative; border-left: 0; padding-left: 11px; }
.vf .sp::before { content: ""; position: absolute; left: 0; top: 3px; bottom: 3px; width: 3px; border-radius: 2px; background: #999; transform-origin: 50% 0; }
.vf .sp1::before { background: var(--sp1); } .vf .sp2::before { background: var(--sp2); } .vf .sp3::before { background: var(--sp3); }
.vf .vf-text.ohne-sprecher .sp::before { display: none; }
.vf .sp-name { position: relative; display: inline-block; }
.vf .sp-name::after { content: ""; position: absolute; inset: -1px -2px; border-radius: 3px; opacity: 0; pointer-events: none; }
.vf .sp1 .sp-name::after { background: var(--sp1); } .vf .sp2 .sp-name::after { background: var(--sp2); }
.vf .sp.vf-blitz .sp-name::after { animation: vfblitz 500ms ease-in-out; }
@keyframes vfblitz { 50% { opacity: .25; } }
.vf.vf-an[data-modus=tour] .sp::before { transition: transform 240ms ease-out var(--vf-verz, 0ms); }
.vf.vf-an[data-modus=tour] .sp .sp-name { transition: opacity 240ms ease-out var(--vf-verz, 0ms), transform 240ms ease-out var(--vf-verz, 0ms); }
.vf.vf-an[data-modus=tour] .sp.vf-vor::before { transform: scaleY(0); }
.vf.vf-an[data-modus=tour] .sp.vf-vor .sp-name { opacity: 0; transform: translateX(-8px); }

/* Wortmarke: kräftig, in Tour und Selbstmodus gleich */
.vf .w { transition: background-color 80ms linear, color 80ms linear, box-shadow 80ms linear; }
.vf .w { white-space: nowrap; }
.vf .w.laeuft { background: #1f5fa8; color: #fff; box-shadow: 0 0 0 2px #1f5fa8; transition: none; } /* sofort gefüllt, ausblenden 80 ms */
.vf .w.geaendert { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.vf .w.neu-geschrieben { background: none; }
.vf-schreibmarke { position: relative; display: inline-block; width: 2px; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: #111; }
.vf-taste { position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); opacity: 0; pointer-events: none; z-index: 3; }
.vf-taste kbd { display: inline-block; min-width: 30px; text-align: center; padding: 2px 8px; font-size: 15px; line-height: 1.4; background: #fff; box-shadow: 0 4px 10px rgba(20, 24, 29, .18); }

/* Pegelbalken am Spielknopf, solange abgespielt wird */
.vf-pegel { display: none; align-items: center; gap: 3px; height: 20px; margin-left: -4px; }
.vf-pegel i { width: 3px; height: 18px; border-radius: 2px; background: var(--app-gruen); transform: scaleY(.4); }
.vf.vf-spielt .vf-pegel { display: inline-flex; }
.vf.vf-spielt .vf-pegel i { animation: vfpegel 600ms ease-in-out infinite alternate; }
.vf.vf-spielt .vf-pegel i:nth-child(2) { animation-delay: -150ms; } .vf.vf-spielt .vf-pegel i:nth-child(3) { animation-delay: -300ms; } .vf.vf-spielt .vf-pegel i:nth-child(4) { animation-delay: -450ms; }
@keyframes vfpegel { from { transform: scaleY(.4); } to { transform: scaleY(1); } }
.vf .leiste b.vf-sprung { transition: width 250ms ease-out; }

/* Brief: Kreis frei rechts unterhalb des Fensters, nie über Titelleiste oder Textfeld */
.vf .vf-brief .pille { position: static; display: flex; align-items: center; gap: 14px; margin: 50px 0 0 42%; max-width: none; left: auto; bottom: auto; }
.vf-kreis { position: relative; flex: none; display: block; }
.vf .vf-brief .vf-vorschau { flex: 1; min-width: 200px; max-width: 360px; white-space: normal; }

/* ---- Tour (mit JavaScript) ---- */
.vf.vf-an[data-modus=tour] .vf-rahmen { position: relative; }
.vf.vf-an[data-modus=tour] .vf-kamera { display: grid; align-items: start; justify-items: start; transition-property: transform; transition-timing-function: cubic-bezier(.45, 0, .2, 1); }
.vf.vf-an[data-modus=tour] .vf-brief, .vf.vf-an[data-modus=tour] .vf-pruefen { grid-area: 1 / 1; width: 100%; transform-origin: 50% 0; }
.vf.vf-an[data-modus=tour] .vf-kamera.vf-blass { opacity: .4; transition: transform .9s cubic-bezier(.45, 0, .2, 1), opacity 400ms; }
.vf.vf-an[data-modus=tour] .vf-sicht { background: #e9eef2; }
.vf.vf-an[data-modus=tour] .vf-pruefen .p-kopf .a-knopf,
.vf.vf-an[data-modus=tour] .vf-pruefen .p-fuss,
.vf.vf-an[data-modus=tour] .vf-sprecher-teil > .vf-klein-titel,
.vf.vf-an[data-modus=tour] .vf-sprecher-teil > .auswahl,
.vf.vf-an[data-modus=tour] .vf-sprecher-teil > span[aria-hidden] { display: none; }
.vf.vf-an[data-modus=tour] .vf-pruefen .pruefen { padding-bottom: 20px; }
.vf.vf-an[data-modus=tour] .p-mitte { grid-template-columns: minmax(0, 1fr) 170px; }
.vf.vf-an[data-modus=tour] .vf-text { position: relative; max-height: none; overflow: hidden; transition: height .9s cubic-bezier(.45, 0, .2, 1); }
.vf.vf-an[data-modus=tour] .p-mitte > .vf-text { grid-row: 1; grid-column: 1; }
.vf.vf-an[data-modus=tour] .p-mitte > .seite { grid-row: 1; grid-column: 2; }
.vf-verlauf { display: none; }
.vf.vf-an[data-modus=tour] .vf-verlauf { display: block; grid-row: 1; grid-column: 1; align-self: end; height: 42px; margin: 0 1.5px 1.5px; pointer-events: none; z-index: 1;
  background: linear-gradient(rgba(242, 246, 249, 0), #f2f6f9 85%); border-radius: 0 0 5px 5px; }

.vf.vf-an[data-modus=tour] .vf-lupe {
  border-radius: 10px; box-shadow: 0 0 0 2px var(--akzent), 0 0 0 4000px rgba(20, 30, 40, .35);
  transition-property: left, top, width, height, opacity; transition-timing-function: cubic-bezier(.45, 0, .2, 1); opacity: 0;
}
.vf.vf-an[data-modus=tour] .vf-lupe.an { opacity: 1; }

.vf-ueber { display: none; }
.vf.vf-an[data-modus=tour] .vf-ueber { display: block; position: absolute; inset: 0; z-index: 7; pointer-events: none; overflow: hidden; }
.vf-zeiger, .vf-ring, .vf-tipp { position: absolute; left: 0; top: 0; opacity: 0; }
.vf-zeiger { width: 18px; height: 18px; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .3)); }
.vf-zeiger svg { display: block; }
.vf-ring { width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; border: 2.5px solid var(--akzent); }
.vf-tipp { width: 28px; height: 28px; margin: -14px 0 0 -14px; border-radius: 50%; background: rgba(31, 95, 168, .45); }

/* Sprechblase: feste Höhe, außerhalb des Zoomziels */
.vf.vf-an[data-modus=tour] .vf-blase { top: 50%; transform: translateY(-50%); height: 236px; padding: 20px 22px 18px; display: flex; flex-direction: column; transition: none; }
.vf-blase-text { flex: 1; min-height: 0; overflow: hidden; }
.vf-blase-schritt { min-height: 1.2em; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--akzent); }
.vf.vf-an .vf-blase-titel { font-size: 1.14rem; line-height: 1.4; margin: 6px 0 4px; }
.vf.vf-an .vf-blase-satz { font-size: .95rem; line-height: 1.5; }
.vf-blase-tat { flex: none; display: flex; align-items: center; min-height: 44px; }
.vf-mit-ton { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--akzent); border-radius: 999px;
  background: #fff; color: var(--akzent-dunkel); font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer; }
.vf-mit-ton:hover { background: var(--gruen-hauch, #e8f3ea); }
.vf-blase-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--akzent-dunkel); text-decoration: underline; text-underline-offset: 3px; }
.vf.vf-an[data-modus=tour] .vf-blase-zeit { flex: none; margin-top: 10px; }
.vf.vf-an[data-modus=tour][data-station="5"] .vf-blase > * { visibility: hidden; }
.vf.vf-an[data-modus=tour][data-station="5"] .vf-blase { box-shadow: none; background: transparent; }

/* Abschlusskarte */
.vf-karte { display: none; }
.vf.vf-an[data-modus=tour] .vf-karte { display: block; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 8; width: min(520px, calc(100% - 32px));
  background: #fff; border-radius: 18px; padding: 28px 30px 20px; box-shadow: 0 2px 4px rgba(20, 24, 29, .08), 0 18px 40px rgba(20, 24, 29, .22); text-align: left; animation: vfein 400ms ease-out both; }
.vf-karte-titel { font-size: 1.3rem; line-height: 1.3; margin: 0 0 14px; }
.vf-karte-liste { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.vf-karte-liste li { position: relative; padding-left: 30px; animation: vfein 300ms ease-out both; }
.vf-karte-liste li:nth-child(1) { animation-delay: 300ms; } .vf-karte-liste li:nth-child(2) { animation-delay: 450ms; } .vf-karte-liste li:nth-child(3) { animation-delay: 600ms; }
.vf-karte-liste li::before { content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%; background: var(--akzent); }
.vf-karte-liste li::after { content: ""; position: absolute; left: 7px; top: calc(.2em + 4px); width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.vf-karte-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }
.vf-karte-knoepfe .knopf { padding: 12px 24px; }
.vf-textlink { display: inline-flex; align-items: center; min-height: 44px; margin-top: 6px; padding: 0 2px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--akzent-dunkel); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@keyframes vfein { from { opacity: 0; } to { opacity: 1; } }

/* Punkte: zur nächsten Station */
.vf-punkte li.aktiv button { color: var(--akzent-dunkel); }

/* Selbstmodus: Überblendung, Titel mit Innenabstand, Spielknopf pulsiert einmal */
.vf.vf-an[data-modus=frei] .vf-kopf { padding-top: 14px; }
.vf.vf-blende .vf-buehne { animation: vfein 300ms ease-out both; }
.vf-gross-spiel.vf-puls { animation: vfpuls 600ms ease-in-out 2; }
@keyframes vfpuls { 50% { box-shadow: 0 0 0 18px rgba(31, 122, 52, .12), 0 10px 24px rgba(31, 122, 52, .3); } }

/* Desktop: Etikett oben links in der Bühne, ab Station 1 ausgeblendet */
@media (min-width: 761px) {
  .vf.vf-an[data-modus=tour] .vf-etikett { position: absolute; left: 20px; top: 16px; z-index: 6; margin: 0; transition: opacity 400ms; }
  .vf.vf-an[data-modus=tour]:not([data-station="0"]) .vf-etikett { opacity: 0; }
  .vf.vf-an[data-modus=tour] .vf-pruefen { max-width: 720px; }
  .vf.vf-an[data-modus=tour] .vf-brief { max-width: 580px; }
}

/* ---- Handy 390 / 360 ---- */
@media (max-width: 760px) {
  .vf.vf-an[data-modus=tour] .vf-etikett { font-size: .86rem; }
  .vf.vf-an[data-modus=tour] .vf-sicht { height: 480px; }
  .vf.vf-an[data-modus=tour][data-station="5"] .vf-blase { border-color: transparent; }
  .vf.vf-an[data-modus=tour][data-station="5"] .vf-blase::before { display: none; }
  .vf.vf-an[data-modus=tour] .p-mitte { grid-template-columns: minmax(0, 1fr); }
  .vf.vf-an[data-modus=tour] .p-mitte > .seite { order: 0; grid-row: 2; grid-column: 1; flex-direction: row; flex-wrap: wrap; }
  .vf.vf-an[data-modus=tour] .vf-sprecher-teil { flex-direction: row; gap: 8px; flex: 1 1 100%; }
  .vf.vf-an[data-modus=tour] .vf-sprecher-teil { min-width: 0; }
  .vf.vf-an[data-modus=tour] .vf-name { flex: 1 1 0; min-width: 0; }
  .vf.vf-an[data-modus=tour] .vf-name input { width: 100%; }
  .vf.vf-an[data-modus=tour] .vf-name input { height: 34px; font-size: 14px; }
  .vf.vf-an[data-modus=tour] .vf-blase { position: relative; top: auto; transform: none; height: 166px; padding: 14px 16px 12px; }
  .vf.vf-an .vf-blase-titel { font-size: 1.02rem; line-height: 1.4; margin: 4px 0 2px; }
  .vf.vf-an .vf-blase-satz { font-size: .9rem; line-height: 1.4; }
  .vf.vf-an[data-modus=tour] .vf-blase-zeit { margin-top: 8px; }
  .vf .vf-brief .pille { margin: 46px 0 0 22%; }
  .vf .vf-brief .vf-vorschau { min-width: 0; }
  .vf.vf-an[data-modus=tour] .vf-karte { padding: 20px 18px 12px; }
  .vf-karte-titel { font-size: 1.1rem; margin-bottom: 10px; }
  .vf-karte-liste { margin-bottom: 14px; gap: 5px; font-size: .95rem; }
  .vf-karte-knoepfe { flex-direction: column; gap: 8px; }
  .vf-karte-knoepfe .knopf { width: 100%; padding: 10px 16px; }
  .vf-textlink { margin-top: 2px; }
}

/* ---- Nacharbeit Abnahme 2026-11-22 ---- */
/* Stationen seit 2026-11-26: 1 Diktieren, 2 Gespräch, 3 Nachhören, 4 Prüfen (demo.js, ST_*) */
/* Station 2 Gespräch (Desktop): Blase unter die Namensfelder, damit die Seitenleiste frei steht */
@media (min-width: 761px) {
  .vf.vf-an[data-modus=tour] .vf-blase { transition: top 600ms cubic-bezier(.45, 0, .2, 1); }
  .vf.vf-an[data-modus=tour][data-station="2"] .vf-blase { top: calc(50% + 64px); }
}
/* Station 3 und 4 (Nachhören, Prüfen): Ausschnitt endet mit dem Absatz der Prüfstelle; Absätze außerhalb (vf-aus, setzt demo.js) und Verlauf
   ausgeblendet, nur ganze Zeilen */
.vf.vf-an[data-modus=tour] .vf-text p { transition: opacity 300ms; }
.vf.vf-an[data-modus=tour]:is([data-station="3"], [data-station="4"]) .vf-text p.vf-aus { opacity: 0; }
.vf.vf-an[data-modus=tour]:is([data-station="3"], [data-station="4"]) .vf-verlauf { display: none; }
/* Taste „G“ unter der Zeile, überdeckt kein Wort */
.vf-taste-g { bottom: auto; top: calc(100% + 6px); }
/* Einstieg und Station 1 Diktieren: Kreis und Vorschau frei unterhalb des Brieffensters, rechts bündig; Platz der Vorschau bleibt stehen */
.vf .vf-brief .pille { margin: 50px 0 0; justify-content: flex-end; }
.vf.vf-an[data-modus=tour] .vf-brief .vf-vorschau[hidden] { display: block !important; visibility: hidden; }
.vf.vf-an[data-modus=tour] .vf-brief .vf-vorschau { min-height: calc(2.8em + 18px); }
@media (max-width: 760px) { .vf .vf-brief .pille { margin: 46px 0 0; } }

/* ---- Fixrunde 2026-11-22: Übergänge, Handy-Bühne, Abdunklung, unsichere Stelle ---- */
/* Abdunklung außerhalb der Lupe schwächer (vorher .35), Ziel bleibt durch Rahmen und Helligkeit klar */
.vf.vf-an[data-modus=tour] .vf-lupe { box-shadow: 0 0 0 2px var(--akzent), 0 0 0 4000px rgba(20, 30, 40, .2); }
/* Desktop: Spielerzeile endet über dem Textfeld, damit Balken und Zeit ganz in der Lupe liegen */
@media (min-width: 761px) {
  .vf.vf-an[data-modus=tour] .vf-pruefen .spieler { margin-right: 186px; }
  .vf.vf-an[data-modus=tour] .vf-blase { transition: top 600ms cubic-bezier(.45, 0, .2, 1), opacity 450ms ease-out, visibility 0s; }
  .vf.vf-an[data-modus=tour][data-station="5"] .vf-blase { opacity: 0; visibility: hidden; transition: opacity 450ms ease-out, visibility 0s 450ms; }
}
/* Abschluss: Blase behält Inhalt und Form und blendet weich aus (Desktop) bzw. blasst mit der Bühne ab (Handy), kein Loch */
.vf.vf-an[data-modus=tour][data-station="5"] .vf-blase > * { visibility: inherit; }
.vf.vf-an[data-modus=tour][data-station="5"] .vf-blase { background: #fff; box-shadow: 0 2px 4px rgba(20, 24, 29, .08), 0 18px 40px rgba(20, 24, 29, .22); pointer-events: none; }
.vf.vf-an[data-modus=tour][data-station="5"] .vf-blase-zeit { visibility: hidden; }
.vf.vf-an[data-modus=tour] .vf-karte { animation: vfkarte 500ms cubic-bezier(.2, 0, .2, 1) 200ms both; }
@keyframes vfkarte { from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)) scale(.97); } to { opacity: 1; transform: translate(-50%, -50%); } }
.vf-karte-liste li:nth-child(1) { animation-delay: 450ms; } .vf-karte-liste li:nth-child(2) { animation-delay: 600ms; } .vf-karte-liste li:nth-child(3) { animation-delay: 750ms; }
/* Selbst ausprobieren: unsichere Stelle wie in der App unterstrichen, anklickbar */
.vf .w.vf-unsicher { text-decoration: underline dotted; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: #b8660b; cursor: pointer; }
/* Handy: Bühne passt sich der Bildschirmhöhe an, Bedienung kompakt (Anhalten, Zurück, Weiter in einer Zeile),
   damit bei Bühne oben im Bild Anhalten, Weiter und Selbst ausprobieren ohne Scrollen sichtbar bleiben */
@media (max-width: 760px) {
  .vf.vf-an[data-modus=tour] .vf-sicht { height: 400px; height: clamp(340px, calc(100svh - 372px), 470px); }
  .vf.vf-an[data-modus=tour] .vf-blase { margin-top: 12px; transition: opacity 600ms; }
  .vf.vf-an[data-modus=tour][data-station="5"] .vf-blase { opacity: .4; border-color: var(--linie); }
  .vf.vf-an[data-modus=tour][data-station="5"] .vf-blase::before { display: block; }
  .vf.vf-an[data-modus=tour] .vf-punkte { margin-top: 10px; }
  .vf.vf-an[data-modus=tour] .vf-bedien { grid-template-columns: auto 1fr 1fr; gap: 8px; margin-top: 10px; }
  .vf-bedien .vf-lauf { grid-column: auto; justify-self: start; gap: 6px; padding: 6px 4px; }
  .vf-bedien .vf-knopf { padding: 10px 8px; }
  .vf-lauf-vorsatz { display: none; }
  /* Station 2 und 3: hinausgerollte Absätze (vf-aus) blenden auch mit ihrem Rest am oberen Feldrand aus (Regel oben) */
}
