/* Het Prethuis — publieke site. Herkenbaar (koraalrood, beige, geel), praktisch, modern. */
:root {
  --brand: #e4574f;
  --brand-d: #c23e37;
  --brand-l: #fdecea;
  --beige: #ece3cf;
  --beige-l: #f6f1e5;
  --geel: #ffb400;
  --ink: #231f1e;
  --ink-2: #5b5552;
  --lijn: #e3ddd0;
  --wit: #fff;
  --ok: #2f8f4e;
  --straal: 16px;
  --schaduw: 0 1px 2px rgb(35 31 30 / .06), 0 8px 24px rgb(35 31 30 / .08);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body { margin: 0; font: 400 1.0625rem/1.6 var(--font); color: var(--ink); background: var(--beige-l); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-d); text-underline-offset: .15em; }
a:hover { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 750; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 2px; border-radius: 4px; }

/* meldingen */
.balk { background: var(--ink); color: #fff; font-size: .95rem; }
.balk p { margin: 0; padding: .55rem 1rem; text-align: center; }
.balk a { color: var(--geel); font-weight: 700; }
.balk--warn { background: #8a5a00; }
.balk--urgent { background: var(--brand-d); }
.callout { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--wit); border-left: 6px solid var(--geel); border-radius: var(--straal); padding: 1rem 1.25rem; margin: 1.25rem 0 0; box-shadow: var(--schaduw); }
.callout h2 { font-size: 1.2rem; margin: 0 0 .2rem; } .callout p { margin: 0; }
.callout--warn { border-color: #d98a00; } .callout--urgent { border-color: var(--brand); }

/* kop */
.kop { background: var(--wit); border-bottom: 4px solid var(--brand); position: sticky; top: 0; z-index: 50; }
.kop__in { display: flex; align-items: center; gap: 1.25rem; min-height: 4.5rem; }
.logo img { height: 3.4rem; width: auto; }
.nav { margin-left: auto; position: relative; }
.nav__lijst { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__lijst a { display: block; padding: .5rem .9rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.nav__lijst a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav__lijst a[aria-current="page"] { background: var(--brand); color: #fff; }
.nav__toggle, .nav__knop { display: none; }
.social { display: flex; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--ink); color: #fff; }
.social a:hover { background: var(--brand); color: #fff; }

/* secties */
.blok { padding: clamp(1.75rem, 4vw, 3rem) 0; }
.bg-beige { background: var(--beige); }
.bg-merk { background: var(--brand); color: #fff; } .bg-merk a { color: #fff; } .bg-merk .knop { background: #fff; color: var(--brand-d); }
.blok__titel { margin-bottom: 1.25rem; }
.leeg { color: var(--ink-2); }

/* knoppen, badges */
.knop { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: 999px; padding: .65rem 1.4rem; font: 800 .9rem var(--font); letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: transform .12s, background .12s; }
.knop:hover { background: var(--brand-d); color: #fff; transform: translateY(-1px); }
.knop--zacht { background: var(--wit); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.knop--zacht:hover { background: var(--ink); color: #fff; }
.badge { display: inline-block; background: var(--beige); color: var(--ink); border-radius: 6px; padding: .15rem .6rem; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .5rem; }
.badge--seizoen { background: var(--geel); }
.badge--uitverkocht { background: var(--ink); color: #fff; padding: .45rem .9rem; }
.mini { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: .05rem .4rem; border-radius: 4px; }
.mini--uitverkocht { background: var(--ink); color: #fff; } .mini--laatste { background: var(--geel); }

/* productiekaarten */
.raster { display: grid; grid-template-columns: repeat(var(--kol, 2), minmax(0, 1fr)); gap: 1.5rem; align-items: stretch; }
.uitgelicht { margin-bottom: 1.5rem; }
.kaart { background: var(--beige); border-radius: var(--straal); overflow: hidden; box-shadow: var(--schaduw); display: flex; flex-direction: column; height: 100%; }
.kaart--liggend { grid-column: 1 / -1; }
.kaart__beeld { display: block; background: #fff; }
.kaart__beeld img { width: 100%; }
.kaart__leeg { display: grid; place-items: center; aspect-ratio: 3/4; font-weight: 800; padding: 1rem; text-align: center; }
.kaart__body { padding: 1.1rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.kaart__titel { font-size: 1.35rem; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .01em; }
.kaart__titel a { color: var(--ink); text-decoration: none; } .kaart__titel a:hover { color: var(--brand-d); }
.kaart__titel small { display: block; font-size: .8em; text-transform: none; font-weight: 600; color: var(--ink-2); }
.kaart__data { list-style: none; margin: 0 0 .5rem; padding: 0; font-size: .95rem; }
.kaart__data li { padding: .2rem 0; border-bottom: 1px dashed rgb(35 31 30 / .18); }
.kaart__meer { font-size: .9rem; margin: 0 0 .75rem; }
.kaart__tekst { font-weight: 700; }
.kaart__tax { font-size: .74rem; color: var(--ink-2); line-height: 1.35; margin: .25rem 0 1rem; }
.kaart__acties { margin: auto 0 0; display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.kaart--verwacht { opacity: .96; }
.kaart--uitgelicht { display: grid; grid-template-columns: minmax(240px, 440px) 1fr; }
.kaart--uitgelicht .kaart__body { padding: 1.75rem 2rem; justify-content: center; }
.kaart--uitgelicht .kaart__titel { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.kaart--uitgelicht .kaart__acties { margin-top: 1rem; }
.kaart--uitgelicht.kaart--liggend .kaart__beeld { grid-column: 1 / -1; }

/* 1–2 kolommen: staande affiche naast de info (compact en praktisch) */
@media (min-width: 701px) {
  .raster--breed .kaart--staand { display: grid; grid-template-columns: minmax(150px, 38%) 1fr; }
  .raster--breed .kaart--staand { align-items: stretch; }
  .raster--breed .kaart--staand .kaart__beeld { align-self: start; }
}
@media (min-width: 1001px) {
  .raster--breed .kaart--liggend { display: grid; grid-template-columns: minmax(0, 58%) 1fr; align-items: center; }
}
@media (min-width: 701px) and (max-width: 1000px) { .raster--breed .kaart--staand { grid-template-columns: 1fr; } .raster--breed .kaart--staand .kaart__beeld img { height: auto; } }

/* lead / tekst / nieuws */
.lead { display: grid; gap: 2rem; align-items: center; }
.lead--beeld { grid-template-columns: 1.3fr 1fr; }
.lead__tekst { max-width: 70ch; } .lead__tekst p { font-size: 1.15rem; }
.lead__beeld { margin: 0; } .lead__beeld img { border-radius: var(--straal); box-shadow: var(--schaduw); width: 100%; }
.tekst { max-width: 70ch; }
.nieuws { background: var(--wit); border-radius: var(--straal); box-shadow: var(--schaduw); overflow: hidden; display: grid; max-width: 820px; }
.nieuws--beeld { grid-template-columns: minmax(180px, 300px) 1fr; }
.nieuws__beeld { width: 100%; height: 100%; object-fit: cover; }
.nieuws__body { padding: 1.25rem 1.5rem; }

/* galerij + affiches */
.galerij { display: grid; grid-template-columns: repeat(var(--kol, 4), minmax(0, 1fr)); gap: .6rem; }
.galerij__item { display: block; overflow: hidden; border-radius: 10px; background: var(--beige); aspect-ratio: 4/3; }
.galerij__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.galerij__item:hover img { transform: scale(1.04); }
.affiches { display: grid; grid-template-columns: repeat(var(--kol, 6), minmax(0, 1fr)); gap: 1rem; align-items: end; }
.affiche { margin: 0; }
.affiche--liggend { grid-column: span 2; }
.affiche a { display: block; border-radius: 8px; overflow: hidden; box-shadow: var(--schaduw); background: #fff; transition: transform .15s; }
.affiche a:hover { transform: translateY(-3px); }
.affiche img { width: 100%; }
.affiche figcaption { font-size: .8rem; font-weight: 700; margin-top: .35rem; line-height: 1.25; }

/* historiek */
.tijdlijn { list-style: none; margin: 0; padding: 0 0 0 1.25rem; border-left: 4px solid var(--brand); }
.tijdlijn__item { display: grid; grid-template-columns: 5rem 1fr; gap: 1rem; padding: 0 0 1.5rem; position: relative; }
.tijdlijn__item::before { content: ""; position: absolute; left: -1.75rem; top: .45rem; width: 14px; height: 14px; border-radius: 50%; background: var(--geel); border: 3px solid var(--brand); }
.tijdlijn__jaar { font-weight: 900; font-size: 1.4rem; color: var(--brand-d); line-height: 1.2; }
.tijdlijn__body h3 { margin-bottom: .3rem; } .tijdlijn__body p { margin: 0; max-width: 68ch; }
.tijdlijn__body img { margin-top: .75rem; border-radius: 10px; max-width: 420px; }

/* nieuwsbrief */
.nb { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; align-items: center; }
.nb h2 { margin-bottom: .4rem; } .nb p { margin: 0; }
.nb__form { display: grid; gap: .6rem; grid-template-columns: 1fr auto; align-items: start; }
.nb__form input[type=email], .contact__form input, .contact__form textarea { width: 100%; padding: .75rem 1rem; border: 2px solid var(--ink); border-radius: 12px; font: inherit; background: #fff; }
.nb__form .cf-turnstile, .nb__msg { grid-column: 1 / -1; }
.nb__msg { min-height: 1.2em; font-weight: 700; font-size: .95rem; margin: 0; }

/* productiepagina */
.kruimel { font-size: .9rem; color: var(--ink-2); margin-bottom: 1rem; }
.kruimel a { color: inherit; }
.productie__grid { display: grid; grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); gap: 2.5rem; align-items: start; }
.productie__grid--zonder { grid-template-columns: 1fr; }
.productie__affiche { display: block; border-radius: var(--straal); overflow: hidden; box-shadow: var(--schaduw); position: sticky; top: 6rem; }
.productie__info { margin-bottom: 1.25rem; }
.productie__info h1 { margin-bottom: .2rem; }
.productie__info .kaart__acties { margin-top: .75rem; }
.productie__affiche img { width: 100%; }
.productie__ondertitel { font-size: 1.3rem; font-weight: 700; color: var(--ink-2); }
.tags { list-style: none; display: flex; gap: .4rem; flex-wrap: wrap; padding: 0; margin: 1rem 0 0; }
.tags a { background: var(--wit); border: 1px solid var(--lijn); border-radius: 999px; padding: .15rem .7rem; font-size: .85rem; text-decoration: none; }
.tabs { display: flex; gap: .25rem; border-bottom: 3px solid var(--ink); margin-bottom: 1.5rem; }
.tab { padding: .6rem 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; text-decoration: none; color: var(--ink); border-radius: 10px 10px 0 0; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.tab__n { background: var(--brand); color: #fff; border-radius: 999px; padding: 0 .5rem; font-size: .75rem; margin-left: .25rem; }
.js .paneel { display: none; } .js .paneel.actief { display: block; }
.paneel + .paneel { margin-top: 2rem; } .js .paneel + .paneel { margin-top: 0; }
.productie__tekst { max-width: 70ch; }
.cast { columns: 2; padding-left: 1.2rem; } .cast li { break-inside: avoid; }
.credits { color: var(--ink-2); } .tax { font-size: .8rem; color: var(--ink-2); }
.lijst__kop { display: flex; justify-content: space-between; align-items: end; gap: 1rem; flex-wrap: wrap; }
.lijst__filter { font-size: .85rem; font-weight: 700; display: grid; gap: .2rem; }
.lijst__filter select { font: inherit; padding: .5rem .75rem; border: 2px solid var(--ink); border-radius: 10px; background: #fff; }
.lijst__noot { font-size: .85rem; color: var(--ink-2); }
.speel { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.speel__rij { display: grid; grid-template-columns: 6.5rem 1fr auto; gap: .5rem 1rem; align-items: center; background: #fff; border-radius: 12px; padding: .6rem 1rem; box-shadow: 0 1px 2px rgb(35 31 30 / .08); }
.speel__rij[hidden] { display: none; }
.speel__datum { display: flex; align-items: baseline; gap: .35rem; text-transform: uppercase; font-size: .8rem; }
.speel__dag { font-size: 1.7rem; font-weight: 900; line-height: 1; } .speel__mnd { font-weight: 800; color: var(--brand-d); }
.speel__plaats { display: grid; line-height: 1.3; } .speel__plaats span { color: var(--ink-2); font-size: .92rem; }
.speel__info { grid-column: 1 / -1; font-size: .9rem; } .speel__info summary { cursor: pointer; color: var(--brand-d); font-weight: 700; } .speel__info p { margin: .4rem 0 0; white-space: pre-line; }
.status { display: inline-block; min-width: 9.5rem; text-align: center; padding: .5rem 1rem; border-radius: 999px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; text-decoration: none; }
.status--beschikbaar { background: var(--brand); color: #fff; } a.status--beschikbaar:hover { background: var(--brand-d); color: #fff; }
.status--laatste { background: var(--geel); color: var(--ink); }
.status--uitverkocht { background: var(--ink); color: #fff; opacity: .85; }
.status--geannuleerd { background: var(--lijn); color: var(--ink-2); text-decoration: line-through; }

/* contact */
.contact__kolommen { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; }
.persoon { padding: .9rem 0; border-bottom: 1px solid var(--lijn); } .persoon p { margin: 0; }
.persoon__rol { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-d); } .persoon__naam { font-weight: 700; font-size: 1.1rem; }
.contact__form { display: grid; gap: .9rem; align-content: start; }
.contact__form label { display: grid; gap: .3rem; font-weight: 700; font-size: .9rem; }
.melding { padding: .8rem 1rem; border-radius: 12px; font-weight: 700; margin: 0; }
.melding--ok { background: #e3f4e8; color: #1d5e33; } .melding--fout { background: var(--brand-l); color: var(--brand-d); }

/* voet */
.voet { background: var(--ink); color: #d8d2c8; padding: 1.5rem 0; margin-top: 2rem; }
.voet__in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; } .voet p { margin: 0; font-size: .9rem; }
.voet .social a { background: #3b3533; } .voet .social a:hover { background: var(--brand); }

/* modal + lightbox */
.modal, .lightbox { border: 0; padding: 0; border-radius: var(--straal); max-width: min(92vw, 520px); box-shadow: 0 20px 60px rgb(0 0 0 / .4); }
.modal form { padding: 1.5rem; } .modal__acties { display: flex; gap: .6rem; flex-wrap: wrap; }
.modal::backdrop, .lightbox::backdrop { background: rgb(20 15 14 / .75); }
.lightbox { background: transparent; box-shadow: none; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; border-radius: 8px; }
.lightbox__sluit, .lightbox__nav { position: fixed; background: rgb(0 0 0 / .55); color: #fff; border: 0; font-size: 2rem; width: 3rem; height: 3rem; border-radius: 50%; cursor: pointer; line-height: 1; }
.lightbox__sluit { top: 1rem; right: 1rem; } .lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--vorige { left: 1rem; } .lightbox__nav--volgende { right: 1rem; }

/* responsief */
@media (max-width: 900px) {
  .raster { grid-template-columns: repeat(min(var(--kol, 2), 2), minmax(0, 1fr)); }
  .galerij { grid-template-columns: repeat(min(var(--kol, 4), 3), minmax(0, 1fr)); }
  .affiches { grid-template-columns: repeat(min(var(--kol, 6), 4), minmax(0, 1fr)); }
  .kaart--uitgelicht { grid-template-columns: 1fr; }
  .lead--beeld, .nb, .contact__kolommen, .productie__grid { grid-template-columns: 1fr; }
  .productie__affiche { max-width: 340px; position: static; }
}
@media (max-width: 760px) {
  .nav__knop { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--brand); cursor: pointer; }
  .nav__knop span, .nav__knop span::before, .nav__knop span::after { display: block; width: 1.3rem; height: 3px; background: #fff; border-radius: 2px; content: ""; position: relative; }
  .nav__knop span::before { position: absolute; top: -7px; } .nav__knop span::after { position: absolute; top: 7px; }
  .nav__lijst { display: none; position: absolute; right: 0; top: 3.2rem; flex-direction: column; background: #fff; padding: .5rem; border-radius: 14px; box-shadow: var(--schaduw); min-width: 13rem; }
  .nav__toggle:checked ~ .nav__lijst { display: flex; }
  .kop__in { gap: .75rem; } .logo img { height: 2.8rem; } .nav { margin-left: auto; }
}
@media (max-width: 640px) {
  .kaart--staand .kaart__beeld { background: var(--beige); }
  .kaart--staand .kaart__beeld img { max-height: 72vh; width: auto; max-width: 100%; margin-inline: auto; }
  .raster { grid-template-columns: 1fr; }
  .galerij { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .affiches { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem; }
  .affiche figcaption { font-size: .7rem; }
  .speel__rij { grid-template-columns: 4.5rem 1fr; } .speel__actie { grid-column: 1 / -1; } .status { width: 100%; }
  .nieuws--beeld { grid-template-columns: 1fr; } .cast { columns: 1; }
  .tijdlijn__item { grid-template-columns: 1fr; gap: .1rem; }
  .nb__form { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
