/* De Ketel — stijlen
   Palet volgens briefing. Crème houdt alles samen; de diepe kleuren hebben elk een vaste rol. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Big Shoulders Display";
  src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --creme: #F2E9D8;
  --bordeaux: #4D101D;   /* uitsluitend bestellen op lichte vlakken; op donkere vlakken is de bestelknop crème */
  --groen: #0C3323;      /* rendang, voor later */
  --oker: #694712;       /* soepen */
  --petrol: #022024;     /* catering */
  --kastanje: #301D16;   /* stoofgerechten, verhaal */
  --koper: #B87333;      /* accent buiten het palet: de kleur van een ketel. Alleen voor details, nooit voor lopende tekst op crème */
  --zwart: #050505;      /* logo, sterke typografie */

  --lijn: rgba(48, 29, 22, 0.18);
  --font-kop: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue Condensed", sans-serif;
  --font-tekst: "Source Serif 4", Georgia, "Times New Roman", serif;

  --gutter: clamp(1rem, 4vw, 2.5rem);
  --sectie: clamp(4rem, 9vw, 7.5rem);
  --header-h: 4.5rem;
  --focus: var(--bordeaux);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--zwart);
  font-family: var(--font-tekst);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
p { margin: 0 0 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-kop); font-weight: 800; line-height: 0.95; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

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

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

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 100;
  background: var(--zwart); color: var(--creme); padding: 0.75rem 1rem;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.wrap {
  width: 100%;
  max-width: 78rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typografie ---------- */

.display {
  font-size: clamp(2.6rem, 1.4rem + 5.2vw, 5.25rem);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.92;
  max-width: 14ch;
}
.display-sm {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
  text-transform: uppercase;
  line-height: 0.95;
}

/* ---------- Knoppen ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.55rem 1.4rem 0.6rem;
  border: 2px solid transparent;
  border-radius: 2px;
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--bordeaux); color: var(--creme); }
.btn-primary:hover { background: var(--zwart); }
.btn-ghost { border-color: var(--zwart); color: var(--zwart); background: transparent; }
.btn-ghost:hover { background: var(--zwart); color: var(--creme); }
.btn-light { background: var(--creme); color: var(--zwart); }
.btn-light:hover { background: transparent; color: var(--creme); border-color: var(--creme); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--creme);
  border-bottom: 1px solid var(--lijn);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--zwart);
}
/* Beeldmerk: de getekende pan (transparante achtergrond, zonder animatie). */
.brand-mark {
  display: block;
  flex: none;
  width: auto;
  height: 3rem;
}
.brand-name {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 0.25rem 0 0.75rem;
  background: none;
  border: 0;
  color: var(--zwart);
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }
.nav-toggle-text { order: -1; }

.site-nav {
  display: none;
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--creme);
  border-bottom: 1px solid var(--lijn);
  padding: 0.5rem var(--gutter) 1.5rem;
}
.site-nav.is-open { display: block; }
.site-nav ul a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--lijn);
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: 2rem;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--zwart);
}
.site-nav .nav-order { margin-top: 1.25rem; width: 100%; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.is-open {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: static;
    padding: 0;
    border: 0;
    background: none;
  }
  .site-nav ul { display: flex; gap: 1.75rem; }
  .site-nav ul a {
    padding: 0.5rem 0;
    border: 0;
    font-weight: 700;
    font-size: 1.2rem;
  }
  .site-nav ul a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
  .site-nav .nav-order { margin: 0; width: auto; }
}

/* ---------- Opening ---------- */

.hero { padding-block: clamp(1rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3rem); }
.hero-grid {
  display: grid;
  gap: 2.5rem;
}
.hero-title {
  font-size: clamp(2.9rem, 1.2rem + 6vw, 6rem);
  line-height: 0.88;
  text-transform: uppercase;
  color: var(--zwart);
  letter-spacing: -0.005em;
}
.hero-title .line { display: block; }
.hero-lead {
  margin-top: 1.75rem;
  font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3rem);
  max-width: 34ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-info {
  display: grid;
  gap: 1rem;
  margin: 2.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--lijn);
  font-size: 1rem;
}
.hero-info dt {
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--oker);
}
.hero-info dd { margin: 0; }

/* Op mobiel en tablet komt de foto eerst: eten verkoopt, de kop volgt. */
.hero-media {
  order: -1;
  background: var(--kastanje);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 600px) {
  .hero-info { grid-template-columns: auto auto; justify-content: start; column-gap: 3rem; }
  .hero-media { aspect-ratio: 16 / 9; }
}
@media (min-width: 1040px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center;
  }
  .hero-media {
    order: 0;
    aspect-ratio: auto;
    height: clamp(26rem, calc(100svh - 11rem), 42rem);
    margin-right: calc(-1 * var(--gutter));
  }
}

/* Eén geregisseerd laadmoment: de kop komt regel voor regel binnen, de foto opent mee. */
@media (prefers-reduced-motion: no-preference) {
  .hero-title .line { animation: regel 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-title .line:nth-child(2) { animation-delay: 0.1s; }
  .hero-title .line:nth-child(3) { animation-delay: 0.2s; }
  .hero-media img { animation: foto 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both; }
  @keyframes regel { from { opacity: 0; transform: translateY(0.35em); } }
  @keyframes foto { from { opacity: 0; transform: scale(1.06); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Menu ---------- */

.menu {
  padding-block: clamp(2.5rem, 5vw, 4rem) var(--sectie);
  border-top: 1px solid var(--lijn);
}
.section-head {
  display: grid;
  gap: 1.25rem;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head h2 { color: var(--zwart); }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; }
  .section-head p { justify-self: end; max-width: 36ch; }
}

.featured {
  display: grid;
  gap: 1rem;
}
.dish {
  display: grid;
  color: var(--creme);
  --focus: var(--creme);
}
.dish img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.25);
}
.dish-body {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.dish-body .btn { align-self: flex-start; margin-top: auto; }
.dish-top {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.dish h3 { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem); text-transform: uppercase; }
.dish .price {
  margin: 0;
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.6rem;
  white-space: nowrap;
}
.tone-kastanje { background: var(--kastanje); }
.tone-groen { background: var(--groen); }
/* Het palet noemt zwart op oker, maar dat haalt 2,4:1. Crème op oker haalt 6,9:1 en blijft daarom staan. */
.tone-oker { background: var(--oker); }

@media (min-width: 700px) {
  .dish-sm { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
  .dish-sm img { aspect-ratio: auto; height: 100%; min-height: 17rem; }
}
@media (min-width: 1040px) {
  .featured {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    grid-template-rows: 1fr 1fr;
  }
  .dish-lg { grid-row: span 2; grid-template-rows: 1fr auto; }
  .dish-lg img { aspect-ratio: auto; height: 100%; min-height: 24rem; }
  .dish-lg h3 { font-size: 3.5rem; }
}

/* De hele kaart */
.card-menu {
  margin-top: clamp(3.5rem, 8vw, 6rem);
}
.card-menu-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--kastanje);
}
.card-menu-head h3 { color: var(--zwart); }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  min-height: 2.75rem;
  padding: 0.4rem 1rem 0.45rem;
  border: 2px solid var(--kastanje);
  border-radius: 2px;
  background: transparent;
  color: var(--kastanje);
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.filter:hover { background: rgba(48, 29, 22, 0.08); }
.filter[aria-pressed="true"] { background: var(--kastanje); color: var(--creme); }

.filter-status {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  font-style: italic;
}

.menu-row {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--lijn);
}
.menu-row[hidden] { display: none; }
.menu-row img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  background: var(--lijn);
}
.menu-row h4 {
  font-weight: 700;
  font-size: 1.55rem;
  line-height: 1.05;
  color: var(--zwart);
}
.tag {
  display: inline-block;
  vertical-align: 0.3em;
  margin-left: 0.35rem;
  padding: 0.2rem 0.45rem 0.25rem;
  background: var(--groen);
  color: var(--creme);
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 0.85rem;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.menu-row-text p { margin: 0.3rem 0 0; font-size: 1rem; line-height: 1.5; }
.menu-row .price {
  margin: 0;
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.45rem;
  white-space: nowrap;
  align-self: start;
  padding-top: 0.1rem;
}
@media (min-width: 700px) {
  .menu-row { grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 1.5rem; }
  .menu-row img { width: 6rem; height: 6rem; }
  .menu-row h4 { font-size: 1.85rem; }
  .menu-row .price { align-self: center; font-size: 1.7rem; }
}

.card-menu-foot {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: start;
}
.card-menu-foot .btn { justify-self: start; }
.text-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.text-links a { font-weight: 600; }
@media (min-width: 900px) {
  .card-menu-foot { grid-template-columns: minmax(0, 1.4fr) auto auto; align-items: center; gap: 2rem; }
  .card-menu-foot p { max-width: 46ch; }
}

/* ---------- Voor later ---------- */

.later {
  background: var(--groen);
  color: var(--creme);
  --focus: var(--creme);
  padding-block: var(--sectie);
}
.later-grid { display: grid; gap: 2.5rem; align-items: center; }
.later-media { aspect-ratio: 1402 / 1122; overflow: hidden; background: rgba(0, 0, 0, 0.25); }
.later-media img { width: 100%; height: 100%; object-fit: cover; }
.later-text h2 { margin-bottom: 1.5rem; }
.later-text .btn { margin-top: 1.25rem; }
@media (min-width: 900px) {
  .later-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
}

/* ---------- Verhaal ---------- */

.story {
  background: var(--kastanje);
  color: var(--creme);
  --focus: var(--creme);
  padding-block: var(--sectie);
  overflow: hidden;
}
.story-line {
  font-size: clamp(3.4rem, 0.5rem + 14.5vw, 13.5rem);
  line-height: 0.84;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.story-line .line { display: block; }
.story-line .line:nth-child(2) { padding-left: 0.6em; }
.story-text {
  display: grid;
  gap: 1.25rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  font-size: 1.125rem;
}
@media (min-width: 900px) {
  .story-text {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    margin-left: 33%;
  }
}

/* ---------- Catering ---------- */

.catering {
  background: var(--petrol);
  color: var(--creme);
  --focus: var(--creme);
  padding-block: var(--sectie);
}
.catering-grid { display: grid; gap: 2.5rem; align-items: center; }
.catering-text h2 { margin-bottom: 1.5rem; }
.catering-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}
.catering-actions p { margin: 0; }
.catering-media { aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0, 0, 0, 0.3); }
.catering-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .catering-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); }
  .catering-media { margin-right: calc(-1 * var(--gutter)); }
}

/* ---------- Contact ---------- */

.contact { padding-block: var(--sectie); }
.contact-grid { display: grid; gap: 2rem; }
.contact h2 { color: var(--zwart); }
.contact-list { display: grid; gap: 1.75rem; margin: 0; }
.contact-list dt {
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--oker);
  margin-bottom: 0.3rem;
}
.contact-list dd { margin: 0; font-size: 1.125rem; }
@media (min-width: 700px) {
  .contact-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--zwart);
  color: var(--creme);
  --focus: var(--creme);
  padding-block: 3rem 2.5rem;
  overflow: hidden;
}
.footer-brand {
  margin: 0;
  max-width: none;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(4.5rem, 1rem + 20vw, 17rem);
  line-height: 0.8;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--koper);
  font-size: 0.95rem;
}

/* ---------- Vaste bestelknop op mobiel ---------- */

.order-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--creme);
  border-top: 1px solid var(--lijn);
}
.order-bar .btn { width: 100%; }
.site-footer { padding-bottom: calc(7rem + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .order-bar { display: none; }
  .site-footer { padding-bottom: 2.5rem; }
}

/* ---------- Bestelmelding ---------- */

.order-dialog {
  width: min(30rem, calc(100% - 2rem));
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border: 0;
  border-top: 6px solid var(--bordeaux);
  border-radius: 2px;
  background: var(--creme);
  color: var(--kastanje);
}
.order-dialog::backdrop { background: rgba(5, 5, 5, 0.6); }
.order-dialog h2 {
  font-size: 2.1rem;
  text-transform: uppercase;
  color: var(--zwart);
  margin-bottom: 1rem;
}
.dialog-links { display: grid; gap: 0.6rem; margin: 1.5rem 0 1rem; }
.dialog-links .btn { width: 100%; }
.dialog-close {
  min-height: 2.75rem;
  padding: 0 0.25rem;
  background: none;
  border: 0;
  color: var(--kastanje);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

/* ---------- USP-balk met open-melding ---------- */

.usp-bar {
  background: var(--zwart);
  color: var(--creme);
  --focus: var(--creme);
  font-size: 0.95rem;
}
.usp-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  min-height: 2.5rem;
  padding-block: 0.4rem;
}
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  max-width: none;
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.open-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(242, 233, 216, 0.45);
  flex: none;
}
.open-status.is-open .open-dot { background: #6FCF7F; box-shadow: 0 0 0 3px rgba(111, 207, 127, 0.2); }
.usp-list { display: none; gap: 1.75rem; }
.usp-list li { position: relative; }
.usp-list li + li::before {
  content: "";
  position: absolute;
  left: -0.95rem;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--koper);
  transform: translateY(-50%);
}
@media (min-width: 900px) {
  .usp-list { display: flex; }
}

/* ---------- Weer-melding in de opening ---------- */

.weather-note {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0.75rem 1rem;
  background: var(--groen);
  color: var(--creme);
  --focus: var(--creme);
  max-width: 34rem;
  font-size: 1rem;
}
.weather-note[hidden] { display: none; }
.weather-note strong {
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
}
.weather-note button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}
.weather-note + .hero-lead { margin-top: 1.25rem; }


/* =========================================================
   Uitstraling: kleurlogica, koper, damp, papier, kiezer, lichtkrant
   ========================================================= */

/* Papier: een nauwelijks zichtbare korrel op de crème vlakken */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .19 0 0 0 0 .11 0 0 0 0 .09 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.site-header, .order-bar { background-color: var(--creme); background-image: inherit; }

/* Koperen details */
.site-nav ul a:hover { text-decoration-color: var(--koper); }
.weather-note { border-left: 4px solid var(--koper); }
.card-menu-head { border-bottom-color: var(--zwart); }

/* Filters nemen de kleur van hun categorie aan */
.filter[data-filter="stoof"][aria-pressed="true"] { background: var(--kastanje); border-color: var(--kastanje); }
.filter[data-filter="soep"][aria-pressed="true"] { background: var(--oker); border-color: var(--oker); }
.filter[data-filter="vega"][aria-pressed="true"] { background: var(--groen); border-color: var(--groen); }
.filter[data-filter="alles"][aria-pressed="true"] { background: var(--zwart); border-color: var(--zwart); }

/* Categoriekleur onder elke foto in de kaart */
.menu-row img { box-shadow: inset 0 0 0 0 transparent; border-bottom: 5px solid var(--kastanje); }
.menu-row[data-cat^="soep"] img { border-bottom-color: var(--oker); }


/* ---------- Kiezer: wat wordt het vandaag? ---------- */
.picker {
  display: grid;
  gap: 0;
  margin-top: clamp(3.5rem, 8vw, 6rem);
  background: var(--zwart);
  color: var(--creme);
  --focus: var(--koper);
}
.picker-q { padding: clamp(1.5rem, 4vw, 2.75rem); display: grid; gap: 1.25rem; align-content: start; }
.picker-q h3 { color: var(--creme); }
.picker-q > p { margin: -0.5rem 0 0; color: rgba(242, 233, 216, 0.75); }
.picker fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.picker legend {
  padding: 0;
  margin-bottom: 0.5rem;
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--koper);
}
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.4rem 1.1rem 0.45rem;
  border: 2px solid rgba(242, 233, 216, 0.35);
  border-radius: 2px;
  font-family: var(--font-kop);
  font-weight: 700;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.seg label:hover { border-color: var(--creme); }
.seg input:checked + label { background: var(--creme); border-color: var(--creme); color: var(--zwart); }
.seg input:focus-visible + label { outline: 3px solid var(--koper); outline-offset: 3px; }

.picker-result {
  display: grid;
  background: var(--kastanje);
  transition: background-color 0.3s ease;
}
.picker-result[data-tone="oker"] { background: var(--oker); }
.picker-result[data-tone="groen"] { background: var(--groen); }
.picker-result img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.picker-body { display: grid; gap: 0.6rem; padding: clamp(1.5rem, 4vw, 2.25rem); align-content: start; }
.picker-body .btn { justify-self: start; margin-top: 0.5rem; }
.picker-body p { margin: 0; }
.picker-label { font-style: italic; opacity: 0.8; }
.picker-name {
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(2.2rem, 1.5rem + 2vw, 3.2rem);
  line-height: 0.95;
  text-transform: uppercase;
}
.picker-price { font-family: var(--font-kop); font-weight: 700; font-size: 1.5rem; }

@media (prefers-reduced-motion: no-preference) {
  .picker-result.is-new img { animation: pickin 0.45s ease both; }
  @keyframes pickin { from { opacity: 0.2; } }
}
@media (min-width: 900px) {
  .picker { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .picker-result { grid-template-rows: auto 1fr; }
}

/* ---------- Lichtkrant ---------- */
.ticker {
  overflow: hidden;
  background: var(--zwart);
  color: var(--creme);
  border-block: 1px solid var(--koper);
  padding-block: 0.55rem;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 0;
}
.ticker span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-kop);
  font-weight: 800;
  font-size: clamp(1.05rem, 0.8rem + 0.9vw, 1.45rem);
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
}
.ticker span::after {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  margin-inline: 1rem;
  background: var(--koper);
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: no-preference) {
  .ticker-track { animation: krant 70s linear infinite; }
  @keyframes krant { to { transform: translateX(-50%); } }
}

.picker fieldset[hidden] { display: none; }
.picker-name .tag { vertical-align: 0.5em; font-size: 0.9rem; background: var(--creme); color: var(--groen); }

/* =========================================================
   Uitbreiding: taal, socials, kaart, Voor later, subpagina's
   ========================================================= */

/* Taalwissel rechtsboven */
.usp-inner { flex-wrap: nowrap; }
.usp-list { margin-left: auto; }
.lang-switch { display: flex; gap: 0.25rem; flex: none; margin-left: 1rem; }
.lang-switch button {
  display: inline-flex; align-items: center; gap: 0.4rem;
  min-height: 2rem; padding: 0.2rem 0.6rem;
  border: 0; border-radius: 2px;
  background: transparent; color: rgba(242, 233, 216, 0.7); cursor: pointer;
  font-family: var(--font-kop); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.04em;
  -webkit-appearance: none; appearance: none;
}
.lang-switch { background: var(--kastanje); padding: 0.15rem; border-radius: 3px; }
.lang-switch button:hover { color: var(--creme); }
.lang-switch button[aria-pressed="true"] { background: var(--oker); color: var(--creme); }
.lang-switch svg { width: 1.15rem; height: auto; aspect-ratio: 3 / 2; display: block; border-radius: 1px; }
@media (max-width: 899px) {
  .usp-inner { justify-content: space-between; }
  .lang-switch { margin-left: 0; }
}

/* Footer met kolommen en socials */
.footer-cols {
  display: grid; gap: 2rem;
  margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(242, 233, 216, 0.2);
  font-size: 1rem;
}
.footer-cols p { margin: 0 0 0.6rem; }
.footer-h { font-family: var(--font-kop); font-weight: 700; font-size: 1.2rem; color: var(--koper); }
.footer-links { display: grid; gap: 0.35rem; }
@media (min-width: 760px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.social-list { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.social-list a { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2.25rem; text-decoration: none; }
.social-list a:hover span { text-decoration: underline; text-decoration-color: var(--koper); }
.social-list svg { width: 1.3rem; height: 1.3rem; flex: none; }
.social-list li[hidden] { display: none; }

/* Kaart: plekhouder zonder foto, extra regel, bijgerechten */
.ph {
  display: grid; place-items: center;
  width: 100%; aspect-ratio: 1 / 1;
  background: var(--kastanje);
}
.ph.tone-groen { background: var(--groen); }
.ph.tone-oker { background: var(--oker); }
.ph svg { width: 42%; height: auto; fill: none; stroke: var(--koper); stroke-width: 2.2; stroke-linecap: round; opacity: 0.9; }
.menu-row .ph { width: 4.5rem; height: 4.5rem; border-bottom: 5px solid rgba(5, 5, 5, 0.35); }
@media (min-width: 700px) { .menu-row .ph { width: 6rem; height: 6rem; } }
.menu-row[data-cat^="soep"] .ph { border-bottom-color: var(--oker); }
.menu-row-meta { font-style: italic; font-size: 0.9rem !important; opacity: 0.75; }
.picker-result .ph { aspect-ratio: 16 / 10; }
.picker-result .picker-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.extras {
  display: grid; gap: 2rem;
  margin-top: 2.5rem; padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(48, 29, 22, 0.06);
  border-left: 4px solid var(--koper);
}
@media (min-width: 760px) { .extras { grid-template-columns: 1.4fr 1fr; } }
.extras-h { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; font-size: 1.6rem; color: var(--zwart); margin-bottom: 0.75rem; }
.extras-prijs { font-weight: 700; font-size: 1.35rem; }
.extras-list { display: grid; gap: 0.35rem 1.5rem; }
@media (min-width: 560px) { [data-extras="bij"] { grid-template-columns: 1fr 1fr; } }
.extras-list li { font-size: 1rem; }
.extras-sub { display: block; font-size: 0.88rem; font-style: italic; opacity: 0.75; }

/* Voor later-prijstabel */
.later-table-wrap { overflow-x: auto; margin: 1.5rem 0 0.75rem; }
.later-table { width: 100%; border-collapse: collapse; font-size: 0.98rem; font-variant-numeric: tabular-nums; }
.later-table th, .later-table td { padding: 0.45rem 0.6rem 0.45rem 0; text-align: left; border-bottom: 1px solid rgba(242, 233, 216, 0.18); white-space: nowrap; }
.later-table thead th { font-family: var(--font-kop); font-weight: 700; font-size: 1.05rem; color: var(--koper); border-bottom-color: var(--koper); }
.later-table tbody th { font-weight: 400; white-space: normal; }
.later-table tfoot th, .later-table tfoot td { border-bottom: 0; font-size: 0.92rem; white-space: normal; }
.later-note { font-size: 0.92rem; font-style: italic; opacity: 0.85; }
.later-grid { align-items: start; }

/* Subpagina's */
.sub-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 2.5rem); }
.sub-hero h1 { max-width: none; color: var(--zwart); }
.sub-lead { margin-top: 1.25rem; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); max-width: 44ch; }

.order-options {
  display: grid; gap: 1rem;
  padding-bottom: 2rem;
}
@media (min-width: 900px) { .order-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.order-card {
  display: grid; gap: 1rem; align-content: start;
  padding: clamp(1.5rem, 4vw, 2.25rem);
  background: rgba(48, 29, 22, 0.06);
  border-top: 5px solid var(--kastanje);
}
.order-card[hidden] { display: none; }
.order-card h2 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); text-transform: uppercase; color: var(--zwart); }
.order-card p { margin: 0; }
.order-online { grid-column: 1 / -1; background: var(--bordeaux); color: var(--creme); border-top-color: var(--koper); --focus: var(--creme); }
.order-online h2 { color: var(--creme); }
.order-online .btn-primary { background: var(--creme); color: var(--zwart); justify-self: start; }
.order-card-dark { background: var(--petrol); color: var(--creme); border-top-color: var(--koper); --focus: var(--creme); }
.order-card-dark h2 { color: var(--creme); }
.order-card-dark .btn { justify-self: start; }
.order-dl { display: grid; gap: 0.6rem; margin: 0; }
.order-dl dt { font-family: var(--font-kop); font-weight: 700; color: var(--oker); }
.order-dl dd { margin: 0; }
.order-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.order-small { font-size: 0.95rem; }
.app-list { display: grid; gap: 0.75rem; }
.app-list li {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem;
  padding: 0.85rem 1rem; background: var(--creme); border: 1px solid var(--lijn);
}
.app-name { font-family: var(--font-kop); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; }
.app-hint { font-size: 0.92rem; font-style: italic; }
.app-list [hidden] { display: none; }
.order-menu { padding-block: 1rem var(--sectie); }
.order-menu p { margin-bottom: 0.5rem; }

/* Allergenentool */
.allergen-tool { padding-bottom: var(--sectie); }
.al-filter { padding: clamp(1.25rem, 3vw, 2rem); background: var(--zwart); color: var(--creme); --focus: var(--koper); }
.al-h { font-size: 1.7rem; text-transform: uppercase; margin-bottom: 1rem; }
.al-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.al-chip, .al-clear {
  min-height: 2.6rem; padding: 0.35rem 0.95rem 0.4rem;
  border: 2px solid rgba(242, 233, 216, 0.35); border-radius: 2px;
  background: none; color: var(--creme); cursor: pointer;
  font-family: var(--font-kop); font-weight: 700; font-size: 1.1rem;
}
.al-chip:hover { border-color: var(--creme); }
.al-chip[aria-pressed="true"] { background: var(--creme); border-color: var(--creme); color: var(--zwart); text-decoration: line-through; text-decoration-color: var(--bordeaux); text-decoration-thickness: 2px; }
.al-clear { border-style: dashed; color: var(--koper); border-color: var(--koper); }
.al-status { margin: 1rem 0 0; font-style: italic; min-height: 1.4em; }

.al-grid { display: grid; gap: 2rem; margin-top: 2rem; align-items: start; }
@media (min-width: 900px) { .al-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
.al-group { font-size: 1.4rem; text-transform: uppercase; color: var(--zwart); margin: 1.5rem 0 0.5rem; }
.al-group:first-child { margin-top: 0; }
.al-items { display: grid; gap: 0; border-top: 1px solid var(--lijn); }
.al-item {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem;
  width: 100%; min-height: 3rem; padding: 0.6rem 0.75rem;
  border: 0; border-bottom: 1px solid var(--lijn); background: none; color: var(--zwart);
  text-align: left; cursor: pointer; font: inherit;
}
.al-item:hover { background: rgba(48, 29, 22, 0.06); }
.al-item[aria-pressed="true"] { background: var(--zwart); color: var(--creme); }
.al-item.is-dim .al-item-name { opacity: 0.5; text-decoration: line-through; }
.al-item-name { font-family: var(--font-kop); font-weight: 700; font-size: 1.3rem; }
.al-st { font-size: 0.88rem; font-style: italic; }
.al-st.is-ok { color: var(--groen); font-style: normal; font-weight: 600; }
.al-st.is-no { color: var(--bordeaux); }
.al-item[aria-pressed="true"] .al-st { color: var(--creme); }

.al-detail {
  position: sticky; top: 6rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: rgba(48, 29, 22, 0.06);
  border-top: 5px solid var(--koper);
}
.al-d-group { margin: 0; font-style: italic; opacity: 0.75; }
.al-d-name { font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); text-transform: uppercase; color: var(--zwart); margin: 0.25rem 0 1rem; }
.al-d-h { font-size: 1.25rem; color: var(--oker); margin: 1.25rem 0 0.5rem; }
.al-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; }
.al-badge {
  display: inline-flex; align-items: center; gap: 0.15rem;
  padding: 0.25rem 0.6rem 0.3rem; background: var(--zwart); color: var(--creme);
  font-family: var(--font-kop); font-weight: 700; font-size: 1rem;
}
.al-badge.is-hit { background: var(--bordeaux); }
.al-mark { color: var(--koper); font-weight: 700; margin-left: 0.1rem; }
.al-d-noot { font-size: 0.95rem; font-style: italic; margin: 0.6rem 0 0; }
.al-d-ingr { font-size: 0.98rem; line-height: 1.6; max-width: none; }
.al-d-ingr strong { font-weight: 600; }
.al-d-empty { font-style: italic; }
.al-notes { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--lijn); font-size: 0.95rem; }
.al-notes p { max-width: 70ch; }
@media (max-width: 899px) { .al-detail { position: static; scroll-margin-top: 6rem; } }

/* Correcties */
.seg [hidden] { display: none !important; }
[data-picker-questions] { display: grid; gap: 1.1rem; }
@media (min-width: 1040px) { .contact-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.al-status:empty { display: none; }

/* ---------- Ronde oktober 2026 ---------- */
/* Allergeniconen: gekleurde cirkel met wit symbool */
.al-icon { width: 1.6rem; height: 1.6rem; flex: none; }
.al-chip { display: inline-flex; align-items: center; gap: 0.5rem; padding-left: 0.45rem; }
.al-chip[aria-pressed="true"] .al-icon { opacity: 0.55; }
.al-badge { gap: 0.4rem; padding-left: 0.3rem; }
.al-badge .al-icon { width: 1.3rem; height: 1.3rem; }

/* Voor later: portie-aanduiding onder de maat */
.later-table thead th small { display: block; font-family: var(--font-tekst, inherit); font-weight: 400; font-size: 0.8rem; color: var(--creme); opacity: 0.8; text-transform: none; }

/* Catering: mailadres zichtbaar */
.catering-mail a { font-weight: 600; }

/* Plattegrond */
.kaart-svg { display: block; width: 100%; height: auto; border: 1px solid var(--lijn); background: #EFE4CF; }
.kaart-svg .k-street { font-family: var(--font-kop); font-weight: 700; fill: #4a3b30; letter-spacing: 0.05em; text-transform: uppercase; }
.kaart-svg .k-green { font-family: var(--font-tekst); font-style: italic; fill: #56663a; }
.kaart-svg .k-poi-name { font-family: var(--font-kop); font-weight: 800; font-size: 17px; }
.kaart-svg .k-poi-sub { font-family: var(--font-tekst); font-size: 12px; fill: #5a4a3e; }
.kaart-svg .k-ketel-kop { font-family: var(--font-kop); font-weight: 700; font-size: 12px; fill: var(--creme); letter-spacing: 0.12em; text-transform: uppercase; }
.kaart-svg .k-ketel-naam { font-family: var(--font-kop); font-weight: 800; font-size: 26px; fill: #fff; text-transform: uppercase; }
.kaart-svg .k-ketel-sub { font-family: var(--font-tekst); font-size: 12px; fill: var(--creme); }
.kaart-svg .k-entr-txt { font-family: var(--font-kop); font-weight: 800; font-size: 16px; fill: var(--kastanje); text-transform: uppercase; }
.kaart-link { display: block; }
.kaart-link:hover .kaart-svg, .kaart-link:focus-visible .kaart-svg { border-color: var(--koper); }

.kaart-legenda { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0.9rem 0 0; padding: 0; font-size: 0.95rem; }
.kaart-legenda li { display: inline-flex; align-items: center; gap: 0.5rem; }
.lg { display: inline-block; flex: none; width: 1.6rem; height: 0; vertical-align: middle; }
.lg-auto { border-top: 5px solid #2563A6; }
.lg-lopen { border-top: 5px dotted #B3261E; }
.lg-ingang { width: 0.95rem; height: 0.95rem; border-radius: 50%; background: #E3A41F; border: 2px solid var(--kastanje); }

.contact-kaart { margin: 2rem 0 0; grid-column: 1 / -1; }
.contact-kaart figcaption { margin-top: 0.75rem; font-size: 0.98rem; }

.route { padding-bottom: var(--sectie); }
.route-kaart { margin: 0; }
.route-stappen { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 900px) { .route-stappen { grid-template-columns: repeat(3, 1fr); } }
.route-stappen h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.5rem; text-transform: uppercase; color: var(--zwart); margin-bottom: 0.5rem; }
.route-stappen p { margin: 0; }
.route-acties { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }

/* Verborgen menupagina */
.menu-pdf { padding-bottom: var(--sectie); }
.menu-pdf-view { display: none; width: 100%; height: 85vh; border: 1px solid var(--lijn); margin-bottom: 1.5rem; }
@media (min-width: 900px) { .menu-pdf-view { display: block; } }
[hidden] { display: none !important; }
.brand-mark { height: 3.3rem; }
.contact-kaart { max-width: 56rem; }
/* Mobiel: kaart op leesbare grootte, horizontaal te schuiven */
@media (max-width: 699px) {
  .route-kaart .kaart-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 -1rem; padding: 0 1rem; }
  .route-kaart .kaart-svg { min-width: 680px; }
  .kaart-hint { display: block; font-size: 0.85rem; font-style: italic; margin-top: 0.4rem; }
}
.kaart-hint { display: none; }

/* Kaart: filter Voor later — twee prijsregels per gerecht */
.menu-row .price-later { display: grid; gap: 0.15rem; justify-items: end; font-size: 1rem !important; white-space: nowrap; font-family: var(--font-tekst); font-weight: 400; }
.menu-row .price-later b { font-family: var(--font-kop); font-weight: 700; font-size: 1.25rem; }
.filter[data-filter="bij"][aria-pressed="true"] { background: var(--kastanje); border-color: var(--kastanje); color: var(--creme); }
.filter[data-filter="later"][aria-pressed="true"] { background: var(--petrol); border-color: var(--petrol); color: var(--creme); }
@media (max-width: 699px) {
  .menu-row-later { grid-template-columns: 4.5rem minmax(0, 1fr); }
  .menu-row-later .price-later { grid-column: 2; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; justify-content: flex-start; margin-top: 0.25rem; }
}
