.wd-hero-visual {
  min-height: 430px;
}

.wd-hero-visual .wd-browser {
  position: relative;
  inset: auto;
  width: 100%;
  height: 430px;
}

.wd-hero-visual .wd-browser.has-image {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.wd-hero-visual .wd-browser.has-image::before {
  content: none;
}

.wd-hero-visual .wd-browser.has-image > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.wd-hero-actions .wd-button {
  min-width: 170px;
}

.wd-hero-actions .wd-button-secondary {
  border: 1px solid rgba(73, 221, 234, .72);
  color: #fff;
  background: rgba(6, 23, 47, .42);
}

.wd-hero-actions .wd-button-secondary:hover,
.wd-hero-actions .wd-button-secondary:focus-visible {
  border-color: #49ddea;
  color: #031424;
  background: #49ddea;
}

#aanpak,
#prijzen {
  scroll-margin-top: 88px;
}

@media (max-width: 700px) {
  .wd-hero-visual {
    min-height: 300px;
  }

  .wd-hero-visual .wd-browser {
    width: 100%;
    height: 300px;
  }

  .wd-hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .wd-hero-actions .wd-button {
    min-width: 0;
    min-height: 44px !important;
    padding: 10px 18px;
    gap: 12px;
  }
}

/* Dezelfde overlappende hero-compositie als op de Vibe Coding-pagina. */
.wd-hero {
  padding-top: 182px;
}

.wd-hero-grid {
  position: relative;
  display: block;
  min-height: 570px;
}

.wd-hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
}

.wd-hero-copy h1 {
  width: 64.5%;
  max-width: 900px;
  white-space: nowrap;
}

.wd-hero-copy > p:not(.wd-kicker) {
  width: 47%;
}

.wd-hero-visual {
  position: absolute;
  z-index: 1;
  top: 34px;
  right: 0;
  width: 58%;
  min-height: 470px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.18) 14%, rgba(0,0,0,.72) 32%, #000 50%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0,0,0,.18) 14%, rgba(0,0,0,.72) 32%, #000 50%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

.wd-hero-visual .wd-browser {
  height: 470px;
}

@media (max-width: 1000px) {
  .wd-hero {
    padding-top: 168px;
  }

  .wd-hero-grid {
    display: grid;
    min-height: 0;
  }

  .wd-hero-copy h1,
  .wd-hero-copy > p:not(.wd-kicker) {
    width: 100%;
  }

  .wd-hero-copy h1 {
    white-space: normal;
  }

  .wd-hero-visual {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    min-height: 390px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .wd-hero-visual .wd-browser {
    height: 390px;
  }
}

@media (max-width: 700px) {
  .wd-hero {
    padding-top: 162px;
  }

  .wd-hero-visual,
  .wd-hero-visual .wd-browser {
    min-height: 300px;
    height: 300px;
  }
}
