/* =========================================================
   Reff Bedrijfsdiensten — Design tokens
   Kleur:    inkt #1A1A18, papier #FAFAF8, salie #3F6B5C,
             salietint #E7EFEA, lijn #DEDAD2
   Type:     Space Grotesk (koppen), Inter (body)
   ========================================================= */

:root {
	--ink: #1A1A18;
	--ink-soft: #34342F;
	--paper: #FAFAF8;
	--paper-warm: #F1EEE6;
	--sage: #3F6B5C;
	--sage-dark: #2E5548;
	--sage-tint: #E7EFEA;
	--sage-pale: #D3E3DA;
	--line: #DEDAD2;
	--line-on-ink: #3A3A35;
	--white: #FFFFFF;
	--muted: #5B5952;
	--muted-on-ink: #B8B6AC;

	--font-head: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

	--radius-s: 6px;
	--radius-m: 14px;
	--radius-l: 26px;
	--container: 1160px;
}

/* Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::as { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sage-dark); text-decoration-thickness: 1px; }
a:hover { color: var(--sage); }
ul { padding-left: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
	font-family: var(--font-head);
	color: var(--ink);
	line-height: 1.1;
	margin: 0 0 0.5em;
	font-weight: 700;
	letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link {
	position: absolute; left: 12px; top: -60px;
	background: var(--ink); color: var(--white);
	padding: 10px 16px; border-radius: var(--radius-s);
	z-index: 200; transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: var(--white); }

:focus-visible { outline: 2.5px solid var(--sage); outline-offset: 3px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }

@media (max-width: 720px) {
	.section { padding: 56px 0; }
}

/* Buttons -------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 1rem;
	padding: 14px 26px;
	border-radius: var(--radius-s);
	text-decoration: none;
	border: 1.5px solid transparent;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--sage); color: var(--white); }
.btn--accent:hover { background: var(--sage-dark); color: var(--white); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--on-ink { background: var(--paper); color: var(--ink); }
.btn--on-ink:hover { background: var(--white); }
.btn--ghost-on-ink { background: transparent; color: var(--paper); border-color: var(--line-on-ink); }
.btn--ghost-on-ink:hover { border-color: var(--paper); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-head); font-weight: 600; color: var(--ink);
	text-decoration: none; border-bottom: 1.5px solid var(--sage); padding-bottom: 2px;
}
.link-arrow:hover { color: var(--sage-dark); }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.15s ease; }
.link-arrow:hover svg { transform: translateX(3px); }

.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.eyebrow {
	font-family: var(--font-head);
	color: var(--sage-dark);
	font-weight: 600;
	font-size: 0.95rem;
	margin-bottom: 12px;
	display: block;
}
.eyebrow--on-ink { color: var(--sage-pale); }

/* Header -------------------------------------------------- */
.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	position: sticky; top: 0; z-index: 50;
}
.site-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	padding: 16px 24px;
	gap: 24px;
}
.site-branding {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	text-decoration: none;
}
.site-logo-mark { flex-shrink: 0; display: block; }
.site-logo-words {
	display: flex;
	flex-direction: column;
	line-height: 1.08;
}
.site-logo-name {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 1.28rem;
	color: var(--ink);
	letter-spacing: -0.01em;
}
.site-logo-sub {
	font-family: var(--font-head);
	font-weight: 500;
	font-size: 0.72rem;
	color: var(--sage-dark);
	letter-spacing: 0.02em;
}

.menu-toggle {
	display: none;
	flex-direction: column; justify-content: center; gap: 5px;
	background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.primary-menu { display: flex; gap: 26px; align-items: center; }
.primary-menu a, .footer-menu a {
	font-family: var(--font-head);
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
	font-size: 0.98rem;
}
.primary-menu a:hover { color: var(--sage-dark); }
.nav-cta { padding: 10px 20px; font-size: 0.9rem; }

@media (max-width: 860px) {
	.menu-toggle { display: flex; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		flex-direction: column; align-items: flex-start;
		padding: 20px 24px 28px;
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.primary-menu { flex-direction: column; align-items: flex-start; gap: 16px; width: 100%; }
	.nav-cta { width: 100%; text-align: center; }
}

/* Hero ------------------------------------------------------ */
.hero { padding: 84px 0 96px; overflow: hidden; position: relative; }
.hero__inner {
	display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
	position: relative; z-index: 1;
}
.hero__kicker {
	font-family: var(--font-head);
	color: var(--sage-dark);
	font-weight: 600;
	font-size: 1.02rem;
	margin-bottom: 18px;
}
.hero h1 { max-width: 15ch; }
.hero__lead { color: var(--muted); font-size: 1.12rem; max-width: 46ch; margin-top: 20px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.hero__art { position: relative; aspect-ratio: 1 / 1; }
.hero__art svg { width: 100%; height: 100%; display: block; }

@media (max-width: 860px) {
	.hero { padding: 56px 0 64px; }
	.hero__inner { grid-template-columns: 1fr; gap: 40px; }
	.hero h1 { max-width: none; }
	.hero__art { max-width: 280px; margin: 0 auto; order: -1; }
}

/* Trust strip -------------------------------------------------- */
.usp-strip { background: var(--ink); color: var(--white); padding: 26px 0; }
.usp-strip__inner {
	display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between;
	font-family: var(--font-head); font-size: 0.97rem;
}
.usp { display: flex; align-items: center; gap: 12px; }
.usp__mark {
	width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%;
	background: var(--sage); color: var(--white);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 0.7rem;
}

/* Services index (numbered list) -------------------------------- */
.services-index { border-top: 1px solid var(--line); }
.service-row {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 28px;
	padding: 36px 0;
	border-bottom: 1px solid var(--line);
	align-items: baseline;
}
.service-row__num {
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 2.4rem;
	color: var(--sage-pale);
	line-height: 1;
}
.service-row__body h3 { margin-bottom: 8px; }
.service-row__body p { color: var(--muted); margin: 0; max-width: 62ch; }
.service-row__body ul { margin-top: 14px; }

@media (max-width: 640px) {
	.service-row { grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; }
	.service-row__num { font-size: 1.7rem; }
}

.section-cta { margin-top: 44px; }

/* Checklist ------------------------------------------------------ */
.checklist li {
	display: flex; align-items: flex-start; gap: 12px;
	padding: 7px 0;
	font-size: 0.98rem;
}
.checklist li::before {
	content: "";
	width: 8px; height: 8px; border-radius: 2px;
	background: var(--sage);
	margin-top: 8px;
	flex-shrink: 0;
}
.checklist--on-ink li::before { background: var(--sage-pale); }
.checklist--on-ink { color: var(--muted-on-ink); }

/* Statement band -------------------------------------------------- */
.statement { background: var(--ink); color: var(--white); }
.statement__inner { max-width: 800px; }
.statement blockquote {
	margin: 0;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: clamp(1.5rem, 3vw, 2.15rem);
	line-height: 1.32;
	letter-spacing: -0.01em;
}
.statement cite {
	display: block;
	margin-top: 28px;
	font-style: normal;
	font-family: var(--font-body);
	color: var(--muted-on-ink);
	font-size: 0.98rem;
}

/* About section ---------------------------------------------------- */
.about-strip { background: var(--paper-warm); }
.about-strip__inner {
	display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start;
}
.about-strip__text { max-width: 560px; }
.about-strip__text ul { margin-top: 20px; }
.about-panel {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-l);
	padding: 40px;
}
.about-panel__row { display: flex; align-items: center; gap: 18px; padding: 16px 0; }
.about-panel__row + .about-panel__row { border-top: 1px solid var(--line); }
.about-panel__icon {
	width: 44px; height: 44px; flex-shrink: 0; border-radius: var(--radius-s);
	background: var(--sage-tint);
	display: flex; align-items: center; justify-content: center;
}
.about-panel__icon svg { width: 22px; height: 22px; }
.about-panel__row h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 600; margin: 0 0 3px; }
.about-panel__row p { margin: 0; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 860px) {
	.about-strip__inner { grid-template-columns: 1fr; gap: 36px; }
	.about-panel { padding: 28px; }
}

/* Values grid --------------------------------------------------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-m); overflow: hidden; }
.value-card { background: var(--paper); padding: 36px 32px; }
.value-card__num { font-family: var(--font-head); font-weight: 700; color: var(--sage); font-size: 0.95rem; margin-bottom: 18px; display: block; }
.value-card h3 { margin-bottom: 10px; }
.value-card p { color: var(--muted); margin: 0; font-size: 0.97rem; }

@media (max-width: 780px) {
	.values-grid { grid-template-columns: 1fr; }
}

/* Process steps --------------------------------------------------- */
.process-steps {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
	counter-reset: step;
}
.process-step { position: relative; padding: 0 28px 0 0; }
.process-step:not(:last-child)::after {
	content: "";
	position: absolute; top: 22px; right: 0; left: 60px;
	height: 1.5px; background: var(--line);
}
.process-step__num {
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--ink); color: var(--white);
	display: flex; align-items: center; justify-content: center;
	font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
	margin-bottom: 20px; position: relative; z-index: 1;
}
.process-step h3 { font-size: 1.08rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 860px) {
	.process-steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
	.process-step:not(:last-child)::after { display: none; }
}
@media (max-width: 540px) {
	.process-steps { grid-template-columns: 1fr; }
}

/* CTA band ---------------------------------------------------------- */
.cta-band { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.cta-band h2 { color: var(--white); max-width: 16ch; }
.cta-band p { color: var(--muted-on-ink); max-width: 50ch; margin-bottom: 28px; font-size: 1.05rem; }
.cta-band__inner { text-align: left; position: relative; z-index: 1; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.cta-band__deco { position: absolute; top: -60px; right: -60px; width: 320px; height: 320px; opacity: 0.5; }

/* Diensten pagina --------------------------------------------------- */
.page-hero { padding: 64px 0 44px; border-bottom: 1px solid var(--line); }
.page-hero .hero__lead { max-width: 60ch; color: var(--muted); font-size: 1.08rem; margin-top: 16px; }

/* Formulieren ------------------------------------------------------- */
.reff-form { display: flex; flex-direction: column; gap: 18px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-head); font-weight: 500; font-size: 0.92rem; }
.form-field input,
.form-field select,
.form-field textarea {
	font-family: var(--font-body);
	font-size: 1rem;
	padding: 12px 14px;
	border: 1.5px solid var(--line);
	border-radius: var(--radius-s);
	background: var(--white);
	color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	border-color: var(--sage);
	outline: none;
}
.hp-field { position: absolute !important; left: -9999px !important; top: -9999px !important; }
.form-fineprint { font-size: 0.85rem; color: var(--muted); margin-top: 4px; }
.form-notice { padding: 16px 18px; border-radius: var(--radius-s); margin-bottom: 24px; }
.form-notice--success { background: var(--sage-tint); border: 1px solid var(--sage); }
.form-notice--error { background: #FBEAEA; border: 1px solid #D98080; }

@media (max-width: 600px) {
	.form-row--split { grid-template-columns: 1fr; }
}

/* Contactpagina ------------------------------------------------------ */
.contact-grid__inner { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
.contact-info address { margin-bottom: 16px; }
.contact-map { margin-top: 20px; border-radius: var(--radius-m); overflow: hidden; border: 1px solid var(--line); }
.contact-legacy-mark {
	display: block;
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	opacity: 0.7;
}

@media (max-width: 860px) {
	.contact-grid__inner { grid-template-columns: 1fr; }
}

/* Juridische pagina's -------------------------------------------------- */
.legal-content h2 { margin-top: 2em; font-size: 1.25rem; }
.legal-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 2em; }
.legal-content address { margin-top: 2em; padding-top: 1.5em; border-top: 1px solid var(--line); color: var(--muted); }

/* Blog / archief --------------------------------------------------------- */
.post-card { padding: 24px 0; border-bottom: 1px solid var(--line); }
.post-meta { color: var(--muted); font-size: 0.9rem; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: var(--muted-on-ink); padding: 64px 0 0; margin-top: 0; }
.footer__inner {
	display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
	padding-bottom: 44px;
}
.footer__brand { display: flex; gap: 14px; align-items: flex-start; }
.footer__badge { flex-shrink: 0; border-radius: var(--radius-s); }
.footer__tagline { color: var(--muted-on-ink); font-size: 0.95rem; margin: 0; }
.footer__tagline strong { color: var(--white); }
.footer-widget-title {
	font-family: var(--font-head);
	color: var(--white);
	font-size: 0.85rem;
	letter-spacing: 0.02em;
	margin-bottom: 14px;
}
.footer__col address, .footer__col p { color: var(--muted-on-ink); font-size: 0.95rem; }
.footer__col a { color: var(--muted-on-ink); }
.footer__col a:hover { color: var(--white); }
.footer-menu li { margin-bottom: 8px; }
.footer__bottom {
	border-top: 1px solid var(--line-on-ink);
	padding: 20px 24px;
	font-size: 0.85rem;
	color: var(--muted-on-ink);
}

@media (max-width: 860px) {
	.footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
	.footer__inner { grid-template-columns: 1fr; }
}
