/* ===========================================================================
   Leidraad Advocaten, Leiden
   ---------------------------------------------------------------------------
   Het motief: de leidraad zelf. Eén haarlijn loopt van de eerste sectie tot in
   de voettekst door de hele pagina, met een rood ruitje op elk knooppunt, als
   de kantlijn van een dossier. Inkt, dan papier, dan weer inkt; de foto's
   liggen over de kleurgrenzen heen zodat de secties in elkaar overlopen.
   =========================================================================== */

:root {
  /* kleur */
  --inkt: #14161a;
  --inkt-2: #1d2026;
  --papier: #ffffff;
  --mist: #f1f1ef;
  --rood: #c8201c;
  --rood-diep: #a3140f;
  --rood-fel: #e8453c;
  --grijs: #585d66;
  --grijs-licht: rgba(255, 255, 255, .72);
  --lijn: rgba(20, 22, 26, .13);
  --lijn-rand: rgba(20, 22, 26, .11);

  /* de opening */
  --opening-achtergrond: #14161a;
  --opening-demping: .55;

  /* letters: systeemletters, geen extern lettertype (geen Google Fonts) */
  --serif: Georgia, 'Iowan Old Style', 'Palatino Linotype', 'Times New Roman', serif;
  --ui: -apple-system, 'Segoe UI', system-ui, Roboto, Arial, sans-serif;

  /* maatvoering: de draad en de kantlijn */
  --draad-x: 1rem;
  --pad-l: calc(var(--draad-x) + clamp(1rem, 4.4vw, 7rem));
  --pad-r: clamp(1.25rem, 5vw, 7rem);
}

@media (min-width: 760px) {
  :root { --draad-x: clamp(1.6rem, 3.4vw, 4.75rem); }
}

/* Op een heel breed scherm groeit de rechterkantlijn mee, zodat de regels
   leesbaar blijven en de pagina niet uit elkaar valt. */
@media (min-width: 1760px) {
  :root { --pad-r: calc(100vw - 1500px - var(--pad-l)); }
}

/* --- grondslag ----------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--papier);
  color: var(--inkt);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--rood-fel);
  outline-offset: 3px;
}

.overslaan {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--rood);
  color: #fff;
  font-size: .85rem;
  text-decoration: none;
}
.overslaan:focus { left: 0; }

/* --- de draad ------------------------------------------------------------ */

.sectie, .overgang, .voet { position: relative; }

.sectie::before,
.overgang::before,
.voet::before {
  content: '';
  position: absolute;
  left: var(--draad-x);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--lijn);
  z-index: 1;
  pointer-events: none;
}

.sectie--inkt, .voet { --lijn: rgba(255, 255, 255, .17); }

.overgang--naar-papier::before {
  background: linear-gradient(to bottom, rgba(255, 255, 255, .17) 0 52%, rgba(20, 22, 26, .13) 52% 100%);
}
.overgang--naar-inkt::before {
  background: linear-gradient(to bottom, rgba(20, 22, 26, .13) 0 46%, rgba(255, 255, 255, .17) 46% 100%);
}

/* --- secties en kantlijn ------------------------------------------------- */

.sectie { padding-block: clamp(4rem, 7.4vw, 7rem); }
.sectie--strak-onder { padding-bottom: clamp(2.5rem, 4.6vw, 4rem); }
.sectie--strak-boven { padding-top: clamp(2.75rem, 5vw, 4.5rem); }
.sectie--kort { padding-block: clamp(2.5rem, 4.4vw, 3.75rem); }

.sectie--inkt { background: var(--inkt); color: #fff; }
.sectie--papier { background: var(--papier); }
.sectie--mist { background: var(--mist); }

.wrap {
  position: relative;
  z-index: 2;
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
}

.sectiemerk {
  position: relative;
  margin-bottom: clamp(1.75rem, 3.6vw, 3rem);
  font-size: .71rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rood);
}
.sectie--inkt .sectiemerk { color: var(--rood-fel); }

.sectiemerk::before {
  content: '';
  position: absolute;
  top: .42em;
  left: calc(-1 * (var(--pad-l) - var(--draad-x)) - 4px);
  width: 8px;
  height: 8px;
  background: var(--rood);
  transform: rotate(45deg);
}
.sectie--inkt .sectiemerk::before { background: var(--rood-fel); }

/* --- koppen -------------------------------------------------------------- */

.titelrij {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  align-items: end;
  margin-bottom: clamp(2.25rem, 4.4vw, 3.5rem);
  padding-bottom: clamp(1.25rem, 2.4vw, 2rem);
  border-bottom: 1px solid var(--lijn-rand);
}

.sectie--inkt .titelrij { border-bottom-color: rgba(255, 255, 255, .17); }

@media (min-width: 900px) {
  .titelrij { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); }
}

.titel {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.1rem, 4.6vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.021em;
  max-width: 14ch;
}

.titelrij__bij {
  max-width: 48ch;
  color: var(--grijs);
  font-size: clamp(.95rem, 1.1vw, 1.04rem);
}
.sectie--inkt .titelrij__bij { color: var(--grijs-licht); }

.tussenkop {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
  max-width: 28ch;
}

.etiket {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--rood);
  margin-bottom: .55rem;
}
.etiket--licht { color: var(--rood-fel); }

/* --- knoppen ------------------------------------------------------------- */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .9rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 1px;
  font-family: var(--ui);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .005em;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.knop:hover { transform: translateY(-1px); }

.knop--rood { background: var(--rood); color: #fff; }
.knop--rood:hover { background: var(--rood-diep); }

.knop--licht { border-color: rgba(255, 255, 255, .42); color: #fff; }
.knop--licht:hover { background: #fff; color: var(--inkt); border-color: #fff; }

.knop--donker { border-color: rgba(20, 22, 26, .28); color: var(--inkt); }
.knop--donker:hover { background: var(--inkt); color: #fff; border-color: var(--inkt); }

.knop--klein { padding: .62rem 1.05rem; font-size: .8rem; }

/* --- kopbalk ------------------------------------------------------------- */

.kop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .85rem var(--pad-r) .85rem var(--draad-x);
  color: #fff;
  background: transparent;
  transition: background-color .35s ease, padding .35s ease, box-shadow .35s ease;
}

/* Boven de hero staat de kopbalk op de foto: een smalle schaduw erachter
   houdt de witte tekst leesbaar, ook zonder beweging. */
.kop::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(10, 11, 13, .62), rgba(10, 11, 13, 0));
  transition: opacity .35s ease;
}
.kop--vast::before { opacity: 0; }

.kop--vast {
  background: rgba(16, 18, 21, .93);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .1);
  padding-top: .6rem;
  padding-bottom: .6rem;
}

@supports (backdrop-filter: blur(8px)) {
  .kop--vast { background: rgba(16, 18, 21, .82); backdrop-filter: blur(10px); }
}

.merk {
  position: relative;
  font-family: var(--serif);
  font-size: 1.12rem;
  letter-spacing: .005em;
  text-decoration: none;
  padding-left: 1.05rem;
  white-space: nowrap;
}
.merk::before {
  content: '';
  position: absolute;
  left: -4px;
  top: .62em;
  width: 8px;
  height: 8px;
  background: var(--rood-fel);
  transform: rotate(45deg);
}

.navigatie {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
  margin-left: auto;
}

.navigatie a {
  position: relative;
  font-size: .85rem;
  font-weight: 500;
  text-decoration: none;
  padding: .3rem 0;
  color: rgba(255, 255, 255, .86);
  transition: color .2s ease;
}
.navigatie a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--rood-fel);
  transition: right .3s ease;
}
.navigatie a:hover, .navigatie a.actief { color: #fff; }
.navigatie a:hover::after, .navigatie a.actief::after { right: 0; }

.kop__acties { display: flex; align-items: center; gap: .75rem; }

.menuknop {
  display: none;
  align-items: center;
  gap: .55rem;
  background: none;
  border: 0;
  padding: .5rem 0;
  color: #fff;
  font-family: var(--ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}
.menuknop__streep {
  position: relative;
  display: block;
  width: 22px;
  height: 1px;
  background: #fff;
}
.menuknop__streep::before,
.menuknop__streep::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: #fff;
  transition: transform .3s ease;
}
.menuknop__streep::before { top: -6px; }
.menuknop__streep::after { top: 6px; }

@media (max-width: 1060px) {
  .menuknop { display: inline-flex; }
  .navigatie {
    position: fixed;
    inset: 0;
    z-index: 70;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    margin: 0;
    padding: 5rem var(--pad-l);
    background: var(--inkt);
    transform: translateY(-100%);
    visibility: hidden;
    transition: transform .45s cubic-bezier(.4, 0, .2, 1), visibility .45s;
  }
  .navigatie a { font-family: var(--serif); font-size: 1.9rem; font-weight: 300; color: #fff; }
  .navigatie a::after { display: none; }
  .menu-open .navigatie { transform: none; visibility: visible; }
  .menu-open .merk,
  .menu-open .kop__acties { position: relative; z-index: 80; }
  .menu-open .menuknop__streep { background: transparent; }
  .menu-open .menuknop__streep::before { transform: translateY(6px) rotate(45deg); }
  .menu-open .menuknop__streep::after { transform: translateY(-6px) rotate(-45deg); }
  .menu-open { overflow: hidden; }
}

@media (max-width: 560px) {
  .kop__acties .knop { display: none; }
}

/* --- de opening ---------------------------------------------------------- */

/* Het focuspunt ligt iets onder het midden: zo blijft de gevel met de naam op
   de ramen in beeld wanneer de filmband helemaal open staat. */
.opening__foto { object-position: 50% 64%; }

.opening__kop {
  display: grid;
  gap: clamp(.65rem, 1.5svh, 1.1rem);
  padding: 0 var(--pad-r) clamp(2rem, 5.5svh, 3.75rem) var(--pad-l);
  color: #fff;
}

.opmaat {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.opening__kop h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.35rem, 5.8vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.028em;
  max-width: 15ch;
}

.hero-regel {
  max-width: 44ch;
  color: rgba(255, 255, 255, .8);
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
}

.opening__knoppen {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: .4rem;
}

.slotregel {
  padding: 0 var(--pad-r) clamp(3rem, 9svh, 6rem) var(--pad-l);
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.6rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #fff;
  max-width: 18ch;
}

.opening__wenk {
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.opening__wenk::after {
  content: '';
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
}

@media (max-width: 560px) {
  .opening__wenk { display: none !important; }
}

/* --- 01 het kantoor ------------------------------------------------------ */

.kantoor {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
}

@media (min-width: 960px) {
  .kantoor { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(3rem, 7vw, 7rem); }
}

.lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.45rem, 2.7vw, 2.2rem);
  line-height: 1.24;
  letter-spacing: -.017em;
  max-width: 27ch;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.kolomtekst { display: grid; gap: 1rem; max-width: 56ch; color: var(--grijs-licht); }
.kolomtekst .nadruk { color: #fff; font-weight: 500; }

.index { align-self: end; }

.index__titel {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .19em;
  text-transform: uppercase;
  color: var(--rood-fel);
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(255, 255, 255, .17);
}

.index__rij {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  align-items: baseline;
  gap: .5rem;
  padding: .95rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .13);
  text-decoration: none;
  transition: padding-left .3s ease, border-color .3s ease;
}
.index__rij:hover { padding-left: .5rem; border-bottom-color: rgba(255, 255, 255, .4); }

.index__nr {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--rood-fel);
}
.index__naam {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.2;
}

/* --- overgangen met een foto over de kleurgrens -------------------------- */

/* De kleur wisselt halverwege de foto. Omdat de foto de kantlijn vrijlaat,
   zie je de omslag daar als een harde grens, en loopt de ene sectie dus
   letterlijk in de volgende over. */
.overgang { padding-top: clamp(1.5rem, 3.5vw, 3rem); }
.overgang--naar-papier { background: linear-gradient(to bottom, var(--inkt) 0 52%, var(--papier) 52% 100%); }
.overgang--naar-inkt { background: linear-gradient(to bottom, var(--papier) 0 46%, var(--inkt) 46% 100%); }

/* De foto's lopen rechts van het beeld af, maar nooit over de draad heen:
   de kantlijn links blijft de hele pagina door vrij. */
.band {
  position: relative;
  z-index: 2;
  margin: 0 0 0 calc(var(--draad-x) + clamp(.9rem, 2.2vw, 2.5rem));
}

.band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 74svh;
  object-fit: cover;
  object-position: 50% 54%;
}

/* Een band middenin een sectie krijgt lucht boven en onder; in een overgang
   sluit hij juist strak aan op de volgende sectie. */
.sectie > .band {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.band--laag img { aspect-ratio: 32 / 9; max-height: 46svh; object-position: 50% 62%; }

.band--rechts { margin-left: calc(var(--draad-x) + clamp(1.5rem, 13vw, 15rem)); }
.band--rechts img { aspect-ratio: 2 / 1; max-height: 62svh; object-position: 50% 58%; }

.band__bij {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: .7rem 1.1rem;
  background: var(--rood);
  color: #fff;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.band__bij--licht { left: auto; right: 0; }

@media (max-width: 700px) {
  .band img { aspect-ratio: 4 / 3; }
  .band--laag img { aspect-ratio: 16 / 9; }
  .band--rechts img { aspect-ratio: 4 / 3; }
  .band__bij { font-size: .62rem; padding: .55rem .85rem; }
}

/* --- 02 rechtsgebieden --------------------------------------------------- */

.terreinen {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--lijn-rand);
}

@media (min-width: 820px) {
  .terreinen {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 0;
    gap: 1px;
    background: var(--lijn-rand);
  }
}

.terrein {
  position: relative;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--lijn-rand);
  background: var(--papier);
}

@media (min-width: 820px) {
  .terrein {
    padding: 1.5rem clamp(1rem, 1.8vw, 1.75rem) 2.4rem;
    border-bottom: 0;
    border-top: 2px solid var(--inkt);
  }
  .terrein:first-child { padding-left: 0; }
}

.terrein__nr {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--rood);
  margin-bottom: .7rem;
}

.terrein__naam {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  line-height: 1.14;
  letter-spacing: -.012em;
  margin-bottom: .45rem;
}

.terrein__bij {
  font-size: .89rem;
  color: var(--grijs);
  max-width: 28ch;
}

.situaties { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }

@media (min-width: 900px) {
  .situaties { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 5rem); }
}

.situatie__kop {
  font-family: var(--ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--inkt);
  padding-bottom: .85rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--lijn-rand);
}

.opsomming { display: grid; gap: .85rem; }

.opsomming li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .95rem;
  line-height: 1.55;
  color: var(--grijs);
}
.opsomming li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .68em;
  width: .65rem;
  height: 1px;
  background: var(--rood);
}

.uitgelicht {
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.5rem);
  border-left: 3px solid var(--rood);
  background: var(--mist);
  max-width: 68ch;
}

.uitgelicht__kop {
  font-family: var(--ui);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}

.uitgelicht__tekst { color: var(--grijs); font-size: .98rem; }

.lidmaatschap {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid var(--lijn-rand);
}

@media (min-width: 900px) {
  .lidmaatschap { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: start; }
}

.lidmaatschap__tekst { color: var(--grijs); font-size: .95rem; max-width: 60ch; }

.lidmaatschap__links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }

.lidmaatschap__links a {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--rood);
  border-bottom: 1px solid rgba(200, 32, 28, .35);
  padding-bottom: 2px;
  transition: border-color .25s ease;
}
.lidmaatschap__links a:hover { border-bottom-color: var(--rood); }

/* --- 03 ons team --------------------------------------------------------- */

.team { display: grid; gap: clamp(2.25rem, 4vw, 3.25rem); }

@media (min-width: 760px) {
  .team { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
  .lid:nth-child(2) { margin-top: clamp(1.5rem, 4vw, 4rem); }
  .lid:nth-child(3) { margin-top: clamp(.5rem, 1.8vw, 1.75rem); }
}

.lid__beeld { margin: 0 0 1.1rem; overflow: hidden; background: #e4e3e0; }

.lid__beeld img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .9s cubic-bezier(.22, .61, .36, 1);
}
.lid:hover .lid__beeld img { transform: scale(1.04); }

.lid__naam {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1;
  letter-spacing: -.02em;
  padding-top: .9rem;
  border-top: 2px solid var(--inkt);
}

.lid__titel {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--rood);
  margin: .5rem 0 .9rem;
}

.lid__tekst { font-size: .95rem; color: var(--inkt); margin-bottom: .8rem; }

.lid__registratie {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--grijs);
  padding-top: .8rem;
  border-top: 1px solid var(--lijn-rand);
}

/* --- 04 tarieven --------------------------------------------------------- */

.tarieven { display: grid; gap: clamp(1.75rem, 3.5vw, 2.75rem); }

@media (min-width: 820px) {
  .tarieven { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 6rem); }
}

.tarief { display: grid; gap: .75rem; align-content: start; }

.tarief__kop {
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.15;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--lijn-rand);
}

.tarief__tekst { font-size: .93rem; color: var(--grijs); max-width: 54ch; }

.document {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 2px solid var(--inkt);
}

.document__knop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
}
.document__knop::-webkit-details-marker { display: none; }

.document__knop::after {
  content: '+';
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--lijn-rand);
  color: var(--rood);
  font-size: 1.1rem;
  font-weight: 400;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.document__knop:hover::after { background: var(--rood); border-color: var(--rood); color: #fff; }
.document[open] .document__knop::after { content: '\2013'; }

.document__inhoud {
  display: grid;
  gap: .9rem;
  max-width: 78ch;
  padding: .5rem 0 2rem;
  font-size: .86rem;
  line-height: 1.6;
  color: var(--grijs);
}

/* --- 05 route en contact ------------------------------------------------- */

.contact { display: grid; gap: clamp(2.5rem, 5vw, 4rem); }

@media (min-width: 960px) {
  .contact { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(3rem, 6vw, 6rem); align-items: start; }
}

.kaartje {
  display: grid;
  gap: 1.6rem;
  padding: clamp(1.6rem, 3.2vw, 2.6rem);
  background: var(--papier);
  color: var(--inkt);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.kaartje__logo {
  width: auto;
  height: clamp(2.1rem, 3.4vw, 2.7rem);
  margin-bottom: .2rem;
}

.kaartje__blok { display: grid; gap: .15rem; }

.kaartje__regel { font-size: .95rem; color: var(--inkt); }
.kaartje__regel--link {
  justify-self: start;
  color: var(--rood);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 32, 28, .35);
  transition: border-color .25s ease;
}
.kaartje__regel--link:hover { border-bottom-color: var(--rood); }

.route { display: grid; grid-template-columns: 4.6rem 1fr; gap: .45rem .9rem; margin: .35rem 0 0; }
.route dt { font-size: .78rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--inkt); padding-top: .15rem; }
.route dd { margin: 0; font-size: .89rem; color: var(--grijs); }

.kaartje__plattegrond { margin: 0; border: 1px solid var(--lijn-rand); }
.kaartje__plattegrond img { width: 100%; }

.kaartje .knop { justify-self: start; }

.bericht__kop {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.1;
  letter-spacing: -.018em;
  margin-bottom: .75rem;
}

.bericht__bij { color: var(--grijs-licht); font-size: .95rem; max-width: 46ch; margin-bottom: 1.75rem; }

.formulier { display: grid; gap: 1.1rem; }

.veld { display: grid; gap: .4rem; }

.veld label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .72);
}

.veld input,
.veld textarea {
  width: 100%;
  padding: .8rem .9rem;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 1px;
  color: #fff;
  font-family: var(--ui);
  font-size: .95rem;
  line-height: 1.5;
  transition: border-color .25s ease, background-color .25s ease;
}
.veld textarea { resize: vertical; min-height: 7rem; }

.veld input:hover,
.veld textarea:hover { border-color: rgba(255, 255, 255, .4); }
.veld input:focus,
.veld textarea:focus { outline: 0; border-color: var(--rood-fel); background: rgba(255, 255, 255, .08); }

.formulier .knop { justify-self: start; }

.formulier__melding {
  padding: .9rem 1.1rem;
  border-left: 3px solid var(--rood-fel);
  background: rgba(255, 255, 255, .06);
  font-size: .88rem;
  color: #fff;
  max-width: 48ch;
}
.formulier__melding[hidden] { display: none; }

.directe-lijn {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.75rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, .17);
}

/* --- 06 enquete ---------------------------------------------------------- */

.enquete { display: grid; gap: clamp(1.25rem, 3vw, 2.5rem); }

@media (min-width: 900px) {
  .enquete { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
}

.enquete__kop {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.8vw, 2.3rem);
  line-height: 1.14;
  letter-spacing: -.018em;
  max-width: 20ch;
}

.enquete__kolom { display: grid; gap: 1.4rem; justify-items: start; }
.enquete__tekst { color: var(--grijs-licht); font-size: .95rem; max-width: 52ch; }

/* --- voettekst ----------------------------------------------------------- */

.voet {
  background: var(--inkt);
  color: #fff;
  padding-block: clamp(3rem, 5.5vw, 4.5rem) clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid rgba(255, 255, 255, .13);
}

.voet__rooster { display: grid; gap: 2.25rem; }

@media (min-width: 760px) {
  .voet__rooster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
}

.voet__blok { display: grid; gap: .2rem; align-content: start; }

.voet__naam {
  font-family: var(--serif);
  font-size: 1.3rem;
  margin-bottom: .55rem;
}

.voet__regel { font-size: .9rem; color: var(--grijs-licht); }
.voet__regel--link {
  justify-self: start;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .25);
  transition: border-color .25s ease, color .25s ease;
}
.voet__regel--link:hover { color: #fff; border-bottom-color: var(--rood-fel); }

.voet__nav { display: grid; gap: .25rem; justify-items: start; }
.voet__nav a {
  font-size: .9rem;
  color: var(--grijs-licht);
  text-decoration: none;
  transition: color .2s ease;
}
.voet__nav a:hover { color: #fff; }

.voet__slot {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .13);
  font-size: .78rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .55);
}

/* --- onthullen ----------------------------------------------------------- */

.reveal-aan [data-reveal],
.reveal-aan [data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .85s cubic-bezier(.22, .61, .36, 1), transform .85s cubic-bezier(.22, .61, .36, 1);
  transition-delay: calc(var(--i, 0) * 85ms);
}

.reveal-aan [data-reveal].zichtbaar,
.reveal-aan [data-reveal-group] > .zichtbaar {
  opacity: 1;
  transform: none;
}

.reveal-aan figure[data-reveal] img { transform: scale(1.06); transition: transform 1.4s cubic-bezier(.22, .61, .36, 1); }
.reveal-aan figure[data-reveal].zichtbaar img { transform: none; }

/* --- 404 ----------------------------------------------------------------- */

.verdwaald {
  min-height: 100svh;
  display: grid;
  align-content: center;
  gap: 1.5rem;
  background: var(--inkt);
  color: #fff;
  padding: 6rem var(--pad-r) 4rem var(--pad-l);
}
.verdwaald__kop {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.025em;
  max-width: 16ch;
}
.verdwaald .sectiemerk { color: var(--rood-fel); }
.verdwaald .sectiemerk::before { background: var(--rood-fel); }
.verdwaald__tekst { color: var(--grijs-licht); max-width: 44ch; }
.verdwaald__knoppen { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .5rem; }

/* --- minder beweging ----------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .knop:hover { transform: none; }
}
