/* Film-afspiller ("Konceptet på 30 sekunder") — delt af boligvideo og branche-siderne. */
.bv-film .section-head p { max-width: 720px; margin-left: auto; margin-right: auto; }
.bv-film-frame { position: relative; margin: 0 auto; max-width: 1080px; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #0a0a0a; border: 1px solid var(--border); box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.8); cursor: pointer; }
/* Let slør over billedet, så play-knappen altid står klart — forsvinder når filmen kører */
.bv-film-frame::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 75% 75% at 50% 50%, rgba(0,0,0,0.10), rgba(0,0,0,0.52)); transition: opacity 0.35s ease; }
.bv-film-frame.is-playing::before { opacity: 0; }
/* Tydelig ramme der lyser op ved hover */
.bv-film-frame::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10); transition: box-shadow 0.3s ease; }
.bv-film-frame:hover::after { box-shadow: inset 0 0 0 2px rgba(255,255,255,0.26); }
.bv-film-video { display: block; width: 100%; height: 100%; object-fit: cover; background: #0a0a0a; }
.bv-film-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 14px; padding: 18px 32px 18px 24px; border-radius: 999px; background: rgba(242, 242, 242, 0.97); color: #0a0a0a; font: 600 17px/1 var(--font-sans); box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7); transition: transform 0.2s ease, opacity 0.2s ease; z-index: 2; animation: bvFilmPulse 2.8s ease-in-out infinite; }
.bv-film-play:hover, .bv-film-frame:hover .bv-film-play { transform: translate(-50%, -50%) scale(1.07); animation-play-state: paused; }
@keyframes bvFilmPulse {
  0%, 100% { box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 0 rgba(242, 242, 242, 0.42); }
  55%      { box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7), 0 0 0 18px rgba(242, 242, 242, 0); }
}
.bv-film-play:focus-visible { outline: 2px solid #34d399; outline-offset: 3px; }
.bv-film-play svg { width: 34px; height: 34px; }
.bv-film-frame.is-playing { cursor: default; }
.bv-film-frame.is-playing .bv-film-play { opacity: 0; pointer-events: none; animation: none; }
.bv-film-hastighed { position: absolute; right: 16px; top: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(10, 10, 10, 0.72); color: #f2f2f2; font: 500 13px/1 var(--font-sans); z-index: 4; box-shadow: 0 8px 24px -10px rgba(0,0,0,.7); }
.bv-film-frame.is-playing .bv-film-hastighed { opacity: 0; pointer-events: none; }
.bv-film-hastighed select { background: transparent; border: none; color: inherit; font: inherit; cursor: pointer; }
.bv-film-hastighed select option { background: #0a0a0a; color: #f2f2f2; }
.bv-film-tip { margin: 18px auto 0; max-width: 720px; text-align: center; font-size: 13.5px; color: var(--text-3); }
.bv-film-tip strong { color: var(--text-2); font-weight: 600; }
@media (max-width: 640px) {
  .bv-film-frame { border-radius: 12px; }
  .bv-film-play { padding: 14px 22px 14px 16px; font-size: 15px; gap: 10px; }
  .bv-film-play svg { width: 26px; height: 26px; }
  .bv-film-hastighed { right: 10px; top: 10px; font-size: 12px; padding: 6px 10px; }
  .bv-film-tip { font-size: 12.5px; margin-top: 14px; }
}
