/* ==========================================================================
   Homepage: drie bewijssecties als horizontaal drieluik.

   Bron uit de Webflow-sectiebibliotheek:
   .onboarding-grid, .onboarding-card, .benefit-card,
   .benefit-image-wrapper, .benefit-list-div en .app-button.
   Alleen maat, verdeling en mobiel horizontaal scrollen staan hier.
   ========================================================================== */

.vp-vertrouwen-home {
  position: relative;
  overflow: clip;
}

.vp-vertrouwen-home .vp-vertrouwen-intro {
  max-width: 760px;
  margin-bottom: 52px;
}

.vp-vertrouwen-home .vp-vertrouwen-intro .onboarding-heading-div {
  width: 100%;
  max-width: none;
}

.vp-vertrouwen-home .vp-vertrouwen-kader {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 14px;
  margin-top: 0;
}

.vp-vertrouwen-home .vp-vertrouwen-kaart {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(34, 48, 59, .09);
  border-radius: var(--_spacing---radius--24px);
  background: var(--color--gray-50);
  box-shadow: 0 24px 54px -48px rgba(34, 48, 59, .58);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s cubic-bezier(.22, 1, .36, 1);
}

.vp-vertrouwen-home .vp-vertrouwen-kaart:hover {
  transform: translateY(-8px);
  box-shadow: 0 32px 64px -48px rgba(34, 48, 59, .66);
}

.vp-vertrouwen-home .vp-vertrouwen-beeld {
  order: 0;
  height: 330px;
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(34, 48, 59, .08);
  background-color: #f2efe8;
  background-image: radial-gradient(circle at 50% 8%, rgba(255, 255, 255, .9), transparent 58%);
  background-position: center;
  background-size: 100% 100%;
}

.vp-vertrouwen-home .benefit-image-wrapper {
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
  min-height: 0;
  padding: 34px 22px 0;
  border-radius: 0;
  background: transparent;
}

.vp-vertrouwen-home .benefit-image-div,
.vp-vertrouwen-home .benefit-main-image-div {
  width: 100%;
}

.vp-vertrouwen-home .benefit-main-image-div {
  display: flex;
  justify-content: center;
}

.vp-vertrouwen-home .benefit-main-image-div .benefit-image {
  width: 100%;
  max-width: 360px;
  height: auto;
  transform: none !important;
}

/* Horizontale kaarten gebruiken één kaartanimatie. Oude Webflow-kindtriggers
   zien kaarten buiten de eerste swipepositie niet en blijven daar verborgen. */
.vp-vertrouwen-home .benefit-heading-div [data-w-id],
.vp-vertrouwen-home .benefit-paragraph[data-w-id],
.vp-vertrouwen-home .benefit-list-flex-div[data-w-id] {
  opacity: 1 !important;
  transform: none !important;
}

.vp-vertrouwen-home .vp-vertrouwen-copy {
  display: flex;
  order: 1;
  flex: 1 1 auto;
  padding: 34px 30px 32px;
}

.vp-vertrouwen-home .benefit-card,
.vp-vertrouwen-home .benefit-card.margin {
  gap: 22px;
  width: 100%;
  margin-left: 0;
}

.vp-vertrouwen-home .benefit-heading-div h2 {
  font-size: clamp(30px, 2.5vw, 38px);
  line-height: 1.06;
  text-wrap: balance;
}

.vp-vertrouwen-home .benefit-paragraph {
  font-size: 17px;
  line-height: 1.48;
}

.vp-vertrouwen-home .benefit-list-wrapper {
  gap: 10px;
}

.vp-vertrouwen-home .benefit-list-flex-div {
  gap: 10px;
}

.vp-vertrouwen-home .benefit-list-div {
  gap: 8px;
}

.vp-vertrouwen-home .benefit-list-div .large-paragraph {
  font-size: 16px;
  line-height: 1.35;
}

.vp-vertrouwen-home .button-div {
  width: 100%;
  margin-top: auto;
}

.vp-vertrouwen-home .button-div > .app-button {
  width: 100%;
}

/* Tablet en mobiel houden het horizontale idee: swipen door drie kaarten. */
@media screen and (max-width: 991px) {
  .vp-vertrouwen-home .vp-vertrouwen-kader {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-inline: -20px;
    padding: 8px 20px 20px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 20px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .vp-vertrouwen-home .vp-vertrouwen-kaart {
    flex: 0 0 clamp(330px, 72vw, 520px);
    scroll-snap-align: start;
  }

  .vp-vertrouwen-home .vp-vertrouwen-beeld {
    height: 310px;
  }
}

@media screen and (max-width: 767px) {
  .vp-vertrouwen-home .vp-vertrouwen-intro {
    margin-bottom: 34px;
  }

  .vp-vertrouwen-home .vp-vertrouwen-kaart {
    flex-basis: min(84vw, 420px);
  }

  .vp-vertrouwen-home .vp-vertrouwen-beeld {
    height: 300px;
  }

  .vp-vertrouwen-home .vp-vertrouwen-copy {
    padding: 28px 24px 26px;
  }

  .vp-vertrouwen-home .benefit-heading-div h2 {
    font-size: 30px;
  }
}

@media screen and (max-width: 479px) {
  .vp-vertrouwen-home .vp-vertrouwen-intro {
    margin-bottom: 28px;
  }

  .vp-vertrouwen-home .vp-vertrouwen-kader {
    margin-inline: -10px;
    padding-inline: 10px;
    scroll-padding-inline: 10px;
  }

  .vp-vertrouwen-home .vp-vertrouwen-kaart {
    flex-basis: calc(100vw - 58px);
  }

  .vp-vertrouwen-home .vp-vertrouwen-beeld {
    height: 300px;
  }

  .vp-vertrouwen-home .benefit-image-wrapper {
    padding: 26px 14px 0;
  }

  .vp-vertrouwen-home .vp-vertrouwen-copy {
    padding: 25px 20px 24px;
  }

  .vp-vertrouwen-home .benefit-paragraph,
  .vp-vertrouwen-home .benefit-list-div .large-paragraph {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vp-vertrouwen-home .vp-vertrouwen-kaart {
    transition: none;
  }

  .vp-vertrouwen-home .vp-vertrouwen-kaart:hover {
    transform: none;
  }
}
