/* ==========================================================================
   Tuinaanleg Fraussen – hoofdstijlen
   ========================================================================== */

@font-face { font-family: "Tajawal"; font-weight: 500; font-display: swap; src: url("../fonts/font.php?f=tajawal-500") format("woff2"); }
@font-face { font-family: "Tajawal"; font-weight: 700; font-display: swap; src: url("../fonts/font.php?f=tajawal-700") format("woff2"); }
@font-face { font-family: "Tajawal"; font-weight: 800; font-display: swap; src: url("../fonts/font.php?f=tajawal-800") format("woff2"); }
@font-face { font-family: "Open Sans"; font-weight: 300 800; font-display: swap; src: url("../fonts/font.php?f=open-sans-var") format("woff2"); }

:root {
	--c-dark: #244435;
	--c-darker: #172d23;
	--c-lime: #71b100;
	--c-lime-hover: #82c70a;
	--c-lime-text: #4a7a00;       /* lime met voldoende contrast op licht */
	--c-light: #f3f7f0;
	--c-line: #dfe7da;
	--c-text: #1d2b24;
	--c-muted: #56675e;
	--c-white: #fff;
	--c-error: #b3261e;

	--f-head: "Tajawal", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;

	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 10px 30px rgba(23, 45, 35, .10);
	--shadow-lg: 0 20px 50px rgba(23, 45, 35, .18);
	--header-h: 84px;
	--container: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--section: clamp(56px, 9vw, 112px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.7; color: var(--c-text); background: var(--c-white); -webkit-font-smoothing: antialiased; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--c-lime-text); text-underline-offset: 3px; }
a:hover { color: var(--c-dark); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 800; line-height: 1.1; color: var(--c-dark); margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-lime); outline-offset: 3px; border-radius: 4px; }
.i { width: 1.15em; height: 1.15em; flex: none; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--c-lime); color: var(--c-darker); padding: 10px 16px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(780px + 2 * var(--gutter)); }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.6em; border: 2px solid transparent; border-radius: 999px; font-family: var(--f-head); font-weight: 800; font-size: 1rem; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; line-height: 1.1; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn--primary { background: var(--c-lime); color: var(--c-darker); }
.btn--primary:hover { background: var(--c-lime-hover); color: var(--c-darker); }
.btn--dark { background: var(--c-dark); color: var(--c-white); }
.btn--dark:hover { background: var(--c-darker); color: var(--c-white); }
.btn--light { background: var(--c-white); color: var(--c-dark); }
.btn--light:hover { background: var(--c-light); color: var(--c-dark); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: var(--c-white); background: rgba(0, 0, 0, .12); }
.btn--ghost:hover { background: var(--c-white); border-color: var(--c-white); color: var(--c-dark); }
.btn--sm { padding: .65em 1.2em; font-size: .85rem; }
.btn--lg { padding: 1em 1.8em; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn-row--center { justify-content: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-head); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; color: var(--c-lime-text); }
.link-arrow .i { transition: transform .2s var(--ease); }
.link-arrow:hover .i { transform: translateX(4px); }

.eyebrow { font-family: var(--f-head); font-weight: 800; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; color: var(--c-lime-text); margin-bottom: .8em; }
.eyebrow--light { color: #b7e36a; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); color: var(--c-white); transition: background-color .3s, box-shadow .3s, height .3s; }
.site-header::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(0, 0, 0, .45), transparent); pointer-events: none; transition: opacity .3s; }
.site-header.is-scrolled { background: var(--c-darker); box-shadow: 0 4px 20px rgba(0, 0, 0, .15); --header-h: 70px; }
.site-header.is-scrolled::before { opacity: 0; }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; height: 100%; padding-block: 8px; margin-right: auto; text-decoration: none; color: inherit; }
.logo__img { height: 100%; width: auto; max-height: 78px; transform: scale(1.25); transform-origin: left center; }
.logo__text { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; }

.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list > li { position: relative; display: flex; align-items: center; }
.nav__list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; color: inherit; text-decoration: none; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; border-radius: var(--radius-sm); }
.nav__list > li > a:hover, .nav__list > .current-menu-item > a, .nav__list > .current-menu-ancestor > a { color: #b7e36a; }
.nav__sub-toggle { display: grid; place-items: center; width: 28px; height: 28px; margin-left: -8px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.nav__sub-toggle .i { width: 16px; transition: transform .2s; }
.nav__sub-toggle[aria-expanded="true"] .i { transform: rotate(180deg); }
.sub-menu { list-style: none; margin: 0; padding: 8px; }
.sub-menu a { color: var(--c-text); font-weight: 700; }
.sub-menu a:hover, .sub-menu .current-menu-item > a { background: var(--c-light); color: var(--c-dark); }
.sub-menu__icon { width: 28px; height: 28px; object-fit: contain; flex: none; color: var(--c-lime-text); }
@media (max-width: 1099.98px) { .sub-menu__icon { color: var(--c-lime); } }
.sub-menu__all a { color: var(--c-lime-text); font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; }
.nav__extra { display: none; }
.nav-toggle { display: none; }

@media (min-width: 1100px) {
	.sub-menu { position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s var(--ease), visibility .2s; }
	.sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
	.menu-item-has-children:hover > .sub-menu,
	.menu-item-has-children:focus-within > .sub-menu,
	.nav__sub-toggle[aria-expanded="true"] + .sub-menu { opacity: 1; visibility: visible; transform: none; }
}

@media (max-width: 1099.98px) {
	.site-header__cta { display: none; }
	.nav-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: inherit; cursor: pointer; }
	.nav-toggle .i { width: 26px; height: 26px; }
	.nav-toggle__close, .nav-open .nav-toggle__open { display: none; }
	.nav-open .nav-toggle__close { display: block; }
	.nav { position: fixed; inset: var(--header-h) 0 0; background: var(--c-darker); padding: 16px var(--gutter) 40px; overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
	.nav-open .nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open .site-header { background: var(--c-darker); }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.nav__list > li > a { flex: 1; padding: 16px 4px; font-size: 1.35rem; }
	.nav__sub-toggle { width: 48px; height: 48px; margin: 0; }
	.nav__sub-toggle .i { width: 22px; }
	.sub-menu { display: none; width: 100%; padding: 0 0 12px; }
	.nav__sub-toggle[aria-expanded="true"] + .sub-menu { display: block; }
	.sub-menu a { color: var(--c-white); font-weight: 500; padding: 10px 8px; }
	.sub-menu a:hover, .sub-menu .current-menu-item > a { background: rgba(255, 255, 255, .08); color: var(--c-white); }
	.sub-menu__all a { color: #b7e36a; }
	.nav__extra { display: block; margin-top: 24px; }
	.nav__extra .btn { margin-bottom: 20px; }
	.nav__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--c-white); font-size: 1.2rem; font-weight: 700; text-decoration: none; }
	body.nav-open { overflow: hidden; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: min(100svh, 900px); display: flex; align-items: center; color: var(--c-white); background: var(--c-darker); isolation: isolate; overflow: hidden; }
/* Iets groter dan de hero, zodat de parallax nooit een rand toont. */
.hero__media { position: absolute; left: 0; right: 0; top: -12%; height: 124%; z-index: -2; will-change: transform; }
.hero__bg, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 45, 35, .88) 0%, rgba(23, 45, 35, .55) 50%, rgba(23, 45, 35, .2) 100%), linear-gradient(transparent 60%, rgba(23, 45, 35, .6)); }
.hero__inner { display: grid; grid-template-columns: 1fr; align-items: center; gap: 40px; padding-top: calc(var(--header-h) + 48px); padding-bottom: 150px; }
.hero__title { color: var(--c-white); font-size: clamp(3rem, 8vw, 6rem); line-height: .95; margin-bottom: .3em; text-wrap: balance; }
.hero__text { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34em; opacity: .95; }
.hero__usps { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 32px 0 0; font-weight: 600; font-size: .95rem; }
.hero__usps li { display: flex; align-items: center; gap: 8px; }
.hero__usps .i { color: var(--c-lime); }
.hero__emblem { display: none; }
@media (min-width: 900px) {
	.hero__inner { grid-template-columns: 1.4fr 1fr; }
	/* Doorschijnende cirkel. Het vierkante logo moet volledig binnen de cirkel passen
	   (14,65% van de diameter) plus minstens 20px marge. */
	.hero__emblem {
		--d: clamp(320px, 36vw, 460px);
		display: block; justify-self: end; box-sizing: border-box; width: var(--d); height: var(--d); padding: calc(var(--d) * .1465 + 20px);
		border-radius: 50%; background: rgba(23, 45, 35, .35); backdrop-filter: blur(4px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15);
	}
	.hero__emblem img { width: 100%; height: 100%; object-fit: contain; }
}

/* ---------- Uitgelichte diensten (overlappen de hero) ---------- */
.featured { position: relative; z-index: 2; margin-top: -110px; background: linear-gradient(transparent 110px, var(--c-light) 110px); }
.featured__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }

.service { position: relative; display: flex; flex-direction: column; }
.service__icon img, .service__icon svg { width: 64px; height: 64px; object-fit: contain; }
.service--card .service__icon { color: #b7e36a; }
.service--card:nth-child(even) .service__icon { color: var(--c-darker); }
.service__title { font-size: 1.4rem; margin: 18px 0 10px; }
.service__title a { color: inherit; text-decoration: none; }
.service__title a::after { content: ""; position: absolute; inset: 0; } /* hele kaart klikbaar */
.service__text { flex: 1; margin: 0 0 18px; font-size: .97rem; }
.service__more { display: inline-flex; align-items: center; gap: .4em; font-family: var(--f-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.service__more .i { transition: transform .2s var(--ease); }
.service:hover .service__more .i { transform: translateX(4px); }

.service--card { padding: 40px 32px; background: var(--c-dark); color: rgba(255, 255, 255, .9); transition: background-color .25s; }
.service--card .service__title { color: var(--c-white); }
.service--card .service__more { color: #b7e36a; }
.service--card:nth-child(even) { background: var(--c-lime); color: var(--c-darker); }
.service--card:nth-child(even) .service__title, .service--card:nth-child(even) .service__more { color: var(--c-darker); }
.service--card:nth-child(even) .service__icon img { filter: brightness(0) saturate(100%) invert(14%) sepia(18%) saturate(1200%) hue-rotate(100deg); }
.service--card:hover { background: var(--c-darker); }
.service--card:nth-child(even):hover { background: var(--c-lime-hover); }
.service--cta { justify-content: center; background: var(--c-darker) !important; color: rgba(255, 255, 255, .9) !important; }
.service--cta .service__title { margin-top: 0; color: var(--c-white) !important; }
.service--cta .btn { align-self: flex-start; }

.service--tile { padding: 32px 28px; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.service--tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service--tile .service__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--c-dark); }
.service--tile .service__icon { color: var(--c-lime); }
.service--tile .service__icon img, .service--tile .service__icon svg { width: 46px; height: 46px; }
.service--tile .service__text { color: var(--c-muted); }
.service--tile .service__more { color: var(--c-lime-text); }
.service--tile:focus-within { outline: 3px solid var(--c-lime); outline-offset: 3px; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px; }

/* ---------- Secties ---------- */
.section { padding-block: var(--section); }
.section--light { background: var(--c-light); }
.featured + .section--light { padding-top: calc(var(--section) * .8); }
.section__head { max-width: 720px; margin-bottom: 48px; }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; }
.section__title { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .3em; }
.section__intro { font-size: 1.1rem; color: var(--c-muted); }

/* Over ons */
.about__grid { display: grid; gap: 48px; align-items: center; }
.about__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about__img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__img--2 { margin-top: 48px; }
.about__media::before { content: ""; position: absolute; inset: 24px -16px -16px 24px; z-index: -1; border-radius: var(--radius); background: var(--c-light); }
@media (min-width: 900px) { .about__grid { grid-template-columns: 1fr 1.1fr; gap: 80px; } }

/* Galerij + lightbox-tegels */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 3; background: var(--c-dark); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); opacity: .75; }
.tile__zoom { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--c-lime); color: var(--c-darker); opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease); }
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom { opacity: 1; transform: none; }
.tile__caption { position: absolute; inset: auto 0 0; padding: 32px 18px 14px; color: var(--c-white); font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; background: linear-gradient(transparent, rgba(23, 45, 35, .85)); }
@media (min-width: 1000px) {
	.gallery--home .tile:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
}

/* Projecten */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card__link { display: block; height: 100%; overflow: hidden; border-radius: var(--radius); background: var(--c-white); color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .25s var(--ease), box-shadow .25s; }
.project-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.project-card__link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project-card__body { padding: 20px 24px; }
.project-card__title { font-size: 1.35rem; margin: 0 0 4px; }
.project-card__meta { margin: 0; color: var(--c-muted); font-size: .92rem; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; }
.tags li { padding: 4px 14px; border-radius: 999px; background: var(--c-light); font-weight: 600; font-size: .9rem; }
.tags a { text-decoration: none; }
.project-text { margin: 0 auto 48px; padding: 0; }
.back-link { margin-top: 40px; }

/* Reviews */
.reviews__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.review { position: relative; display: flex; flex-direction: column; margin: 0; padding: 36px 32px 28px; background: var(--c-white); border-radius: var(--radius); box-shadow: var(--shadow); }
.review::before { content: "\201C"; position: absolute; top: 4px; right: 24px; font-family: Georgia, serif; font-size: 7rem; line-height: 1; color: var(--c-light); }
.review__text { flex: 1; margin: 16px 0 20px; font-size: 1rem; }
.review__text p:last-child { margin: 0; }
.review__author { display: flex; flex-direction: column; padding-top: 16px; border-top: 1px solid var(--c-line); font-family: var(--f-head); }
.review__author strong { font-size: 1.1rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--c-dark); }
.review__author span { color: var(--c-muted); font-size: .92rem; }
.stars { display: inline-flex; gap: 2px; position: relative; }
.star { width: 20px; height: 20px; color: var(--c-line); }
.star--on { color: #f5a623; }

/* Call to action */
.cta { position: relative; isolation: isolate; padding-block: calc(var(--section) * .9); color: var(--c-white); text-align: center; background: var(--c-dark); overflow: hidden; }
.cta__bg { position: absolute; left: 0; top: -20%; width: 100%; height: 140%; object-fit: cover; z-index: -2; will-change: transform; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(36, 68, 53, .92), rgba(23, 45, 35, .8)); }
.cta__title { color: var(--c-white); font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 16em; margin-inline: auto; text-wrap: balance; }
.cta__text { max-width: 36em; margin-inline: auto; font-size: 1.1rem; opacity: .92; }

/* ---------- Subpagina's ---------- */
.page-hero { position: relative; isolation: isolate; display: flex; align-items: end; min-height: 420px; padding: calc(var(--header-h) + 64px) 0 64px; color: var(--c-white); background: var(--c-dark); overflow: hidden; }
.page-hero__bg { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; z-index: -2; will-change: transform; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(23, 45, 35, .92), rgba(23, 45, 35, .55)); }
.page-hero__title { color: var(--c-white); font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 0; text-wrap: balance; }
.page-hero__text { max-width: 40em; margin: 16px 0 0; font-size: 1.12rem; opacity: .95; }

.prose > * + * { margin-top: 1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-top: 1.6em; }
.prose h3 { font-size: 1.4rem; margin-top: 1.4em; }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: .5em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: var(--c-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172d23' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--c-lime); font-size: 1.1rem; }

.detail { display: grid; gap: 48px; align-items: start; }
@media (min-width: 960px) { .detail { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; } .detail__aside { position: sticky; top: calc(var(--header-h) + 24px); } }

.aside-card { padding: 32px 28px; border-radius: var(--radius); background: var(--c-light); }
.aside-card + .aside-card { margin-top: 20px; }
.aside-card--dark { background: var(--c-dark); color: rgba(255, 255, 255, .9); }
.aside-card__title { font-size: 1.5rem; }
.aside-card--dark .aside-card__title { color: var(--c-white); }
.aside-card__icon { color: #b7e36a; }
.aside-card__icon img, .aside-card__icon svg { width: 56px; height: 56px; margin-bottom: 16px; }
.aside-card__link { display: flex; align-items: center; gap: 10px; margin-top: 14px; color: var(--c-white); font-weight: 700; text-decoration: none; }
.aside-card__link:hover { color: #b7e36a; }
.aside-card .btn { margin-top: 8px; }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 18px 48px; color: var(--c-muted); font-size: .95rem; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--c-lime); color: var(--c-darker); font-family: var(--f-head); font-weight: 800; }
.steps strong { display: block; color: var(--c-dark); font-family: var(--f-head); font-size: 1.1rem; }

/* ---------- Offerteformulier ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; align-items: start; }
.quote__form, .quote__aside, .fr-form, .fr-form__group, .fr-field { min-width: 0; }
@media (min-width: 1000px) { .quote { grid-template-columns: minmax(0, 1fr) 360px; gap: 64px; } .quote__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.quote__intro { margin-bottom: 32px; }

.fr-form__group { margin: 0 0 36px; padding: 0; border: 0; min-width: 0; }
.fr-form__group legend { margin-bottom: 18px; padding: 0; font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; color: var(--c-dark); }
.req { color: var(--c-error); }
.fr-grid { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .fr-grid { grid-template-columns: 1fr 1fr; } .fr-field--wide { grid-column: 1 / -1; } }
.fr-field { display: flex; flex-direction: column; gap: 6px; }
.fr-field > label, .fr-field__label { font-weight: 600; font-size: .95rem; }
.fr-field input[type=text], .fr-field input[type=email], .fr-field input[type=tel], .fr-field select, .fr-field textarea {
	width: 100%; padding: 13px 16px; border: 2px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-white); transition: border-color .2s, box-shadow .2s;
}
.fr-field textarea { resize: vertical; min-height: 130px; }
.fr-field input:focus, .fr-field select:focus, .fr-field textarea:focus { outline: none; border-color: var(--c-lime); box-shadow: 0 0 0 4px rgba(113, 177, 0, .2); }
.fr-field [aria-invalid="true"] { border-color: var(--c-error) !important; }
.fr-field input[type=file] { width: 100%; max-width: 100%; padding: 14px; border: 2px dashed var(--c-line); border-radius: var(--radius-sm); background: var(--c-light); cursor: pointer; }
.fr-field__hint { font-size: .85rem; color: var(--c-muted); }
.fr-field__error { display: block; color: var(--c-error); font-size: .9rem; font-weight: 600; }
.fr-form__group > .fr-field__error { margin: -8px 0 12px; }

.fr-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
@media (max-width: 479.98px) { .fr-choices { grid-template-columns: 1fr 1fr; gap: 10px; } .fr-choice__box { padding: 14px 8px; font-size: .98rem; } }
.fr-choice { position: relative; cursor: pointer; }
.fr-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fr-choice__box { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; padding: 18px 12px; border: 2px solid var(--c-line); border-radius: var(--radius); background: var(--c-white); text-align: center; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; line-height: 1.2; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.fr-choice__icon { width: 52px; height: 52px; object-fit: contain; padding: 10px; border-radius: 50%; background: var(--c-dark); color: var(--c-lime); }
.fr-choice:hover .fr-choice__box { border-color: #b9d78a; }
.fr-choice input:checked + .fr-choice__box { border-color: var(--c-lime); background: #f1f8e6; box-shadow: inset 0 0 0 1px var(--c-lime); }
.fr-choice input:focus-visible + .fr-choice__box { outline: 3px solid var(--c-lime); outline-offset: 2px; }
.fr-choice__box::after { content: ""; position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--c-line); background: var(--c-white); }
.fr-choice input:checked + .fr-choice__box::after { border-color: var(--c-lime); background: var(--c-lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23172d23' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.fr-extra { margin-top: 16px; padding: 16px 18px; border-left: 4px solid var(--c-lime); background: var(--c-light); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.fr-extra[hidden] { display: none; }
.fr-radios { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 10px; }
.fr-radios label, .fr-field--consent label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.fr-radios input, .fr-field--consent input { width: 20px; height: 20px; accent-color: var(--c-lime-text); }
.fr-field--consent { margin-bottom: 24px; }
.fr-form__small { margin-top: 14px; font-size: .88rem; color: var(--c-muted); }
.fr-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fr-form__notice { margin-bottom: 28px; padding: 20px 24px; border-radius: var(--radius); }
.fr-form__notice strong { display: block; font-family: var(--f-head); font-size: 1.3rem; margin-bottom: 4px; }
.fr-form__notice p { margin: 0; }
.fr-form__notice--ok { background: #eaf6d9; border: 2px solid var(--c-lime); color: var(--c-darker); }
.fr-form__notice--error { background: #fdecea; border: 2px solid var(--c-error); color: #5f1410; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-darker); color: rgba(255, 255, 255, .78); font-size: .97rem; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #b7e36a; }
.footer-services { background: var(--c-lime); }
.footer-services__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 40px; padding-block: 22px; }
.footer-services a { color: var(--c-darker); font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; }
.footer-services a:hover { color: var(--c-white); }
.site-footer__grid { display: grid; gap: 40px; padding-block: 64px 48px; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 64px; } }
.footer-logo { display: inline-block; margin-bottom: 20px; }
.footer-logo__img { height: 140px; width: auto; }
.footer-logo__text { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; color: var(--c-white); }
.site-footer__title { color: var(--c-white); font-size: 1.25rem; margin-bottom: 18px; }
.site-footer__lead { color: #b7e36a; font-family: var(--f-head); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .9rem; }
.site-footer__list { list-style: none; margin: 0 0 20px; padding: 0; }
.site-footer__list li { margin-bottom: 8px; }
.site-footer__contact a, .site-footer__contact span { display: inline-flex; align-items: center; gap: 10px; }
.site-footer__contact .i { color: var(--c-lime); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); transition: background-color .2s; }
.socials a:hover { background: var(--c-lime); color: var(--c-darker); }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 20px 88px; }
@media (min-width: 800px) { .site-footer__bottom-inner { padding-block: 20px; padding-right: 90px; } }
.site-footer__bottom p { margin: 0; }
.legal { display: flex; gap: 20px; list-style: none; margin: 0; padding: 0; }

/* Zwevende WhatsApp-knop */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: var(--c-white); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.08); color: var(--c-white); }
.wa-float .i { width: 30px; height: 30px; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 22, 17, .94); color: var(--c-white); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
.lightbox__figure { margin: 0; max-width: min(1200px, 92vw); text-align: center; }
.lightbox__figure img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: var(--radius-sm); }
.lightbox__figure figcaption { margin-top: 12px; font-family: var(--f-head); font-weight: 700; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--c-white); cursor: pointer; }
.lightbox button:hover { background: var(--c-lime); color: var(--c-darker); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 18px; }
.lightbox__nav--next { right: 18px; }
.lightbox__nav[hidden] { display: none; }

/* ---------- Animaties (enkel met JS en zonder reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--reveal-delay, 0ms); }
	.js .reveal--left { transform: translateX(-48px); }
	.js .reveal--right { transform: translateX(48px); }
	.js .reveal--zoom { transform: scale(.94); }
	.js .reveal.is-visible { opacity: 1; transform: none; }

	/* Hero bij het laden: tekst schuift er stap voor stap in, de badge ploft binnen. */
	.js .hero__content > * { animation: fr-rise .9s var(--ease) both; }
	.js .hero__content > :nth-child(2) { animation-delay: .12s; }
	.js .hero__content > :nth-child(3) { animation-delay: .24s; }
	.js .hero__content > :nth-child(4) { animation-delay: .36s; }
	.js .hero__content > :nth-child(5) { animation-delay: .48s; }
	.js .hero__emblem img { animation: fr-pop 1.1s .35s cubic-bezier(.2, 1.4, .4, 1) both; }
	.js .page-hero__inner > * { animation: fr-rise .8s var(--ease) both; }
	.js .page-hero__inner > :nth-child(2) { animation-delay: .1s; }
	.js .page-hero__inner > :nth-child(3) { animation-delay: .2s; }
	@keyframes fr-rise { from { opacity: 0; transform: translateY(30px); } }
	@keyframes fr-pop { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }

	/* Parallax (waarde gezet door main.js). */
	[data-parallax] { transform: translate3d(0, var(--py, 0px), 0); }
	.hero__content[data-parallax] { opacity: var(--fade, 1); }
}

.post-item + .post-item { margin-top: 40px; }


/* ---------- Projecttegels en pop-up ---------- */
.tile--project .tile__caption { font-size: 1.2rem; padding-top: 48px; }
.tile__count { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: rgba(23, 45, 35, .8); color: var(--c-white); font-size: .82rem; font-weight: 700; backdrop-filter: blur(4px); }
.tile__count .i { width: 14px; height: 14px; color: var(--c-lime); }
.tile--project:hover .tile__count { background: var(--c-lime); color: var(--c-darker); }
.tile--project:hover .tile__count .i { color: var(--c-darker); }
.tile__step { position: absolute; top: 10px; left: 10px; display: grid; place-items: center; min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px; background: var(--c-lime); color: var(--c-darker); font-family: var(--f-head); font-weight: 800; font-size: .95rem; }
.tile--step .tile__zoom { top: 10px; right: 10px; width: 38px; height: 38px; }

.project-card__media { position: relative; display: block; }
.project-card__text { margin: 6px 0 12px; color: var(--c-muted); font-size: .95rem; }
.project-card__body .service__more { color: var(--c-lime-text); }

html.modal-open { overflow: hidden; }
.project-modal { width: min(1180px, calc(100vw - 24px)); max-width: none; height: min(92vh, 1000px); max-height: none; margin: auto; padding: 0; border: 0; border-radius: var(--radius); background: var(--c-white); color: var(--c-text); box-shadow: var(--shadow-lg); overflow: hidden; }
.project-modal[open] { display: flex; }
.project-modal::backdrop { background: rgba(12, 22, 17, .82); backdrop-filter: blur(3px); }
@media (prefers-reduced-motion: no-preference) {
	.project-modal[open] { animation: fr-modal-in .3s var(--ease); }
	@keyframes fr-modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
}
.project-modal__inner { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: clamp(20px, 4vw, 40px); }
.project-modal__head { position: sticky; top: calc(-1 * clamp(20px, 4vw, 40px)); z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: calc(-1 * clamp(20px, 4vw, 40px)) calc(-1 * clamp(20px, 4vw, 40px)) 24px; padding: clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px) 20px; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.project-modal__title { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin: 0 0 8px; }
.project-modal__text { margin: 0; max-width: 60em; color: var(--c-muted); }
.project-modal__head .eyebrow { margin-bottom: 6px; }
.project-modal__close { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: var(--c-light); color: var(--c-dark); cursor: pointer; }
.project-modal__close:hover { background: var(--c-lime); color: var(--c-darker); }
.project-modal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px 16px; list-style: none; margin: 0; padding: 0; }
.project-modal__caption { margin: 10px 2px 0; font-size: .93rem; line-height: 1.45; color: var(--c-text); }
.project-modal__foot { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.project-steps { margin-top: 8px; }
@media (max-width: 599.98px) {
	.project-modal { width: 100vw; height: 100dvh; border-radius: 0; }
	.project-modal__grid { grid-template-columns: 1fr 1fr; gap: 18px 10px; }
	.project-modal__caption { font-size: .85rem; }
}

/* Inschuivende elementen mogen tijdens hun animatie niet buiten de pagina steken. */
.site-main, .site-footer { overflow-x: clip; }

/* ---------- Webshop (WooCommerce, alles op aanvraag) ---------- */
.site-header__list { display: inline-flex; align-items: center; gap: 8px; color: var(--c-white); font-family: var(--f-head); font-weight: 700; text-decoration: none; }
.site-header__list:hover { color: #b7e36a; }
.site-header__count { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: var(--c-lime); color: var(--c-darker); font-size: .85rem; }
.shop-notice { margin: 0 0 28px; padding: 14px 18px; border-radius: var(--radius-sm); background: #fff7e0; border: 1px solid #f0c33c; font-size: .95rem; }

.shop .woocommerce-result-count, .shop .woocommerce-ordering { margin-bottom: 24px; color: var(--c-muted); font-size: .95rem; }
.shop .woocommerce-ordering select { padding: 8px 12px; border: 2px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-white); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; margin: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; display: flex; flex-direction: column; padding: 0 0 20px; border-radius: var(--radius); background: var(--c-white); box-shadow: var(--shadow); overflow: hidden; }
.woocommerce ul.products li.product a img { margin: 0 0 16px; aspect-ratio: 4 / 3; object-fit: cover; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { padding: 0 20px; font-family: var(--f-head); font-size: 1.3rem; color: var(--c-dark); }
.woocommerce ul.products li.product .price { padding: 0 20px; }
.woocommerce ul.products li.product .button { margin: auto 20px 0; align-self: flex-start; }
.fr-price { color: var(--c-lime-text); font-weight: 700; }
.fr-price--op-aanvraag { font-style: normal; }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--c-lime-text); font-size: 1.2rem; }

.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; padding: .85em 1.5em; border: 0; border-radius: 999px;
	background: var(--c-lime); color: var(--c-darker); font-family: var(--f-head); font-weight: 800; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--c-lime-hover); color: var(--c-darker); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { padding: .85em 1.5em; opacity: .5; }
.woocommerce .quantity .qty { width: 4.5em; padding: 10px; border: 2px solid var(--c-line); border-radius: var(--radius-sm); }

.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--c-lime); border-radius: var(--radius-sm); background: var(--c-light); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--c-lime-text); }
.woocommerce-error { border-top-color: var(--c-error); }

.woocommerce table.shop_table { border-radius: var(--radius); border-color: var(--c-line); }
.woocommerce table.shop_table th { font-family: var(--f-head); color: var(--c-dark); }
.woocommerce-cart table.cart img { width: 72px; border-radius: var(--radius-sm); }
.fr-cart-send { max-width: 520px; margin-left: auto; padding: 24px; border-radius: var(--radius); background: var(--c-light); }
.fr-cart-send .button { width: 100%; }

.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select {
	padding: 12px 14px; border: 2px solid var(--c-line); border-radius: var(--radius-sm); background: var(--c-white);
}
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { outline: none; border-color: var(--c-lime); box-shadow: 0 0 0 4px rgba(113, 177, 0, .2); }
.woocommerce form .form-row label { font-weight: 600; }
.woocommerce-checkout #payment { background: var(--c-light); border-radius: var(--radius); }

/* Prijzen verborgen: geen prijs- of totaalkolommen op de aanvraaglijst en bij het versturen. */
.fr-shop-geen-prijzen.woocommerce-cart table.cart .product-price,
.fr-shop-geen-prijzen.woocommerce-cart table.cart .product-subtotal,
.fr-shop-geen-prijzen .woocommerce-checkout-review-order-table .product-total,
.fr-shop-geen-prijzen .woocommerce-checkout-review-order-table tfoot,
.fr-shop-geen-prijzen .woocommerce-table--order-details tfoot,
.fr-shop-geen-prijzen .woocommerce-table--order-details .product-total,
.fr-shop-geen-prijzen .woocommerce-order-overview__total { display: none; }
