.hero .hero-content h1 {
  max-inline-size: 20ch;
  text-wrap: balance;
}
@media (min-width: 981px) {
  .hero .hero-content h1 { max-inline-size: min(20ch, 48vw); }
}
.hero-film {
  position: absolute;
  inset: 0 0 0 auto;
  width: 56%;
  overflow: hidden;
  background: #071e38 url('/assets/happypress-brochure-poster.webp?v=kaartglimlach') center 50% / cover no-repeat;
}
.hero-film video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.hero-film video[hidden], .hero-film-toggle[hidden] { display: none; }
.hero-film::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, #071e38 0%, rgb(7 30 56 / 70%) 7%, transparent 26%);
}
.hero-film-toggle {
  position: absolute;
  z-index: 2;
  bottom: 64px;
  right: max(22px, 2vw);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid rgb(255 255 255 / 65%);
  border-radius: 24px;
  background: #071e38;
  color: white;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.hero-film-toggle:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.hero-film-toggle svg { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.hero-film-toggle[data-playing='true'] .film-play, .hero-film-toggle[data-playing='false'] .film-pause { display: none; }
@media (min-width: 1800px) {
  .hero:has(.hero-film) { min-height: clamp(590px, 30vw, 750px); }
}
@media (max-width: 980px) {
  .hero:has(.hero-film) { display: flex; flex-direction: column; min-height: 0; }
  .hero .hero-content { order: -1; padding: 36px 0 28px; }
  .hero-film { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 9; }
  .hero-film::after { background: linear-gradient(180deg, rgb(7 30 56 / 26%), transparent 18%); }
  .hero-film-toggle { bottom: 43px; right: 14px; }
}
