/* Gevelrestauratie & Voegwerken De la Rie
   Lichte, moderne stijl (naar een referentie van de gebruiker) met de kleuren van Koos:
   blauw uit het logo als accent, antraciet voor de donkere delen, wit en lichtgrijs daartussen.
   Koppen en tekst in Archivo (de strakke letter uit het logo), EB Garamond alleen in logo en slogan.
   Vaste vormen: afgeronde hoeken, ronde knoppen met pijltje, labels boven koppen.
   Effecten: kaarten en knoppen kleuren om bij aanwijzen; alles rustig bij "minder beweging". */

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("/fonts/eb-garamond-italic.woff2") format("woff2");
  font-weight: 400 800;
  font-style: italic;
  font-display: swap;
}

:root {
  --blauw: #2a7de1;
  --blauw-knop: #2169c9;
  --blauw-donker: #1b5aad;
  --blauw-licht: #6ea7ef;
  --blauw-zacht: #e8f1fc;
  --antraciet: #2a2f35;
  --antraciet-2: #343a41;
  --antraciet-3: #22272c;
  --antraciet-4: #3d444c;
  --lijn-donker: #434a52;
  --wit: #ffffff;
  --licht: #f3f4f6;
  --licht-2: #e3e6ea;
  --inkt: #23282d;
  --inkt-zacht: #5b6168;
  --tekst-licht: #e6e4df;
  --grijs-licht: #a9aeb3;
  --radius: 16px;
  --breed: 1200px;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "EB Garamond", Garamond, "Times New Roman", serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .2vw, 1.075rem);
  line-height: 1.65;
  color: var(--inkt);
  background: var(--wit);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--blauw-knop); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--blauw); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.08; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.4rem + 4.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: 1.2rem; line-height: 1.25; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.container { width: min(100% - 2 * var(--rand), var(--breed)); margin-inline: auto; }
.verborgen { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.naar-inhoud { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--wit); color: var(--inkt); padding: .6rem 1rem; }
.naar-inhoud:focus { top: 1rem; }
.icoon { width: 1.2em; height: 1.2em; flex: none; }

/* Label: klein rond etiket boven een kop */
.label { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem; padding: .35rem .9rem; border: 1px solid var(--licht-2); border-radius: 999px; background: var(--wit); color: var(--inkt); font-size: .82rem; font-weight: 600; line-height: 1.3; }
.label::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--blauw); }
.label--licht { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.24); color: var(--wit); }

/* Knoppen: rond, met een pijltje in een wit rondje */
.knop {
  display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
  min-height: 3.1rem; padding: 0 1.4rem;
  font: inherit; font-weight: 600; line-height: 1.1; text-decoration: none;
  color: var(--wit); background: var(--blauw-knop); border: 0; border-radius: 999px; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.knop:has(.knop__pijl) { padding-right: .45rem; }
.knop:hover { background: var(--blauw-donker); color: var(--wit); }
.knop__pijl { width: 2.25rem; height: 2.25rem; display: grid; place-items: center; border-radius: 50%; background: var(--wit); color: var(--blauw-knop); transition: transform .2s; }
.knop__pijl svg { width: 1rem; height: 1rem; }
.knop:hover .knop__pijl { transform: rotate(45deg); }
.knop--licht { background: var(--wit); color: var(--inkt); }
.knop--licht:hover { background: var(--licht); color: var(--inkt); }
.knop--klein { min-height: 2.7rem; font-size: .95rem; }
.knop--klein .knop__pijl { width: 1.95rem; height: 1.95rem; }
.knoppen { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (prefers-reduced-motion: reduce) { .knop__pijl { transition: none; } .knop:hover .knop__pijl { transform: none; } }

/* Kop: doorzichtig over de video, donker zodra je scrolt */
.kop { position: fixed; inset: 0 0 auto 0; z-index: 40; color: var(--wit); transition: background-color .25s, box-shadow .25s; }
.kop--vast { background: rgba(34,39,44,.94); box-shadow: 0 1px 0 rgba(255,255,255,.07); }
.kop__binnen { display: flex; align-items: center; gap: 1.25rem; min-height: 5rem; }
.logo { flex: none; }
.logo img { height: clamp(2.1rem, 1.6rem + 1.4vw, 2.7rem); width: auto; }
.hoofdmenu { margin-left: auto; }
.hoofdmenu ul { display: flex; gap: clamp(1rem, 2vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.hoofdmenu a { color: var(--wit); text-decoration: none; font-weight: 500; font-size: .98rem; }
.hoofdmenu a:hover { color: var(--blauw-licht); }
.kop__tel { width: 2.7rem; height: 2.7rem; display: grid; place-items: center; border-radius: 50%; color: var(--wit); border: 1px solid rgba(255,255,255,.35); }
.kop__tel:hover { background: var(--wit); color: var(--inkt); }
.menu-knop { display: none; }
@media (max-width: 960px) {
  .kop__offerte { display: none; }
  .kop__tel { margin-left: auto; }
  .menu-knop { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; padding: 0; border-radius: 50%; background: none; border: 1px solid rgba(255,255,255,.35); color: var(--wit); cursor: pointer; }
  .hoofdmenu { position: absolute; inset: 100% 0 auto 0; margin: 0; display: none; background: var(--antraciet-3); border-bottom: 1px solid var(--lijn-donker); }
  .hoofdmenu.open { display: block; }
  .hoofdmenu ul { flex-direction: column; gap: 0; padding: .5rem var(--rand) 1.25rem; }
  .hoofdmenu a { display: block; padding: .75rem 0; font-size: 1.25rem; border-bottom: 1px solid var(--lijn-donker); }
}

/* Bovenkant met video */
.held { position: relative; min-height: min(92vh, 52rem); display: grid; align-items: end; overflow: hidden; color: var(--wit); background: var(--antraciet) url("/img/leiden-video.jpg") center / cover no-repeat; padding-bottom: 6.5rem; }
.held__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.held::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(34,39,44,.78) 0%, rgba(34,39,44,.35) 55%, rgba(34,39,44,.08) 100%), linear-gradient(180deg, rgba(34,39,44,.45) 0%, rgba(34,39,44,0) 30%); }
.held__inhoud { position: relative; z-index: 1; padding-top: 8rem; }
.held h1 { max-width: 13em; }
.held__intro { max-width: 34em; margin: 1.25rem 0 0; font-size: 1.15em; color: rgba(255,255,255,.88); }
.held .knoppen { margin-top: 2rem; }
.held__pauze { position: absolute; right: var(--rand); top: 6.25rem; z-index: 2; width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--wit); background: rgba(34,39,44,.5); border: 1px solid rgba(255,255,255,.35); cursor: pointer; }
.held__pauze .icoon { width: 1rem; height: 1rem; }

/* Balk met pijlers, half over de video */
.pijlers { position: relative; z-index: 3; margin: -3.25rem auto 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: .5rem; padding: .5rem; background: var(--wit); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(34,39,44,.16); }
.pijler { display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem; border: 0; border-radius: 12px; background: transparent; color: var(--inkt); font: inherit; font-size: .95rem; font-weight: 600; line-height: 1.25; text-align: left; }
.pijler img { width: 3rem; height: 3rem; flex: none; border-radius: 50%; object-fit: cover; }
.pijler--blauw { background: var(--blauw-knop); color: var(--wit); }
.pijler--film { padding-inline: .7rem 1.4rem; background: var(--antraciet); color: var(--wit); cursor: pointer; }
.pijler--film:hover { background: var(--antraciet-2); }
.speel { width: 3rem; height: 3rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--wit); color: var(--blauw-knop); }
.speel svg { width: 1.1rem; height: 1.1rem; margin-left: .15rem; }
@media (max-width: 900px) { .pijlers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .pijler { font-size: .88rem; padding: .6rem .7rem; gap: .6rem; } .pijler img, .speel { width: 2.5rem; height: 2.5rem; } }

/* Secties */
.sectie { padding-block: clamp(4rem, 8vw, 6.5rem); }
.sectie--wit { background: var(--wit); }
.sectie--licht { background: var(--licht); }
.sectie--donker { background: var(--antraciet); color: var(--tekst-licht); }
.sectie--donker h2, .sectie--donker h3 { color: var(--wit); }
.midden { text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.midden h2 { max-width: 18em; margin-inline: auto; }
.midden__intro { margin-top: .75rem; color: var(--inkt-zacht); }
#diensten { padding-top: clamp(3.5rem, 7vw, 5.5rem); }

/* Diensten: vier kaarten */
.diensten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.dienst { display: flex; flex-direction: column; gap: .6rem; min-height: 17.5rem; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--radius); background: var(--licht); transition: background-color .2s; }
.dienst:hover { background: var(--blauw-zacht); }
.dienst__icoon { width: 3.25rem; height: 3.25rem; display: grid; place-items: center; margin-bottom: 1.25rem; border-radius: 12px; background: var(--wit); color: var(--blauw-knop); }
.dienst__icoon svg { width: 1.7rem; height: 1.7rem; }
.dienst p { color: var(--inkt-zacht); font-size: .95rem; }
.lees { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; color: var(--inkt); font-size: .9rem; font-weight: 600; text-decoration: none; }
.lees svg { width: .95rem; height: .95rem; color: var(--blauw-knop); }
.lees:hover { color: var(--blauw-knop); }
.verder { margin-top: 1.75rem; text-align: center; color: var(--inkt-zacht); font-size: .95rem; }
@media (max-width: 1000px) { .diensten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .diensten { grid-template-columns: 1fr; } .dienst { min-height: 0; } }

/* Over Koos */
.over { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.over h2 { margin-bottom: 1.25rem; }
.over p { color: var(--grijs-licht); }
.over .knop { margin-top: 1rem; }
.over__foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 75% 50%; border-radius: 20px; }
.cijfers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 2rem; border-top: 1px solid var(--lijn-donker); }
.cijfers strong { display: block; color: var(--wit); font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.cijfers span { display: block; margin-top: .5rem; color: var(--grijs-licht); font-size: .95rem; }
@media (max-width: 800px) { .over { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cijfers { grid-template-columns: 1fr; } }

/* Ons werk */
.werk { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.werk__tekst { position: sticky; top: 7rem; }
.werk__tekst p { margin: 1rem 0 1.75rem; color: var(--inkt-zacht); }
.werk__fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.tegel { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--licht); font: inherit; cursor: zoom-in; }
.tegel img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.werk__fotos .tegel:first-child { grid-column: span 2; }
.werk__fotos .tegel:first-child img { aspect-ratio: 16 / 10; object-position: 50% 30%; }
.tegel:hover img { transform: scale(1.03); }
.tegel__naam { position: absolute; left: 1rem; bottom: 1rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--inkt); font-size: .85rem; font-weight: 600; }
.tegel__pijl { position: absolute; right: 1rem; bottom: 1rem; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--blauw-knop); color: var(--wit); }
.tegel__pijl svg { width: 1rem; height: 1rem; }
@media (prefers-reduced-motion: reduce) { .tegel img { transition: none; } .tegel:hover img { transform: none; } }
@media (max-width: 800px) { .werk { grid-template-columns: 1fr; } .werk__tekst { position: static; } }

/* Voor en na */
.voor-na-paar { display: grid; grid-template-columns: minmax(0, 1.385fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 800px) { .voor-na-paar { grid-template-columns: 1fr; gap: 2rem; } }
.voor-na { --positie: 50%; position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--antraciet); user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.voor-na img { width: 100%; height: auto; pointer-events: none; -webkit-user-drag: none; }
.voor-na__na { position: absolute; inset: 0; height: 100% !important; object-fit: cover; clip-path: inset(0 0 0 var(--positie)); }
.voor-na__streep { position: absolute; top: 0; bottom: 0; left: var(--positie); width: 3px; margin-left: -1.5px; background: var(--wit); pointer-events: none; }
.voor-na__streep::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border-radius: 50%; background: var(--blauw-knop); color: var(--wit); font-size: 1.25rem; font-weight: 700; letter-spacing: .1em; box-shadow: 0 2px 12px rgba(0,0,0,.35); }
.voor-na__label { position: absolute; top: .9rem; padding: .25rem .75rem; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--inkt); font-size: .85rem; font-weight: 600; pointer-events: none; }
.voor-na__label--voor { left: .9rem; }
.voor-na__label--na { right: .9rem; }
.voor-na__schuif { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.voor-na:has(.voor-na__schuif:focus-visible) .voor-na__streep::after { outline: 3px solid var(--wit); outline-offset: 3px; }
.onderschrift { margin-top: .6rem; color: var(--inkt-zacht); font-size: .92rem; }

/* Veelgestelde vragen */
.vragen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.vragen__foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; }
.vragen h2 { margin-bottom: 1.5rem; }
.vragen__lijst { display: grid; gap: .75rem; }
.vragen details { border-radius: 12px; background: var(--antraciet-2); transition: background-color .2s; }
.vragen summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 1.2rem; list-style: none; color: var(--wit); font-weight: 600; cursor: pointer; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: "+"; flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); font-weight: 400; }
.vragen details[open] { background: var(--blauw-knop); }
.vragen details[open] summary::after { content: "−"; background: rgba(255,255,255,.2); }
.vragen details p { padding: 0 1.2rem 1.1rem; color: rgba(255,255,255,.9); }
@media (max-width: 800px) { .vragen { grid-template-columns: 1fr; } .vragen__foto img { aspect-ratio: 16 / 10; } }

/* Zo werkt het: vijf kaarten, de offerte uitgelicht */
.stappen { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; margin: 0 auto; padding: 0; list-style: none; }
.stap { padding: 1.5rem 1.25rem; border: 1px solid var(--licht-2); border-radius: var(--radius); background: var(--wit); }
.stap__nummer { display: block; margin-bottom: 1.5rem; color: var(--blauw-knop); font-size: 2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.stap h3 { margin-bottom: .5rem; }
.stap p { color: var(--inkt-zacht); font-size: .93rem; }
.stap--donker { background: var(--antraciet); border-color: var(--antraciet); }
.stap--donker h3 { color: var(--wit); }
.stap--donker p { color: var(--grijs-licht); }
.stap--donker .stap__nummer { color: var(--blauw-licht); }
@media (max-width: 1000px) { .stappen { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .stappen { grid-template-columns: 1fr; } .stap__nummer { margin-bottom: .75rem; } }

/* Reviews: kaarten die je opzij kunt schuiven */
.reviews { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2.5rem) / 2.6); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--licht-2) transparent; }
.review { display: flex; flex-direction: column; gap: 1rem; margin: 0; padding: 1.5rem; border-radius: var(--radius); background: var(--wit); scroll-snap-align: start; }
.review footer { display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.review footer small { display: block; color: var(--inkt-zacht); font-size: .82rem; font-weight: 400; }
.review__letter { width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blauw-knop); color: var(--wit); font-size: .85rem; font-weight: 700; }
.review p { color: var(--inkt-zacht); font-size: .95rem; }
.review--uitgelicht { background: var(--antraciet); color: var(--wit); }
.review--uitgelicht p { color: var(--tekst-licht); }
.review--uitgelicht footer small { color: var(--grijs-licht); }
@media (max-width: 800px) { .reviews { grid-auto-columns: 85%; } }

/* Uitgelicht: drie kaarten */
.uitgelicht { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.uit__beeld { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: var(--licht); cursor: pointer; }
.uit__beeld img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .5s ease; }
.uit__beeld:hover img { transform: scale(1.03); }
.speel--groot { position: absolute; inset: 0; margin: auto; width: 4rem; height: 4rem; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.uit__tag { display: inline-block; margin: 1rem 0 .5rem; padding: .25rem .75rem; border-radius: 999px; background: var(--blauw-zacht); color: var(--blauw-donker); font-size: .78rem; font-weight: 700; }
.uit h3 a { color: inherit; text-decoration: none; }
.uit h3 a:hover { color: var(--blauw-knop); }
.uit p { margin-top: .4rem; color: var(--inkt-zacht); font-size: .95rem; }
@media (max-width: 900px) { .uitgelicht { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .uit__beeld img { transition: none; } .uit__beeld:hover img { transform: none; } }

/* Oproep in een afgerond vlak met foto */
.sectie--oproep { padding-top: 0; }
.oproep { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 20px; color: var(--wit); background: linear-gradient(90deg, rgba(34,39,44,.94) 0%, rgba(34,39,44,.72) 60%, rgba(34,39,44,.5) 100%), url("/img/werk/bovenwoningen.jpg") center 35% / cover no-repeat; }
.oproep h2 { max-width: 16em; color: var(--wit); font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem); }
.oproep p { margin-top: .6rem; color: rgba(255,255,255,.85); }

/* Offerte */
.contact { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 1.5rem; align-items: start; }
.formulier { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 20px; background: var(--wit); }
.formulier h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.formulier__intro { margin: .9rem 0 1.75rem; color: var(--inkt-zacht); }
.velden { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
.veld { display: grid; gap: .35rem; }
.veld--breed { grid-column: 1 / -1; }
label { font-size: .9rem; font-weight: 600; }
input, select, textarea { width: 100%; padding: .8rem 1rem; border: 1px solid var(--licht-2); border-radius: 10px; background: var(--licht); color: var(--inkt); font: inherit; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(33,105,201,.35); outline-offset: 0; border-color: var(--blauw-knop); background: var(--wit); }
textarea { min-height: 7.5rem; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--inkt) 50%), linear-gradient(135deg, var(--inkt) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 50%, calc(100% - .9rem) 50%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.formulier .knop { margin-top: 1.5rem; }
.melding { margin-top: 1rem; padding: .8rem 1rem; border-radius: 10px; background: #fdecec; color: #8a1c1c; }
.direct { display: grid; gap: .9rem; padding: clamp(1.5rem, 4vw, 2.25rem); border-radius: 20px; background: var(--antraciet); color: var(--tekst-licht); }
.direct h2 { color: var(--wit); font-size: 1.6rem; }
.direct > p { margin: 0 0 .5rem; color: var(--grijs-licht); }
.direct__regel { display: flex; align-items: center; gap: .9rem; padding: .9rem 1rem; border-radius: 12px; background: var(--antraciet-2); color: var(--grijs-licht); font-size: .9rem; text-decoration: none; }
.direct__regel strong { display: block; color: var(--wit); font-size: .98rem; }
a.direct__regel:hover { background: var(--blauw-knop); color: var(--wit); }
.direct__icoon { width: 2.6rem; height: 2.6rem; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--blauw-licht); }
a.direct__regel:hover .direct__icoon { color: var(--wit); }
.direct__icoon svg { width: 1.15rem; height: 1.15rem; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .velden { grid-template-columns: 1fr; } }

/* Voet */
.voet { padding-top: clamp(3.5rem, 6vw, 5rem); background: var(--antraciet-3); color: var(--grijs-licht); font-size: .95rem; }
.voet__binnen { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.voet__merk img { height: 2.6rem; width: auto; }
.voet__slogan { margin: .75rem 0 1rem; color: var(--tekst-licht); font-family: var(--serif); font-size: 1.25rem; font-style: italic; }
.voet__kop { margin-bottom: .9rem; color: var(--wit); font-size: .95rem; letter-spacing: 0; }
.voet p { margin: 0 0 .75rem; }
.voet__links { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.voet a { color: var(--grijs-licht); text-decoration: none; }
.voet a:hover { color: var(--wit); text-decoration: underline; }
.voet__onder { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.5rem; border-top: 1px solid var(--lijn-donker); font-size: .88rem; }
.voet__onder p { margin: 0; }
@media (max-width: 900px) { .voet__binnen { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .voet__binnen { grid-template-columns: 1fr; } }

/* Contactbalk onderin op de telefoon */
.contactbalk { display: none; }
@media (max-width: 800px) {
  body { padding-bottom: 4.25rem; }
  .contactbalk { position: fixed; inset: auto 0 0 0; z-index: 50; display: grid; grid-template-columns: 1fr 1fr 1.1fr; padding-bottom: env(safe-area-inset-bottom); background: var(--antraciet-3); border-top: 1px solid var(--lijn-donker); }
  .contactbalk a { display: grid; place-items: center; min-height: 4.25rem; color: var(--wit); font-weight: 600; text-decoration: none; }
  .contactbalk a + a { border-left: 1px solid var(--lijn-donker); }
  .contactbalk__offerte { background: var(--blauw-knop); border-left: 0 !important; }
}

/* Foto groot en film */
dialog { padding: 0; border: 0; background: transparent; color: var(--wit); max-width: 100vw; max-height: 100vh; }
dialog::backdrop { background: rgba(26,30,34,.95); }
.lichtbak[open], .film[open] { width: 100vw; height: 100vh; display: grid; place-items: center; }
.lichtbak figure { margin: 0; display: grid; gap: .6rem; justify-items: center; }
.lichtbak img { max-width: min(92vw, 1400px); max-height: 82vh; width: auto; height: auto; object-fit: contain; border-radius: 12px; }
.lichtbak figcaption { color: var(--grijs-licht); }
.film video { width: min(92vw, 1280px); max-height: 82vh; border-radius: 12px; background: #000; }
.dialoog-knop { position: absolute; width: 3rem; height: 3rem; display: grid; place-items: center; border-radius: 50%; font: inherit; font-size: 1.5rem; line-height: 1; color: var(--wit); background: rgba(42,47,53,.9); border: 1px solid var(--lijn-donker); cursor: pointer; }
.dialoog-knop:hover { background: var(--blauw-knop); border-color: var(--blauw-knop); }
.dialoog-sluit { top: 1rem; right: 1rem; }
.dialoog-vorige { left: 1rem; top: 50%; transform: translateY(-50%); }
.dialoog-volgende { right: 1rem; top: 50%; transform: translateY(-50%); }
.kop:has(.hoofdmenu.open) { background: var(--antraciet-3); }

/* ===== Effecten: kleuren bij aanwijzen, rustige beweging bij scrollen ===== */

/* Knoppen kleuren echt om */
.knop { transition: background-color .25s, color .25s, box-shadow .25s; }
.knop:hover { background: var(--antraciet); color: var(--wit); box-shadow: 0 10px 24px rgba(34,39,44,.25); }
.knop:hover .knop__pijl { background: var(--blauw-knop); color: var(--wit); }
.held .knop:not(.knop--licht):hover, .sectie--donker .knop:not(.knop--licht):hover, .oproep .knop:not(.knop--licht):hover { background: var(--wit); color: var(--inkt); }
.knop--licht:hover { background: var(--blauw-knop); color: var(--wit); }
.knop:focus-visible { box-shadow: 0 0 0 3px var(--wit), 0 0 0 6px var(--blauw); outline: none; }

/* Menulinks krijgen een streepje dat meegroeit */
.hoofdmenu a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; padding-bottom: .15rem; transition: background-size .25s, color .2s; }
.hoofdmenu a:hover { background-size: 100% 2px; }
.kop__tel { transition: background-color .2s, color .2s; }

/* Pijlers: aanwijzen kleurt lichtblauw, de film wordt blauw */
.pijler { transition: background-color .25s, color .25s; }
.pijler:not(.pijler--blauw):not(.pijler--film):hover { background: var(--blauw-zacht); }
.pijler--film:hover { background: var(--blauw-knop); }
.pijler--film:hover .speel { transform: scale(1.08); }
.speel { transition: transform .25s; }

/* Kaarten "Wat ik doe": worden blauw en komen iets omhoog */
.dienst { transition: background-color .3s, color .3s, translate .3s, box-shadow .3s; }
.dienst:hover { background: var(--blauw-knop); color: var(--wit); translate: 0 -6px; box-shadow: 0 18px 36px rgba(33,105,201,.25); }
.dienst:hover p, .dienst:hover .lees, .dienst:hover .lees svg { color: var(--wit); }
.dienst__icoon { transition: transform .3s; }
.dienst:hover .dienst__icoon { transform: rotate(-6deg) scale(1.06); }
.lees svg { transition: transform .2s; }
.lees:hover svg, .dienst:hover .lees svg { transform: translate(2px, -2px); }

/* Kaarten "Zo werkt het" (1 t/m 5): worden blauw en komen omhoog */
.stap { transition: background-color .3s, border-color .3s, translate .3s, box-shadow .3s; }
.stap:hover { background: var(--blauw-knop); border-color: var(--blauw-knop); translate: 0 -8px; box-shadow: 0 20px 40px rgba(33,105,201,.28); }
.stap:hover h3, .stap:hover .stap__nummer { color: var(--wit); }
.stap:hover p { color: rgba(255,255,255,.88); }
.stap__nummer { transition: color .3s, transform .3s; transform-origin: left bottom; }
.stap:hover .stap__nummer { transform: scale(1.12); }

/* Foto's: pijl draait en wordt wit */
.tegel__pijl { transition: transform .3s, background-color .3s, color .3s; }
.tegel:hover .tegel__pijl { transform: rotate(45deg); background: var(--wit); color: var(--blauw-knop); }

/* Vragen: lichter bij aanwijzen */
.vragen details:not([open]):hover { background: var(--antraciet-4); }
.vragen summary::after { transition: transform .25s, background-color .25s; }
.vragen details:not([open]) summary:hover::after { transform: rotate(90deg); background: var(--blauw-knop); }

/* Reviews en uitgelichte kaarten komen iets omhoog */
.review { transition: translate .3s, box-shadow .3s; }
.review:hover { translate: 0 -5px; box-shadow: 0 16px 32px rgba(34,39,44,.12); }
.uit h3 a, .uit h3 { transition: color .2s; }
.uit:hover h3 { color: var(--blauw-knop); }
.uit__tag { transition: background-color .25s, color .25s; }
.uit:hover .uit__tag { background: var(--blauw-knop); color: var(--wit); }
.speel--groot { transition: transform .3s; }
.uit__beeld:hover .speel--groot { transform: scale(1.1); }

/* Contactregels en voetlinks */
.direct__regel { transition: background-color .25s, color .25s, translate .25s; }
a.direct__regel:hover { translate: 4px 0; }

/* Bovenkant komt rustig in beeld bij het openen */
@keyframes omhoog { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.held__inhoud > * { animation: omhoog .8s cubic-bezier(.2,.7,.2,1) both; }
.held__inhoud > :nth-child(2) { animation-delay: .1s; }
.held__inhoud > :nth-child(3) { animation-delay: .2s; }
.held__inhoud > :nth-child(4) { animation-delay: .3s; }
.pijlers { animation: omhoog .8s .45s cubic-bezier(.2,.7,.2,1) both; }

/* Onderdelen schuiven zacht in beeld bij scrollen (alleen als JavaScript werkt) */
.js .onthul { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--vertraging, 0s); }
.js .onthul.zichtbaar { opacity: 1; transform: none; }

/* Voortgangsbalkje bovenin: hoe ver je op de pagina bent */
.voortgang { position: fixed; inset: 0 0 auto 0; z-index: 45; height: 3px; background: var(--blauw); transform-origin: 0 50%; transform: scaleX(var(--voortgang, 0)); pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .held__inhoud > *, .pijlers { animation: none; }
  .js .onthul { opacity: 1; transform: none; transition: none; }
  .dienst, .stap, .review, a.direct__regel { transition: background-color .2s, color .2s; }
  .dienst:hover, .stap:hover, .review:hover, a.direct__regel:hover { translate: none; }
  .dienst:hover .dienst__icoon, .stap:hover .stap__nummer, .tegel:hover .tegel__pijl, .uit__beeld:hover .speel--groot, .pijler--film:hover .speel { transform: none; }
  .voortgang { display: none; }
}

/* ===== Losse pagina's: donkere kop bovenaan (in plaats van de video) ===== */
.pagina-kop { position: relative; padding: clamp(8rem, 14vw, 10.5rem) 0 clamp(3.5rem, 7vw, 5.5rem); background: var(--antraciet); color: var(--tekst-licht); }
.pagina-kop h1 { max-width: 15em; color: var(--wit); font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); }
.pagina-kop__intro { max-width: 40em; margin-top: 1.25rem; color: var(--grijs-licht); font-size: 1.1em; }
.pagina-kop .knoppen { margin-top: 1.75rem; }
.pagina-kop--beeld .container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 800px) { .pagina-kop--beeld .container { grid-template-columns: 1fr; } }

/* Sprongen naar een groep op de pagina */
.sprong { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.sprong a { padding: .45rem 1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,.24); color: var(--wit); font-size: .92rem; font-weight: 600; text-decoration: none; transition: background-color .2s, border-color .2s; }
.sprong a:hover { background: var(--blauw-knop); border-color: var(--blauw-knop); }

/* Fotogalerij (ons werk) */
.galerij-kop { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 1.75rem; }
.galerij-kop h2 { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.4rem); }
.galerij-kop p { max-width: 32em; margin: 0; color: var(--inkt-zacht); }
.galerij { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: 1rem; }
.galerij .tegel img { aspect-ratio: 4 / 5; }

/* Glittervoegen */
.glitter__beeld { position: relative; }
.glitter__beeld img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; }
.fonkel { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; border-radius: 20px; }
/* Koos als Glitterkoning: uitgeknipte foto los op een donker kaartje met een blauwe gloed, onderkant op de rand */
.glitter__beeld--koning { aspect-ratio: 1 / 1; overflow: hidden; border-radius: 20px; background: radial-gradient(circle at 50% 42%, rgba(42, 125, 225, .5), transparent 64%), var(--antraciet-2); }
.glitter__beeld--koning img { position: absolute; bottom: 0; left: 50%; width: auto; height: 94%; aspect-ratio: auto; object-fit: contain; border-radius: 0; transform: translateX(-50%); }
.stappen--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .stappen--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .stappen--4 { grid-template-columns: 1fr; } }
.twee { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.twee h2 { margin-bottom: 1.25rem; }
.twee p { color: var(--inkt-zacht); }
.sectie--donker .twee p { color: var(--grijs-licht); }
@media (max-width: 800px) { .twee { grid-template-columns: 1fr; } }
.let-op { margin-top: 1.5rem; padding: 1.1rem 1.25rem; border-radius: 12px; background: var(--blauw-zacht); color: var(--inkt); }
.feitjes { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.feitje { padding: 1.25rem; border-radius: var(--radius); background: var(--licht); transition: background-color .3s, color .3s, translate .3s; }
.feitje h3 { margin-bottom: .4rem; }
.feitje p { margin: 0; font-size: .95rem; }
.feitje:hover { background: var(--blauw-knop); color: var(--wit); translate: 0 -4px; }
.feitje:hover p { color: rgba(255,255,255,.88); }
@media (max-width: 560px) { .feitjes { grid-template-columns: 1fr; } }
.glitter-fotos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.glitter-fotos .tegel img { aspect-ratio: 1; }
@media (max-width: 900px) { .glitter-fotos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.glitter-video { width: 100%; max-width: 21rem; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 20px; background: var(--antraciet); }
.adressen { display: grid; gap: .6rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.adressen li { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 12px; background: var(--licht); font-weight: 600; }
.adressen li::before { content: ""; width: .6rem; height: .6rem; flex: none; border-radius: 50%; background: var(--blauw); }

/* Formulier: keuzerondjes en niet-verplichte velden */
.optioneel { font-weight: 400; color: var(--inkt-zacht); }
.keuzes { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0; padding: 0; border: 0; }
.keuzes legend { width: 100%; margin-bottom: .4rem; font-size: .9rem; font-weight: 600; }
.keuzes label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 500; }
.keuzes input { width: 1.15rem; height: 1.15rem; padding: 0; accent-color: var(--blauw-knop); }
.formulier__privacy { margin: 1.25rem 0 0; color: var(--inkt-zacht); font-size: .9rem; }

/* Losse tekstpagina's (bedankt, privacy, 404) */
.tekstpagina > * { max-width: 44rem; }
.tekstpagina h2 { margin: 2.25rem 0 .6rem; font-size: 1.5rem; }
.tekstpagina p { color: var(--inkt-zacht); }
.tekstpagina .knoppen { margin-top: 2rem; }

/* Pijltje dat verschijnt als je een foto in de galerij aanwijst */
.galerij .tegel::after, .glitter-fotos .tegel::after { content: "↗"; position: absolute; right: .8rem; bottom: .8rem; width: 2.3rem; height: 2.3rem; display: grid; place-items: center; border-radius: 50%; background: var(--blauw-knop); color: var(--wit); font-weight: 700; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s; }
.galerij .tegel:hover::after, .glitter-fotos .tegel:hover::after, .galerij .tegel:focus-visible::after { opacity: 1; transform: none; }

/* Paginakop komt rustig in beeld bij het openen */
.pagina-kop .container > * { animation: omhoog .8s cubic-bezier(.2,.7,.2,1) both; }
.pagina-kop .container > :nth-child(2) { animation-delay: .12s; }
.glitter-echt { margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (prefers-reduced-motion: reduce) { .pagina-kop .container > * { animation: none; } .galerij .tegel::after, .glitter-fotos .tegel::after { transition: none; } }
.sectie--licht .feitje { background: var(--wit); }
.sectie--licht .feitje:hover { background: var(--blauw-knop); }

/* Glitterkaartje ("Jouw glitters") op de glitterpagina */
.stap--glitter { position: relative; overflow: hidden; isolation: isolate; }
.stap--glitter > :not(.fonkel) { position: relative; z-index: 1; }
.stap--glitter .fonkel { z-index: 0; border-radius: var(--radius); }
/* Een fijne laag glitterpuntjes, sterker naar rechtsonder */
.stap--glitter::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    radial-gradient(circle, rgba(244,210,122,.95) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(110,167,239,.95) 0 1px, transparent 1.7px),
    radial-gradient(circle, rgba(255,255,255,.85) 0 .8px, transparent 1.4px);
  background-size: 23px 19px, 31px 27px, 17px 21px;
  background-position: 0 0, 11px 7px, 5px 13px;
  opacity: .45;
  -webkit-mask-image: linear-gradient(135deg, transparent 25%, #000 80%);
  mask-image: linear-gradient(135deg, transparent 25%, #000 80%);
}
/* Een glans die schuin over het kaartje trekt */
.stap--glitter::after {
  content: ""; position: absolute; inset: -60% -40%; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.16) 48%, rgba(170,205,255,.28) 50%, rgba(244,210,122,.16) 52%, transparent 58%);
  transform: translateX(-55%);
  animation: glans 2.6s ease-in-out .8s 2 both;
}
.stap--glitter:hover::after { animation: glans 1.5s ease-in-out both; }
@keyframes glans { from { transform: translateX(-55%); } to { transform: translateX(55%); } }
/* Het cijfer glinstert in glitterkleuren */
.stap--glitter .stap__nummer {
  background: linear-gradient(100deg, #6ea7ef 0%, #ffffff 22%, #f4d27a 40%, #6ea7ef 60%, #ffffff 80%, #f4d27a 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: glinster 3.5s linear 2;
}
.stap--glitter:hover .stap__nummer { color: transparent; background-image: linear-gradient(100deg, #ffffff 0%, #f4d27a 30%, #ffffff 55%, #cfe2ff 80%, #ffffff 100%); animation: glinster 1.6s linear; }
@keyframes glinster { to { background-position: 250% center; } }
@media (prefers-reduced-motion: reduce) {
  .stap--glitter::after, .stap--glitter:hover::after, .stap--glitter .stap__nummer, .stap--glitter:hover .stap__nummer { animation: none; }
  .stap--glitter::after { display: none; }
}
.stap--glitter:hover { background: var(--antraciet); border-color: var(--antraciet); box-shadow: 0 20px 44px rgba(34,39,44,.38); }
.stap--glitter:hover h3 { color: var(--wit); }
.stap--glitter:hover p { color: var(--grijs-licht); }
.stap--glitter:hover::before { opacity: .7; }
.stap--glitter::before { transition: opacity .3s; }

/* Vermelding van de maker onderaan (Creative Studio Jogi) */
.voet__maker a { color: var(--wit); font-weight: 600; }
.voet__maker a:hover { color: var(--blauw-licht); }
