/*
Theme Name: Ivano Dijkstra Elektrotechniek
Theme URI: https://www.instagram.com/ivanodijkstraelektrotechniek/
Author: Ivano Dijkstra Elektrotechniek
Description: Strak, donker one-page thema voor high-end elektrotechniek. Geanimeerde hero, parallax-overgangen, 2x3 projecten-carousel en Google Reviews. Volledig beheerbaar via de Customizer, zonder plugins. v1.7.1: Google-reviewsectie met permanente opslag, groter header-logo en duidelijke sectie-afwisseling.
Version: 1.7.5
Requires at least: 6.3
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: ivano-elektro
*/

/* ================= Variabelen & basis ================= */
:root {
	--blue:        #2fa8e0;   /* logoblauw */
	--blue-bright: #5cc4f2;
	--blue-dark:   #1a76a3;
	--bg:          #0a0d10;   /* logozwart */
	--bg-alt:      #10151a;
	--panel:       #151b21;
	--line:        #232c34;
	--text:        #eef3f6;
	--text-dim:    #9aa7b0;
	--font-head:   'Oswald', sans-serif;
	--font-body:   'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-weight: 300;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 110px 0; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }

.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); text-align: center; letter-spacing: .12em; }
.title-rule { width: 64px; height: 2px; background: var(--blue); margin: 22px auto 64px; }
.title-rule.left { margin-left: 0; }

.btn {
	display: inline-block;
	font-family: var(--font-head);
	font-size: .85rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 15px 38px;
	transition: background-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-bright); box-shadow: 0 0 28px rgba(47,168,224,.45); }
.btn-outline { border: 1px solid var(--blue); color: var(--blue); margin-top: 32px; }
.btn-outline:hover { background: var(--blue); color: #fff; box-shadow: 0 0 24px rgba(47,168,224,.35); }

/* ================= Header ================= */
.site-header {
	position: fixed; inset: 0 0 auto 0; z-index: 100;
	transition: background-color .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
	background: rgba(10,13,16,.95);
	box-shadow: 0 1px 0 var(--line);
}
.header-inner {
	max-width: 1320px; margin: 0 auto; padding: 16px 24px;
	display: flex; align-items: center; justify-content: space-between;
}
.header-brand { display: flex; align-items: center; text-decoration: none; }
.header-brand img, .custom-logo { max-height: 78px; width: auto; }
.brand-text { font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text); }

.header-nav { display: flex; gap: 40px; align-items: center; }
.header-nav a {
	color: var(--text); text-decoration: none;
	font-family: var(--font-head); font-size: .8rem; font-weight: 400;
	letter-spacing: .22em; text-transform: uppercase;
	padding: 6px 0; position: relative;
}
.header-nav a::after {
	content: ''; position: absolute; left: 0; bottom: 0;
	width: 100%; height: 1px; background: var(--blue);
	transform: scaleX(0); transform-origin: left;
	transition: transform .3s ease;
}
.header-nav a:hover::after { transform: scaleX(1); }
.header-nav a.nav-cta { border: 1px solid var(--blue); padding: 9px 24px; color: var(--blue); transition: background-color .3s, color .3s; }
.header-nav a.nav-cta:hover { background: var(--blue); color: #fff; }
.header-nav a.nav-cta::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--text); margin: 6px 0; transition: transform .3s, opacity .3s; }

/* ================= Hero ================= */
.hero {
	position: relative; min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden; text-align: center;
	background: radial-gradient(ellipse at 50% 35%, #101821 0%, var(--bg) 65%);
}
/* Animaties pauzeren zodra de hero uit beeld is (zie main.js) */
.hero.anim-paused * { animation-play-state: paused !important; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
/* Statisch raster: geen animatie, geen extra GPU-laag. Het vignet
   (mask) laat het raster naar de randen vervagen, mooi op elk formaat. */
.hero-grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgba(47,168,224,.06) 1px, transparent 1px),
		linear-gradient(90deg, rgba(47,168,224,.06) 1px, transparent 1px);
	background-size: clamp(44px, 5vw, 72px) clamp(44px, 5vw, 72px);
	-webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 42%, #000 0%, transparent 100%);
	mask-image: radial-gradient(ellipse 90% 70% at 50% 42%, #000 0%, transparent 100%);
}

.energy-line {
	position: absolute; left: -45%; height: 1px; width: 40%;
	background: linear-gradient(90deg, transparent, var(--blue), transparent);
	opacity: 0;
	animation: line-sweep 7s ease-in-out infinite;
}
.line-1 { top: 22%; animation-delay: 0s; }
.line-2 { top: 55%; animation-delay: 2.4s; }
.line-3 { display: none; }
/* translateX in % van de eigen breedte: 375% x 40% = 150% van de sectie */
@keyframes line-sweep {
	0%   { transform: translateX(0); opacity: 0; }
	12%  { opacity: .7; }
	45%  { transform: translateX(375%); opacity: 0; }
	100% { transform: translateX(375%); opacity: 0; }
}

.hero-content { position: relative; z-index: 2; padding: 120px 24px 60px; }

/* --- Logo-animatie --- */
.hero-logo-wrap {
	position: relative; width: 210px; height: 210px;
	margin: 0 auto 44px;
	display: flex; align-items: center; justify-content: center;
}
.logo-ring { position: absolute; inset: 0; color: var(--blue); }
.ring-outer circle { animation: ring-draw 1.8s .3s ease-out forwards; }
@keyframes ring-draw { to { stroke-dashoffset: 0; } }
.ring-inner { animation: ring-spin 14s linear infinite; opacity: .55; }
@keyframes ring-spin { to { transform: rotate(360deg); } }

/* Gloed als apart element (opacity/transform i.p.v. dure filter-animatie) */
.logo-halo {
	position: absolute; inset: 10%; border-radius: 50%;
	background: radial-gradient(circle, rgba(47,168,224,.45) 0%, transparent 65%);
	opacity: .35;
	animation: halo-pulse 4s 2s ease-in-out infinite;
}
@keyframes halo-pulse {
	0%, 100% { opacity: .35; transform: scale(.95); }
	50%      { opacity: .9;  transform: scale(1.08); }
}

.hero-logo {
	position: relative;
	width: 140px; height: 140px; object-fit: contain;
	opacity: 0;
	filter: drop-shadow(0 0 14px rgba(47,168,224,.4)); /* statisch, geen animatie */
	animation: logo-flicker 1.2s .6s steps(1) forwards;
}
.hero-logo-fallback { color: var(--blue); }
@keyframes logo-flicker {
	0%  { opacity: 0; }
	8%  { opacity: 1; } 14% { opacity: .2; }
	22% { opacity: 1; } 30% { opacity: .4; }
	38% { opacity: 1; } 46% { opacity: .7; }
	60% { opacity: 1; }
	100%{ opacity: 1; }
}
.logo-flash {
	position: absolute; inset: 0; border-radius: 50%;
	background: radial-gradient(circle, rgba(92,196,242,.5) 0%, transparent 62%);
	opacity: 0;
	animation: flash-hit 6s 1.6s ease-out 3;
}
@keyframes flash-hit {
	0%  { opacity: 0; transform: scale(.6); }
	4%  { opacity: 1; transform: scale(1); }
	14% { opacity: 0; transform: scale(1.25); }
	100%{ opacity: 0; }
}

/* --- Geanimeerd SVG-logo (eigen logo in logokleuren) --- */
.hero-logo-svg { opacity: 1; animation: none; }
.ivd-ring { animation: ivd-draw 1.1s .3s ease-out forwards; }
@keyframes ivd-draw { to { stroke-dashoffset: 0; } }
.ivd-d, .ivd-base { opacity: 0; animation: ivd-in .5s ease-out forwards; }
.ivd-d   { animation-delay: 1.05s; }
.ivd-base { animation-delay: 1.3s; }
@keyframes ivd-in { to { opacity: 1; } }
.ivd-bolt { opacity: 0; animation: logo-flicker .9s 1.5s steps(1) forwards; }

/* --- Hero-tekst --- */
.hero-title { font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.12; letter-spacing: .1em; }
.ht-line {
	display: block; opacity: 0; transform: translateY(28px);
	animation: rise .9s cubic-bezier(.2,.7,.3,1) forwards;
}
.ht-line:nth-child(1) { animation-delay: 1.5s; }
.ht-accent { color: var(--blue); animation-delay: 1.75s; font-weight: 300; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

.hero-tagline {
	margin-top: 22px; color: var(--text-dim);
	font-size: 1.02rem; letter-spacing: .04em;
	opacity: 0; animation: rise .9s 2.1s cubic-bezier(.2,.7,.3,1) forwards;
}
.hero-btn { margin-top: 44px; opacity: 0; animation: rise .9s 2.4s cubic-bezier(.2,.7,.3,1) forwards; }

.scroll-hint {
	position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
	width: 24px; height: 40px; border: 1px solid var(--text-dim); border-radius: 12px;
	opacity: 0; animation: rise 1s 3s forwards;
}
.scroll-hint span {
	position: absolute; top: 7px; left: 50%; margin-left: -2px;
	width: 4px; height: 8px; border-radius: 2px; background: var(--blue);
	animation: hint-drop 1.8s ease-in-out infinite;
}
@keyframes hint-drop {
	0%   { transform: translateY(0); opacity: 1; }
	70%  { transform: translateY(14px); opacity: 0; }
	100% { transform: translateY(0); opacity: 0; }
}

/* ================= Diensten ================= */
.services { background: var(--bg-alt); }
.services-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.service-card {
	background: var(--panel); border: 1px solid var(--line);
	padding: 42px 32px;
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.service-card:hover {
	transform: translateY(-6px);
	border-color: var(--blue);
	box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(47,168,224,.25);
}
.service-icon { width: 46px; height: 46px; color: var(--blue); margin-bottom: 22px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-size: 1.05rem; letter-spacing: .1em; margin-bottom: 14px; }
.service-card p { color: var(--text-dim); font-size: .92rem; }

/* ================= Parallax-overgangen =================
   Zonder background-attachment: fixed (traag door repaints).
   Vast element geknipt met clip-path: draait volledig op de GPU. */
.parallax {
	position: relative; min-height: 58vh;
	display: flex; align-items: center; justify-content: center;
	overflow: hidden;
	clip-path: inset(0);
}
.parallax-bg {
	position: fixed; top: 0; left: 0;
	width: 100%; height: 100vh;
	background: linear-gradient(135deg, #0d1319, #14202b 55%, #0d1319) center / cover no-repeat;
	background-position: center;
	background-size: cover;
	pointer-events: none;
}
.parallax-overlay {
	position: absolute; inset: 0;
	background: rgba(10,13,16,.55);
}
.parallax-quote {
	position: relative; z-index: 2; max-width: 900px;
	padding: 0 24px; text-align: center;
	font-family: var(--font-head); font-weight: 300;
	font-size: clamp(1.4rem, 3.4vw, 2.4rem);
	letter-spacing: .1em; text-transform: uppercase;
	text-shadow: 0 2px 22px rgba(0,0,0,.6);
}
.parallax-quote::after {
	content: ''; display: block; width: 56px; height: 2px;
	background: var(--blue); margin: 26px auto 0;
}

/* ================= Projecten-carousel (2×3) ================= */
.carousel { position: relative; }
.carousel-track {
	display: flex;
	touch-action: pan-y;
	cursor: grab;
}
.carousel.dragging .carousel-track { cursor: grabbing; }
.carousel.dragging .project-card img { transition: none; }
.carousel-slide { min-width: 100%; }
.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 20px;
}
.project-card {
	position: relative; overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--panel); border: 1px solid var(--line);
}
.project-card img {
	width: 100%; height: 100%; object-fit: cover;
	transition: transform .6s ease;
}
.project-card:hover img { transform: scale(1.07); }
.project-card {
	text-decoration: none; color: inherit; display: block;
}
a.project-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.project-card img { -webkit-user-drag: none; user-select: none; }
.project-caption {
	position: absolute; inset: auto 0 0 0;
	padding: 44px 18px 16px;
	background: linear-gradient(transparent, rgba(10,13,16,.92));
	display: flex; flex-direction: column; gap: 2px;
	transform: translateY(8px); opacity: .92;
	transition: transform .4s ease, opacity .4s ease;
}
.project-card:hover .project-caption { transform: translateY(0); opacity: 1; }
.project-cat {
	color: var(--blue); font-family: var(--font-head);
	font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
}
.project-name { font-size: .95rem; font-weight: 400; }

.carousel-btn {
	position: absolute; top: 50%; transform: translateY(-50%);
	z-index: 5; width: 52px; height: 52px;
	background: rgba(10,13,16,.8); color: var(--text);
	border: 1px solid var(--line); cursor: pointer;
	font-size: 1.15rem;
	transition: background-color .3s ease, border-color .3s ease, color .3s ease;
}
.carousel-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.carousel-btn.prev { left: -26px; }
.carousel-btn.next { right: -26px; }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.carousel-dots .dot {
	width: 34px; height: 3px; border: 0; cursor: pointer;
	background: var(--line); transition: background-color .3s ease;
}
.carousel-dots .dot.active { background: var(--blue); }

.projects-empty { text-align: center; color: var(--text-dim); }

/* ================= Projectpagina (berichttype Projecten) ================= */
.project-single-hero {
	position: relative; min-height: 52vh;
	display: flex; align-items: flex-end;
	background: linear-gradient(135deg, #0d1319, #14202b 55%, #0d1319) center / cover no-repeat;
	background-size: cover; background-position: center;
}
.project-single-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(rgba(10,13,16,.35), rgba(10,13,16,.92));
}
.project-single-heading { position: relative; z-index: 2; padding-top: 160px; padding-bottom: 54px; }
.project-single-cat {
	color: var(--blue); font-family: var(--font-head);
	font-size: .78rem; letter-spacing: .26em; text-transform: uppercase;
	display: block; margin-bottom: 12px;
}
.project-single-title { font-size: clamp(1.9rem, 5vw, 3.4rem); letter-spacing: .08em; }

.project-single-content { padding-top: 70px; padding-bottom: 100px; }
.project-single-content p { color: var(--text-dim); margin-bottom: 20px; }
.project-single-content h2, .project-single-content h3 { margin: 40px 0 16px; }
.project-single-content img { border: 1px solid var(--line); margin: 28px 0; }
.project-single-content ul, .project-single-content ol { color: var(--text-dim); padding-left: 22px; margin-bottom: 20px; }

.project-single-nav {
	display: flex; gap: 18px; flex-wrap: wrap;
	margin-top: 56px; padding-top: 40px;
	border-top: 1px solid var(--line);
}
.project-single-nav .btn-outline { margin-top: 0; }

/* ================= Over ons ================= */
.about { background: var(--bg-alt); }
.about-grid {
	display: grid; grid-template-columns: 1.1fr .9fr;
	gap: 72px; align-items: center;
}
.about .section-title { text-align: left; }
.about-text p { color: var(--text-dim); margin-bottom: 18px; }
.about-media img { border: 1px solid var(--line); }
.about-placeholder {
	aspect-ratio: 4 / 5; border: 1px solid var(--line);
	background: radial-gradient(circle at 50% 40%, #16202a, var(--panel));
	display: flex; align-items: center; justify-content: center;
}
.about-placeholder svg { width: 90px; height: 90px; color: var(--blue); opacity: .5; }

/* ================= Footer / contact ================= */
.site-footer {
	position: relative; padding: 100px 0 36px;
	border-top: 1px solid var(--line); overflow: hidden;
}
.footer-glow {
	position: absolute; top: -120px; left: 50%; transform: translateX(-50%);
	width: 640px; height: 240px; pointer-events: none;
	background: radial-gradient(ellipse, rgba(47,168,224,.12), transparent 70%);
}
.footer-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 48px; margin-bottom: 72px;
}
.footer-title { font-size: 1.7rem; letter-spacing: .14em; }
.footer-sub { color: var(--text-dim); margin-top: 10px; }
.footer-details { display: flex; flex-direction: column; gap: 10px; }
.footer-emails { display: flex; flex-direction: column; gap: 0; }
.footer-details a, .footer-details span { color: var(--text-dim); text-decoration: none; transition: color .3s; }
.footer-details a:hover { color: var(--blue); }
.insta-link {
	display: inline-flex; align-items: center; gap: 12px;
	color: var(--text); text-decoration: none;
	font-family: var(--font-head); font-size: .8rem;
	letter-spacing: .18em; text-transform: uppercase;
	transition: color .3s;
}
.insta-link svg { width: 26px; height: 26px; color: var(--blue); }
.insta-link:hover { color: var(--blue); }
.footer-bottom {
	border-top: 1px solid var(--line); padding-top: 26px;
	color: var(--text-dim); font-size: .8rem; text-align: center;
}
.footer-credit { display: block; margin-top: 8px; font-size: .7rem; }
.footer-credit a { color: var(--blue); text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }

/* ================= Rendering onder de vouw uitstellen ================= */
.services, .projects, .about, .reviews, .contact-section {
	content-visibility: auto;
	contain-intrinsic-size: auto 900px;
}

/* ================= Google Reviews ================= */
.reviews { background: var(--bg); border-top: 1px solid var(--line); }
.reviews-summary {
	display: flex; align-items: center; justify-content: center; gap: 16px;
	margin: -34px 0 54px; flex-wrap: wrap;
}
.reviews-score {
	font-family: var(--font-head); font-size: 2.6rem; line-height: 1;
	color: var(--text);
}
.reviews-total { color: var(--text-dim); font-size: .92rem; letter-spacing: .04em; }
.rev-stars { display: inline-flex; gap: 4px; }
.rev-star { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 1.4; }
.rev-star.is-on { fill: var(--blue); }
.review-card .rev-star { width: 16px; height: 16px; }

.reviews-grid {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.review-card {
	background: var(--panel); border: 1px solid var(--line);
	padding: 34px 30px;
	display: flex; flex-direction: column; gap: 18px;
	transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.review-card:hover {
	transform: translateY(-6px);
	border-color: var(--blue);
	box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(47,168,224,.25);
}
.review-text {
	color: var(--text-dim); font-size: .92rem; line-height: 1.7;
	display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden;
}
.review-meta { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.review-avatar {
	width: 42px; height: 42px; border-radius: 50%; object-fit: cover;
	border: 1px solid var(--line); flex: none;
}
.review-avatar-fallback {
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--bg); color: var(--blue);
	font-family: var(--font-head); font-size: 1.1rem;
}
.review-author { display: block; font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.review-time { color: var(--text-dim); font-size: .8rem; }
.reviews-more { text-align: center; margin-top: 52px; }
.reviews-empty { text-align: center; color: var(--text-dim); }

/* ================= Contactformulier / offerte ================= */
.contact-section { background: var(--bg-alt); }
.container-narrow { max-width: 860px; }
.contact-intro { text-align: center; color: var(--text-dim); max-width: 620px; margin: -28px auto 48px; }

.form-notice {
	padding: 16px 22px; margin-bottom: 32px;
	font-size: .95rem; border: 1px solid;
}
.notice-ok   { border-color: var(--blue); color: var(--blue-bright); background: rgba(47,168,224,.08); }
.notice-fout { border-color: #b3564d; color: #e08a82; background: rgba(179,86,77,.08); }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-grid {
	display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field span {
	font-family: var(--font-head); font-size: .72rem; font-weight: 400;
	letter-spacing: .2em; text-transform: uppercase; color: var(--text-dim);
}
.form-field input,
.form-field select,
.form-field textarea {
	background: var(--panel); border: 1px solid var(--line);
	color: var(--text); font-family: var(--font-body); font-size: .95rem;
	padding: 13px 16px; border-radius: 0; width: 100%;
	transition: border-color .3s ease, box-shadow .3s ease;
	-webkit-appearance: none; appearance: none;
}
.form-field select {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' fill='none' stroke='%239aa7b0' stroke-width='1.5'/></svg>");
	background-repeat: no-repeat; background-position: right 16px center;
	padding-right: 42px; cursor: pointer;
}
.form-field select option { background: var(--panel); color: var(--text); }
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
	outline: none; border-color: var(--blue);
	box-shadow: 0 0 0 1px var(--blue), 0 0 18px rgba(47,168,224,.15);
}
.form-wide { grid-column: 1 / -1; }
.form-submit { margin-top: 30px; border: 0; cursor: pointer; }

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

/* ================= Scroll-reveal ================= */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.reveal { opacity: 1; transform: none; }
	.ht-line, .hero-tagline, .hero-btn, .hero-logo { opacity: 1; }
	html { scroll-behavior: auto; }
}

/* ================= Responsief ================= */
@media (max-width: 1024px) {
	.carousel-btn.prev { left: 8px; }
	.carousel-btn.next { right: 8px; }
	.about-grid { gap: 44px; }
}

@media (max-width: 860px) {
	.section-pad { padding: 76px 0; }

	.header-nav {
		position: fixed; inset: 0; z-index: 99;
		background: rgba(10,13,16,.97);
		flex-direction: column; justify-content: center; gap: 34px;
		transform: translateY(-100%); transition: transform .4s ease;
	}
	.header-nav.open { transform: translateY(0); }
	.header-nav a { font-size: 1rem; }
	.nav-toggle { display: block; position: relative; z-index: 100; }
	.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
	.nav-toggle.open span:nth-child(2) { opacity: 0; }
	.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

	.services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
	.project-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(3, 1fr); gap: 14px; }
	.about-grid { grid-template-columns: 1fr; }
	.footer-grid { grid-template-columns: 1fr; gap: 34px; }

	/* Op mobiel: geen fixed parallax, gewone achtergrond */
	.parallax { min-height: 46vh; }
	.parallax-bg { position: absolute; height: 100%; }

	/* Minder zware hero-effecten op mobiel */
	.energy-line { display: none; }
}

@media (max-width: 560px) {
	.services-grid { grid-template-columns: 1fr; }
	.reviews-grid { grid-template-columns: 1fr; }
	.hero-logo-wrap { width: 165px; height: 165px; }
	.hero-logo { width: 108px; height: 108px; }
	.carousel-btn { width: 42px; height: 42px; }
}
