/* Start custom CSS *//* Werkwijze: stapkaarten faden in tijdens het vastgepinde scrollen.
   Zelfde blok als op Home. Vormgeving staat in de globale classes
   pd-pin-section, pd-pin-inner en pd-grid-3; hier staat alleen de beweging. */
@keyframes pd-step-in {
  from { opacity: 0; transform: translateX(56px); }
  to { opacity: 1; transform: none; }
}
@media (min-width: 1025px) {
  html, body { overflow-x: clip !important; }
}
/* 900px+: vastgepind normaal. 620-899px: vastgepind compact (onder 700px extra compact).
   <620px: niet vastgepind, kaarten faden na elkaar in tijdens het scrollen. */
@media (min-width: 1025px) and (min-height: 900px) {
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-pin-inner { padding-block-start: 84px; box-sizing: border-box; }
}
@media (min-width: 1025px) and (min-height: 620px) and (max-height: 899px) {
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-pin-inner { padding-block-start: 76px; box-sizing: border-box; gap: 28px; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-grid-3 { gap: 18px; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-grid-3 > * { padding: 24px 28px; gap: 10px; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-grid-3 .pd-step-number { width: 40px; height: 40px; min-width: 40px; font-size: 17px; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-grid-3 h3 { font-size: 22px; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-grid-3 p:not(.pd-step-number) { font-size: 15px; line-height: 1.45; }
}
@media (min-width: 1025px) and (min-height: 620px) and (max-height: 699px) {
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-pin-inner { gap: 20px; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-grid-3 { gap: 14px; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-grid-3 > * { padding: 18px 24px; gap: 8px; }
}
@media (min-width: 1025px) and (max-height: 619px) {
  .elementor .pd-pin-section:has(.pd-grid-3) { min-height: 0 !important; }
  .elementor .pd-pin-section:has(.pd-grid-3) .pd-pin-inner { position: static !important; height: auto !important; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(n+2) {
      animation: pd-step-in linear both;
      animation-timeline: view();
      animation-range: entry 10% entry 90%;
    }
  }
  @media (min-width: 1025px) and (prefers-reduced-motion: no-preference) {
    .elementor .pd-pin-section { view-timeline-name: --pd-pin; view-timeline-axis: block; }
  }
  @media (min-width: 1025px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(n+2) { animation-timeline: --pd-pin; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(2) { animation-range: contain 4% contain 18%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(3) { animation-range: contain 20% contain 34%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(4) { animation-range: contain 42% contain 56%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(5) { animation-range: contain 58% contain 72%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(6) { animation-range: contain 74% contain 88%; }
  }
  @media (min-width: 1025px) and (max-height: 619px) and (prefers-reduced-motion: no-preference) {
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(2) { animation-range: entry 0% entry 80%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(3) { animation-range: entry 80% contain 25%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(4) { animation-range: entry 0% entry 60%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(5) { animation-range: entry 60% contain 10%; }
    .elementor .pd-pin-section .pd-grid-3 > :nth-child(6) { animation-range: contain 10% contain 40%; }
  }
}

/* ---- Weg achter de stappen (pd-road) ----
   Vorm, plek en kleuren staan in de klassen pd-road, pd-road-edges, pd-road-dash,
   pd-road-nums en pd-road-num. Hier staat alleen wanneer de weg zichtbaar is en hoe
   de middenstreep en het grote stapnummer meebewegen op de pin-tijdlijn. */
@keyframes pd-road-drive { from { background-position: 0 0; } to { background-position: 0 800px; } }
@keyframes pd-road-n1 { 0%, 4% { opacity: 1; } 18%, 100% { opacity: 0; } }
@keyframes pd-road-n2 { 0%, 4% { opacity: 0; } 18%, 20% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes pd-road-n3 { 0%, 20% { opacity: 0; } 34%, 42% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes pd-road-n4 { 0%, 42% { opacity: 0; } 56%, 58% { opacity: 1; } 72%, 100% { opacity: 0; } }
@keyframes pd-road-n5 { 0%, 58% { opacity: 0; } 72%, 74% { opacity: 1; } 88%, 100% { opacity: 0; } }
@keyframes pd-road-n6 { 0%, 74% { opacity: 0; } 88%, 100% { opacity: 1; } }
@media (max-width: 1024px), (max-height: 619px) {
  .elementor .pd-road { display: none !important; }
}
@supports not (animation-timeline: view()) {
  .elementor .pd-road-nums { display: none !important; }
}
@supports (animation-timeline: view()) {
  @media (min-width: 1025px) and (min-height: 620px) and (prefers-reduced-motion: no-preference) {
    .elementor .pd-road-dash { animation: pd-road-drive linear both; animation-timeline: --pd-pin; animation-range: contain 0% contain 100%; }
    .elementor .pd-road-num { animation: pd-road-n1 linear both; animation-timeline: --pd-pin; animation-range: contain 0% contain 100%; }
    .elementor .pd-road-num:nth-child(2) { animation-name: pd-road-n2; }
    .elementor .pd-road-num:nth-child(3) { animation-name: pd-road-n3; }
    .elementor .pd-road-num:nth-child(4) { animation-name: pd-road-n4; }
    .elementor .pd-road-num:nth-child(5) { animation-name: pd-road-n5; }
    .elementor .pd-road-num:nth-child(6) { animation-name: pd-road-n6; }
  }
  @media (prefers-reduced-motion: reduce) {
    .elementor .pd-road-num:nth-child(6) { opacity: 1; }
  }
}/* End custom CSS */