/* Imagefilm-Hero — Optik aus Eurodrill Markenversprechen.dc.html */

.elementor-widget-ed-imagefilm-hero,
.elementor-widget-ed-imagefilm-hero .elementor-widget-container {
  width: 100%;
  max-width: none;
}

.ed-video-hero {
  position: relative;
  height: 100vh;
  min-height: 560px;
  background: var(--ed-navy);
  overflow: hidden;
}

.ed-video-hero-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.ed-video-hero-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.78vh;
  border: 0;
  display: block;
}
.ed-video-hero-file {
  inset: 0;
  top: auto;
  left: auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  transform: none;
  object-fit: cover !important;
  object-position: center;
}

.ed-video-hero-poster {
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: opacity .5s, visibility .5s;
}
.ed-video-hero-poster[aria-hidden="true"] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.ed-video-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(14, 42, 69, .5) 0%,
    rgba(14, 42, 69, .28) 46%,
    rgba(14, 42, 69, .88) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.ed-video-hero-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 0 var(--ed-pad-h) clamp(52px, 8vh, 96px);
}
.ed-video-hero-bar__inner {
  max-width: var(--ed-max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  flex-wrap: wrap;
}

.ed-video-hero-copy {
  max-width: 640px;
}

.ed-video-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ed-font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .24em;
  color: var(--ed-sky);
  margin-bottom: 22px;
  text-transform: uppercase;
}
.ed-video-hero-eyebrow__bar {
  width: 20px;
  height: 3px;
  background: var(--ed-red);
  display: inline-block;
  flex: none;
}

.ed-video-hero-title {
  font-family: var(--ed-font-expanded);
  font-weight: 800;
  font-size: clamp(34px, 4.9vw, 76px);
  line-height: 1.16;
  letter-spacing: -.015em;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
}

.ed-video-hero:not(.is-playing) .ed-video-hero-stage {
  pointer-events: none;
}

button.ed-video-hero-play,
button.ed-video-hero-play:hover,
button.ed-video-hero-play:focus,
button.ed-video-hero-play:focus-visible,
button.ed-video-hero-play:active {
  display: flex;
  align-items: center;
  gap: 18px;
  border: 0 !important;
  padding: 0 !important;
  margin: 0;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  text-align: left;
  color: #fff !important;
  outline: none !important;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.ed-video-hero-playbtn {
  flex: none;
  width: clamp(64px, 7vw, 88px);
  height: clamp(64px, 7vw, 88px);
  border: 1.5px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .35s, transform .35s, border-color .35s;
}
.ed-video-hero-ptri {
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid #fff;
  margin-left: 5px;
  display: block;
  transition: border-left-color .35s;
}
.ed-video-hero-play:hover .ed-video-hero-playbtn {
  background: #fff;
  border-color: #fff;
  transform: scale(1.06);
}
.ed-video-hero-play:hover .ed-video-hero-ptri {
  border-left-color: #143A5E;
}
.ed-video-hero-play:focus,
.ed-video-hero-play:focus-visible,
.ed-video-hero-play:active {
  color: #fff !important;
  outline: none;
  box-shadow: none;
}
.ed-video-hero-play:focus .ed-video-hero-play__label,
.ed-video-hero-play:focus-visible .ed-video-hero-play__label,
.ed-video-hero-play:active .ed-video-hero-play__label {
  color: #fff !important;
}
.ed-video-hero-play:focus-visible .ed-video-hero-playbtn {
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .35);
}
.ed-video-hero-play:active .ed-video-hero-playbtn {
  background: #fff;
  border-color: #fff;
}
.ed-video-hero-play:active .ed-video-hero-ptri {
  border-left-color: #143A5E;
}

.ed-video-hero-play__label {
  font-family: var(--ed-font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .2em;
  color: #fff !important;
  text-transform: uppercase;
  line-height: 1.45;
}

@media (max-width: 700px) {
  .ed-video-hero-bar__inner {
    align-items: flex-start;
  }
}
