/* emsproto: Bedienleiste fuer Videos (r181, 25.11.2026): Play/Pause, Zeitleiste, Zeitanzeige, optional Ton. Logik in assets/js/videoleiste.js.
   Dunkle Leiste in Brandkit-Farben (Tinte #161514, Papier #F5F0EA, Orange #EB602B). Liegt unter dem Video: auf der Landingpage im Rahmen
   (Intro, „So laeuft dein Projekt.“), auf der Website als eigener Streifen unter dem Rahmen (BOM-Video, Ablauf-Video). Ohne JavaScript bleibt
   die Leiste verborgen (Klasse ist-aktiv fehlt). */
.videoleiste { display: none; align-items: center; gap: 8px; height: 44px; padding: 0 10px 0 4px; background: rgba(22, 21, 20, .96); color: #F5F0EA; font-family: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
.videoleiste.ist-aktiv { display: flex; }
.videoleiste--unter { margin-top: 10px; border-radius: 12px; }   /* Website: unter dem Rahmen */
.videoleiste__play, .videoleiste__ton { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #F5F0EA; cursor: pointer; transition: background-color .2s; }
.videoleiste__play:hover, .videoleiste__ton:hover { background: rgba(245, 240, 234, .14); }
.videoleiste__play:focus-visible, .videoleiste__ton:focus-visible, .videoleiste__zeit:focus-visible { outline: 3px solid #EB602B; outline-offset: 2px; }
.videoleiste__play svg, .videoleiste__ton svg { width: 20px; height: 20px; }
.videoleiste__pause-symbol, .videoleiste.laeuft .videoleiste__play-symbol { display: none; }
.videoleiste.laeuft .videoleiste__pause-symbol { display: block; }
.videoleiste__ton-an, .videoleiste.mit-ton .videoleiste__ton-aus { display: none; }
.videoleiste.mit-ton .videoleiste__ton-an { display: block; }
.videoleiste.mit-ton .videoleiste__ton { box-shadow: inset 0 0 0 2px #EB602B; }
/* Zeitleiste: Schieberegler mit orangem Fortschritt (--fortschritt setzt videoleiste.js) */
.videoleiste__zeit { -webkit-appearance: none; appearance: none; flex: 1 1 auto; min-width: 60px; height: 24px; margin: 0; padding: 0; background: transparent; cursor: pointer; }
.videoleiste__zeit::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: linear-gradient(90deg, #EB602B 0 var(--fortschritt, 0%), rgba(245, 240, 234, .28) var(--fortschritt, 0%) 100%); }
.videoleiste__zeit::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; margin-top: -6px; border: 2px solid #EB602B; border-radius: 50%; background: #F5F0EA; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.videoleiste__zeit::-moz-range-track { height: 4px; border-radius: 2px; background: rgba(245, 240, 234, .28); }
.videoleiste__zeit::-moz-range-progress { height: 4px; border-radius: 2px; background: #EB602B; }
.videoleiste__zeit::-moz-range-thumb { width: 12px; height: 12px; border: 2px solid #EB602B; border-radius: 50%; background: #F5F0EA; box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.videoleiste__stand { flex: none; min-width: 82px; font-size: .8125rem; line-height: 1; font-variant-numeric: tabular-nums; text-align: right; color: rgba(245, 240, 234, .85); }
@media (max-width: 419px) { .videoleiste { gap: 6px; padding-right: 8px; } .videoleiste__stand { min-width: 72px; font-size: .75rem; } }
@media print { .videoleiste { display: none !important; } }
