/*
Theme Name: Climatex
Theme URI: https://climatex.drvisual.be
Author: DRVisual
Author URI: https://drvisual.be
Description: Custom theme voor Climatex nv - veiligheidscoördinatie en energieprestaties. Gebaseerd op het goedgekeurde ontwerp van 2026-09-04.
Version: 1.8.0
Requires PHP: 7.4
License: Proprietary
Text Domain: climatex
*/

:root {
	--green: #A1C066;
	--green-line: #CFE0A6;
	--accent: #7C9C4E;
	--grey: #585856;
	--ink: #33332F;
	--bg: #FFFFFF;
	--bg-soft: #F6F7F1;
	--line: #E6E7DE;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: 'myriad-pro', 'Myriad Pro', 'Work Sans', Segoe UI, system-ui, sans-serif;
	font-weight: 300;
	color: var(--ink);
	background: var(--bg);
}

a {
	color: var(--accent);
	text-decoration: none;
}
a:hover { color: #3F5A1C; text-decoration: underline; }

button { font-family: inherit; }

img { max-width: 100%; height: auto; display: block; }

.cx-wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 40px;
}

.cx-section { padding: 84px 40px; }
.cx-section--soft { background: var(--bg-soft); }
.cx-section--border { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ===== Buttons ===== */
.cx-btn {
	display: inline-block;
	padding: 14px 26px;
	border-radius: 2px;
	font-weight: 400;
	font-size: 16px;
	border: 1px solid transparent;
	cursor: pointer;
}
.cx-btn:hover { text-decoration: none; }
.cx-btn--accent { background: var(--accent); color: #fff; }
.cx-btn--accent:hover { background: #6a8541; color: #fff; }
.cx-btn--outline { background: #fff; border-color: var(--line); color: var(--ink); }
.cx-btn--outline:hover { background: var(--bg-soft); color: var(--ink); }
.cx-btn--white { background: #fff; color: var(--ink); padding: 13px 26px; font-size: 15.5px; }
.cx-btn--wide { display: block; text-align: center; background: var(--ink); color: #fff; padding: 19px 24px; font-size: 15px; letter-spacing: 0.2px; margin-top: 28px; }
.cx-btn--wide:hover { background: #17170f; color: #fff; }
.cx-btn--lg { padding: 14px 26px; font-size: 16px; }

/* ===== Header / nav ===== */
.cx-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 40px;
	border-bottom: 1px solid var(--line);
	gap: 24px;
}
.cx-wordmark { font-size: 26px; letter-spacing: -0.5px; }
.cx-wordmark-grey { color: var(--grey); font-weight: 400; }
.cx-wordmark-accent { color: var(--accent); font-weight: 400; }
.cx-nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.cx-nav-links a { color: var(--ink); font-size: 16px; }
.cx-header-right { display: flex; align-items: center; gap: 20px; }
.cx-lang-switch { display: inline-flex; align-items: stretch; border-radius: 20px; overflow: hidden; }
.cx-lang-option {
	padding: 6px 14px;
	font-size: 13.5px;
	font-weight: 500;
	letter-spacing: 0.2px;
	color: #fff;
	background: #ADAFA1;
	transition: background 0.15s ease;
}
.cx-lang-option:hover { color: #fff; text-decoration: none; background: #999B8C; }
.cx-lang-option--active,
.cx-lang-option--active:hover { background: var(--accent); }
.cx-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 6px;
}
.cx-hamburger span { width: 22px; height: 2px; background: var(--ink); display: block; }
.cx-mobile-nav {
	display: none;
	flex-direction: column;
	gap: 4px;
	padding: 12px 20px 20px;
	border-bottom: 1px solid var(--line);
}
.cx-mobile-nav a { color: var(--ink); font-size: 16px; padding: 10px 0; }
.cx-mobile-nav.cx-mobile-nav--open { display: flex; }

/* ===== Hero ===== */
.cx-hero {
	position: relative;
	overflow: hidden;
	min-height: 560px;
	display: flex;
	align-items: center;
	padding: 88px 40px 76px;
	background: linear-gradient(160deg, var(--bg-soft) 0%, #EEF2E3 100%);
}
/* Sfeerbeeld loopt over de volledige hero-sectie en fadet uit naar de
   tekstkant toe, zodat de titel/tekst altijd leesbaar blijft. Er staan 4
   <img class="cx-hero-photo"> boven elkaar (position:absolute) die om de
   beurt in- en uitfaden (cx-hero-fade hieronder) - de fade-laag naar de
   tekstkant (::after) werkt bij elke foto automatisch mee. */
.cx-hero-media { position: absolute; inset: 0; z-index: 0; }
.cx-hero-media .cx-hero-photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0;
	animation: cx-hero-fade 24s ease-in-out infinite;
}
.cx-hero-media .cx-hero-photo:nth-child(1) { animation-delay: 0s; }
.cx-hero-media .cx-hero-photo:nth-child(2) { animation-delay: -6s; }
.cx-hero-media .cx-hero-photo:nth-child(3) { animation-delay: -12s; }
.cx-hero-media .cx-hero-photo:nth-child(4) { animation-delay: -18s; }
@keyframes cx-hero-fade {
	0%, 20% { opacity: 1; }
	27%, 97% { opacity: 0; }
	100% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.cx-hero-media .cx-hero-photo { animation: none; opacity: 0; }
	.cx-hero-media .cx-hero-photo:first-child { opacity: 1; }
}
.cx-hero-media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, var(--bg-soft) 0%, var(--bg-soft) 30%, rgba(246, 247, 241, 0.82) 46%, rgba(246, 247, 241, 0.35) 66%, rgba(246, 247, 241, 0) 86%);
}
.cx-hero-inner { position: relative; z-index: 1; width: 100%; padding: 0; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.cx-hero-text { flex: 1 1 460px; min-width: 280px; max-width: 600px; }
.cx-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid var(--green-line);
	color: var(--grey);
	font-size: 14px;
	font-weight: 400;
	padding: 7px 14px;
	border-radius: 3px;
	margin-bottom: 22px;
}
.cx-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); display: inline-block; }
.cx-hero-title { font-weight: 400; font-size: 52px; line-height: 1.12; margin: 0 0 20px; color: var(--ink); }
.cx-accent-text { color: var(--accent); }
.cx-hero-lead { font-size: 18px; line-height: 1.6; color: var(--grey); max-width: 480px; margin: 0 0 30px; }
.cx-cta-row { display: flex; gap: 32px; flex-wrap: wrap; }

.cx-placeholder {
	aspect-ratio: 4/3;
	border-radius: 4px;
	background: repeating-linear-gradient(135deg, #E4E7D9, #E4E7D9 14px, #EEF0E6 14px, #EEF0E6 28px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: #9AA085;
	font-size: 14px;
	font-weight: 400;
}
.cx-placeholder--dashed { border: 1px dashed #C9CDBB; }
.cx-placeholder--map { aspect-ratio: 4/3.2; background: #fff; position: relative; }
.cx-placeholder--map-small {
	aspect-ratio: 16/10;
	border-radius: 3px;
	background: repeating-linear-gradient(135deg, #E4E7D9, #E4E7D9 10px, #EEF0E6 10px, #EEF0E6 20px);
	border: 1px dashed #C9CDBB;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9AA085;
	font-size: 13.5px;
	font-weight: 400;
}
.cx-region-tags { display: flex; gap: 8px; margin-top: 6px; }
.cx-region-tags span { font-size: 12px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 3px; padding: 4px 10px; }

/* ===== Headings / text ===== */
.cx-h2 { font-weight: 400; font-size: 31px; margin: 0 0 8px; }
.cx-h2--center { text-align: center; margin: 0 0 36px; }
.cx-h3 { font-weight: 400; font-size: 22px; margin: 0 0 10px; }
.cx-lead { color: var(--grey); font-size: 16px; margin: 0 0 36px; max-width: 560px; }
.cx-body-text { color: var(--grey); font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; }
.cx-link-arrow { font-size: 15px; font-weight: 400; }

/* ===== Layout helpers ===== */
.cx-2col { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 32px; }
.cx-2col--gap-sm { gap: 16px; }
.cx-2col-reverse { padding: 0; display: flex; gap: 56px; align-items: center; flex-wrap: wrap-reverse; }
.cx-2col-wide { padding: 0; display: flex; gap: 56px; align-items: center; flex-wrap: wrap; }
.cx-media-col { flex: 1 1 380px; min-width: 260px; }
.cx-text-col { flex: 1 1 460px; min-width: 280px; }
.cx-3col { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; }

/* ===== Kernactiviteiten ===== */
.cx-card { border: 1px solid var(--line); border-radius: 4px; padding: 32px; background: var(--bg-soft); }
.cx-icon-box { width: 52px; height: 52px; border-radius: 3px; background: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.cx-card-text { color: var(--grey); font-size: 16px; line-height: 1.6; margin: 0 0 16px; }

/* ===== Overige diensten ===== */
.cx-eyebrow { font-size: 14px; font-weight: 400; letter-spacing: 0.4px; color: var(--grey); text-transform: uppercase; margin-bottom: 16px; }
.cx-pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cx-pill { background: #fff; border: 1px solid var(--line); border-radius: 3px; padding: 9px 16px; font-size: 14.5px; color: var(--ink); }

/* ===== Testimonials ===== */
.cx-testimonial { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 26px; }
.cx-quote-icon { margin-bottom: 12px; }
.cx-testimonial-quote { font-size: 15.5px; line-height: 1.6; color: var(--ink); margin: 0 0 18px; }
.cx-testimonial-author { display: flex; align-items: center; gap: 10px; }
.cx-avatar { width: 36px; height: 36px; border-radius: 50%; background: #E4E7D9; }
.cx-testimonial-name { font-size: 14.5px; font-weight: 400; }
.cx-testimonial-company { font-size: 13.5px; color: var(--grey); }

/* ===== Projecten ===== */
.cx-projects-grid { columns: 3; column-gap: 20px; }
@media (max-width: 900px) { .cx-projects-grid { columns: 2; } }
@media (max-width: 580px) { .cx-projects-grid { columns: 1; } }
.cx-proj-card {
	position: relative;
	display: block;
	break-inside: avoid;
	margin: 0 0 20px;
	overflow: hidden;
	border-radius: 6px;
	background-color: #E4E7D9;
	box-shadow: 0 1px 3px rgba(51,51,47,0.1);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cx-proj-card:hover,
.cx-proj-card:focus { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(51,51,47,0.16); }
.cx-proj-img { display: block; width: 100%; height: auto; }
.cx-proj-card--placeholder {
	aspect-ratio: 4/3;
	background-image: repeating-linear-gradient(135deg, #E4E7D9, #E4E7D9 12px, #EEF0E6 12px, #EEF0E6 24px);
}
.cx-proj-tag {
	position: absolute;
	top: 14px;
	left: 0;
	background: var(--accent);
	color: #fff;
	font-size: 13px;
	font-weight: 400;
	padding: 6px 12px;
	z-index: 2;
}
.cx-proj-overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 16px 14px;
	background: linear-gradient(to top, rgba(33,33,29,0.78), rgba(33,33,29,0));
	color: #fff;
	font-size: 15.5px;
	font-weight: 400;
	text-align: left;
}

.cx-project-hero-image { border-radius: 4px; overflow: hidden; margin-bottom: 28px; }
.cx-project-meta { display: flex; gap: 20px; color: var(--grey); font-size: 15px; margin-bottom: 20px; }

.cx-project-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; margin: 8px 0 28px; }
.cx-project-gallery-item { display: block; border-radius: 6px; overflow: hidden; background: #E4E7D9; }
.cx-project-gallery-item img { display: block; width: 100%; height: 140px; object-fit: cover; transition: transform 0.25s ease; }
.cx-project-gallery-item:hover img { transform: scale(1.04); }

.cx-lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(20,20,18,0.92); display: flex; align-items: center; justify-content: center; padding: 40px; opacity: 0; visibility: hidden; transition: opacity 0.2s ease; }
.cx-lightbox.is-open { opacity: 1; visibility: visible; }
.cx-lightbox img { max-width: 100%; max-height: 100%; border-radius: 4px; }
.cx-lightbox-close { position: absolute; top: 20px; right: 24px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.cx-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(255,255,255,0.12); color: #fff; font-size: 20px; cursor: pointer; }
.cx-lightbox-prev { left: 20px; }
.cx-lightbox-next { right: 20px; }

/* ===== Werkgebied ===== */
.cx-check-list { display: flex; flex-direction: column; gap: 11px; }
.cx-check-item { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.cx-check-item svg { flex-shrink: 0; }

/* ===== Werkgebied: erkenningen per gewest ===== */
.cx-region-cards { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.cx-region-card {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 8px;
}
.cx-region-card--active { background: #EEF4E4; border-color: var(--green-line); }
.cx-region-badge {
	flex-shrink: 0;
	width: 64px;
	height: 50px;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid var(--line);
	padding: 6px;
	overflow: hidden;
}
.cx-region-badge img { width: 100%; height: 100%; object-fit: contain; }
.cx-region-card--active .cx-region-badge { border-color: var(--green-line); }
.cx-region-title { font-size: 16.5px; font-weight: 500; color: var(--ink); margin-bottom: 4px; }
.cx-region-text { color: var(--grey); font-size: 14.5px; line-height: 1.55; margin: 0; }
.cx-region-note { color: var(--grey); font-size: 14.5px; line-height: 1.6; margin: 0; }

/* ===== Wettelijke reminder ===== */
.cx-reminder { padding: 44px 40px; background: var(--accent); text-align: center; }
.cx-reminder-title { font-size: 24px; font-weight: 400; color: #fff; margin-bottom: 8px; }
.cx-reminder-text { color: #EFF4E5; font-size: 15.5px; margin: 0 0 20px; }

/* ===== Contact ===== */
.cx-contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.cx-contact-form { display: flex; flex-direction: column; gap: 16px; }
.cx-field label { display: block; font-size: 14px; font-weight: 400; color: var(--grey); margin-bottom: 6px; }
.cx-field input[type="text"],
.cx-field input[type="email"],
.cx-field input[type="tel"],
.cx-field textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 2px;
	background: var(--bg-soft);
	padding: 11px 12px;
	font-family: inherit;
	font-size: 15px;
	color: var(--ink);
}
.cx-field textarea { resize: vertical; }
.cx-upload {
	border: 1px dashed #C9CDBB;
	border-radius: 2px;
	background: var(--bg-soft);
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 8px;
	color: #9AA085;
	font-size: 14px;
}
.cx-upload-btn {
	flex-shrink: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 2px;
	padding: 6px 12px;
	font-size: 13px;
	color: var(--ink);
	cursor: pointer;
}
.cx-upload-btn:hover { background: var(--bg-soft); }
.cx-upload-filename { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cx-upload-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.cx-hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cx-form-notice { padding: 14px 18px; border-radius: 3px; margin-bottom: 24px; font-size: 15px; }
.cx-form-notice--success { background: #EEF2E3; color: #3F5A1C; border: 1px solid var(--green-line); }
.cx-form-notice--error { background: #FBEAEA; color: #A23B3B; border: 1px solid #EAC5C5; }

.cx-contact-info {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 4px;
	padding: 28px 0 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	overflow: hidden;
}
.cx-contact-details { display: flex; flex-direction: column; gap: 18px; padding: 0 28px; }
.cx-contact-row { display: flex; gap: 12px; font-size: 15.5px; }
.cx-contact-row svg { flex-shrink: 0; margin-top: 2px; }
.cx-form-note { color: var(--grey); font-size: 13.5px; margin: -4px 0 0; }

/* ===== Footer ===== */
.cx-footer { padding: 48px 40px 30px; background: var(--ink); color: #D8D9CF; }
.cx-footer-row { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cx-footer-about { max-width: 260px; }
.cx-footer-about p { font-size: 14.5px; line-height: 1.6; color: #A9AB9E; margin: 0; }
.cx-wordmark--footer { font-size: 24px; margin-bottom: 10px; }
.cx-wordmark-white { color: #fff; font-weight: 400; }
.cx-wordmark-green { color: var(--green); font-weight: 400; }
.cx-footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.cx-footer-heading { font-size: 13.5px; font-weight: 400; text-transform: uppercase; letter-spacing: 0.4px; color: #8C8E80; margin-bottom: 14px; }
.cx-footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 14.5px; }
.cx-footer-links a { color: #D8D9CF; }
.cx-footer-bottom {
	margin-top: 36px;
	padding-top: 20px;
	border-top: 1px solid #46473F;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 10px;
	font-size: 13.5px;
	color: #8C8E80;
}

/* ===== Logo ===== */
.cx-logo-link { display: flex; align-items: center; }
.cx-logo-img { height: 34px; width: auto; display: block; }
.cx-logo-img--footer { height: 30px; margin-bottom: 12px; }

/* ===== Nav hover ===== */
.cx-nav-links a {
	padding: 8px 14px;
	border-radius: 3px;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.cx-nav-links a:hover,
.cx-nav-links a:focus-visible {
	background: var(--accent);
	color: #fff;
	font-weight: 400;
	font-size: 16.5px;
	text-decoration: none;
}
.cx-mobile-nav a { border-radius: 3px; padding: 10px 12px; transition: background-color 0.15s ease, color 0.15s ease; }
.cx-mobile-nav a:hover { background: var(--accent); color: #fff; }

/* ===== Kernactiviteiten beeld ===== */
/* Kaart zelf heeft geen padding meer: het beeld loopt zo tot helemaal
   boven en tot de zijkanten van de kaart. De tekst krijgt zijn eigen
   binnenruimte in .cx-card-body, en het icoon ligt als badge over het
   beeld heen in plaats van erboven. */
.cx-card { padding: 0; overflow: hidden; }
.cx-card-body { padding: 24px 32px 32px; }
.cx-card-media {
	position: relative;
	aspect-ratio: 16/9;
	border-radius: 0;
	margin-bottom: 0;
	font-size: 13px;
	gap: 6px;
}
.cx-card-media .cx-icon-box {
	position: absolute;
	top: 20px;
	left: 20px;
	margin-bottom: 0;
	z-index: 2;
	box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* ===== Diensten-pills als links ===== */
a.cx-pill { display: inline-block; }
a.cx-pill:hover { background: var(--accent); border-color: var(--accent); color: #fff; text-decoration: none; }

/* ===== Carrousel (Over Climatex) ===== */
.cx-carousel { position: relative; aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; }
.cx-carousel-track { display: flex; width: 100%; height: 100%; transition: transform 0.4s ease; }
.cx-carousel-slide {
	flex: 0 0 100%;
	aspect-ratio: auto;
	border-radius: 0;
	margin: 0;
}
.cx-carousel-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: none;
	background: rgba(255,255,255,0.9);
	color: var(--ink);
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}
.cx-carousel-arrow--prev { left: 12px; }
.cx-carousel-arrow--next { right: 12px; }
.cx-carousel-arrow:hover { background: var(--accent); color: #fff; }
.cx-carousel-dots { position: absolute; bottom: 14px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.cx-carousel-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(51,51,47,0.3); background: rgba(255,255,255,0.85); padding: 0; cursor: pointer; }
.cx-carousel-dot--active { background: var(--accent); border-color: var(--accent); }

/* ===== Belgiëkaart ===== */
.cx-belgium-map {
	aspect-ratio: 4/3.2;
	border-radius: 4px;
	background: #fff;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px;
}
.cx-belgium-map-svg { width: 100%; flex: 1 1 auto; min-height: 0; }
.cx-belgium-shape { fill: var(--bg-soft); stroke: var(--green-line); stroke-width: 2.5; stroke-linejoin: round; }
.cx-belgium-dot {
	fill: var(--accent);
	stroke: #fff;
	stroke-width: 3;
	opacity: 0;
	animation: cx-dot-in 0.5s ease forwards;
}
.cx-map-credit { font-size: 11.5px; color: #B7B9AC; margin: 8px 0 0; }
.cx-map-credit a { color: inherit; text-decoration: underline; }
@keyframes cx-dot-in {
	from { opacity: 0; transform: scale(0.4); }
	to { opacity: 1; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
	.cx-belgium-dot { animation: none; opacity: 1; }
}

/* ===== Contactformulier: keuzevakken ===== */
.cx-checkbox-field { border: none; padding: 0; margin: 0; }
.cx-checkbox-field legend { font-size: 14px; font-weight: 400; color: var(--grey); margin-bottom: 6px; padding: 0; }
.cx-checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; }
.cx-checkbox { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.cx-checkbox input { width: 16px; height: 16px; accent-color: var(--accent); }

/* ===== Contact: kaart ===== */
.cx-map { flex: 1 1 auto; min-height: 260px; width: 100%; }
.cx-map--styled { background: var(--bg-soft); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
	.cx-3col { grid-template-columns: repeat(2, minmax(0,1fr)); }
	.cx-projects-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
	.cx-wrap { padding: 0 20px; }
	.cx-header { padding: 16px 20px; }
	.cx-nav-links { display: none; }
	.cx-hamburger { display: flex; }
	.cx-header-cta { display: none; }
	.cx-2col,
	.cx-3col,
	.cx-projects-grid,
	.cx-contact-grid { grid-template-columns: 1fr; }
	.cx-2col-reverse,
	.cx-2col-wide { flex-direction: column; }
	.cx-media-col,
	.cx-text-col { flex: 1 1 auto; width: 100%; min-width: 0; }
	.cx-section { padding-left: 20px; padding-right: 20px; }
	.cx-hero { padding-left: 20px; padding-right: 20px; min-height: 460px; }
	.cx-hero-title { font-size: 38px; }
	.cx-hero-media::after { background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg-soft) 58%, rgba(246, 247, 241, 0.55) 78%, rgba(246, 247, 241, 0.15) 100%); }
	.cx-checkbox-grid { grid-template-columns: 1fr; }
}

/* Inline projectdetail op archive-project.php (projectenoverzicht) */
.cx-proj-card { cursor: pointer; }
.cx-project-detail-wrap {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}
.cx-project-detail-actions {
	display: flex;
	gap: 14px;
	margin-bottom: 28px;
	flex-wrap: wrap;
}
.cx-project-detail-item .cx-project-gallery {
	margin-top: 32px;
}
