/* ==========================================================================
   Efesto Lasbedrijf – huisstijl (geel op zwart)
   Child-theme van GeneratePress. GeneratePress regelt de basis-lay-out en
   het responsive gedrag (o.a. het mobiele menu); dit bestand regelt de huisstijl.
   ========================================================================== */

:root {
	--efs-yellow: #F7BD11;
	--efs-yellow-dark: #D9A100;
	--efs-black: #0A0A0A;
	--efs-ink: #111111;
	--efs-surface: #171717;
	--efs-surface-2: #202020;
	--efs-line: #2A2A2A;
	--efs-text: #ECECEC;
	--efs-muted: #A9A9A9;
	--efs-max: 1240px;
	--efs-gutter: clamp(20px, 4vw, 40px);
	--efs-pad-inline: max(var(--efs-gutter), calc((100% - var(--efs-max)) / 2 + var(--efs-gutter)));
	--efs-section-y: clamp(56px, 8vw, 112px);
	--efs-radius: 6px;
	--efs-radius-lg: 18px;
	--efs-font-head: 'Oxanium', 'Segoe UI', system-ui, sans-serif;
	--efs-font-body: 'Manrope', 'Segoe UI', system-ui, -apple-system, sans-serif;
	--efs-shadow: 0 18px 50px rgba(0, 0, 0, .45);
	--efs-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis ---------- */

html { scroll-behavior: smooth; }

body {
	background: var(--efs-black);
	color: var(--efs-text);
	font-family: var(--efs-font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6,
.main-title {
	font-family: var(--efs-font-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.01em;
	color: #fff;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); margin-bottom: .7em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); margin-bottom: .5em; }
h4 { font-size: 1.1rem; }

a { color: var(--efs-yellow); transition: color .2s var(--efs-ease); }
a:hover, a:focus { color: #fff; }

::selection { background: var(--efs-yellow); color: var(--efs-black); }

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

.efs-icon { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

.efs-muted { color: var(--efs-muted); }

.screen-reader-text:focus { background: var(--efs-yellow); color: var(--efs-black); }

/* ---------- Knoppen ---------- */

.efs-btn,
.wp-block-button__link,
.efs-form button[type="submit"] {
	display: inline-flex;
	align-items: center;
	gap: .6em;
	padding: .9em 1.5em;
	border: 2px solid var(--efs-yellow);
	border-radius: var(--efs-radius);
	background: var(--efs-yellow);
	color: var(--efs-black);
	font-family: var(--efs-font-head);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background .2s var(--efs-ease), color .2s var(--efs-ease), border-color .2s var(--efs-ease), transform .2s var(--efs-ease);
}

.efs-btn:hover, .efs-btn:focus,
.wp-block-button__link:hover, .wp-block-button__link:focus {
	background: var(--efs-yellow-dark);
	border-color: var(--efs-yellow-dark);
	color: var(--efs-black);
	transform: translateY(-1px);
}

.efs-btn .efs-icon { transition: transform .2s var(--efs-ease); }
.efs-btn:hover .efs-icon { transform: translateX(3px); }

/* Tweede knop (transparant met lichte rand). De selectors op .wp-block-button.is-style-outline > a
   zijn bewust zwaarder dan de GeneratePress-regel a.wp-block-button__link:not(.has-background). */
.efs-btn--ghost,
.wp-block-button.is-style-outline > a.wp-block-button__link,
a.wp-block-button__link.is-style-outline {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, .35);
}

.efs-btn--ghost:hover, .efs-btn--ghost:focus,
.wp-block-button.is-style-outline > a.wp-block-button__link:hover,
.wp-block-button.is-style-outline > a.wp-block-button__link:focus {
	background: transparent;
	border-color: var(--efs-yellow);
	color: var(--efs-yellow);
}

.wp-block-buttons { gap: 12px; margin-top: 1.6em; }

/* ---------- Topbalk ---------- */

.efs-topbar {
	background: var(--efs-black);
	border-bottom: 1px solid var(--efs-line);
	font-size: .85rem;
	color: var(--efs-muted);
}

.efs-topbar__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	max-width: var(--efs-max);
	margin: 0 auto;
	padding: 8px var(--efs-gutter);
}

.efs-topbar ul { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.efs-topbar li { display: flex; align-items: center; gap: 8px; margin: 0; }
.efs-topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--efs-text); text-decoration: none; }
.efs-topbar a:hover { color: var(--efs-yellow); }
.efs-topbar .efs-icon { color: var(--efs-yellow); width: 15px; height: 15px; }

/* ---------- Header en navigatie ---------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(10, 10, 10, .96);
	border-bottom: 1px solid var(--efs-line);
	transition: box-shadow .25s var(--efs-ease), background .25s var(--efs-ease);
}

@supports (backdrop-filter: blur(8px)) {
	.site-header { background: rgba(10, 10, 10, .86); backdrop-filter: blur(10px); }
}

.admin-bar .site-header { top: 32px; }
/* Mobiel: header blijft sticky, ook ingelogd. WordPress-beheerbalk is daar 46px hoog
   en scrolt onder 600px mee weg. (Was: position: relative; top: 0 onder 782px.) */
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* Open uitklapmenu op mobiel: zelf scrollbaar als het langer is dan het scherm. */
@media (max-width: 1080px) {
	.main-navigation.toggled .main-nav > ul {
		max-height: calc(100vh - 90px);
		max-height: calc(100dvh - 90px);
		overflow-y: auto;
		overscroll-behavior: contain;
	}
}

.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(0, 0, 0, .55); }

.inside-header { padding-block: 12px; padding-inline: var(--efs-gutter); }

.site-logo .header-image,
.site-header .custom-logo {
	width: auto;
	height: 70px;
	max-height: 70px;
}

.main-navigation .main-nav ul li a {
	font-family: var(--efs-font-head);
	font-weight: 600;
	font-size: .98rem;
	letter-spacing: .01em;
	padding-left: 16px;
	padding-right: 16px;
}

.main-navigation .main-nav > ul > li:not(.efs-menu-cta) > a { position: relative; }

.main-navigation .main-nav > ul > li:not(.efs-menu-cta) > a::after {
	content: "";
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 14px;
	height: 2px;
	background: var(--efs-yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s var(--efs-ease);
}

.main-navigation .main-nav > ul > li:not(.efs-menu-cta):hover > a::after,
.main-navigation .main-nav > ul > li.current-menu-item:not(.efs-menu-cta) > a::after,
.main-navigation .main-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }

.main-navigation .main-nav ul li.efs-menu-cta { display: flex; align-items: center; margin-left: 10px; }

.main-navigation .main-nav ul li.efs-menu-cta > a {
	line-height: 1.2;
	padding: 12px 20px;
	border-radius: var(--efs-radius);
	background: var(--efs-yellow);
	color: var(--efs-black);
	font-weight: 700;
}

.main-navigation .main-nav ul li.efs-menu-cta > a:hover,
.main-navigation .main-nav ul li.efs-menu-cta.current-menu-item > a {
	background: #fff;
	color: var(--efs-black);
}

.main-navigation ul ul {
	border-top: 2px solid var(--efs-yellow);
	box-shadow: var(--efs-shadow);
}

.menu-toggle,
.menu-toggle:hover,
.menu-toggle:focus {
	font-family: var(--efs-font-head);
	font-weight: 700;
	color: var(--efs-yellow);
	background: transparent;
}

/* ---------- Hero / paginaheader ---------- */

.efs-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background: var(--efs-black);
	color: var(--efs-text);
}

.efs-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-size: cover;
	background-position: center;
	transform: scale(1.02);
}

.efs-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(10, 10, 10, .94) 0%, rgba(10, 10, 10, .78) 42%, rgba(10, 10, 10, .45) 75%, rgba(10, 10, 10, .7) 100%),
		linear-gradient(0deg, rgba(10, 10, 10, 1) 0%, rgba(10, 10, 10, 0) 35%);
}

/* Stralen uit het logo als decoratie. */
.efs-hero__rays {
	position: absolute;
	z-index: -1;
	right: -12%;
	top: 50%;
	width: 85vmax;
	aspect-ratio: 1;
	transform: translateY(-50%);
	background: repeating-conic-gradient(from 0deg, rgba(247, 189, 17, .16) 0deg 1.1deg, transparent 1.1deg 9deg);
	-webkit-mask: radial-gradient(circle, transparent 22%, #000 23%, #000 48%, transparent 70%);
	mask: radial-gradient(circle, transparent 22%, #000 23%, #000 48%, transparent 70%);
	opacity: .55;
	pointer-events: none;
}

.efs-hero__inner {
	position: relative;
	display: grid;
	align-items: center;
	gap: 40px;
	max-width: var(--efs-max);
	margin: 0 auto;
	padding: clamp(56px, 9vw, 120px) var(--efs-gutter);
}

.efs-hero__content { max-width: 720px; }

.efs-eyebrow {
	display: block;
	margin: 0 0 1rem;
	color: var(--efs-yellow);
	font-family: var(--efs-font-head);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: .01em;
}

.efs-hero__title { margin: 0 0 .45em; color: #fff; text-wrap: balance; }

.efs-hero__text {
	max-width: 620px;
	margin: 0;
	color: #D6D6D6;
	font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.efs-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; color: #D6D6D6; }
.efs-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.efs-hero__meta .efs-icon { color: var(--efs-yellow); }

.efs-hero__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

.efs-hero--home .efs-hero__inner {
	min-height: min(78vh, 760px);
	padding-bottom: clamp(110px, 12vw, 170px);
}

.efs-hero--home .efs-hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); }

.efs-hero__logo { display: none; }

.efs-hero--page .efs-hero__inner { min-height: clamp(280px, 38vw, 440px); }
.efs-hero--page .efs-hero__title { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
.efs-hero--noimage .efs-hero__rays { opacity: .8; }

@media (min-width: 1000px) {
	.efs-hero--home .efs-hero__inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
	.efs-hero__logo { display: block; justify-self: end; width: min(100%, 440px); filter: drop-shadow(0 10px 40px rgba(0, 0, 0, .6)); }
	.efs-hero__logo img { display: block; width: 100%; height: auto; }
}

/* Kruimelpad */
.efs-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 1.4rem;
	font-size: .88rem;
	color: var(--efs-muted);
}
.efs-breadcrumbs a { color: var(--efs-text); text-decoration: none; }
.efs-breadcrumbs a:hover { color: var(--efs-yellow); }
.efs-breadcrumbs .sep { color: var(--efs-yellow); }

/* Gele claimbalk (overlapt de onderkant van de hero). Lettertype zoals op de bussen: Flood Std. */
.efs-usps {
	position: relative;
	max-width: var(--efs-max);
	margin: -60px auto 0;
	padding: 0 var(--efs-gutter);
	transform: translateY(50%);
	z-index: 2;
}

.efs-usps__claim {
	margin: 0;
	padding: clamp(14px, 2vw, 22px) clamp(20px, 4vw, 48px);
	border-radius: var(--efs-radius-lg);
	/* Was: background var(--efs-yellow) met color var(--efs-black). */
	background: var(--efs-black);
	color: var(--efs-yellow);
	border: 1px solid var(--efs-yellow);
	font-family: 'flood-std', 'Efesto Flood', 'Flood Std', 'Permanent Marker', var(--efs-font-head);
	font-weight: 400;
	font-size: clamp(1.6rem, 3.6vw, 2.7rem);
	line-height: 1.15;
	letter-spacing: .01em;
	text-align: center;
	box-shadow: var(--efs-shadow);
}

.efs-hero--home { overflow: visible; padding-bottom: 1px; }
.home .site-content { padding-top: clamp(50px, 6vw, 70px); }

/* ---------- Content en secties ---------- */

.site-content { padding: 0; }

.efs-fullwidth .site-main,
.efs-fullwidth .inside-article { margin: 0; padding: 0; }

.efs-fullwidth .inside-article,
.one-container.efs-fullwidth .site-content { background: transparent; }

.efs-fullwidth .entry-content { margin-top: 0; }

/* Losse blokken op een volle-breedtepagina netjes binnen de contentbreedte houden. */
.efs-fullwidth .inside-article > .entry-content > *:not(.efs-section):not(.alignfull) {
	max-width: var(--efs-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--efs-gutter);
	padding-right: var(--efs-gutter);
}

.efs-fullwidth .inside-article > .entry-content > *:not(.efs-section):first-child { margin-top: var(--efs-section-y); }
.efs-fullwidth .inside-article > .entry-content > *:not(.efs-section):last-child { margin-bottom: var(--efs-section-y); }

.efs-section {
	padding: var(--efs-section-y) var(--efs-pad-inline);
	margin: 0;
}

.efs-section > .wp-block-group__inner-container > *:first-child,
.efs-section > *:first-child { margin-top: 0; }
.efs-section > .wp-block-group__inner-container > *:last-child,
.efs-section > *:last-child { margin-bottom: 0; }

.efs-section--alt { background: var(--efs-ink); border-top: 1px solid var(--efs-line); border-bottom: 1px solid var(--efs-line); }

.efs-section--yellow { background: var(--efs-yellow); color: var(--efs-black); }
.efs-section--yellow h2, .efs-section--yellow h3, .efs-section--yellow a:not(.wp-block-button__link) { color: var(--efs-black); }
.efs-section--yellow .wp-block-button__link { background: var(--efs-black); border-color: var(--efs-black); color: var(--efs-yellow); }
.efs-section--yellow .wp-block-button__link:hover { background: #222; border-color: #222; color: #fff; }

.efs-section--narrow > .wp-block-group__inner-container,
.efs-section--narrow.is-layout-flow,
.efs-section--narrow.is-layout-constrained { max-width: 860px; margin-inline: auto; }
.efs-section--narrow { padding-inline: max(var(--efs-gutter), calc((100% - 860px) / 2)); }

.efs-center { text-align: center; }
.efs-center .wp-block-buttons { justify-content: center; }

.efs-section__head {
	display: flex;
	flex-wrap: wrap;
	align-items: end;
	justify-content: space-between;
	gap: 16px 30px;
	margin-bottom: 36px;
}
.efs-section__head h2 { margin: 0; }

/* Koppen met gele streep (zoals de onderstreping op laveno.eu). */
.efs-section h2:not(.efs-plain),
.entry-content > h2 {
	position: relative;
	padding-bottom: .45em;
}

.efs-section h2:not(.efs-plain)::after,
.entry-content > h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 56px;
	height: 3px;
	border-radius: 3px;
	background: var(--efs-yellow);
}

.efs-center h2::after,
h2.has-text-align-center::after { left: 50% !important; transform: translateX(-50%); }

.efs-section--yellow h2::after { background: var(--efs-black); }

.efs-lead { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: #D6D6D6; }

.entry-content p, .entry-content li { color: #D2D2D2; }
.efs-section--yellow p, .efs-section--yellow li { color: #1A1A1A; }
.entry-content strong { color: #fff; }
.efs-section--yellow strong { color: var(--efs-black); }

/* Kolommen: tekst + beeld */
.efs-split { gap: clamp(28px, 5vw, 72px) !important; align-items: center !important; }

.efs-split .wp-block-image,
.efs-photo {
	margin: 0;
	border-radius: var(--efs-radius-lg);
	overflow: hidden;
	position: relative;
}

.efs-split .wp-block-image img,
.efs-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Gele hoek-accent op foto's */
.efs-photo--accent { overflow: visible; }
.efs-photo--accent img { border-radius: var(--efs-radius-lg); }
.efs-photo--accent::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: -14px;
	bottom: -14px;
	width: 45%;
	height: 55%;
	border-radius: var(--efs-radius-lg);
	background: var(--efs-yellow);
}

/* Kaarten in kolommen (diensten, stappen) */
.efs-cards { gap: 20px !important; }

.efs-cards > .wp-block-column {
	position: relative;
	padding: 28px 26px;
	border: 1px solid var(--efs-line);
	border-radius: var(--efs-radius-lg);
	background: var(--efs-surface);
	transition: border-color .25s var(--efs-ease), transform .25s var(--efs-ease);
}

.efs-cards > .wp-block-column:hover { border-color: rgba(247, 189, 17, .6); transform: translateY(-3px); }

.efs-cards h3 { margin-top: 0; }
.efs-cards p { font-size: .97rem; }
.efs-cards p:last-child { margin-bottom: 0; }

.efs-cards a { text-decoration: none; font-weight: 700; }
.efs-cards a::after { content: " →"; }

/* Kaart met een link: de hele kaart is klikbaar (uitgerekte link over de kaart). */
.efs-cards > .wp-block-column a::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}
.efs-cards > .wp-block-column:has(a) { cursor: pointer; }
.efs-cards > .wp-block-column:has(a):hover a { color: #fff; }
.efs-cards > .wp-block-column a:focus-visible { outline: none; }
.efs-cards > .wp-block-column:has(a:focus-visible) { outline: 2px solid var(--efs-yellow); outline-offset: 3px; }

.efs-cards .efs-num {
	display: inline-grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: 16px;
	border-radius: 50%;
	background: var(--efs-yellow);
	color: var(--efs-black);
	font-family: var(--efs-font-head);
	font-weight: 800;
	font-size: 1.1rem;
}

/* Lijst met vinkjes */
.efs-checklist { list-style: none; padding-left: 0; margin-left: 0; }
.efs-checklist li { position: relative; padding-left: 34px; margin-bottom: .6em; }
.efs-checklist li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .3em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--efs-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0A0A' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Cijfers */
.efs-stats { gap: 20px !important; }
.efs-stats > .wp-block-column { border-left: 3px solid var(--efs-yellow); padding-left: 20px; }
.efs-stats .efs-stat { margin: 0; font-family: var(--efs-font-head); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; color: var(--efs-yellow); }
.efs-stats p:not(.efs-stat) { margin: .4em 0 0; color: var(--efs-muted); }

/* Tijdlijn (Over ons) */
.efs-timeline {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
	padding-left: 34px;
}

.efs-timeline::before {
	content: "";
	position: absolute;
	left: 8px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(var(--efs-yellow), rgba(247, 189, 17, .15));
}

.efs-timeline__item { position: relative; margin: 0 0 38px; }
.efs-timeline__item:last-child { margin-bottom: 0; }

.efs-timeline__item::before {
	content: "";
	position: absolute;
	left: -34px;
	top: 6px;
	width: 18px;
	height: 18px;
	border: 3px solid var(--efs-yellow);
	border-radius: 50%;
	background: var(--efs-black);
}

.efs-timeline__item h3 { margin: 0 0 .2em; color: var(--efs-yellow); font-size: 1.6rem; }
.efs-timeline__item h4 { margin: 0 0 .5em; color: #fff; font-size: 1.15rem; }
.efs-timeline__item p { margin-bottom: .6em; }

/* Citaat */
.efs-quote,
.entry-content .wp-block-quote {
	margin: 0;
	padding: 6px 0 6px 26px;
	border-left: 4px solid var(--efs-yellow);
	font-family: var(--efs-font-head);
	font-size: clamp(1.15rem, 2vw, 1.4rem);
	line-height: 1.5;
	color: #fff;
}
.entry-content .wp-block-quote cite { display: block; margin-top: .6em; font-family: var(--efs-font-body); font-size: .9rem; color: var(--efs-muted); font-style: normal; }

/* Afbeeldingen en galerij */
.entry-content .wp-block-image img { border-radius: var(--efs-radius); }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-gallery .wp-block-image img { border-radius: var(--efs-radius); }
.entry-content figcaption { color: var(--efs-muted); font-size: .9rem; }

/* Tabellen in content */
.entry-content table { border-collapse: collapse; width: 100%; border: 1px solid var(--efs-line); }
.entry-content th, .entry-content td { padding: 10px 14px; border: 1px solid var(--efs-line); text-align: left; }
.entry-content thead th { background: var(--efs-surface-2); color: #fff; }

hr, .wp-block-separator { border: 0; border-top: 1px solid var(--efs-line); margin: 2.5em 0; }

/* ---------- Grids met kaarten (machines, projecten) ---------- */

.efs-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 28px;
}

.efs-filter__btn {
	padding: 9px 18px;
	border: 1px solid var(--efs-line);
	border-radius: 999px;
	background: var(--efs-surface);
	color: var(--efs-text);
	font-family: var(--efs-font-head);
	font-weight: 600;
	font-size: .92rem;
	line-height: 1.2;
	cursor: pointer;
	transition: all .2s var(--efs-ease);
}

.efs-filter__btn:hover, .efs-filter__btn:focus { border-color: var(--efs-yellow); color: var(--efs-yellow); background: var(--efs-surface); }
.efs-filter__btn.is-active { background: var(--efs-yellow); border-color: var(--efs-yellow); color: var(--efs-black); }

.efs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: 24px;
}

@media (min-width: 1100px) {
	.efs-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.efs-card {
	border: 1px solid var(--efs-line);
	border-radius: var(--efs-radius-lg);
	background: var(--efs-surface);
	overflow: hidden;
	transition: border-color .25s var(--efs-ease), transform .25s var(--efs-ease), box-shadow .25s var(--efs-ease);
}

.efs-card[hidden] { display: none; }

.efs-card:hover, .efs-card:focus-within {
	border-color: var(--efs-yellow);
	transform: translateY(-4px);
	box-shadow: var(--efs-shadow);
}

.efs-card__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.efs-card__link:hover, .efs-card__link:focus { color: inherit; }

.efs-card__media {
	position: relative;
	aspect-ratio: 36 / 25;
	overflow: hidden;
	background: var(--efs-surface-2);
}

.efs-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--efs-ease), filter .3s;
	filter: saturate(.92);
}

.efs-card:hover .efs-card__media img { transform: scale(1.06); filter: saturate(1.05); }

.efs-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--efs-yellow); }
.efs-card__placeholder .efs-icon { width: 54px; height: 54px; }

.efs-card__badge {
	position: absolute;
	left: 14px;
	bottom: 14px;
	display: flex;
	flex-direction: column;
	padding: 8px 12px;
	border-radius: var(--efs-radius);
	background: var(--efs-yellow);
	color: var(--efs-black);
	line-height: 1.15;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}

.efs-card__badge strong { font-family: var(--efs-font-head); font-size: 1.15rem; font-weight: 800; }
.efs-card__badge small { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }

.efs-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }

.efs-card__cat {
	margin: 0 0 .4em;
	color: var(--efs-yellow);
	font-family: var(--efs-font-head);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.efs-card__title { margin: 0 0 .45em; font-size: 1.28rem; color: #fff; }
.efs-card__text { margin: 0 0 1em; color: var(--efs-muted); font-size: .95rem; line-height: 1.6; }
.efs-card__meta { display: flex; align-items: center; gap: 6px; margin: 0 0 1em; color: var(--efs-muted); font-size: .92rem; }
.efs-card__meta .efs-icon { color: var(--efs-yellow); }

.efs-card__more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	color: var(--efs-yellow);
	font-family: var(--efs-font-head);
	font-weight: 700;
	font-size: .95rem;
}

.efs-card__more .efs-icon { transition: transform .2s var(--efs-ease); }
.efs-card:hover .efs-card__more .efs-icon { transform: translateX(4px); }

.efs-empty { color: var(--efs-muted); }

/* ---------- Machinepagina ---------- */

.efs-machine__layout {
	display: grid;
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

@media (min-width: 960px) {
	.efs-machine__layout { grid-template-columns: minmax(0, 1.55fr) minmax(320px, 1fr); }
	.efs-machine__specs { position: sticky; top: 120px; }
}

.efs-machine__photo { margin: 0 0 32px; border-radius: var(--efs-radius-lg); overflow: hidden; }
.efs-machine__photo img { display: block; width: 100%; height: auto; }

.efs-machine__content > *:first-child { margin-top: 0; }

.efs-speccard {
	padding: 30px 28px;
	border: 1px solid var(--efs-line);
	border-top: 4px solid var(--efs-yellow);
	border-radius: 0 0 var(--efs-radius-lg) var(--efs-radius-lg);
	background: var(--efs-surface);
}

.efs-speccard__kern { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin: 0 0 18px; }
.efs-speccard__kern strong { font-family: var(--efs-font-head); font-size: clamp(2.2rem, 4vw, 2.9rem); line-height: 1; color: var(--efs-yellow); }
.efs-speccard__kern span { color: var(--efs-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }

.efs-speccard__title { margin: 0 0 14px; font-size: 1.3rem; }

.efs-spectable { width: 100%; margin: 0 0 24px; border: 0; border-collapse: collapse; font-size: .95rem; }
.efs-spectable th, .efs-spectable td { padding: 11px 0; border: 0; border-bottom: 1px solid var(--efs-line); vertical-align: top; text-align: left; }
.efs-spectable th { width: 46%; padding-right: 14px; color: var(--efs-muted); font-weight: 600; }
.efs-spectable td { color: #fff; font-weight: 600; }

.efs-speccard__actions { display: grid; gap: 10px; }
.efs-speccard__actions .efs-btn { justify-content: center; }
.efs-speccard__note { margin: 18px 0 0; color: var(--efs-muted); font-size: .88rem; line-height: 1.55; }

/* ---------- Contactblok boven de footer ---------- */

.efs-cta { padding: var(--efs-section-y) var(--efs-pad-inline) 0; background: var(--efs-black); }

.efs-cta__inner {
	display: grid;
	overflow: hidden;
	border-radius: var(--efs-radius-lg);
	background: var(--efs-surface);
	border: 1px solid var(--efs-line);
}

@media (min-width: 900px) {
	.efs-cta__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}

.efs-cta__panel { padding: clamp(32px, 5vw, 64px); position: relative; }
.efs-cta__panel::before {
	content: "";
	position: absolute;
	left: 0;
	top: clamp(32px, 5vw, 64px);
	width: 4px;
	height: 64px;
	background: var(--efs-yellow);
}
.efs-cta__panel h2 { margin-bottom: .5em; }
.efs-cta__panel p { color: #CFCFCF; }

.efs-cta__contact { display: grid; gap: 10px; margin: 1.6em 0 2em; padding: 0; list-style: none; }
.efs-cta__contact a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--efs-font-head); font-size: 1.2rem; font-weight: 700; text-decoration: none; }
.efs-cta__contact a:hover { color: var(--efs-yellow); }
.efs-cta__contact .efs-icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--efs-yellow); color: var(--efs-black); }

.efs-cta__media { position: relative; min-height: 260px; background: var(--efs-surface-2); }
.efs-cta__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */

.site-footer { background: var(--efs-black); }

.efs-footer { color: var(--efs-muted); font-size: .95rem; }

.efs-footer__inner {
	display: grid;
	gap: 36px;
	max-width: var(--efs-max);
	margin: 0 auto;
	padding: var(--efs-section-y) var(--efs-gutter) 48px;
}

@media (min-width: 700px) { .efs-footer__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1020px) { .efs-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.efs-footer__logo img { width: 150px; height: auto; margin-bottom: 14px; }
.efs-footer__brand p { max-width: 340px; }

.efs-footer__title {
	margin: 0 0 16px;
	color: #fff;
	font-size: 1.05rem;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.efs-footer address { font-style: normal; margin-bottom: 14px; line-height: 1.7; }
.efs-footer address strong { color: #fff; }

.efs-footer ul { margin: 0; padding: 0; list-style: none; }
.efs-footer li { margin: 0 0 8px; }
.efs-footer a { color: var(--efs-text); text-decoration: none; }
.efs-footer a:hover { color: var(--efs-yellow); }

.efs-footer__contact a,
.efs-footer__social a { display: inline-flex; align-items: center; gap: 10px; }
.efs-footer__contact .efs-icon,
.efs-footer__social .efs-icon { color: var(--efs-yellow); }

.efs-footer__member {
	display: inline-block;
	margin-top: 16px;
	padding: 8px 12px;
	border: 1px solid var(--efs-line);
	border-radius: var(--efs-radius);
	font-size: .85rem;
}

.efs-footer__bar { border-top: 1px solid var(--efs-line); }
.efs-footer__bar-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	max-width: var(--efs-max);
	margin: 0 auto;
	padding: 20px var(--efs-gutter);
	font-size: .85rem;
}

.generate-back-to-top { border-radius: 50%; }

/* ---------- Contactpagina, kaart en formulier ---------- */

/* Geel blok met zwarte tekst en zwarte iconen. */
.efs-contactcard {
	padding: 30px 28px;
	border: 0;
	border-radius: var(--efs-radius-lg);
	background: var(--efs-yellow);
	color: var(--efs-black);
}

.efs-contactcard h3 { margin-top: 0; color: var(--efs-black); }
.efs-contactcard address { margin-bottom: 18px; font-style: normal; font-size: 1.05rem; color: var(--efs-black); }
.efs-contactcard ul { margin: 0; padding: 0; list-style: none; }
.efs-contactcard li { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; color: var(--efs-black); }
.efs-contactcard li .efs-icon { color: var(--efs-black); }
.efs-contactcard a { color: var(--efs-black); text-decoration: none; font-weight: 600; }
.efs-contactcard a:hover,
.efs-contactcard a:focus { color: var(--efs-black); text-decoration: underline; text-underline-offset: 3px; }

.efs-map {
	position: relative;
	min-height: 360px;
	border: 1px solid var(--efs-line);
	border-radius: var(--efs-radius-lg);
	overflow: hidden;
	background:
		repeating-linear-gradient(45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 18px),
		var(--efs-surface);
}

.efs-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg); }

.efs-map__consent {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 24px;
	text-align: center;
}

.efs-map__consent > .efs-icon { width: 44px; height: 44px; color: var(--efs-yellow); }
.efs-map__consent p { margin: 0; }
.efs-map__note { font-size: .82rem; color: var(--efs-muted); }

.efs-form__grid { display: grid; gap: 4px 20px; }
@media (min-width: 640px) { .efs-form__grid { grid-template-columns: 1fr 1fr; } }

.efs-form__field { margin: 0 0 14px; }
.efs-form__field--full { grid-column: 1 / -1; }

.efs-form label { display: block; margin-bottom: 6px; color: #fff; font-weight: 600; font-size: .95rem; }
.efs-form label span[aria-hidden] { color: var(--efs-yellow); }

.efs-form input[type="text"],
.efs-form input[type="email"],
.efs-form input[type="tel"],
.efs-form select,
.efs-form textarea {
	width: 100%;
	padding: 13px 15px;
	border: 1px solid #3A3A3A;
	border-radius: var(--efs-radius);
	background: var(--efs-surface);
	color: var(--efs-text);
	font: inherit;
	font-size: 1rem;
}

.efs-form input:focus, .efs-form select:focus, .efs-form textarea:focus {
	border-color: var(--efs-yellow);
	outline: none;
	box-shadow: 0 0 0 3px rgba(247, 189, 17, .2);
}

.efs-form input[type="file"] {
	width: 100%;
	padding: 12px;
	border: 1px dashed #4A4A4A;
	border-radius: var(--efs-radius);
	background: var(--efs-surface);
	color: var(--efs-muted);
}

.efs-form input[type="file"]::file-selector-button {
	margin-right: 12px;
	padding: 8px 14px;
	border: 0;
	border-radius: var(--efs-radius);
	background: var(--efs-surface-2);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.efs-form small { display: block; margin-top: 6px; color: var(--efs-muted); font-size: .84rem; }

.efs-form__check { display: flex; gap: 12px; align-items: flex-start; }
.efs-form__check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--efs-yellow); }
.efs-form__check label { font-weight: 400; color: #D2D2D2; }

.efs-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.efs-form__submit { margin: 10px 0 0; }

.efs-notice {
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: var(--efs-radius);
	border-left: 4px solid;
	font-weight: 600;
}
.efs-notice--success { background: rgba(80, 200, 120, .1); border-color: #50C878; color: #CFF5DB; }
.efs-notice--error { background: rgba(255, 90, 90, .1); border-color: #FF6B6B; color: #FFD6D6; }

/* ---------- Mobiel ---------- */

@media (max-width: 768px) {
	body { font-size: 16px; }

	.efs-topbar__address,
	.efs-topbar__contact li:nth-child(2) span { display: none; }

	.site-logo .header-image,
	.site-header .custom-logo { height: 54px; max-height: 54px; }

	.inside-header { padding-block: 8px; }

	.main-navigation .main-nav ul li a { line-height: 1.4; padding-top: 14px; padding-bottom: 14px; }
	.main-navigation .main-nav > ul > li > a::after { display: none; }
	.main-navigation.toggled .main-nav > ul { padding-bottom: 16px; }
	.main-navigation .main-nav ul li.efs-menu-cta { margin: 10px var(--efs-gutter) 0; }
	.main-navigation .main-nav ul li.efs-menu-cta > a { justify-content: center; text-align: center; width: 100%; }

	.efs-hero--home .efs-hero__inner { min-height: 0; }

	.efs-section__head { align-items: start; }

	.efs-photo--accent::before { left: -8px; bottom: -8px; }
}

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

/* ---------- Print ---------- */

@media print {
	.efs-topbar, .site-header, .efs-cta, .efs-footer__bar, .efs-filter, .generate-back-to-top { display: none !important; }
	body, .efs-hero, .efs-section, .efs-speccard, .efs-card { background: #fff !important; color: #000 !important; }
	h1, h2, h3, .efs-spectable td { color: #000 !important; }
	.efs-hero__bg, .efs-hero__rays { display: none; }
}

/* ---------- Aanvullingen ---------- */

.efs-photo--accent { isolation: isolate; }

.efs-section--yellow .efs-stats > .wp-block-column { border-left-color: var(--efs-black); }
.efs-section--yellow .efs-stats .efs-stat { color: var(--efs-black); }
.efs-section--yellow .efs-stats p:not(.efs-stat) { color: #2A2A2A; }

.efs-section--yellow .efs-cards > .wp-block-column { background: var(--efs-black); border-color: var(--efs-black); }
.efs-section--yellow .efs-cards h3 { color: var(--efs-yellow); }
.efs-section--yellow .efs-cards p { color: #D2D2D2; }

.efs-section .efs-eyebrow { margin-bottom: .8rem; }

/* Ankers niet onder de vaste header laten vallen. */
[id] { scroll-margin-top: 110px; }

/* Decoratielaag van de hero (achtergrond + stralen) afsnijden binnen de hero. */
.efs-hero__layer { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.efs-hero__layer .efs-hero__bg { z-index: 0; }
.efs-hero__layer .efs-hero__rays { z-index: 1; }

/* Kaarttitels niet midden in een woord afbreken. */
.efs-cards h3 { font-size: clamp(1.08rem, 1.5vw, 1.25rem); hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* Cijferbalk compacter. */
.efs-section--yellow:has(.efs-stats) { padding-block: clamp(40px, 5vw, 64px); }
.efs-stats { margin: 0 !important; }

/* Ruimte tussen twee kolommenrijen kaarten. */
.efs-cards + .efs-cards { margin-top: 20px; }

/* ---------- Tablet ---------- */

/* Mobiel menu tot 1080px (zie generate_mobile_menu_media_query in inc/setup.php). */
@media (max-width: 1080px) {
	.main-navigation .main-nav ul li a { line-height: 1.4; padding-top: 14px; padding-bottom: 14px; }
	.main-navigation .main-nav > ul > li > a::after { display: none; }
	.main-navigation.toggled .main-nav > ul { padding-bottom: 16px; }
	.main-navigation.toggled .main-nav ul li { width: 100%; text-align: left; }
	.main-navigation .main-nav ul li.efs-menu-cta { margin: 10px var(--efs-gutter) 0; }
	.main-navigation .main-nav ul li.efs-menu-cta > a { display: block; text-align: center; }
	.main-navigation.toggled .main-nav ul ul { position: static; opacity: 1; visibility: visible; box-shadow: none; border-top: 0; width: 100%; }
}

/* Vier kaarten of cijfers naast elkaar is te krap op een tablet: twee per rij. */
@media (min-width: 782px) and (max-width: 1080px) {
	.wp-block-columns.efs-cards,
	.wp-block-columns.efs-stats { flex-wrap: wrap !important; }
	.wp-block-columns.efs-cards > .wp-block-column,
	.wp-block-columns.efs-stats > .wp-block-column { flex-basis: calc(50% - 10px) !important; flex-grow: 0; }
}

/* Mobiele topbalk: alleen telefoon en "Werken bij". */
@media (max-width: 768px) {
	.efs-topbar__contact li:nth-child(n+2) { display: none; }
	.efs-topbar__inner { flex-wrap: nowrap; }
	.efs-topbar__contact li:first-child span { display: inline; }
}

/* GeneratePress geeft groepsblokken een eigen binnenmarge en maximale breedte;
   onze secties regelen dat zelf. */
.site-main .efs-section .wp-block-group__inner-container,
.site-main .efs-section > .wp-block-group__inner-container,
.site-main .efs-timeline .wp-block-group__inner-container {
	padding: 0;
	max-width: none;
}
.efs-contactcard { margin-bottom: 32px; }

/* Knoppen in een gele sectie: zwart met gele tekst. */
.efs-section--yellow .wp-block-button .wp-block-button__link { background: var(--efs-black); border-color: var(--efs-black); color: var(--efs-yellow); }
.efs-section--yellow .wp-block-button .wp-block-button__link:hover,
.efs-section--yellow .wp-block-button .wp-block-button__link:focus { background: #222; border-color: #222; color: #fff; }

/* Lege gele balk als scheiding tussen secties. */
.efs-section.efs-bar { padding: 0; height: clamp(112px, 14vw, 220px); }

/* Topbalk is leeg: vaste hoogte, zelfde als met inhoud. */
.efs-topbar__inner { height: 39px; padding-top: 0; padding-bottom: 0; }

/* Op mobiel geen (lege) topbalk. */
@media (max-width: 768px) {
	.efs-topbar { display: none; }
}

/* ==========================================================================
   Animaties (subtiel)
   - Alleen actief met klasse efs-anim op <html> (gezet in inc/setup.php, niet bij "minder beweging").
   - Gebruikt de losse eigenschappen translate/scale/rotate, zodat bestaande
     transform-hovers van kaarten en knoppen blijven werken.
   ========================================================================== */

@keyframes efs-rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes efs-slide-in { from { opacity: 0; translate: -18px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes efs-pop { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes efs-spin { to { rotate: 360deg; } }

/* Hero bij het laden: inhoud kort na elkaar, logo en claimbalk volgen. */
.efs-anim .efs-hero__content > * { animation: efs-rise .8s var(--efs-ease) both; }
.efs-anim .efs-hero__content > *:nth-child(2) { animation-delay: .08s; }
.efs-anim .efs-hero__content > *:nth-child(3) { animation-delay: .16s; }
.efs-anim .efs-hero__content > *:nth-child(4) { animation-delay: .24s; }
.efs-anim .efs-hero__content > *:nth-child(5) { animation-delay: .32s; }
.efs-anim .efs-hero__logo { animation: efs-pop 1.1s var(--efs-ease) .2s both; }
.efs-anim .efs-usps { animation: efs-rise .8s var(--efs-ease) .45s both; }

/* Stralen draaien heel langzaam mee. */
.efs-anim .efs-hero__rays { animation: efs-spin 240s linear infinite; }

/* Bij het scrollen: eerst onzichtbaar, dan zacht omhoog in beeld. */
html.efs-anim:not(.efs-anim-fallback) :is(
	.efs-section .efs-eyebrow,
	.efs-section h2,
	.efs-section .efs-lead,
	.efs-split .efs-photo,
	.efs-cards > .wp-block-column,
	.efs-stats > .wp-block-column,
	.efs-grid > .efs-card,
	.efs-timeline__item,
	.efs-speccard,
	.efs-contactcard,
	.efs-map,
	.efs-cta__inner,
	.efs-section .wp-block-gallery,
	.efs-section .wp-block-buttons
):not(.is-visible) { opacity: 0; }

html.efs-anim .is-visible { animation: efs-rise .75s var(--efs-ease) both; animation-delay: var(--efs-delay, 0s); }
html.efs-anim .efs-timeline__item.is-visible { animation-name: efs-slide-in; }
/* De grote foto op machinepagina's animeert bewust niet: die moet direct zichtbaar zijn (laadsnelheid). */
html.efs-anim .efs-split .efs-photo.is-visible { animation-name: efs-pop; animation-duration: 1s; }

/* Gele streep onder koppen groeit open zodra de kop in beeld is. */
html.efs-anim .efs-section h2:not(.efs-plain)::after {
	scale: 0 1;
	transform-origin: left center;
	transition: scale .9s var(--efs-ease) .25s;
}
html.efs-anim .efs-center h2::after,
html.efs-anim h2.has-text-align-center::after { transform-origin: 0 50%; }
html.efs-anim .efs-section h2.is-visible::after,
html.efs-anim-fallback .efs-section h2::after { scale: 1 1; }
