/* Pizza Bella Gusta — statische site
   Layout & motion: overgenomen uit de React-versie.
   Palet: crème/inkt uit de vorige site (groen vervangen door #F5EFE4).
   Type: Zodiak (display) + Satoshi (body). */

/* ---------- Fonts (self-hosted, Fontshare) ---------- */
@font-face { font-family: "Satoshi"; src: url("/fonts/KFIAZD4RUMEZIYV6FQ3T3GP5PDBDB6JY.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/7AHDUZ4A7LFLVFUIFSARGIWCRQJHISQP.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("/fonts/GHM6WVH6MILNYOOCXHXB5GTSGNTMGXZR.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/fonts/TBWKTFSYABV4KN4GNIJMAOQUOTYBUWB3.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Zodiak"; src: url("/fonts/VGG36BIEB6ODAX4ZN7UV43FK742PFGDV.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  /* Papier — vervangt het oude bosgroen */
  --paper: #f5efe4;
  --paper-2: #fbf7ef;
  --paper-3: #efe8da;

  /* Inkt — donkere vlakken (footer, hero-scrim) */
  --ink: #14120e;
  --ink-2: #0f0e0a;

  /* Tekst op donker */
  --bone: #f5efe4;
  --bone-dim: #ccc8b4;

  /* Accent — brand red met terracotta hover en zachtere tinten */
  --accent: #980000;
  --accent-hover: #c1462b;
  --accent-soft: #d9a79e;
  --accent-pale: #e3c4bc;

  /* Gedempte tekst */
  --muted: #6e6759;
  --muted-dark: #9c9484;

  --line-light: rgba(20, 18, 14, 0.14);
  --line-hair: rgba(20, 18, 14, 0.09);
  --line-dark: rgba(245, 239, 228, 0.16);

  --font-display: "Zodiak", "Iowan Old Style", Georgia, serif;
  --font-body: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--bone); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.015em; margin: 0; }
p { margin: 0; }
picture, video, iframe { display: block; max-width: 100%; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: clamp(1.25rem, 4.5vw, 3.5rem); }
.section { padding-block: clamp(4.5rem, 9vw, 8rem); }
.sec-paper { background: var(--paper); color: var(--ink); }
.sec-paper-2 { background: var(--paper-2); color: var(--ink); }
.sec-ink { background: var(--ink); color: var(--bone); }

.font-display { font-family: var(--font-display); }
.display-1 { font-size: clamp(2.9rem, 7.5vw, 6.4rem); }
.display-2 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); }
.display-3 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }

.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; color: var(--accent); display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: currentColor; opacity: 0.6; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--muted); max-width: 38ch; }
.sec-ink .lede, .page-hero .lede, .hero .lede { color: var(--bone-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 700; letter-spacing: 0.01em;
  padding: 0.95rem 1.7rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.35s var(--ease-out), background-color 0.35s var(--ease-out),
    color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  white-space: nowrap; line-height: 1;
}
.btn:active { transform: scale(0.97); }
.btn svg { transition: transform 0.35s var(--ease-out); }

.btn-flame { background: var(--accent); color: #fff8ec; box-shadow: 0 10px 34px -12px rgba(152, 0, 0, 0.5); }
.btn-flame:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(152, 0, 0, 0.6); }
.btn-flame:hover svg { transform: translateX(4px); }

/* Outline op licht */
.btn-ash { background: transparent; color: var(--ink); border-color: var(--line-light); }
.btn-ash:hover { border-color: var(--ink); background: rgba(20, 18, 14, 0.05); }
/* Outline op donker (hero, footer) */
.on-dark .btn-ash, .btn-ash-light { background: transparent; color: var(--bone); border-color: rgba(245, 239, 228, 0.4); }
.on-dark .btn-ash:hover, .btn-ash-light:hover { border-color: var(--bone); background: rgba(245, 239, 228, 0.08); }

.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: #2a251c; transform: translateY(-2px); }
.btn-bone { background: var(--paper); color: var(--ink); }
.btn-bone:hover { background: #fffaf0; transform: translateY(-2px); }
.btn-sm { padding: 0.7rem 1.2rem; font-size: 0.85rem; }

.link-row {
  display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 0.95rem;
  color: var(--accent); padding-bottom: 0.25rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0% 2px no-repeat;
  transition: background-size 0.45s var(--ease-out);
}
.link-row:hover { background-size: 100% 2px; }
.link-row svg { transition: transform 0.35s var(--ease-out); }
.link-row:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 60;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.4s var(--ease-out);
}
.site-header.is-solid {
  position: fixed;
  background: rgba(245, 239, 228, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom-color: var(--line-light);
  box-shadow: 0 12px 40px -24px rgba(20, 18, 14, 0.4);
}
.site-header .nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 1.5rem; }

.header-subbar { background: rgba(20, 18, 14, 0.28); border-top: 1px solid rgba(245, 239, 228, 0.15); transition: background-color 0.4s var(--ease-out), border-color 0.4s var(--ease-out); }
.header-subbar-inner {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
  gap: 0.4rem 1.5rem; padding-block: 0.7rem;
}
.header-subbar-text {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-size: clamp(0.9rem, 1.7vw, 1rem); font-weight: 600; color: var(--bone);
  transition: color 0.4s var(--ease-out);
}
.header-subbar-text::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
}
.header-subbar-text b { color: var(--accent); font-weight: 800; font-size: 1.1em; }
.header-subbar-review {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.82rem; font-weight: 700; color: var(--bone);
  padding: 0.4rem 0.9rem; border-radius: 999px; border: 1px solid rgba(245, 239, 228, 0.4);
  transition: border-color 0.3s var(--ease-out), background-color 0.3s var(--ease-out), color 0.4s var(--ease-out);
}
.header-subbar-review svg { flex: 0 0 auto; color: var(--accent); }
.header-subbar-review:hover { border-color: var(--bone); background: rgba(245, 239, 228, 0.1); }
.site-header.is-solid .header-subbar,
.site-header.on-light .header-subbar { background: transparent; border-top-color: var(--line-light); }
.site-header.is-solid .header-subbar-text,
.site-header.on-light .header-subbar-text { color: var(--ink); }
.site-header.is-solid .header-subbar-review,
.site-header.on-light .header-subbar-review { color: var(--ink); border-color: var(--line-light); }
.site-header.is-solid .header-subbar-review:hover,
.site-header.on-light .header-subbar-review:hover { border-color: var(--ink); background: rgba(20, 18, 14, 0.05); }
@media (max-width: 640px) {
  .header-subbar-inner { padding-block: 0.6rem; }
  .header-subbar-text { font-size: 0.85rem; }
  .header-subbar-review { font-size: 0.74rem; padding: 0.35rem 0.75rem; }
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.28rem; letter-spacing: 0.01em; color: var(--bone); transition: color 0.4s var(--ease-out); }
.brand-name .dot { color: var(--accent); }
.brand-sub { font-size: 0.6rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--bone-dim); margin-top: 0.3rem; transition: color 0.4s var(--ease-out); }

.nav-links { display: flex; align-items: center; gap: 2.1rem; }
.nav-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; color: var(--bone);
  opacity: 0.85; position: relative; padding-block: 0.4rem;
  transition: opacity 0.3s var(--ease-out), color 0.4s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav-link:hover { opacity: 1; }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { opacity: 1; }

/* Donkere tekst zodra de header crème wordt.
   .on-light = pagina's zonder donkere hero (menu, 404): meteen donkere tekst. */
.site-header.is-solid .brand-name,
.site-header.is-solid .nav-link,
.site-header.on-light .brand-name,
.site-header.on-light .nav-link { color: var(--ink); }
.site-header.is-solid .brand-sub,
.site-header.on-light .brand-sub { color: var(--muted); }
.site-header.is-solid .nav-burger,
.site-header.on-light .nav-burger { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-burger { display: none; background: none; border: 0; color: var(--bone); cursor: pointer; padding: 0.5rem; transition: color 0.4s var(--ease-out); }

.mobile-drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--paper);
  display: flex; flex-direction: column; padding: 1.5rem;
  animation: drawer-in 0.4s var(--ease-out);
}
/* Moet ná .mobile-drawer staan: een display-regel van de auteur wint
   anders van het hidden-attribuut, waardoor de drawer altijd zichtbaar is. */
.mobile-drawer[hidden] { display: none; }
.mobile-drawer a:not(.btn) { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; padding-block: 0.7rem; border-bottom: 1px solid var(--line-light); color: var(--ink); }
.mobile-drawer .btn { margin-top: 1.4rem; align-self: flex-start; }
.mobile-drawer .btn-flame { color: #fff8ec; }
.mobile-drawer .drawer-close { align-self: flex-end; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 0.5rem; margin-bottom: 1rem; }
.mobile-drawer .drawer-foot { margin-top: auto; color: var(--muted); font-size: 0.85rem; }
.mobile-drawer .drawer-foot a { font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; border: 0; padding: 0; display: inline; }
.mobile-drawer .x { color: var(--accent); }
@keyframes drawer-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100dvh; overflow: hidden; display: flex; align-items: flex-end; isolation: isolate; }
.hero-media { position: absolute; inset: -6% 0; z-index: -2; }
.hero-media > div { width: 100%; height: 100%; will-change: transform; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.45) 0%, rgba(20, 18, 14, 0.12) 38%, rgba(20, 18, 14, 0.62) 78%, rgba(20, 18, 14, 0.94) 100%),
    radial-gradient(120% 90% at 78% 18%, rgba(152, 0, 0, 0.22), transparent 55%);
}
.hero-content { width: 100%; padding-top: 9rem; padding-bottom: clamp(2rem, 5vw, 4rem); color: var(--bone); }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 0.7rem; font-size: 0.78rem;
  letter-spacing: 0.3em; text-transform: uppercase; color: var(--bone-dim); margin-bottom: 1.4rem;
}
.hero-kicker::before { content: ""; width: 3rem; height: 1px; background: var(--accent); }
.hero-title { max-width: 15ch; }
.hero-title .accent { color: #e7955a; font-style: italic; font-weight: 400; }
.hero-sub { margin-top: 1.6rem; max-width: 42ch; color: var(--bone-dim); font-size: clamp(1rem, 1.5vw, 1.15rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.hero-foot {
  display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: clamp(2.2rem, 5vw, 4rem);
  padding-top: 1.4rem; border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--bone-dim);
}
.hero-foot strong { color: var(--bone); font-weight: 500; }
.hero-foot .x { color: var(--accent); margin-inline: 0.5rem; }

.rise { opacity: 0; animation: rise 0.9s var(--ease-out) forwards; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.16s; }
.rise-3 { animation-delay: 0.28s; }
.rise-4 { animation-delay: 0.4s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Manifesto ---------- */
.manifesto-statement {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.25; letter-spacing: -0.01em; max-width: 26ch;
}
.manifesto-statement em { font-style: italic; color: var(--accent); }
.claim-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line-light); border: 1px solid var(--line-light);
  margin-top: clamp(2.5rem, 5vw, 4rem);
}
.claim { background: var(--paper); padding: 1.9rem 1.7rem; }
.sec-paper-2 .claim { background: var(--paper-2); }
.claim h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: 0; margin-bottom: 0.5rem; }
.claim p { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }

/* ---------- Tegels (menu-preview) ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.1rem; }
.tile { position: relative; overflow: hidden; border-radius: 3px; background: var(--paper-3); isolation: isolate; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.tile:hover img { transform: scale(1.06); }
.tile-body {
  position: absolute; inset: auto 0 0 0; padding: 2.6rem 1.4rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(13, 12, 9, 0.9)); z-index: 1; color: var(--bone);
}
.tile-kicker { font-size: 0.64rem; letter-spacing: 0.24em; text-transform: uppercase; color: #e7955a; font-weight: 500; display: block; }
.tile-name { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; margin-top: 0.2rem; display: block; }
.tile-desc { font-size: 0.82rem; color: var(--bone-dim); margin-top: 0.35rem; max-width: 30ch; display: block; }
.tile-wide { grid-column: span 5; aspect-ratio: 4 / 3.4; }
.tile-tall { grid-column: span 4; aspect-ratio: 3 / 3.6; }
.tile-tall2 { grid-column: span 3; aspect-ratio: 3 / 3.6; }

.section-head { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: clamp(2rem, 4.5vw, 3.4rem); max-width: 48ch; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split-stack { display: grid; gap: 1.1rem; }
.split-stack .img-a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3 / 4.2; }
.split-stack .img-b { grid-column: 2; grid-row: 2; aspect-ratio: 1 / 1.1; margin-top: 1.2rem; width: 88%; margin-left: auto; }
.split-stack img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.split-text h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); max-width: 16ch; }
.split-text .lede { margin-top: 1.4rem; }
.split-list { margin: 1.8rem 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-light); }
.split-list li { display: flex; gap: 1rem; align-items: baseline; padding-block: 0.95rem; border-bottom: 1px solid var(--line-light); font-size: 0.95rem; }
.split-list li em { font-style: normal; color: var(--accent); font-weight: 700; }

/* ---------- Promo ---------- */
.promo { background: var(--accent); color: #fff6ea; position: relative; overflow: hidden; }
.promo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 130% at 85% 20%, rgba(255, 226, 181, 0.28), transparent 55%);
}
.promo-inner { position: relative; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2rem; align-items: center; }
.promo h2 { font-size: clamp(1.9rem, 4vw, 3.3rem); }
.promo p { margin-top: 0.9rem; color: rgba(255, 248, 236, 0.88); font-size: 1.05rem; max-width: 40ch; }
.promo-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 1rem; }
.promo .btn-ash { color: #fff6ea; border-color: rgba(255, 246, 234, 0.45); }
.promo .btn-ash:hover { border-color: #fff6ea; background: rgba(255, 246, 234, 0.12); }
.discount-stamp {
  display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.74rem; border: 1.5px solid rgba(255, 248, 236, 0.5);
  border-radius: 999px; padding: 0.45rem 1rem; margin-bottom: 1.1rem;
}

/* ---------- Bezoek / info ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.hours-table { width: 100%; font-size: 0.98rem; border-collapse: collapse; }
.hours-table td { padding-block: 0.72rem; border-bottom: 1px solid var(--line-light); }
.hours-table td:first-child { font-weight: 500; width: 40%; }
.hours-table td:last-child { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-table .closed { color: var(--accent); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.12em; }
.hours-table .today td, .hours-table td.today { color: var(--ink); font-weight: 700; }

.info-list { display: grid; gap: 1.1rem; margin-top: 1.6rem; }
.info-row { display: flex; gap: 1rem; align-items: baseline; }
.info-row b { font-family: var(--font-body); font-weight: 700; font-size: 0.9rem; }
.info-row .gap { flex: 1; border-bottom: 1px dotted rgba(20, 18, 14, 0.3); transform: translateY(-4px); }
.info-row a { transition: color 0.3s var(--ease-out); }
.info-row a:hover { color: var(--accent); }

/* ---------- Menu-pagina (layout uit de vorige site) ---------- */
.menu-intro { padding-top: clamp(120px, 14vw, 190px); padding-bottom: clamp(30px, 4vw, 50px); }
.menu-intro h1 { font-size: clamp(36px, 6.8vw, 98px); line-height: 1.02; }
.menu-intro h1 .it { font-style: italic; font-weight: 400; color: var(--accent); }
.menu-intro .note { margin: clamp(24px, 3vw, 36px) 0 0; max-width: 64ch; color: #3a352c; font-size: clamp(16px, 1.1vw, 17.5px); line-height: 1.62; }
.menu-notes { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.7rem 1.4rem; font-size: 0.85rem; color: var(--muted); }
.menu-notes b { color: var(--ink); font-weight: 700; }

.menu-rail-wrap {
  position: sticky; top: 76px; z-index: 40;
  background: rgba(245, 239, 228, 0.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light);
}
.menu-rail { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.menu-rail::-webkit-scrollbar { display: none; }
.menu-rail button {
  background: none; border: none; padding: 15px 0; color: #403b31;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  white-space: nowrap; cursor: pointer; position: relative; flex: 0 0 auto;
  transition: color 0.24s var(--ease-out);
}
.menu-rail button::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--accent); transition: right 0.24s var(--ease-out);
}
.menu-rail button:hover { color: var(--accent); }
.menu-rail button.is-active { color: var(--ink); }
.menu-rail button.is-active::after { right: 0; }

.menu-body { padding-top: clamp(40px, 6vw, 90px); padding-bottom: clamp(70px, 10vw, 140px); }
.menu-section { padding-bottom: clamp(48px, 7vw, 96px); scroll-margin-top: 140px; }
.menu-section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 18px; justify-content: space-between;
  border-bottom: 1px solid rgba(20, 18, 14, 0.2); padding-bottom: 14px; margin-bottom: clamp(22px, 3vw, 34px);
}
.menu-section-title { font-size: clamp(27px, 3.6vw, 50px); }
.menu-count { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: #8a8272; }
.menu-note { margin-bottom: clamp(20px, 2.6vw, 30px); max-width: 62ch; color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.menu-items { display: grid; gap: 0 clamp(30px, 5vw, 80px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.menu-item {
  display: flex; align-items: baseline; gap: 12px; padding: 13px 0;
  border-bottom: 1px solid var(--line-hair); transition: padding-left 0.2s var(--ease-out);
}
.menu-item:hover { padding-left: 4px; }
.menu-item-name { flex: 1 1 auto; min-width: 0; }
.menu-item-name .n { font-size: 17px; font-weight: 700; letter-spacing: 0.005em; color: var(--ink); }
.menu-item-name .d { display: block; font-size: 14.5px; font-weight: 400; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.menu-item-price { font-size: 16.5px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink); flex: 0 0 auto; }
.menu-photo { position: relative; margin-top: clamp(34px, 5vw, 64px); aspect-ratio: 16 / 7; overflow: hidden; background: var(--paper-3); border-radius: 3px; }
.menu-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Reserveren ---------- */
.res-card { background: var(--paper-2); border: 1px solid var(--line-light); border-radius: 4px; overflow: hidden; }
.res-card-bar { display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line-light); }
.res-card-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: #4f8a3d; box-shadow: 0 0 0 3px rgba(79, 138, 61, 0.18); }
.res-card-bar span { font-size: 0.85rem; font-weight: 700; }
.res-card-bar small { color: var(--muted); font-size: 0.75rem; margin-left: auto; font-weight: 400; }
.res-frame { width: 100%; min-height: 720px; border: 0; display: block; background: #fff; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: 4px; filter: saturate(0.9) contrast(1.02); background: var(--paper-3); }
.contact-big { display: grid; gap: 1.4rem; }
.contact-line { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-line .k { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.contact-line .v { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.1; }
.contact-line .v a { text-decoration: underline; text-decoration-color: rgba(152, 0, 0, 0.45); text-underline-offset: 6px; transition: text-decoration-color 0.3s; }
.contact-line .v a:hover { text-decoration-color: var(--accent); }

/* ---------- Footer (donker, zoals de vorige site) ---------- */
.site-footer { background: var(--ink-2); color: var(--bone); border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(3rem, 6vw, 5rem); }
.footer-brand .brand-name { font-size: 1.7rem; color: var(--bone); }
.footer-brand p { margin-top: 1rem; color: var(--muted-dark); font-size: 0.9rem; max-width: 30ch; line-height: 1.6; }
.footer-brand .btn { margin-top: 1.4rem; }
.footer-col h4 { font-family: var(--font-body); font-weight: 700; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-col li { font-size: 0.92rem; color: var(--bone-dim); }
.footer-col a { font-size: 0.92rem; color: var(--bone-dim); transition: color 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--accent); }
.footer-col .closed { color: var(--accent); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 0.8rem 2rem; justify-content: space-between;
  padding-block: 1.6rem; border-top: 1px solid var(--line-dark); font-size: 0.78rem; color: var(--muted-dark);
}

/* ---------- Sub-pagina hero ---------- */
.page-hero {
  position: relative; min-height: 58vh; display: flex; align-items: flex-end; overflow: hidden;
  isolation: isolate; padding-top: 9rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); color: var(--bone);
}
.page-hero .hero-media { position: absolute; inset: -8% 0; z-index: -2; }
.page-hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .hero-scrim {
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.55), rgba(20, 18, 14, 0.3) 45%, rgba(20, 18, 14, 0.9) 100%),
    radial-gradient(90% 100% at 80% 20%, rgba(152, 0, 0, 0.22), transparent 50%);
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.page-hero .lede { margin-top: 1.2rem; }

/* ---------- Helpers ---------- */
.mt-2 { margin-top: 0.6rem; }
.mt-3 { margin-top: 1.1rem; }
.mt-4 { margin-top: 1.6rem; }
.mt-5 { margin-top: 2.2rem; }
.mb-3 { margin-bottom: 1.1rem; }
.row { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 0.75rem 1.2rem; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- 404 ---------- */
.err-page { min-height: 100dvh; display: flex; align-items: center; justify-content: center; padding: 2rem 1.25rem; text-align: center; }
.err-page .inner { max-width: 460px; }
.err-page .eyebrow { justify-content: center; }
.err-page .lede { margin: 1.2rem auto 0; }
.err-page .row { justify-content: center; margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-links, .nav-actions .btn { display: none; }
  .nav-burger { display: block; }
  .claim-grid { grid-template-columns: 1fr 1fr; }
  .tile-wide, .tile-tall, .tile-tall2 { grid-column: span 6; }
  .split { grid-template-columns: 1fr; gap: 2.4rem; }
  .promo-inner { grid-template-columns: 1fr; }
  .promo-actions { justify-content: flex-start; }
  .visit-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 639px) {
  .claim-grid { grid-template-columns: 1fr; }
  .tile-wide, .tile-tall, .tile-tall2 { grid-column: span 12; }
  .tile-wide { aspect-ratio: 4 / 3; }
  .tile-tall, .tile-tall2 { aspect-ratio: 4 / 3.4; }
  .footer-grid { grid-template-columns: 1fr; }
  .res-frame { min-height: 640px; }
  .hero-title { max-width: 12ch; }
  .split-stack .img-b { width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .tile img, .btn, .nav-link, .link-row { transition: none; }
  .tile:hover img { transform: none; }
}

/* ---------- Meldingsbalk (gestuurd vanuit het tabblad "Melding") ---------- */
.notice {
  position: sticky; top: 0; z-index: 70;
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  background: var(--accent); color: var(--paper-2);
  padding: 0.7rem clamp(1rem, 4vw, 2rem);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.875rem; font-weight: 500; line-height: 1.45;
}
.notice::before {
  content: ""; flex: 0 0 auto;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--paper-2); opacity: 0.85;
}
.notice[hidden] { display: none; }

/* De header staat absoluut/vast bovenaan — die moet onder de balk zakken */
body.has-notice .site-header { top: var(--notice-h, 0px); }
body.has-notice .menu-rail-wrap { top: calc(76px + var(--notice-h, 0px)); }
body.has-notice { scroll-padding-top: calc(76px + var(--notice-h, 0px)); }

@media (max-width: 640px) {
  .notice { font-size: 0.8125rem; padding: 0.65rem 1rem; }
}

/* Aanbieding kan volledig verborgen worden vanuit het tabblad "Aanbieding" */
.promo[hidden] { display: none; }

/* ==========================================================================
   AANBIEDINGSVENSTER
   Wordt gestuurd vanuit het tabblad "Aanbieding". Verschijnt pas na een paar
   seconden, hoogstens één keer per dag per bezoeker, en enkel op de homepage.
   Op smalle schermen komt het van onderen op in plaats van het scherm af te
   dekken — dat laatste rekent Google aan als hinderlijk.
   ========================================================================== */
.promo-modal[hidden] { display: none; }
.promo-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}
.promo-modal-scrim {
  position: absolute; inset: 0;
  background: rgba(20, 18, 14, 0.62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: pm-fade 0.35s var(--ease-out) both;
}
.promo-modal-card {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  background: var(--paper-2);
  color: var(--ink);
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(20, 18, 14, 0.34);
  animation: pm-rise 0.45s var(--ease-out) both;
}
@keyframes pm-fade { from { opacity: 0; } }
@keyframes pm-rise { from { opacity: 0; transform: translateY(18px) scale(0.98); } }

.promo-modal-media { display: block; margin: 0; background: var(--paper-3); }
.promo-modal-media img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 3 / 2; object-fit: cover;
}
.promo-modal-media[hidden] { display: none; }

.promo-modal-body { padding: clamp(1.5rem, 4vw, 2.1rem); }
.promo-modal-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-pale);
  border-radius: 100px; padding: 0.4em 0.95em;
  margin-bottom: 1rem;
}
.promo-modal-label:empty { display: none; }
.promo-modal-card h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.55rem, 4.4vw, 2.05rem); line-height: 1.12;
  margin: 0;
}
.promo-modal-card p {
  margin: 0.8rem 0 0; color: var(--muted);
  font-size: 1rem; line-height: 1.6;
}
.promo-modal-card p:empty { display: none; }
.promo-modal-actions {
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  margin-top: 1.6rem;
}
.promo-modal-actions .btn { flex: 1 1 auto; justify-content: center; }

.promo-modal-close {
  position: absolute; top: 0.65rem; right: 0.65rem; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251, 247, 239, 0.92); color: var(--ink);
  border: 1px solid var(--line-light); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.promo-modal-close:hover { background: #fff; transform: rotate(90deg); }

/* Op mobiel: van onderen opkomen, bovenaan blijft de site zichtbaar */
@media (max-width: 620px) {
  .promo-modal { align-items: flex-end; padding: 0; }
  .promo-modal-card {
    width: 100%; max-height: 88dvh;
    border-radius: 14px 14px 0 0;
    animation: pm-sheet 0.4s var(--ease-out) both;
  }
  @keyframes pm-sheet { from { transform: translateY(100%); } }
  .promo-modal-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .promo-modal-scrim, .promo-modal-card { animation: none; }
  .promo-modal-close:hover { transform: none; }
}

/* ---------- Logo ---------- */
.brand { display: flex; flex-direction: row; align-items: center; gap: 12px; }
.brand-mark {
  width: 40px; height: 40px; flex: 0 0 auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease-out);
}
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; }

.footer-logo {
  display: block; width: 190px; height: auto;
  margin-bottom: 1.4rem;
}

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

@media (max-width: 620px) {
  .brand-mark { width: 34px; height: 34px; }
  .brand { gap: 9px; }
  .footer-logo { width: 150px; }
}

/* ---------- Foto per gerecht (optioneel, uit de kolom Foto) ---------- */
/* Alleen categorieën met minstens één foto krijgen de fotokolom. Rijen zonder
   foto houden een lege plek van dezelfde breedte, zodat namen en prijzen
   netjes onder elkaar blijven staan. */
.menu-items.has-photos .menu-item { align-items: center; gap: 14px; }
.menu-item-photo {
  flex: 0 0 auto; width: 60px; height: 60px;
  object-fit: cover; border-radius: 3px;
  background: var(--paper-3);
}
.menu-item-photo.is-leeg {
  display: block; background: transparent; border: 0;
  visibility: hidden;   /* houdt de plek vrij, toont niets */
}
@media (max-width: 620px) {
  .menu-item-photo { width: 50px; height: 50px; }
  .menu-items.has-photos .menu-item { gap: 11px; }
}

/* ==========================================================================
   MENU — kaartweergave + detailvenster
   ========================================================================== */

/* elke rij is nu een knop; die mag niet op een knop lijken */
.menu-item, .dish-card {
  font: inherit; color: inherit; text-align: left;
  background: none; border: 0; width: 100%; cursor: pointer;
}
.menu-item { border-bottom: 1px solid var(--line-hair); }
.menu-item:focus-visible, .dish-card:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px;
}

/* ---------- kaarten ---------- */
.menu-items.as-cards {
  display: grid; gap: clamp(18px, 2.4vw, 30px);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
}
.dish-card {
  display: flex; flex-direction: column;
  border-radius: 4px; overflow: hidden;
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.dish-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20, 18, 14, 0.12); }
.dish-card-media {
  position: relative; display: block;
  aspect-ratio: 1 / 1; background: var(--paper-3); overflow: hidden;
}
.dish-card-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease-out);
}
.dish-card:hover .dish-card-media img { transform: scale(1.04); }
.dish-card-media.is-leeg { background: var(--paper-3); }
.dish-card-body { display: block; padding: 14px 16px 17px; }
.dish-card-top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.dish-card-top .n { font-size: 16px; font-weight: 700; color: var(--ink); }
.dish-card-top .p {
  font-size: 15.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  color: var(--ink); flex: 0 0 auto;
}
.dish-card-body .d {
  display: block; margin-top: 5px;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}

/* markering bij een foto die niet van de zaak zelf is */
.foto-ref {
  position: absolute; left: 8px; bottom: 8px; z-index: 2;
  font-size: 10px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(20, 18, 14, 0.62); color: #fff;
  padding: 3px 7px; border-radius: 100px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}

/* ---------- detailvenster ---------- */
.dish-modal[hidden] { display: none; }
.dish-modal {
  position: fixed; inset: 0; z-index: 210;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}
.dish-modal-scrim {
  position: absolute; inset: 0;
  background: rgba(20, 18, 14, 0.62);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  animation: pm-fade 0.3s var(--ease-out) both;
}
.dish-modal-card {
  position: relative; width: min(520px, 100%);
  max-height: calc(100dvh - 2rem); overflow-y: auto;
  background: var(--paper-2); color: var(--ink);
  border-radius: 4px; box-shadow: 0 30px 80px rgba(20, 18, 14, 0.34);
  animation: pm-rise 0.4s var(--ease-out) both;
}
.dish-modal-media { margin: 0; position: relative; }
.dish-modal-media[hidden] { display: none; }
.dish-modal-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.dish-modal-media figcaption {
  padding: 9px 16px; font-size: 12.5px; color: var(--muted);
  background: var(--paper-3); border-bottom: 1px solid var(--line-light);
}
.dish-modal-media figcaption[hidden] { display: none; }

.dish-modal-body { padding: clamp(1.3rem, 3.5vw, 1.9rem); }
.dish-modal-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 14px; margin-bottom: 0.7rem;
}
.dish-modal-head h2 {
  margin: 0; font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.4rem, 4vw, 1.9rem); line-height: 1.15;
}
.dish-modal-price {
  font-size: 1.15rem; font-weight: 700; font-variant-numeric: tabular-nums;
  flex: 0 0 auto;
}
.dish-modal-oms { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.dish-modal-oms[hidden], .dish-modal-uitleg[hidden] { display: none; }
.dish-modal-uitleg { margin: 0.8rem 0 0; font-size: 0.97rem; line-height: 1.65; }

.dish-modal-allerg { margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line-light); }
.dish-modal-allerg[hidden] { display: none; }
.dish-modal-allerg h3 {
  margin: 0 0 0.6rem; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.dish-modal-allerg ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 7px;
}
.dish-modal-allerg li {
  font-size: 13px; padding: 4px 10px; border-radius: 100px;
  background: var(--paper-3); border: 1px solid var(--line-light);
}
.dish-modal-allerg-note { margin: 0.8rem 0 0; font-size: 12.5px; color: var(--muted); }
.dish-modal-order { margin-top: 1.6rem; width: 100%; justify-content: center; }

.dish-modal-close {
  position: absolute; top: 0.65rem; right: 0.65rem; z-index: 3;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(251, 247, 239, 0.92); color: var(--ink);
  border: 1px solid var(--line-light); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dish-modal-close:hover { background: #fff; transform: rotate(90deg); }

@media (max-width: 620px) {
  .dish-modal { align-items: flex-end; padding: 0; }
  .dish-modal-card {
    width: 100%; max-height: 90dvh; border-radius: 14px 14px 0 0;
    animation: pm-sheet 0.38s var(--ease-out) both;
  }
  .menu-items.as-cards { grid-template-columns: 1fr 1fr; gap: 13px; }
  .dish-card-body { padding: 11px 12px 14px; }
  .dish-card-top { flex-direction: column; gap: 2px; }
  .dish-card-top .n { font-size: 14.5px; }
  .dish-card-body .d { font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .dish-modal-scrim, .dish-modal-card { animation: none; }
  .dish-card:hover { transform: none; }
  .dish-modal-close:hover { transform: none; }
}


/* ---------- Belbalk bovenaan ---------- */
:root { --callbar-h: 0px; }
.callbar {
  background: var(--ink); color: var(--paper);
  text-align: center; font-family: var(--font-body);
}
.callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 9px 16px; color: inherit; text-decoration: none;
  font-size: 13.5px; letter-spacing: 0.01em;
}
.callbar a:hover { color: #fff; }
.callbar b { font-weight: 700; letter-spacing: 0.02em; }
.callbar svg { flex: 0 0 auto; opacity: 0.75; }
.callbar-kort { display: none; }

/* De balk blijft altijd bovenaan plakken, ook bij het scrollen. Bij een
   afhaalzaak wil je dat het nummer nooit uit beeld verdwijnt. De kop zakt
   er in beide toestanden onder, zodat er niets over elkaar valt. */
.callbar { position: sticky; top: 0; z-index: 80; }
body.has-callbar .site-header { top: var(--callbar-h); }
body.has-callbar .site-header.is-solid { top: var(--callbar-h); }
body.has-callbar .menu-rail-wrap { top: calc(76px + var(--callbar-h)); }
body.has-callbar { scroll-padding-top: calc(76px + var(--callbar-h)); }

@media (max-width: 620px) {
  .callbar a { font-size: 13px; padding: 8px 12px; }
  .callbar-tekst { display: none; }
  .callbar-kort { display: inline; }
}
