/* Separate video-hero prototype. This file is intentionally not part of v49. */
body.home .hero-video-test {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: #0a2540;
}

body.home .hero-video-test .hero-video-layer,
body.home .hero-video-test .hero-video-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.home .hero-video-test .hero-video-layer {
  z-index: 0;
  overflow: hidden !important;
}

body.home .hero-video-test .hero-video-player {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  border: 0 !important;
  outline: 0 !important;
  object-fit: cover !important;
  object-position: 50% 50% !important;
  transform: none !important;
  opacity: 0;
  background: transparent;
  transition: opacity 260ms ease;
}

body.home .hero-video-test .hero-video-player.is-ready {
  opacity: 1;
}

body.home .hero-video-test .hero-video-shade {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(6, 26, 44, 1) 0%,
      rgba(6, 26, 44, 0.99) 25%,
      rgba(6, 26, 44, 0.92) 34%,
      rgba(6, 26, 44, 0.72) 48%,
      rgba(6, 26, 44, 0.31) 68%,
      rgba(6, 26, 44, 0.08) 100%),
    linear-gradient(0deg,
      rgba(5, 23, 39, 0.48) 0%,
      rgba(5, 23, 39, 0.12) 34%,
      rgba(5, 23, 39, 0.02) 68%);
}

body.home .hero-video-test .hero-shell,
body.home .hero-video-test .hero-copy,
body.home .hero-video-test .hero-seal-float {
  position: relative;
  z-index: 3;
}

body.home .hero-video-test .hero-seal-float {
  position: absolute;
  z-index: 5;
  filter: drop-shadow(0 8px 16px rgba(5, 23, 39, 0.2));
}

body.home .hero-video-test .hero-stage,
body.home .hero-video-test .hero-water {
  display: none !important;
}

body.home .hero-video-test .hero-copy {
  text-shadow: 0 2px 24px rgba(2, 17, 30, 0.28);
}

body.home .hero-video-test .hero-shelf-block {
  background: rgba(9, 31, 51, 0.67) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 20px 52px -30px rgba(0, 0, 0, 0.72) !important;
  -webkit-backdrop-filter: blur(16px) saturate(125%);
  backdrop-filter: blur(16px) saturate(125%);
}

body.home .hero-video-test .hero-shelf-block-header {
  display: flex !important;
  align-items: center !important;
}

body.home .hero-video-test .hero-video-sound-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin: 0 0 0 auto;
  padding: 7px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: none;
}

body.home .hero-video-test .hero-video-sound-toggle:hover,
body.home .hero-video-test .hero-video-sound-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 2px;
}

body.home .hero-video-test .hero-video-sound-icon {
  grid-area: 1 / 1;
  width: 17px;
  height: 17px;
}

body.home .hero-video-test .hero-video-sound-icon-on,
body.home .hero-video-test .hero-video-sound-toggle[aria-pressed="true"] .hero-video-sound-icon-muted {
  display: none;
}

body.home .hero-video-test .hero-video-sound-toggle[aria-pressed="true"] .hero-video-sound-icon-on {
  display: block;
}

@media (min-width: 761px) {
  body.home .hero-video-test .hero-copy {
    max-width: 600px;
  }

  body.home .hero-video-test .hero-shelf-block {
    max-width: 525px;
  }
}

@media (max-width: 760px) {
  body.home .hero-video-test .hero-video-player {
    object-position: 50% 50% !important;
  }

  body.home .hero-video-test .hero-video-shade {
    background:
      linear-gradient(180deg,
        rgba(7, 28, 47, 0.9) 0%,
        rgba(7, 28, 47, 0.78) 28%,
        rgba(7, 28, 47, 0.18) 47%,
        rgba(7, 28, 47, 0.08) 70%,
        rgba(7, 28, 47, 0.76) 100%),
      linear-gradient(90deg,
        rgba(7, 28, 47, 0.18) 0%,
        rgba(7, 28, 47, 0.02) 52%,
        rgba(7, 28, 47, 0.13) 100%);
  }

  body.home .hero-video-test .hero-fullbleed,
  body.home .hero-video-test.hero-fullbleed {
    min-height: 736px !important;
    height: min(89vh, 760px) !important;
  }

  body.home .hero-video-test .hero-shell {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
  }

  body.home .hero-video-test .hero-copy,
  body.home .hero-video-test.hero-fullbleed .hero-copy {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    padding: 1.2rem 1rem 0.65rem !important;
    transform: none !important;
  }

  /* Der WordPress-Header ist fixed und liegt ueber dem Hero. In der statischen
     Vorschau nimmt er dagegen Platz im Dokumentfluss ein. Dieser Ausgleich
     verhindert, dass Titel und Siegel live unter dem Header verschwinden. */
  body.mybidet-wordpress-render.home .hero-video-test .hero-copy,
  body.mybidet-wordpress-render.home .hero-video-test.hero-fullbleed .hero-copy {
    padding-top: calc(64px + 1.2rem) !important;
  }

  body.mybidet-wordpress-render.home .hero-video-test .hero-seal-float {
    top: calc(64px + 1rem) !important;
  }

  body.home .hero-video-test .hero-copy h1#hero-h.hero-title-accent,
  body.home .hero-video-test .hero-copy .hero-display,
  body.home .hero-video-test .hero-copy .hero-display-line {
    font-size: clamp(3.35rem, 15.2vw, 4rem) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.055em !important;
  }

  body.home .hero-video-test .hero-copy .hero-display {
    margin: 0.08rem 0 0 !important;
  }

  body.home .hero-video-test .hero-lede,
  body.home .hero-video-test.hero-fullbleed .hero-lede {
    max-width: 20rem;
    margin: 0.65rem 0 0 !important;
    font-size: 0.94rem !important;
    line-height: 1.35 !important;
    text-wrap: balance;
  }

  body.home .hero-video-test .hero-cta {
    margin: 0.65rem 0 0 !important;
  }

  body.home .hero-video-test .hero-cta .hero-cta-mobile {
    min-height: 38px !important;
    padding: 0.52rem 0.75rem !important;
    font-size: 0.78rem !important;
  }

  body.home .hero-video-test .hero-seal-float {
    top: 1rem !important;
    right: 0.8rem !important;
    width: 46px !important;
  }

  body.home .hero-video-test .hero-shelf-block,
  body.home .hero-video-test .hero-copy .hero-shelf-block {
    position: absolute !important;
    left: 1rem;
    right: 1rem;
    bottom: 0.7rem;
    width: auto !important;
    margin: 0 !important;
    padding: 0.28rem 0.42rem 0.35rem !important;
    gap: 0.24rem !important;
    border-radius: 13px !important;
  }

  body.home .hero-video-test .hero-shelf-block .hero-retailers {
    gap: 0.28rem !important;
  }

  body.home .hero-video-test .hero-retailer {
    height: 36px !important;
    min-height: 36px !important;
    padding: 0.14rem 0.22rem !important;
  }

  body.home .hero-video-test .hero-retailer img {
    max-width: 84% !important;
    max-height: 22px !important;
  }

  body.home .hero-video-test .hero-shelf-block-header,
  body.home .hero-video-test .hero-shelf-block-header.hero-shelf-block-header {
    padding: 0.25rem 0.05rem 0 !important;
    gap: 0.25rem !important;
    font-size: 0.68rem !important;
  }

  body.home .hero-video-test .hero-shelf-badge-text {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.home .hero-video-test .hero-video-sound-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    padding: 6px;
  }

  body.home .hero-video-test .hero-video-sound-icon {
    width: 14px;
    height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home .hero-video-test .hero-video-layer {
    display: none;
  }

  body.home .hero-video-test .hero-video-sound-toggle {
    display: none;
  }
}
