/* Pas hier de kleuren, paginabreedte en basislettergrootte aan. */
:root {
  --papier: #faf9f6;
  --wit: #fffefa;
  --inkt: #283e34;
  --groen: #234b3e;
  --zacht: #edf0e8;
  --lijn: #dce1d8;
  --grijs: #59685e;
  --spoed: #834632;
  --breedte: 1120px;
  font: 17px/1.75 system-ui, sans-serif;
  color: var(--inkt);
  background: var(--papier);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
header, main, footer { width: min(var(--breedte), calc(100% - 64px)); margin-inline: auto; }
main { flex: 1; min-width: 0; }
[id] { scroll-margin-top: 24px; }
a { color: inherit; text-underline-offset: .22em; text-decoration-color: #9cafa1; }
a:hover { text-decoration-color: currentColor; }
a[href^="tel:"] { white-space: nowrap; }
a:focus-visible, summary:focus-visible { outline: 3px solid #a66b31; outline-offset: 4px; }
p { margin: 0 0 1.25rem; }
p, li, h1, h2, h3 { overflow-wrap: break-word; }
h1, h2, h3 { text-wrap: balance; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; line-height: 1.15; letter-spacing: -.035em; }
h1 { margin: 0 0 32px; font-size: clamp(2.1rem, 4vw, 3.25rem); }
h2 { margin: 40px 0 18px; font-size: 1.8rem; }
h3 { margin: 28px 0 12px; font-size: 1.1rem; line-height: 1.4; }
address { font-style: normal; margin-bottom: 20px; }
ul { margin: 0 0 24px; padding-left: 24px; }
li { margin-block: 10px; padding-left: 4px; }
li::marker { color: #71816a; }
.text-link { font-weight: 600; }
.skip { position: fixed; top: -100px; left: 16px; padding: 12px 20px; background: var(--wit); z-index: 30; }
.skip:focus { top: 12px; }

/* Hoofdnavigatie en belknoppen */
header { position: relative; z-index: 10; display: flex; align-items: center; gap: 24px; padding-block: 26px; border-bottom: 1px solid var(--lijn); background: var(--papier); }
.logo { display: block; flex-shrink: 0; width: 170px; }
.logo img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
header nav a, .acties > a { display: flex; align-items: center; min-height: 44px; text-decoration: none; }
header nav a:hover { color: var(--groen); text-decoration: underline; }
header a[aria-current="page"], summary.actief { font-weight: 650; text-decoration: underline; text-decoration-thickness: 2px; }
.desktop-menu { display: flex; align-items: center; gap: 20px; margin-left: auto; font-size: .86rem; }
.acties { display: flex; align-items: center; gap: 20px; font-size: .86rem; }
.acties > a[href^="tel:"] { display: none; }
.spoed-link { padding: 8px 16px; border: 1px solid #d8bfb1; border-radius: 6px; color: var(--spoed); background: #f7eee8; white-space: nowrap; }
.spoed-link:hover { background: #efe0d5; }
.mobiel-menu { display: none; }
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.praktijk-menu > summary { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.praktijk-menu > summary::after { content: ''; width: 7px; height: 7px; flex-shrink: 0; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.praktijk-menu[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.praktijk-menu > summary:hover { color: #516b46; }
.desktop-menu .praktijk-menu { position: relative; }
.submenu { padding: 10px; border: 1px solid var(--lijn); border-radius: 8px; background: var(--wit); }
.desktop-menu .submenu { position: absolute; top: calc(100% + 12px); left: -16px; width: 310px; max-height: calc(100dvh - 150px); overflow-y: auto; box-shadow: 0 18px 48px #243d331a; }
.submenu a { padding: 9px 12px; border-radius: 4px; line-height: 1.5; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--zacht); }

/* Startpagina: introductie, praktische informatie en snelle links */
.welkom { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); align-items: center; gap: 72px; padding-block: 72px 56px; }
.welkom h1 { margin-bottom: 26px; }
h1 em { color: #607455; font-weight: 400; }
.welkom > div > p { max-width: 51ch; color: var(--grijs); font-size: 1.06rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 10px; padding: 14px 22px; min-height: 48px; border-radius: 6px; background: var(--groen); color: white; font-size: 1rem; font-weight: 550; text-decoration: none; }
.button:hover { background: #163a2e; }
.welkom aside { padding: 36px; border-radius: 10px; background: var(--groen); color: var(--papier); }
.welkom aside h2 { margin: 0 0 26px; font-size: 2.2rem; }
.welkom aside address { margin: 0; font-size: 1rem; }
.aside-note { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid #ffffff30; font-size: .9rem; }
.snel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.snel a { display: flex; align-items: center; gap: 16px; padding: 22px; border: 1px solid var(--lijn); border-radius: 6px; background: var(--wit); text-decoration: none; }
.snel a:hover { border-color: #8a9f86; background: var(--zacht); }
.snel a > span:first-child { font: .85rem Georgia, serif; color: var(--grijs); }
.snel a > span:last-child { margin-left: auto; color: #607455; }
.snel strong { font-size: .95rem; font-weight: 550; }
.nieuws-preview { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; padding-block: 64px 72px; }
.nieuws-preview h2 { margin: 0 0 20px; font-size: 2.15rem; }
.nieuws-preview .text-link { display: inline-block; padding-block: 8px; font-size: .9rem; }
.uitgelicht { margin-bottom: 36px; padding: 28px 30px; border: 1px solid var(--lijn); border-left: 3px solid #81936f; border-radius: 0 6px 6px 0; background: var(--zacht); }
.uitgelicht :is(h2, h3) { margin: 0 0 16px; font: 400 1.65rem/1.25 Georgia, serif; letter-spacing: -.025em; }
.uitgelicht p:last-child, .nieuws-preview .uitgelicht { margin-bottom: 0; }

/* Praktijkoverzicht en rustige leeskolom voor alle informatiepagina's */
.praktijk-pagina { padding-block: 56px 72px; }
.praktijk-pagina > h1 { margin-bottom: 42px; }
.praktijk-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 64px; align-items: start; }
.praktijk-grid h2 { margin-top: 0; }
.praktijk-grid .text-link { display: inline-block; margin-bottom: 24px; }
.praktijk-onderwerpen { padding: 28px; border: 1px solid var(--lijn); border-radius: 8px; background: var(--zacht); }
.praktijk-onderwerpen h2 { margin-bottom: 20px; font-size: 1.65rem; }
.onderwerp-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 15px; border-top: 1px solid var(--lijn); text-decoration: none; font-size: .95rem; }
.onderwerp-link span { flex-shrink: 0; color: #607455; }
.onderwerp-link:hover { text-decoration: underline; }
.leespagina { max-width: 720px; padding-block: 56px 80px; }
.terug { display: inline-block; margin-bottom: 24px; padding-block: 8px; font-size: .86rem; color: var(--grijs); }
.leespagina > h1 { margin-bottom: 32px; }
.leespagina h2 { margin: 44px 0 18px; font-size: 1.65rem; }
.leespagina .uitgelicht h2 { margin-top: 0; }
.medewerkers { margin-bottom: 32px; }
.document-link { margin-block: 28px 40px; border: 1px solid var(--lijn); border-radius: 6px; background: var(--zacht); }
.document-link a { display: block; padding: 20px 24px; }
#downloads + ul { list-style: none; padding: 0; border-top: 1px solid var(--lijn); }
#downloads + ul li { margin: 0; padding: 0; border-bottom: 1px solid var(--lijn); }
#downloads + ul a { display: block; padding: 18px 8px; }
#downloads + ul a:hover { background: var(--zacht); }
main details { border-top: 1px solid var(--lijn); }
main details:last-child { border-bottom: 1px solid var(--lijn); }
main summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; font-weight: 600; line-height: 1.5; }
main summary::after { content: '+'; flex-shrink: 0; font-size: 1.4rem; font-weight: 400; color: #607455; }
main details[open] > summary::after { content: '−'; }
main summary:hover { color: #516b46; }
main details > :last-child:not(summary) { margin-bottom: 28px; }

/* Contact en spoed blijven visueel herkenbaar. */
.contact, .spoed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; margin-block: 48px 64px; padding: 48px; border-radius: 10px; }
.contact { background: var(--groen); color: var(--papier); }
.contact h1, .spoed h1 { font-size: clamp(2rem, 4vw, 3rem); }
.contact h2, .spoed h2 { margin: 32px 0 14px; font: 650 1.05rem/1.5 system-ui, sans-serif; letter-spacing: 0; }
.contact h2:first-child, .spoed h2:first-child { margin-top: 0; }
.contactnummer { font: 2rem/1.5 Georgia, serif; text-decoration: none; }
.contact a { text-decoration-color: #ffffff70; }
.contact p:last-child, .spoed p:last-child { margin-bottom: 0; }
.spoed { border: 1px solid #dfc9bd; border-top: 3px solid var(--spoed); background: #f6ede7; color: #613d2d; }
.spoed h2:first-child { padding-bottom: 22px; border-bottom: 1px solid #dfc9bd; font-size: 1.2rem; }
.spoed a { font-weight: 650; text-decoration-color: currentColor; }
footer { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 24px; padding-block: 28px; border-top: 1px solid var(--lijn); color: var(--grijs); font-size: .8rem; }
footer span { margin-right: auto; }
footer a { padding-block: 8px; }

/* Op tablet en telefoon gebruikt het menu standaard HTML-uitklappers. */
@media (max-width: 980px) {
  header { padding-block: 18px; justify-content: space-between; }
  .desktop-menu { display: none; }
  .logo { width: 150px; }
  .acties > a[href^="tel:"] { display: flex; }
  .mobiel-menu { display: block; }
  .mobiel-menu > summary { display: flex; align-items: center; gap: 18px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--lijn); border-radius: 6px; background: var(--wit); }
  .mobiel-menu > summary::after { content: '+'; font-size: 1.2rem; }
  .mobiel-menu[open] > summary::after { content: '−'; }
  .mobiel-menu > nav { position: absolute; top: calc(100% - 1px); right: 0; width: min(380px, 100%); max-height: min(640px, calc(100dvh - 190px)); overflow-y: auto; padding: 12px 20px; border: 1px solid var(--lijn); border-radius: 0 0 8px 8px; background: var(--wit); box-shadow: 0 18px 48px #243d331a; }
  .mobiel-menu .submenu { padding: 0 0 0 10px; margin: 8px 0 12px; border: 0; border-left: 2px solid var(--lijn); border-radius: 0; }
  .mobiel-menu .praktijk-menu > summary { justify-content: space-between; }
  .welkom, .praktijk-grid { gap: 36px; }
  .welkom { padding-block: 56px 40px; }
  .welkom aside { padding: 28px; }
}
@media (max-width: 760px) {
  header, main, footer { width: calc(100% - 40px); }
  h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .welkom, .praktijk-grid, .nieuws-preview, .contact, .spoed { grid-template-columns: 1fr; }
  .welkom { gap: 28px; padding-block: 36px; }
  .welkom h1 { margin-bottom: 22px; }
  .welkom > div > p { font-size: 1rem; }
  .welkom aside h2 { font-size: 1.8rem; margin-bottom: 18px; }
  .aside-note { margin-top: 20px; padding-top: 16px; }
  .snel { grid-template-columns: 1fr; gap: 8px; }
  .snel a { padding: 17px 20px; }
  .nieuws-preview { gap: 24px; padding-block: 40px 48px; }
  .nieuws-preview h2 { font-size: 1.8rem; margin-bottom: 8px; }
  .uitgelicht { padding: 22px; }
  .leespagina, .praktijk-pagina { padding-block: 32px 48px; }
  .leespagina h2 { font-size: 1.5rem; margin-top: 36px; }
  .praktijk-pagina > h1 { margin-bottom: 30px; }
  .praktijk-onderwerpen { padding: 24px; }
  .contact, .spoed { padding: 28px; gap: 12px; margin-block: 32px 48px; }
  .contact h1, .spoed h1 { margin-bottom: 16px; }
  .contactnummer { font-size: 1.7rem; }
  footer { padding-block: 20px; }
}
@media (max-width: 560px) {
  header { flex-wrap: wrap; gap: 16px; }
  .logo { width: 140px; margin-inline: auto; }
  .acties { width: 100%; justify-content: space-between; }
  .mobiel-menu > nav { width: 100%; max-height: calc(100dvh - 250px); }
  .document-link a { padding: 18px; }
}
@media print {
  :root { font-size: 11pt; color: black; background: white; }
  header nav, .acties, .skip, footer { display: none; }
  header, main { width: 100%; }
  header { padding-block: 0 16px; }
  .leespagina { max-width: none; }
  .welkom, .praktijk-grid, .nieuws-preview, .contact, .spoed { display: block; padding: 20px 0; }
  .welkom aside, .contact, .spoed, .uitgelicht, .praktijk-onderwerpen { background: none; color: black; box-shadow: none; }
  h1 { font-size: 28pt; }
  h2 { break-after: avoid; }
  p { orphans: 3; widows: 3; }
}
