/* Vorführung: Erzähltext links, Produktoberfläche rechts (1180 px Entwurfsbreite, skaliert per JS) */
.vf-body { background: #060907; }
.vf-kopf { background: rgba(6,9,7,.82) !important; }
.vf-kopf__titel { margin: 0 auto; color: var(--text-dim); font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 24px; }
.vf-fortschritt { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255,255,255,.08); }
.vf-fortschritt i { display: block; height: 100%; width: 0; background: var(--wasabi); transition: width .5s cubic-bezier(.2,.7,.2,1); }
.vf-auto[aria-pressed="true"] { background: rgba(155,197,61,.18); border-color: rgba(155,197,61,.5); color: #c9e37a; }

.vf { padding: calc(var(--kopf) + 36px) 24px 40px; min-height: 100svh; }
.vf__raster { display: grid; grid-template-columns: 330px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 44px; row-gap: 28px; align-items: start; }
.szene { display: none; }
.szene.aktiv { display: contents; }
.szene__text { grid-column: 1; grid-row: 1; animation: vf-ein .5s cubic-bezier(.2,.7,.2,1) both; }
.szene__bild { grid-column: 2; grid-row: 1 / 3; min-width: 0; animation: vf-ein .6s .05s cubic-bezier(.2,.7,.2,1) both; }
.vf__nav { grid-column: 1; grid-row: 2; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
@keyframes vf-ein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.vf-kicker { margin: 0 0 14px; color: var(--sage); font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.vf-kicker span { font-family: var(--font-mono); color: #fff; }
.vf-titel { margin: 0; font-size: 30px; line-height: 1.12; letter-spacing: -.02em; font-weight: 500; text-wrap: balance; }
.vf-absatz { margin: 16px 0 0; color: var(--text-dim); font-size: 16px; font-weight: 400; line-height: 1.55; }
.vf-punkte { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.vf-punkte li { position: relative; padding-left: 18px; color: rgba(255,255,255,.78); font-size: 14px; font-weight: 400; line-height: 1.45; }
.vf-punkte li::before { content: ""; position: absolute; left: 0; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--wasabi); }
.vf-punkte-leer { display: none; }
.vf-punkte .vf-punkte__li { display: none; }
.vf-tipp { width: 100%; margin: 6px 0 0; color: var(--text-faint); font-size: 12px; font-weight: 400; }
.vf-punkte-nav { display: none; }
.vf-punkte[role="tablist"] { display: flex; gap: 6px; margin: 0; padding: 0 2px; }
.vf-punkte[role="tablist"] button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: transparent; cursor: pointer; }
.vf-punkte[role="tablist"] button.ist { background: var(--wasabi); border-color: var(--wasabi); }
.vf-punkte[role="tablist"] button.war { background: rgba(255,255,255,.35); border-color: transparent; }
.vf-punkte[role="tablist"] button:hover { border-color: #fff; }
.vf__nav .knopf[disabled] { opacity: .35; pointer-events: none; }

/* Bild: Rahmen bekommt per JS die skalierte Höhe */
.vf-rahmen { position: relative; }
.vf-app { width: 1180px; transform-origin: 0 0; margin: 0; }
.vf-app .app__body { min-height: 640px; overflow: hidden; }
.vf-app .app__seite { position: relative; overflow: hidden; }
.vf-app .app__seite::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(8,12,9,0), rgba(8,12,9,.95)); pointer-events: none; }
.vf-app .app__search { width: 200px; }
.vf-uhr { color: #777a88; font-variant-numeric: tabular-nums; }
.vf-main { padding: 18px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.vf-main .panel { min-width: 0; }
.vf-main .ui__titel { margin-bottom: 8px; }
.vf-zwei { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; align-items: start; }
.vf-zwei--gleich { grid-template-columns: 1fr 1fr; }
.vf-zwei--breit { grid-template-columns: 1.9fr 1fr; }
.vf-drei { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 14px; align-items: start; }
.vf-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vf-kpis--klein { margin-bottom: 10px; gap: 10px; }
.vf-kpi { background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 12px 14px; display: grid; gap: 2px; }
.vf-kpi small { color: #9194a1; font-size: 12px; }
.vf-kpi b { font-size: 24px; font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: #fff; }
.vf-kpis--klein .vf-kpi b { font-size: 18px; }
.vf-kpi span { color: #777a88; font-size: 11px; }
.gruen { color: #c9e37a !important; }

/* Status-Chips auf Dunkel */
.vf-app .st { display: inline-block; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 6px; white-space: nowrap; font-style: normal; }
.vf-app .st-amber { color: #fbd38d; background: rgba(217,119,6,.22); }
.vf-app .st-red { color: #fca5a5; background: rgba(220,38,38,.22); }
.vf-app .st-violet { color: #d8ccff; background: rgba(124,58,237,.25); }
.vf-app .st-magenta { color: #f5c6fb; background: rgba(192,38,211,.22); }
.vf-app .st-teal { color: #8fd9cf; background: rgba(15,118,110,.3); }
.vf-app .st-blau { color: #bfd4ff; background: rgba(37,99,235,.25); }

/* Tabellenraster */
.vf-th4 { grid-template-columns: 1.2fr 1.3fr 1.3fr 1fr !important; }
.vf-th5 { grid-template-columns: 1.7fr 1fr 1fr 1.1fr 1fr !important; }
.vf-th5b { grid-template-columns: 1fr 2.4fr .9fr 1.1fr 1.3fr !important; }
.vf-app .ui__tr small { color: #9194a1; font-size: 11px; }
.vf-app .ui__tr.warn span:nth-child(4) b { color: #fbd38d; }

/* Bausteine */
.vf-knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vf-knopf { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 7px; background: #f5f5f5; color: #0c1116; font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.vf-knopf--ghost { background: transparent; color: #e2e3e9; border: 1px solid rgba(255,255,255,.22); }
.vf-knopf--klein { height: 26px; padding: 0 10px; font-size: 12px; }
.vf-knopf.rechts, .rechts { margin-left: auto; }
.vf-hinweis { margin: 12px 0 0; color: #9194a1; font-size: 11.5px; line-height: 1.45; }
.vf-pipeline { display: flex; gap: 6px; }
.vf-pipeline span { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.1); color: #9194a1; font-size: 12.5px; position: relative; }
.vf-pipeline span.ist { color: #fff; border-color: rgba(155,197,61,.5); background: rgba(155,197,61,.08); }
.vf-pipeline span i { font-style: normal; font-variant-numeric: tabular-nums; color: #c9e37a; }
.vf-filter { display: flex; gap: 6px; align-items: center; }
.vf-filter > span { padding: 5px 10px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: #9194a1; font-size: 12px; }
.vf-filter > span.aktiv { background: rgba(255,255,255,.1); color: #fff; }
.vf-filter > .vf-knopf { border-radius: 7px; padding: 0 12px; }
.vf-pillen { display: inline-flex; gap: 0; padding: 0 !important; border: 1px solid rgba(255,255,255,.14) !important; overflow: hidden; }
.vf-pillen b, .vf-pillen span { padding: 4px 10px; font-weight: 500; }
.vf-pillen b { background: rgba(255,255,255,.1); color: #fff; }
.vf-balken { display: inline-block; vertical-align: middle; width: 70px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.vf-balken i { display: block; height: 100%; background: #9bc53d; border-radius: 3px; }
.vf-doc { background: #f4f3ee; color: #1b1f1a; border-radius: 10px; padding: 22px 24px; font-size: 12.5px; line-height: 1.55; font-weight: 400; min-height: 100%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.vf-doc__kopf { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid rgba(0,0,0,.12); padding-bottom: 10px; margin-bottom: 12px; }
.vf-doc__kopf b { font-size: 14px; } .vf-doc__kopf span { color: #5d655c; font-size: 11.5px; }
.vf-doc p { margin: 0 0 7px; } .vf-doc b { font-weight: 600; }
.vf-doc .mark { background: rgba(155,197,61,.3); border-radius: 4px; padding: 2px 6px; margin-left: -6px; display: inline-block; }
.vf-doc .klein { margin-top: 14px; color: #7b8279; font-size: 11px; }
.vf-felder { display: grid; gap: 6px; }
.vf-felder > div { display: grid; grid-template-columns: 110px 1fr 70px 40px; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.07); }
.vf-felder small { color: #9194a1; font-size: 11.5px; } .vf-felder b { font-weight: 500; color: #fff; } .vf-felder em { font-style: normal; color: #9194a1; font-size: 11.5px; text-align: right; font-variant-numeric: tabular-nums; }
.vf-felder .unsicher .vf-balken i { background: #fbd38d; } .vf-felder .unsicher em { color: #fbd38d; }
.vf-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vf-checks li { position: relative; padding: 9px 12px 9px 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.07); display: grid; gap: 2px; }
.vf-checks li::before { content: "✓"; position: absolute; left: 12px; top: 9px; width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; background: rgba(15,118,110,.35); color: #8fd9cf; }
.vf-checks li.warn::before { content: "!"; background: rgba(217,119,6,.3); color: #fbd38d; }
.vf-checks b { font-weight: 500; color: #fff; } .vf-checks span { color: #9194a1; font-size: 12px; }
.vf-checks.klein li { padding: 6px 10px 6px 32px; } .vf-checks.klein li::before { top: 7px; left: 10px; }
.vf-karte { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; }
.vf-karte i { width: 32px; height: 32px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; font-style: normal; font-size: 11px; color: #c9e37a; flex: none; }
.vf-karte > div { flex: 1; min-width: 0; } .vf-karte b { display: block; font-weight: 500; color: #fff; } .vf-karte span { color: #9194a1; font-size: 12px; }
.vf-karte.dim { opacity: .55; }
.vf-kopfzeile { display: flex; align-items: center; gap: 16px; padding: 4px 2px; }
.vf-kopfzeile > div:first-child { flex: 1; display: grid; gap: 2px; }
.vf-kopfzeile small { color: #9194a1; font-size: 12px; } .vf-kopfzeile b { font-size: 20px; font-weight: 500; letter-spacing: -.01em; color: #fff; } .vf-kopfzeile > div > span { color: #acafb9; font-size: 12.5px; }
.vf-kopfzeile .vf-knoepfe { margin: 0; }
.vf-reiter { display: flex; gap: 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
.vf-reiter span { padding: 8px 12px; color: #9194a1; font-size: 13px; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.vf-reiter span.aktiv { color: #fff; border-bottom-color: #9bc53d; }
.vf-reiter i { font-style: normal; font-size: 11px; color: #c9e37a; margin-left: 5px; }
.vf-diff { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.vf-diff > div { display: grid; gap: 2px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); }
.vf-diff small { color: #9194a1; font-size: 11px; } .vf-diff b { font-size: 20px; font-weight: 500; color: #fff; } .vf-diff span { color: #9194a1; font-size: 11px; }
.vf-diff .pfeil { border: 0; padding: 0; color: #c9e37a; font-size: 18px; }
.vf-regel { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; }
.vf-regel > div { flex: 1; } .vf-regel b { display: block; font-weight: 500; color: #fff; } .vf-regel span { color: #9194a1; font-size: 12px; line-height: 1.45; }
.vf-regel i { font-style: normal; color: #c9e37a; border: 1px solid rgba(201,227,122,.35); border-radius: 4px; padding: 0 5px; }
.vf-regel.dim { opacity: .6; }
.vf-log, .vf-audit, .vf-timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.vf-log li, .vf-audit li { display: flex; gap: 10px; padding: 7px 10px; border-radius: 7px; border: 1px solid rgba(255,255,255,.06); color: #acafb9; font-size: 12.5px; line-height: 1.4; }
.vf-log li span, .vf-audit li span { font-family: var(--font-mono); font-size: 11px; color: #777a88; flex: none; width: 56px; padding-top: 1px; }
.vf-log li b, .vf-audit li b { color: #fff; font-weight: 500; }
.vf-log li.offen { border-style: dashed; color: #fbd38d; }
.vf-audit li { border-left: 2px solid rgba(155,197,61,.5); border-radius: 0 7px 7px 0; }
.vf-timeline li { position: relative; padding: 7px 10px 7px 30px; color: #acafb9; font-size: 12.5px; }
.vf-timeline li::before { content: ""; position: absolute; left: 10px; top: 12px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.vf-timeline li.ok::before { background: #9bc53d; border-color: #9bc53d; } .vf-timeline li.aktiv::before { border-color: #fbd38d; background: rgba(251,211,141,.3); }
.vf-timeline li span { font-family: var(--font-mono); font-size: 11px; color: #777a88; margin-right: 8px; } .vf-timeline li b { color: #fff; font-weight: 500; }
.vf-wege { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-bottom: 12px; }
.vf-wege > div { padding: 8px 10px; border-radius: 8px; border: 1px solid rgba(255,255,255,.08); display: grid; gap: 2px; color: #9194a1; font-size: 11px; }
.vf-wege b { color: #acafb9; font-weight: 500; font-size: 12.5px; }
.vf-wege > div.aktiv { border-color: rgba(155,197,61,.5); background: rgba(155,197,61,.08); } .vf-wege > div.aktiv b { color: #fff; }
.vf-bars { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; align-items: end; height: 150px; padding-top: 10px; }
.vf-bars > div { display: grid; grid-template-rows: 1fr auto auto; height: 100%; align-items: end; justify-items: center; gap: 4px; }
.vf-bars i { display: block; width: 100%; height: calc(var(--h) * 1% - 2%); background: rgba(255,255,255,.14); border-radius: 4px 4px 0 0; align-self: end; }
.vf-bars .neu i { background: #9bc53d; } .vf-bars b { font-weight: 500; font-size: 12px; color: #fff; } .vf-bars small { color: #777a88; font-size: 10.5px; }
.vf-band__skala { display: flex; justify-content: space-between; color: #777a88; font-size: 11px; margin-bottom: 6px; }
.vf-band__spur { position: relative; height: 54px; border-radius: 6px; background: rgba(255,255,255,.05); margin-bottom: 10px; }
.vf-band__spur .band { position: absolute; top: 18px; height: 18px; border-radius: 4px; background: rgba(155,197,61,.35); }
.vf-band__spur .marker { position: absolute; top: 8px; width: 2px; height: 38px; background: #fbd38d; }
.vf-band__spur .marker span { position: absolute; top: -4px; left: 6px; white-space: nowrap; font-size: 11px; font-weight: 500; color: #fbd38d; }
.vf-band__spur .marker.alt { background: #c9e37a; } .vf-band__spur .marker.alt span { color: #c9e37a; top: 26px; }
.vf-band p { margin: 0; color: #acafb9; font-size: 12px; }
.vf-empfehlung { display: flex; align-items: center; gap: 16px; padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(155,197,61,.45); background: rgba(155,197,61,.08); }
.vf-empfehlung > div { flex: 1; display: grid; gap: 2px; } .vf-empfehlung b { color: #fff; font-weight: 500; } .vf-empfehlung span:not(.vf-knopf) { color: #acafb9; font-size: 12.5px; }
.vf-tarife { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.vf-tarif { padding: 16px 18px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); display: grid; gap: 8px; align-content: start; }
.vf-tarif.bestand { opacity: .78; }
.vf-tarif small { color: #9194a1; font-size: 11.5px; } .vf-tarif > b { font-weight: 500; color: #fff; font-size: 15px; }
.vf-tarif .preis { font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: #fff; display: grid; } .vf-tarif .preis span { font-size: 11.5px; color: #c9e37a; letter-spacing: 0; }
.vf-tarif ul { margin: 4px 0 6px; padding: 0; list-style: none; display: grid; gap: 4px; color: #acafb9; font-size: 12.5px; }
.vf-tarif li::before { content: "· "; color: #9bc53d; } .vf-tarif li.minus { color: #fbd38d; }
.vf-tarif .vf-knopf { justify-self: start; }

/* Lichtmarkierung des jeweils wichtigen Elements */
.vf-app .licht { position: relative; box-shadow: 0 0 0 2px #9bc53d, 0 0 0 7px rgba(155,197,61,.18); border-radius: 8px; animation: vf-puls 2.2s ease-in-out infinite; }
.vf-app .ui__tr.licht { border-radius: 8px; padding-left: 8px; padding-right: 8px; margin: 2px -8px; background: rgba(155,197,61,.06); }
.vf-app li.licht { border-radius: 8px; }
@keyframes vf-puls { 0%, 100% { box-shadow: 0 0 0 2px #9bc53d, 0 0 0 7px rgba(155,197,61,.18); } 50% { box-shadow: 0 0 0 2px #9bc53d, 0 0 0 11px rgba(155,197,61,.06); } }

/* Schluss */
.szene__bild--schluss { align-self: stretch; }
.vf-schluss { display: grid; grid-template-columns: 1fr 1.25fr; gap: 32px; align-items: start; }
.vf-weg { margin: 0; padding: 0 0 0 20px; list-style: none; display: grid; gap: 0; position: relative; }
.vf-weg::before { content: ""; position: absolute; left: 4px; top: 8px; bottom: 8px; width: 1px; background: rgba(155,197,61,.5); }
.vf-weg li { position: relative; padding: 7px 0 7px 14px; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 400; }
.vf-weg li::before { content: ""; position: absolute; left: -20px; top: 12px; width: 9px; height: 9px; border-radius: 50%; background: #9bc53d; }
.vf-weg li span { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); margin-right: 10px; }
.vf-cta { background: var(--haze); color: var(--ink); border-radius: var(--r-card); padding: 28px 30px; }
.vf-cta .t-sub { color: var(--wasabi-tief); margin: 0 0 10px; }
.vf-cta h3 { margin: 0; font-size: 26px; line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.vf-cta p:not(.t-sub) { margin: 14px 0 0; color: #3b443a; font-weight: 400; font-size: 15px; line-height: 1.5; }
.vf-cta code { font-family: var(--font-mono); font-size: 13px; background: rgba(0,0,0,.06); padding: 1px 6px; border-radius: 4px; }
.vf-cta__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.vf-cta .knopf { border-color: var(--ink); color: var(--ink); } .vf-cta .knopf--haze { background: var(--ink); color: #fff; border-color: var(--ink); }

.vf-fuss { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; padding: 24px 24px 40px; color: var(--text-faint); font-size: 12px; font-weight: 400; }
.vf-fuss nav { display: flex; gap: 18px; } .vf-fuss a { color: var(--text-dim); text-decoration: none; }

@media (max-width: 1100px) { .vf__raster { grid-template-columns: 280px minmax(0, 1fr); column-gap: 28px; } .vf-titel { font-size: 26px; } }
@media (max-width: 900px) {
  .vf { padding-top: calc(var(--kopf) + 20px); }
  .vf__raster { grid-template-columns: 1fr; grid-template-rows: auto auto auto; row-gap: 20px; }
  .szene__text { grid-column: 1; grid-row: 1; } .szene__bild { grid-column: 1; grid-row: 2; } .vf__nav { grid-column: 1; grid-row: 3; }
  .vf-kopf__titel { display: none; }
  .vf-schluss { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .vf-titel { font-size: 24px; } .vf-tipp { display: none; } .vf-auto { display: none; } }
@media (max-width: 600px) { .vf { padding-left: 16px; padding-right: 16px; } .szene__bild:not(.szene__bild--schluss) { margin: 0 -16px; } .vf-app { border-radius: 0; } }
.app .vf-doc b, .app .vf-doc p { color: #1b1f1a; }
.vf-kopfzeile .vf-knoepfe .vf-knopf { color: #0c1116; } .vf-kopfzeile .vf-knoepfe .vf-knopf--ghost { color: #e2e3e9; }
