/* HWG De Borcht Baarlo – sitestijl. Geen externe lettertypen of scripts (AVG-vriendelijk). */
:root {
  --ink: #2a2420;
  --ink-soft: #5e544c;
  --paper: #fbf8f3;
  --paper-2: #f2ebdf;
  --line: #e2d8c8;
  --brick: #8b2e1c;
  --brick-dark: #6a2215;
  --gold: #b3832b;
  --white: #fff;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(42,36,32,.06), 0 6px 20px rgba(42,36,32,.07);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.65 var(--sans); }
img { max-width: 100%; height: auto; }
a { color: var(--brick); text-underline-offset: .15em; }
a:hover { color: var(--brick-dark); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--white); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { flex: none; }
.brand .toren { width: 45px; height: 64px; }
.brand-tekst { display: flex; flex-direction: column; gap: 4px; }
.brand-tekst strong { font: 600 2rem/1 var(--serif); letter-spacing: -.01em; color: var(--ink); }
.brand-tekst small { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brick); }
.brand .eigen-logo { height: 56px; width: auto; max-width: 160px; }

.header-acties { display: flex; align-items: center; gap: 12px; }
.kop-zoek { display: flex; align-items: center; border: 1px solid #cdbfab; border-radius: 999px; padding: 3px 4px 3px 16px; background: var(--paper); }
.kop-zoek input[type=search] { border: 0; border-radius: 0; background: transparent; padding: 6px 0; width: 190px; font-size: .92rem; outline: none; }
.kop-zoek input:focus { outline: none; }
.kop-zoek:focus-within { border-color: var(--brick); }
.kop-zoek button { width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-soft); cursor: pointer; display: grid; place-items: center; }
.kop-icoon { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); place-items: center; }
.kop-lid { white-space: nowrap; }
.main-nav { background: var(--brick); }
.main-nav > ul { list-style: none; margin: 0 auto; padding: 0; display: flex; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 6px; padding: 13px 16px; color: #fbeee6; text-decoration: none; font-weight: 500; font-size: .95rem; }
.main-nav > ul > li > a:hover, .main-nav > ul > li:hover > a, .main-nav > ul > li:focus-within > a { background: rgba(0,0,0,.14); color: var(--white); }
.main-nav > ul > li > a.actief { background: rgba(0,0,0,.18); color: var(--white); box-shadow: inset 0 -3px 0 var(--gold); }
.main-nav .pijl { opacity: .85; }
.sub-toggle { display: none; }
.submenu { list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 280px; background: var(--white); border: 1px solid var(--line); border-radius: 0 0 10px 10px; box-shadow: 0 12px 28px rgba(42,36,32,.16); visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 30; }
.heeft-sub:hover > .submenu, .heeft-sub:focus-within > .submenu { visibility: visible; opacity: 1; transform: none; }
.submenu a { display: block; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.submenu a:hover, .submenu a:focus { background: var(--paper-2); }
.submenu strong { display: block; font-weight: 600; font-size: .98rem; }
.submenu span { display: block; font-size: .85rem; color: var(--ink-soft); }
.nav-toggle { display: none; background: var(--white); border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle span:first-child, .nav-toggle span:first-child::before, .nav-toggle span:first-child::after { position: absolute; left: 11px; width: 20px; height: 2px; background: var(--ink); content: ""; transition: transform .2s; }
.nav-toggle span:first-child { top: 21px; }
.nav-toggle span:first-child::before { left: 0; top: -6px; }
.nav-toggle span:first-child::after { left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] span:first-child { background: transparent; }
.nav-toggle[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero / diashow */
.hero { position: relative; min-height: clamp(380px, 38vw, 500px); overflow: hidden; background: #5d4b3a; display: flex; align-items: flex-end; }
.hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-slides img.actief { opacity: 1; }
.hero-tekst { position: relative; z-index: 1; width: 100%; padding: 120px 0 72px; background: linear-gradient(to top, rgba(20,14,10,.8), rgba(20,14,10,0)); color: var(--white); }
.hero h1 { color: var(--white); max-width: 760px; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.12; margin: 0; text-shadow: 0 1px 3px rgba(0,0,0,.35); }
.hero p { max-width: 640px; font-size: 1.15rem; color: #f3ebe0; margin: 14px 0 0; }
.hero-knoppen { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.knop.licht { background: var(--white); color: var(--ink); }
.knop.licht:hover { background: var(--paper-2); color: var(--ink); }
.knop.omlijnd { background: transparent; border: 2px solid var(--white); color: var(--white); padding: 8px 20px; }
.knop.omlijnd:hover { background: rgba(255,255,255,.12); color: var(--white); }

/* Homepagina */
.main-vol { padding-bottom: 72px; }
.main-vol:has(> .home-geschiedenis:last-child) { padding-bottom: 0; }
.snel { display: flex; flex-wrap: wrap; gap: 16px; margin-top: -44px; position: relative; z-index: 2; }
.tegel { flex: 1 1 230px; display: flex; flex-direction: column; gap: 3px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; text-decoration: none; color: var(--ink); box-shadow: 0 2px 4px rgba(42,36,32,.06), 0 10px 24px rgba(42,36,32,.1); transition: transform .15s, border-color .15s; }
a.tegel:hover { transform: translateY(-2px); border-color: var(--brick); color: var(--ink); }
.tegel-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.tegel-titel { font: 600 1.3rem/1.2 var(--serif); }
.tegel-tekst { font-size: .9rem; color: var(--ink-soft); }
.tegel.accent { background: var(--brick); border-color: var(--brick); color: #fbeee6; }
.tegel.accent .tegel-label { color: #f1d9a8; }
.tegel.accent .tegel-titel { color: var(--white); }
.tegel.accent .tegel-tekst { color: #f6e3d8; }
.home-intro { margin-top: 48px; }
.home-nieuws { margin-top: 64px; }
.sectiekop { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.sectiekop h2 { margin: 0; font-size: 2rem; }
.sectiekop a { font-weight: 600; text-decoration: none; }
.nieuws-raster { display: flex; flex-wrap: wrap; gap: 24px; }
.uitgelicht { flex: 3 1 520px; display: flex; flex-wrap: wrap; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.uitgelicht-beeld { flex: 1 1 280px; min-height: 280px; background: var(--paper-2); display: block; }
.uitgelicht-beeld img { width: 100%; height: 100%; object-fit: cover; display: block; }
.uitgelicht-tekst { flex: 1 1 280px; padding: 26px 28px; display: flex; flex-direction: column; gap: 8px; }
.uitgelicht time, .nieuws-klein time { font-size: .8rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.uitgelicht h3 { margin: 0; font-size: 1.6rem; line-height: 1.2; }
.uitgelicht h3 a, .nieuws-klein h3 a { color: var(--ink); text-decoration: none; }
.uitgelicht h3 a:hover, .nieuws-klein h3 a:hover { color: var(--brick); }
.uitgelicht p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.uitgelicht .lees { margin-top: auto; font-weight: 600; text-decoration: none; }
.nieuws-lijst { flex: 2 1 340px; display: flex; flex-direction: column; gap: 16px; }
.nieuws-klein { display: flex; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.nieuws-klein-beeld { flex: none; width: 96px; height: 96px; border-radius: 8px; overflow: hidden; background: var(--paper-2); display: block; }
.nieuws-klein-beeld img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nieuws-klein h3 { margin: 4px 0 0; font-size: 1.2rem; line-height: 1.25; }
.home-geschiedenis { background: var(--paper-2); margin-top: 72px; padding: 56px 0 64px; }
.home-geschiedenis h2 { margin: 0 0 4px; font-size: 2rem; }
.sectie-intro { margin: 0 0 26px; color: var(--ink-soft); }
.periodes { display: flex; flex-wrap: wrap; gap: 16px; }
.periode { flex: 1 1 200px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s; }
.periode:hover { transform: translateY(-2px); border-color: var(--brick); color: var(--ink); }
.periode-beeld { display: block; height: 130px; background: linear-gradient(135deg, #a28a6b, #7d6a52); }
.periode-beeld img { width: 100%; height: 100%; object-fit: cover; display: block; filter: sepia(.15); }
.periode-tekst { display: block; padding: 14px 16px 18px; }
.periode-label { display: block; font-size: .85rem; font-weight: 700; color: var(--gold); }
.periode-titel { display: block; font: 600 1.2rem/1.25 var(--serif); }

/* Geschiedenisartikel */
.kicker { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.artikel-titel { margin: 6px 0 8px; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.1; }
.leestijd { margin: 0 0 28px; font-size: .9rem; color: var(--ink-soft); }
.tekst.artikel > p.lead { font: 1.32rem/1.55 var(--serif); color: #3a312b; }
.tekst.artikel h2 { font-size: 1.7rem; margin-top: 1.8em; }
.tekst.artikel img { cursor: zoom-in; }
.reeks-nav { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
.reeks-nav a { flex: 1 1 240px; display: block; background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; text-decoration: none; color: var(--ink); font: 600 1.2rem/1.3 var(--serif); }
.reeks-nav a:hover { border-color: var(--brick); }
.reeks-nav small { display: block; font: 400 .78rem var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 2px; }
.reeks-nav .volgende { text-align: right; }
.reeks-label { margin: 0 0 2px; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold); }
.reeks h2 { margin: 0 0 10px; }
.reeks ol { list-style: none; margin: 0; padding: 0; }
.reeks li a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: .95rem; }
.reeks li a span { flex: none; width: 20px; color: #a99d90; }
.reeks li a:hover { background: var(--paper-2); }
.reeks li a[aria-current="page"] { background: var(--paper-2); color: var(--brick); font-weight: 600; }
.reeks li a[aria-current="page"] span { color: var(--brick); }
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(20,14,10,.92); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--white); font-size: 1.4rem; cursor: pointer; }

/* Layout */
.main { padding: 36px 0 56px; display: grid; gap: 40px; }
.main.met-zijbalk { grid-template-columns: minmax(0, 1fr) 300px; }
.content { min-width: 0; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; }
h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 .6em; font-weight: 600; }
h2 { font-size: 1.5rem; margin: 1.6em 0 .5em; font-weight: 600; }
h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.tekst { max-width: 72ch; }
.tekst > :first-child { margin-top: 0; }
.tekst img { border-radius: 6px; }
.tekst td img { max-width: none; }
.tekst .img-links { float: left; margin: .3em 1.2em .8em 0; max-width: 45%; }
.tekst .img-rechts { float: right; margin: .3em 0 .8em 1.2em; max-width: 45%; }
.tekst .img-midden { display: block; margin: 1em auto; }
.tekst table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: .95rem; display: block; overflow-x: auto; }
.tekst th, .tekst td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; vertical-align: top; }
.tekst th { background: var(--paper-2); }
.tekst blockquote { margin: 1.2em 0; padding: .4em 1.2em; border-left: 4px solid var(--gold); background: var(--paper-2); font-style: italic; }
.tekst iframe { max-width: 100%; border: 0; aspect-ratio: 16/9; width: 100%; height: auto; }
.tekst .let-op { background: #fff6e0; border: 1px solid #ecd9a6; padding: 12px 16px; border-radius: var(--radius); }
.tekst::after { content: ""; display: block; clear: both; }
.kruimels { font-size: .88rem; color: var(--ink-soft); margin-bottom: 14px; }
.kruimels a { color: var(--ink-soft); }
.knop { display: inline-block; background: var(--brick); color: var(--white); border: 0; border-radius: 999px; padding: 10px 22px; font: 600 .95rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.knop:hover { background: var(--brick-dark); color: var(--white); }

/* Zijbalk */
.sidebar { display: flex; flex-direction: column; gap: 20px; }
.blok { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow); font-size: .95rem; }
.blok h2, .blok h3 { font-size: 1.15rem; margin: 0 0 .6em; }
.blok h2 a { color: var(--ink); text-decoration: none; }
.subnav ul { list-style: none; margin: 0; padding: 0; }
.subnav li a { display: block; padding: 7px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.subnav li a:hover { background: var(--paper-2); }
.subnav li a.actief { color: var(--brick); font-weight: 600; }
.subnav li a[aria-current="page"] { background: var(--paper-2); }
.subnav ul ul { margin: 2px 0 6px 12px; border-left: 2px solid var(--line); padding-left: 6px; font-size: .92rem; }

/* Nieuwskaarten */
.sectietitel { font-size: 1.8rem; }
.intro + .nieuws-home { margin-top: 32px; }
.kaarten { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.kaart { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.kaart:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(42,36,32,.08), 0 12px 28px rgba(42,36,32,.12); }
.kaart a { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.kaart img, .kaart .geen-afbeelding { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; background: var(--paper-2); }
.kaart .geen-afbeelding { background: linear-gradient(135deg, var(--paper-2), var(--line)); }
.kaart-tekst { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.kaart time { font-size: .82rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .04em; }
.kaart h3 { margin: .3em 0 .4em; font-size: 1.15rem; }
.kaart p { margin: 0 0 12px; font-size: .94rem; color: var(--ink-soft); }
.kaart .lees { margin-top: auto; color: var(--brick); font-weight: 600; font-size: .92rem; }
.kaarten.klein { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.kaart.klein h3 { font-size: 1rem; }
.kaart.klein .kaart-tekst { padding: 12px 14px 14px; }
.meer { margin-top: 26px; }
.jaar { border-bottom: 2px solid var(--line); padding-bottom: 6px; margin-top: 1.8em; }

/* Nieuwsbericht */
.nieuwsbericht .datum { color: var(--ink-soft); margin: -.4em 0 1.2em; }
.hoofdafbeelding { margin: 0 0 1.4em; }
.hoofdafbeelding img { border-radius: var(--radius); max-height: 520px; width: auto; }
.vorige-volgende { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 20px; }
.vorige-volgende a { text-decoration: none; display: block; }
.vorige-volgende small { display: block; color: var(--ink-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.vorige-volgende .volgende { text-align: right; }

/* Documentlijsten */
.doclijst, .bv-lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.doclijst a, .bv-lijst a { display: flex; align-items: center; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, background .15s; }
.doclijst a:hover, .bv-lijst a:hover { border-color: var(--brick); background: #fffdf9; }
.pdf-icoon { flex: none; font: 700 .7rem/1 var(--sans); color: var(--white); background: var(--brick); border-radius: 4px; padding: 6px 5px; letter-spacing: .03em; }
.docnaam, .bv-titel { flex: 1; font-weight: 500; }
.docinfo { color: var(--ink-soft); font-size: .85rem; white-space: nowrap; }
.bv-lijst { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bv-nr { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--paper-2); border: 2px solid var(--gold); display: grid; place-items: center; font: 700 1rem/1 var(--serif); color: var(--brick); }

/* Zoeken */
.zoekformulier { display: flex; gap: 10px; margin-bottom: 24px; max-width: 640px; }
.zoekformulier input { flex: 1; }
.zoekresultaat { padding: 14px 0; border-bottom: 1px solid var(--line); }
.zoekresultaat h3 { margin: 0 0 4px; font-size: 1.1rem; }
.zoekresultaat p { margin: 0; color: var(--ink-soft); font-size: .93rem; }
.zoekresultaat mark { background: #f7e3a8; color: inherit; padding: 0 1px; }

/* Formulieren */
input[type=text], input[type=email], input[type=tel], input[type=search], input[type=number], input[type=date], select, textarea {
  width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cdbfab; border-radius: 8px; background: var(--white); color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--brick); outline: 2px solid rgba(139,46,28,.2); }
.formulier { max-width: 600px; margin-top: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.veld { margin-bottom: 16px; }
.veld label { display: block; font-weight: 600; margin-bottom: 5px; font-size: .95rem; }
.veld-checkbox label { font-weight: 400; }
.verplicht { color: var(--brick); }
.verplicht-uitleg { font-size: .85rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.formulier-melding:not(:empty) { margin-top: 16px; padding: 12px 16px; border-radius: 8px; }
.formulier-melding.ok { background: #e7f4e6; border: 1px solid #b9dcb5; }
.formulier-melding.fout { background: #fbeae6; border: 1px solid #ecc0b5; }

/* Footer */
.site-footer { background: var(--ink); color: #d9cfc3; font-size: .95rem; }
.footer-logo { display: flex; align-items: center; gap: 16px; padding: 44px 0 8px; }
.footer-logo .brand-tekst strong { color: #fbf3e6; font-size: 1.8rem; }
.footer-logo .brand-tekst small { color: #f1d9a8; }
.footer-kolommen { display: flex; flex-wrap: wrap; gap: 32px 56px; padding: 24px 0 28px; }
.footer-kolom { flex: 1 1 220px; }
.footer-kolom h2 { font-size: 1.25rem; color: var(--white); margin: 0 0 10px; }
.footer-kolom ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-text p { margin: 0 0 .5em; }
.footer-text.tekst { max-width: none; }
.site-footer a { color: #f1d9a8; }
.footer-onder { border-top: 1px solid #4a3f37; padding: 16px 0 28px; font-size: .85rem; color: #a99d90; }

/* Mobiel */
@media (max-width: 1040px) {
  .kop-zoek { display: none; }
  .kop-icoon { display: grid; }
}
@media (max-width: 900px) {
  .main.met-zijbalk { grid-template-columns: 1fr; }
  .sidebar { order: 2; }
}
@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle { display: block; }
  .kop-lid { display: none; }
  .brand .toren { width: 34px; height: 48px; }
  .brand { gap: 10px; }
  .brand-tekst strong { font-size: 1.45rem; }
  .brand-tekst small { font-size: .56rem; letter-spacing: .1em; white-space: nowrap; }
  .header-inner { padding: 10px 0; }
  .main-nav { display: none; background: var(--white); border-top: 1px solid var(--line); }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; width: auto; margin: 0 16px; padding: 6px 0 12px; }
  .periode { flex-basis: 140px; }
  .periode-beeld { height: 90px; }
  .main-nav > ul > li { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { flex: 1; color: var(--ink); padding: 13px 4px; font-size: 1.02rem; }
  .main-nav > ul > li > a:hover, .main-nav > ul > li:hover > a, .main-nav > ul > li:focus-within > a { background: none; color: var(--brick); }
  .main-nav > ul > li > a.actief { background: none; box-shadow: none; color: var(--brick); font-weight: 600; }
  .main-nav .pijl { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 48px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .submenu { position: static; visibility: visible; opacity: 1; transform: none; display: none; width: 100%; min-width: 0; border: 0; box-shadow: none; border-radius: 0; padding: 0 0 8px 12px; background: transparent; }
  .heeft-sub.open > .submenu { display: block; }
  .heeft-sub:hover > .submenu { visibility: visible; }
  .submenu span { display: none; }
  .hero-tekst { padding: 90px 0 64px; }
  .hero p { font-size: 1rem; }
  .snel { margin-top: -32px; }
  .tegel { flex-basis: 140px; padding: 16px; }
  .tegel-titel { font-size: 1.1rem; }
  .tegel-tekst { display: none; }
  .uitgelicht-beeld { min-height: 200px; }
  .main { padding-top: 24px; }
  .tekst .img-links, .tekst .img-rechts { float: none; max-width: 100%; margin: 1em 0; }
  .vorige-volgende { grid-template-columns: 1fr; }
  .vorige-volgende .volgende, .reeks-nav .volgende { text-align: left; }
  .zoekformulier { flex-direction: column; }
  .formulier { padding: 18px; }
  .tekst.artikel > p.lead { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
@media print {
  .site-header, .site-footer, .sidebar, .hero, .vorige-volgende { display: none; }
  body { background: #fff; }
}

/* Sprokkelingen */
.boeken-filter { margin: 8px 0 20px; font-size: .95rem; }
.boeken { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.boek { display: flex; gap: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow); }
.boek.uitverkocht { opacity: .78; }
.boek[hidden] { display: none; }
.boek-kaft { flex: none; width: 96px; }
.boek-kaft img { width: 96px; border-radius: 4px; box-shadow: 0 2px 6px rgba(0,0,0,.18); }
.boek-kaft span { display: grid; place-items: center; width: 96px; aspect-ratio: 3/4; background: var(--paper-2); border-radius: 4px; font: 700 1.4rem var(--serif); color: var(--brick); }
.boek-info { min-width: 0; font-size: .92rem; }
.boek-info h3 { margin: .1em 0 .3em; font-size: 1.08rem; }
.boek-info p { margin: 0 0 .35em; }
.boek-nr { color: var(--ink-soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; }
.boek-sub { font-style: italic; }
.boek-auteur, .boek-extra { color: var(--ink-soft); }
.label { display: inline-block; font-size: .78rem; font-weight: 600; padding: 3px 8px; border-radius: 999px; margin: 4px 4px 4px 0; }
.label.ok { background: #e4f1e1; color: #2f5d2a; }
.label.tweedehands { background: #fbf0d9; color: #7a5513; }
.label.uit { background: #eee6e2; color: #6b5d55; }
.knop.klein { padding: 7px 16px; font-size: .85rem; margin-top: 6px; }
@media (max-width: 760px) { .boeken { grid-template-columns: 1fr; } .boek-kaft, .boek-kaft img, .boek-kaft span { width: 72px; } }
