/* BUSW beweging. Alleen transform en opacity, korte duur, geen bibliotheek.
   Hover alleen met een muis. Alles uit bij "verminderde beweging". */
:root { --uit: cubic-bezier(.23, 1, .32, 1); --licht-oranje: #FF8A4C; }

/* Menu: je ziet waar de muis is */
header nav a { position: relative; }
header nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 2px; border-radius: 2px; background: var(--orange, #E8560A); transform: scaleX(0); transform-origin: left; transition: transform .18s var(--uit); }
header nav a[aria-current="page"]::after { transform: scaleX(1); }
header nav a:focus-visible { color: var(--orange-dk, #C44608); }
header nav a:focus-visible::after { transform: scaleX(1); }

/* Secties schuiven als bladen over elkaar */
:where(main > section) { background-color: #fff; }
main > section:not(.hero):not(.page-hero),
main > .clients-strip,
main ~ footer { position: relative; z-index: 2; border-radius: 26px 26px 0 0; margin-top: -26px; box-shadow: 0 -18px 36px -30px rgba(13, 33, 55, .45); }
main > .clients-strip { padding-bottom: 26px; }
body > footer { position: relative; z-index: 2; border-radius: 26px 26px 0 0; margin-top: -26px; }
main > section.vast.vast, main > .clients-strip.vast.vast { position: sticky; top: var(--vast-top, 66px); }
main > section.hero.vast.vast, main > section.page-hero.vast.vast { z-index: 0; }

/* Grote projecten stapelen op een groot scherm */
.stapel { grid-column: 1 / -1; display: block; }
.stapel .project--breed { background: #fff; border: 1px solid var(--border, #E4E3E0); border-radius: 16px; padding: 18px 18px 16px; margin-bottom: 72px; box-shadow: 0 22px 44px -34px rgba(13, 33, 55, .55); }
.stapel .project--breed:last-child { margin-bottom: 4px; }
@media (max-width: 860px) { .stapel .project--breed { margin-bottom: 44px; padding: 14px 14px 12px; } }
html.js .stapel.aan .project--breed { position: sticky; top: var(--stapel-top, 88px); }
@media (min-width: 861px) { .stapel .project--breed .project-duo img { aspect-ratio: 16 / 9; } }

/* Zachte overgang tussen pagina's */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }

@media (hover: hover) and (pointer: fine) {
  header nav a:hover, header nav a[aria-current="page"]:hover { color: var(--orange-dk, #C44608); }
  header nav a:hover::after { transform: scaleX(1); }
  .footer-col a, .footer-tagline a { transition: color .15s ease, transform .18s var(--uit); }
  .footer-col a:hover, .footer-tagline a:hover { color: var(--licht-oranje); }
  .footer-col a:hover { transform: translateX(4px); }

  .btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .18s var(--uit), box-shadow .18s var(--uit); }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary:hover { box-shadow: 0 12px 24px -12px rgba(196, 70, 8, .75); }
  .btn:active { transform: scale(.97); transition-duration: .1s; }
  .of-bellen { transition: color .15s ease; }
  .of-bellen:hover { color: var(--orange-dk, #C44608); }
  .of-bellen svg { transition: transform .18s var(--uit); }
  .of-bellen:hover svg { transform: rotate(-14deg) scale(1.08); }
  .section--dark .of-bellen:hover, .cta-actions .of-bellen:hover { color: var(--licht-oranje); }

  .service-card, .included-card { transition: transform .22s var(--uit), box-shadow .22s var(--uit), border-color .18s ease; }
  .service-card:hover, .included-card:hover { transform: translateY(-6px); border-color: var(--orange, #E8560A); box-shadow: 0 22px 36px -24px rgba(13, 33, 55, .4); }
  .svc-link, .project-groep a, .verhaal-link { transition: transform .18s var(--uit); }
  .svc-link:hover, .project-groep a:hover, .verhaal-link:hover, .service-card:hover .svc-link, .included-card:hover .svc-link { transform: translateX(4px); }

  .project h4, .project h3 { transition: color .15s ease; }
  .project:hover h4, .project:hover h3 { color: var(--orange-dk, #C44608); }

  .why-item, .how-step { position: relative; }
  .why-item::before, .how-step::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 3px; border-radius: 3px; background: var(--orange, #E8560A); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--uit); }
  .why-item:hover::before, .how-step:hover::before { transform: scaleX(1); }

  .stat-item { transition: background-color .18s ease; }
  .stat-item:hover { background: rgba(255, 255, 255, .05); }
  .stat-num { transition: transform .22s var(--uit); }
  .stat-item:hover .stat-num { transform: translateY(-3px); }
  .faq summary { transition: color .15s ease; }
  .faq summary:hover { color: var(--orange-dk, #C44608); }
}

@media (prefers-reduced-motion: reduce) {
  header nav a::after, .why-item::before, .how-step::before { transition: none; }
  .btn, .service-card, .included-card, .svc-link, .project-groep a, .verhaal-link, .footer-col a, .of-bellen svg, .stat-num { transition: none; }
  .btn:hover, .btn:active, .service-card:hover, .included-card:hover, .svc-link:hover, .project-groep a:hover, .verhaal-link:hover, .footer-col a:hover, .of-bellen:hover svg, .stat-item:hover .stat-num { transform: none; }
  main > section.vast.vast, main > .clients-strip.vast.vast { position: relative; top: auto; }
}
