/* ============================================================
   plissezonderboren.nl — Design System (statische site)
   MOBILE-FIRST: basisstijlen zijn voor smalle schermen,
   min-width media queries bouwen op naar tablet/desktop.
   Breakpoints: 641px (tablet) · 901px (nav) · 1024px (desktop)
   ============================================================ */

:root {
	/* Merkkleuren */
	--primary: #16332A;
	--primary-light: #1F4A3B;
	--primary-dark: #0F241D;
	--olive: #86935F;
	--olive-light: #A9B788;
	--olive-dark: #6D7A49;
	--tan: #A97C50;
	--tan-light: #D9A876;
	--tan-dark: #8F6640;

	/* Neutralen */
	--cream: #FAF8F3;
	--cream-dark: #F0ECE1;
	--ink: #21281F;
	--text-light: #5B6357;
	--text-xlight: #8A9184;
	--white: #FFFFFF;
	--border: #E1DDD1;

	/* Semantisch */
	--success: #4C7A3E;
	--success-bg: #E8F1E3;
	--error: #B3261E;
	--error-bg: #FBEAE9;

	/* Typografie */
	--font-heading: 'Poppins', 'Segoe UI', Arial, sans-serif;
	--font-body: 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
	--font-accent: Georgia, 'Times New Roman', serif;

	/* Maatvoering */
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 14px;
	--radius-xl: 20px;
	--shadow-sm: 0 1px 3px rgba(22, 51, 42, 0.08);
	--shadow-md: 0 4px 16px rgba(22, 51, 42, 0.10);
	--shadow-lg: 0 10px 30px rgba(22, 51, 42, 0.14);
	--space-xs: 8px;
	--space-sm: 12px;
	--space-md: 20px;
	--space-lg: 32px;
	--space-xl: 48px;
	--space-2xl: 56px;
	--transition: 220ms ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream);
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover, a:focus-visible { color: var(--tan); }
ul, ol { padding-left: 1.3em; }
button { font-family: inherit; }

:focus-visible { outline: 3px solid var(--tan); outline-offset: 2px; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-to-content {
	position: absolute; top: -60px; left: 0; background: var(--primary); color: #fff;
	padding: 12px 20px; z-index: 1000; transition: top var(--transition);
}
.skip-to-content:focus { top: 0; }

/* Honeypot (anti-spam): visueel én voor screenreaders verborgen */
.hp-field {
	position: absolute !important; left: -9999px !important; top: -9999px !important;
	width: 1px; height: 1px; overflow: hidden;
}

/* ---------- Typografie ---------- */
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 800;
	line-height: 1.2;
	color: var(--primary);
}
h1 { font-size: clamp(28px, 7vw, 46px); margin-bottom: var(--space-md); }
h2 { font-size: clamp(22px, 5vw, 32px); margin-bottom: var(--space-md); }
h3 { font-size: 20px; margin-bottom: var(--space-sm); }
p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }
.eyebrow {
	display: inline-block; font-family: var(--font-accent); font-style: italic;
	color: var(--tan); margin-bottom: var(--space-xs); font-size: 15px;
}
.text-center { text-align: center; }
.lead { font-size: clamp(16px, 4vw, 19px); color: var(--text-light); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.section { padding: var(--space-2xl) 0; }
.section.alt { background: var(--cream-dark); }
.section.dark { background: var(--primary); color: var(--cream); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark .lead { color: var(--olive-light); }

/* Honingraat decoratie */
.honeycomb-divider { display: flex; justify-content: center; gap: 6px; margin: var(--space-lg) 0; opacity: 0.6; }
.honeycomb-divider span {
	width: 14px; height: 16px; background: var(--olive);
	clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
.honeycomb-divider span:nth-child(2),
.honeycomb-divider span:nth-child(4) { background: var(--tan); transform: translateY(8px); }

/* ---------- Header (mobile-first: hamburger standaard) ---------- */
.site-header {
	position: sticky; top: 0; z-index: 200; background: var(--white);
	border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.header-inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding: 10px 0; position: relative;
}
.site-logo { height: 60px; width: auto; }
.menu-toggle {
	display: inline-flex; align-items: center; justify-content: center;
	background: none; border: 2px solid var(--primary); color: var(--primary);
	border-radius: var(--radius-md); padding: 8px 12px; font-size: 20px;
	min-height: 44px; min-width: 44px; cursor: pointer;
}
.primary-navigation {
	display: none; position: absolute; top: 100%; left: -16px; right: -16px;
	background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.primary-navigation.is-open { display: block; }
.main-menu { display: flex; flex-direction: column; list-style: none; padding: 10px; }
.main-menu a {
	display: block; padding: 13px 14px; font-weight: 600; color: var(--ink);
	border-radius: var(--radius-md); font-size: 16px; min-height: 44px;
}
.main-menu a:hover, .main-menu a:focus-visible { background: var(--cream-dark); color: var(--primary); }
.main-menu a[aria-current="page"] { color: var(--primary); background: var(--cream); }
.header-cta { display: none; }

@media (min-width: 901px) {
	.menu-toggle { display: none; }
	.primary-navigation {
		display: block; position: static; background: none;
		border: none; box-shadow: none;
	}
	.main-menu { flex-direction: row; gap: 2px; padding: 0; }
	.main-menu a { padding: 10px 14px; font-size: 15px; }
	.header-cta { display: block; }
	.header-cta .btn { white-space: nowrap; }
	.site-logo { height: 68px; }
	.header-inner { padding: 12px 0; gap: 20px; }
}

/* ---------- Trust bar (onder de header) ---------- */
.trust-bar {
	background: var(--cream-dark); border-bottom: 1px solid var(--border);
	overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.trust-bar__inner {
	display: flex; gap: 22px; padding: 8px 16px; font-size: 12.5px;
	font-weight: 700; color: var(--primary); white-space: nowrap;
}
.trust-bar__inner span { display: inline-flex; align-items: center; gap: 5px; }
.trust-bar__inner span::before { content: "✓"; color: var(--olive); }
.trust-bar a { color: inherit; text-decoration: none; }
.trust-bar a:hover { color: var(--tan); }
@media (min-width: 901px) {
	.trust-bar__inner { justify-content: center; flex-wrap: wrap; white-space: normal; font-size: 13px; }
}

/* ---------- Mobiele sticky CTA-balk (header-cta is verborgen < 901px) ---------- */
.mobile-cta-bar {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
	display: flex; gap: 10px; padding: 10px 16px;
	padding-bottom: calc(10px + env(safe-area-inset-bottom));
	background: var(--white); border-top: 1px solid var(--border);
	box-shadow: 0 -6px 20px rgba(22,51,42,0.14);
}
.mobile-cta-bar .btn { flex: 1; white-space: nowrap; }
body.has-mobile-cta-bar { padding-bottom: 72px; }
.mobile-call-fab {
	position: fixed; bottom: 20px; right: 16px; z-index: 300;
	width: 56px; height: 56px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	background: var(--primary); color: #fff; font-size: 22px;
	box-shadow: var(--shadow-lg); text-decoration: none;
}
.mobile-call-fab:hover, .mobile-call-fab:focus-visible { color: #fff; background: var(--primary-light); }
@media (min-width: 901px) {
	.mobile-cta-bar, .mobile-call-fab { display: none; }
	body.has-mobile-cta-bar { padding-bottom: 0; }
}

/* ---------- Geruststelling bij formulieren ---------- */
.reassurance-line {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	flex-wrap: wrap; font-size: 13.5px; font-weight: 600; color: var(--text-light);
}

/* ---------- Knoppen (touch target ≥ 48px) ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 24px; font-weight: 700; font-size: 15px;
	border-radius: var(--radius-md); border: 2px solid transparent; cursor: pointer;
	transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
	text-decoration: none;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--primary-light); color: #fff; box-shadow: var(--shadow-md); }
.btn-tan { background: var(--tan); color: #fff; border-color: var(--tan); }
.btn-tan:hover { background: var(--tan-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-outline.light { color: #fff; border-color: #fff; }
.btn-outline.light:hover { background: #fff; color: var(--primary); }
.btn-lg { padding: 15px 28px; font-size: 16px; min-height: 54px; }
.btn-sm { padding: 8px 16px; font-size: 13px; min-height: 44px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
	position: relative; min-height: 440px; display: flex; align-items: center;
	overflow: hidden; background: var(--primary-dark);
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(100deg, rgba(15,36,29,0.85) 0%, rgba(15,36,29,0.6) 55%, rgba(15,36,29,0.25) 100%);
}
.hero__content { position: relative; z-index: 1; max-width: 640px; padding: 48px 0; }
.hero__content h1 { color: #fff; }
.hero__content .lead { color: var(--cream-dark); margin-bottom: var(--space-lg); }
.hero__cta { display: flex; flex-direction: column; gap: var(--space-sm); }
.hero__cta .btn { width: 100%; }

@media (min-width: 641px) {
	.hero { min-height: 520px; }
	.hero__content { padding: 60px 0; }
	.hero__cta { flex-direction: row; flex-wrap: wrap; }
	.hero__cta .btn { width: auto; }
	.hero__overlay {
		background: linear-gradient(100deg, rgba(15,36,29,0.82) 0%, rgba(15,36,29,0.55) 55%, rgba(15,36,29,0.15) 100%);
	}
}

/* ---------- Configurator-CTA (homepage, met foto-achtergrond) ---------- */
.configurator-cta { position: relative; overflow: hidden; background: var(--primary-dark); }
.configurator-cta__bg { position: absolute; inset: 0; }
.configurator-cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.configurator-cta__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(170deg, rgba(15,36,29,0.90) 0%, rgba(15,36,29,0.82) 50%, rgba(15,36,29,0.92) 100%);
}
.configurator-cta__panel {
	position: relative; z-index: 1; max-width: 560px; margin: 0 auto;
	background: rgba(15,36,29,0.42); border: 1px solid rgba(255,255,255,0.14);
	border-radius: var(--radius-lg); padding: var(--space-lg) var(--space-md);
}
.configurator-cta h2, .configurator-cta h3 { color: #fff; }
.configurator-cta .lead { color: var(--cream-dark); }
.configurator-cta .steps-list {
	list-style: none; counter-reset: step; text-align: left;
	display: grid; gap: 12px; margin: 0 auto var(--space-lg); max-width: 380px;
}
.configurator-cta .steps-list li {
	counter-increment: step; display: flex; align-items: center; gap: 12px;
	color: var(--cream-dark); font-weight: 600; font-size: 15px;
}
.configurator-cta .steps-list li::before {
	content: counter(step); flex: none; width: 28px; height: 28px; border-radius: 50%;
	background: var(--tan); color: #fff; font-weight: 800; font-size: 13px;
	display: flex; align-items: center; justify-content: center;
}
@media (min-width: 641px) {
	.configurator-cta__panel { padding: var(--space-xl) var(--space-lg); }
}

/* ---------- Grids (mobile-first: 1 kolom basis) ---------- */
.grid { display: grid; gap: var(--space-md); }
.grid-2, .grid-3 { display: grid; gap: var(--space-md); grid-template-columns: 1fr; }
/* grid-4/5 (icoonkaarten): op mobiel 2 naast elkaar */
.grid-4, .grid-5 { display: grid; gap: var(--space-md); grid-template-columns: repeat(2, 1fr); }

@media (min-width: 641px) {
	.grid, .grid-2, .grid-3, .grid-4, .grid-5 { gap: var(--space-lg); }
	.grid-2 { grid-template-columns: repeat(2, 1fr); }
	.grid-3 { grid-template-columns: repeat(2, 1fr); }
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.grid-3 { grid-template-columns: repeat(3, 1fr); }
	.grid-4 { grid-template-columns: repeat(4, 1fr); }
	.grid-5 { grid-template-columns: repeat(5, 1fr); }
}

.card {
	background: var(--white); border-radius: var(--radius-lg); padding: var(--space-md);
	box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition);
}
@media (min-width: 641px) { .card { padding: var(--space-lg); } }
@media (hover: hover) {
	.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
	.card:hover .card__icon { border-color: var(--tan); transform: scale(1.06); }
}
.card.icon-card { text-align: center; }
.card__icon {
	width: 60px; height: 60px; border-radius: 50%; background: var(--cream);
	border: 2px solid var(--olive); display: flex; align-items: center; justify-content: center;
	margin: 0 auto var(--space-sm); transition: transform var(--transition), border-color var(--transition);
}
.card__icon svg { width: 28px; height: 28px; color: var(--primary); }
.card__icon.icon-sm { width: 52px; height: 52px; }
.card__icon.icon-sm svg { width: 22px; height: 22px; }
@media (min-width: 641px) {
	.card__icon { width: 68px; height: 68px; }
	.card__icon svg { width: 30px; height: 30px; }
}
.card h3 { margin-bottom: 6px; }
.card p { color: var(--text-light); font-size: 15px; }
.card--flat { background: transparent; box-shadow: none; padding: var(--space-sm); }

/* ---------- Kleurstalen ---------- */
.color-palette { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--space-sm); }
.color-swatch {
	width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff;
	box-shadow: 0 0 0 1.5px var(--border); cursor: default;
}
.color-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 12px; }
.color-option { cursor: pointer; text-align: center; }
.color-option input { position: absolute; opacity: 0; }
.color-box {
	display: block; height: 56px; border-radius: var(--radius-md); border: 2px solid var(--border);
	transition: border-color var(--transition), box-shadow var(--transition);
}
.color-option input:checked ~ .color-box { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(22,51,42,0.15); }
.color-option input:focus-visible ~ .color-box { outline: 3px solid var(--tan); outline-offset: 2px; }
.color-label { display: block; font-size: 12px; margin-top: 6px; color: var(--text-light); }

/* ---------- Formulieren (mobile-first: 1 kolom) ---------- */
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-md); }
@media (min-width: 641px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { margin-bottom: var(--space-md); }
label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 14px; }
input, textarea, select {
	width: 100%; padding: 13px 14px; border: 2px solid var(--border); border-radius: var(--radius-md);
	font-size: 16px; /* 16px voorkomt auto-zoom op iOS */
	font-family: inherit; background: #fff; color: var(--ink); min-height: 48px;
}
textarea { min-height: 120px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--tan); box-shadow: 0 0 0 3px rgba(169,124,80,0.15); }
small { color: var(--text-xlight); font-size: 12.5px; }
.consent-group label { font-weight: 400; font-size: 14px; display: flex; gap: 8px; align-items: flex-start; }
.consent-group input { width: auto; min-height: auto; margin-top: 3px; }
.form-message { padding: 14px 16px; border-radius: var(--radius-md); margin-top: var(--space-md); font-weight: 600; }
.form-message.success { background: var(--success-bg); color: var(--success); }
.form-message.error { background: var(--error-bg); color: var(--error); }
.error-message { color: var(--error); font-weight: 700; font-size: 14px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: var(--space-lg) auto 0; }
.faq-item { background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); margin-bottom: var(--space-sm); }
.faq-item summary {
	padding: var(--space-md); padding-right: 44px; font-weight: 700; cursor: pointer;
	list-style: none; position: relative; min-height: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: var(--space-md); top: 50%; transform: translateY(-50%); color: var(--tan); font-size: 22px; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .faq-answer { padding: 0 var(--space-md) var(--space-md); color: var(--text-light); }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs { padding: var(--space-md) 0 0; font-size: 13.5px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; }
.breadcrumbs li { display: flex; gap: 6px; }
.breadcrumbs li:not(:last-child)::after { content: '›'; color: var(--text-xlight); }
.breadcrumbs a { color: var(--text-light); }

/* ---------- Footer (mobile-first: 1 kolom) ---------- */
.site-footer { background: var(--primary); color: var(--cream-dark); padding: var(--space-2xl) 0 var(--space-md); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); margin-bottom: var(--space-xl); }
@media (min-width: 641px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: var(--space-xl); } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .footer-brand { grid-column: auto; } }
.footer-wordmark { font-family: var(--font-heading); font-weight: 800; font-size: 21px; color: var(--cream); letter-spacing: -0.01em; margin-bottom: var(--space-sm); }
.footer-wordmark span { color: var(--tan-light); }
.footer-brand p { max-width: 34em; }
.site-footer h3 { color: var(--olive-light); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: var(--space-sm); }
.site-footer a { color: var(--cream-dark); }
.site-footer a:hover { color: var(--tan-light); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 4px; }
.footer-links a { display: inline-block; padding: 6px 0; min-height: 36px; }
.footer-hours { font-size: 13px; color: var(--olive-light); margin-top: -8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: var(--space-md); text-align: center; font-size: 13px; color: var(--olive-light); }

/* ---------- Cookiebanner ---------- */
#cookie-banner {
	position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--primary-dark);
	color: var(--cream); padding: 16px; box-shadow: 0 -4px 16px rgba(0,0,0,0.25);
}
#cookie-banner .inner {
	max-width: 1100px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
}
#cookie-banner p { margin: 0; font-size: 14px; line-height: 1.5; }
#cookie-banner a { color: var(--tan-light); }
#cookie-banner .actions { display: flex; gap: 10px; }
#cookie-banner .actions .btn { flex: 1; }
@media (min-width: 641px) {
	#cookie-banner { padding: 18px 20px; }
	#cookie-banner .inner { flex-direction: row; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; }
	#cookie-banner p { flex: 1 1 420px; }
	#cookie-banner .actions .btn { flex: none; }
}

/* ---------- Utility ---------- */
.mt-lg { margin-top: var(--space-lg); }
.mb-0 { margin-bottom: 0; }
.badge {
	display: inline-flex; align-items: center; gap: 6px; background: var(--cream-dark);
	color: var(--primary); border-radius: 999px; padding: 6px 14px; font-size: 13px; font-weight: 700;
}

@media (min-width: 641px) {
	.container { padding: 0 20px; }
	.section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
