/* EWF UI: basisopmaak voor eigen slider, carrousel en lightbox (vervangt splide.min.css, swiper-bundle.min.css en lightgallery.min.css). */

/* De site heeft alleen een licht thema */
:root { color-scheme: light; }

/* Smooth scroll (Lenis): standaard-CSS van Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

/* Slider-basis */
.splide { position: relative; }
.splide__track { position: relative; overflow: hidden; z-index: 0; }
.splide__list { margin: 0 !important; padding: 0 !important; display: flex; height: 100%; backface-visibility: hidden; }
.splide__slide { position: relative; flex-shrink: 0; box-sizing: border-box; list-style-type: none !important; margin: 0; }
.splide__slide img { vertical-align: bottom; }
.splide.is-dragging, .swiper.is-dragging { cursor: grabbing; user-select: none; }

/* Fade: slides gestapeld, alleen de actieve zichtbaar */
.splide.is-fade .splide__list { display: grid; }
.splide.is-fade .splide__slide { grid-area: 1 / 1; display: block; opacity: 0; transition: opacity 1s ease; }
.splide.is-fade .splide__slide.is-active { opacity: 1; z-index: 1; }

/* Paginering */
.splide__pagination { position: absolute; left: 0; right: 0; bottom: .5em; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; margin: 0; padding: 0 1em; pointer-events: none; }
.splide__pagination li { display: inline-block; line-height: 1; list-style-type: none; margin: 0; pointer-events: auto; }
.splide__pagination__page { display: inline-block; padding: 0; border: 0; cursor: pointer; }
/* Aantikbaar vlak van minstens 24 px; de stip zelf blijft even groot */
.splide__pagination__page { box-sizing: content-box; padding: 6px; margin: 0; background-clip: content-box !important; border-radius: calc(var(--pagination-size, .825rem) / 2 + 6px); }
.splide__pagination__page:focus-visible { outline: 3px solid #e87d1e; outline-offset: 3px; }

/* Pijlen */
.splide__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 1; display: flex; align-items: center; justify-content: center; border: 0; padding: 0; cursor: pointer; }
.splide__arrow--prev { left: 1em; }
.splide__arrow--next { right: 1em; }
@media (max-width: 767.98px) { .splide__arrow { display: none; } }
.splide__arrow:focus-visible { outline: 3px solid #e87d1e; outline-offset: 3px; opacity: 1 !important; }

/* Swiper-vervanger */
.swiper { position: relative; display: block; z-index: 1; }
.swiper-wrapper { position: relative; display: flex; width: 100%; height: 100%; box-sizing: content-box; }
.swiper-slide { flex-shrink: 0; position: relative; display: block; }
.swiper-slide.d-none { display: none; }
@media (min-width: 768px) { .swiper-slide.d-md-block { display: block; } }
.swiper-button-prev, .swiper-button-next { position: absolute; top: 50%; z-index: 10; width: calc(var(--swiper-navigation-size) / 44 * 27); height: var(--swiper-navigation-size); margin-top: calc(0px - var(--swiper-navigation-size) / 2); display: flex; align-items: center; justify-content: center; cursor: pointer; box-sizing: content-box; }
.swiper-button-prev { left: var(--swiper-navigation-sides-offset, 10px); right: auto; }
.swiper-button-next { right: var(--swiper-navigation-sides-offset, 10px); left: auto; }
.swiper.is-locked .swiper-button-prev, .swiper.is-locked .swiper-button-next { display: none; }
.swiper-button-disabled { opacity: .35 !important; cursor: auto; pointer-events: none; }
.swiper-button-prev:focus-visible, .swiper-button-next:focus-visible { outline: 3px solid #1f3c71; outline-offset: 3px; opacity: 1 !important; }
@media (max-width: 767.98px) { .swiper-button-prev, .swiper-button-next { display: none; } }
.swiper-scrollbar { position: relative; border-radius: var(--swiper-scrollbar-border-radius, 10px); background: var(--swiper-scrollbar-bg-color, rgba(0,0,0,.1)); height: var(--swiper-scrollbar-size, 4px); touch-action: none; }
/* Het grijpvlak (::after) van de scrollbalk mag alleen de balk zelf bedekken, niet de hele slider */
.swiper .swiper-scrollbar { position: relative; }
.swiper-scrollbar-drag { position: relative; height: 100%; width: 100%; border-radius: var(--swiper-scrollbar-border-radius, 10px); background: var(--swiper-scrollbar-drag-bg-color, rgba(0,0,0,.5)); transition: transform .6s cubic-bezier(.25,1,.5,1); }

/* Lightbox */
.ewf-lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .92); color: #fff; overflow: hidden; }
.ewf-lightbox::backdrop { background: rgba(0, 0, 0, .6); }
.ewf-lightbox-figure { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; margin: 0; padding: 4rem 1rem; box-sizing: border-box; }
.ewf-lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; }
.ewf-lightbox-count { position: absolute; top: 1.25rem; left: 1.25rem; margin: 0; font-size: .875rem; opacity: .8; }
.ewf-lightbox-btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border: 0; border-radius: 3rem; background: #e87d1e; color: #fff; font-size: 1.125rem; cursor: pointer; }
.ewf-lightbox-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.ewf-lightbox-close { top: 1rem; right: 1rem; }
.ewf-lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.ewf-lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.ewf-lightbox-btn[hidden] { display: none; }

/* Zoho-formulier: hoogte wordt door zoho-hoogte.js aangepast */
.zoho-form iframe { display: block; width: 100%; height: 500px; border: 0; }

/* Video uit project-pagina */
.video-container video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: #000; object-fit: contain; }

@media (prefers-reduced-motion: reduce) {
	.splide.is-fade .splide__slide, .swiper-scrollbar-drag { transition: none; }
}

/* USP-balk homepage: witte kaarten met oranje iconen */
.usp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.usp-cards__item { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: 1rem; padding: 1.5rem 1.375rem; box-shadow: 0 8px 24px -12px rgba(31, 60, 113, .25); transition: transform .5s ease-in-out, box-shadow .5s ease-in-out; }
.usp-cards__item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px -14px rgba(31, 60, 113, .35); }
.usp-cards__icon { flex: 0 0 52px; width: 52px; height: 52px; border-radius: 50%; background: #e87d1e; display: flex; align-items: center; justify-content: center; }
.usp-cards__title { margin: .25rem 0 .375rem; color: #1f3c71; font-weight: 700; font-size: 1.0625rem; line-height: 1.25; text-wrap: balance; }
.usp-cards__text { margin: 0; color: #555; font-size: .875rem; line-height: 1.45; text-wrap: pretty; }
@media (max-width: 1199.98px) { .usp-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575.98px) { .usp-cards { grid-template-columns: 1fr; gap: 1rem; } }
@media (prefers-reduced-motion: reduce) { .usp-cards__item { transition: none; } .usp-cards__item:hover { transform: none; } }

/* Bedankpagina */
.thanks { padding-top: 3rem; }
.thanks-card { position: relative; max-width: 960px; margin: 0 auto; background: #fff; border-radius: 1.5rem; padding: 4rem 3rem 2.5rem; box-shadow: 0 20px 48px -24px rgba(31, 60, 113, .35); text-align: left; }
.thanks-check { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); width: 80px; height: 80px; border-radius: 50%; background: #e87d1e; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 10px #fff, 0 0 0 11px rgba(232, 125, 30, .25); }
.thanks-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.thanks-col + .thanks-col { position: relative; }
.thanks-col + .thanks-col::before { content: ""; position: absolute; left: -1.5rem; top: 0; bottom: 0; width: 1px; background: rgba(31, 60, 113, .12); }
.thanks-lang { margin: 0 0 .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #a8520c; }
.thanks-title { margin-top: 0; text-wrap: balance; }
.thanks-col a[href^="tel:"] { white-space: nowrap; }
.thanks-col a { color: #1f3c71; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(31, 60, 113, .12); }
.thanks-hours { margin: 1.25rem 0 0; text-align: center; font-size: .875rem; color: #555; }
@media (max-width: 767.98px) {
	.thanks { padding-top: 5rem; }
	.thanks-card { padding: 3.5rem 1.25rem 2rem; border-radius: 1.25rem; }
	.thanks-cols { grid-template-columns: 1fr; gap: 2rem; }
	.thanks-col + .thanks-col::before { left: 0; right: 0; top: -1rem; bottom: auto; width: auto; height: 1px; }
	.thanks-actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: no-preference) {
	.thanks-check { animation: thanksPop .6s cubic-bezier(.34, 1.56, .64, 1) .3s both; }
	@keyframes thanksPop { from { transform: translate(-50%, -50%) scale(.4); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
}
