/* =========================================================================
   Taverne De Smidse — styles.css
   Intentie: "de gloed van de smidse" — ijzer, baksteen, koper, kaarslicht.
   Zie DESIGN-SYSTEM.md voor de volledige tokenverantwoording.
   ========================================================================= */

/* ---------- 1. Tokens ---------------------------------------------------- */

:root {
  /* Kleur */
  --ijzer:        #241E1A;   /* warm roetzwart — de grond van de sfeerbanden  */
  --ijzer-diep:   #1A1512;   /* dieper ijzer — kop, voet, kaders             */
  --mortel:       #E9E4DC;   /* kalkmortel — de leesgrond                    */
  --mortel-2:     #DFD8CE;   /* paneel op de lichte grond                    */
  --baksteen:     #8C4A32;   /* baksteen — labels en links op licht          */
  --koper:        #C08F3E;   /* messing — accent op donker                   */
  --koper-licht:  #E0B565;   /* opgepoetst messing — hover, focus            */
  --gloed:        #E08A3C;   /* de gloed van de kolen — alleen in verlopen   */
  --lei:          #262B29;   /* het bord — leisteen                          */
  --krijt:        #EDE7DA;   /* krijt op het bord                            */
  --inkt:         #241E1A;   /* tekst op licht                               */
  --inkt-zacht:   #4A403A;   /* bijtekst op licht                            */
  --kalk-tekst:   #EFE8DC;   /* tekst op donker                              */

  /* Contextvariabelen — worden per band overschreven */
  --accent: var(--baksteen);
  --focus:  var(--inkt);
  --lijn:   rgba(36, 30, 26, .16);
  --zacht:  var(--inkt-zacht);

  /* Typografie */
  --display: "Vollkorn", Georgia, "Times New Roman", serif;
  --tekst:   "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --t-mega:   clamp(2.5rem, 6.4vw, 4.25rem);
  --t-h1:     clamp(2.125rem, 5vw, 3.5rem);
  --t-h2:     clamp(1.75rem, 3.4vw, 2.5rem);
  --t-h3:     clamp(1.25rem, 1.9vw, 1.5rem);
  --t-lead:   clamp(1.125rem, 1.45vw, 1.3125rem);
  --t-body:   1.0625rem;  /* 17px */
  --t-klein:  1rem;       /* 16px — de ondergrens voor lopende tekst */

  /* Ruimte */
  --s-1: .25rem;  --s-2: .5rem;   --s-3: .75rem;  --s-4: 1rem;
  --s-5: 1.5rem;  --s-6: 2rem;    --s-7: 3rem;    --s-8: 4rem;
  --s-9: 6rem;    --s-10: 8rem;
  --band:  clamp(3.5rem, 8.5vw, 6.5rem);
  --marge: clamp(1.25rem, 5vw, 3rem);
  --wrap:  74rem;

  /* Vorm */
  --rond: 3px;
  --kop-h: 64px;

  /* Textuur */
  --korrel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
  --metselwerk-licht: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='72'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Crect x='0' y='0' width='90' height='30' rx='1'/%3E%3Crect x='96' y='0' width='42' height='30' rx='1'/%3E%3Crect x='0' y='36' width='42' height='30' rx='1'/%3E%3Crect x='48' y='36' width='90' height='30' rx='1'/%3E%3C/g%3E%3C/svg%3E");
  --metselwerk-donker: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='144' height='72'%3E%3Cg fill='%23241E1A' fill-opacity='0.045'%3E%3Crect x='0' y='0' width='90' height='30' rx='1'/%3E%3Crect x='96' y='0' width='42' height='30' rx='1'/%3E%3Crect x='0' y='36' width='42' height='30' rx='1'/%3E%3Crect x='48' y='36' width='90' height='30' rx='1'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- 2. Basis ----------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--mortel);
  color: var(--inkt);
  font-family: var(--tekst);
  font-size: var(--t-body);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.2; }

p { margin: 0; }
p + p { margin-top: var(--s-4); }

a { color: inherit; }

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

::selection { background: var(--koper); color: var(--ijzer); }

.overslaan {
  position: absolute;
  left: var(--s-4);
  top: -100px;
  z-index: 200;
  background: var(--koper);
  color: var(--ijzer);
  font-weight: 600;
  padding: var(--s-3) var(--s-5);
  border-radius: var(--rond);
  transition: top .2s ease;
}
.overslaan:focus { top: var(--s-3); }

.verborgen {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 3. Layoutprimitieven ---------------------------------------- */

.wrap {
  width: min(100% - (var(--marge) * 2), var(--wrap));
  margin-inline: auto;
}

.band {
  position: relative;
  padding-block: var(--band);
  scroll-margin-top: calc(var(--kop-h) + 12px);
}

.band--donker {
  background: var(--ijzer);
  color: var(--kalk-tekst);
  --accent: var(--koper);
  --focus:  var(--koper-licht);
  --lijn:   rgba(224, 181, 101, .26);
  --zacht:  rgba(239, 232, 220, .74);
}

.band--licht {
  background: var(--mortel);
  color: var(--inkt);
  --accent: var(--baksteen);
  --focus:  var(--inkt);
  --lijn:   rgba(36, 30, 26, .16);
  --zacht:  var(--inkt-zacht);
}

/* Metselwerk + korrel: de textuur die de site draagt in plaats van foto's. */
.band--donker::before,
.band--licht::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.band--donker::before {
  background-image: var(--metselwerk-licht);
  opacity: .8;
}
.band--licht::before {
  background-image: var(--metselwerk-donker);
  opacity: .65;
}
.band > .wrap { position: relative; z-index: 1; }

.korrel::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--korrel);
  opacity: .045;
  pointer-events: none;
  z-index: 0;
}

/* ---------- 4. Labels, naden, gloeidot ---------------------------------- */

.label {
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--accent);
  letter-spacing: .005em;
  margin: 0 0 var(--s-3);
  display: block;
}

/* De naad: een koperen haarlijn die zich uit het niets trekt. */
.naad {
  display: block;
  width: 84px;
  height: 1px;
  margin-bottom: var(--s-5);
  background: linear-gradient(90deg, var(--accent), transparent);
  transform-origin: left center;
}
.band--donker .naad { box-shadow: 0 0 9px rgba(224, 138, 60, .45); }

.gloeidot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: radial-gradient(circle at 38% 32%, #F5CE86, #C0762A 58%, #8A4A16);
  box-shadow: 0 0 10px 2px rgba(224, 138, 60, .40);
}
.gloeidot--klein { width: 7px; height: 7px; }

/* ---------- 5. Kop en navigatie ----------------------------------------- */

.kop {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ijzer-diep);
  color: var(--kalk-tekst);
  border-bottom: 1px solid rgba(224, 181, 101, .22);
  --focus: var(--koper-licht);
}
.kop::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(224, 181, 101, .55), transparent);
  opacity: 0;
  transition: opacity .35s ease;
}
.kop.is-gescrold::after { opacity: 1; }

.kop__binnen {
  min-height: var(--kop-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.woordmerk {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  padding-block: var(--s-2);
}
.woordmerk__tekst { display: block; }
.woordmerk__boven {
  display: block;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--koper);
  line-height: 1;
  margin-bottom: 3px;
}
.woordmerk__naam {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  letter-spacing: -.005em;
}

.nav { display: flex; align-items: center; gap: clamp(.5rem, 2vw, 1.75rem); }
.nav__lijst {
  display: flex;
  align-items: center;
  gap: clamp(.75rem, 2.2vw, 1.75rem);
  list-style: none;
  margin: 0; padding: 0;
}
.nav__link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 2px;
  font-size: var(--t-klein);
  font-weight: 500;
  text-decoration: none;
  color: rgba(239, 232, 220, .82);
  position: relative;
  transition: color .2s ease;
}
.nav__link:hover { color: var(--kalk-tekst); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 9px;
  height: 2px;
  background: var(--koper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.2,.7,.3,1);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link[aria-current="page"] {
  color: var(--koper-licht);
  font-weight: 600;
}
.nav__link[aria-current="page"]::after {
  transform: scaleX(1);
  box-shadow: 0 0 8px rgba(224, 138, 60, .5);
}

.kop__bel {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--koper);
  border-radius: var(--rond);
  color: var(--koper-licht);
  font-size: var(--t-klein);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .22s ease, color .22s ease;
}
.kop__bel:hover { background: var(--koper); color: var(--ijzer); }

/* ---------- 6. Knoppen en links ----------------------------------------- */

.knop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  min-height: 54px;
  padding: var(--s-3) var(--s-6);
  background: var(--koper);
  color: var(--ijzer);
  font-family: var(--tekst);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .005em;
  text-decoration: none;
  border: 1px solid var(--koper);
  border-radius: var(--rond);
  box-shadow: 0 10px 30px -18px rgba(224, 138, 60, .9);
  transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
}
.knop:hover {
  background: var(--koper-licht);
  border-color: var(--koper-licht);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -16px rgba(224, 138, 60, .95);
}
.knop:active { transform: translateY(0); }

.pijl {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding-block: var(--s-3);
  color: var(--accent);
  font-weight: 600;
  font-size: var(--t-klein);
  text-decoration: none;
  border-bottom: 1px solid var(--lijn);
  width: fit-content;
  transition: border-color .2s ease, gap .2s ease;
}
.pijl:hover { border-color: var(--accent); gap: var(--s-3); }
.pijl svg { flex: 0 0 auto; }

/* Telefoonlink in lopende tekst */
.tel {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  white-space: nowrap;
}
.tel:hover { text-decoration-thickness: 2px; }

/* ---------- 7. Aanvulmarkering (eerlijke plaatshouders) ------------------ */

.aanvullen {
  display: inline-block;
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
  border-bottom: 1px dashed currentColor;
  padding-bottom: 1px;
  opacity: .92;
}

/* ---------- 8. Hero (home) ---------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero__gloed {
  position: absolute;
  inset: -20% -10% auto -25%;
  height: 130%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(48% 46% at 24% 34%, rgba(224, 138, 60, .30), transparent 68%),
    radial-gradient(30% 34% at 12% 62%, rgba(192, 118, 42, .22), transparent 70%),
    radial-gradient(60% 60% at 78% 78%, rgba(140, 74, 50, .18), transparent 72%);
  filter: blur(6px);
}
.hero__raster {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero__tekst > * { margin-top: var(--s-5); }
.hero__tekst > *:first-child { margin-top: 0; }
.hero h1 { letter-spacing: -.018em; }
.hero__lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--zacht);
  max-width: 46ch;
}
.hero__acties {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-5);
}
.hero__onder {
  font-size: var(--t-klein);
  color: var(--zacht);
  max-width: 42ch;
}

/* ---------- 9. Het bord — het signatuurelement -------------------------- */

.bord {
  position: relative;
  padding: clamp(1.5rem, 3.4vw, 2.5rem);
  color: var(--krijt);
  border: 1px solid rgba(224, 181, 101, .42);
  border-radius: var(--rond);
  background-color: var(--lei);
  background-image:
    radial-gradient(circle at 15px 15px,        rgba(224,181,101,.85) 0 2.4px, transparent 3.1px),
    radial-gradient(circle at calc(100% - 15px) 15px, rgba(224,181,101,.85) 0 2.4px, transparent 3.1px),
    radial-gradient(circle at 15px calc(100% - 15px), rgba(224,181,101,.85) 0 2.4px, transparent 3.1px),
    radial-gradient(circle at calc(100% - 15px) calc(100% - 15px), rgba(224,181,101,.85) 0 2.4px, transparent 3.1px),
    radial-gradient(120% 74% at 28% 16%, rgba(255,255,255,.055), transparent 62%),
    radial-gradient(90% 60% at 82% 88%, rgba(255,255,255,.035), transparent 60%);
  background-repeat: no-repeat;
  box-shadow:
    inset 0 0 0 7px rgba(0, 0, 0, .26),
    inset 0 1px 0 rgba(255, 255, 255, .05),
    0 30px 60px -34px rgba(0, 0, 0, .85);
}
.bord::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--korrel);
  opacity: .055;
  border-radius: var(--rond);
  pointer-events: none;
}
.bord > * { position: relative; z-index: 1; }

.bord__kop {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid rgba(237, 231, 218, .22);
}
.bord__titel {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  line-height: 1;
  color: var(--krijt);
  text-shadow: 0 0 1px rgba(237, 231, 218, .45);
  margin: 0;
}
.bord__meta {
  font-size: var(--t-klein);
  color: rgba(237, 231, 218, .70);
  font-style: italic;
  font-family: var(--display);
}

.bord__lijst {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-5);
}
.bord__lijst > li {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--s-3);
  row-gap: 2px;
  align-items: start;
}
.bord__lijst .gloeidot { margin-top: .55em; }
.bord__naam {
  grid-column: 2;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1875rem;
  line-height: 1.25;
  color: var(--krijt);
  text-shadow: 0 0 1px rgba(237, 231, 218, .35);
}
.bord__uitleg {
  grid-column: 2;
  font-size: var(--t-klein);
  line-height: 1.5;
  color: rgba(237, 231, 218, .74);
}
.bord__voet {
  margin-top: var(--s-6);
  padding-top: var(--s-4);
  border-top: 1px solid rgba(237, 231, 218, .16);
  font-family: var(--display);
  font-style: italic;
  font-size: var(--t-klein);
  color: rgba(237, 231, 218, .66);
}
.bord .aanvullen { color: rgba(224, 181, 101, .95); }

/* Het bord over de volle breedte (kaartpagina) */
.bord--breed { max-width: 46rem; margin-inline: auto; }
.bord--breed .bord__lijst { gap: var(--s-6); }

/* ---------- 10. Fotosloten (art-directed) ------------------------------- */

.fotoslot {
  position: relative;
  margin: 0;
}
.fotoslot__kader {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background-color: var(--ijzer);
  background-image:
    var(--metselwerk-licht),
    radial-gradient(80% 70% at 30% 26%, rgba(224, 138, 60, .16), transparent 66%);
  border: 1px solid rgba(224, 181, 101, .30);
  border-radius: var(--rond);
}
.fotoslot--16x9 .fotoslot__kader { aspect-ratio: 16 / 9; }
.fotoslot--3x2  .fotoslot__kader { aspect-ratio: 3 / 2; }

/* Vaste beeldbehandeling: één grade voor alle gsm-foto's, zodat 15 losse
   kiekjes als één reeks lezen. Zie PHOTO-BRIEF.md. */
.fotoslot__kader img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.93) contrast(1.05) brightness(.98) sepia(.06);
}

/* Gesmede hoekmerken */
.fotoslot__kader::before,
.fotoslot__kader::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 1px solid var(--koper);
  opacity: .78;
  transition: opacity .25s ease;
  z-index: 2;
}
.fotoslot__kader::before {
  top: 9px; left: 9px;
  border-right: 0; border-bottom: 0;
}
.fotoslot__kader::after {
  bottom: 9px; right: 9px;
  border-left: 0; border-top: 0;
}
.fotoslot:hover .fotoslot__kader::before,
.fotoslot:hover .fotoslot__kader::after { opacity: 1; }

.fotoslot__leeg {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  color: var(--koper);
}
.fotoslot__leeg svg { opacity: .5; }
.fotoslot__leeg span {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--t-klein);
  color: rgba(224, 181, 101, .80);
}
.fotoslot figcaption {
  margin-top: var(--s-3);
  font-size: var(--t-klein);
  line-height: 1.45;
  color: var(--zacht);
}

/* ---------- 11. Gerechten (metselverband-ritme) ------------------------- */

.gerechten {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: var(--s-8);
  align-items: start;
}
/* Het verband: de middelste steen ligt een halve laag verspringend. */
.gerechten > :nth-child(2) { margin-top: clamp(0px, 4vw, 3rem); }

.gerecht__naam {
  margin-top: var(--s-5);
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.8vw, 1.4375rem);
  font-weight: 700;
  line-height: 1.15;
}
.gerecht__naam .gloeidot { margin-right: var(--s-2); vertical-align: middle; }
.gerecht__tekst {
  margin-top: var(--s-3);
  color: var(--zacht);
  font-size: var(--t-klein);
  line-height: 1.6;
}

/* ---------- 12. Tekstblokken -------------------------------------------- */

.kopblok { max-width: 34rem; }
.kopblok--breed { max-width: 46rem; }
.kopblok p {
  margin-top: var(--s-4);
  color: var(--zacht);
  font-size: var(--t-lead);
  line-height: 1.6;
}

.proza { max-width: 40rem; }
.proza p { color: var(--zacht); line-height: 1.7; }
.proza p + p { margin-top: var(--s-4); }

.tweeluik {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.tweeluik--verhaal { align-items: start; }

.beeldpaar {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
  gap: var(--s-4);
  align-items: end;
}
.beeldpaar > :last-child { margin-bottom: clamp(0px, 3vw, 2.25rem); }

/* Waarden: drie korte pijlers */
.pijlers {
  list-style: none;
  margin: var(--s-7) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-4);
}
.pijlers li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: var(--t-body);
  line-height: 1.5;
}
.pijlers .gloeidot { margin-top: .5em; }
.pijlers strong { font-weight: 600; }

/* ---------- 13. Praktisch ----------------------------------------------- */

.praktisch {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--s-6);
  margin-top: var(--s-8);
}
/* Elke regel krijgt zijn eigen lijn — ook als het raster afbreekt. */
.praktisch__item {
  padding-top: var(--s-5);
  border-top: 1px solid var(--lijn);
}
.praktisch__term {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.0625rem;
  color: var(--accent);
  margin-bottom: var(--s-2);
}
.praktisch__waarde {
  font-size: var(--t-body);
  line-height: 1.55;
}
.praktisch__waarde .aanvullen { font-size: var(--t-body); }
.praktisch__extra {
  margin-top: var(--s-2);
  font-size: var(--t-klein);
  color: var(--zacht);
  line-height: 1.5;
}
.praktisch__waarde a:not(.tel) {
  color: var(--accent);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

/* ---------- 14. Kaartpagina --------------------------------------------- */

.kaart-opener { padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.kaart-opener h1 { font-size: var(--t-mega); letter-spacing: -.024em; }

.gang { margin-top: var(--s-8); }
.gang__kop {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-4);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--lijn);
}
.gang__prijsnoot {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--t-klein);
  color: var(--zacht);
}

.gerechtenlijst {
  list-style: none;
  margin: var(--s-6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-6);
}
.gerechtenlijst > li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--s-4);
  align-items: start;
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--lijn);
}
.gerechtenlijst > li:last-child { border-bottom: 0; padding-bottom: 0; }
.gerechtenlijst .gloeidot { margin-top: .7em; }
.gerechtenlijst h3 { margin-bottom: var(--s-2); }
.gerechtenlijst p { color: var(--zacht); max-width: 54ch; }

.lunchblok {
  margin-top: var(--s-6);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--s-6);
}
.lunchblok__cel {
  padding: var(--s-5);
  background: var(--mortel-2);
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--rond) var(--rond) 0;
}
.lunchblok__term {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--accent);
  margin: 0 0 var(--s-2);
}

/* ---------- 15. Contactpagina ------------------------------------------- */

.contact-opener { padding-block: clamp(3rem, 7vw, 5rem) clamp(3rem, 6vw, 4.5rem); }
.contact-opener .hero__gloed { inset: -30% auto auto -20%; height: 150%; width: 90%; }
/* Het nummer is hier het zwaartepunt; de kop leidt ernaartoe. */
.contact-opener h1 { font-size: clamp(1.875rem, 3.8vw, 2.75rem); }

.telnummer {
  display: inline-flex;
  align-items: center;
  gap: var(--s-4);
  margin-top: var(--s-5);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--koper-licht);
  text-decoration: none;
  border-bottom: 2px solid rgba(224, 181, 101, .35);
  padding-bottom: var(--s-3);
  transition: border-color .25s ease, color .25s ease;
}
.telnummer:hover { color: #F2D19A; border-color: var(--koper-licht); }
.telnummer .gloeidot { width: 12px; height: 12px; }

.contactraster {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* Openingsuren-blok: echt vormgegeven, met een zichtbare plaatshouder. */
.uren {
  padding: var(--s-6);
  background: var(--mortel-2);
  border: 1px solid var(--lijn);
  border-radius: var(--rond);
  position: relative;
}
.uren::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
}
.uren__titel {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-h3);
  line-height: 1.2;
  margin: 0 0 var(--s-4);
}
.uren__tussen {
  font-family: var(--display);
  font-style: italic;
  font-size: var(--t-klein);
  color: var(--zacht);
  margin-bottom: var(--s-2);
}
.uren__rij {
  display: flex;
  justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-3);
  border-bottom: 1px dashed rgba(36, 30, 26, .18);
  font-size: var(--t-body);
}
.uren__rij:last-of-type { border-bottom: 0; }
.uren__dag { font-weight: 600; }
.uren__noot {
  margin-top: var(--s-4);
  font-size: var(--t-klein);
  color: var(--zacht);
  line-height: 1.55;
}

/* ---------- 16. FAQ ------------------------------------------------------ */

.faq {
  margin-top: var(--s-8);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-7) clamp(2rem, 5vw, 4rem);
}
.faq__item { border-top: 1px solid var(--lijn); padding-top: var(--s-5); }
.faq__vraag {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.3;
  margin: 0 0 var(--s-3);
}
.faq__antwoord {
  margin: 0;
  color: var(--zacht);
  font-size: var(--t-body);
  line-height: 1.6;
}

/* ---------- 17. Voet ----------------------------------------------------- */

.voet {
  position: relative;
  background: var(--ijzer-diep);
  color: var(--kalk-tekst);
  padding-block: var(--s-9) var(--s-7);
  --accent: var(--koper);
  --focus:  var(--koper-licht);
  --lijn:   rgba(224, 181, 101, .22);
  --zacht:  rgba(239, 232, 220, .70);
}
.voet::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--metselwerk-licht);
  opacity: .35;
  pointer-events: none;
}
.voet > .wrap { position: relative; z-index: 1; }
.voet__raster {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--s-7);
}
.voet__titel {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.375rem;
  margin-bottom: var(--s-3);
}
.voet__zin {
  color: var(--zacht);
  font-size: var(--t-klein);
  line-height: 1.6;
  max-width: 30ch;
}
.voet__kop {
  font-family: var(--display);
  font-style: italic;
  color: var(--koper);
  font-size: var(--t-klein);
  margin-bottom: var(--s-4);
}
.voet__lijst { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-1); }
/* Alleen de directe kinderen van een <li>: anders vangt deze regel ook de
   plaatshouder-span binnenin en breekt die open. */
.voet__lijst > li > a,
.voet__lijst > li > span {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-1);
  min-height: 44px;
  font-size: var(--t-klein);
  color: rgba(239, 232, 220, .84);
  text-decoration: none;
}
.voet__lijst > li > a:hover { color: var(--koper-licht); text-decoration: underline; text-underline-offset: 3px; }
.voet__lijst > li > span { color: var(--zacht); }
.voet__onder {
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--lijn);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  justify-content: space-between;
  font-size: var(--t-klein);
  color: rgba(239, 232, 220, .68);
}

/* ---------- 18. Vaste belbalk (mobiel) ---------------------------------- */

.belbalk { display: none; --focus: var(--koper-licht); }

/* ---------- 19. Beweging: aankondigen → leiden → tot rust komen --------- */

@keyframes opkomst {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
@keyframes trekken {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes kaarslicht {
  0%, 100% { opacity: .90; }
  38%      { opacity: 1; }
  64%      { opacity: .94; }
}

.hero__gloed { animation: kaarslicht 8s ease-in-out infinite; }

/* Openingschoreografie: kop → naad → lead → actie → bord. Daarna stilte. */
.opkomst { animation: opkomst .75s cubic-bezier(.2,.7,.3,1) backwards; }
.opkomst--1 { animation-delay: .05s; }
.opkomst--2 { animation-delay: .16s; }
.opkomst--3 { animation-delay: .27s; }
.opkomst--4 { animation-delay: .38s; }
.opkomst--5 { animation-delay: .52s; }
.naad--trek { animation: trekken .7s cubic-bezier(.2,.7,.3,1) .18s backwards; }

/* Scrollonthulling: elke band kondigt zichzelf één keer aan. */
.js .onthul {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .7s cubic-bezier(.2,.7,.3,1),
    transform .7s cubic-bezier(.2,.7,.3,1);
  transition-delay: calc(var(--d, 0) * 90ms);
}
.js .onthul.is-in { opacity: 1; transform: none; }
.js .naad-onthul { transform: scaleX(0); transition: transform .65s cubic-bezier(.2,.7,.3,1); }
.js .naad-onthul.is-in { transform: scaleX(1); }

/* ---------- 19b. Kleine hulpklassen ------------------------------------- */

.na-blok { margin-top: var(--s-8); }
.praktisch dd { margin: 0; }
.praktisch--kolom { margin-top: 0; }
.hero__tekst .label,
.hero__tekst .naad { margin-bottom: 0; }
.uren__aanvul { margin-bottom: var(--s-5); font-size: var(--t-body); }
.contact-opener { overflow: hidden; }
.kaart-opener .kopblok { margin-bottom: var(--s-4); }

/* ---------- 20. Responsief ---------------------------------------------- */

@media (max-width: 1000px) {
  .hero__raster { grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 3.5rem); }
  .hero__lead { max-width: 54ch; }
  .contactraster { grid-template-columns: 1fr; }
  .tweeluik { grid-template-columns: 1fr; gap: var(--s-7); }
  .voet__raster { grid-template-columns: 1fr 1fr; }
  .voet__raster > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .gerechten { grid-template-columns: 1fr; gap: var(--s-7); max-width: 30rem; }
  .gerechten > :nth-child(2) { margin-top: 0; }
  .faq { grid-template-columns: 1fr; gap: var(--s-6); }
}

@media (max-width: 720px) {
  :root { --kop-h: 58px; }

  .woordmerk__boven { display: none; }
  .woordmerk__naam { font-size: 1.1875rem; }
  .woordmerk { gap: var(--s-2); }
  .kop__bel { display: none; }
  .nav__lijst { gap: var(--s-4); }
  .nav__link::after { bottom: 7px; }

  /* De primaire handeling blijft op mobiel altijd binnen duimbereik. */
  .belbalk {
    display: block;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 120;
    background: var(--ijzer-diep);
    border-top: 1px solid rgba(224, 181, 101, .3);
    padding: var(--s-3) var(--marge) calc(var(--s-3) + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -14px 34px -20px rgba(0, 0, 0, .8);
  }
  .belbalk .knop { width: 100%; }
  body { padding-bottom: 88px; }

  .beeldpaar { grid-template-columns: 1fr; }
  .beeldpaar > :last-child { margin-bottom: 0; }
  /* Op mobiel liggen de fotokaders liggend, zodat de pagina niet uitrekt. */
  .gerechten .fotoslot__kader,
  .beeldpaar .fotoslot__kader { aspect-ratio: 3 / 2; }
  .gerechtenlijst > li { grid-template-columns: 1fr; gap: var(--s-2); }
  .gerechtenlijst .gloeidot { display: none; }
  .hero__acties { gap: var(--s-4); }
  .hero__acties .knop { width: 100%; }
  .telnummer { font-size: clamp(1.5rem, 8.2vw, 2.5rem); gap: var(--s-3); }
  .voet__raster { grid-template-columns: 1fr; gap: var(--s-6); }
  .voet__onder { flex-direction: column; gap: var(--s-2); }
}

@media (max-width: 380px) {
  .nav__lijst { gap: var(--s-3); }
  .woordmerk__naam { font-size: 1.0625rem; }
  .woordmerk .gloeidot { width: 7px; height: 7px; }
}

/* ---------- 21. Minder beweging ----------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0ms !important;
  }
  .js .onthul { opacity: 1; transform: none; }
  .js .naad-onthul { transform: scaleX(1); }
  .hero__gloed { opacity: .95; }
}

/* ---------- 22. Afdrukken (de kaart meenemen) --------------------------- */

@media print {
  .kop, .belbalk, .overslaan, .fotoslot, .hero__gloed,
  .voet__raster, .pijl { display: none !important; }
  body { background: #fff; color: #000; padding-bottom: 0; font-size: 11pt; }
  .band, .band--donker, .band--licht {
    background: #fff !important;
    color: #000 !important;
    padding-block: 0 1.5rem;
    --zacht: #333;
    --accent: #000;
    --lijn: #bbb;
  }
  .band--donker::before, .band--licht::before, .korrel::after { display: none; }
  .bord {
    background: #fff !important;
    color: #000;
    border: 1px solid #000;
    box-shadow: none;
  }
  .bord__titel, .bord__naam { color: #000; text-shadow: none; }
  .bord__uitleg, .bord__meta, .bord__voet { color: #333; }
  .js .onthul { opacity: 1 !important; transform: none !important; }
  /* De voet houdt adres en telefoon op papier: dat is waarom je een kaart afdrukt. */
  .voet { background: #fff !important; color: #000 !important; padding-block: 0; }
  .voet::before { display: none; }
  .voet__onder {
    margin-top: 1rem;
    border-top: 1px solid #bbb;
    color: #000;
    flex-direction: row;
    font-size: 10pt;
  }
}
