/* Timmerbedrijf Tim. Rustig, strak en gestructureerd. Merkkleuren: marineblauw en oranje (alleen voor accenten en de hoofdknop). */
:root {
  --navy: #121d3b;
  --navy-hover: #26365f;
  --orange: #e86003;
  --orange-deep: #c24e00;
  --orange-deep-hover: #a94300;
  --white: #fff;
  --muted: #566078;
  --soft: #f4f5f8;
  --line: #e1e4ec;
  --radius: 14px;
  --radius-btn: 10px;
  --container: 1200px;
  --gutter: 24px;
  --header-h: 92px;
  --ease: cubic-bezier(.2, .6, .2, 1);
  --font: "Lato", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
body { margin: 0; font-family: var(--font); color: var(--navy); font-size: 17px; line-height: 1.65; background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.icon { flex: none; stroke: currentColor; fill: none; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* ---------- Knoppen ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 26px; border: 1.5px solid transparent; border-radius: var(--radius-btn); font: 700 16px/1 var(--font); letter-spacing: .01em; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn .icon { transition: transform .2s var(--ease); }
.btn-sm { height: 46px; padding: 0 22px; font-size: 15px; }
.btn-orange { background: var(--orange-deep); color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-white { border-color: rgba(255, 255, 255, .55); color: var(--white); }

/* ---------- Header ---------- */
.top { position: relative; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.page-home .top { border-bottom-color: transparent; }
.nav { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav-logo img { height: 62px; width: auto; }
.nav-menu { display: flex; align-items: center; align-self: stretch; gap: 36px; }
.nav-menu > li { display: flex; align-items: center; }
.nav-menu a, .nav-mega-toggle { display: block; padding: 8px 0; font: 700 16px/1.6 var(--font); color: var(--navy); }
.nav-menu a:not(.nav-cta), .nav-mega-toggle { transition: color .2s var(--ease); }
.has-mega.is-open .nav-mega-toggle { color: var(--orange-deep); }
.nav-mega-toggle { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; cursor: pointer; }
.nav-mega-toggle .icon { transition: transform .2s var(--ease); }
.has-mega.is-open .nav-mega-toggle .icon { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(18, 29, 59, .08); }
.has-mega.is-open .mega { display: block; animation: mega-in .18s var(--ease); }
.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding-block: 28px 32px; }
.mega-link { display: block; padding: 18px 20px; border-radius: var(--radius-btn); transition: background-color .2s var(--ease); }
.mega-link strong { display: block; font-size: 17px; }
.mega-link span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.nav-menu a.mega-link { padding: 18px 20px; font: inherit; color: inherit; }
@keyframes mega-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav-menu .nav-cta { margin-left: 4px; padding: 12px 24px; border-radius: var(--radius-btn); background: var(--navy); color: var(--white); transition: background-color .2s var(--ease), color .2s var(--ease); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.nav-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--navy); transition: transform .25s var(--ease), top .25s var(--ease); }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Secties ---------- */
.section { padding: 96px 0; }
.section-soft { background: var(--soft); }
.section-foot { margin-top: 44px; text-align: center; }
.eyebrow { font-size: 16px; font-weight: 700; color: var(--orange-deep); }
.section h2 { font-size: 38px; }

/* Hero (home) */
.hero { position: relative; display: flex; align-items: center; min-height: clamp(560px, calc(88vh - var(--header-h)), 820px); background: var(--navy) center / cover no-repeat; color: var(--white); }
.hero-inner { position: relative; }
.hero-text { animation: fade-up .7s var(--ease) .1s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero h1 { max-width: 580px; font-size: 56px; line-height: 1.12; letter-spacing: -.02em; }
.hero p { margin-top: 22px; max-width: 480px; font-size: 19px; color: rgba(255, 255, 255, .8); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-down { position: absolute; left: 50%; bottom: 24px; margin-left: -20px; display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid rgba(255, 255, 255, .45); border-radius: 50%; color: var(--white); transition: background-color .2s var(--ease), color .2s var(--ease); }

/* Hero (subpagina's) */
.page-hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 340px; background: var(--navy); color: var(--white); padding: 64px 0; }
.page-hero::before { content: ""; position: absolute; left: -90px; top: -60px; width: 640px; height: 560px; background: url("assets/img/Asset-9_PNG-1.png") left top / contain no-repeat; opacity: .07; pointer-events: none; }
.page-hero .container { position: relative; width: 100%; }
.page-hero h1 { font-size: 50px; letter-spacing: -.02em; }
.page-hero p { margin-top: 18px; max-width: 600px; font-size: 19px; color: rgba(255, 255, 255, .8); }

/* Diensten (home): hele kaart is de link, kleur wisselt bij hover */
.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 12px; display: block; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.service-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--soft); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.service-body { display: flex; flex: 1; flex-direction: column; padding: 26px 26px 24px; }
.service-card h3 { font-size: 22px; line-height: 1.3; transition: color .25s var(--ease); }
.service-card p { margin: 10px 0 24px; font-size: 16px; line-height: 1.6; color: var(--muted); transition: color .25s var(--ease); }
.service-more { display: inline-flex; align-items: center; gap: 8px; align-self: flex-end; margin-top: auto; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-btn); font-size: 15px; font-weight: 700; line-height: 1; transition: background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.service-more .icon { transition: transform .25s var(--ease); }

/* Projecten (home) */
.projects-preview .section-foot { margin-top: 44px; }

/* Over ons (home) */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--radius); }
.about-text .eyebrow { display: block; }
.about-text h2 { margin-top: 14px; font-size: 38px; }
.about-text p { margin-top: 20px; color: var(--muted); }
.about-text .btn { margin-top: 32px; }
.about + .cta { padding-top: 0; }

/* Oproep */
.cta { overflow-x: clip; }
.cta-card { position: relative; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius); background: var(--navy); color: var(--white); }
.cta-text { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 72px; }
.cta-text h2 { font-size: 36px; }
.cta-text p { margin-top: 14px; color: rgba(255, 255, 255, .78); }
.cta-text .btn { margin-top: 28px; }
.cta-image img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.cta-center { display: block; text-align: center; }
.cta-center::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; height: 460px; transform: translate(-50%, -50%); background: url("assets/img/Asset-9_PNG-1.png") center / contain no-repeat; opacity: .06; pointer-events: none; }
.cta-center .cta-text { position: relative; align-items: center; padding: 72px 40px; }
.cta-center h2 { font-size: 34px; }

/* Twee delen: tekst naast beeld */
.split { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: var(--radius); background: var(--navy); }
.split-text { display: flex; flex-direction: column; justify-content: center; padding: 64px; color: var(--white); }
.split-text h3 { font-size: 32px; line-height: 1.25; }
.split-text p { margin-top: 18px; color: rgba(255, 255, 255, .8); }
.split-media img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
.split-dark-right .split-media { order: -1; }

/* Over ons (pagina): waarom en werkgebied */
.facts-head { max-width: 640px; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.fact { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.fact-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--white); }
.fact h3 { margin-top: 18px; font-size: 20px; }
.fact p { margin-top: 10px; font-size: 16px; color: var(--muted); }
.area { display: flex; align-items: center; gap: 22px; margin-top: 24px; padding: 28px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.fact-number { display: block; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #b4bdd3; }
.area .fact-icon { width: auto; height: auto; background: none; color: var(--navy); }
.area h3 { font-size: 20px; }
.area p { margin-top: 4px; color: var(--muted); }

/* Projecten */
.filter { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chip { padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font: 700 14px/1.2 var(--font); cursor: pointer; transition: background-color .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.project-card { display: block; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s var(--ease); }
.project-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
.project-card .project-thumb { display: block; overflow: hidden; }
.project-body { padding: 20px 22px 24px; }
.project-tag { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--soft); color: var(--navy); font-size: 13px; font-weight: 700; line-height: 1.4; }
.project-card h3 { font-size: 19px; line-height: 1.35; }
.project-card[hidden] { display: none; }

/* Eén project */
.project-wrap { max-width: 1000px; }
.project-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.project-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.project-info h1 { font-size: 34px; }
.project-info p { margin-top: 16px; color: var(--muted); }
.project-info .project-cat { color: var(--navy); }
.project-cat a { text-decoration: underline; text-underline-offset: 3px; }
.project-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.project-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }

/* Direct contact (telefoon en e-mail) */
.direct { padding-bottom: 0; }
.direct + .contact { padding-top: 32px; }
.direct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.direct-card { display: flex; align-items: center; gap: 18px; padding: 26px 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: background-color .25s var(--ease), border-color .25s var(--ease); }
.direct-icon { display: grid; place-items: center; flex: none; color: var(--navy); transition: color .25s var(--ease); }
.direct-text { display: block; min-width: 0; }
.direct-label { display: block; font-size: 15px; color: var(--muted); transition: color .25s var(--ease); }
.direct-text strong { display: block; margin-top: 2px; font-size: 21px; line-height: 1.3; overflow-wrap: anywhere; transition: color .25s var(--ease); }

/* Contact */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); }
.contact-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 64px 48px; background: var(--navy); color: var(--white); }
.contact-side::before { content: ""; position: absolute; inset: 0; background: url("assets/img/Asset-9_PNG-1.png") 60% 40% / 120% no-repeat; opacity: .07; }
.contact-side > * { position: relative; }
.contact-side h5 { font-size: 16px; color: var(--orange); }
.contact-side h2 { margin-top: 14px; font-size: 38px; }
.contact-form { padding: 48px; background: var(--white); }
.contact-form h3 { font-size: 24px; margin-bottom: 22px; }
.contact-form form { display: grid; gap: 18px; }
.contact-form fieldset { margin: 0; padding: 0; border: 0; }
.contact-form legend, .contact-form label { display: block; margin-bottom: 6px; padding: 0; font-size: 14px; font-weight: 700; }
.req { color: #d63638; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; font: 400 16px/1.5 var(--font); color: var(--navy); transition: border-color .2s var(--ease); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(232, 96, 3, .25); }
.contact-form label.short input { width: 50%; }
.contact-form label input, .contact-form label textarea { display: block; margin-top: 6px; font-weight: 400; }
.contact-form textarea { resize: vertical; }
.contact-form label { margin-bottom: 0; }
.contact-form button { justify-self: start; margin-top: 6px; }

/* WPForms in het contactblok (formulier-id 188). De plugin gebruikt eigen stijlvariabelen en regels met hoge prioriteit; die zetten we hier om naar de stijl van de site. */
.contact-form .wpforms-container { --wpforms-button-background-color: var(--navy); --wpforms-button-background-color-alt: var(--orange-deep); --wpforms-button-text-color: #fff; --wpforms-button-text-color-alt: #fff; --wpforms-button-border-color: transparent; --wpforms-button-border-radius: 10px; --wpforms-field-border-radius: 8px; --wpforms-field-border-color: var(--line); --wpforms-field-background-color: #fff; --wpforms-field-text-color: var(--navy); --wpforms-label-color: var(--navy); --wpforms-label-sublabel-color: var(--muted); --wpforms-label-error-color: #d63638; --wpforms-field-size-input-height: 48px; margin: 0; }
.contact-form .wpforms-container .wpforms-form .wpforms-field { padding: 0; margin: 0 0 18px; }
.contact-form .wpforms-container .wpforms-form .wpforms-field-container { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.contact-form .wpforms-container .wpforms-form .wpforms-field-container > .wpforms-field { grid-column: 1 / -1; width: 100% !important; float: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.contact-form .wpforms-container .wpforms-form .wpforms-field-container > .wpforms-field.wpforms-one-half { grid-column: auto; }.contact-form .wpforms-container .wpforms-form .wpforms-field-label, .contact-form .wpforms-container .wpforms-form legend.wpforms-field-label { margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 700; line-height: 1.5; color: var(--navy); }
.contact-form .wpforms-container .wpforms-form .wpforms-required-label { color: #d63638; }
.contact-form .wpforms-container .wpforms-form .wpforms-field-row { display: grid !important; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 100% !important; }
.contact-form .wpforms-container .wpforms-form .wpforms-field-row::before, .contact-form .wpforms-container .wpforms-form .wpforms-field-row::after { display: none; }
.contact-form .wpforms-container .wpforms-form .wpforms-field-row .wpforms-field-row-block { width: 100% !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.contact-form .wpforms-container .wpforms-form input[type=text], .contact-form .wpforms-container .wpforms-form input[type=email], .contact-form .wpforms-container .wpforms-form input[type=tel], .contact-form .wpforms-container .wpforms-form textarea, .contact-form .wpforms-container .wpforms-form select { width: 100% !important; max-width: 100% !important; height: auto; padding: 12px 14px; background: var(--white); border: 1.5px solid var(--line); border-radius: 8px; box-shadow: none; font: 400 16px/1.5 var(--font); color: var(--navy); }
.contact-form .wpforms-container .wpforms-form textarea { min-height: 120px; resize: vertical; }
.contact-form .wpforms-container .wpforms-form input:focus, .contact-form .wpforms-container .wpforms-form textarea:focus, .contact-form .wpforms-container .wpforms-form select:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(232, 96, 3, .25); }
.contact-form .wpforms-container .wpforms-form .wpforms-submit-container { margin: 6px 0 0; padding: 0; }
.contact-form .wpforms-container .wpforms-form button[type=submit].wpforms-submit { height: 46px; padding: 0 22px; border: 1.5px solid transparent; border-radius: 10px; background: var(--navy) !important; color: var(--white) !important; font: 700 15px/1 var(--font); cursor: pointer; transition: background-color .2s var(--ease); }
.contact-form .wpforms-container .wpforms-form input.wpforms-error, .contact-form .wpforms-container .wpforms-form textarea.wpforms-error { border-color: #d63638; }
.contact-form .wpforms-container .wpforms-form label.wpforms-error, .contact-form .wpforms-container .wpforms-form .wpforms-error-container { margin-top: 6px; font-size: 14px; color: #d63638; }
.contact-form .wpforms-container .wpforms-confirmation-container-full { margin: 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); color: var(--navy); font-size: 16px; }
@media (max-width: 767px) { .contact-form .wpforms-container .wpforms-form .wpforms-field-row { grid-template-columns: 1fr; } .contact-form .wpforms-container .wpforms-form .wpforms-field-container > .wpforms-field.wpforms-one-half { grid-column: 1 / -1; } }
/* Juridisch */
.legal-text { max-width: 820px; }
.legal-text h2 { margin: 40px 0 10px; font-size: 24px; }
.legal-text p { margin-top: 12px; }
.legal-text ol, .legal-text ul { margin: 12px 0 0; padding-left: 24px; list-style: decimal; display: grid; gap: 8px; }
.legal-text ul { list-style: disc; }

/* Reviews (drie Google-reviews, nu vaste tekst) */
.reviews-head { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; font-size: 20px; font-weight: 700; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review { display: flex; flex-direction: column; gap: 14px; padding: 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-size: 16px; line-height: 1.6; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head strong { display: block; font-size: 16px; }
.review-avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; color: var(--white); font-size: 18px; font-weight: 700; object-fit: cover; }
.review-g { margin-left: auto; flex: none; }
.review-stars { display: flex; gap: 2px; color: #fbbc04; }
.review-stars .icon { fill: currentColor; stroke: none; }
.review blockquote { color: var(--navy); }
.review blockquote.clamp { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.review blockquote.clamp.is-open { display: block; }
.review-more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--muted); font: 700 14px/1.4 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Footer ---------- */
.footer { padding: 80px 0 56px; background: var(--navy); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr 1fr; gap: 40px; }
.footer h2 { font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--white); }
.footer-brand img { width: 200px; height: auto; }
.footer-brand h2 { margin-top: 36px; }
.footer-brand ul, .footer-legal ul { margin-top: 16px; display: grid; gap: 8px; font-size: 15px; }
.footer-legal ul { margin-top: 16px; }
.footer-contact dl { margin-top: 16px; font-size: 15px; }
.footer-contact dt { margin-top: 16px; font-weight: 700; }
.footer-contact dt:first-child { margin-top: 0; }
.footer a { transition: color .2s var(--ease); }
.footer-social { display: flex; gap: 12px; }
.footer-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background-color .2s var(--ease), color .2s var(--ease); }
.footer-social .icon { fill: currentColor; stroke: none; }
.footer-meta p { margin-top: 24px; font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, .6); }

/* ---------- Kleiner scherm ---------- */
@media (max-width: 1024px) {
  .section { padding: 72px 0; }
  .hero h1 { font-size: 44px; }
  .page-hero h1 { font-size: 40px; }
  .section h2, .about-text h2, .contact-side h2 { font-size: 32px; }
  .cta-text h2 { font-size: 30px; }
  .service-grid, .project-grid, .review-grid, .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .about-media img { height: 420px; }
  .cta-text, .split-text { padding: 48px 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 44px; }
  .nav-menu { gap: 24px; }
}
@media (max-width: 767px) {
  :root { --header-h: 76px; }
  body { font-size: 16px; }
  .section { padding: 56px 0; }
  .nav-logo img { height: 50px; }
  .direct-card { padding: 20px; gap: 16px; }
  .direct-text strong { font-size: 18px; }
  .nav-toggle { display: block; }
  .nav-menu { position: absolute; left: 0; right: 0; top: var(--header-h); display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(18, 29, 59, .08); }
  .nav-menu.is-open { display: flex; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav-menu { align-self: auto; }
  .nav-menu > li { display: block; }
  .nav-menu a, .nav-mega-toggle { padding: 14px 0; font-size: 17px; }
  .nav-mega-toggle { display: flex; width: 100%; justify-content: space-between; }
  .mega { position: static; border: 0; box-shadow: none; animation: none !important; }
  .mega-grid { grid-template-columns: 1fr; gap: 0; padding: 0 0 8px 12px; }
  .nav-menu a.mega-link { padding: 12px 0; }
  .mega-link span { display: none; }
  .nav-menu .nav-cta { margin: 12px 0 0; text-align: center; padding: 14px; }
  .hero { display: block; min-height: 0; padding: 330px 0 56px; background-size: auto 360px; background-position: right top; }
  .hero::before { content: ""; position: absolute; left: 0; right: 0; top: 250px; height: 110px; background: linear-gradient(to bottom, rgba(18, 29, 59, 0), var(--navy)); pointer-events: none; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 17px; }
  .hero-buttons { margin-top: 28px; }
  .hero-down { display: none; }
  .page-hero { min-height: 0; padding: 56px 0; }
  .page-hero h1 { font-size: 34px; }
  .section h2, .about-text h2, .contact-side h2, .cta-text h2, .cta-center h2 { font-size: 28px; }
  .service-grid, .project-grid, .review-grid, .facts-grid, .project-top, .project-gallery, .contact-card, .row, .direct-grid { grid-template-columns: 1fr; }
  .about-grid, .cta-card, .split { grid-template-columns: 1fr; gap: 28px; }
  .about-media img { height: 300px; }
  .cta-text, .split-text { padding: 40px 24px; }
  .cta-center .cta-text { padding: 48px 24px; }
  .cta-image img, .split-media img { min-height: 240px; }
  .split-dark-right .split-media { order: -1; }
  .area { flex-direction: column; align-items: flex-start; gap: 16px; }
  .contact-side { padding: 44px 24px; }
  .contact-form { padding: 32px 22px; }
  .contact-form label.short input { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Beweging: rustig laten verschijnen (zacht en kort), geen blokken die inschuiven ---------- */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text { animation: none; }
  .btn, .btn .icon, .service-card, .service-card *, .project-card, .project-card img { transition: none !important; }
}

/* WhatsApp-knop rechtsonder (op de live site de plugin Click to Chat) */
.whatsapp { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: var(--white); box-shadow: 0 4px 14px rgba(0, 0, 0, .22); transition: transform .25s var(--ease), opacity .25s var(--ease), visibility .25s; }

/* Hover-effecten alleen waar een muis is. Op een telefoon blijven ze anders hangen na een tik. */
@media (hover: hover) {
  .btn:hover .icon { transform: translateX(3px); }
  .btn-orange:hover { background: var(--orange-deep-hover); }
  .btn-navy:hover { background: var(--orange-deep); }
  .btn-white:hover { background: var(--white); border-color: var(--white); color: var(--navy); }
  .nav-menu a:not(.nav-cta):hover, .nav-mega-toggle:hover { color: var(--orange-deep); }
  .nav-menu a.mega-link:hover { background: var(--soft); color: var(--navy); }
  .nav-menu .nav-cta:hover { background: var(--orange-deep); color: var(--white); }
  .hero-down:hover { background: var(--white); color: var(--navy); }
  .service-card:hover { background: var(--navy); border-color: var(--navy); }
  .service-card:hover h3 { color: var(--white); }
  .service-card:hover p { color: rgba(255, 255, 255, .78); }
  .service-card:hover .service-more { background: var(--orange-deep); border-color: var(--orange-deep); color: var(--white); }
  .service-card:hover .service-more .icon { transform: translateX(4px); }
  .service-card:hover .service-media img { transform: scale(1.04); }
  .chip:hover { border-color: var(--navy); }
  .project-card:hover { border-color: var(--navy); }
  .project-card:hover img { transform: scale(1.04); }
  .direct-card:hover .direct-icon { color: var(--white); }
  .direct-card:hover { background: var(--navy); border-color: var(--navy); }
  .direct-card:hover .direct-text strong { color: var(--white); }
  .direct-card:hover .direct-label { color: rgba(255, 255, 255, .75); }
  .contact-form .wpforms-container .wpforms-form button[type=submit].wpforms-submit:hover { background: var(--orange-deep) !important; }
  .review-more:hover { color: var(--navy); }
  .footer a:hover { color: var(--orange); }
  .footer-social a:hover { background: var(--orange-deep); color: var(--white); }
  .whatsapp:hover { transform: scale(1.06); }
}

/* Homepage op telefoon: de WhatsApp-knop verschijnt pas als de hero uit beeld is (zie main.js) */
.wa-wait .whatsapp:not(.is-visible) { opacity: 0; visibility: hidden; transform: translateY(12px); }
