/* Videoreihe mit Player im Fenster (Nutzer 20.11.2026, static/video-reihe.js). Nur Grautöne/Anthrazit. HTML, CSS und JS liegen hier, nur das Video kommt von YouTube. */
.video-reihe { --vr-bg: #f6f7f9; --vr-card: #fff; --vr-ink: #1c2230; --vr-muted: #5d6678; --vr-line: #dde1e8; --vr-accent: #374151; --vr-on: #e5e7eb; --vr-seg: #e3e6eb;
  --vr-g1: #9ca3af; --vr-g2: #6b7280; --vr-g3: #374151; margin: 1.6em 0; }
.vr-hulle { --vr-bg: #f6f7f9; --vr-card: #fff; --vr-ink: #1c2230; --vr-muted: #5d6678; --vr-line: #dde1e8; --vr-accent: #374151; --vr-on: #e5e7eb; --vr-seg: #e3e6eb;
  --vr-g1: #9ca3af; --vr-g2: #6b7280; --vr-g3: #374151; }
@media (prefers-color-scheme: dark) {
  .video-reihe, .vr-hulle { --vr-bg: #12161d; --vr-card: #1b212b; --vr-ink: #e8ecf3; --vr-muted: #9aa4b6; --vr-line: #2c3441; --vr-accent: #d1d5db; --vr-on: #2c3441; --vr-seg: #2c3441;
    --vr-g1: #6b7280; --vr-g2: #9ca3af; --vr-g3: #d1d5db; color-scheme: dark; }
}
.video-reihe *, .vr-hulle * { box-sizing: border-box; }
/* Seite: Klick-Fassade */
.vr-fassade { background: var(--vr-card); border: 1px solid var(--vr-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 12px; color: var(--vr-ink); }
.vr-poster { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; border-radius: 8px; overflow: hidden; cursor: pointer; aspect-ratio: 16 / 9; }
.vr-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vr-poster .vr-go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.vr-poster:hover .vr-go { transform: translate(-50%, calc(-50% - 1px)); }
.vr-poster:focus-visible { outline: 3px solid var(--vr-accent); outline-offset: 3px; }
.video-reihe .vr-hinweis, .video-reihe .vr-links { margin: 0; font-size: .82rem; color: var(--vr-muted); }
.vr-links { font-size: .92rem; display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; color: var(--vr-muted); }
.vr-links a { color: var(--vr-accent); }
.vr-zeile { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
/* Knöpfe */
.vr-hulle button, .video-reihe button { font: inherit; }
.vr-go { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; border: 0; border-radius: 999px; padding: 12px 24px 12px 16px; font-weight: 600; font-size: 1.05rem; color: #fff; cursor: pointer;
  background: linear-gradient(90deg, #9ca3af, #6b7280 55%, #374151); box-shadow: 0 6px 18px rgba(31, 41, 55, .25); transition: transform .15s, box-shadow .15s; }
.vr-go:hover { transform: translateY(-1px); box-shadow: 0 8px 22px rgba(31, 41, 55, .32); }
.vr-go:focus-visible { outline: 3px solid var(--vr-accent); outline-offset: 3px; }
.vr-go .vr-pl { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.vr-go svg { width: 16px; height: 16px; fill: #fff; }
.vr-go small { font-weight: 500; opacity: .9; font-size: .88rem; }
.vr-kurz { border: 1px solid color-mix(in srgb, var(--vr-accent) 45%, var(--vr-line)); border-radius: 999px; padding: 8px 16px; font-size: .92rem; background: transparent; color: var(--vr-accent); cursor: pointer; }
.vr-kurz:hover { background: var(--vr-on); }
.vr-kurz.on { background: var(--vr-on); border-color: var(--vr-accent); }
.vr-kurz:focus-visible { outline: 2px solid var(--vr-accent); outline-offset: 2px; }
/* Fenster */
.vr-hulle { position: fixed; inset: 0; z-index: 100000; background: rgba(15, 17, 22, .72); display: flex; align-items: center; justify-content: center; padding: 12px; color: var(--vr-ink); font-family: inherit; }
.vr-fenster { position: relative; width: min(1180px, 100%); max-height: 100%; overflow: auto; background: var(--vr-bg); border: 1px solid var(--vr-line); border-radius: 14px; padding: 48px 14px 14px;
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; align-items: start; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); }
.vr-fenster:focus { outline: none; }
.vr-kopfzeile { position: absolute; left: 16px; right: 100px; top: 8px; height: 36px; display: flex; align-items: center; font-weight: 600; font-size: 1rem; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.vr-ecke { position: absolute; top: 8px; right: 10px; display: flex; gap: 6px; }
.vr-ecke button { width: 36px; height: 36px; padding: 0; display: grid; place-items: center; border: 1px solid var(--vr-line); border-radius: 50%; background: var(--vr-card); color: var(--vr-ink); cursor: pointer; }
.vr-ecke button:hover { background: var(--vr-on); }
.vr-ecke button:focus-visible { outline: 2px solid var(--vr-accent); outline-offset: 2px; }
.vr-ecke svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vr-box { background: var(--vr-card); border: 1px solid var(--vr-line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.vr-bild { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.vr-bild iframe, .vr-bild > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.vr-meldung { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; color: #e5e7eb; font-size: .95rem; background: rgba(0, 0, 0, .55); }
.vr-meldung[hidden] { display: none; }
.vr-meldung a { color: #fff; }
.vr-unter { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; flex-wrap: wrap; }
.vr-txt { min-width: 0; flex: 1 1 220px; display: flex; flex-direction: column; gap: 4px; }
.vr-jetzt { font-weight: 600; margin: 0; }
.vr-wer { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--vr-muted); min-height: 26px; }
.vr-deck { display: inline-flex; flex: none; border: 1px solid var(--vr-line); border-radius: 10px; overflow: hidden; background: var(--vr-card); }
.vr-deck button { width: 40px; height: 36px; padding: 0; display: grid; place-items: center; border: 0; border-radius: 0; background: transparent; color: var(--vr-muted); cursor: pointer; }
.vr-deck button + button { border-left: 1px solid var(--vr-line); }
.vr-deck button:hover { background: var(--vr-on); color: var(--vr-ink); }
.vr-deck button.on { background: var(--vr-on); color: var(--vr-accent); box-shadow: inset 0 2px 4px rgba(0, 0, 0, .12); }
.vr-deck button:focus-visible { outline: 2px solid var(--vr-accent); outline-offset: -2px; }
.vr-deck svg { width: 15px; height: 15px; fill: currentColor; }
.vr-segs { display: flex; gap: 4px; height: 14px; }
.vr-seg { flex: var(--w) 1 0; background: var(--vr-seg); border-radius: 7px; overflow: hidden; cursor: pointer; position: relative; padding: 0; border: 0; min-width: 0; }
.vr-seg i { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--vr-muted); border-radius: 7px; }
.vr-seg.haupt { background: color-mix(in srgb, var(--vr-accent) 24%, var(--vr-seg)); }
.vr-seg.haupt i { background: linear-gradient(90deg, var(--vr-g1), var(--vr-g2), var(--vr-g3)); }
.vr-seg[aria-current="true"] { outline: 2px solid color-mix(in srgb, var(--vr-muted) 55%, transparent); outline-offset: 1px; }
.vr-seg[disabled] { cursor: default; opacity: .35; }
.vr-seg:focus-visible { outline: 2px solid var(--vr-accent); outline-offset: 2px; }
.vr-pinfo { display: flex; justify-content: space-between; margin-top: 6px; font-size: .88rem; color: var(--vr-muted); }
.vr-pinfo b { color: var(--vr-ink); }
.vr-modus { margin: 0; font-size: .88rem; color: var(--vr-muted); }
.vr-hulle .vr-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.vr-hulle .vr-liste li { margin: 0; padding: 0; list-style: none; }
.vr-hulle .vr-liste li::marker { content: none; }
.vr-liste button { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 12px; border: 1px solid var(--vr-line); border-radius: 8px; background: var(--vr-card); color: var(--vr-ink); cursor: pointer; font-size: .92rem; }
.vr-liste button.haupt { background: color-mix(in srgb, var(--vr-accent) 7%, var(--vr-card)); border-color: color-mix(in srgb, var(--vr-accent) 22%, var(--vr-line)); }
.vr-liste button[aria-current="true"] { background: var(--vr-on); border-color: var(--vr-muted); }
.vr-liste button:focus-visible { outline: 2px solid var(--vr-accent); outline-offset: 2px; }
.vr-liste button[disabled] { opacity: .5; cursor: default; }
.vr-liste .vr-rechts { display: flex; align-items: center; gap: 10px; flex: none; }
.vr-t { color: var(--vr-muted); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .85rem; }
.vr-ic { display: inline-flex; gap: 4px; align-items: center; }
.vr-ic i { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, currentColor 14%, transparent); }
.vr-ic svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.vr-legende { display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-auto-columns: max-content; gap: 6px 10px; align-items: center; font-size: .78rem; color: var(--vr-muted); border-top: 1px solid var(--vr-line); padding-top: 12px; margin-top: 6px; justify-content: start; }
.vr-legende > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.vr-legende .vr-ic i { width: 22px; height: 22px; }
/* Symbole: Grautöne mit je eigener Helligkeit, damit sie unterscheidbar bleiben */
.c-all { color: #6b7280; } .c-sup { color: #4b5563; } .c-tech { color: #374151; } .c-pl { color: #7b8494; } .c-pm { color: #1f2937; } .c-sales { color: #8b93a1; } .c-info { color: #9aa4b6; }
@media (prefers-color-scheme: dark) { .c-all { color: #9ca3af; } .c-sup { color: #b4bac4; } .c-tech { color: #d1d5db; } .c-pl { color: #8b93a1; } .c-pm { color: #e5e7eb; } .c-sales { color: #a0a7b3; } .c-info { color: #9aa4b6; } }
/* Vollbild: Fenster füllt den Bildschirm, das Video nimmt so viel Höhe wie möglich */
.vr-hulle.vr-voll { padding: 0; }
.vr-hulle.vr-voll .vr-fenster { width: 100%; height: 100%; max-width: none; border-radius: 0; border: 0; grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr); }
.vr-hulle.vr-voll .vr-bild { aspect-ratio: auto; height: min(62vh, 56.25vw * .75); min-height: 200px; }
@media (max-width: 820px) {
  .vr-fenster { grid-template-columns: minmax(0, 1fr); }
  .vr-hulle.vr-voll .vr-fenster { grid-template-columns: minmax(0, 1fr); }
  .vr-hulle.vr-voll .vr-bild { height: auto; aspect-ratio: 16 / 9; }
  .vr-legende { grid-template-rows: repeat(5, auto); }
}
@media (max-width: 520px) { .vr-hulle { padding: 0; } .vr-fenster { border-radius: 0; width: 100%; height: 100%; padding-inline: 10px; } .vr-go { font-size: .95rem; padding: 10px 18px 10px 12px; } }
html.vr-offen { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .vr-go { transition: none; } }
