/* RA13 — navy menubalk met wit boeg-vlak voor logo, fotoband onder het menu, Barlow Condensed koppen, stencil alleen voor RA13. */
:root {
  --navy: #0e2a47;
  --ink: #15202b;
  --orange: #ef6a1f;
  --muted: #66707a;
  --line: #e1e4e8;
  --tint: #f3f4f6;
  font: 17px/1.6 Barlow, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; background: #fff; min-height: 100vh; display: flex; flex-direction: column; }
img { max-width: 100%; height: auto; }
a { color: var(--navy); text-decoration-thickness: 2px; text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
h1, h2, summary { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; color: var(--navy); line-height: 1.05; }
.brand-text, .foot-mark { font-family: "Big Shoulders Stencil Display", Impact, sans-serif; font-weight: 800; line-height: 1; }

.wrap { --gutter: clamp(20px, 4vw, 56px); width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }

/* Kopbalk: wit 'boeg'-vlak met logo links, navy menu rechts */
.bar { background: var(--navy); color: #fff; box-shadow: 0 5px 0 #fff, 0 9px 0 var(--orange); margin-bottom: 9px; position: relative; z-index: 2; }
.bar-inner { display: flex; align-items: center; gap: 16px; min-height: 78px; }
.brand {
  position: relative; align-self: stretch; display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0;
  color: var(--navy); text-decoration: none;
  padding-right: 42px; background: #fff;
  clip-path: polygon(-100vw 0, calc(100% - 30px) 0, 100% 50%, calc(100% - 30px) 100%, -100vw 100%);
}
.brand::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 100vw; background: #fff; }
.logo { width: 52px; height: 52px; color: var(--navy); flex: none; }
.brand-text { font-size: 2.4rem; }
.brand-sub { font-size: .74rem; line-height: 1.3; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.nav { display: flex; align-self: stretch; }
.nav a { display: flex; align-items: center; padding: 0 8px; white-space: nowrap; font: 600 1rem "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .03em; color: #fff; text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; color: #fff; }
.nav a[aria-current] { opacity: 1; background: var(--orange); }
.nav-toggle { display: none; }

/* Inhoud */
.content { flex: 1; padding: 48px 0 72px; overflow-x: clip; }
.has-photos .content { padding-top: 40px; }
.content h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; margin: 0 0 22px; }
.content h2 { font-size: 1.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; margin: 36px 0 12px; }
.lead { font: 600 1.6rem/1.25 "Barlow Condensed", sans-serif; color: var(--navy); margin-top: 0; }

/* Foto's als band direct onder het menu */
.home .content h1 { display: none; }
.intro { max-width: 62ch; }
.page-photos { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.page-photos figure { margin: 0; min-width: 0; }
.page-photos img { width: 100%; height: clamp(200px, 26vw, 320px); object-fit: cover; display: block; }
.page:not(.home) .page-photos img { height: clamp(160px, 18vw, 230px); }
.has-photos .bar { margin-bottom: 0; }

/* Activiteiten / contact */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 32px 40px; margin: 32px 0; }
.card h2 { margin: 0 0 10px; font-size: 1.45rem; padding-left: 12px; border-left: 4px solid var(--orange); }
.card ul { margin: 0; padding: 0; list-style: none; }
.card li { padding: 6px 0; border-top: 1px solid var(--line); }
.mail { font-weight: 700; font-size: 1.1rem; }
.kvk { color: var(--muted); }

/* Aangesloten groepen */
.groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.group { display: flex; flex-direction: column; align-items: flex-start; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.group:hover { background: var(--tint); }
.group img { height: 90px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 16px; }
.group strong { font: 700 1.25rem "Barlow Condensed", sans-serif; color: var(--navy); }
.group span { color: var(--muted); font-size: .9rem; }

/* Documenten: compact, algemeen links en notulen per jaar rechts */
.folders { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0 56px; align-items: start; }
.folder > h2 { font-size: 1.6rem; margin: 0 0 12px; }
.docs { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.docs li { border-bottom: 1px solid var(--line); }
.doc { display: flex; align-items: baseline; gap: 10px; padding: 7px 4px; text-decoration: none; color: var(--ink); }
.doc:hover { background: var(--tint); color: var(--orange); }
.doc-type { flex: none; font-size: .64rem; font-weight: 700; letter-spacing: .05em; color: #fff; background: var(--navy); padding: 1px 5px; min-width: 3.4em; text-align: center; position: relative; top: -2px; }
.doc-type[data-type="XLSX"] { background: #2f7d48; }
.doc-title, .doc-date { flex: 1; }
.doc-date + .doc-title { display: none; }
.doc-size { color: var(--muted); font-size: .82rem; }

details { margin-bottom: 4px; }
summary { cursor: pointer; list-style: none; display: flex; align-items: baseline; gap: 8px; padding: 6px 0; font-size: 1.25rem; font-weight: 700; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; width: 1ch; color: var(--orange); font-family: Barlow, sans-serif; }
details[open] > summary::before { content: "–"; }
summary:hover { color: var(--orange); }
summary span { font: 400 .8rem Barlow, sans-serif; color: var(--muted); }
summary span::after { content: " notulen"; }
details > .docs { margin-bottom: 14px; }

/* Voet */
.foot { border-top: 6px solid var(--navy); background: var(--tint); font-size: .88rem; color: var(--muted); padding: 26px 0; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot-mark { font-size: 2rem; color: var(--navy); }
.sn { margin-left: auto; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }

@media (max-width: 1200px) {
  .brand-sub { display: none; }
}
@media (max-width: 1000px) {
  .folders { grid-template-columns: 1fr; gap: 40px; }
  .bar-inner { flex-wrap: wrap; align-content: flex-start; min-height: 68px; }
  .brand { min-height: 68px; }
  .nav-toggle { display: block; background: none; border: 2px solid #fff; color: #fff; padding: 5px 12px; font: 600 1rem "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .05em; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .nav-open .nav { display: flex; }
  .nav a { padding: 10px 12px; }
  .brand { padding-right: 40px; }
  .page-photos figure + figure { display: none; }
  .sn { margin-left: 0; }
}
