/* ==========================================================================
   Food à la Lot - stylesheet
   Mobile-first. Breakpoints: 560 / 760 / 980 / 1200.
   Radius-regel: kaarten/foto's 14px, knoppen en chips pill, inputs 10px.
   ========================================================================== */

:root {
  --paper: #fef5ef;
  --blush: #f3e9e2;
  --line: #e6d9cf;
  --card: #fffdfb;
  --ink: #2b1b14;
  --cocoa: #4a2a1c;
  --cocoa-2: #6e4633;
  --muted: #8a6f62;
  --ok: #3f7a4c;

  --font-display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-hand: 'Sacramento', 'Snell Roundhand', 'Brush Script MT', cursive;   /* alleen voor "Liefs, Charlotte" */

  --r: 14px;
  --r-input: 10px;
  --wrap: 1180px;
  --gutter: 20px;
  --nav-h: 64px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

@media (min-width: 760px) {
  :root { --gutter: 32px; --nav-h: 72px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; }
::selection { background: var(--cocoa); color: var(--paper); }
:focus-visible { outline: 3px solid var(--cocoa-2); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: 56px; }
@media (min-width: 760px) { .section { padding-block: 88px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 999px; z-index: 100; }
.skip:focus { left: 12px; }
.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; }

.h-display { font-size: clamp(2.5rem, 6.5vw, 4.5rem); }
.h-section { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.h-card { font-size: 1.25rem; line-height: 1.2; }
.lede { font-size: 1.125rem; color: var(--cocoa-2); max-width: 52ch; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--cocoa-2); margin-bottom: 14px; }
.muted { color: var(--muted); }

.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.section-head .link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.section-head .link:hover { border-color: var(--cocoa); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid var(--cocoa);
  background: var(--cocoa); color: var(--paper);
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 10px 24px -14px rgba(43, 27, 20, .6); }
.btn:active { transform: translateY(0) scale(.98); box-shadow: none; }
.btn-ghost { background: transparent; color: var(--cocoa); }
.btn-ghost:hover { background: var(--blush); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: .92rem; }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-outline-light { background: transparent; border-color: color-mix(in srgb, var(--paper) 55%, transparent); color: var(--paper); }
.btn-outline-light:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); border-color: var(--paper); }
.btn i { font-size: 1.15em; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; text-decoration: none; display: inline-flex; align-items: baseline; gap: .3em; white-space: nowrap; flex: 0 0 auto; }
.brand em { font-style: italic; font-weight: 500; color: var(--cocoa-2); }
.nav-links { display: none; align-items: center; gap: 28px; list-style: none; }
.nav-links a { text-decoration: none; font-weight: 500; position: relative; padding: 4px 0; white-space: nowrap; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--cocoa); transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease); }
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-ig { display: inline-flex; align-items: center; gap: 8px; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); }
.nav-toggle i { font-size: 1.35rem; }
.nav-panel { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.nav-panel.open { display: block; }
.nav-panel ul { list-style: none; padding: 8px 0 16px; }
.nav-panel a { display: block; padding: 14px var(--gutter); font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-decoration: none; }
/* Met "Koek à la Lot" erbij (24 nov 2026) past het volledige menu pas vanaf 920px; daaronder het uitklapmenu */
@media (min-width: 920px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-panel { display: none !important; }
}
@media (min-width: 920px) and (max-width: 1039px) { .nav-links { gap: 20px; } }

/* ---------- ingelogd: balk met link naar beheer, conceptmelding ---------- */
.admin-bar { background: var(--ink); color: var(--paper); font-size: .88rem; }
.admin-bar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding-block: 8px; }
.admin-bar span { display: inline-flex; align-items: center; gap: 6px; }
.admin-bar a { color: var(--paper); font-weight: 600; text-underline-offset: 3px; }
.draft-note { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding: 12px 16px; border-radius: var(--r); background: #fff3d6; color: #5c4100; font-weight: 600; font-size: .95rem; }

/* ---------- hero (recept van de week) ---------- */
.hero { padding-block: 32px 48px; }
.hero-grid { display: grid; gap: 28px; }
.hero-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--blush); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy .h-display { margin-bottom: 18px; max-width: 12ch; }
.hero-copy .lede { margin-bottom: 26px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; color: var(--cocoa-2); font-size: .95rem; }
.meta li { display: inline-flex; align-items: center; gap: 7px; }
.meta i { font-size: 1.15em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (min-width: 760px) {
  .hero { padding-block: 40px 72px; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
  .hero-photo { order: 2; }
}
@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 64px; }
}

/* ---------- categorie-strip ---------- */
.cats { padding-block: 8px 56px; }
.cat-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 8px; margin: -4px -2px 0; scrollbar-width: none; list-style: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat { scroll-snap-align: start; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; transition: border-color .2s, transform .2s var(--ease); }
.cat:hover { border-color: var(--cocoa); transform: translateY(-1px); }
.cat img { width: 44px; height: 44px; border-radius: 999px; object-fit: cover; }
.cat span { padding-right: 4px; }

/* ---------- receptkaarten ---------- */
.grid-recipes { display: grid; gap: 28px 20px; list-style: none; }
@media (min-width: 560px) { .grid-recipes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-recipes { grid-template-columns: repeat(3, 1fr); gap: 36px 28px; } }
.card { position: relative; }
.card-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--blush); margin-bottom: 14px; }
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card-photo img { transform: scale(1.04); }
.card-cat { font-size: .82rem; font-weight: 600; color: var(--cocoa-2); letter-spacing: .02em; margin-bottom: 6px; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card .meta { margin-top: 8px; font-size: .9rem; }

/* ---------- over Charlotte ---------- */
.over-grid { display: grid; gap: 28px; }
.over-photo { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; }
.over-photo img { width: 100%; height: 100%; object-fit: cover; }
.over-copy h2 { margin-bottom: 18px; }
.over-copy p + p { margin-top: 14px; }
.over-copy .btn { margin-top: 26px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.over-copy .btn-row .btn { margin-top: 0; }
.over-copy .h-display { font-size: clamp(2.6rem, 7vw, 4.25rem); }
/* "Liefs, Charlotte" in handschrift (verzoek van Charlotte, 24 nov 2026) */
.groet { font-family: var(--font-hand); font-size: clamp(2.2rem, 5.5vw, 2.9rem); line-height: 1.15; color: var(--cocoa); margin-top: 20px; }
.over-copy p + .groet { margin-top: 20px; }
.over-more { margin-top: 18px; }
.over-more .link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 2px; transition: border-color .2s; }
.over-more .link:hover { border-color: var(--cocoa); }
@media (min-width: 760px) {
  .over-grid { grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
  .over-grid-flip { grid-template-columns: 1.1fr .9fr; }
  .over-grid-flip .over-photo { order: 2; }
}

/* ---------- fotogalerij (over Charlotte): kolommen, foto's houden hun eigen verhouding ---------- */
.gallery { list-style: none; columns: 2; column-gap: 10px; }
.gallery li { break-inside: avoid; margin-bottom: 10px; border-radius: var(--r); overflow: hidden; }
.gallery img { width: 100%; }
@media (min-width: 760px) { .gallery { columns: 3; column-gap: 16px; } .gallery li { margin-bottom: 16px; } }

/* ---------- twee foto's naast elkaar (samenwerken) ---------- */
.photo-pair { display: grid; grid-template-columns: 1.15fr .85fr; gap: 10px; }
.photo-pair img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
@media (min-width: 760px) { .photo-pair { gap: 16px; } .photo-pair img { aspect-ratio: 4 / 3; } .photo-pair img:last-child { aspect-ratio: auto; } }

/* ---------- fotoband: tekst over een paginabrede foto ---------- */
.band { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 560px; padding-block: 64px; overflow: hidden; color: #fff; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43, 27, 20, .62) 0%, rgba(43, 27, 20, .42) 55%, rgba(43, 27, 20, .66) 100%); }
.band h2 { margin-bottom: 18px; max-width: 11ch; }
.band p { font-size: 1.125rem; line-height: 1.65; max-width: 42ch; color: rgba(255, 255, 255, .9); }
.band p + p { margin-top: 12px; }
.band .btn { margin-top: 30px; }
@media (min-width: 760px) {
  .band { min-height: 620px; padding-block: 96px; }
  .band > img { object-position: center; }
  .band::before { background: linear-gradient(90deg, rgba(43, 27, 20, .74) 0%, rgba(43, 27, 20, .42) 50%, rgba(43, 27, 20, 0) 78%); }
}

/* ---------- hotspots (donkere band) ---------- */
.hotspots { background: var(--cocoa); color: var(--paper); }
.hotspots h2 { margin-bottom: 10px; }
.hotspots .lede { color: color-mix(in srgb, var(--paper) 78%, transparent); margin-bottom: 32px; }
.hot-grid { display: grid; gap: 14px; list-style: none; }
.hot { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; text-decoration: none; }
.hot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hot:hover img { transform: scale(1.04); }
.hot-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 20px 18px; background: linear-gradient(180deg, transparent, rgba(43, 27, 20, .78)); }
.hot-label h3 { font-size: 1.5rem; color: #fff; }
.hot-label p { color: rgba(255, 255, 255, .82); font-size: .95rem; }
@media (min-width: 560px) { .hot-grid { grid-template-columns: repeat(3, 1fr); } .hot { aspect-ratio: 3 / 4; } .hot-label { padding: 40px 14px 14px; } }
@media (min-width: 760px) { .hot-grid { gap: 24px; } .hot-label { padding: 48px 20px 18px; } }

/* ---------- instagram ---------- */
.ig-layout { display: grid; gap: 28px; }
.ig-intro p { max-width: 40ch; margin: 10px 0 22px; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; }
.ig-grid a { display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 1; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-grid a:hover img { transform: scale(1.05); }
@media (min-width: 760px) { .ig-grid { gap: 12px; } }
@media (min-width: 960px) { .ig-layout { grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: center; } }

/* ---------- nieuwsbrief ---------- */
.news { background: var(--blush); border-radius: var(--r); padding: 36px 24px; }
.news h2 { margin-bottom: 10px; }
.news p { max-width: 46ch; }
.news form { display: grid; gap: 10px; margin-top: 22px; }
.news label { font-weight: 600; font-size: .95rem; }
.news input { width: 100%; padding: 14px 16px; border-radius: var(--r-input); border: 1.5px solid var(--line); background: var(--card); font: inherit; color: var(--ink); }
.news input::placeholder { color: var(--muted); }
.news input:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(74, 42, 28, .15); }
.news small { color: var(--muted); }
.news small a { color: inherit; text-underline-offset: 3px; }
.news .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.news-status { padding: 12px 14px; border-radius: var(--r-input); background: var(--card); color: var(--ink); font-weight: 600; font-size: .95rem; line-height: 1.45; }
.news-status.is-error { background: #fbe4df; color: #7a2617; }
.news form.is-done > :not(.news-status):not(input[type="hidden"]) { display: none; }
@media (min-width: 760px) {
  .news { padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
  .news form { margin-top: 0; }
}

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 40px 28px; margin-top: 24px; font-size: .95rem; }
.footer-grid { display: grid; gap: 24px; }
.footer h4 { font-size: 1rem; margin-bottom: 10px; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer a { text-decoration: none; color: var(--cocoa-2); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; color: var(--muted); font-size: .85rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; } }

/* ---------- vaste pagina's: samenwerken, privacy, nieuwsbrief ---------- */
.page-narrow { max-width: 760px; }
.page-narrow form { display: flex; flex-wrap: wrap; gap: 12px; }
.page-intro { padding-block: 40px 8px; }
.page-intro .h-display { font-size: clamp(2.3rem, 6vw, 3.75rem); margin-bottom: 18px; max-width: 16ch; }
.page-intro .lede { max-width: 62ch; }
.intro-text { max-width: 62ch; color: var(--cocoa-2); }
.intro-text p:first-child { font-size: 1.125rem; }
.intro-text p + p { margin-top: 14px; }
.offer-grid { display: grid; gap: 16px; list-style: none; }
.offer { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 26px 24px; }
.offer i { font-size: 1.8rem; color: var(--cocoa); }
.offer h3 { font-size: 1.3rem; margin: 14px 0 8px; }
.offer p { color: var(--cocoa-2); }
.contact-band { background: var(--cocoa); color: var(--paper); border-radius: var(--r); padding: 36px 24px; display: grid; gap: 18px; }
.contact-band h2 { color: var(--paper); }
.contact-band p { color: color-mix(in srgb, var(--paper) 80%, transparent); max-width: 52ch; }
.contact-band p + p { margin-top: 10px; }
.contact-band .btn { justify-self: start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.legal h2 { font-size: 1.4rem; margin: 36px 0 10px; scroll-margin-top: calc(var(--nav-h) + 16px); }
.legal ul { padding-left: 20px; margin-top: 10px; }
.legal li + li { margin-top: 6px; }
.legal p + p { margin-top: 12px; }
@media (min-width: 760px) {
  .offer-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-band { padding: 48px; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
}

/* ==========================================================================
   Koek à la Lot (pagina en bestelformulier)
   ========================================================================== */
.koek-dicht { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding: 14px 18px; border-radius: var(--r); background: #fff3d6; color: #5c4100; font-weight: 600; }
.koek-dicht i { font-size: 1.3rem; flex: 0 0 auto; }
.koek-hero .hero-copy .h-display { max-width: 14ch; font-size: clamp(2.4rem, 5.6vw, 4rem); }
.koek-hero .hero-copy .lede { margin-bottom: 14px; }
.koek-hero .hero-photo { aspect-ratio: 1; }   /* op de telefoon minder hoog: de bestelknop staat dan sneller in beeld */
@media (min-width: 760px) { .koek-hero .hero-photo { aspect-ratio: 4 / 5; } }
.koek-bezorgd { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--cocoa); }
.koek-bezorgd i { font-size: 1.25rem; }
.koek-kop { display: grid; gap: 16px; margin-bottom: 32px; }
.koek-tekst { max-width: 58ch; color: var(--cocoa-2); }
.koek-tekst p + p { margin-top: 12px; }
@media (min-width: 760px) { .koek-kop { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; } }

/* de koekboxen op een zacht vlak */
.koek-band { background: var(--blush); }
.koek-band h2 { margin-bottom: 26px; }
.koek-boxen { display: grid; gap: 14px; list-style: none; margin-bottom: 22px; }
.koek-box { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 14px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 20px; }
.koek-box .koek-prijs { grid-column: 1 / -1; }
.koek-box i { font-size: 1.8rem; color: var(--cocoa); }
.koek-box h3 { font-size: 1.15rem; line-height: 1.25; letter-spacing: -.01em; }
.koek-prijs { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; white-space: nowrap; }
.koek-prijs small { font-family: var(--font-body); font-weight: 500; font-size: .85rem; letter-spacing: 0; color: var(--cocoa-2); }
/* prijs bij afhalen in Nijverdal, onder de prijs inclusief verzending */
.koek-afhaalprijs { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1.5px solid var(--line); color: var(--cocoa-2); font-size: .95rem; }
.koek-afhaalprijs b { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.koek-afhaalprijs i { font-size: 1.2rem; color: var(--cocoa); }
.koek-verzending { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.koek-verzending i { font-size: 1.3rem; margin-top: 2px; flex: 0 0 auto; }
.koek-band-tekst { color: var(--cocoa-2); margin: 6px 0 26px; max-width: 58ch; }
@media (min-width: 760px) {
  .koek-boxen { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .koek-box { grid-template-columns: 1fr; justify-items: start; gap: 10px; padding: 28px; }
  .koek-afhaalprijs { justify-self: stretch; margin-top: 6px; }
  .koek-box h3 { font-size: 1.3rem; }
  .koek-prijs { font-size: 2.4rem; }
}

@media (min-width: 1100px) { .koek-boxen { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); } }

/* lettertegeltje erbij: tekst met de twee overzichten van alle letters */
.koek-tegel { display: grid; gap: 28px; }
.koek-tegel h2 { margin-bottom: 16px; }
.koek-tegel-prijs { margin-top: 18px; color: var(--cocoa-2); }
.koek-tegel-prijs b { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -.02em; color: var(--ink); margin-right: 4px; }
.koek-tegel-fotos { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.koek-tegel-fotos a { display: block; border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--line); background: #fff; }
.koek-tegel-fotos img { width: 100%; transition: transform .6s var(--ease); }
.koek-tegel-fotos a:hover img { transform: scale(1.03); }
@media (min-width: 980px) { .koek-tegel { grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; } .koek-tegel-fotos { gap: 16px; } }

/* kaartje erbij + kraamkoeken */
.koek-extra { display: grid; gap: 28px; }
.koek-kaartje h2 { margin-bottom: 16px; }
.koek-kaartjes { display: flex; gap: 10px; list-style: none; margin-top: 26px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 4px; }
.koek-kaartjes::-webkit-scrollbar { display: none; }
.koek-kaartjes li { flex: 0 0 34%; scroll-snap-align: start; }
.koek-kaartjes figure { margin: 0; }
.koek-kaartjes img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 10px; }
/* nummer en titel: de klant kiest hiermee een kaartje in het bestelformulier */
.koek-kaartjes figcaption { margin-top: 8px; font-size: .85rem; line-height: 1.3; color: var(--cocoa-2); }
.koek-kaartjes figcaption b, .oform-kaart b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-right: 4px; border-radius: 999px; background: var(--cocoa); color: var(--paper); font-family: var(--font-display); font-weight: 600; font-size: .78rem; }
.koek-baby { background: var(--blush); border-radius: var(--r); padding: 28px 24px; align-self: start; }
.koek-baby h2 { font-size: 1.5rem; margin-bottom: 12px; }
.koek-baby p { color: var(--cocoa-2); }
@media (min-width: 560px) { .koek-kaartjes li { flex-basis: 0; flex-grow: 1; } }
@media (min-width: 980px) { .koek-extra { grid-template-columns: 1.55fr 1fr; gap: 56px; } .koek-baby { padding: 36px; margin-top: 8px; } }

/* hoe bestel je + verzending */
.koek-uitleg { display: grid; gap: 20px; }
.koek-kaart { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 28px 24px; }
.koek-kaart--zacht { background: transparent; }
.koek-kaart h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 14px; }
.koek-kaart p { color: var(--cocoa-2); }
.koek-kaart p + p { margin-top: 12px; }
.koek-kaart .btn { margin-top: 22px; }
.koek-lijst { list-style: none; display: grid; gap: 8px; margin: 16px 0; }
.koek-lijst li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.koek-lijst i { color: var(--ok); font-size: 1.15rem; margin-top: 4px; }
.koek-dagen { display: flex; gap: 6px; list-style: none; margin-bottom: 18px; }
.koek-dagen li { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--muted); }
.koek-dagen li.is-aan { background: var(--cocoa); border-color: var(--cocoa); color: var(--paper); }
.koek-dagen abbr { text-decoration: none; }
@media (min-width: 760px) { .koek-uitleg { grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; } .koek-kaart { padding: 36px; } }

.koek-allergenen { display: grid; gap: 22px; border-top: 1.5px solid var(--line); padding-top: 40px; }
.koek-allergenen h2 { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 14px; }
.koek-allergenen .btn { justify-self: start; white-space: normal; text-align: left; }
@media (min-width: 760px) { .koek-allergenen { grid-template-columns: 1fr auto; gap: 48px; align-items: center; } }
.koek-insta .btn { justify-self: start; margin-top: 20px; }
@media (min-width: 760px) { .koek-insta { grid-template-columns: 1fr auto; } .koek-insta .btn { margin-top: 0; } }

/* ---------- pop-up met het bestelformulier ---------- */
.order-dialog { border: 0; padding: 0; margin: auto; width: min(620px, 100vw - 24px); max-height: min(880px, 100dvh - 24px); border-radius: var(--r); background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(43, 27, 20, .55); overflow: hidden; }
.order-dialog[open] { display: flex; flex-direction: column; }
.order-dialog::backdrop { background: rgba(43, 27, 20, .6); }
.order-dialog-kop { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex: 0 0 auto; }
.order-dialog-kop h2 { font-size: 1.35rem; }
.order-dialog-sluit { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); }
.order-dialog-sluit:hover { border-color: var(--cocoa); }
.order-dialog-sluit i { font-size: 1.25rem; }
.order-dialog-inhoud { padding: 20px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 559px) {
  .order-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
}
@media (min-width: 560px) { .order-dialog-kop { padding: 20px 28px; } .order-dialog-inhoud { padding: 24px 28px 28px; } }
html:has(.order-dialog[open]) { overflow: hidden; }

/* ---------- bestelformulier ---------- */
.oform { display: grid; gap: 18px; }
.oform[hidden], .oform [hidden] { display: none !important; }   /* display: grid wint anders van het hidden-attribuut */
.oform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.oform-set { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.oform-set legend { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; padding: 0; margin-bottom: 10px; }
.oform-veld { display: grid; gap: 6px; min-width: 0; }
.oform-veld label { font-weight: 600; font-size: .95rem; }
.oform-veld label small { font-weight: 400; color: var(--muted); }
.oform input[type="text"], .oform input[type="email"], .oform input[type="number"], .oform select, .oform textarea {
  width: 100%; padding: 13px 14px; border-radius: var(--r-input); border: 1.5px solid var(--line); background: var(--card); font: inherit; color: var(--ink);
}
.oform select { appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 256 256'%3E%3Cpath fill='%236e4633' d='M213.7 101.7l-80 80a8 8 0 0 1-11.4 0l-80-80a8 8 0 0 1 11.4-11.4L128 164.7l74.3-74.4a8 8 0 0 1 11.4 11.4Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.oform textarea { resize: vertical; line-height: 1.5; min-height: 88px; }
.oform input::placeholder, .oform textarea::placeholder { color: var(--muted); }
.oform input:focus, .oform select:focus, .oform textarea:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(74, 42, 28, .15); }
.oform [aria-invalid="true"] { border-color: #b3261e; }
.oform-rij { display: grid; gap: 14px; }
.oform-rij--smal { grid-template-columns: 150px 1fr; }
.oform-rij--adres { grid-template-columns: 130px 1fr; }
.oform-hint { font-size: .88rem; color: var(--muted); line-height: 1.45; }
p.oform-hint { margin-top: -8px; }
.oform-fout { color: #b3261e; font-weight: 600; font-size: .88rem; }
.oform-boxen { display: grid; gap: 10px; }
.oform-box { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--r-input); background: var(--card); cursor: pointer; transition: border-color .2s, background .2s; }
.oform-box:has(input:checked) { border-color: var(--cocoa); background: var(--blush); }
.oform-box:has(input:focus-visible) { outline: 3px solid var(--cocoa-2); outline-offset: 2px; }
.oform-box input, .oform-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--cocoa); }
.oform-box-naam { font-weight: 600; }
.oform-box-prijs { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; white-space: nowrap; }
.oform-kaartje { display: grid; gap: 14px; padding: 16px; border-radius: var(--r-input); background: var(--blush); }
.oform-check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; cursor: pointer; line-height: 1.4; }
.oform-check input { margin-top: 2px; }
.oform-check small { color: var(--cocoa-2); }
.oform-plus { font-family: var(--font-display); font-weight: 600; color: var(--cocoa-2); white-space: nowrap; }
.oform-box-prijs small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: var(--cocoa-2); }
.oform-box-prijs--klein { font-family: var(--font-body); font-weight: 500; font-size: .9rem; color: var(--cocoa-2); }
.oform-kaartje-extra { display: grid; gap: 14px; }
.oform-tegels { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.oform-tegels a { display: grid; gap: 6px; padding: 6px 6px 8px; border: 1.5px solid var(--line); border-radius: var(--r-input); background: var(--card); text-decoration: none; font-size: .82rem; font-weight: 600; color: var(--cocoa-2); text-align: center; }
.oform-tegels a:hover { border-color: var(--cocoa); }
.oform-tegels img { width: 100%; border-radius: 6px; }
.oform-set .oform-legend-klein { font-family: var(--font-body); font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.oform-kaarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.oform-kaart { position: relative; display: grid; gap: 6px; align-content: start; padding: 6px 6px 8px; border: 1.5px solid var(--line); border-radius: var(--r-input); background: var(--card); cursor: pointer; font-size: .8rem; line-height: 1.3; transition: border-color .2s; }
.oform-kaart img { width: 100%; aspect-ratio: 5 / 7; object-fit: cover; border-radius: 6px; }
.oform-kaart input { position: absolute; top: 12px; left: 12px; width: 20px; height: 20px; margin: 0; accent-color: var(--cocoa); }
.oform-kaart:has(input:checked) { border-color: var(--cocoa); box-shadow: 0 0 0 2px var(--cocoa); }
.oform-kaart:has(input:focus-visible) { outline: 3px solid var(--cocoa-2); outline-offset: 2px; }
@media (min-width: 560px) { .oform-kaarten { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.oform-status { padding: 12px 14px; border-radius: var(--r-input); background: #fbe4df; color: #7a2617; font-weight: 600; font-size: .95rem; line-height: 1.45; }
.oform-eind { display: grid; gap: 12px; }
.oform-eind .btn { justify-self: stretch; }
.oform-eind small { color: var(--muted); line-height: 1.5; }
.oform-eind small a { color: inherit; text-underline-offset: 3px; }
.oform-klaar { text-align: center; padding: 28px 8px 20px; display: grid; gap: 10px; justify-items: center; }
.oform-klaar[hidden] { display: none; }
.oform-klaar i { font-size: 3rem; color: var(--ok); }
.oform-klaar p { color: var(--cocoa-2); max-width: 44ch; }
.oform-klaar:focus { outline: none; }
.crumb-back { margin-bottom: 22px; }
.crumb-back .link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--cocoa-2); }
.crumb-back .link:hover { color: var(--ink); }
.page-narrow .oform { display: grid; }
@media (min-width: 560px) { .oform-eind .btn { justify-self: start; } }

/* ==========================================================================
   Receptenoverzicht
   ========================================================================== */
.page-head { padding-block: 40px 24px; }
.page-head h1 { margin-bottom: 12px; }
.filters { display: grid; gap: 16px; padding-block: 8px 32px; }
.search { position: relative; }
.search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 1.2rem; }
.search input { width: 100%; padding: 14px 16px 14px 46px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font: inherit; color: var(--ink); }
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(74, 42, 28, .15); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; font-size: .92rem; transition: background .2s, border-color .2s; }
.chip:hover { border-color: var(--cocoa); }
.chip[aria-pressed="true"] { background: var(--cocoa); border-color: var(--cocoa); color: var(--paper); }
.empty { display: none; text-align: center; padding: 56px 20px; border: 1.5px dashed var(--line); border-radius: var(--r); }
.empty.show { display: block; }
.empty h3 { margin-bottom: 8px; }
.grid-recipes .card[hidden] { display: none; }
@media (min-width: 760px) { .filters { grid-template-columns: 320px 1fr; align-items: center; } }

/* ==========================================================================
   Receptpagina
   ========================================================================== */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: .9rem; color: var(--muted); padding-block: 20px 0; }
.crumbs a { text-decoration: none; color: var(--cocoa-2); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }

.recipe-head { padding-block: 20px 28px; }
.recipe-head h1 { max-width: 16ch; margin-bottom: 16px; }
.recipe-head .lede { margin-bottom: 20px; }
.byline { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .92rem; color: var(--muted); }
.byline .avatar { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; }

.recipe-hero { border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 2; }
.recipe-hero img { width: 100%; height: 100%; object-fit: cover; }

.recipe-layout { display: grid; gap: 40px; padding-block: 40px; }
.prose { max-width: 64ch; }
.prose h2 { font-size: 1.6rem; margin: 32px 0 12px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 20px; margin-top: 10px; }
.prose li + li { margin-top: 6px; }
.prose h3 { font-size: 1.25rem; margin: 24px 0 10px; }
.prose ol { padding-left: 22px; margin-top: 10px; }
.prose img { border-radius: var(--r); margin: 20px 0; }
.prose blockquote { margin: 20px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--line); color: var(--cocoa-2); font-style: italic; }
.prose a { color: var(--cocoa); text-underline-offset: 3px; }
.affiliate-note { display: flex; gap: 8px; align-items: flex-start; max-width: 64ch; margin-top: 20px; font-size: .88rem; color: var(--muted); }
.affiliate-note i { margin-top: 3px; }
.sidebar { display: none; }
@media (min-width: 980px) {
  .recipe-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; }
  .sidebar { display: block; }
  .sidebar-sticky { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 24px; }
}

/* receptkaart */
.recipe-card { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--r); padding: 24px 20px; margin-top: 36px; }
.recipe-card-head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.recipe-card-head h2 { font-size: 1.75rem; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; }
.toolbar .btn { padding: 10px 16px; font-size: .92rem; }
.rc-grid { display: grid; gap: 32px; }
@media (min-width: 760px) {
  .recipe-card { padding: 36px; }
  .rc-grid { grid-template-columns: 300px 1fr; gap: 48px; }
}

/* opbrengst staat vast: geen calculator, want de baktijd hoort bij deze hoeveelheid en vorm */
.yield { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; margin-bottom: 14px; border-radius: 999px; background: var(--blush); font-weight: 600; font-size: .92rem; color: var(--cocoa-2); }
.yield i { font-size: 1.1em; }

.ing-list { list-style: none; display: grid; gap: 2px; }
.ing-list label { display: flex; align-items: start; gap: 12px; padding: 10px 8px; border-radius: 10px; cursor: pointer; transition: background .2s; }
.ing-list label:hover { background: var(--blush); }
.ing-list input { appearance: none; width: 22px; height: 22px; flex: 0 0 22px; margin-top: 3px; border: 1.5px solid var(--cocoa-2); border-radius: 7px; display: grid; place-items: center; background: var(--card); }
.ing-list input::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--cocoa); transform: scale(0); transition: transform .18s var(--ease); }
.ing-list input:checked::before { transform: scale(1); }
.ing-list input:checked ~ span { color: var(--muted); text-decoration: line-through; }
.ing-list b { font-weight: 600; }
.ing-group { font-family: var(--font-display); font-weight: 600; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cocoa-2); padding: 14px 8px 4px; }

.steps { list-style: none; counter-reset: stap; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: stap; }
.steps li::before { content: counter(stap); width: 40px; height: 40px; border-radius: 999px; background: var(--cocoa); color: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; }
.steps figure { margin: 14px 0 0; border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; }
.steps figure img { width: 100%; height: 100%; object-fit: cover; }
.steps .tip { display: block; margin-top: 8px; padding: 10px 14px; background: var(--blush); border-radius: 10px; font-size: .95rem; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; list-style: none; }
.tags a { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--line); text-decoration: none; font-size: .9rem; font-weight: 600; }
.tags a:hover { border-color: var(--cocoa); }

/* ---------- kookmodus (schakelaar: scherm blijft aan) ---------- */
.switch { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 24px; border-radius: var(--r); background: var(--blush); cursor: pointer; transition: background .2s; }
.switch:has(input:checked) { background: var(--cocoa); color: var(--paper); }
.switch input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.switch-track { position: relative; flex: 0 0 52px; width: 52px; height: 30px; border-radius: 999px; background: var(--line); transition: background .2s; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 999px; background: #fff; box-shadow: 0 1px 3px rgba(43, 27, 20, .3); transition: transform .22s var(--ease); }
.switch input:checked ~ .switch-track { background: var(--ok); }
.switch input:checked ~ .switch-track::after { transform: translateX(22px); }
.switch input:focus-visible ~ .switch-track { outline: 3px solid var(--cocoa-2); outline-offset: 3px; }
.switch-text { display: grid; gap: 2px; line-height: 1.3; }
.switch-text b { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; display: inline-flex; align-items: center; gap: 8px; }
.switch-status { font-size: .88rem; color: var(--muted); }
.switch:has(input:checked) .switch-status { color: color-mix(in srgb, var(--paper) 80%, transparent); }

/* kookmodus aan: stappen groter en rustiger */
.recipe-card.cooking .steps p { font-size: 1.2rem; line-height: 1.5; }
.recipe-card.cooking .steps { gap: 30px; }
.recipe-card.cooking .ing-list label { padding-block: 12px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: var(--paper); padding: 12px 18px; border-radius: 999px; font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease); z-index: 70; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- print: alleen de receptkaart ---------- */
@media print {
  .nav, .footer, .sidebar, .toolbar, .switch, .crumbs, .byline, .recipe-hero, .prose, .tags, .related, .toast, .admin-bar, .draft-note, .order-dialog { display: none !important; }
  body { background: #fff; color: #000; font-size: 12pt; }
  .recipe-card { border: 0; padding: 0; margin: 0; }
  .rc-grid { grid-template-columns: 1fr; gap: 16px; }
  .ing-list input { display: none; }
  .steps li::before { background: #000; color: #fff; }
}

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
