/*!
 * Design gebaseerd op "FLOW V.4.0 — Flexible Library for Optimised Wireframes" door Little Miss Robot
 * (Figma Community), gelicentieerd onder CC BY 4.0: https://creativecommons.org/licenses/by/4.0/
 * Gewijzigd: vertaald naar eigen CSS met aangepaste elevation, vormen, layouts en thema's.
 * Little Miss Robot is niet betrokken bij en onderschrijft dit werk niet. Zie /credits.
 */
/* MR Food redesign, ontwerpoptie A · Nachtgrill — publieke site.
   Eigenaar: optie-agent a. Zie DESIGN.md.
   Donker en stoer: houtskool-zwart, één heet grill-accent (ember), één koel neon-accent spaarzaam
   voor status en focus. FLOW-tokenstructuur, eigen waarden. Gloed in plaats van schaduw. */

/* =========================================================
   1. Tokens
   ========================================================= */
:root {
    --ontwerp-optie: "a";
    color-scheme: dark;

    /* Neutral: houtskool, licht warm (geen puur grijs) */
    --n-1000: #f7f2ea;
    --n-900: #e9e2d8;
    --n-700: #b9b1a6;
    --n-600: #a39b90;   /* text-2 */
    --n-500: #8f877d;   /* text-3: 5.3:1 op bg */
    --n-400: #5e5851;
    --n-300: #3a3631;
    --n-200: #2a2724;
    --n-150: #211f1c;
    --n-100: #181715;
    --n-50:  #121110;
    --n-0:   #0c0b0a;

    --bg: var(--n-0);
    --bg-subtle: var(--n-50);
    --surface: var(--n-100);
    --surface-2: var(--n-150);
    --surface-3: var(--n-200);
    --text: var(--n-1000);
    --text-2: var(--n-600);
    --text-3: var(--n-500);
    --border: rgba(247, 242, 234, .09);
    --border-strong: rgba(247, 242, 234, .18);

    /* Heet accent: grill-ember */
    --accent: #ff5b1f;
    --accent-ink: #160803;
    --accent-hover: #ff7440;
    --accent-press: #e94d14;
    --accent-soft: rgba(255, 91, 31, .12);
    --accent-soft-2: rgba(255, 91, 31, .2);
    --accent-text: #ff8a5c;
    --ember-2: #ffb020; /* gloed-verloop, amber */

    /* Koel neon: status en focus, spaarzaam */
    --neon: #4ff0d0;
    --neon-soft: rgba(79, 240, 208, .12);

    /* Feedback (op donker) */
    --success-600: #3ee58f;
    --success-100: rgba(62, 229, 143, .12);
    --warning-600: #ffb020;
    --warning-100: rgba(255, 176, 32, .12);
    --danger-600: #ff4d5e;
    --danger-100: rgba(255, 77, 94, .12);
    --info-600: #5cc8ff;
    --info-100: rgba(92, 200, 255, .12);

    --scrim: rgba(5, 4, 3, .72);

    /* Radii (FLOW) */
    --r-tiny: 4px;
    --r-small: 8px;
    --r-control: 12px;
    --r-default: 16px;
    --r-card: 20px;
    --r-media: 24px;
    --r-pill: 999px;

    /* Spacing (FLOW) */
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px;
    --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px; --s-32: 128px;

    /* Typografie */
    --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
    --fs-mega: clamp(64px, 12vw, 176px);
    --fs-display: clamp(52px, 8.4vw, 120px);
    --fs-h1: clamp(52px, 7vw, 104px);
    --fs-h2: clamp(38px, 4.6vw, 64px);
    --fs-h3: clamp(26px, 2.4vw, 32px);
    --fs-lead: clamp(17px, 1.4vw, 20px);
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-tiny: 12px;
    --track-display: -0.01em;

    /* Elevation: donker = diepte + randlicht, geen offset */
    --e-0: 0 0 0 1px var(--border);
    --e-1: 0 1px 2px rgba(0, 0, 0, .4);
    --e-2: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 24px -8px rgba(0, 0, 0, .6);
    --e-3: 0 2px 4px rgba(0, 0, 0, .4), 0 18px 40px -12px rgba(0, 0, 0, .7);
    --e-4: 0 4px 8px rgba(0, 0, 0, .4), 0 32px 80px -16px rgba(0, 0, 0, .85);
    /* Gloed */
    --glow-1: var(--e-2);
    --glow-2: var(--e-3);
    --glow-neon: var(--e-0);
    --ring: 0 0 0 3px var(--bg), 0 0 0 5px var(--neon);

    --ease: cubic-bezier(.2, .8, .2, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --dur-1: 120ms; --dur-2: 200ms; --dur-3: 320ms;

    --container: 1280px;
    --gutter: clamp(16px, 4vw, 40px);
    --section-y: clamp(64px, 9vw, 128px);
    --header-h: 68px;
    --top: var(--ontwerp-balk-h, 0px);

    --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 .9  0 0 0 0 .8  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* =========================================================
   2. Basis
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + var(--header-h) + 72px); }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 400 var(--fs-body)/1.55 var(--font);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
body::before { /* korrel */
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--grain);
    opacity: .06;
    pointer-events: none;
    z-index: 100;
    mix-blend-mode: overlay;
}
img, svg, iframe { max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 var(--s-3); }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-small); }

.i { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.a-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.a-main { flex: 1; padding-bottom: var(--s-16); }
.a-visually-hidden, .visually-hidden {
    position: absolute !important; 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(--s-4); top: calc(var(--top) + 8px); z-index: 200;
    padding: 10px 16px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink);
    font-weight: 700; transform: translateY(-200%); transition: transform var(--dur-2) var(--ease);
}
.skip:focus { transform: none; }

/* Typografie */
.a-eyebrow {
    display: block; margin: 0 0 var(--s-3);
    font: 600 var(--fs-tiny)/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase;
    color: var(--accent-text);
}
.a-h1, .a-h2, .a-h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: var(--track-display); line-height: .9; }
.a-h1 { font-size: var(--fs-h1); }
.a-h2 { font-size: var(--fs-h2); }
.a-h3 { font-size: var(--fs-h3); font-weight: 800; line-height: 1; margin-bottom: var(--s-4); }
.a-dim { color: var(--text-3); }
.a-hot { color: var(--accent); }
.a-lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 58ch; line-height: 1.5; }
.a-hint { font-size: var(--fs-small); color: var(--text-3); margin: var(--s-2) 0 0; }
.a-hint--live:empty { display: none; }
.a-mono { font-variant-numeric: tabular-nums; letter-spacing: .04em; }

/* Tags & status */
.a-tag {
    display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 9px;
    border-radius: var(--r-pill); font: 700 11px/1 var(--font); letter-spacing: .08em; text-transform: uppercase;
    background: var(--accent-soft); color: var(--accent-text); box-shadow: inset 0 0 0 1px rgba(255, 91, 31, .3);
    vertical-align: middle;
}
.a-tag--cool { background: var(--neon-soft); color: var(--neon); box-shadow: inset 0 0 0 1px rgba(79, 240, 208, .35); }
.a-status {
    display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 6px 16px 6px 12px;
    border-radius: var(--r-pill); font: 600 var(--fs-small)/1.2 var(--font);
    background: var(--surface); box-shadow: var(--e-0);
}
.a-status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--text-3); flex: none; }
.a-status--open { color: var(--neon); box-shadow: inset 0 0 0 1px rgba(79, 240, 208, .35); background: var(--neon-soft); }
.a-status--open .a-status__dot { background: var(--neon); box-shadow: 0 0 0 0 rgba(79, 240, 208, .6); animation: a-pulse 2s var(--ease) infinite; }
.a-status--closed { color: #ff8a8a; background: var(--danger-100); box-shadow: inset 0 0 0 1px rgba(255, 77, 94, .35); }
.a-status--closed .a-status__dot { background: var(--danger-600); }
@keyframes a-pulse { 0% { box-shadow: 0 0 0 0 rgba(79, 240, 208, .55); } 70% { box-shadow: 0 0 0 10px rgba(79, 240, 208, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 240, 208, 0); } }

/* =========================================================
   3. Knoppen
   ========================================================= */
.a-btn, .btn {
    --h: 48px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: var(--h); padding: 0 22px; border: 0; border-radius: var(--r-pill);
    font: 700 15px/1 var(--font); letter-spacing: .01em; text-decoration: none; cursor: pointer;
    background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: background var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-1) var(--ease), color var(--dur-2);
    -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.a-btn:hover, .btn:hover { background: var(--surface-3); }
.a-btn:active, .btn:active { transform: scale(.98); }
.a-btn:focus-visible, .btn:focus-visible { box-shadow: var(--ring); border-radius: var(--r-pill); }
.a-btn--primary, .btn--primary {
    background: linear-gradient(180deg, #ff6a30, var(--accent));
    color: var(--accent-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), var(--glow-1);
}
.a-btn--primary:hover, .btn--primary:hover { background: linear-gradient(180deg, #ff814f, var(--accent-hover)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), var(--glow-2); }
.a-btn--primary:active, .btn--primary:active { background: var(--accent-press); }
.a-btn--ghost { background: transparent; box-shadow: inset 0 0 0 1px var(--border-strong); }
.a-btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 1px rgba(247, 242, 234, .32); }
.a-btn--quiet { background: transparent; box-shadow: none; color: var(--text-2); }
.a-btn--quiet:hover { background: var(--surface); color: var(--text); }
.a-btn--lg { --h: 56px; padding: 0 28px; font-size: 16px; }
.a-btn--full { width: 100%; }
.a-btn[disabled], .btn[disabled], .a-btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; transform: none; box-shadow: inset 0 0 0 1px var(--border-strong); background: var(--surface-2); color: var(--text-2); }
.a-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.a-row--center { justify-content: center; }

/* =========================================================
   4. Header / navigatie
   ========================================================= */
.a-nav {
    position: sticky; top: var(--top); z-index: 50;
    background: rgba(12, 11, 10, .78);
    -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.a-nav__inner { display: flex; align-items: center; gap: var(--s-4); height: var(--header-h); }
.a-brand {
    position: relative; display: inline-flex; align-items: baseline; text-decoration: none;
    font: 900 30px/1 var(--font-display); letter-spacing: .01em; text-transform: uppercase;
}
.a-brand__mr { color: var(--text); }
.a-brand__food { color: var(--accent); }
.a-brand__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--neon); margin-left: 4px; box-shadow: none; align-self: flex-start; margin-top: 2px; }
.a-nav__links { display: flex; gap: 2px; margin-left: auto; }
.a-nav__links a {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--r-pill);
    color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px;
    transition: color var(--dur-2), background var(--dur-2);
}
.a-nav__links a:hover { color: var(--text); background: var(--surface); }
.a-nav__links a[aria-current="page"] { color: var(--text); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 91, 31, .35); }
.a-cart {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 14px;
    border-radius: var(--r-pill); text-decoration: none; font-weight: 700;
    background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: box-shadow var(--dur-2), background var(--dur-2);
}
.a-cart:hover { background: var(--surface-3); }
.a-cart__count {
    display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: var(--r-pill);
    background: var(--surface-3); font-size: 12px; font-variant-numeric: tabular-nums;
}
.a-cart[data-count]:not([data-count="0"]) { box-shadow: var(--glow-1); }
.a-cart[data-count]:not([data-count="0"]) .a-cart__count { background: var(--accent); color: var(--accent-ink); }
.a-cart__total { font-variant-numeric: tabular-nums; font-size: 14px; }
.a-cart.is-bump { animation: a-bump .5s var(--ease-out); }
@keyframes a-bump { 30% { transform: scale(1.08); } }

@media (max-width: 640px) {
    .a-nav__hide-sm { display: none !important; }
    .a-cart__total { display: none; }
    .a-nav__links a { padding: 0 10px; }
    .a-brand { font-size: 26px; }
    .a-nav__inner { gap: var(--s-2); }
}

/* Global loader: dun gloeiend lijntje bovenaan */
#global-loader {
    position: fixed; left: 0; right: 0; top: var(--top); height: 3px; z-index: 300; pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--accent), var(--ember-2), transparent);
    background-size: 50% 100%; background-repeat: no-repeat; opacity: 0; transition: opacity var(--dur-2);
}
#global-loader.visible { opacity: 1; animation: a-loader 1s linear infinite; }
@keyframes a-loader { from { background-position: -50% 0; } to { background-position: 150% 0; } }

/* Toast */
.toast {
    position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 150; transform: translateX(-50%);
    display: inline-flex; align-items: center; gap: 10px; max-width: calc(100% - 32px);
    padding: 14px 20px; border-radius: var(--r-pill); font-weight: 600;
    background: var(--surface-2); color: var(--text); box-shadow: var(--e-4), var(--glow-neon);
    animation: a-toast var(--dur-3) var(--ease-out);
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: none; }
@keyframes a-toast { from { opacity: 0; transform: translate(-50%, 12px); } }

/* Zwevende mandje-balk (gsm) */
.a-fab {
    position: fixed; z-index: 60; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: none; align-items: center; gap: 12px; min-height: 60px; padding: 8px 20px 8px 8px;
    border-radius: var(--r-pill); text-decoration: none; font-weight: 700;
    background: linear-gradient(180deg, #ff6a30, var(--accent)); color: var(--accent-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), var(--glow-2), var(--e-4);
    animation: a-rise var(--dur-3) var(--ease-out);
}
.a-fab__icon { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(22, 8, 3, .14); }
.a-fab__icon #mobile-cart-count {
    position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: var(--r-pill);
    display: grid; place-items: center; font-size: 11px; background: var(--accent-ink); color: var(--text);
}
.a-fab__label { flex: 1; font-size: 16px; }
.a-fab__total { font-variant-numeric: tabular-nums; font-size: 16px; }
@keyframes a-rise { from { transform: translateY(24px); opacity: 0; } }
@media (max-width: 1023px) {
    body.a-has-cart .a-fab { display: flex; }
    body.a-has-cart .a-main { padding-bottom: 104px; }
}

/* =========================================================
   5. Footer
   ========================================================= */
.a-footer { position: relative; border-top: 1px solid var(--border); padding: var(--s-16) 0 var(--s-8); background: var(--bg-subtle); overflow: hidden; }
.a-footer__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-6); margin-bottom: var(--s-10); }
.a-footer__word { margin: 0; font: 900 clamp(64px, 14vw, 180px)/.8 var(--font-display); text-transform: uppercase; color: var(--text); }
.a-footer__word span { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.a-footer__claim { color: var(--text-2); max-width: 34ch; margin: 0; }
.a-footer__cols { display: grid; gap: var(--s-6); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); padding-bottom: var(--s-8); border-bottom: 1px solid var(--border); }
.a-footer__cols p { color: var(--text-2); margin: 0; line-height: 1.9; }
.a-footer__cols a { color: var(--text); text-decoration: none; }
.a-footer__cols a:hover { color: var(--accent-text); }
.a-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-6); font-size: var(--fs-small); color: var(--text-3); }
.a-footer__legal p { margin: 0; }
.a-footer__legal-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); }
.a-footer__legal-links a { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 4px; min-height: 44px; display: inline-flex; align-items: center; }
.a-footer__legal-links a:hover { color: var(--text); text-decoration-color: var(--accent); }

/* =========================================================
   6. Home
   ========================================================= */
.a-hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 96px) 0 var(--s-10); }
.a-hero__inner { position: relative; display: grid; gap: var(--s-10); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .a-hero__inner { grid-template-columns: 1.25fr .75fr; } }
.a-hero__title { margin: var(--s-6) 0 var(--s-5); font: 900 var(--fs-display)/.86 var(--font-display); text-transform: uppercase; letter-spacing: -0.005em; }
.a-hero__line { display: block; }
.a-hero__line--hot {
    color: var(--accent);
}
.a-hero__lead { font-size: var(--fs-lead); color: var(--text-2); max-width: 46ch; margin-bottom: var(--s-8); }
.a-hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.a-hero__closed { display: flex; gap: 10px; align-items: flex-start; margin-top: var(--s-6); color: var(--text-2); max-width: 52ch; }
.a-hero__closed .i { color: var(--warning-600); margin-top: 2px; }

/* Beeld van de zaak: rustig, geen gloed (FLOW: beeld r24, haarlijn) */
.a-hero__media { margin: 0; border-radius: var(--r-media); overflow: hidden; box-shadow: var(--e-0); aspect-ratio: 4 / 3; background: var(--surface); }
.a-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .a-hero__media { aspect-ratio: 4 / 5; } }

.a-facts { list-style: none; margin: var(--s-12) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--border); }
@media (min-width: 1024px) { .a-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.a-facts li { display: flex; min-width: 0; align-items: center; gap: 12px; padding: var(--s-5) var(--s-4) var(--s-5) 0; color: var(--text-2); font-size: 15px; }
.a-facts li .i { color: var(--accent); }
.a-facts strong { color: var(--text); font-weight: 700; }

.a-section { padding: var(--section-y) 0 0; }
.a-section__head { margin-bottom: var(--s-10); }
.a-section__head--split { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-4); }

/* Deals */
.a-deals { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.a-deal {
    position: relative; display: flex; flex-direction: column; gap: var(--s-2); min-height: 260px; padding: var(--s-6);
    border-radius: var(--r-card); text-decoration: none; overflow: hidden;
    background: linear-gradient(180deg, var(--surface-2), var(--surface)); box-shadow: var(--e-0);
    transition: transform var(--dur-3) var(--ease), box-shadow var(--dur-3) var(--ease);
}
.a-deal::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%; background: none; pointer-events: none; transition: opacity var(--dur-3); opacity: .5; }
.a-deal:hover { transform: translateY(-4px); box-shadow: var(--glow-1), var(--e-3); }
.a-deal:hover::after { opacity: 1; }
.a-deal--hot { background: linear-gradient(180deg, #1f1610, #160f0b); box-shadow: var(--glow-1); }
.a-deal__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); margin-bottom: var(--s-4); }
.a-deal__icon .i { width: 28px; height: 28px; }
.a-deal__name { font: 900 34px/0.95 var(--font-display); text-transform: uppercase; }
.a-deal__desc { color: var(--text-2); font-size: 15px; }
.a-deal__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: var(--s-4); }
.a-deal__price { font: 800 30px/1 var(--font-display); color: var(--accent-text); font-variant-numeric: tabular-nums; }
.a-deal__add { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow-1); transition: transform var(--dur-2) var(--ease); }
.a-deal:hover .a-deal__add { transform: rotate(90deg); }

/* Menubord */
.a-section--board .a-wrap { position: relative; }
.a-board {
    display: grid; gap: var(--s-8) var(--s-10); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    padding: clamp(24px, 4vw, 48px); border-radius: var(--r-media);
    background: linear-gradient(180deg, #141210, #0f0e0c);
    box-shadow: inset 0 0 0 1px var(--border), inset 0 1px 0 rgba(255, 255, 255, .04), var(--e-3);
}
.a-board__state { display: contents; }
.a-board__cat h3 { margin-bottom: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px dashed var(--border-strong); }
.a-board__cat h3 a { display: inline-flex; align-items: center; gap: 10px; font: 900 28px/1 var(--font-display); text-transform: uppercase; text-decoration: none; color: var(--ember-2); }
.a-board__cat h3 .i { width: 24px; height: 24px; }
.a-board__cat ul { list-style: none; margin: 0; padding: 0; }
.a-board__cat li a { display: flex; align-items: baseline; gap: 8px; min-height: 44px; padding: 10px 0; text-decoration: none; }
.a-board__name { font-weight: 600; }
.a-board__dots { flex: 1; border-bottom: 2px dotted rgba(247, 242, 234, .16); transform: translateY(-4px); min-width: 16px; }
.a-board__price { font: 800 22px/1 var(--font-display); color: var(--text); font-variant-numeric: tabular-nums; }
.a-board__cat li a:hover .a-board__name { color: var(--accent-text); }
.a-board__cat li a:hover .a-board__price { color: var(--accent); }
.a-board__more { display: inline-flex; min-height: 44px; align-items: center; color: var(--text-3); font-size: 14px; font-weight: 600; text-decoration: none; }
.a-board__more:hover { color: var(--text); }

/* USP */
.a-usps { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.a-usp { padding: var(--s-8) var(--s-6); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--e-0); }
.a-usp .i { width: 32px; height: 32px; color: var(--text-2); margin-bottom: var(--s-6); }
.a-usp h3 { font: 900 30px/1 var(--font-display); text-transform: uppercase; margin-bottom: var(--s-3); }
.a-usp p { color: var(--text-2); margin: 0; }
.a-usp--hot { background: var(--surface); box-shadow: var(--glow-1); }
.a-usp--hot .i { color: var(--accent); }

/* Info */
.a-info { display: grid; gap: var(--s-10); grid-template-columns: 1fr; }
@media (min-width: 900px) { .a-info { grid-template-columns: 1fr 1fr; } }
.a-hours { width: 100%; border-collapse: collapse; margin-top: var(--s-8); font-variant-numeric: tabular-nums; }
.a-hours th, .a-hours td { padding: 14px 0; border-bottom: 1px solid var(--border); text-align: left; font-weight: 500; }
.a-hours td { text-align: right; color: var(--text-2); }
.a-hours tr.is-closed td { color: var(--text-3); }
.a-hours tr.is-today th, .a-hours tr.is-today td { color: var(--text); font-weight: 700; }
.a-hours tr.is-today { background: linear-gradient(90deg, var(--neon-soft), transparent 70%); }
.a-hours tr.is-today th { padding-left: 12px; box-shadow: inset 3px 0 0 var(--neon); }
.a-info__address { font: 900 clamp(32px, 3.4vw, 44px)/1 var(--font-display); text-transform: uppercase; margin: 0 0 var(--s-2); }
.a-info__phone a { color: var(--accent-text); font-weight: 700; text-decoration: none; font-size: 18px; }
.a-map { margin-top: var(--s-6); border-radius: var(--r-media); overflow: hidden; box-shadow: var(--e-0), var(--e-3); aspect-ratio: 4 / 3; background: var(--surface); }
.a-map__consent { height: 100%; display: grid; place-content: center; justify-items: center; gap: var(--s-3); padding: var(--s-6); text-align: center; color: var(--text-2); }
.a-map__consent > .i { width: 32px; height: 32px; color: var(--accent); }
.a-map__consent p { margin: 0; max-width: 34ch; }
.a-map__consent .a-row { justify-content: center; flex-wrap: wrap; }
.a-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9) contrast(.95); }

/* Slot-CTA */
.a-cta {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-6);
    padding: clamp(32px, 6vw, 72px); border-radius: var(--r-media);
    background: #17100c;
    box-shadow: var(--glow-1);
}
.a-cta__title { font: 900 var(--fs-h2)/.9 var(--font-display); text-transform: uppercase; }
.a-cta__title span { display: block; color: var(--accent); }

/* =========================================================
   7. Skeletons, lege staten, meldingen
   ========================================================= */
.a-skel { display: block; border-radius: var(--r-small); background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 50%, var(--surface-2) 100%); background-size: 200% 100%; animation: a-shimmer 1.4s linear infinite; }
.a-skel--title { height: 26px; width: 70%; margin-bottom: 14px; }
.a-skel--line { height: 12px; width: 92%; margin-bottom: 10px; }
.a-skel--price { height: 22px; width: 30%; margin-top: auto; }
.a-skel--h2 { height: 44px; width: 220px; margin: 0 0 var(--s-6); }
.a-skel-card { display: flex; flex-direction: column; padding: var(--s-6); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--e-0); min-height: 150px; }
@keyframes a-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.a-empty {
    display: grid; gap: var(--s-4); justify-items: start; padding: clamp(28px, 5vw, 56px); border-radius: var(--r-card);
    background: var(--surface); box-shadow: var(--e-0);
}
.a-empty > .i { width: 40px; height: 40px; color: var(--accent); }
.a-empty p { color: var(--text-2); margin: 0; }
.a-empty .a-empty__title, .a-empty__title { font: 900 32px/1 var(--font-display); text-transform: uppercase; color: var(--text); margin-bottom: var(--s-2); }
.a-empty--inline { grid-template-columns: auto 1fr auto; align-items: center; }
@media (max-width: 700px) { .a-empty--inline { grid-template-columns: 1fr; } }

.a-alert { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-5) var(--s-6); border-radius: var(--r-default); margin-bottom: var(--s-6); background: var(--surface); box-shadow: var(--e-0); }
.a-alert > .i { width: 24px; height: 24px; margin-top: 2px; }
.a-alert p { margin: 0; color: var(--text-2); }
.a-alert__title { font-weight: 700; color: var(--text) !important; margin-bottom: 4px !important; }
.a-alert a { color: var(--text); }
.a-alert--closed { background: var(--warning-100); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .35); }
.a-alert--closed > .i { color: var(--warning-600); }
.a-alert--error { background: var(--danger-100); box-shadow: inset 0 0 0 1px rgba(255, 77, 94, .4); }
.a-alert--error > .i { color: var(--danger-600); }
.a-alert__list { margin: var(--s-2) 0 0; padding-left: 1.2em; display: grid; gap: 4px; color: var(--text); }
.a-alert[data-order-errors] { text-align: left; }
.a-alert[data-order-errors]:focus { outline: none; box-shadow: inset 0 0 0 1px rgba(255, 77, 94, .4), var(--ring); }
[data-discount-msg][data-state="error"] { color: #ff8a8a; font-weight: 600; }
.a-alert--warn { display: block; background: var(--warning-100); box-shadow: inset 0 0 0 1px rgba(255, 176, 32, .35); color: var(--text); }
.alert { padding: var(--s-5); border-radius: var(--r-default); background: var(--danger-100); box-shadow: inset 0 0 0 1px rgba(255, 77, 94, .4); }
.muted { color: var(--text-3); }

/* =========================================================
   8. Paginakoppen
   ========================================================= */
.a-page-head { padding-block: clamp(32px, 6vw, 72px) var(--s-8); }
.a-page-head .a-lead { margin-top: var(--s-4); }
.a-backlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-bottom: var(--s-3); color: var(--text-2); text-decoration: none; font-weight: 600; }
.a-backlink:hover { color: var(--text); }
.a-promo { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s-2); padding: 0; margin: var(--s-6) 0 0; }
.a-promo li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px 0 12px; border-radius: var(--r-pill); background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(255, 91, 31, .35); color: var(--text); font-size: 14px; }
.a-promo .i { color: var(--accent); width: 18px; height: 18px; }
.a-promo strong { color: var(--accent-text); }

/* =========================================================
   9. Menu
   ========================================================= */
.a-menu-layout { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .a-menu-layout { grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-10); } }

.a-menu-nav { position: sticky; top: calc(var(--top) + var(--header-h)); z-index: 40; }
.a-menu-nav__label { display: none; }
.menu-nav__select-wrapper { display: none; }
.menu-nav__list { list-style: none; margin: 0; padding: 0; }
.menu-nav__list a {
    display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: var(--r-pill);
    color: var(--text-2); text-decoration: none; font-weight: 600; white-space: nowrap;
    transition: color var(--dur-2), background var(--dur-2), box-shadow var(--dur-2);
}
.menu-nav__list a .i { width: 18px; height: 18px; opacity: .8; }
.menu-nav__list a:hover { color: var(--text); background: var(--surface); }
.menu-nav__list a.is-active { color: var(--accent-ink); background: var(--accent); box-shadow: var(--glow-1); }
.menu-nav__list a.is-active .i { opacity: 1; }

@media (max-width: 1023px) {
    .a-menu-nav { margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); background: rgba(12, 11, 10, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--border); }
    .menu-nav__list { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
    .menu-nav__list::-webkit-scrollbar { display: none; }
    .menu-nav__list li { scroll-snap-align: start; flex: none; }
    .menu-nav__list a { background: var(--surface); box-shadow: inset 0 0 0 1px var(--border); }
    .menu-nav__list li:last-child { padding-right: 40px; }
}
@media (min-width: 1024px) {
    .a-menu-nav { top: calc(var(--top) + var(--header-h) + 24px); }
    .a-menu-nav__label { display: block; margin: 0 0 var(--s-3) 16px; font: 600 var(--fs-tiny)/1 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
    .menu-nav__list { display: grid; gap: 2px; }
}

.a-menu-skel { display: none; }
.a-menu-skel__grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); margin-bottom: var(--s-12); }
.a-menu-main:has(#menu-root > p.muted:only-child) .a-menu-skel,
.a-menu-main:has(#menu-root:empty) .a-menu-skel { display: block; }
#menu-root > p.muted:only-child { display: none; }
body[data-staat="laden"] .a-menu-skel { display: block; }
body[data-staat="laden"] #menu-root,
body[data-staat="fout"] #menu-root,
body[data-staat="leeg"] #menu-root,
body[data-staat="fout"] .a-menu-skel,
body[data-staat="leeg"] .a-menu-skel { display: none !important; }
body[data-staat="fout"] [data-a-menu-fout],
body[data-staat="leeg"] [data-a-menu-leeg] { display: grid !important; }
#menu-root > .alert { display: none; }
.a-menu-main:has(#menu-root > .alert) [data-a-menu-fout] { display: grid !important; }

.menu-section { padding-bottom: var(--s-12); scroll-margin-top: calc(var(--top) + var(--header-h) + 80px); }
.menu-section__title { display: flex; align-items: center; gap: 14px; margin-bottom: var(--s-6); font: 900 var(--fs-h2)/.9 var(--font-display); text-transform: uppercase; }
.menu-section__title .a-sec-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.menu-section__title .a-sec-icon .i { width: 26px; height: 26px; }
.menu-section__title .a-sec-count { margin-left: auto; font: 600 14px/1 var(--font); color: var(--text-3); letter-spacing: .04em; text-transform: none; }
.menu-section__grid { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

.menu-card {
    position: relative; display: flex; cursor: pointer; border-radius: var(--r-card);
    background: var(--surface); box-shadow: var(--e-0);
    transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), background var(--dur-2);
    -webkit-tap-highlight-color: transparent;
}
.menu-card .card-body { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto; column-gap: var(--s-4); width: 100%; padding: var(--s-5) var(--s-5) var(--s-5) var(--s-6); }
.menu-card__name { grid-column: 1; margin: 0 0 6px; font: 800 26px/1 var(--font-display); text-transform: uppercase; letter-spacing: .005em; }
.menu-card__desc { grid-column: 1; margin: 0 0 var(--s-4); color: var(--text-2); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.menu-card__desc:empty { display: none; }
.menu-card__price { grid-column: 1; grid-row: 3; margin: 0; align-self: end; }
.menu-card .a-card-add {
    grid-column: 2; grid-row: 1 / 4; align-self: end;
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
    background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: background var(--dur-2), color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease);
}
.menu-card:hover { background: var(--surface-2); box-shadow: var(--glow-1); transform: translateY(-2px); }
.menu-card:hover .a-card-add, .menu-card:focus-visible .a-card-add { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow-1); transform: rotate(90deg); }
.menu-card:active { transform: scale(.99); }
.menu-card:focus-visible { border-radius: var(--r-card); box-shadow: var(--ring); }
.menu-card .a-card-badge { position: absolute; top: -9px; left: 20px; }
/* Menufoto (beheer → Menu & prijzen): enkel als het gerecht een foto heeft */
.menu-card.has-photo { flex-direction: column; }
.a-card-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--surface-2); }
.menu-card.has-photo .a-card-badge { top: var(--s-3); }
.a-modal-photo { display: block; flex: none; width: calc(100% + 2 * var(--s-6)); max-width: none; height: auto; aspect-ratio: 16 / 9; object-fit: cover; margin: calc(-1 * var(--s-8)) calc(-1 * var(--s-6)) var(--s-5); border-radius: 28px 28px 0 0; background: var(--surface-2); }
.a-modal-photo[hidden] { display: none; }

.price-stack { display: inline-flex; align-items: baseline; gap: 10px; font-variant-numeric: tabular-nums; }
.price-current { font: 800 24px/1 var(--font-display); color: var(--accent-text); letter-spacing: .01em; }
.price-old { font-size: 14px; color: var(--text-3); text-decoration: line-through; }

/* Productpopup: bottom-sheet die opgloeit */
.menu-modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; }
.menu-modal__backdrop { position: absolute; inset: 0; background: var(--scrim); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: a-fade var(--dur-3) var(--ease-out); }
.menu-modal__dialog {
    position: relative; width: 100%; max-width: 640px; max-height: min(92dvh, 860px); overflow: auto; overscroll-behavior: contain;
    display: flex; flex-direction: column;
    padding: var(--s-8) var(--s-6) 0; border-radius: 28px 28px 0 0;
    background: var(--surface);
    box-shadow: 0 -1px 0 rgba(255, 91, 31, .6), var(--e-4);
    animation: a-sheet var(--dur-3) var(--ease-out);
}
.menu-modal__dialog::before { content: ""; position: absolute; top: 10px; left: 50%; width: 44px; height: 5px; margin-left: -22px; border-radius: 3px; background: var(--border-strong); }
@media (min-width: 768px) {
    .menu-modal { align-items: center; padding: var(--s-6); }
    .menu-modal__dialog { border-radius: 28px; box-shadow: 0 0 0 1px rgba(255, 91, 31, .45), var(--e-4); animation-name: a-pop; }
    .menu-modal__dialog::before { display: none; }
}
@keyframes a-sheet { from { transform: translateY(40px); opacity: 0; box-shadow: 0 0 0 rgba(255, 91, 31, 0); } }
@keyframes a-pop { from { transform: translateY(16px) scale(.97); opacity: 0; } }
@keyframes a-fade { from { opacity: 0; } }
.menu-modal__close {
    position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%;
    display: grid; place-items: center; font-size: 0; cursor: pointer; background: var(--surface-3); color: var(--text);
}
.menu-modal__close::before { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 6l12 12M18 6 6 18' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>") center/contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 6l12 12M18 6 6 18' stroke='black' stroke-width='2.4' stroke-linecap='round'/></svg>") center/contain no-repeat; }
.menu-modal__close:hover { background: var(--n-300); }
.menu-modal__title { padding-right: 56px; font: 900 clamp(40px, 7vw, 56px)/.9 var(--font-display); text-transform: uppercase; }
.menu-modal__desc { margin: var(--s-3) 0 var(--s-3); color: var(--text-2); }
.menu-modal__desc:empty { display: none; }
.menu-modal__price { margin: 0 0 var(--s-6); }
.menu-modal__price .price-current { font-size: 30px; }
.menu-modal__options { display: grid; gap: var(--s-3); }
.opt-details { border-radius: var(--r-default); background: var(--bg-subtle); box-shadow: var(--e-0); }
.opt-details > summary {
    list-style: none; display: flex; align-items: center; gap: var(--s-3); min-height: 56px; padding: 0 var(--s-5); cursor: pointer;
    font-weight: 700; font-size: 16px; border-radius: var(--r-default);
}
.opt-details > summary::-webkit-details-marker { display: none; }
.opt-details > summary::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: rotate(45deg) translateY(-3px); transition: transform var(--dur-2) var(--ease); }
.opt-details[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.opt-details .a-req { margin-left: 4px; }
.opt-details .a-sel { font-weight: 500; font-size: 14px; color: var(--text-3); margin-left: auto; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 45%; }
.opt-details .a-sel + ::after { margin-left: 0; }
.opt-group { border: 0; margin: 0; padding: 0 var(--s-4) var(--s-4); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.opt-group label {
    position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
    border-radius: var(--r-pill); cursor: pointer; font-size: 15px; font-weight: 500;
    background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: background var(--dur-1), box-shadow var(--dur-1), color var(--dur-1);
}
.opt-group input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt-group label:hover { background: var(--surface-3); }
.opt-group label:has(input:checked) { background: var(--accent-soft-2); color: var(--text); box-shadow: inset 0 0 0 2px var(--accent); }
.opt-group label:has(input:checked)::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: none; }
.opt-group label:has(input:focus-visible) { box-shadow: var(--ring); }
.opt-group label:has(input:disabled) { opacity: .4; cursor: not-allowed; }
.menu-modal__special { margin-top: var(--s-4); }
.menu-modal__special label { display: grid; gap: 8px; font-weight: 700; font-size: 14px; }
.menu-modal__actions {
    position: sticky; bottom: 0; display: grid; grid-template-columns: auto 1fr; gap: var(--s-3);
    margin: var(--s-6) calc(var(--s-6) * -1) 0; padding: var(--s-4) var(--s-6) calc(var(--s-4) + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(24, 23, 21, .7), var(--surface) 30%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
}
.menu-modal__actions .btn { min-height: 56px; }
.menu-modal__actions [data-modal-add] { justify-content: space-between; padding: 0 24px; font-size: 16px; }
.menu-modal__actions [data-modal-add] .a-addprice { font-variant-numeric: tabular-nums; font-weight: 800; }
body.modal-open { overflow: hidden; }

/* =========================================================
   10. Formulieren
   ========================================================= */
.a-form { display: grid; gap: var(--s-6); }
.a-field { display: grid; gap: 8px; min-width: 0; }
.a-field > label, .a-label, .field > label { font-weight: 600; font-size: 14px; color: var(--text); margin: 0; }
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], input:not([type]), select, textarea {
    width: 100%; min-height: 52px; padding: 12px 16px; border: 0; border-radius: var(--r-control);
    background: var(--bg-subtle); color: var(--text); font-size: 16px;
    box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: box-shadow var(--dur-2) var(--ease), background var(--dur-2);
}
textarea { resize: vertical; min-height: 96px; line-height: 1.5; }
select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m6 9 6 6 6-6' fill='none' stroke='%23a39b90' stroke-width='2' stroke-linecap='round'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
input::placeholder, textarea::placeholder { color: var(--text-3); }
input:hover, select:hover, textarea:hover { box-shadow: inset 0 0 0 1px rgba(247, 242, 234, .3); }
input:focus, select:focus, textarea:focus { outline: none; background: var(--surface); box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 4px rgba(255, 91, 31, .2); }
input:disabled, select:disabled, textarea:disabled { opacity: .5; cursor: not-allowed; }
.a-field.is-invalid input, .a-field.is-invalid textarea, [aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--danger-600); }
.a-error { color: #ff8a8a; font-size: 14px; font-weight: 600; margin: 0; }
.a-grid-2 { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .a-grid-2 { grid-template-columns: 1fr 1fr; } }
.a-inline { display: flex; gap: var(--s-2); flex-wrap: wrap; }
.a-inline input { flex: 1 1 180px; width: auto; }

.a-pills { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.a-pill { position: relative; cursor: pointer; }
.a-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border-strong); font-weight: 600; font-size: 15px; transition: all var(--dur-1); }
.a-pill input:checked + span { background: var(--accent-soft-2); box-shadow: inset 0 0 0 2px var(--accent); }
.a-pill input:focus-visible + span { box-shadow: var(--ring); }

.a-check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; color: var(--text-2); font-size: 15px; }
.a-check input { appearance: none; flex: none; width: 24px; height: 24px; margin: 0; border-radius: 7px; background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-strong); display: grid; place-items: center; cursor: pointer; }
.a-check input:checked { background: var(--accent); box-shadow: var(--glow-1); }
.a-check input:checked::after { content: ""; width: 6px; height: 11px; border: solid var(--accent-ink); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg) translate(-1px, -1px); }
.a-check input:focus-visible { box-shadow: var(--ring); }

.a-panel { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--e-0); }

/* =========================================================
   11. Checkout
   ========================================================= */
.a-checkout { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) {
    .a-checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: var(--s-10); }
    .a-checkout .a-bon { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--top) + var(--header-h) + 24px); }
    .a-checkout .a-checkout__form { grid-column: 1; grid-row: 1; }
}
@media (min-width: 1280px) { .a-checkout { grid-template-columns: minmax(0, 1fr) 440px; } }

.a-step { border: 0; margin: 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card); background: var(--surface); box-shadow: var(--e-0); display: grid; gap: var(--s-5); min-width: 0; }
.a-step__legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; margin-bottom: var(--s-1); font: 900 32px/1 var(--font-display); text-transform: uppercase; }
.a-step__legend + * { clear: both; }
.a-step__nr { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font: 800 18px/1 var(--font-display); background: var(--accent-soft); color: var(--accent); box-shadow: inset 0 0 0 1px rgba(255, 91, 31, .4); }

.a-tiles { display: grid; gap: var(--s-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); }
@media (max-width: 559px) { .a-tiles { grid-template-columns: 1fr; } }
.a-tile { position: relative; cursor: pointer; }
.a-tile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.a-tile__box {
    display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center;
    min-height: 76px; padding: var(--s-4) var(--s-5); border-radius: var(--r-default);
    background: var(--bg-subtle); box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: box-shadow var(--dur-2) var(--ease), background var(--dur-2);
}
.a-tile__box .i { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--text-2); }
.a-tile__label { font-weight: 700; font-size: 16px; }
.a-tile__hint { font-size: 13px; color: var(--text-3); }
@media (min-width: 560px) {
    .a-tile__box { grid-template-columns: 1fr; row-gap: 4px; min-height: 120px; align-content: end; }
    .a-tile__box .i { grid-row: auto; margin-bottom: auto; }
}
.a-tile:hover .a-tile__box { background: var(--surface-2); }
.a-tile input:checked + .a-tile__box { background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--accent); }
.a-tile input:checked + .a-tile__box .i { color: var(--accent); }
.a-tile input:checked + .a-tile__box .a-tile__hint { color: var(--accent-text); }
.a-tile input:focus-visible + .a-tile__box { box-shadow: var(--ring); }
.a-tile input:disabled + .a-tile__box { opacity: .5; }

.a-delivery { display: grid; gap: var(--s-4); padding-top: var(--s-2); border-top: 1px dashed var(--border-strong); }
.address-field { position: relative; }
.a-suggest { position: absolute; top: 100%; left: 0; right: 0; z-index: 30; margin-top: 6px; padding: 6px; border-radius: var(--r-control); background: var(--surface-2); box-shadow: var(--e-4), var(--e-0); display: grid; }
.address-suggestion { text-align: left; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--r-small); background: transparent; cursor: pointer; }
.address-suggestion:hover, .address-suggestion:focus-visible { background: var(--surface-3); }

.a-submit { display: grid; gap: var(--s-3); }
.a-submit__hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; }
.a-submit__hint .i { color: var(--neon); width: 18px; height: 18px; }

/* Bon (mandje) */
.a-bon {
    position: relative; padding: var(--s-6); border-radius: var(--r-card);
    background: linear-gradient(180deg, #1d1a17, #151311);
    box-shadow: inset 0 0 0 1px var(--border-strong), var(--e-3);
}
.a-bon__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-4); margin-bottom: var(--s-2); border-bottom: 1px dashed var(--border-strong); }
.a-bon__title { font: 900 32px/1 var(--font-display); text-transform: uppercase; }
.a-bon__edit { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: var(--r-pill); color: var(--accent-text); text-decoration: none; font-weight: 700; font-size: 14px; }
.a-bon__edit .i { width: 16px; height: 16px; }
.a-bon__edit:hover { background: var(--accent-soft); }
.a-bon__nr { font: 800 24px/1 var(--font-display); color: var(--text-3); }
.a-cart-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.a-cart-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.a-cart-table tbody td { padding: var(--s-4) 0; border-bottom: 1px solid var(--border); vertical-align: top; font-weight: 600; }
.a-cart-table tbody td:first-child { padding-right: var(--s-3); }
.a-cart-table tbody td .muted { font-weight: 400; font-size: 13px !important; color: var(--text-3); margin-top: 4px; }
.a-cart-table td.num, .a-cart-table th.num { text-align: right; white-space: nowrap; }
.a-cart-table .qty { padding-inline: var(--s-2) !important; }
.a-cart-table .qty > span { display: inline-block; min-width: 22px; text-align: center; font-weight: 700; }
.a-cart-table button.q {
    width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer; vertical-align: middle;
    font: 700 18px/1 var(--font); background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--border-strong);
    transition: background var(--dur-1), color var(--dur-1);
}
.a-cart-table button.q:hover { background: var(--accent); color: var(--accent-ink); }
.cart-remove { display: inline-flex; align-items: center; min-height: 44px; margin-top: 2px; padding: 0; border: 0; background: none; color: var(--text-3); font: 600 13px/1 var(--font); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.cart-remove:hover { color: var(--accent-text); }
.cart-remove:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-tiny); }
.a-cart-table tbody td.num:last-child { color: var(--text); }
.a-cart-table .price-current { font-size: 20px; color: var(--text); }
.a-cart-table .price-stack { flex-direction: column; align-items: flex-end; gap: 2px; }
.a-cart-table tfoot td { padding: 8px 0; color: var(--text-2); }
.a-cart-table tfoot tr:first-child td { padding-top: var(--s-5); }
.a-bon__disc td { color: var(--neon) !important; }
.a-bon__disc.is-zero { display: none; }
.a-bon__total td { padding-top: var(--s-4) !important; border-top: 1px dashed var(--border-strong); color: var(--text) !important; font: 900 30px/1 var(--font-display) !important; text-transform: uppercase; }
.a-bon__total strong { color: var(--accent); font-weight: 900; }
.a-bon__empty { display: grid; justify-items: center; text-align: center; gap: var(--s-3); padding: var(--s-8) var(--s-2); }
.a-bon__empty > .i { width: 48px; height: 48px; color: var(--text-3); }
.a-bon__empty p { color: var(--text-2); margin: 0; }
.a-bon__empty .a-empty__title { font-size: 30px; }
.a-bon__skel { display: none; }
.a-bon__skelrow { display: flex; gap: var(--s-4); align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.a-bon__skelrow .a-skel--line { margin: 0; flex: 1; }
.a-bon__skelrow .a-skel--price { width: 70px; margin: 0; }
body[data-staat="laden"] .a-bon__skel { display: block; }
body[data-staat="laden"] .a-bon [data-cart-table], body[data-staat="laden"] .a-bon [data-cart-empty] { display: none !important; }
body[data-staat="leeg"] .a-bon [data-cart-table] { display: none !important; }
body[data-staat="leeg"] .a-bon [data-cart-empty] { display: grid !important; }

/* =========================================================
   12. Bedankt / tickethero / 404 / juridisch / contact
   ========================================================= */
.a-ticket-hero { position: relative; display: grid; justify-items: center; text-align: center; gap: var(--s-4); padding: clamp(40px, 7vw, 88px) 0 var(--s-10); }
.a-ticket-hero__glow { position: absolute; inset: 10% 10% auto; height: 70%; background: none; pointer-events: none; z-index: -1; }
.a-ticket-hero .a-lead { margin-inline: auto; }
.a-ticket-hero--plain { min-height: 52vh; align-content: center; }
.a-ordernr {
    display: grid; justify-items: center; gap: 6px; margin: var(--s-4) 0; padding: var(--s-6) clamp(32px, 6vw, 64px) var(--s-4);
    border-radius: var(--r-media); background: #0a0908; box-shadow: inset 0 0 0 2px rgba(255, 91, 31, .5);
}
.a-ordernr__label { font: 700 12px/1 var(--font); letter-spacing: .3em; text-transform: uppercase; color: var(--text-3); }
.a-ordernr__value { font: 900 clamp(96px, 20vw, 168px)/.85 var(--font-display); color: #ffd2bd; font-variant-numeric: tabular-nums; }
.a-eta { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; color: var(--text-2); font-size: 17px; }
.a-eta strong { color: var(--text); }
.a-eta .i { color: var(--accent); }
.a-eta__sep { width: 1px; height: 20px; background: var(--border-strong); margin: 0 6px; }
.a-progress { list-style: none; display: flex; gap: 0; margin: var(--s-6) 0 0; padding: 0; width: min(100%, 520px); }
.a-progress li { flex: 1; position: relative; display: grid; justify-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.a-progress li::before { content: ""; position: absolute; top: 15px; left: calc(-50% + 18px); right: calc(50% + 18px); height: 2px; background: var(--border-strong); }
.a-progress li:first-child::before { display: none; }
.a-progress li.is-done::before, .a-progress li.is-now::before { background: var(--accent); box-shadow: none; }
.a-progress__dot { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--border-strong); }
.a-progress__dot .i { width: 16px; height: 16px; }
.a-progress li:not(.is-done) .a-progress__dot .i { display: none; }
.a-progress li.is-done { color: var(--text); }
.a-progress li.is-done .a-progress__dot { background: var(--accent); color: var(--accent-ink); box-shadow: var(--glow-1); }
.a-progress li.is-now { color: var(--text); }
.a-progress li.is-now .a-progress__dot { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 0 rgba(255, 91, 31, .5); animation: a-pulse-hot 1.8s infinite; }
.a-progress li.is-now .a-progress__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes a-pulse-hot { 70% { box-shadow: inset 0 0 0 2px var(--accent), 0 0 0 10px rgba(255, 91, 31, 0); } }

.a-thanks__grid { display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1fr); align-items: start; max-width: 1040px; margin-inline: auto; }
@media (min-width: 900px) { .a-thanks__grid { grid-template-columns: 1fr 1fr; } }
.a-bon__lines { list-style: none; margin: 0; padding: 0; }
.a-bon__lines li { display: grid; grid-template-columns: 36px 1fr auto; gap: var(--s-3); padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.a-bon__qty { font: 800 22px/1 var(--font-display); color: var(--accent-text); }
.a-bon__name { font-weight: 600; }
.a-bon__name small { display: block; font-weight: 400; color: var(--text-3); font-size: 13px; margin-top: 4px; }
.a-bon__name .a-bon__note { color: var(--warning-600); font-style: italic; }
.a-bon__price { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.a-bon__totals { margin: var(--s-4) 0 0; display: grid; gap: 8px; font-variant-numeric: tabular-nums; }
.a-bon__totals > div { display: flex; justify-content: space-between; color: var(--text-2); }
.a-bon__totals dt, .a-bon__totals dd { margin: 0; }
.a-bon__totals .is-disc { color: var(--neon); }
.a-bon__totals .is-total { padding-top: var(--s-4); margin-top: var(--s-2); border-top: 1px dashed var(--border-strong); color: var(--text); font: 900 30px/1 var(--font-display); text-transform: uppercase; }
.a-bon__totals .is-total dd { color: var(--accent); }
.a-thanks__info p { color: var(--text-2); }
.a-meta { list-style: none; margin: var(--s-6) 0; padding: 0; border-top: 1px solid var(--border); }
.a-meta li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 14px 0; border-bottom: 1px solid var(--border); }
.a-meta li span { color: var(--text-3); }
.a-meta li strong { text-align: right; }
.a-meta--stack li { flex-direction: column; gap: 4px; }
.a-meta--stack li strong, .a-meta--stack li span:first-child { text-align: left; }

.a-404__code { margin: 0; font: 900 clamp(140px, 30vw, 300px)/.8 var(--font-display); color: transparent; -webkit-text-stroke: 2px var(--accent); }

.a-legal__grid { display: grid; gap: var(--s-4); max-width: 820px; }
.a-legal .a-panel p { color: var(--text-2); }
.a-legal a { color: var(--accent-text); text-underline-offset: 3px; }
.a-credit-font { color: var(--text) !important; font-weight: 700; font-size: 18px; }
.a-credit-font--display { font: 900 28px/1 var(--font-display); text-transform: uppercase; }

.a-contact { display: grid; gap: var(--s-8); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1024px) { .a-contact { grid-template-columns: 1.1fr .9fr; } }
.a-contact__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.a-contact__list li { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-4) 0; border-bottom: 1px solid var(--border); }
.a-contact__list li > .i { width: 24px; height: 24px; color: var(--accent); margin-top: 2px; }
.a-contact__list .a-eyebrow { margin-bottom: 6px; color: var(--text-3); }
.a-contact__list p { margin: 0; font-weight: 600; font-size: 17px; }
.a-contact__list a { text-decoration: none; }
.a-contact__list a:hover { color: var(--accent-text); }

/* =========================================================
   13. Beweging
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media (max-width: 640px) {
    .a-facts li { padding: var(--s-4) var(--s-2) var(--s-4) 0; font-size: 14px; align-items: flex-start; }
}
