/* ==========================================================================
   BVR bv – stylesheet
   Statische nabouw van de vroegere WordPress-site (Astra + Elementor).
   Maten en kleuren zijn overgenomen van de live site (november 2026).
   ========================================================================== */

/* ---------- Lettertypes (zelf gehost: geen verzoeken naar Google) ---------- */
@font-face {
	font-family: "Open Sans";
	src: url("../fonts/open-sans-variable.woff2") format("woff2");
	font-weight: 300 800;
	font-style: normal;
	font-display: swap;
}
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

/* ---------- Thema-variabelen ---------- */
:root {
	--color-text: #2a2f4f;          /* donkerblauw: tekst en koppen */
	--color-red: #ef2b2d;           /* huisstijlrood: knoppen */
	--color-red-dark: #d61f21;      /* hover-toestand knoppen */
	--color-red-soft: #e04838;      /* iconen en accenten */
	--color-titlebar: #f2585a;      /* rood aan 79 % dekking op wit (zoals Elementor #EF2B2DC9) */
	--color-menu-active: #ff0000;
	--color-grey-heading: #54595f;
	--color-footer-bg: #f8fcfe;
	--color-boxed-bg: #f0f5fa;      /* achtergrond bij bericht- en archiefpagina's */
	--color-input-bg: #fafafa;
	--color-input-border: #dddddd;
	--color-search-bg: #ededed;
	--color-search-btn: #818a91;
	--color-border-light: #e8eef2;

	--font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	--font-heading: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

	--container: 1140px;            /* Elementor-kolombreedte */
	--gutter: 10px;                 /* binnenmarge van een Elementor-kolom */
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.8;
	color: var(--color-text);
	background: #ffffff;
}

body.is-boxed { background: var(--color-boxed-bg); }

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

a { color: var(--color-red); text-decoration: none; }
a:hover, a:focus-visible { color: var(--color-red-dark); }

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	color: var(--color-text);
	margin: 0;
	line-height: 1.3;
}

p { margin: 0 0 1.6em; }
p:last-child { margin-bottom: 0; }

.icon { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.visually-hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 8px; top: -60px;
	z-index: 100;
	padding: 8px 16px;
	background: #ffffff;
	color: var(--color-text);
	box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}
.skip-link:focus { top: 8px; }

/* ---------- Knoppen ---------- */
.button {
	display: inline-block;
	padding: 12px 24px;
	border: 0;
	border-radius: 3px;
	background: var(--color-red);
	color: #ffffff;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1;
	cursor: pointer;
	transition: background-color .2s;
}
.button:hover, .button:focus-visible { background: var(--color-red-dark); color: #ffffff; }
.button--upper { text-transform: uppercase; font-size: 14px; padding: 15px 22px; }
.button[disabled] { opacity: .6; cursor: wait; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
	background: #ffffff;
	position: relative;
	z-index: 10;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 108px;
	gap: 20px;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--color-text);
}
.brand:hover { color: var(--color-text); }
.brand__logo { width: 133px; height: auto; }
.brand__name {
	display: block;
	font-family: var(--font-heading);
	font-size: 30px;
	font-weight: 500;
	line-height: 1.3;
}
.brand__tagline { display: block; font-size: 16px; line-height: 1.8; }

.header-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 20px;
	padding-top: 10px;
}

.search-form {
	display: flex;
	width: 267px;
	height: 42px;
	border-radius: 3px;
	overflow: hidden;
	background: var(--color-search-bg);
}
.search-form input {
	flex: 1;
	min-width: 0;
	border: 0;
	padding: 0 5px;
	background: transparent;
	font: 12px var(--font-body);
	color: #666666;
}
.search-form input::placeholder { color: rgba(122, 122, 122, .42); }
.search-form input:focus { outline: none; }
.search-form:focus-within { box-shadow: 0 0 0 2px rgba(129, 138, 145, .4); }
.search-form button {
	width: 25px;
	border: 0;
	padding: 0;
	background: var(--color-search-btn);
	color: #ffffff;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.header-phone {
	font-family: var(--font-heading);
	font-size: 15px;
	font-weight: 500;
	color: var(--color-text);
}
.header-phone:hover { color: var(--color-red); }

/* Hoofdmenu */
.main-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}
.main-nav a {
	display: block;
	padding: 15px;
	font-size: 16px;
	line-height: 1;
	color: #000000;
}
.main-nav li:last-child a { padding-right: 0; }
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--color-menu-active); }

.nav-toggle {
	display: none;
	border: 0;
	background: transparent;
	padding: 10px;
	font-size: 22px;
	color: var(--color-text);
	cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   Titelbalk (rode band met paginatitel)
   ========================================================================== */
.page-title {
	background: var(--color-titlebar);
	padding: 50px 0;
}
.page-title h1 {
	color: #ffffff;
	font-size: 52px;
	font-weight: 700;
	line-height: 1.4;
	padding: 0 var(--gutter);
}

/* ==========================================================================
   Inhoud
   ========================================================================== */
.section { padding: 20px 0 50px; }
.section__inner { padding: 0 var(--gutter); }

.section-heading {
	font-size: 38px;
	font-weight: 700;
	line-height: 1.3;
	margin-bottom: 20px;
}

/* Intro: foto links, tekst rechts */
.intro {
	display: grid;
	grid-template-columns: 356px 1fr;
	gap: 20px;
	align-items: start;
}
.intro__image { width: 356px; aspect-ratio: 1; object-fit: cover; }

/* Oproep tot actie onder de intro */
.cta {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 40px 30px;
}
.cta__icon { font-size: 80px; color: #444444; width: 90px; height: 80px; }
.cta__body { flex: 1; }
.cta__title {
	font-size: 36px;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 10px;
}
.cta__text { margin: 0; }

/* ---------- Merken ---------- */
.brands { display: grid; gap: 20px; }

.brand-card {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 222px;
	padding: 10px 10px 20px 15px;
	background-color: #f5f5f5;
	background-size: cover;
	background-position: center;
}
.brand-card__body { flex: 1; align-self: stretch; display: flex; flex-direction: column; }
.brand-card h3 {
	font-size: 38px;
	font-weight: 700;
	color: rgba(0, 0, 0, .667);
	line-height: 1.3;
	margin-bottom: 18px;
}
.brand-card p { font-size: 16px; margin-bottom: 22px; color: rgba(0, 0, 0, .667); }
.brand-card .button { align-self: flex-start; margin-top: auto; }
.brand-card__logo { width: 330px; max-width: 34%; }
/* Witte tekst op donkere achtergronden (Tork: wit, Winterhalter: 87 % wit) */
.brand-card--white h3,
.brand-card--white p { color: #ffffff; }
.brand-card--light h3,
.brand-card--light p { color: rgba(255, 255, 255, .87); }

/* Achtergrondpositie per merk, zoals ingesteld in Elementor */
.brand-card--tork { background-image: url("../images/tork_picture.png"); background-position: 50% 0; }
.brand-card--diversey { background-image: url("../images/pexels-karolina-grabowska-4239033-scaled.jpg"); background-position: 50% 0; }
.brand-card--ecolab { background-image: url("../images/ecolab-web.jpg"); background-position: 50% 100%; }
.brand-card--winterhalter { background-image: url("../images/connected-wash-background-winterhalter.png"); }
.brand-card--elpo { background-image: url("../images/elpo_back.png"); }

/* ---------- Contact ---------- */
.contact-layout {
	display: grid;
	grid-template-columns: 1fr 397px;
	gap: 60px;
	align-items: start;
}
.contact-layout .section-heading { font-size: 28px; margin-bottom: 15px; }

.info-cards {
	display: grid;
	gap: 25px;
	margin-top: -50px;              /* kaarten overlappen de titelbalk, zoals op de oude site */
	position: relative;
}
.info-card {
	background: #ffffff;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .12);
	padding: 25px 30px;
	text-align: center;
	font-size: 14px;
	line-height: 1.8;
}
.info-card .icon { font-size: 26px; color: var(--color-red-soft); margin: 0 auto 6px; }
.info-card h2 {
	font-size: 20px;
	font-weight: 500;
	color: var(--color-red-soft);
	margin-bottom: 8px;
}

/* ---------- Formulieren ---------- */
.form { display: grid; gap: 12px; }
.form__field { display: block; }
.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--color-input-border);
	border-radius: 2px;
	background: var(--color-input-bg);
	font: 14px/1.5 var(--font-body);
	color: var(--color-text);
}
.form input { height: 52px; }
.form textarea { min-height: 120px; resize: vertical; }
.form input:focus,
.form textarea:focus { outline: none; border-color: #999999; background: #ffffff; }
.form ::placeholder { color: #888888; }
.form .button { justify-self: start; margin-top: 18px; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 14px; margin: 4px 0 0; min-height: 1em; }
.form-status.is-ok { color: #2e7d32; }
.form-status.is-error { color: #c62828; }

/* ==========================================================================
   Boxed-pagina's (bericht en categorie)
   ========================================================================== */
.boxed {
	background: #ffffff;
	margin: 40px auto 40px;
	padding: 60px 66px;
	max-width: calc(var(--container) - 2 * var(--gutter));
}
.boxed--wide-gap { margin-bottom: 40px; }

.post-title { font-size: 30px; font-weight: 500; line-height: 1.3; }
.post-meta { font-size: 14px; margin: 6px 0 20px; }
.post-intro {
	display: grid;
	grid-template-columns: 175px 1fr;
	gap: 20px;
	align-items: start;
	margin-bottom: 20px;
}
.post-intro h2 { font-size: 18px; font-weight: 500; margin-bottom: 8px; }

.archive-title { font-size: 40px; font-weight: 500; color: var(--color-red); margin-bottom: 50px; }
.archive-item { padding: 0 22px; }
.archive-item h2 { font-size: 30px; font-weight: 500; }
.archive-item h2 a { color: var(--color-text); }
.archive-item h2 a:hover { color: var(--color-red); }
.archive-item p { font-size: 15px; }
.read-more { font-size: 14px; }

/* Zoeken */
.search-results { list-style: none; margin: 20px 0 0; padding: 0; }
.search-results li { padding: 16px 0; border-bottom: 1px solid var(--color-border-light); }
.search-results a { font-family: var(--font-heading); font-size: 20px; font-weight: 500; }
.search-results p { margin: 4px 0 0; font-size: 15px; }
.search-page-form { max-width: 480px; margin-top: 10px; }
.search-page-form .search-form { width: 100%; height: 48px; }
.search-page-form .search-form input { font-size: 15px; padding: 0 12px; }
.search-page-form .search-form button { width: 48px; }

/* Tekstpagina's (privacy, 404) */
.prose { max-width: 820px; }
.prose h2 { font-size: 24px; font-weight: 600; margin: 32px 0 10px; }
.prose ul { padding-left: 1.2em; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--color-footer-bg); }

.footer-main {
	display: grid;
	grid-template-columns: 170px 1.45fr 1fr 1.2fr;
	gap: 40px;
	padding: 70px var(--gutter) 70px;
}
.footer-logo { width: 140px; margin-top: 8px; }

.site-footer h2 {
	font-size: 26px;
	font-weight: 500;
	line-height: 1.2;
	margin-bottom: 18px;
}
.footer-callback .form { gap: 18px; max-width: 350px; }
.footer-callback .form input { height: 52px; background: #f7f7f7; }
.footer-callback .button { text-transform: uppercase; font-size: 14px; padding: 16px 34px; margin-top: 14px; }

.footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: 10px; }
.footer-links a,
.footer-contact p { font-size: 14px; color: var(--color-text); }
.footer-links a:hover { color: var(--color-red); }

.footer-contact p { margin: 0 0 10px; }
.footer-phone {
	display: inline-block;
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 500;
	color: var(--color-red-soft);
	margin-bottom: 14px;
}
.footer-mail { display: inline-flex; align-items: center; gap: 8px; color: var(--color-text); }
.footer-mail .icon { color: var(--color-red-soft); font-size: 12px; }

.footer-bottom {
	border-top: 1px solid var(--color-border-light);
	padding: 25px var(--gutter);
	text-align: center;
	font-size: 12px;
	letter-spacing: .5px;
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--color-red); }

/* ==========================================================================
   Cookiebanner (toestemming voor Google Analytics)
   ========================================================================== */
.link-button {
	border: 0;
	padding: 0;
	background: none;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
	cursor: pointer;
}
.link-button:hover, .link-button:focus-visible { color: var(--color-red); }

.cookie-banner {
	position: fixed;
	left: 16px;
	bottom: 16px;
	z-index: 50;
	width: calc(100% - 32px);
	max-width: 440px;
	padding: 22px 24px;
	background: #ffffff;
	border-radius: 5px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
	font-size: 14px;
	line-height: 1.6;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.cookie-banner p { margin: 0 0 16px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 10px; }
/* Beide knoppen even opvallend: weigeren moet even makkelijk zijn als aanvaarden */
.cookie-banner__actions .button { flex: 1 1 140px; text-align: center; }
.button--outline {
	background: #ffffff;
	color: var(--color-red);
	box-shadow: inset 0 0 0 2px var(--color-red);
}
.button--outline:hover, .button--outline:focus-visible { background: var(--color-red); color: #ffffff; }

/* ==========================================================================
   Responsief
   ========================================================================== */
@media (max-width: 1024px) {
	.page-title h1 { font-size: 42px; }
	.footer-main { grid-template-columns: 1fr 1fr; }
	.footer-logo-col { display: none; }
	.contact-layout { grid-template-columns: 1fr 320px; gap: 40px; }
	.boxed { padding: 40px 30px; margin: 30px 16px; }
}

@media (max-width: 921px) {
	/* Mobiel menu: hamburger zoals de Elementor-header */
	.nav-toggle { display: block; }
	.header-tools .search-form { display: none; }
	.header-right { flex-direction: row; align-items: center; gap: 10px; }
	.header-tools { padding-top: 0; }
	.main-nav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: #ffffff;
		box-shadow: 0 8px 16px rgba(0, 0, 0, .08);
	}
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; padding: 8px 0; }
	.main-nav a, .main-nav li:last-child a { padding: 14px 20px; }
	.main-nav .nav-search { padding: 10px 20px 14px; }
	.main-nav .nav-search .search-form { width: 100%; }
}
@media (min-width: 922px) {
	.main-nav .nav-search { display: none; }
}

@media (max-width: 767px) {
	.container { padding: 0 16px; }
	.site-header__inner { min-height: 80px; }
	.brand__logo { width: 90px; }
	.brand__name { font-size: 22px; }
	.brand__tagline { display: none; }
	.header-phone { font-size: 14px; }

	.page-title { padding: 30px 0; }
	.page-title h1 { font-size: 32px; padding: 0; }
	.section__inner { padding: 0; }
	.section-heading { font-size: 28px; }

	.intro { grid-template-columns: 1fr; }
	.intro__image { width: 100%; max-width: 356px; }

	.cta { flex-direction: column; align-items: flex-start; padding: 30px 0; gap: 16px; }
	.cta__icon { font-size: 56px; width: 64px; height: 56px; }
	.cta__title { font-size: 26px; line-height: 1.2; }

	.brand-card { flex-direction: column-reverse; align-items: flex-start; min-height: 0; padding: 20px; }
	.brand-card__logo { max-width: 200px; }
	.brand-card h3 { font-size: 30px; }

	.contact-layout { grid-template-columns: 1fr; }
	.info-cards { margin-top: 0; }

	.footer-main { grid-template-columns: 1fr; gap: 32px; padding: 50px 16px; }
	.footer-callback .form { max-width: none; }

	.boxed { padding: 30px 20px; margin: 20px 0; }
	.post-intro { grid-template-columns: 1fr; }
	.archive-title { font-size: 32px; margin-bottom: 30px; }
	.archive-item { padding: 0; }
	.archive-item h2, .post-title { font-size: 24px; }
}

@media (max-width: 400px) {
	.header-phone { display: none; }
}
