/* fonts:begin */
@font-face {
  font-family: "Albert Sans";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/albert-sans-italic-400-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  font-style: italic;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/albert-sans-italic-400-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/albert-sans-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Albert Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/albert-sans-400-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* fonts:eind */

/* Kooter Stucadoor. Huisstijl: het marineblauw (#074875) en grijs van hun logo, op warm kalkwit.
   Steenrood als klein accent, uit de bakstenen muur op hun bus en huisstijlbeeld.
   Eén letter voor alles: Albert Sans, koppen vetter (Mike 3-12: niet te veel sier, goed leesbaar). */
:root {
  --kalk: #F3EFE8;
  --licht: #FBF9F5;
  --vlak: #ECE6DC;
  --lijn: #DCD4C7;
  --inkt: #1F2630;
  --zacht: #5A616B;
  --merk: #074875;
  --donker: #0D2233;
  --op-donker: #E8E2D6;
  --op-donker-zacht: #A9B3BE;
  --lijn-donker: rgba(232, 226, 214, .16);
  --steen: #9C4A2F;
  --steen-op-donker: #D08A63;
  --ster: #9C4A2F;
  --wit: #ffffff;
  --romp: "Albert Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; accent-color: var(--merk); caret-color: var(--merk); scrollbar-color: #bdb4a6 var(--kalk); }
body { margin: 0; font-family: var(--romp); font-size: 1.0625rem; line-height: 1.65; color: var(--inkt); background: var(--kalk); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: var(--merk); color: var(--licht); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--merk); text-underline-offset: .22em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-weight: 650; line-height: 1.12; color: var(--merk); margin: 0 0 .45em; text-wrap: balance; letter-spacing: -.018em; }
/* H1 nooit groter dan 2,85rem. */
h1 { font-size: clamp(2.35rem, 3.6vw, 2.85rem); }
h2 { font-size: clamp(1.9rem, 2.8vw, 2.35rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--licht); padding: 8px 12px; }
:focus-visible { outline: 2px solid var(--merk); outline-offset: 3px; }

/* knoppen */
.knop { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: 2px; font: 600 .98rem/1.2 var(--romp); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.knop:hover { transform: translateY(-1px); }
.knop-merk { background: var(--merk); color: var(--licht); }
.knop-merk:hover { background: var(--donker); }
.knop-rand { border-color: rgba(7, 72, 117, .35); color: var(--merk); background: transparent; }
.knop-rand:hover { border-color: var(--merk); background: rgba(7, 72, 117, .05); }

/* kop */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(243, 239, 232, .96); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease); }
.kop.gescrold { border-bottom-color: var(--lijn); }
.kop-binnen { display: flex; align-items: center; gap: 36px; min-height: 84px; }
.kop-logo img { width: 128px; }
.kop-nav { display: flex; gap: 30px; margin-left: auto; }
.kop-nav a { color: var(--inkt); text-decoration: none; font-weight: 500; font-size: .95rem; background: linear-gradient(var(--steen), var(--steen)) 0 100% / 0 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease), color .2s var(--ease); }
.kop-nav a:hover { color: var(--merk); background-size: 100% 1px; }
.kop-knop { min-height: 44px; padding: 0 20px; font-size: .92rem; }

/* held: het plafond rond de lichtstraat tot de rand, kopij links op een donker verloop */
.held { position: relative; isolation: isolate; display: flex; align-items: center; min-height: clamp(520px, calc(100svh - 84px), 760px); padding: clamp(56px, 8vw, 112px) 0; background: var(--donker); overflow: hidden; }
.held-foto { position: absolute; inset: 0; z-index: -2; }
.held-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: zakken 1.8s var(--ease) both; }
.held::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(13, 34, 51, .86) 0%, rgba(13, 34, 51, .62) 34%, rgba(13, 34, 51, .12) 62%, rgba(13, 34, 51, 0) 80%); }
.held-kop { display: grid; gap: 30px; justify-items: start; }
.held-tekst { max-width: 36rem; }
.held h1 { color: var(--wit); margin-bottom: .28em; line-height: 1.06; }
.held h1 .regel { display: inline-block; }
.held-sub { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; color: var(--op-donker); max-width: 26em; margin: 0; text-wrap: balance; }
.knop-bel .kort { display: none; }
.held-actie { display: grid; gap: 22px; justify-items: start; }
.held-knoppen { display: flex; flex-wrap: wrap; gap: 12px; }
.held-bewijs { display: flex; align-items: center; gap: 12px; margin: 0; font-size: .95rem; }
.held-bewijs a { color: var(--op-donker); text-decoration: none; }
.held-bewijs a strong { color: var(--wit); }
.held-bewijs a:hover { text-decoration: underline; }
.held .sterren { background: var(--steen-op-donker); }
.knop-licht { background: var(--licht); color: var(--merk); }
.knop-licht:hover { background: var(--wit); }
.knop-rand-licht { border-color: rgba(251, 249, 245, .55); color: var(--licht); background: transparent; }
.knop-rand-licht:hover { border-color: var(--licht); background: rgba(251, 249, 245, .08); }
.sterren { display: inline-block; width: 86px; height: 15px; margin: 0; background: var(--ster); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / 17.2px 15px repeat-x; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") 0 0 / 17.2px 15px repeat-x; }
@keyframes zakken { from { transform: scale(1.08); } }
.regel { animation: regel 1s var(--ease) both; }
.held h1 .regel:nth-child(2) { animation-delay: .08s; }
.held-sub.regel { animation-delay: .18s; }
.held-actie.regel { animation-delay: .3s; }
@keyframes regel { from { opacity: 0; transform: translateY(16px); } }

/* uitgelichte review */
.citaat { padding: clamp(80px, 10vw, 136px) 0; text-align: center; border-bottom: 1px solid var(--lijn); }
.citaat blockquote { margin: 0 auto; max-width: 900px; }
.citaat .sterren { display: block; margin: 0 auto 30px; }
.citaat blockquote p { font-style: italic; font-weight: 400; letter-spacing: -.01em; font-size: clamp(1.45rem, 2.5vw, 2rem); line-height: 1.45; color: var(--merk); margin-bottom: 1em; }
.citaat footer { color: var(--inkt); font-size: .98rem; font-weight: 600; }
.citaat-bron { display: block; margin-top: 4px; font-weight: 400; font-size: .9rem; color: var(--zacht); }

/* secties */
.sectie { padding: clamp(80px, 10vw, 136px) 0; }
.sectie-vlak { background: var(--vlak); }
.sectie-donker { background: var(--donker); color: var(--op-donker); }
.sectie-donker h2, .sectie-donker h3 { color: var(--licht); }
.sectie-donker :focus-visible { outline-color: var(--licht); }
.sectie-kop { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.intro { font-size: 1.12rem; color: var(--zacht); max-width: 34em; }
.sectie-donker .intro { color: var(--op-donker-zacht); }

/* werk: voor en na, de spaanhaal */
.werk-kop { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; max-width: none; }
.werk-kop h2, .werk-kop .intro { margin-bottom: 0; }
.vergelijk { display: flex; gap: 16px; align-items: flex-start; }
.vn { --r: 1; flex: var(--r) 1 0%; min-width: 0; margin: 0; }
.vn-staand { --r: .804; }
.vn-beeld { --pos: 50%; position: relative; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; aspect-ratio: var(--ratio); overflow: hidden; background: var(--vlak); }
.vn-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vn-na { clip-path: inset(0 0 0 var(--pos)); }
.vn-lijn { position: absolute; inset: 0; transform: translateX(var(--pos)); pointer-events: none; }
.vn-lijn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: var(--licht); box-shadow: 2px 0 8px rgba(13, 34, 51, .22); }
.vn-greep { position: absolute; left: 0; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--licht); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(13, 34, 51, .22); }
.vn-greep svg { width: 20px; height: 20px; fill: none; stroke: var(--merk); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.vn-label { position: absolute; top: 12px; padding: 5px 10px; border-radius: 2px; background: rgba(251, 249, 245, .92); color: var(--inkt); font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; pointer-events: none; }
.vn-label-voor { left: 12px; }
.vn-label-na { right: 12px; }
.vn-beeld input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; -webkit-appearance: none; appearance: none; }
.vn-beeld:has(input:focus-visible) { outline: 2px solid var(--merk); outline-offset: 3px; }
.vn figcaption, .afgewerkt figcaption, .design-foto figcaption { margin-top: 12px; font-size: .9rem; color: var(--zacht); }
/* De spaan: de gladde laag wordt van rechts over de ruwe muur getrokken en stopt halverwege. */
.in[data-onthul="spaan"] .vn-na { animation: spaan 1.9s var(--ease) .3s both; }
.in[data-onthul="spaan"] .vn-lijn { animation: spaan-lijn 1.9s var(--ease) .3s both; }
.in[data-onthul="spaan"]:nth-child(2) .vn-na, .in[data-onthul="spaan"]:nth-child(2) .vn-lijn { animation-delay: .45s; }
.in[data-onthul="spaan"]:nth-child(3) .vn-na, .in[data-onthul="spaan"]:nth-child(3) .vn-lijn { animation-delay: .6s; }
.vn.aangeraakt .vn-na, .vn.aangeraakt .vn-lijn { animation: none; }
@keyframes spaan { from { clip-path: inset(0 0 0 100%); } }
@keyframes spaan-lijn { from { transform: translateX(100%); } }

.afgewerkt { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(56px, 7vw, 96px); }
.afgewerkt figure { margin: 0; }
.afgewerkt img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.afgewerkt .af-schouw { object-position: 50% 76%; }

/* reviews: alles statisch in de HTML */
.sectie-reviews { background: var(--licht); }
.reviews-kop { display: flex; justify-content: space-between; align-items: center; gap: 24px; max-width: none; }
.reviews-kop h2 { margin: 0; max-width: 15em; }
.sterren-groot { width: 118px; height: 20px; -webkit-mask-size: 23.6px 20px; mask-size: 23.6px 20px; flex-shrink: 0; }
.reviews { columns: 3 300px; column-gap: 56px; }
.review { break-inside: avoid; padding: 26px 0 30px; border-top: 1px solid var(--lijn); }
.review [data-review] { white-space: pre-line; margin: 14px 0 16px; line-height: 1.65; }
.review footer { font-weight: 600; color: var(--inkt); font-size: .95rem; }
.review-datum { font-weight: 400; color: var(--zacht); margin-left: 6px; }
.reviews-voet { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 24px; }
.reviews-meer-knop[hidden] { display: none; }
.reviews-google { font-weight: 600; }

/* diensten op donker, met design stucwerk */
.diensten-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.diensten { list-style: none; padding: 0; margin: 40px 0 32px; }
.diensten li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; border-top: 1px solid var(--lijn-donker); }
.diensten li:last-child { border-bottom: 1px solid var(--lijn-donker); }
.diensten h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.65rem); }
.diensten p { margin: 0; font-size: .92rem; color: var(--op-donker-zacht); text-align: right; }
.sectoren { color: var(--op-donker-zacht); margin: 0; max-width: 34em; }
.design-foto { margin: 0; }
.design-foto img { width: 100%; max-width: 600px; aspect-ratio: 4 / 3; object-fit: cover; }
.sectie-donker figcaption { color: var(--op-donker-zacht); }

/* over */
.over-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.over-foto { margin: 0; }
.over-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.feiten { margin: 32px 0 0; }
.feiten div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--lijn); }
.feiten dt { font-weight: 600; color: var(--merk); }
.feiten dd { margin: 0; text-wrap: pretty; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.gegevens { margin: 28px 0 0; }
.gegevens div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--lijn); }
.gegevens dt { font-weight: 600; color: var(--merk); }
.gegevens dd { margin: 0; overflow-wrap: anywhere; }
.formulier { background: var(--licht); border: 1px solid var(--lijn); border-radius: 2px; padding: clamp(24px, 3vw, 40px); display: grid; gap: 18px; }
.formulier label { display: grid; gap: 6px; font-weight: 600; font-size: .94rem; color: var(--inkt); }
.formulier input, .formulier select, .formulier textarea { font: 400 1rem/1.5 var(--romp); color: var(--inkt); background: var(--wit); border: 1px solid var(--lijn); border-radius: 2px; padding: 12px 14px; min-height: 50px; width: 100%; }
.formulier textarea { resize: vertical; } /* alleen in de hoogte groter, anders duwt het veld de kolom uit */
.formulier ::placeholder { color: #6a6c6c; }
.formulier input:focus, .formulier select:focus, .formulier textarea:focus { outline: 2px solid var(--merk); outline-offset: 1px; border-color: var(--merk); }
.formulier .knop { justify-self: start; }
.formulier .knop:disabled { opacity: .6; cursor: progress; transform: none; }
.formulier-melding { margin: 0; font-weight: 600; }
.formulier-melding:empty { display: none; }
.verborgen { position: absolute; left: -9999px; }

/* kaartje bij de contactgegevens */
.kaart { margin-top: 28px; border-radius: 2px; overflow: hidden; border: 1px solid var(--lijn); }
.kaart iframe { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; }

/* voet */
.voet { background: var(--donker); color: var(--op-donker); padding: 30px 0; font-size: .92rem; }
.voet-binnen { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.voet p { margin: 0; }
.voet a { color: var(--op-donker); }
.voet :focus-visible { outline-color: var(--licht); }

.bel-balk { display: none; }

/* Onthullen bij scrollen (script.js): eindstand in de basisstijl, beginstand in de keyframes. */
.wacht { opacity: 0; }
.in { animation: opkomen 1s var(--ease) both; }
.in[data-onthul="dek"] { animation: dekken 1.3s var(--ease) both; }
.afgewerkt .in:nth-child(2) { animation-delay: .08s; }
.afgewerkt .in:nth-child(3) { animation-delay: .16s; }
.afgewerkt .in:nth-child(4) { animation-delay: .24s; }
@keyframes opkomen { from { opacity: 0; transform: translateY(22px); } }
@keyframes dekken { from { clip-path: inset(100% 0 0 0); } }

@media (max-width: 960px) {
  .kop-nav { display: none; }
  .kop-knop { margin-left: auto; }
  .held-kop, .werk-kop, .diensten-grid, .over-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .held-actie { justify-self: start; }
  .vergelijk { flex-direction: column; gap: 32px; }
  .vn { width: 100%; flex: none; }
  .afgewerkt { grid-template-columns: repeat(2, 1fr); }
  .design-foto { max-width: 600px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 76px; }
  .kop-knop { display: none; }
  .kop-binnen { min-height: 66px; }
  .kop-logo img { width: 112px; }
  /* Op mobiel eerst het werk, groot, dan de kopij en de knoppen. */
  /* Op mobiel vult de lichtstraat het eerste scherm; kopij en knoppen onderin op het verloop. */
  .held { align-items: flex-end; min-height: calc(100svh - 66px); padding: 0 0 28px; }
  .held-foto { bottom: auto; height: 62%; }
  .held-foto img { object-position: 50% 40%; }
  .held::before { background: linear-gradient(180deg, rgba(13, 34, 51, 0) 0%, rgba(13, 34, 51, .08) 30%, rgba(13, 34, 51, .78) 52%, var(--donker) 62%); }
  .held-kop { gap: 20px; }
  .held-knoppen { width: 100%; flex-wrap: nowrap; }
  .held-knoppen .knop { flex: 1 1 auto; padding: 0 18px; }
  .held-knoppen .knop-bel { flex: 0 0 auto; }
  .knop-bel .lang { display: none; }
  .knop-bel .kort { display: inline; }
  .reviews-kop { align-items: flex-start; flex-direction: column; gap: 14px; }
  .js .review-extra { display: none; }
  .js .reviews.alles .review-extra { display: block; }
  .diensten li { flex-direction: column; gap: 2px; }
  .diensten p { text-align: left; }
  .feiten div, .gegevens div { grid-template-columns: 1fr; gap: 2px; }
  .formulier .knop { justify-self: stretch; }
  .bel-balk { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; min-height: 52px; align-items: center; justify-content: center; border-radius: 2px; background: var(--merk); color: var(--licht); font-weight: 600; text-decoration: none; box-shadow: 0 8px 24px rgba(13, 34, 51, .28); transform: translateY(calc(100% + 24px)); transition: transform .45s var(--ease); }
  .voorbij-held .bel-balk { transform: none; }
  .voet { padding-bottom: 92px; }
}
@media (min-width: 601px) {
  .reviews-meer-knop { display: none; }
}
/* Met minder beweging staat alles meteen in beeld. De controles in toets.mjs meten zo. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
