/* Shared opening composition for Home, Diensten, Concepten, Werkwijze and Contact. */

@media (min-width: 901px) {
  html body main > section#opening-hero#opening-hero.unified-page-hero.shell {
    position: relative !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 45% 55% !important;
    grid-template-rows: minmax(0, 1fr) auto !important;
    column-gap: 12px !important;
    align-items: start !important;
    width: min(100% - 48px, 1200px) !important;
    max-width: 1200px !important;
    height: calc(100svh - 70px) !important;
    min-height: 724px !important;
    margin: 0 auto !important;
    padding: 56px 0 0 !important;
    overflow: visible !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-copy {
    align-self: start !important;
    display: grid !important;
    grid-template-rows: 17px 121px 112px auto !important;
    row-gap: 27px !important;
    width: 100% !important;
    max-width: 505px !important;
    margin: 34px 0 0 !important;
    padding: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-label,
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title,
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > p.unified-hero-text,
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-actions {
    align-self: start !important;
    margin: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-actions {
    height: 56px !important;
    min-height: 56px !important;
    overflow: visible !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title {
    max-width: 505px !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > p.unified-hero-text {
    max-width: 489px !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-visual {
    align-self: start !important;
    display: grid !important;
    place-items: center !important;
    width: 100% !important;
    height: 462px !important;
    min-height: 462px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-visual > img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar {
    align-self: end !important;
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    position: absolute !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    transform: translateY(-74px) !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero.shell {
    padding-top: 56px !important;
  }

  html body.home-page main#top > section#opening-hero#opening-hero.unified-page-hero > :is(.unified-hero-copy, .unified-hero-visual) {
    transform: translateY(20px) !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar.unified-trust-bar {
    position: absolute !important;
    top: auto !important;
    right: auto !important;
    left: 0 !important;
    transform: translateY(-74px) !important;
  }

  html body:not(.home-page) main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-label {
    width: max-content !important;
    max-width: 100% !important;
    gap: normal !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 16.9px !important;
    letter-spacing: 1.32px !important;
  }

  html body:not(.home-page) main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-label::before {
    content: none !important;
    display: none !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title {
    color: #0a0a0c !important;
    font-size: 60px !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: clamp(-3.8px, -.24vw, -2.4px) !important;
  }

  html body:not(.home-page) main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > p.unified-hero-text {
    color: #71819a !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
  }

  html body:not(.home-page) main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-actions {
    gap: 28px !important;
    height: 56px !important;
    min-height: 56px !important;
  }

  html body:not(.home-page) main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-actions > :is(a, button):first-child {
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 22px !important;
    border-radius: 999px !important;
    background: linear-gradient(120deg, #1768ff, #7040ff) !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 14px !important;
  }

  html body.contact-page main > section#opening-hero#opening-hero.unified-page-hero {
    background-color: transparent !important;
    background-image: none !important;
  }

  html body:not(.home-page) main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar {
    padding-top: 21px !important;
    padding-bottom: 0 !important;
  }
}

@media (max-width: 900px) {
  html body main > section#opening-hero#opening-hero.unified-page-hero.shell {
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: 260px auto auto !important;
    row-gap: 0 !important;
    width: min(100% - 32px, 760px) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    padding: 86px 0 0 !important;
    overflow: visible !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-visual {
    align-self: start !important;
    display: grid !important;
    grid-row: 1 !important;
    place-items: center !important;
    width: 100% !important;
    height: 260px !important;
    min-height: 260px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-visual > img {
    object-fit: contain !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-copy {
    align-self: start !important;
    display: grid !important;
    grid-row: 2 !important;
    grid-template-rows: 17px 137px 140px auto !important;
    row-gap: 19px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 30px 0 0 !important;
    padding: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-label,
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title,
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > p.unified-hero-text,
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-actions {
    align-self: start !important;
    margin: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title {
    max-width: 100% !important;
    font-size: clamp(40px, 12vw, 48px) !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > p.unified-hero-text {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    height: 54px !important;
    min-height: 54px !important;
    overflow: visible !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar {
    grid-row: 3 !important;
    position: static !important;
    width: 100% !important;
    margin: 38px 0 0 !important;
    background-image: linear-gradient(90deg, #2864ff85, #2864ff21 42%, #6944ff2e 72%, #0000) !important;
    background-repeat: no-repeat !important;
    background-position: left top !important;
    background-size: 100% 1px !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar::before {
    content: none !important;
    display: none !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero.shell {
    padding-top: 86px !important;
  }

  html body.home-page main#top > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-copy {
    margin-top: 32px !important;
    transform: none !important;
  }

  html body.home-page main#top > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-visual {
    transform: none !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar.unified-trust-bar {
    margin-top: 12px !important;
  }

  html body.process-page main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title {
    font-size: 36px !important;
  }
}

@media (max-width: 420px) {
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy .unified-hero-button {
    min-width: 0 !important;
    height: 54px !important;
    min-height: 54px !important;
    padding-inline: 20px !important;
    white-space: nowrap !important;
  }

  html body.home-page main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-actions > a {
    width: auto !important;
    flex: 0 1 auto !important;
  }
}

/* Keep the Home mock-up contained between the tablet header and hero copy. */
@media (min-width: 601px) and (max-width: 900px) {
  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero.shell {
    grid-template-rows: 300px auto auto !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero > .hero-visual.unified-hero-visual {
    box-sizing: border-box !important;
    height: 300px !important;
    min-height: 300px !important;
    max-height: 300px !important;
    overflow: hidden !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero > .hero-visual.unified-hero-visual > img {
    width: 82% !important;
    height: 82% !important;
    max-width: 620px !important;
    max-height: 246px !important;
    margin: auto !important;
    transform: none !important;
  }
}

html body.contact-page main > section#opening-hero .unified-trust-bar strong {
  font-weight: 500 !important;
}

/* Unified mobile hero rhythm across the five primary pages. */
@media (max-width: 900px) {
  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-copy {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    margin-top: 22px !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-label {
    margin: 0 0 14px !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-label::before {
    content: none !important;
    display: none !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title {
    margin: 0 0 24px !important;
    max-width: 100% !important;
    font-size: 42px !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: -2px !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > p.unified-hero-text {
    margin: 0 0 30px !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    margin-top: 38px !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar > div {
    box-sizing: border-box !important;
    margin: 0 !important;
    padding: 0 14px !important;
    border-top: 0 !important;
    border-left: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar > div:nth-child(odd) {
    padding-left: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar > div:nth-child(even) {
    border-left: 1px solid rgba(23, 47, 84, .14) !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar > div:nth-child(n + 3) {
    margin-top: 14px !important;
    padding-top: 14px !important;
    border-top: 1px solid rgba(23, 47, 84, .14) !important;
  }

  html body.cx-page main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-visual > img {
    transform: scale(.96) !important;
  }

  html body.process-page main > section#opening-hero#opening-hero.unified-page-hero > .unified-hero-visual > img {
    transform: translate(-50%, -50%) scale(1.03) !important;
  }
}

@media (max-width: 359px) {
  html body main > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > h1.unified-hero-title {
    font-size: 38px !important;
  }
}

@media (max-width: 340px) {
  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar {
    grid-template-columns: 1fr !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar > div {
    padding: 0 !important;
    border-left: 0 !important;
  }

  html body main > section#opening-hero#opening-hero.unified-page-hero > .unified-trust-bar > div + div {
    margin-top: 13px !important;
    padding-top: 13px !important;
    border-top: 1px solid rgba(23, 47, 84, .14) !important;
  }
}

@media (max-width: 420px) {
  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > p.unified-hero-label {
    font-size: 12px !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero .unified-hero-copy > .unified-hero-actions {
    display: flex !important;
    flex-flow: row nowrap !important;
    gap: 8px !important;
    width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
  }

  html body.home-page main#top#top > section#opening-hero#opening-hero.unified-page-hero .unified-hero-actions > a {
    box-sizing: border-box !important;
    flex: 0 0 calc((100% - 8px) / 2) !important;
    justify-content: center !important;
    width: calc((100% - 8px) / 2) !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 8px !important;
    font-size: 10px !important;
    white-space: nowrap !important;
  }
}
