/*
Theme Name: Lohues Installatietechniek
Theme URI: https://lohuesinstallatietechniek.nl
Author: SD Visuals
Description: Maatwerk block theme (Full Site Editing) voor Lohues Installatietechniek. Alles zit in het thema: huisstijl (vast in theme.json), lettertype, afbeeldingen, pagina's, formulieren en energiescans. Teksten en foto's zijn aan te passen in de Site Editor. Geen plugins nodig.
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 8.1
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lohues-theme
*/

/*
 * Alles wat theme.json niet kan uitdrukken: hover-overgangen, verloopknop, decoratie,
 * kaarten en de opbouw van header/footer. Kleuren en maten komen uit de presets.
 * Klassen met "lh-" worden door de patronen van dit thema gebruikt.
 */

:root {
	--lh-radius: var(--wp--custom--radius);
	--lh-ink: var(--wp--preset--color--foreground);
	--lh-muted: var(--wp--preset--color--muted);
	--lh-border: var(--wp--preset--color--border);
	--lh-brand: var(--wp--preset--color--brand);
	--lh-brand-ink: var(--wp--preset--color--brand-ink);
	--lh-accent: var(--wp--preset--color--accent);
	--lh-accent-ink: var(--wp--preset--color--accent-ink);
	--lh-turq-ink: var(--wp--preset--color--turq-ink);
	--lh-accent-bright: var(--wp--custom--color--accent-bright);
	--lh-brand-bright: var(--wp--custom--color--brand-bright);
	--lh-grad-brand: linear-gradient(120deg, var(--lh-brand) 0%, var(--lh-accent) 100%);
	--lh-fast: var(--wp--custom--duration--fast);
	--lh-normal: var(--wp--custom--duration--normal);
	--lh-slow: var(--wp--custom--duration--slow);
	--lh-ease: var(--wp--custom--ease--standard);
	--lh-ease-out: var(--wp--custom--ease--out);
	--lh-ease-spring: var(--wp--custom--ease--spring);
	--lh-gutter: clamp(1.25rem, 0.8167rem + 1.849vw, 2rem);
}

html {
	/* Decoratieve elementen buiten de sectierand geven geen horizontale scroll. */
	overflow-x: clip;
}

h1, h2, h3, h4 {
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

/* Regelhoogte hoort bij de lettergrootte (zoals Tailwind text-*). */
.has-x-small-font-size { line-height: var(--wp--custom--line-height--x-small); }
.has-small-font-size { line-height: var(--wp--custom--line-height--small); }
.has-medium-font-size { line-height: var(--wp--custom--line-height--medium); }
.has-large-font-size { line-height: var(--wp--custom--line-height--large); }
.has-x-large-font-size { line-height: var(--wp--custom--line-height--x-large); }
.has-xx-large-font-size { line-height: var(--wp--custom--line-height--xx-large); }
.has-section-sm-font-size { line-height: var(--wp--custom--line-height--section-sm); }
.has-section-font-size { line-height: var(--wp--custom--line-height--section); }
.has-page-title-font-size { line-height: var(--wp--custom--line-height--page-title); }
.has-hero-font-size { line-height: var(--wp--custom--line-height--hero); }

/* Zichtbare focus voor toetsenbordgebruikers. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--lh-accent);
	outline-offset: 2px;
}

.screen-reader-text:not(:focus) {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	white-space: nowrap;
}

/* ---- Pagina-opbouw ------------------------------------------------------- */

/* Secties sluiten op elkaar aan (zoals nu); ruimte zit in de sectiepadding. */
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main,
.entry-content > .alignfull,
main > .alignfull { margin-block: 0; }
.wp-site-blocks > footer.wp-block-template-part { margin-block-start: 6rem; }
.lh-no-footer-gap + footer.wp-block-template-part,
.wp-site-blocks > main.lh-no-footer-gap + footer { margin-block-start: 0; }

/* Brede inhoud krijgt dezelfde breedte als de huidige container (max-w-6xl). */
.lh-section { position: relative; overflow: hidden; }
.lh-section > * { position: relative; }

/* Verticaal centreren van kolommen (core-stijl laadt niet altijd mee). */
.wp-block-columns.are-vertically-aligned-center > .wp-block-column { align-self: center; }
.wp-block-columns.are-vertically-aligned-bottom > .wp-block-column { align-self: flex-end; }

/* Kolommen stapelen tot 1024 px (Tailwind lg), niet tot 782 px. */
@media (max-width: 1023.98px) {
	.wp-block-columns.lh-stack-lg { flex-wrap: wrap !important; }
	.wp-block-columns.lh-stack-lg > .wp-block-column { flex-basis: 100% !important; }
}

/* Responsieve rasters (1 / 2 / 3 / 4 kolommen zoals nu). */
.lh-grid { display: grid !important; gap: 1.25rem; grid-template-columns: 1fr; }
.lh-grid > * { margin: 0 !important; }
@media (min-width: 640px) {
	.lh-grid-2, .lh-grid-3, .lh-grid-sm-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lh-grid-sm-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lh-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
	.lh-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.lh-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.lh-grid-2-fixed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) {
	.lh-grid-2-fixed.lh-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Kop met link rechts (sectiekop + "Alle diensten"). */
.lh-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.lh-head-row > * { margin: 0 !important; }
.lh-heading { max-width: 42rem; }
.lh-heading.has-text-align-center,
.lh-heading.lh-center { margin-inline: auto; text-align: center; }

/* ---- Bovenkop (eyebrow) met streepje ------------------------------------ */

.is-style-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-block-end: 0;
}
.is-style-eyebrow::before {
	content: "";
	width: 1.5rem;
	height: 1px;
	background: currentColor;
	background: var(--lh-accent);
	flex: none;
}
.is-style-section-dark .is-style-eyebrow { color: var(--lh-accent-bright); }
.is-style-section-dark .is-style-eyebrow::before { background: var(--lh-accent-bright); }
.lh-center .is-style-eyebrow,
.has-text-align-center.is-style-eyebrow { justify-content: center; }

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

.wp-element-button,
.wp-block-button__link {
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	transition:
		transform var(--lh-fast) var(--lh-ease-out),
		box-shadow var(--lh-normal) var(--lh-ease-out),
		background-position var(--lh-slow) var(--lh-ease),
		background-color var(--lh-normal) var(--lh-ease),
		border-color var(--lh-normal) var(--lh-ease),
		color var(--lh-normal) var(--lh-ease);
}

.wp-element-button:active,
.wp-block-button__link:active {
	transform: scale(0.98);
}

/* Primair: groen in rust, schuift bij hover naar groen→turquoise + gloed. */
:where(.wp-block-button:not(.is-style-outline):not(.is-style-on-dark):not(.is-style-chip)) .wp-block-button__link,
.wp-element-button:not(.wp-block-button__link),
.lh-btn-primary {
	background-image: linear-gradient(120deg, var(--lh-accent-ink) 0%, var(--lh-accent-ink) 45%, var(--lh-turq-ink) 100%);
	background-size: 180% 100%;
	background-position: 0% 0%;
}

:where(.wp-block-button:not(.is-style-outline):not(.is-style-on-dark):not(.is-style-chip)) .wp-block-button__link:hover,
.wp-element-button:not(.wp-block-button__link):hover,
.lh-btn-primary:hover {
	background-position: 100% 0%;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px -8px rgba(47, 125, 26, 0.55);
	color: #fff;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--lh-accent);
	color: var(--lh-turq-ink);
	transform: translateY(-1px);
	box-shadow: 0 8px 20px -10px rgba(20, 184, 166, 0.5);
}

.wp-block-button.is-style-on-dark .wp-block-button__link:hover {
	background-color: rgba(255, 255, 255, 0.16);
	color: #fff;
	transform: translateY(-1px);
}

/* Kleine knop (header, mobiele balk). */
.wp-block-button.lh-btn-sm .wp-block-button__link,
.lh-btn-sm.wp-element-button {
	font-size: var(--wp--preset--font-size--small);
	padding: 0.625rem 1rem;
}
.wp-block-buttons.lh-btn-md .wp-block-button__link { padding: 0.75rem 1.25rem; }

/* Pijltje achter de knoptekst. */
.wp-block-button.lh-arrow .wp-block-button__link::after,
.lh-link-arrow a::after {
	content: "";
	width: 18px;
	height: 18px;
	flex: none;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9h11M10 4l5 5-5 5' stroke='black' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9h11M10 4l5 5-5 5' stroke='black' stroke-width='1.7' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform var(--lh-normal) var(--lh-ease-out);
}
.wp-block-button.lh-arrow .wp-block-button__link:hover::after,
.lh-link-arrow a:hover::after { transform: translateX(4px); }

/* Tekstlink met pijl ("Alle diensten →"). */
.lh-link-arrow { margin: 0; }
.lh-link-arrow a {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	min-height: 44px;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--lh-turq-ink);
	text-decoration: none;
}
.lh-link-arrow a::after { width: 16px; height: 16px; }
.lh-link-arrow a:hover { text-decoration: underline; color: var(--lh-turq-ink); }

/* Capaciteitskeuze (5/10/15/20 kWh) op de donkere band. */
.wp-block-button.is-style-chip .wp-block-button__link {
	flex-direction: column;
	gap: 0;
	min-width: 4.25rem;
	padding: 0.75rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.05);
	box-shadow: none;
	color: #fff;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.75rem;
}
.wp-block-button.is-style-chip .wp-block-button__link em {
	font-style: normal;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1rem;
	color: rgba(255, 255, 255, 0.6);
}
.wp-block-button.is-style-chip .wp-block-button__link:hover {
	transform: translateY(-2px);
	border-color: var(--lh-accent);
	background: rgba(255, 255, 255, 0.1);
}

/* ---- Lijsten ------------------------------------------------------------ */

ul.lh-checklist,
ul.lh-dots,
ul.lh-diamonds {
	list-style: none;
	padding: 0;
	margin-block-end: 0;
}
ul.lh-checklist { display: grid; gap: 0.5rem; }
ul.lh-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.625rem;
}
ul.lh-checklist li::before {
	content: "";
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.0625rem;
	border-radius: 999px;
	background:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3.5' stroke='%232f6d17' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat,
		var(--wp--preset--color--brand-soft);
}
ul.lh-checklist.lh-checklist-2 { gap: 0.75rem; }
@media (min-width: 640px) {
	ul.lh-checklist.lh-checklist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

ul.lh-dots {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}
ul.lh-dots li { display: flex; align-items: center; gap: 0.5rem; }
ul.lh-dots li::before {
	content: "";
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 999px;
	background: var(--lh-accent);
}

/* Situaties: kaartjes met vinkje. */
ul.lh-ticks { list-style: none; padding: 0; display: grid; gap: 0.75rem; }
ul.lh-ticks li {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	padding: 1rem;
	border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius);
	background: #fff;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.25rem;
}
ul.lh-ticks li::before { content: "✓"; color: var(--lh-accent); line-height: 1.25rem; }

/* Merken als labels. */
ul.lh-chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
ul.lh-chips li {
	padding: 0.5rem 1rem;
	border: 1px solid var(--lh-border);
	border-radius: 999px;
	background: #fff;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.25rem;
}

/* ---- Vertrouwensbalk ---------------------------------------------------- */

.lh-trust { border-block: 1px solid var(--lh-border); }
.lh-trust .lh-grid { gap: 1.25rem 1.5rem; }
.lh-trust-item { position: relative; padding-left: 1.375rem; }
.lh-trust-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.3rem;
	width: 0.625rem;
	height: 0.625rem;
	background: var(--lh-accent);
	transform: rotate(45deg);
}
.lh-trust-item > * { margin: 0 !important; }

/* Ruitje boven een kaarttitel (voordelen, waarden). */
.lh-diamond::before {
	content: "";
	display: block;
	width: 0.625rem;
	height: 0.625rem;
	margin: 0.25rem 0 0.75rem;
	background: var(--lh-accent);
	transform: rotate(45deg);
}

/* ---- Kaarten ------------------------------------------------------------ */

.is-style-card,
.lh-card {
	transition:
		transform var(--lh-normal) var(--lh-ease-out),
		box-shadow var(--lh-normal) var(--lh-ease-out),
		border-color var(--lh-normal) var(--lh-ease);
}
.is-style-card > * { margin-block: 0; }
.is-style-card > * + * { margin-block-start: 0.375rem; }

/* Alleen kaarten met een link (of expliciet .lh-lift) liften op. */
.is-style-card:has(a):hover,
.lh-lift:hover {
	transform: translateY(-3px);
	border-color: color-mix(in srgb, var(--lh-accent) 55%, transparent);
	box-shadow: var(--wp--preset--shadow--card-hover);
}

/* Dienstkaart (Query Loop). */
.lh-service-cards .wp-block-post { display: flex; }
.lh-service-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius);
	background: #fff;
	position: relative;
}
.lh-service-card .wp-block-post-featured-image {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}
.lh-service-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--lh-ease);
}
.lh-service-card:hover .wp-block-post-featured-image img { transform: scale(1.03); }
.lh-service-card .lh-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.5rem;
	gap: 0;
}
.lh-service-card .wp-block-post-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.75rem;
	font-weight: 600;
	letter-spacing: 0;
}
.lh-service-card .wp-block-post-title a { color: var(--lh-brand-ink); text-decoration: none; }
/* Hele kaart klikbaar via de titel-link. */
.lh-service-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lh-service-card .wp-block-post-excerpt {
	margin: 0.375rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.625;
	color: var(--lh-muted);
}
.lh-service-card .wp-block-post-excerpt__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lh-service-card .wp-block-post-excerpt__more-text { display: none; }
.lh-service-card .lh-more {
	margin: auto 0 0;
	padding-top: 1rem;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--lh-accent-ink);
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}
.lh-service-card .lh-more::after {
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9h11M10 4l5 5-5 5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M3 9h11M10 4l5 5-5 5' stroke='black' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform var(--lh-normal) var(--lh-ease-out);
}
.lh-service-card:hover .lh-more { color: var(--lh-turq-ink); }
.lh-service-card:hover .lh-more::after { transform: translateX(4px); }

/* Projectkaart: foto vult de kaart, tekst over een verloop onderin. */
.lh-project-cards .wp-block-post { display: flex; }
.lh-project-card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--lh-radius);
	background: var(--lh-ink);
	color: #fff;
}
.lh-project-card .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	margin: 0;
	height: 100%;
}
.lh-project-card .wp-block-post-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--lh-ease);
}
.lh-project-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 24, 29, 0.85), rgba(20, 24, 29, 0.25) 50%, transparent);
	pointer-events: none;
	transition: opacity 500ms var(--lh-ease);
}
.lh-project-card:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.lh-project-card .lh-card-body {
	position: relative;
	z-index: 2;
	padding: 1.25rem;
	gap: 0;
}
.lh-project-card .lh-card-body > * { margin: 0; }
.lh-project-card .wp-block-post-terms {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: var(--lh-accent-bright);
	line-height: 1rem;
	transition: transform var(--lh-normal) var(--lh-ease);
}
.lh-project-card:hover .wp-block-post-terms { transform: translateY(-2px); }
.lh-project-card .wp-block-post-terms a { color: inherit; text-decoration: none; pointer-events: none; }
.lh-project-card .wp-block-post-title {
	margin-top: 0.25rem;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5rem;
	font-weight: 600;
	letter-spacing: 0;
	color: #fff;
}
.lh-project-card .wp-block-post-title a { color: #fff; text-decoration: none; }
.lh-project-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.lh-project-card .lh-place { font-size: var(--wp--preset--font-size--small); color: rgba(255, 255, 255, 0.75); }

/* Uitgelichte projecten: eerste kaart groot over de volle breedte. */
.lh-featured-projects .wp-block-post-template { gap: 1.25rem; }
@media (min-width: 640px) {
	.lh-featured-projects .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.lh-featured-projects .wp-block-post:first-child { grid-column: 1 / -1; }
	.lh-featured-projects .wp-block-post:first-child .lh-project-card { aspect-ratio: 16 / 10; }
	.lh-featured-projects .wp-block-post:first-child .wp-block-post-title { font-size: var(--wp--preset--font-size--x-large); line-height: 1.75rem; }
}

/* Kaart over een foto (energiescan-keuze). */
.lh-photo-card {
	position: relative;
	aspect-ratio: 5 / 4;
	overflow: hidden;
	border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius);
	background: linear-gradient(135deg, var(--lh-ink), var(--lh-ink) 50%, var(--lh-brand-ink));
	color: #fff;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
.lh-photo-card > .wp-block-image {
	position: absolute;
	inset: 0;
	margin: 0;
}
.lh-photo-card > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms var(--lh-ease);
}
.lh-photo-card::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(47, 109, 23, 0.9), rgba(47, 109, 23, 0.35) 50%, transparent);
	pointer-events: none;
}
.lh-photo-card:hover > .wp-block-image img { transform: scale(1.04); }
.lh-photo-card .lh-card-body {
	position: relative;
	z-index: 2;
	padding: 1rem;
	gap: 0;
}
.lh-photo-card .lh-card-body > * { margin: 0; }
.lh-photo-card .lh-card-title { font-size: var(--wp--preset--font-size--large); font-weight: 600; line-height: 1.75rem; }
.lh-photo-card .lh-card-title a { color: #fff; text-decoration: none; }
.lh-photo-card .lh-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.lh-photo-card .lh-card-title a::before { content: "→"; position: absolute; right: 1rem; bottom: 1rem; color: rgba(255, 255, 255, 0.8); }
.lh-photo-card .lh-card-sub { font-size: var(--wp--preset--font-size--small); color: rgba(255, 255, 255, 0.75); line-height: 1.25rem; }

/* Werkwijze-stappen. */
.lh-step { height: 100%; }
.lh-step .lh-step-nr { font-size: var(--wp--preset--font-size--small); font-weight: 700; color: var(--lh-accent); margin: 0; line-height: 1.25rem; }
.lh-step.lh-step-big .lh-step-nr { font-size: 2.25rem; line-height: 2.5rem; color: var(--wp--preset--color--surface-2); }
.lh-step h3 { margin-top: 0.25rem; }

/* Genummerde aanpak (dienstpagina). */
.lh-approach { counter-reset: lh-step; display: grid; gap: 1rem; }
.lh-approach > .wp-block-group {
	counter-increment: lh-step;
	position: relative;
	padding-left: 3rem;
	min-height: 2rem;
	margin: 0 !important;
}
.lh-approach > .wp-block-group::before {
	content: counter(lh-step);
	position: absolute;
	left: 0;
	top: 0;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	background: var(--lh-brand);
	color: #fff;
	font-weight: 600;
	display: grid;
	place-items: center;
}
.lh-approach > .wp-block-group > * { margin: 0; }

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

.lh-glow { pointer-events: none; }
.lh-hero::before,
.lh-hero::after,
.lh-band-dark::before,
.lh-band-dark::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	filter: blur(64px);
	pointer-events: none;
}
.lh-hero::before { right: -8rem; top: -10rem; width: 32rem; height: 32rem; background: rgba(98, 179, 46, 0.1); }
.lh-hero::after { left: -10rem; top: 6rem; width: 26rem; height: 26rem; background: rgba(20, 184, 166, 0.1); }
.lh-band-dark::before { left: -6rem; top: 0; width: 18rem; height: 18rem; background: rgba(98, 179, 46, 0.2); }
.lh-band-dark::after { right: -4rem; bottom: 0; width: 18rem; height: 18rem; background: rgba(20, 184, 166, 0.25); }

.lh-hero-media { position: relative; }
.lh-hero-media > .wp-block-image {
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: calc(var(--lh-radius) * 1.6);
	box-shadow: 0 40px 90px -45px rgba(20, 24, 29, 0.5), 0 0 0 1px var(--lh-border);
	position: relative;
}
.lh-hero-media > .wp-block-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(20, 24, 29, 0.25), transparent);
}
.lh-hero-media > .wp-block-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	animation: lh-slow-zoom 14s var(--lh-ease) alternate infinite;
}
.lh-float-card,
.lh-status-chip { display: none; }
@media (min-width: 640px) {
	.lh-float-card {
		position: absolute;
		left: -0.75rem;
		bottom: -1.25rem;
		max-width: 15rem;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		padding: 1rem;
		border: 1px solid var(--lh-border);
		border-radius: var(--lh-radius);
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
		backdrop-filter: blur(8px);
		animation: lh-float 5s var(--lh-ease) infinite;
		z-index: 2;
	}
	.lh-float-card::before {
		content: "";
		flex: none;
		width: 2.5rem;
		height: 2.5rem;
		border-radius: 999px;
		background:
			url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='7' width='15' height='10' rx='2'/%3E%3Cpath d='M19 10.5h1.6v3H19'/%3E%3Cpath d='M8 10v4M11.2 10v4'/%3E%3C/svg%3E") center / 20px 20px no-repeat,
			var(--lh-grad-brand);
	}
	.lh-float-card > .wp-block-group { gap: 0; }
	.lh-float-card p { margin: 0; }
	.lh-status-chip {
		position: absolute;
		right: -0.5rem;
		top: 1.5rem;
		display: flex;
		align-items: center;
		gap: 0.5rem;
		padding: 0.375rem 0.75rem;
		border: 1px solid var(--lh-border);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.95);
		box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
		z-index: 2;
	}
	.lh-status-chip::before {
		content: "";
		width: 0.625rem;
		height: 0.625rem;
		border-radius: 999px;
		background: var(--lh-accent);
		animation: lh-pulse 2.2s var(--lh-ease) infinite;
	}
	.lh-status-chip p { margin: 0; }
}

/* Foto met afgeronde hoek (sectiebeelden). */
.lh-rounded-media { margin: 0; overflow: hidden; border-radius: calc(var(--lh-radius) * 1.4); box-shadow: 0 0 0 1px var(--lh-border); }
.lh-rounded-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--lh-ease); }
.lh-rounded-media:hover img { transform: scale(1.04); }
.lh-media-plain { margin: 0; overflow: hidden; border-radius: var(--lh-radius); }
.lh-media-plain img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Donkere vlakken ---------------------------------------------------- */

.lh-region-card {
	position: relative;
	/* Zelfde maat als nu: het vlak is de container zelf (incl. zijmarge). */
	margin-inline: calc(var(--wp--style--root--padding-left, var(--lh-gutter)) * -1) !important;
	padding-left: var(--lh-gutter) !important;
	padding-right: var(--lh-gutter) !important;
	overflow: hidden;
	border-radius: calc(var(--lh-radius) * 1.5);
}
.lh-region-card::before {
	content: "";
	position: absolute;
	right: -4rem;
	top: -4rem;
	width: 16rem;
	height: 16rem;
	border-radius: 999px;
	background: rgba(98, 179, 46, 0.2);
	filter: blur(64px);
	pointer-events: none;
}
.lh-region-card > * { position: relative; }

/* Contactoproep onderaan pagina's. */
.lh-cta-box {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--lh-border);
	border-radius: calc(var(--lh-radius) * 1.5);
	text-align: center;
}
.lh-cta-box::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--lh-grad-brand);
}
.lh-cta-box p { max-width: 36rem; margin-inline: auto; }

/* Energiescan-band: genummerde stappen. */
.lh-scan-steps { display: grid; gap: 1rem; counter-reset: lh-scan; }
.lh-scan-steps > .wp-block-group {
	counter-increment: lh-scan;
	position: relative;
	margin: 0 !important;
	padding: 1.25rem 1.25rem 1.25rem 4.5rem;
	border-radius: var(--lh-radius);
	background: rgba(255, 255, 255, 0.05);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
	transition: transform var(--lh-normal) var(--lh-ease-out), box-shadow var(--lh-normal) var(--lh-ease-out);
}
.lh-scan-steps > .wp-block-group:hover { transform: translateY(-3px); }
.lh-scan-steps > .wp-block-group::before {
	content: counter(lh-scan);
	position: absolute;
	left: 1.25rem;
	top: 1.25rem;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 999px;
	background: var(--lh-grad-brand);
	color: #fff;
	font-weight: 600;
	display: grid;
	place-items: center;
}
.lh-scan-steps > .wp-block-group > * { margin: 0; }

/* Locatiekaartjes (via plugin-blok of handmatig). */
.lh-location {
	padding: 1rem;
	border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius);
	background: #fff;
}
.lh-location > * { margin: 0; }

/* FAQ (core Details-blok). */
.lh-faq {
	border: 1px solid var(--lh-border);
	border-radius: var(--lh-radius);
	background: #fff;
}
.lh-faq > .wp-block-details {
	margin: 0 !important;
	padding: 1rem 1.25rem;
	border-top: 1px solid var(--lh-border);
}
.lh-faq > .wp-block-details:first-child { border-top: 0; }
.lh-faq summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	cursor: pointer;
	list-style: none;
	font-weight: 500;
	color: var(--lh-brand-ink);
}
.lh-faq summary::-webkit-details-marker { display: none; }
.lh-faq summary::after {
	content: "+";
	color: var(--lh-accent);
	transition: transform var(--lh-normal) var(--lh-ease);
}
.lh-faq details[open] summary::after { transform: rotate(45deg); }
.lh-faq details p {
	margin: 0.5rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.625;
	color: var(--lh-muted);
}

/* Filterlabels (projecten). */
.lh-filter { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.lh-filter a,
.lh-filter .wp-block-categories-list a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1rem;
	border: 1px solid var(--lh-border);
	border-radius: 999px;
	background: #fff;
	color: var(--lh-ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-decoration: none;
	transition: border-color var(--lh-normal), color var(--lh-normal), background-color var(--lh-normal);
}
.lh-filter a:hover { border-color: var(--lh-accent); color: var(--lh-turq-ink); }
.lh-filter .wp-block-categories-list { display: contents; list-style: none; }
.lh-filter .wp-block-categories-list li { list-style: none; }
.lh-filter .current-cat a,
.lh-filter a.is-current {
	border-color: transparent;
	background: var(--lh-grad-brand);
	color: #fff;
}

/* Projectgegevens (aside). */
.lh-facts dl { margin: 0.75rem 0 0; display: grid; gap: 0.5rem; font-size: var(--wp--preset--font-size--small); }
.lh-facts dl > div { display: flex; justify-content: space-between; gap: 1rem; }
.lh-facts dt { color: var(--lh-muted); }
.lh-facts dd { margin: 0; font-weight: 500; }

/* Galerij (projectfoto's). */
.wp-block-gallery.lh-gallery { gap: 1rem; }
.wp-block-gallery.lh-gallery .wp-block-image { border-radius: var(--lh-radius); overflow: hidden; }
.wp-block-gallery.lh-gallery .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }

/* Kruimelpad. */
.lh-breadcrumbs { font-size: var(--wp--preset--font-size--small); color: var(--lh-muted); }
.lh-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.375rem; list-style: none; margin: 0; padding: 0; }
.lh-breadcrumbs li { display: flex; align-items: center; gap: 0.375rem; }
.lh-breadcrumbs li + li::before { content: "/"; }
.lh-breadcrumbs a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: none; }
.lh-breadcrumbs a:hover { color: var(--lh-brand-ink); }
.lh-breadcrumbs [aria-current] { color: var(--lh-ink); }

/* ---- Header ------------------------------------------------------------- */

.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 50;
}
.lh-header {
	position: relative;
	isolation: isolate;
	padding-top: 2px; /* ruimte voor de verlooplijn, zoals nu */
	border-bottom: 1px solid transparent;
	transition: border-color var(--lh-normal), box-shadow var(--lh-normal);
}
/* Blur op een pseudo-element: blur op de header zelf zou het mobiele menu (position: fixed)
   binnen de header opsluiten. */
.lh-header::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgba(255, 255, 255, 0.9);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.lh-header::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 2px;
	background: var(--lh-grad-brand);
	opacity: 0;
	transition: opacity var(--lh-normal);
}
.lh-scrolled .lh-header { border-bottom-color: var(--lh-border); box-shadow: 0 6px 24px -16px rgba(20, 24, 29, 0.4); }
.lh-scrolled .lh-header::before { opacity: 1; }
.lh-header-inner {
	min-height: 4rem;
	transition: min-height var(--lh-normal) var(--lh-ease);
}
.lh-scrolled .lh-header-inner { min-height: 3.5rem; }

/* Logo: beeldmerk + naam in twee regels. */
.lh-logo { gap: 0.625rem !important; flex-wrap: nowrap !important; }
.lh-logo .wp-block-site-logo img { width: 2.25rem; height: 2.25rem; object-fit: contain; transition: transform var(--lh-normal) var(--lh-ease-spring); }
.lh-logo:hover .wp-block-site-logo img { transform: scale(1.06); }
.lh-logo .lh-logo-text { margin: 0; font-size: 0.79rem; font-weight: 700; line-height: 1.05; letter-spacing: 0.03em; text-transform: uppercase; }
.lh-logo .lh-logo-text a { color: var(--lh-ink); text-decoration: none; display: inline-flex; flex-direction: column; min-height: 44px; justify-content: center; }
.lh-logo .lh-logo-text span { font-weight: 600; letter-spacing: 0.02em; color: var(--lh-muted); }
@media (min-width: 640px) {
	.lh-logo .wp-block-site-logo img { width: 2.5rem; height: 2.5rem; }
	.lh-logo .lh-logo-text { font-size: var(--wp--preset--font-size--small); }
}

/* Hoofdmenu. */
.lh-nav .wp-block-navigation-item__content {
	position: relative;
	padding: 0.5rem 0.75rem;
	border-radius: 0.375rem;
	color: var(--lh-ink);
	text-decoration: none;
	transition: color var(--lh-normal);
}
.lh-nav.wp-block-navigation { gap: 0.25rem; }
.lh-nav .wp-block-navigation-item__content:hover,
.lh-nav .current-menu-item > .wp-block-navigation-item__content,
.lh-nav .current-menu-ancestor > .wp-block-navigation-item__content { color: var(--lh-brand-ink); }
@media (min-width: 1024px) {
	.lh-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content::after {
		content: "";
		position: absolute;
		left: 0.75rem;
		right: 0.75rem;
		bottom: 0.35rem;
		height: 2px;
		border-radius: 2px;
		background: var(--lh-grad-brand);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform var(--lh-normal) var(--lh-ease-out);
	}
	.lh-nav > .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content:hover::after,
	.lh-nav > .wp-block-navigation__container > .current-menu-item > .wp-block-navigation-item__content::after,
	.lh-nav > .wp-block-navigation__container > .current-menu-ancestor > .wp-block-navigation-item__content::after { transform: scaleX(1); }

	/* Uitklapmenu Diensten. */
	.lh-nav .wp-block-navigation__submenu-container {
		width: 18rem !important;
		min-width: 18rem !important;
		padding: 0.5rem !important;
		border: 1px solid var(--lh-border) !important;
		border-radius: var(--lh-radius);
		background: #fff !important;
		box-shadow: 0 20px 50px -20px rgba(20, 24, 29, 0.35);
		transform: translateY(4px);
		transition: opacity var(--lh-normal) var(--lh-ease-out), transform var(--lh-normal) var(--lh-ease-out), visibility var(--lh-normal);
	}
	.lh-nav .has-child:hover > .wp-block-navigation__submenu-container,
	.lh-nav .has-child:focus-within > .wp-block-navigation__submenu-container { transform: translateY(0); }
	.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex !important;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		box-sizing: border-box;
		padding: 0.5rem 0.75rem;
		border-radius: 0.375rem;
		transition: background-color var(--lh-normal);
	}
	.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--brand-soft); }
	.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__label { display: block; font-weight: 500; }
	.lh-nav .wp-block-navigation-item__description {
		display: block;
		font-size: var(--wp--preset--font-size--x-small);
		line-height: 1rem;
		font-weight: 400;
		color: var(--lh-muted);
	}
	.lh-nav .wp-block-navigation__submenu-icon { opacity: 0.6; transition: transform var(--lh-normal); }
	.lh-nav .has-child:hover > .wp-block-navigation__submenu-icon { transform: rotate(180deg); }
	.lh-nav .lh-nav-cta { display: none !important; }
}
.lh-nav .wp-block-navigation-item__description { display: none; }
@media (min-width: 1024px) {
	.lh-nav .wp-block-navigation__submenu-container .wp-block-navigation-item__description { display: block; }
}

/* Het mobiele menu verschijnt tot 1024 px (core doet dat tot 600 px). */
@media (min-width: 600px) and (max-width: 1023.98px) {
	.lh-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.lh-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.lh-nav .wp-block-navigation__responsive-container-open,
.lh-nav .wp-block-navigation__responsive-container-close {
	width: 2.75rem;
	height: 2.75rem;
	align-items: center;
	justify-content: center;
	color: var(--lh-brand-ink);
}
.lh-nav .wp-block-navigation__responsive-container.is-menu-open {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 4.125rem);
	padding: 1.5rem var(--lh-gutter);
	background: #fff;
	/* Alleen opacity: een transform zou position: fixed van het kruisje breken. */
	animation: lh-fade-in var(--lh-normal) var(--lh-ease-out) both;
}
.lh-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 0; align-items: stretch; }
.lh-nav .is-menu-open .wp-block-navigation__container,
.lh-nav .is-menu-open .wp-block-navigation-item,
.lh-nav .is-menu-open .wp-block-navigation__submenu-container { align-items: stretch !important; justify-content: flex-start !important; text-align: left; }
.lh-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	/* Kruisje precies over de menuknop in de header. */
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 0.6875rem);
	right: var(--lh-gutter);
	z-index: 2;
	background: #fff;
	border-radius: 0.375rem;
}
.lh-nav .is-menu-open .wp-block-navigation__container { gap: 0.25rem !important; width: 100%; }
.lh-nav .is-menu-open .wp-block-navigation-item { width: 100%; }
.lh-nav .is-menu-open .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	padding: 0.75rem;
	animation: lh-link-in var(--lh-normal) var(--lh-ease-out) both;
}
.lh-nav .is-menu-open .wp-block-navigation__submenu-container {
	padding: 0 0 0 1rem !important;
	border-left: 1px solid var(--lh-border) !important;
	margin-bottom: 0.25rem;
}
.lh-nav .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: var(--wp--preset--font-size--medium); font-weight: 400; padding: 0.625rem 0.75rem; }
.lh-nav .is-menu-open .lh-nav-cta { margin-top: 0.75rem; }
.lh-nav .is-menu-open .lh-nav-cta > .wp-block-navigation-item__content {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	line-height: 1;
	justify-content: center;
	min-height: 44px;
	border-radius: var(--lh-radius);
	font-size: var(--wp--preset--font-size--medium);
	padding: 0.875rem 1rem;
}
.lh-nav .is-menu-open .lh-nav-cta-primary > .wp-block-navigation-item__content {
	color: #fff;
	background-image: linear-gradient(120deg, var(--lh-accent-ink) 0%, var(--lh-accent-ink) 45%, var(--lh-turq-ink) 100%);
}
.lh-nav .is-menu-open .lh-nav-cta-outline > .wp-block-navigation-item__content {
	color: var(--lh-brand-ink);
	border: 1px solid var(--lh-border);
	margin-top: 0;
}
.lh-nav .is-menu-open .lh-nav-cta-outline { margin-top: 0.5rem; }
@media (max-width: 1023.98px) {
	.lh-header-actions { display: none !important; }
}
.lh-header-actions { gap: 0.75rem !important; }
.lh-header-actions .lh-phone { margin: 0; font-size: var(--wp--preset--font-size--small); font-weight: 500; }
.lh-header-actions .lh-phone a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lh-muted); text-decoration: none; }
.lh-header-actions .lh-phone a:hover { color: var(--lh-brand-ink); }

/* ---- Mobiele actiebalk -------------------------------------------------- */

.lh-mobile-cta {
	position: fixed;
	inset: auto 0 0;
	z-index: 40;
	padding: 0.625rem 1rem max(0.75rem, env(safe-area-inset-bottom));
	border-top: 1px solid var(--lh-border);
	background: rgba(255, 255, 255, 0.95);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transform: translateY(100%);
	transition: transform var(--lh-normal) var(--lh-ease-out);
}
.lh-mobile-cta.is-visible { transform: translateY(0); }
.lh-mobile-cta .wp-block-buttons { max-width: 28rem; margin-inline: auto; flex-wrap: nowrap; gap: 0.625rem; }
.lh-mobile-cta .wp-block-button:first-child { flex: 1; }
.lh-mobile-cta .wp-block-button:first-child .wp-block-button__link { width: 100%; }
.lh-mobile-cta .lh-call .wp-block-button__link {
	width: 3rem;
	height: 3rem;
	padding: 0;
	font-size: 0;
	color: var(--lh-brand-ink);
}
.lh-mobile-cta .lh-call .wp-block-button__link::before {
	content: "";
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.5a12 12 0 0 0 5 5l1.5-2 4 1.5v3a2 2 0 0 1-2.2 2A16 16 0 0 1 4.5 5.7 2 2 0 0 1 6.5 3.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 3.5h3l1.5 4-2 1.5a12 12 0 0 0 5 5l1.5-2 4 1.5v3a2 2 0 0 1-2.2 2A16 16 0 0 1 4.5 5.7 2 2 0 0 1 6.5 3.5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (min-width: 1024px) {
	.lh-mobile-cta { display: none; }
}

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

.lh-footer { color: rgba(255, 255, 255, 0.8); }
.lh-footer a { color: inherit; text-decoration: none; }
.lh-footer a:hover { color: var(--lh-accent-bright); }
.lh-footer .lh-footer-cta { border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.lh-footer .lh-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.lh-footer h2,
.lh-footer h3 { color: #fff; }
.lh-footer .lh-footer-title {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	line-height: 1.25rem;
}
.lh-footer .lh-logo .lh-logo-text a { color: #fff; }
.lh-footer .lh-logo .lh-logo-text span { color: rgba(255, 255, 255, 0.7); }
.lh-footer-cols { display: grid !important; gap: 2rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lh-footer-cols > * { margin: 0 !important; min-width: 0; }
.lh-footer-cols > :first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
	.lh-footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.lh-footer-cols > :first-child { grid-column: auto; }
}
.lh-footer .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
@media (min-width: 1024px) {
	.lh-footer .wp-block-navigation-item__content { min-height: 32px; }
}
.lh-footer .lh-footer-links.wp-block-navigation { gap: 0; }
.lh-footer-bottom .lh-footer-legal.wp-block-navigation { gap: 1rem; }
.lh-footer-bottom .lh-footer-legal .wp-block-navigation-item__content { min-height: 44px; }

/* ---- Formulieren (plugin Lohues functies) -------------------------------- */

.lh-form-panel {
	border: 1px solid var(--lh-border);
	border-radius: calc(var(--lh-radius) * 1.5);
	background: #fff;
}


/* ---- Hulpklassen van de patronen (afstand, breedte, kleur op donker) ------ */

.lh-mt-5 { margin-top: 1.25rem !important; }
.lh-mt-6 { margin-top: 1.5rem !important; }
.lh-mt-8 { margin-top: 2rem !important; }
.lh-maxw-xs { max-width: 20rem; }
.lh-maxw-md { max-width: 28rem; }
.lh-maxw-xl { max-width: 36rem; }
.lh-maxw-prose { max-width: 65ch; }
.lh-maxw-4xl, .alignwide.lh-maxw-4xl { max-width: 53rem !important; margin-inline: auto !important; }
.lh-relaxed { line-height: 1.625 !important; }
.lh-snug { line-height: 1.375 !important; }
.lh-white { color: #fff; }
.lh-on-dark-50 { color: rgba(255, 255, 255, 0.5); }
.lh-on-dark-60 { color: rgba(255, 255, 255, 0.6); }
.lh-on-dark-70 { color: rgba(255, 255, 255, 0.7); }
.lh-buttons-top { margin-top: 2rem !important; }
.lh-chips-row { gap: 0.625rem; }
.lh-stack-1 > * + * { margin-block-start: 0.25rem !important; }
.lh-stack-2 > * + * { margin-block-start: 0.5rem !important; }
.lh-stack-6 > * + * { margin-block-start: 1.5rem !important; }
.lh-stack-8 > * + * { margin-block-start: 2rem !important; }
.lh-stack-10 > * + * { margin-block-start: 2.5rem !important; }
.lh-mt-8 > * + * { margin-block-start: 1.5rem; }
.wp-block-columns.lh-gap-8 { gap: 2rem; }
.wp-block-columns.lh-gap-10 { gap: 2.5rem; }
.wp-block-columns.lh-gap-12 { gap: 3rem; }
@media (min-width: 1024px) {
	.wp-block-columns.lh-gap-14 { gap: 3.5rem; }
	.wp-block-columns.lh-gap-16 { gap: 4rem; }
}
.wp-block-columns.lh-gap-14,
.wp-block-columns.lh-gap-16 { gap: 2.5rem; }
.lh-grid.lh-gap-4 { gap: 1rem; }
.lh-section .lh-heading + .lh-grid,
.lh-heading + .wp-block-query,
.lh-heading + .lh-faq { margin-top: 2rem; }
.lh-card-p5 { padding: 1.25rem !important; }
.lh-text-link a { font-weight: 600; color: var(--lh-accent-ink); text-decoration: none; }
.lh-text-link a:hover { text-decoration: underline; }
.lh-text-link-brand a { font-weight: 500; color: var(--lh-brand-ink); }
.lh-eyebrow-plain::before { display: none; }
.lh-price strong { font-weight: 500; color: var(--lh-ink); }
.lh-topline::after {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 1px;
	background: linear-gradient(to right, transparent, rgba(98, 179, 46, 0.4), transparent);
}
.lh-glow-right::before {
	content: "";
	position: absolute;
	right: -6rem;
	top: 2.5rem;
	width: 18rem;
	height: 18rem;
	border-radius: 999px;
	background: rgba(20, 184, 166, 0.1);
	filter: blur(64px);
	pointer-events: none;
}

/* Sitenaam naast het beeldmerk, in twee regels (LOHUES / Installatietechniek). */
.lh-site-title {
	margin: 0;
	max-width: min-content;
	font-size: 0.79rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}
.lh-site-title a { color: var(--lh-muted); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.lh-site-title a::first-line { font-weight: 700; letter-spacing: 0.03em; color: var(--lh-ink); }
@media (min-width: 640px) { .lh-site-title { font-size: var(--wp--preset--font-size--small); } }
.lh-logo .wp-block-site-logo { line-height: 0; }
.lh-logo .wp-block-site-logo img { width: 2.25rem !important; height: 2.25rem; object-fit: contain; }
@media (min-width: 640px) { .lh-logo .wp-block-site-logo img { width: 2.5rem !important; height: 2.5rem; } }
.lh-logo--light .lh-site-title a { color: rgba(255, 255, 255, 0.7); }
.lh-logo--light .lh-site-title a::first-line { color: #fff; }
.lh-header-right { gap: 0.75rem !important; }
.lh-nav .wp-block-navigation-item__label,
.lh-header-actions .lh-phone a,
.lh-header-actions .wp-block-button__link { white-space: nowrap; }
@media (min-width: 1024px) and (max-width: 1151.98px) {
	.lh-nav .wp-block-navigation-item__content { padding-inline: 0.5rem; }
	.lh-header-actions { gap: 0.5rem !important; }
}
.lh-header--minimal { border-bottom-color: var(--lh-border); }
.lh-phone a { color: var(--lh-muted); }

/* Labels (Telefoon, E-mail, Projectgegevens, Meer beelden). */
.lh-label {
	margin: 0;
	font-size: var(--wp--preset--font-size--small) !important;
	line-height: 1.25rem !important;
	font-weight: 600;
	letter-spacing: 0.025em !important;
	text-transform: uppercase;
	color: var(--lh-muted) !important;
}

/* Kaartjes: projectkaart met vaste inhoud (dienstpagina). */
.lh-project-card > .wp-block-image { position: absolute; inset: 0; margin: 0; height: 100%; }
.lh-project-card > .wp-block-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--lh-ease); }
.lh-project-card:hover > .wp-block-image img { transform: scale(1.04); }
.lh-project-card .lh-card-term { margin: 0; font-size: var(--wp--preset--font-size--x-small); line-height: 1rem; font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--lh-accent-bright); }
.lh-project-card .lh-card-title { margin: 0.25rem 0 0; font-size: var(--wp--preset--font-size--medium); line-height: 1.5rem; font-weight: 600; letter-spacing: 0; }
.lh-project-card .lh-card-title a { color: #fff; text-decoration: none; }
.lh-project-card .lh-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.lh-project-card .lh-place:empty { display: none; }
.lh-related-section:not(:has(.wp-block-post)) { display: none; }
.lh-related-section { padding-block: 2rem 3rem; }

/* Projectpagina. */
.lh-term-label { font-size: var(--wp--preset--font-size--small); font-weight: 600; letter-spacing: 0.025em; text-transform: uppercase; color: var(--lh-accent-ink); }
.lh-term-label a { color: inherit; text-decoration: none; }
.lh-project-title { margin-top: 0.5rem !important; }
.lh-facts-box { padding: 1.25rem; border: 1px solid var(--lh-border); border-radius: var(--lh-radius); }
.lh-facts { display: grid; gap: 0.5rem; margin-top: 0.75rem; font-size: var(--wp--preset--font-size--small); line-height: 1.25rem; }
.lh-facts > .lh-fact { margin: 0 !important; gap: 1rem; }
.lh-fact > * { margin: 0 !important; }
.lh-fact-label { color: var(--lh-muted); }
.lh-fact-value { font-weight: 500; text-align: right; }
.lh-fact-value a { color: inherit; text-decoration: none; pointer-events: none; }
.lh-fact:has(.lh-fact-value:empty) { display: none !important; }
.lh-facts-box .lh-project-service { margin-top: 1rem; }
.lh-facts-box .lh-project-service a { min-height: 0; color: var(--lh-accent-ink); }
.lh-more-images { margin-top: 2.5rem; }
.lh-more-images .lh-gallery { margin-top: 1rem; }

/* Projectenfilter. */
.lh-filter-row { gap: 0.5rem !important; margin-top: 2rem !important; }
.lh-filter-row > * { margin: 0 !important; }
.lh-filter-row ul.lh-filter { display: contents; margin: 0; padding: 0; }
.lh-filter-row ul.lh-filter li { list-style: none; margin: 0; }
.lh-filter-row a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 1rem;
	border: 1px solid var(--lh-border);
	border-radius: 999px;
	background: #fff;
	color: var(--lh-ink);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	text-decoration: none;
	transition: border-color var(--lh-normal), color var(--lh-normal);
}
.lh-filter-row a:hover { border-color: var(--lh-accent); color: var(--lh-turq-ink); }
.lh-filter-row .current-cat a,
.lh-filter-row .is-current a { border-color: transparent; background: var(--lh-grad-brand); color: #fff; }
.wp-block-query-pagination { margin-top: 2.5rem; gap: 0.5rem; }

/* Juridische pagina's en meldingen. */
.lh-notice { margin-top: 1.5rem !important; padding: 1rem; border: 1px solid rgba(183, 121, 31, 0.4); border-radius: var(--lh-radius); background: rgba(183, 121, 31, 0.1); color: var(--lh-ink); /* antraciet: oranje tekst haalt geen AA */ }
.lh-legal { font-size: 0.9375rem; line-height: 1.625; }
.lh-legal h2 { color: var(--lh-brand-ink); }
.lh-legal p { margin: 0; }

/* Bedankpagina. */
.lh-thanks { max-width: 36rem; margin-inline: auto; }
.lh-success-badge { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 999px; background: rgba(31, 122, 77, 0.1); color: var(--wp--custom--color--success); }
.lh-thanks-box { padding: 1rem; border: 1px solid var(--lh-border); border-radius: var(--lh-radius); font-size: var(--wp--preset--font-size--small); }
.lh-thanks-box p { margin: 0; }
.lh-ol { margin: 0; padding-left: 1.25rem; }

/* 404. */
.lh-404 { max-width: 28rem; margin-inline: auto; text-align: center; }
.lh-404-code { text-align: center; font-size: var(--wp--preset--font-size--small); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lh-accent-ink); }
.lh-404 h1 { font-weight: 700; }
.wp-block-button.lh-btn-plain .wp-block-button__link { background: var(--lh-brand); background-image: none; padding: 0.625rem 1.25rem; }
.wp-block-button.lh-btn-plain .wp-block-button__link:hover { background: var(--lh-brand-ink); }
.lh-404 .is-style-outline .wp-block-button__link { padding: 0.625rem 1.25rem; font-weight: 500; }

/* Footer: kleine knoppen, kolommen. */
.lh-footer .wp-block-buttons .wp-block-button__link { padding: 0.75rem 1.25rem; }
.lh-footer .lh-footer-title.lh-mt-6 { margin-top: 1.5rem !important; }
.lh-footer .lh-bedrijf--social a { color: rgba(255, 255, 255, 0.7); }

/* Energiescan-keuzekaarten: foto als achtergrond. */
.lh-photo-card > .wp-block-image.lh-card-photo { position: absolute; inset: 0; margin: 0; }
.lh-photo-card .lh-card-title { margin: 0; }

/* ---- Scroll-onthulling ---------------------------------------------------- */

@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		.lh-reveal > *,
		.lh-reveal-self {
			animation: lh-reveal linear both;
			animation-timeline: view();
			animation-range: entry 0% entry 35%;
		}
	}
}

/* ---- Animaties ---------------------------------------------------------- */

@keyframes lh-reveal {
	from { opacity: 0; transform: translateY(1rem); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes lh-slow-zoom {
	from { transform: scale(1); }
	to { transform: scale(1.06); }
}
@keyframes lh-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}
@keyframes lh-pulse {
	0%, 100% { opacity: 0.55; transform: scale(1); }
	50% { opacity: 1; transform: scale(1.12); }
}
@keyframes lh-energy-flow {
	0% { stroke-dashoffset: 44; }
	100% { stroke-dashoffset: 0; }
}
@keyframes lh-drawer-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes lh-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}
@keyframes lh-link-in {
	from { opacity: 0; transform: translateX(-10px); }
	to { opacity: 1; transform: translateX(0); }
}

/* ---- Minder beweging ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	.lh-hero-media > .wp-block-image img,
	.lh-float-card,
	.lh-status-chip::before { animation: none !important; }
}

/* ---- Thema-ZIP: vaste kaarten, logo en projectfilter --------------------------------- */

/* Logo: beeldmerk uit het thema + naam; de hele groep is klikbaar via de naam. */
.lh-logo { position: relative; }
.lh-logo .lh-logo-mark { margin: 0; line-height: 0; flex: none; }
.lh-logo .lh-logo-mark img { width: 2.25rem; height: auto; transition: transform var(--lh-normal) var(--lh-ease-spring); }
.lh-logo:hover .lh-logo-mark img { transform: scale(1.06); }
@media (min-width: 640px) { .lh-logo .lh-logo-mark img { width: 2.5rem; } }
.lh-logo .lh-logo-text a::after { content: ""; position: absolute; inset: 0; }
.lh-logo--light .lh-logo-text a { color: #fff; }
.lh-logo--light .lh-logo-text span { color: rgba(255, 255, 255, 0.7); }

/* Dienstkaart met vaste inhoud. */
.lh-service-card > .wp-block-image { margin: 0; overflow: hidden; }
.lh-service-card > .wp-block-image img { display: block; width: 100%; transition: transform 500ms var(--lh-ease); }
.lh-service-card:hover > .wp-block-image img { transform: scale(1.03); }
.lh-service-card .lh-card-title { margin: 0; font-size: var(--wp--preset--font-size--large); line-height: 1.75rem; font-weight: 600; letter-spacing: 0; }
.lh-service-card .lh-card-title a { color: var(--lh-brand-ink); text-decoration: none; }
.lh-service-card .lh-card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.lh-service-card .lh-card-text {
	margin: 0.375rem 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.625;
	color: var(--lh-muted);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.lh-service-cards { align-items: stretch; }

/* Uitgelichte projecten: eerste kaart groot over de volle breedte. */
.lh-grid.lh-featured-projects { gap: 1.25rem; }
@media (min-width: 640px) {
	.lh-grid.lh-featured-projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.lh-featured-projects > :first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
	.lh-featured-projects > :first-child .lh-card-title { font-size: var(--wp--preset--font-size--x-large); line-height: 1.75rem; }
}

/* Projectfilter: verborgen kaarten. */
.lh-project-card[hidden] { display: none !important; }
.lh-filter-row .lh-chip { margin: 0; }
.lh-service-card > *,
.lh-project-card > * { margin-block: 0 !important; }
.lh-project-card .lh-card-title { color: #fff; }
