/* Stichting Gelderman — huisstijl
   Kleuren ontleend aan het wapen: rood en zilver. */

:root {
  --rood: #8e1b1f;
  --rood-donker: #6a1215;
  --inkt: #23201c;
  --inkt-zacht: #5b544b;
  --papier: #faf7f1;
  --papier-diep: #f1ebe0;
  --lijn: #ddd3c3;
  --zilver: #b9b4ab;
  --max: 46rem;
  --breed: 68rem;
  --serif: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rood); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rood-donker); text-decoration-thickness: 2px; }

.skip {
  position: absolute; left: -999px; top: 0;
  background: var(--rood); color: #fff; padding: .5rem 1rem; z-index: 10;
}
.skip:focus { left: 1rem; }

/* ---------- Kop ---------- */

.site-header {
  border-bottom: 1px solid var(--lijn);
  background: var(--papier);
}
.site-header .inner {
  max-width: var(--breed);
  margin: 0 auto;
  padding: 1.25rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: flex; align-items: center; gap: .75rem;
  color: var(--inkt); text-decoration: none;
}
.brand:hover { color: var(--inkt); }
.brand svg { width: 34px; height: 40px; flex: none; }
.brand-name {
  font-size: 1.45rem; letter-spacing: .02em; line-height: 1.1;
}
.brand-name small {
  display: block; font-family: var(--sans); font-size: .7rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--inkt-zacht);
}

.nav-toggle { display: none; }
.nav-label {
  display: none;
  font-family: var(--sans); font-size: .9rem; cursor: pointer;
  border: 1px solid var(--lijn); padding: .35rem .75rem; border-radius: 3px;
}

.site-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: .25rem 1.4rem;
}
.site-nav a {
  font-family: var(--sans); font-size: .92rem; letter-spacing: .02em;
  color: var(--inkt); text-decoration: none; padding: .25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--rood); }
.site-nav a[aria-current="page"],
.site-nav a.actief { border-bottom-color: var(--rood); color: var(--rood); }

@media (max-width: 760px) {
  .nav-label { display: inline-block; }
  .site-nav { width: 100%; display: none; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding-top: .5rem; }
  .site-nav li { border-top: 1px solid var(--lijn); }
  .site-nav a { display: block; padding: .7rem 0; border-bottom: 0; }
}

/* ---------- Inhoud ---------- */

main { padding: 3rem 1rem 4rem; }

.prose { max-width: var(--max); margin: 0 auto; }

h1, h2, h3 { font-weight: 500; line-height: 1.2; color: var(--inkt); }
h1 { font-size: clamp(2rem, 5vw, 2.75rem); margin: 0 0 1.25rem; }
h2 {
  font-size: 1.45rem; margin: 2.5rem 0 .75rem;
  color: var(--rood-donker);
}
h3 { font-size: 1.15rem; margin: 1.75rem 0 .5rem; }

.eyebrow {
  font-family: var(--sans); font-size: .75rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--rood); margin: 0 0 .5rem;
}

.lead { font-size: 1.3rem; line-height: 1.55; color: var(--inkt); }

p, ul, ol { margin: 0 0 1.1rem; }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: .3rem; }

figure { margin: 2.5rem 0; }
figure img { border: 1px solid var(--lijn); background: #111; }
figcaption {
  font-family: var(--sans); font-size: .85rem; color: var(--inkt-zacht);
  margin-top: .6rem; line-height: 1.45;
}

blockquote {
  margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem;
  border-left: 3px solid var(--rood); font-style: italic;
}

hr.sier {
  border: 0; height: 1px; background: var(--lijn);
  margin: 3rem auto; max-width: 8rem;
}

/* Gegevensblok (KvK, RSIN, IBAN) */
.gegevens {
  background: var(--papier-diep); border: 1px solid var(--lijn);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0; border-radius: 2px;
}
.gegevens dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: .4rem 1.25rem; }
.gegevens dt { font-family: var(--sans); font-size: .85rem; color: var(--inkt-zacht); padding-top: .2rem; }
.gegevens dd { margin: 0; font-variant-numeric: tabular-nums; }
@media (max-width: 520px) {
  .gegevens dl { grid-template-columns: 1fr; gap: 0; }
  .gegevens dd { margin-bottom: .6rem; }
}

/* Bestuur */
.bestuur { list-style: none; padding: 0; }
.bestuur li { padding: .55rem 0; border-bottom: 1px solid var(--lijn); margin: 0; }
.bestuur .rol {
  display: block; font-family: var(--sans); font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; color: var(--inkt-zacht);
}

/* Knoppen */
.knop {
  display: inline-block; font-family: var(--sans); font-size: .95rem;
  background: var(--rood); color: #fff; text-decoration: none;
  padding: .7rem 1.3rem; border-radius: 2px; border: 0; cursor: pointer;
}
.knop:hover { background: var(--rood-donker); color: #fff; }
.knop-rand {
  background: transparent; color: var(--rood); border: 1px solid var(--rood);
}
.knop-rand:hover { background: var(--rood); color: #fff; }

/* ---------- Home ---------- */

.hero {
  max-width: var(--breed); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center;
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.3rem); }
.hero figure { margin: 0; }
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
}

.tegels {
  max-width: var(--breed); margin: 4rem auto 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1px;
  background: var(--lijn); border: 1px solid var(--lijn);
}
.tegel {
  background: var(--papier); padding: 1.5rem; text-decoration: none; color: var(--inkt);
  display: block;
}
.tegel:hover { background: var(--papier-diep); color: var(--inkt); }
.tegel h2 { font-size: 1.2rem; margin: 0 0 .4rem; color: var(--rood-donker); }
.tegel p { font-size: 1rem; margin: 0; color: var(--inkt-zacht); line-height: 1.5; }

/* Projectenlijst */
.projecten { list-style: none; padding: 0; margin: 2rem 0; }
.projecten li { border-top: 1px solid var(--lijn); margin: 0; }
.projecten li:last-child { border-bottom: 1px solid var(--lijn); }
.projecten a {
  display: block; padding: 1.25rem 0; text-decoration: none; color: var(--inkt);
}
.projecten a:hover h2 { color: var(--rood); }
.projecten h2 { margin: 0 0 .25rem; font-size: 1.35rem; }
.projecten p { margin: 0; font-size: 1rem; color: var(--inkt-zacht); }

.vorige-volgende {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 3.5rem; padding-top: 1.25rem; border-top: 1px solid var(--lijn);
  font-family: var(--sans); font-size: .9rem;
}
.vorige-volgende a { text-decoration: none; }
.vorige-volgende span { display: block; color: var(--inkt-zacht); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.vorige-volgende .volgende { text-align: right; margin-left: auto; }

.planning { list-style: none; padding: 0; }
.planning li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--lijn); margin: 0; }
.planning strong { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--rood-donker); }
@media (max-width: 520px) { .planning li { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Contact ---------- */

.contact-adres { font-size: clamp(1.5rem, 4.5vw, 2rem); margin: .5rem 0 1.5rem; }
.contact-adres a { text-decoration-thickness: 1px; }

/* ---------- Voet ---------- */

.site-footer {
  border-top: 1px solid var(--lijn); background: var(--papier-diep);
  font-family: var(--sans); font-size: .9rem; color: var(--inkt-zacht);
}
.site-footer .inner {
  max-width: var(--breed); margin: 0 auto; padding: 2rem 1rem;
  display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.site-footer strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; color: var(--inkt); display: block; margin-bottom: .25rem; }
.site-footer p { margin: 0 0 .25rem; }
.site-footer a { color: var(--inkt-zacht); }
