/* ===== CSS verbeterde versie ===== */
:root {
  --bg: #0f0d0b;
  --surface: #1b1714;
  --text: #f7f3f0;
  --muted: #d6cdc8;
  --brand: #b43b2a;
  --brand-2: #f0a140;
  --card: #ffffff;
  --ink: #1e1e1e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: #faf7f5;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.25rem; }
.visually-hidden { position: absolute!important; height: 1px; width: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

.site-header {
  position: sticky; top: 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid rgba(0,0,0,.06);
  z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: .5rem; color: #111; text-decoration: none; font-weight: 700; font-size: 1.125rem; }
.site-nav ul { display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: #111; text-decoration: none; padding: .5rem .75rem; border-radius: .5rem; }
.site-nav a:hover { background: rgba(0,0,0,.06); }
.nav-toggle { display: none; border: 0; background: none; font-size: 1.5rem; }

/* --- HERO: CTA vast onderin centreren --- */
.hero {
  position: relative; /* anker voor absolute positioning */
  color: var(--text);
  background:
    linear-gradient(to bottom, rgba(0,0,0,.45), rgba(0,0,0,.25)),
    url('../images/hero.png') center/cover no-repeat;
  /* Houd de hero hoog genoeg zodat de knop ruimte heeft */
  min-height: clamp(520px, 70vh, 780px);
}

/* Houd de content netjes, maar zonder grote bottom-padding die de knop omhoog drukt */
.hero .hero-content {
  padding: 4rem 0 0; /* alleen wat top-ruimte, géén grote bottom-padding meer */
  text-align: center;
}

/* Verwijder oude marge-regels die de knop ‘omhoog/omlaag’ duwen */
.hero-cta {
  margin: 0 !important; /* neutraliseer eerdere margin-top-regels */
}

/* Positioneer de CTA-knop onderin, horizontaal gecentreerd */
.hero-cta .btn,
.hero-cta a.btn {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: clamp(1.25rem, 6vh, 3rem); /* lager = kleinere waarde; hoger = grotere waarde */
  display: inline-block;
  z-index: 2; /* boven overlay/blurs indien aanwezig */
}

/* (Optioneel) op heel kleine schermen nog iets lager zetten */
@media (max-width: 480px) {
  .hero-cta .btn,
  .hero-cta a.btn {
    bottom: clamp(1rem, 7vh, 2.5rem);
  }
}

/* ===== Responsive grid voor de kaarten ===== */
.cards--responsive {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, 1fr);
  align-items: stretch;
}
@media (max-width: 1200px) { .cards--responsive { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px)  { .cards--responsive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .cards--responsive { grid-template-columns: 1fr; } }

.cards--responsive .card { display: flex; flex-direction: column; }
.cards--responsive .card p { margin-bottom: 0.5rem; }

/* ===== Afbeeldingen dynamisch ===== */
.dish-media {
  margin-top: auto;
  display: flex; justify-content: center; align-items: flex-end;
  max-width: 100%; overflow: hidden;
}
.dish-trigger {
  display: flex; justify-content: center; align-items: flex-end;
  width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
}
.dish-trigger:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.dish-trigger:hover img { filter: brightness(1.05); }

.dish-photo {
  display: block;
  width: 100%; max-width: 100%;
  height: auto;
  object-fit: contain;
  max-height: clamp(140px, 22vw, 220px);
  border-radius: 8px;
}

/* ===== Lightbox verbeterd ===== */
body.modal-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; display: none; z-index: 9999; }
.lightbox[aria-hidden="false"] { display: block; }
.lightbox__overlay { position: absolute; inset: 0; background: rgba(0,0,0,.8); animation: lb-fade .18s ease-out; }
.lightbox__dialog {
  position: absolute; inset: 0; margin: auto;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}
.lightbox__dialog img {
  max-width: min(90vw, 1400px);
  max-height: 90vh;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  border-radius: 12px;
  animation: lb-fade .25s ease-out;
}
.lightbox__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 44px; height: 44px; line-height: 44px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.15); color: #fff;
  font-size: 28px; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.25); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

/* ===== Algemene secties ===== */
.section { padding: 4rem 0; }
.section.alt { background: #fff7f1; }
.lead { font-weight: 600; }
.muted { color: #666; }
.grid-2 { display: grid; grid-template-columns: 1.2fr .8fr; gap: 2rem; }
.card { background: #fff; border: 1px solid rgba(0,0,0,.06); border-radius: 12px; padding: 1rem; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.banner { position: relative; color: var(--text); background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,.35)), url('../images/banner.png') center/cover no-repeat; }
.banner .banner-content { padding: 6rem 0; }
.btn { display: inline-block; border: 0; border-radius: 999px; padding: .8rem 1.25rem; font-weight: 600; text-decoration: none; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
.btn-secondary { background: #fff; color: #111; border: 1px solid #ccc; }
.site-footer { background: #0f0d0b; color: #d8d2cd; padding: 2rem 0; margin-top: 2rem; }
.form { margin-top: 1rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .375rem; }
label { font-weight: 600; }
input, textarea { appearance: none; border: 1px solid #d6d3d1; border-radius: .6rem; padding: .75rem .9rem; font: inherit; background: #fff; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(180,59,42,.15); }
textarea { resize: vertical; }
.hp { position: absolute!important; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1rem; }
.help { color: #666; margin: 0; }
@media (max-width: 900px) { .grid-2 { grid-template-columns: 1fr; } .cards--responsive { grid-template-columns: repeat(2, 1fr); } .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cards--responsive { grid-template-columns: 1fr; } .nav-toggle { display: block; } .site-nav { position: absolute; top: 64px; right: 0; background: #fff; border-left: 1px solid rgba(0,0,0,.06); border-bottom: 1px solid rgba(0,0,0,.06); padding: 1rem; display: none; } .site-nav.open { display: block; } .site-nav ul { flex-direction: column; gap: .25rem; } }
