/* Nisa Bites — mobile-first */

/* Lokaal gehoste fonts (latin-subset, variabel): geen verzoeken naar Google, sneller en AVG-vriendelijk */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-latin.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap; src: url("../assets/fonts/cormorant-italic-latin.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("../assets/fonts/manrope-latin.woff2") format("woff2"); }

:root {
  --cream: #f7f1e8;
  --cream-2: #efe5d6;
  --sand: #e2d2bc;
  --espresso: #2a1c15;
  --choc: #4b3327;
  --cocoa: #6f5444;
  --gold: #86602f;
  --gold-soft: #d9bf8f;
  --line: rgb(42 28 21 / 0.12);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgb(42 28 21 / 0.06), 0 18px 40px -18px rgb(42 28 21 / 0.28);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--gold-soft); }

.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-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--espresso); color: var(--cream); padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { top: 12px; }
.container { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary { background: var(--espresso); color: var(--cream); }
.btn-primary:hover { background: var(--choc); }
.btn-ghost { border-color: var(--line); background: rgb(255 255 255 / 0.4); }
.btn-ghost:hover { border-color: var(--espresso); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #6f4f26; }
.btn-light { background: rgb(31 20 15 / 0.5); color: var(--cream); border-color: rgb(255 255 255 / 0.45); }
.btn-light:hover { background: rgb(31 20 15 / 0.72); }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; cursor: pointer; transition: background-color 0.2s; }
.icon-btn:hover { background: var(--cream-2); }
.icon-btn svg { width: 20px; height: 20px; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background-color 0.3s, box-shadow 0.3s; }
.site-header.is-scrolled { background: rgb(247 241 232 / 0.97); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; letter-spacing: 0.01em; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.request-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; border: 1px solid var(--line); background: rgb(255 255 255 / 0.6); cursor: pointer; font-weight: 600; font-size: 0.9rem;
  transition: border-color 0.2s;
}
.request-btn:hover { border-color: var(--espresso); }
.request-btn svg { width: 18px; height: 18px; }
.request-count {
  display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  background: var(--espresso); color: var(--cream); font-size: 0.75rem;
}
.request-count.bump { animation: bump 0.45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); background: var(--gold); } }
.request-label { display: none; }

.menu-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgb(255 255 255 / 0.6); cursor: pointer; display: grid; place-items: center; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease); }
.menu-lines { position: relative; }
.menu-lines::before, .menu-lines::after { content: ""; position: absolute; left: 0; }
.menu-lines::before { top: -6px; }
.menu-lines::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-6px) rotate(-45deg); }

.main-nav {
  position: fixed; inset: 72px 0 auto; background: var(--cream); border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 24px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0.3s;
}
.main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
.main-nav a { display: block; padding: 14px 0; font-family: var(--serif); font-size: 1.6rem; text-decoration: none; border-bottom: 1px solid var(--line); }

@media (min-width: 900px) {
  .menu-btn { display: none; }
  .request-label { display: inline; }
  .main-nav { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0; margin-left: auto; }
  .main-nav ul { display: flex; gap: 30px; }
  .main-nav a { padding: 6px 0; font: 500 0.92rem var(--sans); border: 0; position: relative; }
  .main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.35s var(--ease); }
  .main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
  .header-actions { margin-left: 24px; }
}

/* Hero — mobiel: foto eerst, desktop: tekst links, foto rechts */
.hero { padding: 84px 0 56px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-visual { order: -1; width: 100%; justify-self: center; }
.hero-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--radius) var(--radius); }
.hero-copy { max-width: 600px; }
.hero h1 { font-size: clamp(2.8rem, 9vw, 6rem); line-height: 0.96; margin-bottom: 20px; text-wrap: balance; }
.hero h1 em { display: block; font-style: italic; color: var(--gold); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--cocoa); max-width: 34em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.9rem; color: var(--cocoa); }
.hero-proof strong { color: var(--espresso); font-weight: 600; }

@media (min-width: 900px) {
  .hero { min-height: 100svh; display: flex; align-items: center; padding: 112px 0 72px; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
  .hero-visual { order: 0; width: min(100%, 520px); }
  .hero-visual img { aspect-ratio: 3 / 4; }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { max-width: 640px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 { margin-bottom: 14px; }
.section-head p { color: var(--cocoa); font-size: 1.05rem; }

/* Products */
.product-grid { display: grid; gap: clamp(28px, 3vw, 36px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.product article { height: 100%; display: flex; flex-direction: column; }
.product-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--sand); transition: box-shadow 0.5s var(--ease), transform 0.5s var(--ease); }
.product-media picture, .product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-media img { transition: transform 1.1s var(--ease), opacity 0.7s var(--ease); }
.product-alt img { opacity: 0; }
@media (hover: hover) {
  .product:hover .product-media { box-shadow: var(--shadow); transform: translateY(-4px); }
  .product:hover .product-media img { transform: scale(1.05); }
  .product:hover .product-alt img { opacity: 1; }
}
.product-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 20px 4px 0; }
.product h3 { font-size: 1.85rem; }
.product-body > p:not(.product-note) { margin-top: 8px; color: var(--cocoa); font-size: 0.95rem; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 18px; }
.price { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.price small { font-family: var(--sans); font-size: 0.75rem; font-weight: 500; color: var(--cocoa); }
.product-note { margin-top: 6px; font-size: 0.8rem; color: var(--cocoa); }
.product-tag { position: absolute; top: 14px; left: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgb(247 241 232 / 0.92); font-size: 0.75rem; font-weight: 700; }
.add-btn {
  flex: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--espresso); background: transparent;
  font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: background-color 0.25s, color 0.25s, transform 0.25s var(--ease);
}
.add-btn:hover { background: var(--espresso); color: var(--cream); }
.add-btn:active { transform: scale(0.96); }
.add-btn.is-added { background: var(--gold); border-color: var(--gold); color: #fff; }

/* Story */
.story { background: var(--cream-2); }
.story-grid { display: grid; gap: 56px; align-items: center; }
.story-visual { position: relative; padding: 0 12% 12% 0; }
.story-main img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius) var(--radius) 999px 999px; }
.story-small { position: absolute; right: 0; bottom: 0; width: 46%; }
.story-small img { aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); border: 6px solid var(--cream-2); }
.story-copy h2 { margin-bottom: 22px; }
.story-copy > p { color: var(--cocoa); margin-bottom: 14px; max-width: 36em; }
.story-copy .btn { margin-top: 18px; }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1fr 1fr; gap: 88px; } }

/* Reviews */
.review-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .review-grid { grid-template-columns: repeat(4, 1fr); } }
.review a {
  height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
  padding: 26px 22px 18px; border-radius: var(--radius); background: #fffaf3; border: 1px solid var(--line);
  text-decoration: none; transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
}
.review a:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; }
.review blockquote p::before { content: "“"; }
.review blockquote p::after { content: "”"; }
.review-src { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--cocoa); line-height: 1.35; }
.review-src img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex: none; }
.review-src strong { color: var(--espresso); }
.review-post { display: block; color: var(--espresso); font-weight: 500; }
.review-src svg { width: 18px; height: 18px; margin-left: auto; flex: none; transition: color 0.3s; }
.review a:hover .review-src svg { color: var(--gold); }

/* Social feed */
.social { background: var(--cream-2); }
.feed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .feed-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.feed-tile {
  position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden;
  aspect-ratio: 3 / 4; background: var(--sand); cursor: pointer; text-align: left;
}
.feed-tile picture, .feed-tile picture img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.feed-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 14px;
  background: linear-gradient(transparent 45%, rgb(42 28 21 / 0.78)); color: var(--cream); font-size: 0.88rem; font-weight: 500;
}
.feed-overlay svg { width: 20px; height: 20px; align-self: flex-end; filter: drop-shadow(0 1px 3px rgb(0 0 0 / 0.4)); }
@media (hover: hover) {
  .feed-overlay > span { opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease); }
  .feed-tile:hover .feed-overlay > span, .feed-tile:focus-visible .feed-overlay > span { opacity: 1; transform: none; }
  .feed-overlay { background: linear-gradient(transparent 55%, rgb(42 28 21 / 0)); transition: background 0.4s; }
  .feed-tile:hover .feed-overlay, .feed-tile:focus-visible .feed-overlay { background: linear-gradient(transparent 30%, rgb(42 28 21 / 0.8)); }
  .feed-tile:hover picture img { transform: scale(1.06); }
}
.feed-follow {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center;
  background: var(--espresso); color: var(--cream); text-decoration: none;
}
.feed-follow img { width: 72px; height: 72px; border-radius: 50%; }
.feed-follow strong { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 500; }
.feed-follow span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--gold-soft); }
.feed-follow svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.feed-follow:hover svg { transform: translateX(4px); }

.channels { display: grid; gap: 12px; margin-top: 28px; }
@media (min-width: 560px) { .channels { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .channels { grid-template-columns: repeat(var(--n, 4), 1fr); } }
.channel {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
  text-decoration: none; background: #fffaf3; transition: border-color 0.3s, transform 0.3s var(--ease);
}
.channel:hover { border-color: var(--gold); transform: translateY(-2px); }
.channel svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--espresso); color: var(--cream); flex: none; }
.channel span { font-size: 0.85rem; color: var(--cocoa); line-height: 1.35; }
.channel strong { display: block; color: var(--espresso); font-size: 1rem; }

/* CTA — foto blijft zichtbaar, tekst leesbaar door verloop achter de tekst */
.cta { position: relative; isolation: isolate; color: var(--cream); padding: clamp(96px, 14vw, 168px) 0; text-align: center; overflow: hidden; }
.cta-bg, .cta-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 50% 50%, rgb(31 20 15 / 0.78), rgb(31 20 15 / 0.42)); }
.cta-inner { max-width: 760px; }
.cta h2 { margin-bottom: 18px; font-size: clamp(2.6rem, 6vw, 4.4rem); text-shadow: 0 2px 24px rgb(0 0 0 / 0.35); }
.cta p { color: var(--cream-2); font-size: 1.1rem; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Footer */
.site-footer { background: #1f140f; color: var(--sand); padding: 72px 0 28px; font-size: 0.92rem; }
.site-footer a { text-decoration: none; transition: color 0.2s; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.2fr 0.8fr 1fr; } .newsletter { grid-column: 1 / -1; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.3fr 0.7fr 1fr 1.5fr; } .newsletter { grid-column: auto; } }
.footer-brand .brand-name { color: var(--cream); }
.footer-brand p { margin: 16px 0 20px; max-width: 26em; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(226 210 188 / 0.25); }
.footer-social a:hover { border-color: var(--gold-soft); }
.footer-social svg { width: 20px; height: 20px; }
.footer-title { font: 600 0.8rem var(--sans); color: var(--gold-soft); margin-bottom: 16px; }
.newsletter .footer-title { font: 500 1.7rem/1.15 var(--serif); color: var(--cream); }
.footer-links { display: grid; gap: 10px; }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-soft); flex: none; }
.newsletter p { margin-bottom: 16px; }
.newsletter-field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(226 210 188 / 0.2); }
.newsletter-field:focus-within { border-color: var(--gold-soft); }
.newsletter-field input { flex: 1; min-width: 0; padding: 0 14px; border: 0; background: none; color: var(--cream); outline: none; }
.newsletter-field input::placeholder { color: rgb(226 210 188 / 0.72); }
.newsletter-field .btn { min-height: 44px; padding: 0 18px; }
.form-msg { margin-top: 10px; min-height: 1.5em; font-size: 0.85rem; color: var(--gold-soft); }
.footer-bottom { display: grid; gap: 18px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgb(226 210 188 / 0.15); font-size: 0.8rem; color: rgb(226 210 188 / 0.8); }
@media (min-width: 900px) { .footer-bottom { grid-template-columns: auto 1fr; align-items: center; } .legal { text-align: right; } }
.payments { display: flex; flex-wrap: wrap; gap: 8px; }
.payments li { display: grid; place-items: center; height: 40px; padding: 4px 8px; border-radius: 6px; background: #fff; }
.payments img { height: 28px; width: auto; }
.legal a { text-decoration: underline; }
/* Invulvelden: blijven opvallen tot ze zijn ingevuld */
.todo { color: #f0c27a; font-weight: 600; }

/* Dialogs */
dialog { padding: 0; border: 0; color: var(--espresso); background: var(--cream); }
dialog::backdrop { background: rgb(31 20 15 / 0.6); }
.drawer { margin: 0 0 0 auto; width: min(100%, 460px); max-width: 100%; height: 100dvh; max-height: 100dvh; }
.drawer[open] { animation: slide-in 0.45s var(--ease); }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer-inner { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px 32px; }
.empty { color: var(--cocoa); padding: 8px 0 20px; }
.request-list { display: grid; gap: 12px; }
.request-item { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.request-item strong { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; }
.request-item .sub { grid-column: 1; font-size: 0.82rem; color: var(--cocoa); }
.remove-btn { grid-row: 1; grid-column: 2; justify-self: end; border: 0; background: none; color: var(--cocoa); font-size: 0.8rem; text-decoration: underline; cursor: pointer; min-height: 32px; }
.stepper { grid-row: 2 / span 2; grid-column: 2; align-self: end; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.stepper button { width: 36px; height: 36px; border: 0; background: none; font-size: 1.1rem; cursor: pointer; border-radius: 50%; }
.stepper button:hover { background: var(--cream-2); }
.stepper output { min-width: 34px; text-align: center; font-weight: 600; font-size: 0.9rem; }
.request-total { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: var(--cream-2); display: flex; justify-content: space-between; font-weight: 600; }
.request-total span { font-family: var(--serif); font-size: 1.3rem; }
.request-form { display: grid; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.request-form h3, .sent h3 { font-size: 1.5rem; }
.request-form label { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 600; color: var(--cocoa); }
.request-form input, .request-form select, .request-form textarea, .sent textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 400; color: var(--espresso); font-size: 1rem;
}
.request-form input:focus, .request-form select:focus, .request-form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgb(134 96 47 / 0.2); }
.field-row { display: grid; gap: 14px; }
@media (min-width: 420px) { .field-row { grid-template-columns: 1fr 1fr; } }
.drawer-actions { display: grid; gap: 10px; margin-top: 6px; }
.fine { font-size: 0.8rem; color: var(--cocoa); text-align: center; }
.sent { display: grid; gap: 12px; margin-top: 24px; padding: 18px; border-radius: 14px; background: var(--cream-2); outline: none; }
.sent[hidden] { display: none; }
.sent p { font-size: 0.9rem; color: var(--choc); }
.sent textarea { font-size: 0.85rem; resize: vertical; }

.lightbox { width: min(100% - 24px, 1000px); max-height: calc(100dvh - 24px); border-radius: 20px; overflow: hidden; }
.lightbox[open] { animation: pop 0.4s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(0.96); } }
.lightbox-inner { display: grid; max-height: calc(100dvh - 24px); }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgb(247 241 232 / 0.9); }
.lightbox-media { position: relative; background: var(--espresso); }
.lightbox-media img { width: 100%; height: min(62dvh, 720px); object-fit: contain; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(247 241 232 / 0.9); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-count { position: absolute; bottom: 12px; left: 50%; translate: -50% 0; padding: 4px 12px; border-radius: 999px; background: rgb(31 20 15 / 0.6); color: var(--cream); font-size: 0.78rem; }
.lightbox-text { display: flex; flex-direction: column; gap: 14px; padding: 22px 24px 26px; overflow-y: auto; }
.lb-handle { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.lb-handle img { width: 36px; height: 36px; border-radius: 50%; }
.lb-caption { white-space: pre-line; color: var(--choc); }
.lb-date { font-size: 0.8rem; color: var(--cocoa); }
.lightbox-text .btn { margin-top: auto; align-self: flex-start; }
@media (min-width: 820px) {
  .lightbox-inner { grid-template-columns: 1.3fr 1fr; height: min(720px, calc(100dvh - 24px)); }
  .lightbox-media img { height: 100%; }
  .lightbox-text { padding: 64px 32px 32px; }
}

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; translate: -50% 20px; opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: var(--espresso); color: var(--cream); font-size: 0.9rem; box-shadow: var(--shadow);
  transition: opacity 0.3s, translate 0.4s var(--ease);
}
.toast.is-visible { opacity: 1; translate: -50% 0; }

/* Scroll reveal (de .js-klasse wordt inline in <head> gezet, dus geen herberekening na laden) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Privacypagina */
.legal-page { max-width: 760px; padding: 48px var(--gutter) 96px; margin-inline: auto; }
.legal-page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin: 32px 0 12px; }
.legal-page h2 { font-size: 1.7rem; margin: 40px 0 10px; }
.legal-page p, .legal-page li { color: var(--choc); margin-bottom: 10px; }
.legal-page ul { list-style: disc; padding-left: 1.2em; }
.legal-page .todo { color: #8a4b00; background: #fff1d6; padding: 0 4px; border-radius: 4px; }
