/* Peleman eco-installaties. Opgebouwd naar het ontwerp uit Claude Design (JP Peleman Home, 11/2026).
   Huisstijl van de klant (05/11/2026): grijs logo op zwart, lettertype Barlow Condensed en de vier
   kleuren uit het logo. Groen is de accentkleur (knoppen, lijntjes), elke dienst heeft haar eigen
   kleur (--seg: airco blauw, warmtepompen rood, onderhoud geel, ventilatie groen). */

:root {
  --ink: #0b0b0c;          /* zwart van het logo: bovenbalk, header, footer */
  --dark: #17191b;         /* antraciet: hero, titelbalk */
  --dark-line: #2a2d31;
  --head: #1b1d20;         /* titels op wit */
  --text: #4c5056;
  --silver: #d1d3d4;       /* zilver van het logo */
  --blue: #00aeef;         /* blauw van het logo */
  --blue-dark: #0079a8;    /* tekst en knoppen op wit (leesbaar contrast) */
  --red: #ed1c24;          /* rood van het logo: enkel voor warmtepompen */
  --yellow: #ffc20e;       /* geel van het logo: onderhoud en klantenportaal */
  --green: #22b14c;        /* groen van het logo: accentkleur */
  --green-dark: #17803a;   /* knoppen met witte tekst (leesbaar contrast) */
  --green-darker: #116330;
  --green-soft: #eef8f1;
  --grey: #f3f4f5;
  --line: #e4e6e9;
  --line-soft: #eceef0;
  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; background: #fff; font-family: var(--font-body); font-size: 19px; line-height: 1.55; color: var(--text); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; color: var(--head); margin: 0; text-wrap: pretty; }
p { margin: 0 0 16px; }
a { color: var(--blue-dark); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
::selection { background: rgba(26, 159, 204, .3); }

/* Inhoud zelf maximaal 1480px breed; de 24px zijmarge komt daar bovenop. */
.container { max-width: calc(1480px + 48px); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-tight { padding: 60px 0; }
.section-grey { background: var(--grey); padding: 80px 0; }
.center { text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { left: 8px; color: #fff; }

/* ---- typografie ---- */
.kicker { display: block; font-family: var(--font-head); font-size: 16px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-dark); margin-bottom: 12px; }
h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 700; line-height: 1.2; }
.h2-sm { font-size: clamp(26px, 3vw, 34px); }
.bar { display: block; width: 60px; height: 3px; background: var(--green); margin: 22px 0 24px; }
.bar-center { margin: 20px auto 44px; }
.lead { font-size: 21px; line-height: 1.55; }
.small-note { font-size: 16px; color: #777b81; }

.prose { font-size: 20px; line-height: 1.55; max-width: 820px; }
.prose-narrow { max-width: 860px; }
.prose p { margin: 0 0 16px; }
.prose p:last-child { margin-bottom: 0; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.prose > :first-child { margin-top: 0; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.prose ol { padding-left: 22px; margin: 0 0 16px; }
.prose a { font-weight: 700; }

/* ---- knoppen ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-head); font-size: 16px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 14px 22px; border-radius: 4px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; text-align: center; }
.btn svg { flex: none; }
.btn-lg { font-size: 17px; padding: 15px 28px; }
.btn-primary { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-primary:hover { background: var(--green-darker); border-color: var(--green-darker); color: #fff; }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffd34d; border-color: #ffd34d; color: var(--ink); }
.btn-blue { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-blue:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--green); border-color: var(--green); color: #fff; }
.btn-outline-light { border-color: var(--silver); color: #fff; }
.btn-outline-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- beheerbalk (ingelogd) ---- */
.admin-bar { position: sticky; top: 0; z-index: 100; height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 20px; background: #24272b; font-size: 13px; color: rgba(255, 255, 255, .75); }
.admin-bar-actions { display: flex; gap: 10px; }
.admin-bar-actions a { padding: 5px 12px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 3px; color: #fff; font-size: 12px; font-weight: 700; }
.admin-bar-actions a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.admin-bar-actions a.admin-bar-logout { border-color: rgba(34, 177, 76, .7); color: #8fe0a8; }
body.has-admin-bar .site-header { top: 40px; }

/* ---- bovenbalk ---- */
.topbar { background: var(--ink); color: #a9acb1; font-size: 16px; border-bottom: 1px solid #1c1e21; }
.topbar-inner { display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center; justify-content: space-between; padding-top: 9px; padding-bottom: 9px; }
.topbar-info { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.topbar-info li, .topbar-mail { display: flex; gap: 8px; }
.topbar a { color: #a9acb1; }
.topbar a:hover { color: #fff; }
.topbar-key { color: var(--blue); font-weight: 700; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ink); box-shadow: 0 2px 16px rgba(0, 0, 0, .35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { flex: none; }
.brand img { height: 76px; width: auto; max-width: none; transition: height .2s; }
.site-header.scrolled .brand img { height: 60px; }
.nav-desktop { display: none; align-items: center; justify-content: flex-end; flex: 1 1 600px; }
.nav-desktop > a:not(.btn) { font-family: var(--font-head); font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; color: var(--silver); padding: 12px 11px; border-bottom: 3px solid transparent; }
.nav-desktop > a:not(.btn):hover { color: #fff; border-bottom-color: var(--seg, var(--green)); }
/* Lijntje in de kleur uit het logo: die van de dienst, anders groen (wens klant). */
.nav-desktop > a.active { color: #fff; border-bottom-color: var(--seg, var(--green)); }
.nav-cta { margin-left: 10px; padding: 13px 20px; letter-spacing: .04em; white-space: nowrap; }
.nav-portal { margin-left: 8px; }
.hamb { width: 48px; height: 48px; border: 0; border-radius: 4px; background: var(--green); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex: none; }
.hamb i { display: block; width: 22px; height: 2px; background: #fff; transition: transform .2s, opacity .2s; }
.hamb[aria-expanded="true"] { background: #2a2d31; }
.hamb[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamb[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.hamb[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.navmob { display: none; flex-direction: column; border-top: 1px solid #1f2124; padding: 8px 0 20px; max-height: calc(100vh - 90px); overflow-y: auto; }
.navmob.open { display: flex; }
.navmob > a:not(.btn) { font-family: var(--font-head); font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--silver); padding: 15px 20px; border-bottom: 1px solid #1c1e21; border-left: 4px solid transparent; }
.navmob > a.active { color: #fff; border-left-color: var(--seg, var(--green)); }
.navmob-cta { margin: 14px 20px 0; padding: 16px 22px; font-size: 17px; }
.navmob-cta:first-of-type { margin-top: 18px; }
@media (min-width: 1250px) {
  .nav-desktop { display: flex; flex-wrap: nowrap; }
  .hamb, .navmob, .navmob.open { display: none; }
}
/* Smallere desktop: menu en beide knoppen blijven op één regel naast het logo. */
@media (min-width: 1250px) and (max-width: 1519px) {
  .brand img { height: 58px; }
  .site-header.scrolled .brand img { height: 52px; }
  .nav-desktop > a:not(.btn) { font-size: 15px; padding: 12px 7px; letter-spacing: .02em; }
  .nav-cta { margin-left: 6px; padding: 11px 14px; font-size: 15px; letter-spacing: .03em; }
}
@media (max-width: 899px) {
  .header-inner { padding: 10px 20px; }
  .brand img, .site-header.scrolled .brand img { height: 50px; }
  .topbar-mail { display: none; }
}

/* ---- hero ---- */
.hero { position: relative; background: var(--dark); overflow: hidden; }
.hero-photo { position: relative; height: 380px; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--dark) 0%, rgba(23, 25, 27, 0) 30%); }
.hero-inner { position: relative; padding-top: 48px; padding-bottom: 140px; }
.hero-text { max-width: 560px; }
.hero h1 { color: #fff; font-size: clamp(48px, 6vw, 80px); font-weight: 700; line-height: 1; margin-bottom: 24px; }
.hero-sub { color: #d6d8db; font-size: 23px; line-height: 1.5; margin: 0 0 16px; }
.hero .btn-row { margin-top: 34px; }
@media (min-width: 1200px) {
  /* Fotovlak in de verhouding van de foto (4:3), hoogstens 58% breed: op brede schermen wordt de
     foto zo niet uitvergroot en afgesneden. De hero groeit daar mee in hoogte (tekst verticaal gecentreerd). */
  .hero { display: flex; flex-direction: column; justify-content: center; min-height: clamp(760px, 38vw, 940px); }
  .hero-inner { width: 100%; padding-top: 110px; padding-bottom: 170px; }
  .hero-photo { position: absolute; top: 0; bottom: 0; right: 0; height: 100%; width: auto; aspect-ratio: 4 / 3; max-width: 58%; }
  .hero-photo::after { left: -2px; background: linear-gradient(90deg, var(--dark) 0, var(--dark) 3px, rgba(23, 25, 27, 0) 14%); }
}
@media (max-width: 899px) {
  .hero-photo { height: 240px; }
  .hero-inner { padding: 28px 20px 120px; }
  .hero-sub { font-size: 20px; }
}

/* ---- dienstkaarten (over de hero heen) ---- */
.service-cards-wrap { position: relative; z-index: 4; margin-top: -80px; }
.service-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); background: #fff; box-shadow: var(--shadow); border-radius: 6px; overflow: hidden; }
.service-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 28px 36px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); border-top: 4px solid var(--seg, var(--green)); color: var(--text); margin: 0 -1px -1px 0; }
.service-card:hover { background: #fafafa; color: var(--text); }
.service-card h3 { font-size: 23px; font-weight: 700; line-height: 1.2; margin-bottom: 10px; }
.service-card p { font-size: 19px; line-height: 1.6; margin: 0 0 18px; }
.service-card .more { margin-top: auto; font-family: var(--font-head); font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--blue-dark); }
.service-card:hover .more { color: var(--green); }
/* Beperkt ontwerp: de kaart is een knop die de pop-up van die dienst opent. */
button.service-card { font: inherit; background: #fff; border-width: 0 1px 1px 0; border-style: solid; border-color: var(--line-soft); border-top: 4px solid var(--seg, var(--green)); cursor: pointer; width: auto; }

/* Pop-up (dialog): kop en knoppen blijven staan, de tekst ertussen scrolt. */
.info-modal { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-top: 6px solid var(--seg, var(--green)); border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); color: var(--text); background: #fff; overflow: hidden; }
.info-modal::backdrop { background: rgba(5, 5, 6, .72); }
.info-modal[open] { display: flex; animation: modal-in .2s ease-out; }
.info-modal-inner { display: flex; flex-direction: column; width: 100%; max-height: calc(100vh - 52px); }
.info-modal-head { display: flex; gap: 18px; align-items: center; padding: 26px 32px 20px; border-bottom: 1px solid var(--line); }
.info-modal-head h2 { font-size: clamp(22px, 2.4vw, 30px); flex: 1; }
.info-modal-close { flex: none; width: 44px; height: 44px; border: 0; border-radius: 4px; background: var(--grey); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.info-modal-close:hover { background: var(--seg, var(--green)); color: var(--ink); }
.info-modal-body { overflow-y: auto; padding: 26px 32px; overscroll-behavior: contain; }
.info-modal-foot { padding: 18px 32px 24px; border-top: 1px solid var(--line); background: #fafafa; }
body.modal-open { overflow: hidden; }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.info-panel-body { max-width: none; }
.info-panel-body ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px 24px; background: var(--grey); border-left: 4px solid var(--seg, var(--blue-dark)); border-radius: 6px; padding: 24px 28px; }
.info-panel-body li { display: flex; gap: 12px; align-items: flex-start; color: var(--head); font-size: 20px; }
.info-panel-body li::before { content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--seg, var(--green)); color: var(--ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: 3px; }
.info-panel-body h3 { font-size: 23px; text-transform: uppercase; letter-spacing: .03em; margin-top: 34px; }
.info-panel-body h4 { font-size: 20px; color: var(--head); text-transform: uppercase; letter-spacing: .03em; margin: 22px 0 8px; padding-left: 12px; border-left: 4px solid var(--seg, var(--green)); }
.gallery-sm { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin-top: 26px; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
@media (max-width: 899px) {
  .info-modal-head { padding: 18px 18px 14px; }
  .info-modal-body { padding: 20px 18px; }
  .info-modal-foot { padding: 14px 18px 18px; }
  .info-modal-foot .btn { flex: 1 1 auto; }
}
.icon-circle { width: 96px; height: 96px; border-radius: 50%; background: #fff; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; flex: none; }
.icon-circle img { width: 58px; height: 58px; object-fit: contain; }
.icon-circle-sm { width: 80px; height: 80px; margin: 0; }
.icon-circle-sm img { width: 48px; height: 48px; }

/* ---- over ons ---- */
.about { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 60px; align-items: center; }
.about-photo { position: relative; }
.about-photo-frame { aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .18); }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.about-text .lead { margin: 0 0 16px; }
.certs { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 24px; margin: 28px 0 32px; }
.certs li, .checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 20px; color: var(--head); line-height: 1.45; }
.certs li::before, .checks li::before { content: "\2713"; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-dark); color: #fff; font-size: 12px; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.checks-accent li { font-size: 17px; }
.checks-accent li::before { background: var(--green); }
.cert-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.cert-logos a { display: block; }
.cert-logos img { width: auto; max-width: 170px; }
.signature { font-style: italic; color: var(--head); font-size: 21px; margin: 26px 0 0; }

/* ---- partners ---- */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; max-width: 760px; margin: 0 auto; }
.partner { background: #fff; border-radius: 4px; min-height: 170px; display: flex; flex-direction: column; gap: 18px; align-items: center; justify-content: center; padding: 26px 22px 20px; border: 1px solid var(--line); transition: box-shadow .25s, border-color .25s; }
.partner:hover { box-shadow: 0 10px 26px rgba(0, 0, 0, .1); border-color: var(--green); }
.partner-label { font-family: var(--font-head); font-weight: 600; font-size: 17px; text-transform: uppercase; letter-spacing: .05em; color: var(--green-dark); }
.partner img { max-width: 100%; object-fit: contain; }

/* ---- titelbalk binnenpagina's ---- */
.title-bar { background: var(--dark); padding: 56px 0; border-bottom: 3px solid var(--green); }
.title-bar-inner { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; justify-content: space-between; }
.title-bar h1 { color: #fff; font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.15; }
.crumbs { display: flex; gap: 10px; font-size: 15px; color: #9a9ea4; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--blue); }
.crumbs [aria-current] { color: var(--blue); }

/* ---- dienstpagina ---- */
.service-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 50px; align-items: start; }
.service-main { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.service-main .bar { margin: 0; }
.service-head { display: flex; gap: 20px; align-items: center; }
.service-head h2 { font-size: clamp(24px, 2.6vw, 32px); }
.list-box { background: var(--grey); border-radius: 6px; padding: 30px 32px; border-left: 4px solid var(--blue-dark); }
.list-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.list-box .checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 24px; }
.info-blocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.info-block { border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: 4px; padding: 26px 28px; background: #fff; }
.info-block h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.info-block p { margin: 0; font-size: 16px; line-height: 1.65; }
.gallery-title { font-size: 20px; font-weight: 700; margin: 10px 0 18px; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.gallery-item { aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; background: var(--line-soft); cursor: zoom-in; display: block; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.06); }
.service-aside { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 130px; }
body.has-admin-bar .service-aside { top: 170px; }
.side-nav { border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.side-nav-title { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; padding: 16px 22px; }
.side-nav a { display: block; padding: 15px 22px; border-top: 1px solid var(--line); font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--head); border-left: 4px solid transparent; }
.side-nav a:hover { color: var(--green); }
.side-nav a.active { color: var(--green-darker); background: var(--green-soft); border-left-color: var(--green); }
.side-cta { background: var(--dark); border-top: 4px solid var(--green); border-radius: 4px; padding: 28px 26px; color: #d6d8db; }
.side-cta h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.side-cta p { margin: 0 0 18px; font-size: 16px; line-height: 1.6; }
.side-cta-phone { display: block; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 20px; margin-bottom: 18px; }
.side-cta-phone:hover { color: var(--blue); }
@media (max-width: 899px) {
  .service-main { grid-column: auto; }
  .service-aside { position: static; }
}

/* ---- lightbox ---- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; border: 0; background: rgba(5, 5, 6, .93); align-items: center; justify-content: center; padding: 60px 80px; }
.lightbox[open] { display: flex; }
.lightbox::backdrop { background: transparent; }
.lightbox-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox button { position: absolute; border: 0; border-radius: 4px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; line-height: 1; }
.lightbox button:hover { background: var(--green); }
.lightbox-close { top: 18px; right: 18px; width: 48px; height: 48px; font-size: 28px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; color: var(--silver); font-family: var(--font-head); font-size: 14px; font-weight: 600; }
@media (max-width: 899px) { .lightbox { padding: 70px 12px; } }

/* ---- contactblok + formulier ---- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 50px; }
.contact-grid .bar { margin: 20px 0 30px; }
.contact-items { display: flex; flex-direction: column; gap: 22px; }
.contact-items li { display: flex; gap: 18px; align-items: flex-start; font-size: 20px; line-height: 1.5; }
.contact-items strong { display: block; font-family: var(--font-head); font-weight: 700; color: var(--head); font-size: 18px; margin-bottom: 4px; }
.contact-items a { color: var(--text); }
.contact-items a:hover { color: var(--green); }
.contact-items small { display: block; font-size: 17px; color: #777b81; }
.contact-items .ci-urgent { color: var(--green-dark); font-weight: 600; }
.ci-key { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; display: flex; align-items: center; justify-content: center; border: 2px solid var(--green); }
.form-panel { background: var(--grey); border-radius: 6px; padding: 36px; border-top: 4px solid var(--blue-dark); }
.form-panel h3 { font-size: 28px; font-weight: 700; margin-bottom: 20px; }
.form { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: block; }
.field-full { grid-column: 1 / -1; }
.input { width: 100%; padding: 14px 16px; border: 1px solid #d9dce0; border-radius: 4px; font-size: 19px; background: #fff; color: var(--head); }
.input::placeholder { color: #85898f; }
select.input { color: var(--text); }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 159, 204, .2); }
textarea.input { resize: vertical; min-height: 130px; max-height: 450px; }
.form .btn { justify-self: start; }
.form .small-note { margin: 0; }
.form-error { background: #fdecea; border-left: 4px solid var(--green); color: #8a1c13; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; }
.form-ok { background: #e8f6ee; border-left: 4px solid #1e8e4e; color: #145c33; padding: 20px 22px; border-radius: 4px; margin: 0; font-size: 19px; }
.form-ok strong { display: block; font-family: var(--font-head); font-size: 23px; margin-bottom: 6px; }
.form-ok p { margin: 0; }
.form .btn:disabled { opacity: .65; cursor: wait; }
.form-panel { scroll-margin-top: 130px; }
@media (max-width: 899px) { .form-panel { padding: 26px 20px; } }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: #9a9ea4; font-size: 18px; border-top: 3px solid var(--green); }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 70px; padding-bottom: 50px; }
.footer-col p { margin: 0 0 10px; line-height: 1.65; }
.footer-col h4 { color: #fff; font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-logo { display: inline-block; margin-bottom: 18px; }
.footer-logo img { height: 64px; width: auto; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.site-footer a { color: #9a9ea4; }
.site-footer a:hover { color: var(--blue); }
.site-footer .footer-phone { color: #fff; font-weight: 700; }
.copyright { border-top: 1px solid #1c1e21; font-size: 16px; }
.copyright-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 24px; align-items: center; padding-top: 20px; padding-bottom: 20px; }
.copyright-inner > a { justify-self: center; }
.copyright-inner p { margin: 0; justify-self: end; }
.copyright .sep { opacity: .4; margin: 0 4px; }
@media (max-width: 899px) {
  .copyright-inner > a, .copyright-inner p { justify-self: start; }
}

/* Webmatics-signatuur */
.hvr-underline-from-center-thin { display: inline-block; vertical-align: middle; transform: perspective(1px) translateZ(0); box-shadow: 0 0 1px rgba(0, 0, 0, 0); position: relative; overflow: hidden; }
.hvr-underline-from-center-thin:before { content: ""; position: absolute; z-index: -1; left: 51%; right: 51%; bottom: 0; background: #05BB93; height: 1px; transition-property: left, right; transition-duration: .3s; transition-timing-function: ease-out; }
.hvr-underline-from-center-thin:hover:before, .hvr-underline-from-center-thin:focus:before, .hvr-underline-from-center-thin:active:before { left: 0; right: 0; }
.site-footer .webmatics:hover { color: #05BB93 !important; }

/* ---- naar boven ---- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 46px; height: 46px; border-radius: 4px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s, transform .25s, background .2s; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
.to-top:hover { background: var(--ink); color: #fff; }
body.show-top .to-top { opacity: 1; pointer-events: auto; transform: none; }

/* ---- melding (Beheer → Melding) ---- */
.announce-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(5, 5, 6, .7); display: flex; align-items: center; justify-content: center; padding: 20px; }
.announce-overlay[hidden] { display: none; }
.announce-box { background: #fff; border-top: 4px solid var(--green); border-radius: 6px; max-width: 520px; width: 100%; padding: 32px; box-shadow: var(--shadow); font-size: 20px; color: var(--head); }
.announce-box p { margin: 0 0 22px; }

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