/* Zorggroep Thorp, huisstijlkleuren uit de Thorp-documenten (#4F6F52 / #8BA888 / #E7EFE3) */
:root {
  --groen: #4F6F52;
  --groen-donker: #33493A;
  --salie: #8BA888;
  --mos: #E7EFE3;
  --papier: #FBFAF6;
  --stam: #8A5A3B;
  --inkt: #1F2A22;
  --grijs: #5B665E;
  --lijn: #DCE3D8;
  --kop-font: "Lora", Georgia, serif;
  --tekst-font: "Nunito Sans", -apple-system, "Segoe UI", sans-serif;
  --breed: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--papier); color: var(--inkt); font: 17px/1.65 var(--tekst-font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--groen); text-underline-offset: 3px; overflow-wrap: anywhere; }
h4 { font-family: var(--kop-font); font-size: 1.15rem; color: var(--groen-donker); margin: 1.2em 0 .3em; }
a:hover { color: var(--stam); }
h1, h2, h3 { font-family: var(--kop-font); font-weight: 600; line-height: 1.2; color: var(--groen-donker); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2em 0 .5em; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .3em; }
p, li { max-width: 68ch; }
.wrap { max-width: var(--breed); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 10; }

/* kop en menu */
.kop { background: #fff; border-bottom: 1px solid var(--lijn); position: sticky; top: 0; z-index: 5; }
.kop-binnen { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.merk { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--kop-font); font-size: 1.2rem; font-weight: 600; color: var(--groen-donker); }
nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
nav a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--inkt); font-weight: 600; font-size: .95rem; }
nav a:hover { background: var(--mos); color: var(--groen-donker); }
nav a[aria-current] { color: var(--groen); box-shadow: inset 0 -2px 0 var(--salie); border-radius: 0; }
.menuknop, .menuknop-label { display: none; }

@media (max-width: 900px) {
  .menuknop-label { display: block; width: 44px; height: 44px; cursor: pointer; position: relative; }
  .menuknop-label span, .menuknop-label span::before, .menuknop-label span::after {
    content: ""; position: absolute; left: 10px; width: 24px; height: 2px; background: var(--groen-donker); }
  .menuknop-label span { top: 21px; }
  .menuknop-label span::before { top: -7px; left: 0; }
  .menuknop-label span::after { top: 7px; left: 0; }
  nav { display: none; position: absolute; left: 0; right: 0; top: 76px; background: #fff; border-bottom: 1px solid var(--lijn); }
  .menuknop:checked ~ nav { display: block; }
  nav ul { flex-direction: column; padding: 8px 12px 16px; }
  .merk span { font-size: 1.05rem; }
}

/* hero op de homepage */
.hero { --hero-verloop: linear-gradient(90deg, rgba(31,42,34,.8) 0%, rgba(31,42,34,.45) 55%, rgba(31,42,34,.1) 100%);
  position: relative; color: #fff; background-color: var(--groen-donker); background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero .wrap { padding-top: clamp(64px, 12vw, 140px); padding-bottom: clamp(64px, 12vw, 140px); }
.hero h1 { color: #fff; max-width: 15ch; }
.hero p { font-size: 1.15rem; max-width: 44ch; }
.hero .kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--mos); margin: 0 0 12px; }
.knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knop { display: inline-block; background: var(--groen); color: #fff; padding: 13px 22px; border-radius: 999px; text-decoration: none; font-weight: 700; }
.knop:hover { background: var(--groen-donker); color: #fff; }
.knop.licht { background: rgba(255,255,255,.92); color: var(--groen-donker); }
.knop.licht:hover { background: #fff; color: var(--stam); }

/* inhoud */
.inhoud { padding-top: 48px; padding-bottom: 80px; }
.paginakop { padding: 12px 0 8px; }
.paginakop > p { font-size: 1.2rem; color: var(--grijs); }
.paginakop time, .kaart time { color: var(--stam); font-weight: 700; font-size: .85rem; letter-spacing: .04em; }
.paginabeeld { width: 100%; max-height: 460px; object-fit: cover; border-radius: 16px; margin: 20px 0 8px; }
.label { display: inline-block; background: var(--mos); color: var(--groen-donker); font-weight: 700; font-size: .8rem; padding: 3px 10px; border-radius: 999px; }
blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--salie); font-family: var(--kop-font); font-size: 1.25rem; color: var(--groen-donker); }
.terug { margin-top: 3em; }

/* blokken via ::: in de tekstbestanden */
.blok.drie { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 8px 0 24px; }
.blok.drie > h3, .blok.drie > h4 { display: none; }
.blok.drie ul { display: contents; list-style: none; }
.blok.drie li { background: #fff; border: 1px solid var(--lijn); border-radius: 16px; padding: 24px; max-width: none; }
.blok.drie li strong { display: block; font-family: var(--kop-font); font-size: 1.2rem; color: var(--groen-donker); margin-bottom: 6px; }
.blok.uitgelicht { background: var(--mos); border-radius: 20px; padding: 8px 32px 28px; margin: 40px 0; }
.blok.uitgelicht h2 { margin-top: 1em; }
.blok.stappen ol { counter-reset: stap; list-style: none; padding: 0; display: grid; gap: 14px; }
.blok.stappen li { counter-increment: stap; position: relative; padding: 18px 20px 18px 72px; background: #fff; border: 1px solid var(--lijn); border-radius: 14px; max-width: 760px; }
.blok.stappen li::before { content: counter(stap); position: absolute; left: 20px; top: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--groen); color: #fff; font-weight: 700; display: grid; place-items: center; }
.blok.fotos { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 24px 0; }
.blok.fotos p { display: contents; }
.blok.fotos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.blok.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.blok.contact > .blok { background: #fff; border: 1px solid var(--lijn); border-radius: 16px; padding: 4px 22px 16px; }
.blok.contact h3 { margin-top: .9em; }
.blok.document { border: 1px dashed var(--salie); border-radius: 14px; padding: 4px 20px; margin: 16px 0; }

/* kaarten (nieuws, vacatures) */
.kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin: 16px 0 32px; }
.kaart { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--lijn); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--inkt); transition: transform .15s, box-shadow .15s; }
.kaart:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,42,34,.08); color: var(--inkt); }
.kaart img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.kaart > div { padding: 18px 20px 22px; }
.kaart h3 { margin: 4px 0 6px; }
.kaart p { margin: 0; color: var(--grijs); font-size: .95rem; }

/* voet */
.voet { background: var(--groen-donker); color: #E9EFE6; padding: 56px 0 24px; font-size: .95rem; }
.voet a { color: #fff; }
.voet h2 { color: #fff; font-size: 1.1rem; margin: 0 0 .6em; }
.voet img { background: #fff; border-radius: 50%; margin-bottom: 12px; }
.voet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.voet-onder { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; opacity: .75; }

/* reglementen uit de gedeelde map */
.bron { font-size: .95rem !important; color: var(--grijs); }
.reglement { max-width: 820px; }
.reglement table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: .95rem; background: #fff; }
.reglement td, .reglement th { border: 1px solid var(--lijn); padding: 8px 12px; text-align: left; vertical-align: top; }
.reglement td p { margin: 0; max-width: none; }
.reglement h2 { font-size: 1.35rem; margin-top: 1.6em; }
.reglement h3 { font-size: 1.1rem; }
.blok.document a { font-weight: 700; }

@media print {
  .kop, .voet, .terug, .skip { display: none; }
  body { background: #fff; font-size: 11pt; }
  .inhoud { padding: 0; }
}
.blok.uitgelicht img { max-width: 160px; border-radius: 12px; margin-top: 16px; }
