/* Die Buehne im Kopf (Runde 24), geteilt wie im Produkt: links die Buehne mit
   dem Bild auf seiner Ebene samt Punktraster und darunter das Wortband, rechts
   der Verlauf (Gespraech und Arbeitsschritte) mit dem Eingabefeld. */
.vf { margin: 0; }
.vf-rahmen { background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85); border-radius: 30px; padding: 8px;
  box-shadow: 0 50px 90px -60px rgba(16, 44, 29, .55); }
.vf-pane { position: relative; display: flex; height: clamp(540px, 44vw, 640px); border-radius: 23px; overflow: hidden;
  background: rgb(237, 237, 232); }
.vf-links { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.vf-seite { flex: 0 0 clamp(300px, 29%, 380px); min-width: 0; display: flex; flex-direction: column; background: rgb(246, 246, 242);
  border-left: 1px solid rgba(16, 25, 21, .07); }

/* ---- Buehne ---- */
.vf-buehne.vf-echt { --sans: var(--text); touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; position: relative; flex: 1 1 auto; min-height: 0; overflow: clip; background: rgb(237, 237, 232); border: 0; border-radius: 0; }
.vf-flaeche { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform .9s cubic-bezier(.2, .75, .2, 1); }
/* Kein will-change: sonst malt der Browser die Ebene einmal klein und zieht das Bild hoch, das wird pixelig. */
.vf-flaeche.sofort { transition: none; }
/* Das Raster liegt auf der Ebene, also faehrt und zoomt es mit den Bildern */
.vf-raster { position: absolute; left: -4500px; top: -4500px; width: 9000px !important; height: 9000px !important; max-width: none !important; pointer-events: none; transition: opacity .4s ease; }
.vf-raster circle { fill: rgb(196, 196, 185); }
.vf-bild { position: absolute; left: 0; top: 0; transition: opacity .55s ease; }
.vf-lebt .vf-bild:not(.da) { opacity: 0; }
.vf-beispiel { position: absolute; left: 16px; top: 14px; z-index: 5; font: 500 12px/1 var(--mono); color: var(--tinte-3);
  background: rgba(255, 255, 255, .8); border-radius: 99px; padding: 6px 10px; }

/* Ein Programm ist ein ganzes Fenster, als Ganzes verkleinert. Gezeigt, nicht bedient. */
.vf-buehne div.lz-oberflaeche { width: 100% !important; }
.vf-buehne .ob-schacht { position: relative; width: 100% !important; aspect-ratio: 1280 / 800; height: auto !important; overflow: hidden; border-radius: 10px; }
.vf-buehne .ob-schacht iframe { position: absolute; left: 0; top: 0; width: 1280px !important; height: 800px !important; border: 0;
  transform: scale(calc(var(--vf-app-k, .5))) !important; transform-origin: 0 0; pointer-events: none; }
.vf-buehne .lz-obauf { display: none !important; }

/* Die Zeilen selbst bleiben im Blatt, unsichtbar: an ihnen liest die Figur ab, worauf sie sieht. */
.vf-sagt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ---- Untertitel wie im Produkt: ein Band, links nach rechts ----
   Alle Worte der Antwort in einer Zeile. Das gesprochene steht immer in der
   Mitte und ist als einziges hell; links, was war, rechts, was kommt. Das Band
   springt von Wort zu Wort, ohne Uebergang: jede Weichzeichnung waere eine
   Unschaerfe genau dort, wo gelesen wird. */
.vf-ut { position: relative; flex: none; height: calc(1.6em + 14px); overflow: hidden;
  font: 620 clamp(18px, 1.8vw, 26px)/1.6 var(--text); letter-spacing: -.015em; color: var(--tinte);
  -webkit-mask-image: linear-gradient(to right, transparent 12%, #000 38%, #000 62%, transparent 88%);
          mask-image: linear-gradient(to right, transparent 12%, #000 38%, #000 62%, transparent 88%); }
.vf-rad { position: absolute; left: 0; top: 4px; white-space: nowrap; opacity: 0; transition: opacity .3s ease; }
/* Wie im Produkt: das Band ist nur da, solange gesprochen wird. */
.vf-ut.liest .vf-rad { opacity: 1; }
.vf:not(.vf-lebt) .vf-rad { opacity: 1; }
.vf-w { display: inline-block; position: relative; opacity: .28; }
.vf-w.an { opacity: 1; }
/* Der Feinschliff: unter dem gesprochenen Wort ein kurzer Strich in Lime */
.vf-w.an::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 22px; height: 3px; margin-left: -11px; border-radius: 2px; background: var(--lime); }
.vf-w.teil { color: var(--lime-tief); }

/* ---- Eingabe: hier darf jeder selbst fragen ---- */
.vf-feld { flex: none; display: flex; align-items: flex-end; gap: 6px; margin: 0 12px 12px; padding: 7px 7px 7px 16px; background: #fff;
  border: 1px solid var(--linie); border-radius: 16px; transition: box-shadow .2s, border-color .2s; }
.vf-feld:focus-within { border-color: var(--lime); box-shadow: 0 0 0 3px rgba(128, 181, 7, .22); }
.vf-feld textarea { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 400 16px/1.4 var(--text); color: var(--tinte); padding: 8px 0; resize: none; overflow: hidden; max-height: 7.2em; display: block; }
.vf-feld textarea::placeholder { color: var(--tinte-3); }
.vf-mikro { flex: none; width: 34px; height: 34px; display: grid; place-items: center; color: var(--tinte-3); }
.vf-mikro svg { width: 18px; height: 18px; }
.vf-senden { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: #fff; cursor: pointer; }
.vf-senden svg { width: 19px; height: 19px; }
.vf-senden:focus-visible { outline: 2px solid var(--tinte); outline-offset: 2px; }
.vf-unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* ---- Beispiele: kleine Pillen, niemand soll hier lesen muessen ---- */
.vf-vorschlaege { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 0; }
/* Die Beispiel-Wahl steht jetzt UEBER der Buehne: Handy-Besucher finden sie zuerst. */
.vf-waehlen { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 14px; margin: 0 0 16px; }
.vf-waehlen-text { font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--tinte-2); }
.vf-seins .vf-waehlen { opacity: 0; visibility: hidden; }
.vf-vorschlag { font: 500 14px/1 var(--text); color: var(--tinte-2); padding: 10px 16px; border-radius: 99px; cursor: pointer;
  background: rgba(255, 255, 255, .6); border: 1px solid rgba(214, 221, 217, .9); transition: background .2s, border-color .2s, color .2s; }
.vf-vorschlag:hover { background: #fff; color: var(--tinte); }
.vf-vorschlag[aria-pressed="true"] { background: #fff; border-color: var(--lime); color: var(--tinte); }
.vf-vorschlag:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.vf-buehne.zieht { cursor: grabbing; }
/* Regelzeilen sind im Layout nur Rahmen: gedimmt werden ihre Zellen, sonst tritt nichts zurueck. */
.vf-buehne .zeigt-teil .lz-regel[data-teil]:not(.spricht) > * { opacity: .3; transition: opacity .25s ease; }
.vf-buehne .lz-regel[data-teil].spricht > * { opacity: 1; }

/* ---- Der Verlauf: das Gespraech steht an der Seite, die Arbeit auf der Buehne ---- */
.vf-faden { flex: 1 1 auto; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 20px 18px 14px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 64px); mask-image: linear-gradient(to bottom, transparent 0, #000 64px); }
.vf-blase { flex: none; margin: 0; font: 400 15px/1.45 var(--text); color: var(--tinte); opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; }
.vf-blase.da { opacity: 1; transform: none; }
/* Wie im Produkt: der Mensch in einer Blase, Onagero als Text */
.vf-du { align-self: flex-end; max-width: 88%; font-weight: 500; background: var(--lime-hell); border: 1px solid rgba(128, 181, 7, .42); border-radius: 16px 16px 5px 16px; padding: 9px 13px; }
.vf-onagero { align-self: stretch; color: var(--tinte-2); }
/* Wie im Produkt: drei Punkte, daneben klein der neueste Schritt. Ein Lebenszeichen, kein Protokoll. */
.vf-arbeitet { flex: none; display: flex; align-items: center; gap: 10px; min-height: 22px; animation: vf-rein .25s ease both; }
.vf-punkte { display: inline-flex; gap: 5px; }
.vf-punkte i { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); animation: vf-puls 1.2s ease-in-out infinite; }
.vf-punkte i:nth-child(2) { animation-delay: .18s; } .vf-punkte i:nth-child(3) { animation-delay: .36s; }
@keyframes vf-puls { 0%, 60%, 100% { opacity: .22; } 30% { opacity: 1; } }
.vf-schritt { font: 400 12.5px/1.4 var(--text); color: var(--tinte-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@keyframes vf-rein { from { opacity: 0; transform: translateY(4px); } }
/* Ein Anhang an der Nachricht, wie eine Datei, die man hineinzieht */
.vf-anhang { display: flex; align-items: center; gap: 7px; width: fit-content; margin-bottom: 7px; padding: 5px 10px 5px 8px; border-radius: 9px; background: #fff;
  border: 1px solid rgba(128, 181, 7, .35); font: 500 12.5px/1.2 var(--mono); color: var(--tinte-2); }
.vf-anhang::before { content: ''; width: 12px; height: 15px; border-radius: 2px 5px 2px 2px; background: var(--lime-tief); opacity: .8; }
.vf-weiter { flex: none; align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--text); color: #fff; background: var(--tinte);
  border-radius: 99px; padding: 13px 18px; text-decoration: none; opacity: 0; transition: opacity .3s ease; }
.vf-weiter.da { opacity: 1; }
.vf-weiter:hover { background: #000; }
.vf-weiter:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

/* Wer das Feld hat, bekommt eine leere Buehne: keine Beispiele, kein Hinweis darunter */
.vf-beispiel, .vf-vorschlaege { transition: opacity .25s ease; }
.vf-seins .vf-beispiel, .vf-seins .vf-vorschlaege { opacity: 0; visibility: hidden; }

/* Ohne Skript: das Problem, der erste Satz und das erste Bild */
.vf:not(.vf-lebt) .vf-flaeche { position: relative; display: grid; place-items: center; height: 100%; width: 100%; }
.vf:not(.vf-lebt) .vf-raster { display: none; }
.vf:not(.vf-lebt) .vf-still { position: relative; width: min(860px, 96%) !important; }

@media (max-width: 900px) {
  .vf-pane { flex-direction: column; height: auto; }
  .vf-links { flex: none; height: 380px; }
  .vf-seite { flex: none; border-left: 0; border-top: 1px solid rgba(16, 25, 21, .07); }
  .vf-faden { flex: none; height: 196px; padding: 14px 14px 10px; gap: 9px; }
  .vf-blase { font-size: 14px; }
  .vf-ut { font-size: 19px; }
}
/* Auf dem Telefon bekommt die Buehne fast die ganze Breite: jeder Pixel ist dort Schriftgroesse. */
@media (max-width: 560px) {
  .vf-rahmen { margin: 0 -14px; padding: 4px; border-radius: 24px; }
  .vf-pane { border-radius: 20px; }
}
/* Das Kreuz: nur da, wenn der Besucher das Feld hat. Zurueck an den Anfang. */
.vf-seite { position: relative; }
.vf-zurueck { position: absolute; right: 12px; top: 12px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--linie); background: #fff;
  color: var(--tinte-2); display: none; place-items: center; cursor: pointer; }
.vf-zurueck svg { width: 16px; height: 16px; }
.vf-zurueck:hover { color: var(--tinte); border-color: var(--tinte-3); }
.vf-zurueck:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }
.vf-seins .vf-zurueck { display: grid; }
/* Tabellenzeilen leuchten wie die anderen Teile: die Zeile hell, der Rest tritt zurueck. */
.vf-buehne tr.spricht td { background: var(--lime-hell); }
.vf-buehne .zeigt-teil tbody tr:not(.spricht) td { opacity: .45; transition: opacity .25s ease; }
/* Ein Anhang auf der Buehne: Kopf nach Dateiart, darunter der Inhalt als Andeutung */
.vf-dateikarte { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -26px rgba(16, 44, 29, .5); padding-bottom: 14px; }
.vf-dk-kopf { margin: 0; padding: 12px 16px; font: 600 15px/1.2 var(--mono); color: #fff; background: #5F6C66; }
.vf-datei-xlsx .vf-dk-kopf { background: #217346; } .vf-datei-pdf .vf-dk-kopf { background: #A4431E; } .vf-datei-docx .vf-dk-kopf { background: #2B579A; } .vf-datei-zip .vf-dk-kopf { background: #34495E; }
.vf-dk-inhalt { display: grid; gap: 8px; padding: 16px; }
.vf-datei-xlsx .vf-dk-inhalt { grid-template-columns: repeat(6, 1fr); gap: 3px; }
.vf-dk-inhalt i { height: 10px; border-radius: 3px; background: #E6EBE8; }
.vf-datei-xlsx .vf-dk-inhalt i { height: 16px; border-radius: 0; }
.vf-datei:not(.vf-datei-xlsx) .vf-dk-inhalt i:nth-child(3n) { width: 64%; }
.vf-dateikarte small { display: block; padding: 0 16px; font: 500 13px/1 var(--text); color: var(--lime-tief); }

/* ---- Lead-Trichter: Fenster zum Demo-Buchen aus der Buehne (16.10.2026) ---- */
.lt-offen { overflow: hidden; }
.lt-overlay { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px;
  background: rgba(8, 14, 11, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: lt-ein .18s ease; }
@keyframes lt-ein { from { opacity: 0 } to { opacity: 1 } }
.lt-karte { position: relative; width: min(460px, 100%); background: var(--flaeche, #fff); color: var(--tinte, #101915);
  border-radius: 16px; padding: 28px 28px 24px; box-shadow: 0 24px 70px rgba(8, 14, 11, .45); animation: lt-auf .22s cubic-bezier(.2,.9,.3,1.2); }
@keyframes lt-auf { from { transform: translateY(12px) scale(.98); opacity: 0 } to { transform: none; opacity: 1 } }
.lt-zu { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent;
  font-size: 24px; line-height: 1; color: var(--tinte-3, #5F6C66); cursor: pointer; }
.lt-zu:hover { background: var(--linie-2, #E6EBE8); color: var(--tinte, #101915); }
.lt-titel { font-size: clamp(22px, 3vw, 28px); line-height: 1.1; margin: 0 40px 6px 0; letter-spacing: -.02em; }
.lt-sub { margin: 0 0 16px; color: var(--tinte-2, #3B4842); line-height: 1.45; }
.lt-frage { margin: 0 0 16px; padding: 10px 12px; background: var(--papier, #F2F4F3); border-radius: 10px; font-size: 14px; line-height: 1.4; }
.lt-frage span { color: var(--tinte-3, #5F6C66); }
.lt-form { display: flex; flex-direction: column; gap: 12px; }
.lt-feld { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--tinte-2, #3B4842); }
.lt-feld em { color: var(--tinte-3, #5F6C66); font-style: normal; }
.lt-feld input { font: inherit; font-size: 16px; padding: 11px 13px; border: 1px solid var(--linie, #D6DDD9); border-radius: 10px; background: var(--flaeche, #fff); color: var(--tinte, #101915); }
.lt-feld input:focus { outline: 2px solid var(--lime, #80B507); outline-offset: 1px; border-color: var(--lime, #80B507); }
.lt-honig { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lt-senden { margin-top: 4px; width: 100%; justify-content: center; cursor: pointer; }
.lt-senden[disabled] { opacity: .6; cursor: default; }
.lt-fehler { margin: 2px 0 0; font-size: 14px; color: #c0392b; }
.lt-fehler a { color: inherit; }
.lt-danke { text-align: center; padding: 14px 4px 6px; }
.lt-haken { width: 54px; height: 54px; margin: 2px auto 12px; border-radius: 50%; background: var(--lime-hell, #EEF6D8); color: var(--lime-tief, #466600); display: grid; place-items: center; font-size: 28px; }
.lt-danke h2 { font-size: 22px; margin: 0 0 6px; }
.lt-danke p { margin: 0; color: var(--tinte-2, #3B4842); }
@media (max-width: 480px) { .lt-karte { padding: 24px 20px 20px; border-radius: 14px; } }

/* Die Buchung auf der Reel-Buehne (Karte + echter Kumpel) macht das Reel selbst (held.css: .held-buchung,
   .hb2-karte). Hier nur noch die Formular-Teile (.lt-*), die die Karte wiederverwendet. */
.hb2-karte .lt-titel { font-size: clamp(22px, 2.4vw, 26px); }
.lt-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .lt-zwei { grid-template-columns: 1fr; } }
