/* Eén header voor de publieke pagina's. Native details blijven werken zonder JavaScript. */
:root { --kop-h: 72px; }
.site-header { --hn-hover: rgba(0,7,28,.06); --hn-focus: var(--stone); --hn-rand: rgba(0,7,28,.32); position: fixed; inset: 0 0 auto; z-index: 50; color: var(--slag); background: var(--wit); border-bottom: 1px solid var(--lijn-l); color-scheme: light; }
.site-header.hn-transparant { --hn-hover: rgba(255,255,255,.12); --hn-focus: var(--wit); --hn-rand: rgba(255,255,255,.5); color: var(--wit); background: transparent; border-bottom-color: transparent; }
.hn-in { width: min(1440px, calc(100% - 64px)); margin: auto; min-height: var(--kop-h); padding-block: 5px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header .logo { color: inherit; flex: none; gap: 9px; min-height: 44px; }
.site-header .logo-sym { width: 26px; height: 26px; }
.site-header .logo-lijn { height: 24px; }
.site-header .logo-woord { font-size: 12px; letter-spacing: .24em; white-space: nowrap; }
.site-header svg:not(.logo-sym) { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-header ul { list-style: none; padding: 0; margin: 0; }
.site-header summary { list-style: none; cursor: pointer; }
.site-header summary::-webkit-details-marker { display: none; }
.site-header a, .site-header summary { -webkit-tap-highlight-color: transparent; }
.site-header a:focus-visible, .site-header summary:focus-visible { outline: 2px solid var(--hn-focus); outline-offset: 3px; }
.site-header a:active, .site-header summary:active { transform: translateY(1px); }
.hn-menu { flex: 1; min-width: 0; }
.hn-menuknop { display: none; }
.hn-paneel { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.hn-links { display: flex; align-items: center; gap: 2px; }
.hn-navlink, .hn-diensten > summary { display: flex; align-items: center; gap: 7px; min-height: 44px; padding: 10px 9px; font-size: 14px; font-weight: 500; text-decoration: none; border-radius: 7px; }
.hn-navlink:hover, .hn-diensten > summary:hover, .hn-diensten[open] > summary { background: var(--hn-hover); }
.hn-navlink[aria-current], .hn-actief > summary { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.hn-diensten { position: relative; }
.hn-diensten > summary > svg:last-child { width: 14px; height: 14px; transition: transform .2s; }
.hn-diensten[open] > summary > svg:last-child { transform: rotate(180deg); }
.hn-dropdown { position: absolute; top: calc(100% + 16px); left: 0; width: 330px; padding: 12px; color: var(--slag); background: var(--wit); border: 1px solid var(--lijn-l); border-radius: 14px; box-shadow: 0 18px 48px rgba(0,7,28,.18); }
.site-header .hn-dropdown a { color: var(--slag); display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px; font-size: 15px; text-decoration: none; border-radius: 7px; outline-color: var(--stone); }
.hn-dropdown a > svg:last-child { margin-left: auto; width: 16px; }
.hn-dropdown a:hover, .hn-dropdown a[aria-current] { background: #E3EFF8; }
.hn-dropdown a[aria-current] span { text-decoration: underline; text-underline-offset: 4px; }
.site-header .hn-overzicht { margin-bottom: 6px; border-bottom: 1px solid var(--lijn-l); border-radius: 0; font-weight: 600; }
.hn-acties { display: flex; align-items: flex-start; gap: 10px; flex: none; }
.site-header .hn-acties .knop { color: inherit; background: transparent; border-color: var(--hn-rand); min-height: 44px; padding: 11px 14px; font-size: 13px; line-height: 1.2; transition: background .15s, transform .15s; }
.site-header .hn-acties .knop:hover { background: var(--hn-hover); border-color: currentColor; }
.hn-sluit-icoon { display: none; }
.dienst-pagina, .gids-pagina { padding-top: var(--kop-h); }
/* De bestaande gespreksbediening blijft op haar plek, onder de algemene header. */
.gids-pagina .gids-kop { height: 52px; justify-content: flex-end; border-bottom: 0; }
.gids-pagina .gids-kop > .logo { display: none; }
@media (max-width: 1199px) {
  :root { --kop-h: 64px; }
  .hn-in { width: calc(100% - 40px); gap: 16px; align-items: center; padding-block: 0; }
  .hn-menu { flex: none; }
  .hn-menuknop { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 12px; border: 1px solid currentColor; border-radius: 7px; font-size: 15px; font-weight: 500; }
  .site-header .hn-menuknop svg { width: 20px; height: 20px; }
  .hn-menu[open] > .hn-menuknop .hn-open-icoon { display: none; }
  .hn-menu[open] > .hn-menuknop .hn-sluit-icoon { display: block; }
  .hn-paneel { --hn-hover: rgba(0,7,28,.06); --hn-focus: var(--stone); --hn-rand: rgba(0,7,28,.32); position: absolute; top: 100%; left: 0; right: 0; display: block; color: var(--slag); background: var(--wit); border-top: 1px solid var(--lijn-l); border-bottom: 1px solid var(--lijn-l); padding: 18px max(20px, calc((100% - 720px) / 2)) 28px; max-height: calc(100dvh - var(--kop-h)); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 18px 32px rgba(0,7,28,.16); }
  .hn-links { display: block; }
  .hn-links > li + li { border-top: 1px solid var(--lijn-l); }
  .hn-navlink, .hn-diensten > summary { min-height: 52px; font-size: 17px; padding: 14px 8px; gap: 12px; }
  .hn-diensten > summary > svg:last-child { margin-left: auto; }
  .hn-dropdown { position: static; width: auto; padding: 0 0 12px 18px; border: 0; box-shadow: none; }
  .site-header .hn-paneel a:focus-visible, .site-header .hn-paneel summary:focus-visible { outline-color: var(--stone); }
  .hn-acties { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-top: 24px; border-top: 1px solid var(--lijn-l); margin-top: 12px; }
  .site-header .hn-acties .knop { width: 100%; min-height: 46px; white-space: normal; text-align: center; font-size: 15px; }
}
@media (max-width: 600px) {
  .hn-acties { grid-template-columns: 1fr; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .site-header *, .site-header *::before, .site-header *::after { transition: none !important; scroll-behavior: auto !important; } }
