/* ==========================================================
   Eggink Schilders BV — style.css
   Huisstijl: navy + grijs uit het logo, lichtblauwe tinten
   ========================================================== */

:root {
  --navy: #353e75;
  --navy-dark: #272e58;
  --navy-deep: #1e2445;
  --blue: #7fa3d7;        /* lichtblauw accent */
  --blue-strong: #4a6fae; /* lichtblauw voor links/knoppen op wit */
  --blue-tint: #eef3fa;   /* heel licht blauw voor vlakken */
  --ink: #23273b;
  --grey: #5f6472;
  --grey-light: #9aa0ad;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --line: #e4e7ee;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(30, 36, 69, 0.10);
  --shadow-lg: 0 18px 50px rgba(30, 36, 69, 0.18);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-deep); line-height: 1.25; }

h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; }

/* ---------- Knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(30,36,69,.22); }
.btn-accent { background: var(--navy); color: #fff; }
.btn-accent:hover { background: var(--blue-strong); }
.btn-outline { border-color: rgba(255,255,255,.75); color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(2px); }
.btn-outline:hover { background: #fff; color: var(--navy-deep); }
.btn-full { width: 100%; border: none; font-size: 1rem; }

/* ---------- Topbar ---------- */
.topbar { background: var(--navy-deep); color: #cfd4e6; font-size: 0.83rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--blue); }
.topbar-sep { opacity: .4; margin: 0 8px; }

/* ---------- Navigatie ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(30,36,69,.10); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-logo img { height: 54px; width: auto; transition: height .3s ease; }
.nav.scrolled .nav-logo img { height: 44px; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn), .nav-item > a {
  font-family: var(--font-head);
  font-weight: 500; font-size: 0.95rem;
  color: var(--navy-deep); text-decoration: none;
  padding: 26px 0; position: relative; display: inline-block;
}
.nav-links > a:not(.btn)::after, .nav-item > a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 16px;
  height: 3px; border-radius: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav-links > a:not(.btn):hover::after, .nav-links > a.active:not(.btn)::after,
.nav-item > a:hover::after, .nav-item > a.active::after { transform: scaleX(1); }
.nav-cta { padding: 11px 24px; font-size: 0.9rem; }
.nav-toggle { display: none; background: none; border: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 6px; cursor: pointer; }
.nav-toggle span { display: block; height: 2.5px; width: 26px; margin: 0 auto; background: var(--navy-deep); border-radius: 2px; transition: .3s; }

/* Dropdown expertises */
.nav-item { position: relative; }
.nav-item > a .caret { font-size: 0.7em; margin-left: 5px; display: inline-block; transition: transform .3s ease; }
.dropdown {
  position: absolute; top: calc(100% - 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); min-width: 240px; padding: 10px 0;
  opacity: 0; visibility: hidden; transition: opacity .25s ease, transform .25s ease;
}
.nav-item:hover .dropdown, .nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-item:hover > a .caret { transform: rotate(180deg); }
.dropdown a {
  display: block; padding: 10px 22px; text-decoration: none;
  font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--navy-deep);
  transition: background .2s ease, color .2s ease;
}
.dropdown a:hover, .dropdown a.active { background: var(--blue-tint); color: var(--blue-strong); }

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative; height: min(92vh, 860px); min-height: 560px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease;
}
.hero-slide.is-active { opacity: 1; animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(30,36,69,.88) 0%, rgba(30,36,69,.56) 45%, rgba(30,36,69,.26) 100%);
}
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 1200px; width: 100%; }
.hero-kicker {
  font-family: var(--font-head); font-weight: 600; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 3px; color: var(--blue);
  margin-bottom: 18px;
  opacity: 0; animation: fadeUp .8s ease .2s forwards;
}
.hero h1 {
  color: #fff; font-size: clamp(2.1rem, 5vw, 3.5rem); font-weight: 700;
  max-width: 760px;
  opacity: 0; animation: fadeUp .8s ease .4s forwards;
}
.hero h1 .accent-text { color: var(--blue); }
.hero-sub {
  margin-top: 22px; max-width: 600px; font-size: 1.08rem; color: rgba(255,255,255,.88);
  opacity: 0; animation: fadeUp .8s ease .6s forwards;
}
.hero-actions { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; opacity: 0; animation: fadeUp .8s ease .8s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero-dots { position: absolute; z-index: 3; bottom: 34px; right: 40px; display: flex; gap: 9px; flex-wrap: wrap; max-width: 220px; }
.hero-dots button {
  width: 11px; height: 11px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.45); transition: .3s; padding: 0;
}
.hero-dots button.is-active { background: var(--blue); transform: scale(1.25); }

.hero-scroll {
  position: absolute; z-index: 3; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.6); border-radius: 16px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 9px; width: 4px; height: 9px; border-radius: 2px;
  background: #fff; transform: translateX(-50%);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue { 0%,100% { opacity: 1; top: 9px; } 50% { opacity: .2; top: 22px; } }

/* ---------- Kengetallen-balk ---------- */
.numbers { background: var(--navy-deep); padding: 40px 0; }
.numbers-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.number { color: #fff; }
.number-nr { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3vw, 2.4rem); color: var(--blue); display: block; line-height: 1.15; }
.number-txt { font-size: 0.88rem; opacity: .8; }

/* ---------- Sectiekoppen ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.kicker {
  font-family: var(--font-head); font-weight: 600; font-size: 0.82rem;
  text-transform: uppercase; letter-spacing: 3px; color: var(--blue-strong); margin-bottom: 10px;
}
.lead { margin-top: 20px; color: var(--grey); font-size: 1.05rem; }

.section-head-light h2 { color: #fff; }
.section-head-light .lead { color: rgba(255,255,255,.75); }
.section-head-light .kicker { color: var(--blue); }

/* ---------- Intro / USP ---------- */
.intro { padding-bottom: 80px; }
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.usp {
  background: var(--bg-soft); border-radius: var(--radius); padding: 30px 26px;
  border-top: 4px solid var(--navy);
  transition: transform .3s ease, box-shadow .3s ease;
}
.usp:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.usp-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; margin-bottom: 16px;
}
.usp h3 { font-size: 1.02rem; margin-bottom: 8px; }
.usp p { font-size: 0.92rem; color: var(--grey); }

/* ---------- Uitgelichte projecten (showcase) ---------- */
.projects { background: var(--bg-soft); overflow: hidden; }
.showcase { display: flex; flex-direction: column; gap: 72px; }
.showcase-row { display: grid; grid-template-columns: repeat(12, 1fr); align-items: center; }
.showcase-media {
  grid-column: 1 / span 8; grid-row: 1; position: relative;
  height: 470px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  display: block;
}
.showcase-media .media-img {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transition: transform .7s ease;
}
.showcase-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(30,36,69,.28), rgba(30,36,69,0) 55%);
  transition: opacity .4s ease;
}
.showcase-media:hover .media-img { transform: scale(1.05); }
.showcase-panel {
  grid-column: 7 / span 6; grid-row: 1; position: relative; z-index: 2;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 42px 44px 46px; margin: 40px 0;
}
.showcase-row.reverse .showcase-media { grid-column: 5 / span 8; }
.showcase-row.reverse .showcase-panel { grid-column: 1 / span 6; }
.showcase-nr {
  position: absolute; top: 18px; right: 26px;
  font-family: var(--font-head); font-weight: 700; font-size: 3.4rem;
  color: var(--blue-tint); line-height: 1; user-select: none;
}
.showcase-panel .kicker { margin-bottom: 6px; }
.showcase-panel h3 { font-size: 1.45rem; margin-bottom: 12px; position: relative; z-index: 1; }
.showcase-panel p { color: var(--grey); font-size: 0.96rem; margin-bottom: 22px; }
.showcase-panel .btn { font-size: 0.9rem; padding: 11px 26px; }

/* ---------- Expertises (homepage grid) ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  text-decoration: none;
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-media { height: 210px; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-media img { transform: scale(1.07); }
.service-body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-size: 1.13rem; margin-bottom: 10px; }
.service-body p { font-size: 0.93rem; color: var(--grey); flex: 1; }
.service-link {
  margin-top: 18px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem;
  color: var(--blue-strong);
}
.service-card:hover .service-link { color: var(--navy); }

/* ---------- Opdrachtgevers (homepage) ---------- */
.clients { background: var(--bg-soft); }
/* vijf kaarten: de laatste twee netjes centreren op de tweede rij */
.client-grid .service-card:nth-child(4) { grid-column: 1 / 2; transform: translateX(50%); }
.client-grid .service-card:nth-child(5) { grid-column: 2 / 3; transform: translateX(50%); }
.client-grid .service-card:nth-child(4):hover,
.client-grid .service-card:nth-child(5):hover { transform: translateX(50%) translateY(-8px); }

/* ---------- Over ons ---------- */
.about { background: #fff; }
.about-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.about-media .about-img-alt {
  position: absolute; inset: 0; height: 100%;
  opacity: 0; animation: aboutswap 16s ease-in-out infinite;
}
@keyframes aboutswap {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .about-media .about-img-alt { animation: none; }
}
.about-badge {
  position: absolute; bottom: -24px; right: -18px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 20px 26px; text-align: center; box-shadow: var(--shadow-lg);
}
.about-badge-nr { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--blue); }
.about-badge-txt { font-size: 0.82rem; opacity: .85; }
.about-text h2 { margin-bottom: 18px; }
.about-text p { color: var(--grey); margin-bottom: 16px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.badge {
  font-family: var(--font-head); font-size: 0.8rem; font-weight: 600;
  color: var(--navy); background: var(--blue-tint); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
}

/* ---------- Contact ---------- */
.contact { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 26px; }
.contact-item-label {
  font-family: var(--font-head); font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 2px; color: var(--blue);
}
.contact-item p { color: rgba(255,255,255,.88); margin-top: 4px; }
.contact-item a { color: #fff; text-decoration: none; font-weight: 500; }
.contact-item a:hover { color: var(--blue); }
.contact-form {
  background: #fff; border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; display: flex; flex-direction: column; }
.form-field label { font-family: var(--font-head); font-weight: 500; font-size: 0.86rem; margin-bottom: 6px; color: var(--navy-deep); }
.form-field input, .form-field select, .form-field textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
  border: 1.5px solid var(--line); border-radius: 8px; padding: 12px 14px; background: #fbfcfe;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(53,62,117,.12);
}
.check-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pill { position: relative; cursor: pointer; }
.check-pill input { position: absolute; opacity: 0; pointer-events: none; }
.check-pill span {
  display: inline-block; padding: 9px 18px;
  border: 1.5px solid var(--line); border-radius: 999px; background: #fbfcfe;
  font-family: var(--font-head); font-size: 0.86rem; font-weight: 500; color: var(--navy-deep);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.check-pill:hover span { border-color: var(--blue-strong); }
.check-pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.check-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(53,62,117,.2); }
.form-status { margin-top: 14px; font-size: 0.9rem; font-weight: 500; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #1d7a3d; }
.form-status.error { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { background: #fff; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-logo { height: 44px; width: auto; margin-bottom: 16px; }
.footer-col h4 { font-size: 0.95rem; margin-bottom: 14px; }
.footer-col p { font-size: 0.9rem; color: var(--grey); margin-bottom: 10px; }
.footer-col a { display: block; font-size: 0.9rem; color: var(--grey); text-decoration: none; margin-bottom: 8px; }
.footer-col a:hover { color: var(--navy); }
.footer-col p a { display: inline; }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 0.84rem; color: var(--grey-light); }
.footer-bottom a { color: var(--navy); text-decoration: none; font-weight: 500; }

/* ---------- Subpagina's ---------- */
.page-hero {
  position: relative; min-height: 380px; height: 46vh;
  display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,36,69,.35) 0%, rgba(30,36,69,.78) 100%);
}
.page-hero-content { position: relative; z-index: 2; color: #fff; padding-bottom: 48px; width: 100%; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,.75); margin-bottom: 10px; }
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); }
.page-hero .page-sub { color: rgba(255,255,255,.85); max-width: 620px; margin-top: 10px; }

.page-section { padding: 80px 0; }
.back-link {
  display: inline-block; margin-bottom: 34px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  color: var(--navy); text-decoration: none;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 22px; background: #fff;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.back-link:hover { background: var(--navy); border-color: var(--navy); color: #fff; transform: translateX(-3px); }
.page-section.tinted { background: var(--bg-soft); }
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-bottom: 18px; }
.prose h3 { margin: 34px 0 12px; font-size: 1.25rem; }
.prose p { color: var(--grey); margin-bottom: 16px; }
.prose ul { color: var(--grey); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }

/* Infokaarten (kleuradvies, winterkorting) */
.info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 980px; margin: 48px auto 0; }
.info-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--navy);
  border-radius: var(--radius); padding: 30px 30px 32px; box-shadow: var(--shadow);
}
.info-card.highlight { border-left-color: var(--blue); background: var(--blue-tint); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.info-card p { font-size: 0.94rem; color: var(--grey); margin-bottom: 10px; }
.info-card .btn { margin-top: 8px; font-size: 0.88rem; padding: 10px 24px; }

/* Fotogalerij */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery a {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.gallery a:hover img { transform: scale(1.06); }
.gallery a::after {
  content: "+"; position: absolute; right: 12px; bottom: 10px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(30,36,69,.65); color: #fff;
  font-size: 1.2rem; line-height: 30px; text-align: center;
  opacity: 0; transition: opacity .3s ease;
}
.gallery a:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(30,36,69,.72));
  color: #fff; font-family: var(--font-head); font-size: 0.82rem; font-weight: 500;
}

/* Deelgalerijen op buitenschilderwerk */
.subproject { max-width: 980px; margin: 0 auto 64px; }
.subproject:last-child { margin-bottom: 0; }
.subproject h3 { font-size: 1.3rem; margin-bottom: 6px; }
.subproject .sub-loc { font-size: 0.92rem; color: var(--grey); margin-bottom: 20px; }

/* Voor & na */
.beforeafter { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ba-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.ba-item img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.ba-label {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy-deep); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.ba-item.after .ba-label { background: var(--blue-strong); }

/* Voor/na-schuifvergelijking */
.ba-slider {
  position: relative; --pos: 50%;
  max-width: 620px; margin: 0 auto; aspect-ratio: 3 / 4;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
}
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-after-wrap { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); }
.ba-range {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: ew-resize; z-index: 3; margin: 0;
  -webkit-appearance: none; appearance: none;
}
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos);
  width: 3px; background: #fff; transform: translateX(-50%);
  z-index: 2; pointer-events: none;
}
.ba-handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; box-shadow: 0 2px 12px rgba(30,36,69,.35);
}
.ba-handle span::before, .ba-handle span::after {
  content: ""; position: absolute; top: 50%; width: 0; height: 0;
  border: 6px solid transparent; transform: translateY(-50%);
}
.ba-handle span::before { left: 8px; border-right-color: var(--navy); }
.ba-handle span::after { right: 8px; border-left-color: var(--navy); }
.ba-tag {
  position: absolute; bottom: 14px; z-index: 2;
  background: rgba(30,36,69,.78); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; pointer-events: none;
}
.ba-tag-voor { left: 14px; }
.ba-tag-na { right: 14px; }

/* Keurmerken (over ons) */
.keurmerken { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }
.keurmerken img { height: 66px; width: auto; }

/* Opdrachtgevers */
.client-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.client-nav a {
  font-family: var(--font-head); font-weight: 600; font-size: 0.88rem;
  color: var(--navy); text-decoration: none; background: var(--blue-tint);
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.client-nav a:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.client-block { max-width: 780px; margin: 0 auto 40px; }
.client-block h2 { margin-bottom: 16px; }
.client-block p { color: var(--grey); margin-bottom: 16px; }
.client-block ul { color: var(--grey); margin: 0 0 4px 22px; }
.client-block li { margin-bottom: 6px; }
.gallery-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }

/* CTA-band */
.cta-band { background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy-deep) 100%); text-align: center; padding: 72px 0; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 540px; margin: 0 auto 28px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(20, 24, 46, .92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(92vw, 1200px); max-height: 88vh;
  border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,.12); color: #fff;
  border: none; cursor: pointer; border-radius: 50%;
  width: 46px; height: 46px; font-size: 1.3rem;
  transition: background .25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,.28); }
.lightbox-close { top: 22px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }

/* ---------- Scroll-reveal ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity .8s ease, transform .8s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity .8s ease, transform .8s ease; }
.reveal-left.is-visible, .reveal-right.is-visible { opacity: 1; transform: translateX(0); }
.usp-grid .reveal:nth-child(2), .service-grid .reveal:nth-child(2) { transition-delay: .12s; }
.usp-grid .reveal:nth-child(3), .service-grid .reveal:nth-child(3) { transition-delay: .24s; }
.service-grid .reveal:nth-child(4) { transition-delay: .12s; }
.service-grid .reveal:nth-child(5) { transition-delay: .24s; }
.gallery .reveal:nth-child(3n+2) { transition-delay: .1s; }
.gallery .reveal:nth-child(3n+3) { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active { animation: none; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .usp-grid { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .client-grid .service-card:nth-child(4), .client-grid .service-card:nth-child(5) { grid-column: auto; transform: none; }
  .client-grid .service-card:nth-child(4):hover, .client-grid .service-card:nth-child(5):hover { transform: translateY(-8px); }
  .about-inner { grid-template-columns: 1fr; gap: 56px; }
  .about-media img { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
  .numbers-inner { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .showcase-media { grid-column: 1 / span 12; height: 400px; }
  .showcase-panel { grid-column: 2 / span 10; grid-row: 2; margin: -70px 0 0; }
  .showcase-row.reverse .showcase-media { grid-column: 1 / span 12; }
  .showcase-row.reverse .showcase-panel { grid-column: 2 / span 10; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .page-section { padding: 60px 0; }
  .topbar-tagline { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; gap: 0; align-items: stretch;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(30,36,69,.12);
    max-height: 0; overflow: hidden; transition: max-height .4s ease;
  }
  .nav-links.open { max-height: 640px; overflow-y: auto; }
  .nav-links > a:not(.btn), .nav-item > a { padding: 15px 24px; border-top: 1px solid var(--line); display: block; }
  .nav-links > a:not(.btn)::after, .nav-item > a::after { display: none; }
  .nav-item { width: 100%; }
  .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible;
    box-shadow: none; border: none; border-radius: 0; min-width: 0;
    max-height: 0; overflow: hidden; padding: 0; transition: max-height .35s ease;
    background: var(--bg-soft);
  }
  .nav-item.open .dropdown { max-height: 320px; }
  .dropdown a { padding: 12px 38px; }
  .nav-cta { margin: 16px 24px 20px; text-align: center; }
  .hero { height: 88vh; }
  .hero-dots { right: 24px; bottom: 24px; }
  .usp-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .about-badge { right: 12px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .showcase-panel { padding: 30px 26px 34px; }
  .info-cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .beforeafter { grid-template-columns: 1fr 1fr; gap: 12px; }
  .numbers-inner { grid-template-columns: repeat(2, 1fr); }
}
