/* Helderverlicht.nl
   Zelfde uitstraling als de vorige site (One.com): portretfoto over het hele scherm,
   Alegreya Sans SC, wit met goudaccent, halfdoorzichtige panelen, contactknoppen rechts.
   Nieuw: echt responsive, sneller (zelf gehoste letters, webp), chat en WhatsApp. */

@font-face { font-family: 'Alegreya Sans SC'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-sc-latin-400-normal.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: 'Alegreya Sans SC'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-sc-latin-ext-400-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Alegreya Sans SC'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-sc-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Alegreya Sans SC'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/alegreya-sans-sc-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'Alegreya Sans SC'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-sc-latin-700-normal.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: 'Alegreya Sans SC'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-sc-latin-ext-700-normal.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(../fonts/alegreya-sans-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Alegreya Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/alegreya-sans-latin-700-normal.woff2) format('woff2'); }

:root {
  /* Verticale opbouw (computer):
     --menu-top: het menu staat op elke pagina op dezelfde hoogte (zoals vroeger op de homepage),
       maar schuift omhoog als het anders niet helemaal op het scherm past.
     --kop-top: waar de inhoud begint. Gewone pagina's iets hoger; op de homepage valt het midden
       van de tweeregelige titel op de ellebogen in de foto (59% van de fotohoogte; foto 2000x1132,
       'cover', verticaal op 30%). */
  --menu-top: max(40px, min(clamp(160px, 33vh, 380px), 100vh - 520px));
  --kop-top: clamp(120px, 27vh, 300px);
  /* Lettergroottes: één schaal voor de hele site */
  --fs-klein: 16px;   /* datums, kruimelpad, voetregel, toelichtingen */
  --fs-tekst: 19px;   /* alle tekst in panelen, lijsten, formulier, links */
  --fs-lees: 19px;    /* lopende tekst van blogartikelen (Alegreya Sans) */
  --fs-kop3: 21px;    /* tussenkopjes, hoofdmenu */
  --fs-kop2: 24px;    /* titels van blogkaarten, kopjes in artikelen */
  --goud: #e2b382;          /* accentkleur van de vorige site */
  --goud-donker: #c9955f;
  --wit: #fff;
  --paneel: rgba(46, 44, 54, .62);
  --paneel-rand: rgba(255, 255, 255, .08);
  --bruin: #3a2a20;
  --inkt: #2b2522;
  --schaduw: 0 1px 2px rgba(0, 0, 0, .55), 0 0 18px rgba(0, 0, 0, .25);
  --leestekst: 'Alegreya Sans', 'Gill Sans', 'Trebuchet MS', sans-serif;
  --letter: 'Alegreya Sans SC', 'Alegreya Sans', 'Gill Sans', 'Trebuchet MS', sans-serif;
  --focus: #ffd9a8;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; font: 400 var(--fs-tekst)/1.8 var(--letter); color: var(--wit); background: #64503f; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.sr-focus:focus { position: fixed !important; left: 1rem; top: 1rem; width: auto; height: auto; clip: auto; margin: 0; padding: .5rem 1rem; background: #fff; color: var(--inkt); z-index: 200; }
.goud { color: var(--goud); }

/* ---------- Achtergrondfoto (vast, ook op iPhone) ---------- */
.achtergrond { position: fixed; inset: 0; z-index: 0; background: #64503f url(../img/klaas-zondervan-2000.webp) 50% 30% / cover no-repeat; }
.achtergrond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(0,0,0,0) 45%, rgba(0,0,0,.12)); }
@media (max-width: 1300px) { .achtergrond { background-image: url(../img/klaas-zondervan-1280.webp); } }
@media (max-width: 700px) { .achtergrond { background-image: url(../img/klaas-zondervan-mobiel.webp); background-position: 50% 20%; } .achtergrond::after { background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.25) 60%, rgba(0,0,0,.45)); } }

/* Inhoud altijd boven de foto (geen negatieve z-index: die verdwijnt achter een achtergrondkleur) */
.pagina, .voet { position: relative; z-index: 1; }

/* ---------- Bovenbalk (mobiel, zoals de vorige site) ---------- */
.topbalk { display: none; }

/* ---------- Opbouw: inhoud links, menu rechts ---------- */
.pagina { flex: 1; width: 100%; max-width: 1180px; margin: 0 auto; padding: var(--kop-top) 110px 60px 60px; display: grid; grid-template-columns: minmax(0, 640px) auto; justify-content: space-between; align-items: start; gap: 40px; }
.inhoud { min-width: 0; outline: none; }

.paginakop { margin: 0 0 18px; font-weight: 400; font-size: clamp(40px, 4.6vw, 62px); line-height: 1.2; text-shadow: var(--schaduw); letter-spacing: .005em; }
.home-kop span { display: block; }
.home { --kop-top: max(140px, calc(30vh + .29 * max(56.6vw, 100vh) - 1.2 * clamp(40px, 4.6vw, 62px))); }
.home-intro { margin: 0 0 12px; max-width: 30em; font-size: var(--fs-kop3); line-height: 1.5; text-shadow: var(--schaduw); opacity: .95; }
.home-links { display: flex; align-items: center; gap: 14px; margin: 0; }
.home-links a.goud { font-weight: 700; font-size: var(--fs-tekst); text-decoration: none; text-shadow: var(--schaduw); }
.home-links a.goud:hover { text-decoration: underline; text-underline-offset: 4px; }

.paneel { background: var(--paneel); border: 1px solid var(--paneel-rand); padding: 18px 26px; margin: 0 0 14px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.paneel p { margin: 0; }
.paneel p + p { margin-top: 1em; }
.paneel a { color: var(--goud); text-decoration: none; }
.paneel a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Biografie */
.bio { margin: 0; font-size: var(--fs-tekst); line-height: 1.5; display: grid; grid-template-columns: max-content 1fr; }
.bio div { display: contents; }
.bio dt, .bio dd { padding: .55em 0; border-top: 1px solid rgba(255,255,255,.12); }
.bio div:first-child dt, .bio div:first-child dd { border-top: 0; padding-top: 0; }
.bio div:last-child dt, .bio div:last-child dd { padding-bottom: 0; }
.bio dt { font-weight: 700; color: rgba(255,255,255,.75); padding-right: 1.6em; }
.bio dd { margin: 0; }
.bio dd span { display: block; }
.bio-los { font-size: var(--fs-tekst); line-height: 1.85; margin: 1.2em 0 0; }

/* Documenten */
.doclijst { list-style: none; margin: 0; padding: 0; font-size: var(--fs-tekst); line-height: 2; }
.doclijst a { color: var(--wit); }
.doclijst a::before { content: "- "; }
.doclijst a:hover { color: var(--goud); }

/* Organisatie */
.paneel { font-size: var(--fs-tekst); }
.paneel-links { font-size: var(--fs-tekst); display: flex; flex-wrap: wrap; gap: 4px 22px; padding: 10px 14px; }
.paneel-links-kop { flex-basis: 100%; font-size: var(--fs-klein); font-weight: 700; letter-spacing: .04em; opacity: .75; }
.media-iconen { display: flex; align-items: center; gap: 12px; margin: 6px 0 0 14px; }
.media-iconen a { display: inline-flex; align-items: center; height: 24px; }
/* In het ShowBird-logo staat de tekst onderin (de vogel steekt erboven uit): iets omhoog, zodat de tekst op één lijn staat met de andere iconen */
.media-iconen .icoon-showbird { position: relative; top: -4px; }
.media-iconen a { opacity: .85; transition: opacity .15s; }
.media-iconen a:hover { opacity: 1; }
.media-iconen img[alt="Wikipedia"], .media-iconen img[alt="Google"] { border-radius: 50%; }

/* Contact */
.formulier { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; padding: 22px 26px 20px; }
.formulier-intro { grid-column: 1 / -1; margin: 0 0 2px; line-height: 1.55; }
.formulier-intro a { color: var(--goud); text-decoration: none; border-bottom: 1px solid rgba(226,179,130,.5); white-space: nowrap; }
.formulier-intro a:hover { border-bottom-color: var(--goud); }
.veld { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.veld-breed { grid-column: 1 / -1; }
.formulier label { line-height: 1.3; font-weight: 500; }
.verplicht { color: var(--goud); }
.formulier input, .formulier textarea { width: 100%; font: 400 var(--fs-tekst)/1.45 var(--leestekst); color: var(--wit); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .28); border-radius: 4px; padding: 9px 12px; transition: border-color .15s, background .15s, box-shadow .15s; }
.formulier input:hover, .formulier textarea:hover { border-color: rgba(255, 255, 255, .45); }
.formulier input:focus, .formulier textarea:focus { outline: none; background: rgba(255, 255, 255, .13); border-color: var(--goud); box-shadow: 0 0 0 3px rgba(226, 179, 130, .25); }
.formulier input:-webkit-autofill { -webkit-text-fill-color: var(--wit); -webkit-box-shadow: 0 0 0 40px rgba(80, 64, 50, .95) inset; caret-color: var(--wit); }
.formulier textarea { resize: vertical; min-height: 140px; }
.formulier-voet { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-top: 2px; }
.formulier button { font: 700 var(--fs-tekst) var(--letter); letter-spacing: .02em; color: #3a2a1c; background: var(--goud); border: 0; border-radius: 4px; padding: 10px 26px; cursor: pointer; transition: background .15s, transform .1s; }
.formulier button:hover { background: #ebc496; }
.formulier button:active { transform: translateY(1px); }
.formulier button:focus-visible { outline: 2px solid var(--wit); outline-offset: 2px; }
.formulier-noot { margin: 0; flex: 1 1 260px; font-size: var(--fs-klein); line-height: 1.5; opacity: .85; }
.formulier-noot a { color: var(--goud); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.melding p { margin: 0; }
.melding-fout { border-left: 4px solid #e88a7a; }

/* Tekstpagina's (privacy) */
.tekst h2 { font-weight: 700; font-size: var(--fs-kop3); margin: 1.2em 0 .2em; }
.tekst h2:first-child { margin-top: 0; }
.tekst { font-size: var(--fs-tekst); line-height: 1.7; }
.tekst ul { margin: .3em 0; padding-left: 1.2em; }


/* ---------- Blog ---------- */
/* Lopende tekst in Alegreya Sans (zelfde familie, zonder kleinkapitalen) voor leesbaarheid; koppen blijven in kleinkapitalen. */
.bloglijst { display: grid; gap: 14px; }
.blogkaart { background: var(--paneel); border: 1px solid var(--paneel-rand); padding: 18px 22px; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.blogkaart.met-beeld { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 18px; align-items: start; }
.blogkaart-beeld img { width: 150px; height: 105px; object-fit: cover; }
.blogkaart h2 { margin: 0; font-size: var(--fs-kop2); line-height: 1.25; font-weight: 700; }
.blogkaart h2 a { text-decoration: none; }
.blogkaart h2 a:hover { color: var(--goud); }
.blogkaart-datum { margin: 2px 0 6px; font-size: var(--fs-klein); color: var(--goud); }
.blogkaart p:last-child { margin: 0; font: 400 var(--fs-lees)/1.55 var(--leestekst); }
.bladeren { display: flex; justify-content: space-between; gap: 12px; font-size: var(--fs-tekst); margin-top: 14px; }
.kruimel { margin: 0 0 4px; font-size: var(--fs-klein); text-shadow: var(--schaduw); }
.kruimel a { color: var(--goud); text-decoration: none; }
.artikel-kop { font-size: clamp(34px, 3.6vw, 48px); text-wrap: balance; }
.artikel-tekst { padding: 22px 28px 18px; font: 400 var(--fs-lees)/1.65 var(--leestekst); }
.artikel-tekst p, .artikel-tekst ul, .artikel-tekst ol, .artikel-tekst blockquote { margin: 0 0 .9em; }
.artikel-tekst h2, .artikel-tekst h3 { font-family: var(--letter); font-weight: 700; line-height: 1.25; margin: 1.3em 0 .35em; }
.artikel-tekst h2 { font-size: var(--fs-kop2); } .artikel-tekst h3 { font-size: var(--fs-kop3); }
.artikel-tekst ul, .artikel-tekst ol { padding-left: 1.3em; }
.artikel-tekst blockquote { border-left: 3px solid var(--goud); padding: .1em 0 .1em 1em; font-style: italic; }
.artikel-tekst blockquote p { margin: 0; }
.artikel-datum { font: 400 var(--fs-klein) var(--letter) !important; color: var(--goud); margin-bottom: 1em !important; }
.artikel-intro { font-size: var(--fs-lees); font-weight: 700; }
.artikel-beeld { margin: 0 0 1em; }
.artikel-beeld img { width: 100%; height: auto; }
.artikel-concept { background: rgba(226, 179, 130, .2); border-left: 3px solid var(--goud); padding: 8px 12px; font-size: var(--fs-klein); }
.artikel-voet { display: flex; flex-wrap: wrap; gap: 6px 18px; border-top: 1px solid rgba(255,255,255,.15); padding-top: 12px; margin-top: 1.2em; font: 400 var(--fs-klein) var(--letter); }
.lees-ook h2 { margin: 0 0 6px; font-size: var(--fs-kop3); }
.lees-ook ul { margin: 0; padding-left: 1.1em; font-size: var(--fs-tekst); line-height: 1.6; }
@media (max-width: 760px) {
  .blogkaart, .artikel-tekst, .bladeren { margin-right: 46px; }
  .blogkaart.met-beeld { grid-template-columns: 1fr; }
  .blogkaart-beeld img { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .artikel-tekst { padding: 16px 16px 12px; }
  .artikel-kop { font-size: 30px; }
  .kruimel { text-align: center; }
}

/* ---------- Hoofdmenu rechts ---------- */
.hoofdmenu { text-align: right; padding-top: 4px; }
/* Menu op elke pagina op dezelfde hoogte, los van de inhoud (zie --menu-top) */
@media (min-width: 761px) { .hoofdmenu { margin-top: calc(var(--menu-top) - var(--kop-top)); } }
.hoofdmenu ul { list-style: none; margin: 0; padding: 0; }
.hoofdmenu li a { display: inline-block; font-weight: 700; font-size: var(--fs-kop3); line-height: 1.25; padding: 5px 0; text-decoration: none; text-shadow: var(--schaduw); color: var(--wit); transition: color .15s; }
.hoofdmenu li a.goud { color: var(--goud); }
.hoofdmenu li a:hover { color: var(--goud); }
.hoofdmenu li a.goud:hover { color: #fff; }
.hoofdmenu li a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.hoofdmenu li.nieuwe-groep { margin-top: 14px; }
.hoofdmenu .linkedin { margin: 14px 0 0 auto; }

.linkedin { display: inline-grid; place-items: center; width: 30px; height: 30px; border: 1.5px solid currentColor; border-radius: 3px; color: var(--wit); filter: drop-shadow(0 1px 2px rgba(0,0,0,.45)); transition: color .15s; }
.linkedin:hover, .linkedin:focus-visible { color: var(--goud); }
.linkedin svg { width: 15px; height: 15px; }

/* ---------- Voet ---------- */
.voet { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px)); font-size: var(--fs-klein); line-height: 1.4; color: rgba(255, 255, 255, .78); text-shadow: var(--schaduw); }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--goud); }

/* ---------- Contactknoppen rechts (zoals de vorige site) ---------- */
/* align-items: flex-end houdt de blokjes tegen de rechterrand; een blokje schuift bij hover naar links open */
.zijknoppen { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 70; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.zijknop { position: relative; display: flex; align-items: center; justify-content: flex-end; width: 46px; height: 46px; background: var(--goud); color: #fff; text-decoration: none; border-radius: 4px 0 0 4px; box-shadow: 0 2px 8px rgba(0,0,0,.25); transition: width .2s ease, background .15s; overflow: hidden; }
.zijknop svg { flex: 0 0 46px; width: 46px; height: 22px; order: 2; }
.zijknop span { order: 1; white-space: nowrap; font-weight: 700; font-size: 17px; padding-left: 14px; opacity: 0; transition: opacity .15s; }
.zijknop-wa svg { height: 24px; }
@media (hover: hover) and (min-width: 761px) {
  .zijknop:hover, .zijknop:focus-visible { width: 190px; background: var(--goud-donker); }
  .zijknop:hover span, .zijknop:focus-visible span { opacity: 1; }
}

/* ---------- Chatknop ---------- */
.chatknop { position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 80; display: inline-flex; align-items: center; gap: .55rem; height: 3.1rem; padding: 0 1.2rem 0 1rem; border: 0; border-radius: 999px; background: var(--goud); color: var(--bruin); font: 700 18px var(--letter); cursor: pointer; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, .6); transition: transform .15s, background .15s; }
.chatknop:hover { transform: translateY(-2px); background: #ebc398; }
.chatknop svg { width: 1.45rem; height: 1.45rem; }
body.chat-open .chatknop, body.chat-open .zijknoppen { opacity: 0; pointer-events: none; }

/* ---------- Chatvenster ---------- */
.chat { --c-bg: #fbf8f4; --c-zacht: #f3ece3; --c-lijn: #e4d9cc; --c-tekst: #2b2522; --c-mat: #7a6d63;
  position: fixed; right: max(1rem, env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); z-index: 90; width: min(24rem, calc(100vw - 2rem)); height: min(36rem, calc(100vh - 6rem)); display: flex; flex-direction: column;
  background: var(--c-bg); color: var(--c-tekst); border-top: 3px solid var(--goud); border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55); overflow: hidden;
  font: 400 15px/1.5 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; }
.chat[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .chat:not([hidden]) { animation: chatIn .25s cubic-bezier(.2,.7,.2,1); } @keyframes chatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } } }
.chat-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; padding: .9rem 1rem .8rem 1.15rem; background: var(--c-zacht); border-bottom: 1px solid var(--c-lijn); }
.chat-head h2 { margin: 0; font: 700 21px/1.2 var(--letter); color: var(--bruin); }
.chat-head p { margin: .1rem 0 0; font-size: .8rem; color: var(--c-mat); }
.chat-head-tools { display: flex; gap: .2rem; }
.chat-head-tools button { width: 2.25rem; height: 2.25rem; border: 0; background: none; color: var(--c-mat); border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.chat-head-tools button:hover { background: var(--c-lijn); color: var(--c-tekst); }
.chat-head-tools svg { width: 1.15rem; height: 1.15rem; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; overscroll-behavior: contain; }
.chat-msg { display: flex; flex-direction: column; max-width: 88%; }
.chat-user { align-self: flex-end; align-items: flex-end; }
.chat-bot { align-self: flex-start; }
.chat-bubble { padding: .65rem .9rem; border-radius: 14px; }
.chat-bubble p { margin: 0; }
.chat-bubble p + p { margin-top: .5rem; }
.chat-user .chat-bubble { background: var(--bruin); color: #fff; border-bottom-right-radius: 4px; }
.chat-bot .chat-bubble { background: var(--c-zacht); border-bottom-left-radius: 4px; }
.chat-bubble a { color: #8a5a2b; font-weight: 600; }
.chat-user .chat-bubble a { color: #fff; }
.chat-q { display: block; font: 700 17px/1.3 var(--letter); color: var(--bruin); margin-bottom: .25rem; }
.chat-meta { font-size: .72rem; color: var(--c-mat); margin-top: .3rem; padding-left: .2rem; }
.chat-chips, .chat-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.chat-chip { font: 500 .85rem/1.3 inherit; font-family: inherit; text-align: left; color: var(--c-tekst); background: #fff; border: 1px solid var(--c-lijn); border-radius: 999px; padding: .4rem .8rem; cursor: pointer; }
.chat-chip:hover { border-color: var(--goud); }
.chat-act { font-weight: 600; font-size: .82rem; color: var(--bruin); text-decoration: none; border: 1px solid var(--c-lijn); border-radius: 6px; padding: .35rem .7rem; background: #fff; }
.chat-act:hover { border-color: var(--bruin); }
.chat-act-wa { color: #128c4b; }
.chat-typing .chat-bubble { display: flex; gap: .3rem; padding: .85rem 1rem; }
.chat-typing span { width: .45rem; height: .45rem; border-radius: 50%; background: var(--c-mat); opacity: .4; animation: chatDot 1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes chatDot { 50% { opacity: 1; transform: translateY(-2px); } }
.chat-form { display: flex; gap: .5rem; padding: .75rem; border-top: 1px solid var(--c-lijn); }
.chat-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--c-tekst); background: #fff; border: 1px solid var(--c-lijn); border-radius: 999px; padding: .6rem 1rem; }
.chat-form input:focus { outline: 2px solid var(--goud); outline-offset: 0; }
.chat-form button { width: 2.7rem; height: 2.7rem; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--bruin); color: #fff; cursor: pointer; display: grid; place-items: center; }
.chat-form button svg { width: 1.15rem; height: 1.15rem; }
.chat-note { margin: 0; padding: 0 1rem .7rem; font-size: .72rem; color: var(--c-mat); text-align: center; }
.chat-note a { color: var(--c-mat); }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .pagina { padding-left: 40px; padding-right: 80px; gap: 28px; }
  .hoofdmenu li a { font-size: 19px; }
}

/* ---------- Mobiel ---------- */
@media (max-width: 760px) {
  :root { --fs-klein: 15px; --fs-tekst: 17px; --fs-lees: 17.5px; --fs-kop3: 19px; --fs-kop2: 21px; }
  body { line-height: 1.7; }
  .topbalk { display: flex; position: sticky; top: 0; z-index: 60; align-items: center; justify-content: space-between; height: 48px; padding: 0 6px 0 16px; padding-top: env(safe-area-inset-top, 0px); background: #fff; color: var(--inkt); box-shadow: 0 1px 8px rgba(0,0,0,.2); }
  .topbalk-naam { font-size: 19px; text-decoration: none; letter-spacing: .02em; }
  .menuknop { width: 44px; height: 44px; display: grid; align-content: center; justify-items: center; gap: 6px; border: 0; background: none; cursor: pointer; }
  .menuknop span { display: block; width: 24px; height: 2px; background: #555; transition: transform .2s, opacity .2s; }
  .menu-open .menuknop span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-open .menuknop span:nth-child(2) { opacity: 0; }
  .menu-open .menuknop span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobielmenu { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.2); }
  .mobielmenu ul { list-style: none; margin: 0; padding: 6px 0 12px; }
  .mobielmenu a { display: block; padding: 9px 20px; font-size: 20px; text-decoration: none; color: var(--inkt); }
  .mobielmenu a[aria-current="page"] { color: var(--goud-donker); font-weight: 700; }
  .mobielmenu ul.mobielmenu-sites { border-top: 1px solid #eee; padding-top: 8px; }
  .mobielmenu-sites a { font-size: 18px; padding: 6px 20px; color: #8a5a2b; }
  body:not(.home) .hoofdmenu { display: none; }

  .pagina, .home .pagina { display: block; padding: 34px 16px 20px; }
  .paginakop { font-size: 38px; text-align: center; margin-bottom: 14px; }
  .home .inhoud { text-align: center; }
  .home-intro { margin: 0 auto 10px; }
  .home-links { justify-content: center; }
  .paneel { padding: 14px 16px; margin-right: 46px; }
  .contact .formulier { margin-right: 46px; grid-template-columns: 1fr; padding: 16px; }
  .formulier button { width: 100%; }
  .bio { grid-template-columns: 1fr; }
  .bio dt { padding-bottom: 0; padding-right: 0; }
  .bio dd { border-top: 0; padding-top: .1em; }
  .hoofdmenu { text-align: center; margin-top: 34px; padding: 0 46px 0 0; }
  .home .hoofdmenu { margin-top: 26px; }
  .hoofdmenu li a { font-size: 22px; line-height: 2.2; padding: 0; }
  .hoofdmenu li.nieuwe-groep { margin-top: 10px; }
  .hoofdmenu .linkedin { margin: 10px auto 0; }
  .zijknop { width: 40px; height: 40px; }
  .zijknop svg { flex-basis: 40px; width: 40px; height: 20px; }
  .zijknoppen { top: auto; bottom: 5.5rem; transform: none; }
  .chatknop { height: 3rem; padding: 0 1rem; font-size: 17px; }
  .chat { right: 0; left: 0; bottom: 0; width: 100%; height: calc(100% - env(safe-area-inset-top, 0px) - 3rem); border-radius: 14px 14px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .voet { padding: 10px 60px calc(84px + env(safe-area-inset-bottom, 0px)) 16px; }
  .doclijst { line-height: 1.45; }
  .doclijst li { margin: .45em 0; }
}
@media (max-width: 380px) {
  .chatknop-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .chatknop { width: 3rem; padding: 0; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print { .achtergrond, .zijknoppen, .chatknop, .chat, .topbalk { display: none !important; } body { color: #000; background: #fff; } .paneel { background: none; border: 0; } }
