/* ==========================================================================
   Startseite: zwei Videos mit Umschalter (bd-sv-*) — Salih 24.11.2026, Variante A
   Ausgabe: front-page.php · Verhalten: js/bd-startseite-video.js
   Videos liegen auf der Medien-Adresse (bd_media_url) → kein YouTube, keine Zustimmung nötig.
   Der Umschalter ist eine Auswahl zwischen zwei Videos (kein Lektions-Reiter), deshalb Schalterform.
   ========================================================================== */

.bd-sv-kopf { margin-bottom: 22px; }
.bd-sv-kopf h2 { margin-bottom: 6px; }
.bd-sv-kopf p { color: #6b7774; margin: 0; }

/* Schalter: beige Schiene, gewähltes Feld weiß */
.bd-sv-schalter { display: inline-flex; gap: 4px; padding: 6px; margin-bottom: 26px; border-radius: 999px; background: #f0ebe2; }
.bd-sv-wahl { display: flex; align-items: center; gap: 10px; padding: 12px 30px; border-radius: 999px; font-weight: 700; color: #4c5a57; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.bd-sv-wahl i { font-size: 1.25rem; }
.bd-sv-wahl:hover { color: #007060; }
.bd-sv-wahl.is-aktiv { background: #fff; color: #008979; box-shadow: 0 4px 14px rgba(0, 0, 0, .10); }
.bd-sv-wahl:focus-visible { outline: 3px solid #008979; outline-offset: 2px; }

/* Videofenster 16:9 */
.bd-sv-fenster { position: relative; aspect-ratio: 16 / 9; border-radius: .75rem; overflow: hidden; background: #f0ebe2; box-shadow: 0 20px 50px rgba(0, 0, 0, .12); }
.bd-sv-fenster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #f0ebe2; }
.bd-sv-start { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.bd-sv-start span { display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; color: #1d3b34; font-size: 3rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.bd-sv-start:hover span, .bd-sv-start:focus-visible span { transform: scale(1.06); }
.bd-sv-start:focus-visible { outline: none; }
.bd-sv-fenster.is-laeuft .bd-sv-start { display: none; }

.bd-sv-hinweis { margin: 12px 0 0; font-size: .85rem; color: #1d3b34; opacity: .75; }

@media (max-width: 575px) {
  .bd-sv-schalter { display: flex; width: 100%; }
  .bd-sv-wahl { flex: 1 1 50%; justify-content: center; padding: 11px 6px; font-size: .88rem; white-space: nowrap; }
  .bd-sv-wahl i { display: none; } /* auf dem Handy kein Platz: Text bleibt einzeilig */
  .bd-sv-start span { width: 68px; height: 68px; font-size: 2.2rem; }
}
