@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("/fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 900; font-display: swap; src: url("/fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 500; font-display: swap; src: url("/fonts/archivo-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 800; font-display: swap; src: url("/fonts/archivo-latin-800-italic.woff2") format("woff2"); }
/* Layout: één lange scroll; steen voor de opening en het slot, wit voor de inhoud, één inktband als ankerpunt. Bewust alleen licht. */
:root {
  --steen: #ECE8E1;
  --steen-diep: #E2DCD2;
  --wit: #FFFFFF;
  --inkt: #1C1B1F;
  --inkt-zacht: #46424A;
  --oker: #B9770E;
  --oker-donker: #9A620A;
  --oker-licht: #F3E6CF;
  --lijn: #D3CCC1;
  --letter: "Archivo", ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
  --breed: 1160px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
img { max-width: 100%; }
html { scroll-behavior: smooth; }
body {
  background: var(--wit); color: var(--inkt);
  font-family: var(--letter); font-weight: 500; font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; }
:focus-visible { outline: 3px solid var(--oker); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--breed); margin: 0 auto; padding-inline: clamp(16px, 4vw, 40px); }
h1, h2, h3 { font-weight: 800; line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h2 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 em, h1 em { font-style: italic; font-weight: 500; color: var(--oker-donker); letter-spacing: -0.03em; }
.oog { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--inkt); }
.oog .stip { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--oker); margin-right: 8px; vertical-align: 1px; }
section { padding-block: clamp(64px, 10vw, 120px); }
.knop {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  font: 800 0.95rem/1 var(--letter); padding: 15px 22px; border-radius: 999px;
  background: var(--inkt); color: var(--wit); border: 2px solid var(--inkt); cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.knop:hover { transform: translateY(-2px); background: #000; }
.knop.licht { background: transparent; color: var(--inkt); }
.knop.licht:hover { background: var(--inkt); color: var(--wit); }
.pijl { transition: transform .15s ease; }
.knop:hover .pijl { transform: translateX(3px); }

/* ---------- Kop ---------- */
.kop { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(236,232,225,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--lijn); }
.kop .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.kop .logo svg { height: 30px; width: auto; display: block; }
.kop nav { display: flex; gap: 6px; align-items: center; }
.kop nav a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 8px 14px; border-radius: 999px; }
.kop nav a:hover { background: var(--steen-diep); }
.kop nav a.cta { background: var(--inkt); color: var(--wit); }
@media (max-width: 760px) { .kop nav a:not(.cta) { display: none; } }

/* ---------- Opening ---------- */
.opening { background: var(--steen); position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 72px) 0; }
.spook {
  position: absolute; left: 50%; top: 2%; transform: translateX(-50%);
  font-weight: 900; font-size: clamp(5rem, 19vw, 17rem); letter-spacing: -0.05em; line-height: .9;
  color: var(--steen-diep); white-space: nowrap; user-select: none; pointer-events: none;
  animation: spookIn 1.4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes spookIn { from { letter-spacing: 0.04em; } to { letter-spacing: -0.05em; } }
.opening .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 24px; min-height: 560px; }
.opening .tekst { padding-bottom: clamp(48px, 7vw, 88px); min-width: 0; }
.opening h1 { font-size: clamp(3.2rem, 8.4vw, 6.6rem); margin-top: 18px; }
.opening h1 .ai { color: var(--oker-donker); }
.opening p.lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); max-width: 30ch; color: var(--inkt-zacht); margin: 22px 0 30px; }
.opening .knoppen { display: flex; gap: 12px; flex-wrap: wrap; }
.portret { position: relative; align-self: end; height: 100%; min-height: 520px; display: flex; justify-content: center; align-items: flex-end; }
.portret canvas { width: 100%; max-width: 460px; height: auto; aspect-ratio: 13 / 17; display: block; }
.portret .zeg {
  position: absolute; left: 6%; bottom: 22%; background: var(--inkt); color: var(--wit); font-weight: 600; font-size: .9rem;
  padding: 10px 16px; border-radius: 16px 16px 16px 4px; animation: zeg 6s ease-in-out 1.6s infinite both;
}
@keyframes zeg { 0%, 8% { opacity: 0; transform: translateY(6px); } 14%, 70% { opacity: 1; transform: none; } 78%, 100% { opacity: 0; transform: translateY(-4px); } }
.rol { display: flex; gap: 10px 22px; flex-wrap: wrap; font-size: .85rem; font-weight: 600; color: var(--inkt-zacht); margin-top: 26px; }
.rol span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--oker); margin-right: 8px; vertical-align: 2px; }
@media (max-width: 860px) {
  .opening .wrap { grid-template-columns: 1fr; min-height: 0; }
  .opening .tekst { padding-bottom: 8px; }
  .portret { min-height: 0; }
  .portret canvas { max-width: 340px; }
}

/* ---------- Over ---------- */
.over .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.over .tekst { min-width: 0; }
.over p { max-width: 54ch; color: var(--inkt-zacht); }
.over p.groot { font-size: 1.25rem; color: var(--inkt); font-weight: 500; margin-top: 26px; }
.over .knoppen { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.koord { position: relative; display: flex; justify-content: center; height: 470px; }
.badge-hang { position: absolute; top: 0; transform-origin: 50% 0; animation: zwaai 5s ease-in-out infinite; }
.koord:hover .badge-hang { animation-duration: 1.6s; }
@keyframes zwaai { 0%,100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.lint { width: 18px; height: 150px; margin: 0 auto; background: repeating-linear-gradient(180deg, var(--oker) 0 14px, var(--oker-donker) 14px 16px); border-radius: 0 0 3px 3px; }
.klem { width: 34px; height: 26px; margin: -2px auto 0; border: 4px solid #8d8a85; border-radius: 6px 6px 10px 10px; background: linear-gradient(#c9c5bf, #9e9a94); }
.badge {
  width: 236px; margin-top: -4px; background: var(--wit); border-radius: 18px; padding: 18px 20px 20px;
  box-shadow: 0 30px 50px -24px rgba(28,27,31,.45), 0 0 0 1px var(--lijn);
}
.badge .gat { width: 46px; height: 8px; border-radius: 6px; background: var(--steen-diep); margin: 0 auto 16px; }
.badge .bk { display: flex; justify-content: space-between; align-items: center; }
.badge .bk svg { height: 22px; width: auto; }
.badge .bk small { font-size: .62rem; font-weight: 800; letter-spacing: .14em; color: var(--inkt-zacht); }
.badge .foto { margin: 16px 0 14px; aspect-ratio: 1; border-radius: 12px; background: var(--steen); display: grid; place-items: center; overflow: hidden; }
.badge .foto canvas { width: 100%; height: 100%; }
.badge h3 { font-size: 1.25rem; letter-spacing: -0.01em; }
.badge .wat { font-size: .85rem; color: var(--oker-donker); font-weight: 800; margin-top: 2px; }
.badge .code { display: flex; gap: 3px; margin-top: 14px; }
.badge .code i { width: 5px; height: 5px; border-radius: 50%; background: var(--inkt); }
.badge .code i.leeg { background: none; box-shadow: inset 0 0 0 1px var(--inkt); }
@media (max-width: 860px) { .over .wrap { grid-template-columns: 1fr; } .koord { height: 440px; } }

/* ---------- Periodiek systeem ---------- */
.systeem { background: var(--steen); }
.systeem .kopregel { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.systeem .kopregel p { max-width: 40ch; color: var(--inkt-zacht); margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 34px 0 22px; }
.filters button {
  font: 700 .88rem/1 var(--letter); padding: 11px 16px; border-radius: 999px; cursor: pointer;
  border: 1.5px solid var(--inkt); background: transparent; color: var(--inkt); transition: background .15s;
}
.filters button[aria-pressed="true"] { background: var(--inkt); color: var(--wit); }
.tabel-en-detail { display: grid; grid-template-columns: 1fr 300px; gap: 22px; align-items: start; }
.tabel { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; min-width: 0; }
.el {
  position: relative; aspect-ratio: 1; border-radius: 10px; padding: 8px 9px; cursor: pointer; text-align: left;
  border: 0; font-family: var(--letter); color: var(--inkt);
  transition: transform .18s ease, opacity .25s ease, filter .25s ease, box-shadow .18s;
  display: flex; flex-direction: column; justify-content: space-between; min-width: 0;
}
.el .nr { font-size: .66rem; font-weight: 600; opacity: .75; }
.el .sym { font-size: clamp(1.15rem, 2.4vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.el .naam { font-size: .62rem; font-weight: 600; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.el[data-g="bouwen"] { background: var(--inkt); color: var(--wit); }
.el[data-g="modellen"] { background: var(--oker); color: var(--inkt); }
.el[data-g="werkwijze"] { background: var(--wit); box-shadow: inset 0 0 0 1.5px var(--inkt); }
.el[data-g="veilig"] { background: var(--oker-licht); box-shadow: inset 0 0 0 1.5px var(--oker-donker); }
.el:hover, .el[aria-pressed="true"] { transform: translateY(-4px) scale(1.04); z-index: 2; }
.el[aria-pressed="true"] { outline: 3px solid var(--oker-donker); outline-offset: 2px; }
.el.uit { opacity: .16; filter: grayscale(1); transform: scale(.94); }
.detail { background: var(--wit); border-radius: 18px; padding: 24px; position: sticky; top: 90px; box-shadow: 0 0 0 1px var(--lijn); min-width: 0; }
.detail .groot-sym { width: 92px; height: 92px; border-radius: 14px; display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px; }
.detail .groot-sym .sym { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.detail .groot-sym .nr { font-size: .75rem; font-weight: 600; }
.detail h3 { font-size: 1.5rem; margin-top: 18px; }
.detail .groep { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oker-donker); margin-top: 6px; }
.detail p { color: var(--inkt-zacht); margin: 12px 0 0; font-size: .98rem; }
.legenda { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: .82rem; font-weight: 600; color: var(--inkt-zacht); }
.legenda span { display: inline-flex; align-items: center; gap: 8px; }
.legenda i { width: 14px; height: 14px; border-radius: 4px; }
@media (max-width: 960px) { .tabel-en-detail { grid-template-columns: 1fr; } .detail { position: static; } }
@media (max-width: 620px) { .tabel { grid-template-columns: repeat(4, minmax(0, 1fr)); } .el .naam { font-size: .66rem; } }

/* ---------- Projecten ---------- */
.projecten .kaarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
.kaart { background: var(--steen); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; transition: transform .2s ease; }
.kaart:hover { transform: translateY(-5px); }
.kaart .scherm { background: var(--wit); border-radius: 14px; padding: 16px; box-shadow: 0 0 0 1px var(--lijn); min-height: 200px; display: flex; flex-direction: column; gap: 9px; }
.kaart .soort { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--oker-donker); }
.kaart h3 { font-size: 1.55rem; letter-spacing: -0.02em; }
.kaart p { margin: 0; color: var(--inkt-zacht); font-size: .98rem; }
.kaart .voet { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.kaart .voet a { font-weight: 800; font-size: .92rem; text-decoration: none; border-bottom: 2px solid var(--oker); padding-bottom: 2px; }
.chip { font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--inkt); color: var(--wit); white-space: nowrap; }
.chip.oker { background: var(--oker-licht); color: var(--oker-donker); box-shadow: inset 0 0 0 1px var(--oker); }
.balk { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: center; font-size: .78rem; font-weight: 600; }
.balk div { height: 10px; border-radius: 6px; background: var(--steen); overflow: hidden; }
.balk div i { display: block; height: 100%; border-radius: 6px; background: var(--oker); transform-origin: left; animation: groei 1.2s cubic-bezier(.2,.7,.2,1) both; }
.balk:nth-child(3) div i { background: var(--inkt); }
@keyframes groei { from { transform: scaleX(.15); } to { transform: none; } }
.scherm .klein { font-size: .72rem; color: var(--inkt-zacht); font-weight: 600; }
.mw { display: flex; align-items: center; gap: 10px; font-size: .84rem; font-weight: 600; padding: 7px 0; border-bottom: 1px solid var(--steen); }
.mw:last-child { border-bottom: 0; }
.mw .av { width: 26px; height: 26px; border-radius: 50%; background: var(--oker-licht); display: grid; place-items: center; font-size: .7rem; font-weight: 800; color: var(--oker-donker); flex: none; }
.mw .st { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--inkt-zacht); white-space: nowrap; }
.mw .st b { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #2F7D4A; margin-right: 5px; }
.bel { max-width: 85%; padding: 8px 12px; border-radius: 12px; font-size: .8rem; line-height: 1.35; }
.bel.ik { align-self: flex-end; background: var(--inkt); color: var(--wit); border-bottom-right-radius: 4px; }
.bel.zij { background: var(--steen); border-bottom-left-radius: 4px; }
.typen { display: flex; gap: 4px; padding: 10px 12px; background: var(--steen); border-radius: 12px; width: max-content; }
.typen i { width: 6px; height: 6px; border-radius: 50%; background: var(--oker); animation: typ 1.2s infinite; }
.typen i:nth-child(2) { animation-delay: .15s; } .typen i:nth-child(3) { animation-delay: .3s; background: none; box-shadow: inset 0 0 0 1.5px var(--oker); }
@keyframes typ { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-4px); } }
@media (max-width: 960px) { .projecten .kaarten { grid-template-columns: 1fr; } }

/* ---------- Diensten (inktband) ---------- */
.diensten { background: var(--inkt); color: var(--steen); }
.diensten h2 em { color: var(--oker); }
.diensten .oog { color: var(--steen); }
.diensten .rij { display: grid; grid-template-columns: 70px 1fr 1.2fr auto; gap: 24px; align-items: center; padding: 30px 0; border-top: 1px solid #3A383F; }
.diensten .rij:last-child { border-bottom: 1px solid #3A383F; }
.diensten .lijst { margin-top: 44px; }
.diensten .rij h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--wit); }
.diensten .rij p { margin: 0; color: #CFC9BF; max-width: 46ch; }
.diensten .rij .stipjes { display: grid; grid-template-columns: repeat(3, 10px); gap: 5px; }
.diensten .rij .stipjes i { width: 10px; height: 10px; border-radius: 50%; background: var(--oker); }
.diensten .rij .stipjes i.leeg { background: none; box-shadow: inset 0 0 0 1.5px var(--oker); }
.diensten .rij a { color: var(--wit); font-weight: 800; text-decoration: none; white-space: nowrap; border-bottom: 2px solid var(--oker); padding-bottom: 2px; }
.diensten .noot { margin-top: 30px; color: #CFC9BF; max-width: 62ch; font-size: .98rem; }
@media (max-width: 820px) { .diensten .rij { grid-template-columns: 1fr; gap: 12px; } }

/* ---------- Tijdlijn ---------- */
.tijdlijn .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); }
.tijdlijn .kop-l { position: sticky; top: 100px; align-self: start; }
.tijdlijn .kop-l p { color: var(--inkt-zacht); max-width: 34ch; }
.lijn { position: relative; padding-left: 34px; border-left: 2px dashed var(--lijn); display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.punt { position: relative; }
.punt::before { content: ""; position: absolute; left: -43px; top: 14px; width: 16px; height: 16px; border-radius: 50%; background: var(--oker); box-shadow: 0 0 0 5px var(--wit); }
.punt.open::before { background: var(--wit); box-shadow: 0 0 0 5px var(--wit), inset 0 0 0 2px var(--oker); }
.punt .jaar { font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.punt .jaar small { font-size: .9rem; font-weight: 700; letter-spacing: 0; color: var(--oker-donker); margin-left: 8px; vertical-align: middle; }
.punt h3 { font-size: 1.3rem; margin-top: 12px; letter-spacing: -0.01em; }
.punt p { margin: 6px 0 0; color: var(--inkt-zacht); max-width: 52ch; }
.punt .invullen { display: inline-block; margin-top: 8px; font-size: .8rem; font-weight: 700; color: var(--oker-donker); background: var(--oker-licht); padding: 3px 9px; border-radius: 6px; }
@media (max-width: 820px) { .tijdlijn .wrap { grid-template-columns: 1fr; } .tijdlijn .kop-l { position: static; } }

/* ---------- Cijfers ---------- */
.cijfers { background: var(--steen); }
.cijfers .tegels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.tegel { background: var(--wit); border-radius: 20px; padding: 24px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.tegel .getal { font-size: clamp(2.6rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tegel .getal sup { font-size: .45em; color: var(--oker-donker); vertical-align: .9em; margin-left: 2px; }
.tegel p { margin: 0; color: var(--inkt-zacht); font-size: .95rem; }
.tegel .dots { display: flex; gap: 4px; flex-wrap: wrap; margin-top: auto; }
.tegel .dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--oker); }
@media (max-width: 900px) { .cijfers .tegels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .cijfers .tegels { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { text-align: left; }
.contact h2 { font-size: clamp(2.8rem, 8vw, 6.4rem); max-width: 12ch; }
.contact .rij { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 36px; }
.mail a { text-decoration: none; }
.mail { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.1rem, 2.4vw, 1.5rem); font-weight: 800; padding: 12px 12px 12px 22px; border-radius: 999px; box-shadow: inset 0 0 0 2px var(--inkt); user-select: all; }
.mail button { font: 800 .85rem/1 var(--letter); background: var(--oker); color: var(--inkt); border: 0; padding: 11px 16px; border-radius: 999px; cursor: pointer; user-select: none; }
.contact p { color: var(--inkt-zacht); max-width: 50ch; margin-top: 22px; }
footer { background: var(--steen); padding-block: 30px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: .88rem; font-weight: 600; color: var(--inkt-zacht); }
footer svg { height: 24px; width: auto; display: block; }

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