/* ============================================================================
   Gewoon Peter — huisstijl van de oude site, herbouwd zonder jQuery.
   Peil (gemeten 2026-11-24 uit dist/assets/styles/style.css):
   antraciet #1d1e20 · licht #eaeaee · grijs #95969c · accent koraal #ff9380
   Lettertypes: HK Grotesk (broodtekst) + HK Nova/Carta (koppen), zelfde bestanden
   als de live-site (herkenningskeuze Optie A).
   ========================================================================== */

@font-face { font-family: 'hk-grotesk'; font-style: normal; font-weight: 300;
  src: url(fonts/hk-grotesk/HKGrotesk-Light.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'hk-grotesk'; font-style: normal; font-weight: 400;
  src: url(fonts/hk-grotesk/HKGrotesk-Regular.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'hk-grotesk'; font-style: normal; font-weight: 500;
  src: url(fonts/hk-grotesk/HKGrotesk-SemiBold.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'hk-grotesk'; font-style: normal; font-weight: 700;
  src: url(fonts/hk-grotesk/HKGrotesk-Bold.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'hk-nova'; font-style: normal; font-weight: 500;
  src: url(fonts/hk-nova/HKNova-Medium.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: 'hk-carta'; font-style: normal; font-weight: 400;
  src: url(fonts/hk-carta/HKCarta-Regular.woff2) format('woff2'); font-display: swap; }

:root {
  --inkt: #1d1e20;      /* antraciet */
  --licht: #eaeaee;     /* achtergrond */
  --grijs: #95969c;
  --grijs-donker: #46474e;
  --accent: #ff9380;    /* koraal */
  --accent-licht: #ffebe0;
  --wit: #ffffff;
  --schaduw: 0 10px 30px rgba(29,30,32,.12);
  --font-brood: 'hk-grotesk', system-ui, sans-serif;
  --font-kop: 'hk-nova', 'hk-carta', Georgia, serif;
  --breed: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--licht); color: var(--inkt);
  font: 400 17px/1.65 var(--font-brood);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--inkt); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { font-family: var(--font-kop); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
main { display: block; }

.sprong { position: absolute; left: -9999px; top: 0; background: var(--inkt); color: var(--wit); padding: 10px 16px; z-index: 99; }
.sprong:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.kop { position: sticky; top: 0; z-index: 50; background: rgba(29,30,32,.97); backdrop-filter: blur(6px); }
.kop-rij { max-width: var(--breed); margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; gap: 24px; }
.woordmerk { font-family: var(--font-kop); font-size: 1.35rem; color: var(--wit); letter-spacing: .01em; white-space: nowrap; }
.woordmerk span { color: var(--accent); }
.navlist { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; }
.navitem a { display: inline-block; padding: 8px 12px; color: var(--licht); font-size: .95rem; border-radius: 4px; }
.navitem a:hover { color: var(--accent); }
.navitem a.actief { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); }
.belknop { margin-left: auto; border: 1px solid var(--grijs-donker); color: var(--licht); padding: 8px 14px; border-radius: 999px; font-size: .9rem; white-space: nowrap; }
.belknop:hover { border-color: var(--accent); color: var(--accent); }
.menuknop { display: none; background: none; border: 1px solid var(--grijs-donker); color: var(--licht); padding: 9px 14px; border-radius: 6px; font: inherit; }

@media (max-width: 900px) {
  .kop-rij { flex-wrap: wrap; }
  .menuknop { display: inline-block; order: 3; }
  .belknop { order: 2; margin-left: auto; }
  .kop nav { order: 4; flex-basis: 100%; display: none; }
  .kop nav.geopend { display: block; }
  .navlist { flex-direction: column; }
  .navitem a { display: block; padding: 11px 8px; min-height: 44px; }
}

/* ---------- hero ---------- */
.hero { background: var(--inkt); color: var(--licht); padding: clamp(64px, 12vh, 130px) 20px clamp(56px, 10vh, 110px); }
.hero-in { max-width: var(--breed); margin: 0 auto; }
.hero-merk { font-size: clamp(2.4rem, 6vw, 4.6rem); margin-bottom: .35em; }
.hero-merk em { font-style: normal; color: var(--accent); }
.hero-onder { font-size: clamp(1.05rem, 2vw, 1.4rem); max-width: 56ch; color: var(--licht); }
.hero-onder strong { font-weight: 500; }
.typed { color: var(--accent); border-bottom: 2px solid var(--accent); }
.typed::after { content: ''; display: inline-block; width: .55ch; border-right: 2px solid var(--accent); margin-left: 2px; animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-knoppen { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

.knop { display: inline-block; border: 1px solid var(--grijs-donker); color: var(--inkt); padding: 12px 22px; border-radius: 999px; font-size: .98rem; transition: transform .18s ease, box-shadow .18s ease, color .18s ease, border-color .18s ease; }
.knop:hover { transform: translateY(-2px); box-shadow: var(--schaduw); }
.knop-accent { background: var(--accent); border-color: var(--accent); color: var(--inkt); font-weight: 500; }
.hero .knop { color: var(--licht); border-color: var(--grijs-donker); }
.hero .knop-accent { color: var(--inkt); }

/* ---------- secties home ---------- */
.sectie-kop, .pagina-kop, .port-kop, .detail-kop { max-width: var(--breed); margin: 0 auto; padding: 48px 20px 8px; }
.port-kop p, .pagina-kop p { color: var(--grijs-donker); max-width: 65ch; }

/* ---------- SEO-doorklikpagina's: kruimelpad + FAQ ---------- */
.brood { max-width: var(--breed); margin: 0 auto; padding: 22px 20px 0; font-size: .85rem; color: var(--grijs-donker); }
.brood a { color: var(--grijs-donker); text-decoration: underline; text-underline-offset: 3px; }
.brood a:hover { color: var(--accent); }
.brood span[aria-hidden] { margin: 0 6px; color: var(--grijs); }
.faq { max-width: var(--breed); margin: 0 auto; padding: 26px 20px 34px; }
.faq h2 { margin-bottom: 14px; }
.faq details { background: var(--wit); border: 1px solid rgba(29,30,32,.12); border-radius: 10px;
  padding: 12px 16px; margin-bottom: 10px; box-shadow: var(--schaduw); }
.faq summary { font-family: var(--font-kop); font-weight: 500; cursor: pointer; color: var(--inkt); }
.faq details p { margin-top: 10px; color: var(--grijs-donker); max-width: 65ch; }

.vakken { max-width: var(--breed); margin: 0 auto; padding: 40px 20px 10px; }
.vakken-rij { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.vak { background: var(--wit); border-radius: 10px; padding: 26px; box-shadow: var(--schaduw); display: block; transition: transform .2s ease, box-shadow .2s ease; }
.vak:hover { transform: translateY(-4px); }
.vak p { color: var(--grijs-donker); }
.vak-link { color: var(--accent); font-weight: 500; }

.home-port { padding-bottom: 30px; }
.producten-rij { max-width: var(--breed); margin: 18px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
.producten-rij .vak h3 { margin-top: 0; }
.teaser-rij { max-width: var(--breed); margin: 18px auto 0; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.teaser { background: var(--wit); border-radius: 10px; overflow: hidden; box-shadow: var(--schaduw); display: block; transition: transform .2s ease; }
.teaser:hover { transform: translateY(-4px); }
.teaser-beeld img { aspect-ratio: 1280/800; object-fit: cover; object-position: top left; width: 100%; }
.teaser-tekst { display: block; padding: 14px 18px 18px; }
.teaser-tekst strong { font-size: 1.05rem; display: block; }
.home-cta { text-align: center; padding: 26px 20px 0; }

.status { font-style: normal; display: inline-block; font-size: .78rem; padding: 3px 10px; border-radius: 999px; background: var(--accent-licht); color: var(--grijs-donker); }
.status-ontwikkeling { background: #e5e9f2; }
.status-opgeleverd { background: var(--accent-licht); }
.status-geannuleerd { background: #f3e2e2; }

.statement { background: var(--inkt); color: var(--licht); text-align: center; padding: 64px 20px; margin-top: 56px; }
.statement h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.statement p { color: var(--grijs); max-width: 60ch; margin-inline: auto; }
.statement .knop { color: var(--licht); }
.statement .knop-accent { color: var(--inkt); }

/* ---------- portfolio grid + filters ---------- */
.chips { max-width: var(--breed); margin: 14px auto 0; padding: 0 20px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip { border: 1px solid var(--grijs); background: var(--wit); color: var(--grijs-donker); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; cursor: pointer; transition: all .15s ease; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.actief { background: var(--inkt); border-color: var(--inkt); color: var(--wit); }
.chip span { color: inherit; opacity: .65; margin-left: 4px; }

.port-grid { max-width: var(--breed); margin: 22px auto 60px; padding: 0 20px; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.tegel { background: var(--wit); border-radius: 10px; overflow: hidden; box-shadow: var(--schaduw); margin: 0; }
.tegel.uit { display: none; }
.tegel-beeld { position: relative; display: block; }
.tegel-img { aspect-ratio: 1280/800; object-fit: cover; object-position: top left; width: 100%; transition: transform .35s ease; }
.galerij .tegel-img { aspect-ratio: auto; }
.tegel-beeld:hover .tegel-img { transform: scale(1.03); }
.tegel-vergroting { position: absolute; right: 10px; top: 10px; background: rgba(29,30,32,.75); color: var(--wit); border-radius: 6px; padding: 4px 9px; font-size: .9rem; opacity: 0; transition: opacity .2s ease; }
.tegel-beeld:hover .tegel-vergroting, .tegel-beeld:focus-visible .tegel-vergroting { opacity: 1; }
.tegel-tekst { padding: 16px 18px 20px; }
.tegel-tekst h2 { font-size: 1.15rem; margin-bottom: .35em; }
.tegel-tekst p { color: var(--grijs-donker); font-size: .95rem; }
.tegel-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 0; }
.tegel-meta span { color: var(--grijs); font-size: .82rem; }

/* ---------- detailpagina ---------- */
.kruimel { color: var(--grijs); font-size: .9rem; }
.detail-meta { display: flex; gap: 10px; align-items: center; }
.detail-beeld { max-width: var(--breed); margin: 10px auto 0; padding: 0 20px; }
.detail-img { width: 100%; border-radius: 10px; box-shadow: var(--schaduw); }
.beeldbijschrift { color: var(--grijs); font-size: .85rem; text-align: center; }
.detail-roms { max-width: var(--breed); margin: 26px auto 0; padding: 0 20px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
.detail-facts { background: var(--wit); border-radius: 10px; padding: 22px; box-shadow: var(--schaduw); }
.detail-facts dl { margin: 0; }
.detail-facts dt { font-weight: 500; margin-top: 12px; }
.detail-facts dt:first-child { margin-top: 0; }
.detail-facts dd { margin: 2px 0 0; color: var(--grijs-donker); }
.disclaimer, .beeldbijschrift { color: var(--grijs); }
.detail-nav { max-width: var(--breed); margin: 34px auto 60px; padding: 0 20px; display: flex; justify-content: space-between; gap: 16px; }
.detail-nav-mid { color: var(--grijs); }
@media (max-width: 800px) { .detail-roms { grid-template-columns: 1fr; } }

/* ---------- contentpagina's ---------- */
.pagina-roms { max-width: 760px; margin: 0 auto; padding: 10px 20px 40px; }
.pagina-roms ul { padding-left: 1.2em; }
.pagina-roms hr { border: 0; border-top: 1px solid var(--grijs); margin: 26px 0; }
.veiling { max-width: var(--breed); margin: 0 auto; padding: 10px 20px 60px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- contact ---------- */
.contact-roms { max-width: var(--breed); margin: 10px auto 60px; padding: 10px 20px 0; display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }
.contact-form { background: var(--wit); border-radius: 10px; padding: 26px; box-shadow: var(--schaduw); }
.contact-form label { display: block; font-size: .9rem; color: var(--grijs-donker); margin-bottom: 4px; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid var(--grijs); border-radius: 6px; padding: 11px 12px; font: inherit; background: var(--licht); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.vink-veld { position: absolute; left: -9999px; opacity: 0; }
.form-melding { padding: 12px 14px; border-radius: 6px; margin: 0 0 16px; }
.form-ok { background: #e4efe4; }
.form-fout { background: #f6e3e3; }
.contact-info { background: var(--inkt); color: var(--licht); border-radius: 10px; padding: 26px; }
.contact-info a { color: var(--accent); }
.contact-groot a { font-size: 1.5rem; font-family: var(--font-kop); color: var(--wit); }
.contact-info hr { border: 0; border-top: 1px solid var(--grijs-donker); margin: 18px 0; }
.contact-klein { color: var(--grijs); }
@media (max-width: 800px) { .contact-roms { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.voet { background: var(--inkt); color: var(--grijs); padding: 46px 20px 26px; }
.voet-rij { max-width: var(--breed); margin: 0 auto; display: grid; grid-template-columns: 1.4fr .9fr .8fr 1.1fr; gap: 26px; }
.voet a { color: var(--licht); }
.voet h4 { color: var(--wit); font-family: var(--font-brood); }
.voet-merk { font-family: var(--font-kop); font-size: 1.3rem; color: var(--wit); }
.voet-merk span { color: var(--accent); }
.voet-regel { max-width: 40ch; }
.voet-klein { max-width: var(--breed); margin: 30px auto 0; text-align: center; font-size: .82rem; }
@media (max-width: 800px) { .voet-rij { grid-template-columns: 1fr; } }

/* ---------- lightbox ---------- */
.lightbox { position: fixed; inset: 0; background: rgba(29,30,32,.94); display: none; z-index: 90; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img { max-width: min(1200px, 94vw); max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-cap { position: fixed; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--licht); font-size: .95rem; }
.lightbox .lb-sluit, .lightbox .lb-prev, .lightbox .lb-next { position: fixed; background: rgba(234,234,238,.12); color: var(--wit); border: 0; font-size: 1.5rem; line-height: 1; padding: 12px 16px; border-radius: 8px; cursor: pointer; min-width: 44px; min-height: 44px; }
.lightbox .lb-sluit { top: 16px; right: 16px; }
.lightbox .lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* ---------- animatielag: reveal + split ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].op-onthuld { opacity: 1; transform: none; }
.split-woord { display: inline-block; overflow: hidden; vertical-align: bottom;
  /* en-houder met onderruimte: zonder deze slack clippet overflow:hidden descenders (j/p/q/y) af */
  padding-bottom: 0.14em; margin-bottom: -0.14em; }
.split-woord > span { display: inline-block; transform: translateY(110%); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.split-woord.op-onthuld > span, [data-split].op-onthuld .split-woord > span { transform: none; }

/* ---------- voorkeuren: wie animatie niet wil krijgt niets opgelegd ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .split-woord > span { transform: none; }
  .typed::after { display: none; }
}
