/* Opmaak van geertvaneeuwijk.nl, volgens het design system "Geert (etalage)": zwart, ijsblauw accent, Inter (lokaal) */
@font-face { font-family: "Inter"; src: url("../fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --grond: #000; --vlak: #111113; --vlak2: #1b1b1e;
  --inkt: #f5f5f7; --zacht: #9a9aa2; --accent: #8cc8ff;
  --gloed: rgba(140,200,255,.45);
  --tekst: "Inter", system-ui, sans-serif;
  --rand: clamp(16px, 3vw, 40px);
  --zacht-in: cubic-bezier(.2,.7,.2,1);
}

/* Basis */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--grond); color: var(--inkt); font-family: var(--tekst); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }
.verborgen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.overslaan { position: fixed; z-index: 60; top: 12px; left: 12px; padding: 10px 16px; border-radius: 99px; background: var(--inkt); color: #000; text-decoration: none; transform: translateY(-200%); }
.overslaan:focus { transform: none; }

/* Logo (inline symbool, zodat de letters de tekstkleur volgen) */
.logo { width: 54px; height: 45px; color: var(--inkt); overflow: visible; }
.logo path:first-child { transition: filter .3s; }

/* Zwevende pill-navigatie onderaan */
.pills { position: fixed; z-index: 50; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(28,28,31,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.pills a { padding: 9px 18px; border-radius: 99px; text-decoration: none; font-size: 15px; color: rgba(255,255,255,.72); transition: background .2s, color .2s; white-space: nowrap; }
.pills a:hover, .pills a[aria-current] { background: var(--inkt); color: #000; }

/* Kop van de pagina */
.kop { padding: 28px var(--rand) 0; }
.naam { display: inline-flex; align-items: center; gap: 12px; color: var(--inkt); font-size: 17px; text-decoration: none; }
.naam:hover .logo path:first-child { filter: drop-shadow(0 0 6px rgba(140,200,255,.8)); }
h1 { margin-top: 14px; font-size: clamp(33px, 5.6vw, 88px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; max-width: 27ch; }
.onder { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: end; color: var(--zacht); font-size: 19px; }
.onder__tekst { max-width: 46ch; }
.hoofdlink { color: var(--inkt); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; transition: text-shadow .3s; }
.hoofdlink:hover { text-shadow: 0 0 18px var(--gloed); }

/* Browservenster en telefoon: het podium voor schermafbeeldingen */
.venster { background: var(--vlak); border-radius: 18px; overflow: hidden; position: relative; }
.venster__balk { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #1d1d20; }
.venster__balk i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.venster__balk i:nth-child(2) { background: #febc2e; }
.venster__balk i:nth-child(3) { background: #28c840; }
.venster__adres { margin-left: 14px; flex: 1; max-width: 340px; padding: 4px 14px; border-radius: 99px; background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); font-size: 13px; font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.telefoon { width: 200px; padding: 8px; border-radius: 34px; background: #222226; }
.telefoon img { border-radius: 27px; }

/* De etalage: kaarten die opzij scrollen en per kaart vastklikken */
.etalage-wrap { position: relative; margin-top: 48px; }
.etalage { display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 560px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--rand); padding: 0 var(--rand) 24px; scrollbar-width: none; }
.etalage::-webkit-scrollbar { display: none; }
.kaart { scroll-snap-align: start; position: relative; aspect-ratio: 5 / 6; border-radius: 26px; overflow: hidden; background: var(--vlak); display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; text-decoration: none; transition: transform .35s var(--zacht-in); }
.kaart:hover { transform: translateY(-6px); }
.kaart h2 { line-height: 1.2; font-size: 24px; font-weight: 500; letter-spacing: -.01em; position: relative; }
.kaart p { color: var(--zacht); font-size: 16px; position: relative; }
.kaart__podium { position: absolute; inset: 0 0 110px; display: grid; place-items: center; }
.kaart--laptop .venster { width: 84%; box-shadow: 0 30px 70px rgba(140,200,255,.12), 0 0 0 1px rgba(255,255,255,.06); transform: perspective(1400px) rotateY(-10deg) rotateX(4deg); transition: transform .6s; }
.kaart--laptop:hover .venster { transform: perspective(1400px) rotateY(0) rotateX(0); }
.kaart--foto .kaart__podium { inset: 0; }
.kaart--foto .kaart__podium img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) brightness(.55); }
.kaart--foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(0,0,0,.85)); }
.kaart--foto .telefoon { position: absolute; z-index: 1; top: 50%; left: 50%; width: 42%; transform: translate(-50%, -58%) rotate(-4deg); box-shadow: 0 30px 70px rgba(0,0,0,.8), 0 0 60px rgba(140,200,255,.18); transition: transform .6s var(--zacht-in); }
.kaart--foto:hover .telefoon { transform: translate(-50%, -60%) rotate(0); }
.kaart--foto h2, .kaart--foto p { z-index: 2; }
.kaart--leeg { background: var(--vlak2); }
.kaart--leeg .kaart__podium { font-size: clamp(90px, 14vw, 180px); font-weight: 300; color: var(--accent); text-shadow: 0 0 60px rgba(140,200,255,.5); transition: transform .6s var(--zacht-in); }
.kaart--leeg:hover .kaart__podium { transform: rotate(90deg); }
.etalage__onder { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 var(--rand); color: var(--zacht); font-size: 15px; }
.etalage__knoppen { display: flex; gap: 8px; }
.etalage__knoppen button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--vlak2); color: var(--inkt); font: inherit; font-size: 20px; cursor: pointer; transition: background .2s, box-shadow .3s, opacity .2s; }
.etalage__knoppen button:hover { box-shadow: 0 0 30px var(--gloed); }
.etalage__knoppen button:disabled { opacity: .3; cursor: default; box-shadow: none; }
.etalage__knoppen[hidden] { display: none; }

/* Secties */
main > section { padding: clamp(120px, 14vw, 200px) var(--rand) 0; }
.sectiekop { font-size: clamp(36px, 4.6vw, 68px); line-height: 1.02; letter-spacing: -.035em; font-weight: 500; max-width: 16ch; }
.inleiding { margin-top: 22px; max-width: 52ch; color: var(--zacht); font-size: 19px; }

/* Wat de klant zegt: groot feit en citaat naast een werkplaatsfoto */
.review { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review__foto { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; }
.review__foto img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); }
.review__tekst { background: var(--vlak); border-radius: 26px; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.citaat { font-size: clamp(22px, 2.3vw, 32px); line-height: 1.3; letter-spacing: -.015em; }
.citaat figcaption { margin-top: 20px; color: var(--zacht); font-size: 16px; letter-spacing: 0; }
.feit { font-size: clamp(64px, 8vw, 120px); line-height: .9; letter-spacing: -.05em; font-weight: 500; color: var(--accent); text-shadow: 0 0 50px rgba(140,200,255,.4); }
.feit small { display: block; font-size: 17px; letter-spacing: 0; color: var(--inkt); text-shadow: none; margin-top: 10px; }

/* Aanbod als prijsregels */
.regels { margin-top: 48px; display: grid; gap: 8px; }
.regel { display: grid; grid-template-columns: 1.1fr 2fr auto; gap: 18px 40px; align-items: start; padding: 30px clamp(20px, 3vw, 40px); border-radius: 22px; background: var(--vlak); transition: background .25s; }
.regel:hover { background: var(--vlak2); }
.regel h3 { font-size: 24px; font-weight: 500; line-height: 1.25; }
.regel__voor { margin-top: 8px; color: var(--zacht); font-size: 16px; }
.regel ul { display: grid; gap: 6px; font-size: 17px; }
.regel li { padding-left: 22px; position: relative; }
.regel li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--accent); }
.prijs { font-size: clamp(40px, 4.4vw, 64px); font-weight: 500; letter-spacing: -.04em; line-height: 1; white-space: nowrap; }
.prijs small { font-size: 18px; color: var(--zacht); letter-spacing: 0; font-weight: 400; }
.kleine-lettertjes { margin-top: 28px; display: grid; gap: 6px; max-width: 70ch; color: var(--zacht); font-size: 16px; }
.kleine-lettertjes a { color: var(--inkt); }

/* Werkwijze: vier stappen als strook */
.strook { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: stap; }
.strook li { padding-top: 22px; border-top: 3px solid var(--vlak2); transition: border-color .3s; counter-increment: stap; }
.strook li:hover { border-color: var(--accent); }
.strook li::before { content: counter(stap, decimal-leading-zero); display: block; margin-bottom: 14px; color: var(--zacht); font-size: 15px; font-variant-numeric: tabular-nums; }
.strook h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.strook p { font-size: 16px; }

/* Veelgestelde vragen: uitklappen */
.vragen { margin-top: 48px; display: grid; gap: 8px; max-width: 900px; }
.vragen details { border-radius: 22px; background: var(--vlak); transition: background .25s; }
.vragen details:hover, .vragen details[open] { background: var(--vlak2); }
.vragen summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px clamp(20px, 3vw, 32px); font-size: 20px; font-weight: 500; cursor: pointer; list-style: none; }
.vragen summary::-webkit-details-marker { display: none; }
.vragen summary::after { content: "+"; flex: none; color: var(--accent); font-size: 28px; font-weight: 300; line-height: 1; transition: transform .3s var(--zacht-in); }
.vragen details[open] summary::after { transform: rotate(45deg); }
.vragen details p { padding: 0 clamp(20px, 3vw, 32px) 26px; max-width: 64ch; color: var(--zacht); }

/* Over mij */
.over { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: stretch; }
.over__tekst { background: var(--vlak); border-radius: 26px; padding: clamp(28px, 4vw, 56px); display: grid; gap: 18px; align-content: start; }
.over__tekst .zacht { color: var(--zacht); }
.portret { border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 0 90px rgba(140,200,255,.12); }
.portret img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* Contact en mailknop */
.contact { padding-bottom: 140px; text-align: center; }
.contact .sectiekop { margin: 0 auto; }
.contact p { margin: 22px auto 0; max-width: 34ch; color: var(--zacht); }
.mailknop { display: inline-block; margin-top: 36px; padding: 20px 34px; border-radius: 99px; background: var(--inkt); color: #000; font-size: clamp(18px, 2vw, 24px); font-weight: 500; text-decoration: none; transition: box-shadow .3s, transform .3s; }
.mailknop:hover { transform: translateY(-2px); box-shadow: 0 0 60px var(--gloed); }

/* Voet */
.voet { padding: 0 var(--rand) 100px; color: var(--zacht); font-size: 15px; }
.voet__merk { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); margin-bottom: 24px; }
.voet__merk .logo { width: clamp(56px, 11vw, 180px); height: auto; aspect-ratio: 6 / 5; color: var(--vlak2); }
.voet strong { display: block; font-size: clamp(40px, 9vw, 150px); line-height: .9; letter-spacing: -.05em; font-weight: 500; color: var(--vlak2); }
.voet__regel { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.voet__regel a { text-decoration-color: rgba(255,255,255,.3); text-underline-offset: 3px; }
.voet__regel a:hover { color: var(--inkt); }

/* Projectpagina: podium met venster en telefoon */
.podium { position: relative; margin: 56px var(--rand) 0; padding: clamp(28px, 6vw, 90px) clamp(16px, 6vw, 90px) 0; border-radius: 30px; background: var(--vlak); overflow: hidden; }
.podium::before { content: ""; position: absolute; left: 50%; top: 60%; width: 80%; height: 70%; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(140,200,255,.18), transparent); pointer-events: none; }
.podium .venster { position: relative; max-width: 1100px; margin: 0 auto; border-radius: 18px 18px 0 0; box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 -20px 80px rgba(140,200,255,.12); }
.podium .telefoon { position: absolute; right: clamp(12px, 5vw, 70px); bottom: clamp(-60px, -3vw, -20px); width: clamp(110px, 19vw, 240px); transform: rotate(-4deg); box-shadow: 0 30px 70px rgba(0,0,0,.8), 0 0 60px rgba(140,200,255,.2); }
.feitenrij { margin: 16px var(--rand) 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.feitenrij div { padding: 20px 24px; border-radius: 20px; background: var(--vlak); }
.feitenrij dt { color: var(--zacht); font-size: 14px; }
.feitenrij dd { margin-top: 4px; font-size: 17px; line-height: 1.35; }
.feitenrij a { text-decoration: none; border-bottom: 2px solid var(--accent); }
.verhaal { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(24px, 5vw, 80px); }
.verhaal > p, .verhaal > div { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.5; max-width: 40em; }
.verhaal .sectiekop { font-size: clamp(30px, 3.4vw, 48px); }
.gebouwd { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.gebouwd li:first-child { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: var(--vlak2); }
.gebouwd li:first-child strong { font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.02em; line-height: 1.15; }
.gebouwd li { padding: 26px; border-radius: 22px; background: var(--vlak); font-size: 17px; color: var(--zacht); transition: background .25s; }
.gebouwd li:hover { background: var(--vlak2); }
.gebouwd strong { display: block; margin-bottom: 8px; color: var(--inkt); font-size: 20px; font-weight: 500; }
.resultaat { padding: clamp(28px, 5vw, 64px); border-radius: 26px; background: var(--vlak); }
.resultaat .citaat { font-size: clamp(26px, 3.2vw, 44px); max-width: 26ch; }
.resultaat .citaat blockquote::before { content: ""; display: block; width: 48px; height: 3px; margin-bottom: 28px; background: var(--accent); box-shadow: 0 0 20px var(--gloed); }
.verder { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; justify-content: space-between; }
.knop-licht { display: inline-block; padding: 16px 28px; border-radius: 99px; background: var(--inkt); color: #000; font-weight: 500; text-decoration: none; transition: box-shadow .3s, transform .3s; }
.knop-licht:hover { transform: translateY(-2px); box-shadow: 0 0 50px var(--gloed); }

/* Losse tekstpagina's: privacy, 404 */
.tekstpagina { padding: clamp(60px, 8vw, 110px) var(--rand) 0; max-width: 820px; }
.tekstpagina h2 { margin-top: 44px; font-size: 24px; font-weight: 500; letter-spacing: -.01em; }
.tekstpagina p, .tekstpagina ul { margin-top: 12px; color: #d4d4da; }
.tekstpagina ul { display: grid; gap: 8px; }
.tekstpagina li { padding-left: 22px; position: relative; }
.tekstpagina li::before { content: ""; position: absolute; left: 0; top: .78em; width: 10px; height: 2px; background: var(--accent); }
.tekstpagina code { padding: 1px 6px; border-radius: 6px; background: var(--vlak2); font-size: .9em; }
.tekstpagina .datum { color: var(--zacht); font-size: 15px; }
.niet-gevonden { min-height: 70vh; display: grid; align-content: center; gap: 22px; padding-bottom: 100px; }
.niet-gevonden .feit { font-size: clamp(110px, 22vw, 300px); }

/* Opkomen bij scrollen (zonder script blijft alles zichtbaar) */
.js .op { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s var(--zacht-in); }
.js .op.zichtbaar { opacity: 1; transform: none; }
.v1 { transition-delay: 90ms !important; } .v2 { transition-delay: 180ms !important; } .v3 { transition-delay: 270ms !important; } .v4 { transition-delay: 360ms !important; }

@media (prefers-reduced-motion: reduce) {
  .js .op { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

@media (max-width: 860px) {
  .review, .over, .verhaal { grid-template-columns: 1fr; }
  .regel { grid-template-columns: 1fr auto; }
  .regel ul { grid-column: 1 / -1; grid-row: 2; }
  .strook, .feitenrij, .gebouwd { grid-template-columns: 1fr 1fr; }
  .portret { aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .strook, .gebouwd { grid-template-columns: 1fr; }
  .gebouwd li:first-child { grid-row: auto; }
  .pills a { padding: 9px 14px; }
  .etalage__knoppen { display: none; }
  .vragen summary { font-size: 18px; }
}
