@import url('fonts.css');
:root {
  --night: #13122a; --dusk: #241d44; --ink: #f5ecdc; --muted: #b9adc4; --saffron: #f2b33d; --ember: #ff6a2b; --clay: #b4532c; --cloth: #fbf8f3;
  --kufi: 'Reem Kufi', 'Segoe UI', sans-serif; --body: 'Readex Pro', 'Segoe UI', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; font-family: var(--body); font-weight: 300; color: var(--ink); background: linear-gradient(180deg, #1c1838 0, var(--night) 40%, #0f0d20 100%); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { -webkit-user-drag: none; }
:focus-visible { outline: 2px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* knoppen */
.btn { display: inline-flex; align-items: center; gap: .6em; font: 500 1rem/1 var(--body); padding: 1em 1.5em; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.btn:active { transform: scale(.97); }
.btn-fire { background: var(--ember); color: #1a0d06; box-shadow: 0 0 0 0 rgba(255,106,43,.5), 0 10px 30px -10px rgba(255,106,43,.8); }
.btn-fire:hover { background: #ff7d45; box-shadow: 0 0 0 6px rgba(255,106,43,.18), 0 10px 30px -10px rgba(255,106,43,.9); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }

/* kop */
.top { background: linear-gradient(180deg, rgba(19,18,42,.6), rgba(19,18,42,0)); position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem clamp(1rem, 4vw, 3rem); transition: background .4s, backdrop-filter .4s; }
.top.solid { background: rgba(19,18,42,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.brand { font: 700 1.5rem/1 var(--kufi); text-decoration: none; display: flex; align-items: baseline; gap: .5rem; letter-spacing: .01em; }
.brand span { color: var(--saffron); font-size: 1.2rem; }
.top nav { display: flex; align-items: center; gap: clamp(.4rem, 2vw, 1.4rem); }
.top nav a { text-decoration: none; font-weight: 400; opacity: .9; }
.top nav a:hover { opacity: 1; color: var(--saffron); }
.cartlink { position: relative; display: inline-flex; align-items: center; gap: .4rem; }
.badge { min-width: 1.3rem; height: 1.3rem; border-radius: 999px; background: var(--ember); color: #1a0d06; font: 600 .75rem/1.3rem var(--body); text-align: center; padding: 0 .3rem; }
.lang { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 3px; }
.lang button { font: 500 .8rem/1 var(--body); color: var(--ink); background: none; border: 0; padding: .45em .7em; border-radius: 999px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--night); }

/* hero */
.hero { position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: #2a1d3a url('../img/poster.jpg') center/cover no-repeat; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-copy { position: absolute; inset: auto auto 0 0; z-index: 2; padding: 0 clamp(1.2rem, 5vw, 4.5rem) clamp(5.5rem, 12vh, 8rem); max-width: 40rem; opacity: 0; transform: translateY(18px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.hero.ready .hero-copy { opacity: 1; transform: none; pointer-events: auto; }
[dir="rtl"] .hero-copy { inset: auto 0 0 auto; }
.hero h1 { font: 700 clamp(4rem, 13vw, 10.5rem)/.85 var(--kufi); margin: 0 0 .1em; letter-spacing: -.01em; text-shadow: 0 4px 40px rgba(20,10,30,.55); }
.hero h1 .ar { display: block; font-size: .42em; color: var(--saffron); margin-top: .12em; }
.hero p { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 30ch; margin: .6em 0 1.6em; text-shadow: 0 2px 18px rgba(10,5,20,.8); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero::after { content: ''; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(180deg, transparent, rgba(19,18,42,.75)); pointer-events: none; z-index: 1; opacity: 0; transition: opacity 1.2s; }
.hero.ready::after { opacity: 1; }
.skip { position: absolute; z-index: 3; right: clamp(1rem, 4vw, 3rem); bottom: 2rem; font: 400 .85rem/1 var(--body); color: var(--ink); background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .7em 1.1em; cursor: pointer; backdrop-filter: blur(6px); transition: opacity .5s; }
[dir="rtl"] .skip { right: auto; left: clamp(1rem, 4vw, 3rem); }
.hero.ready .skip { opacity: 0; pointer-events: none; }

/* kaart */
#stage-canvas { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 5; pointer-events: none; }
.menu { position: relative; padding: clamp(5rem, 12vh, 9rem) clamp(1.2rem, 5vw, 4.5rem) 4rem; max-width: 1240px; margin: 0 auto; }
.menu > header { max-width: 36rem; margin-bottom: clamp(2rem, 6vh, 4rem); }
h2 { font: 700 clamp(2.2rem, 5.5vw, 4rem)/1 var(--kufi); margin: 0 0 .4em; }
.menu > header p { color: var(--muted); font-size: 1.1rem; margin: 0; max-width: 34ch; }
.dish { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; gap: clamp(1rem, 4vw, 4rem); min-height: 78vh; }
.dish:nth-child(even) .stage { order: 2; }
.stage { aspect-ratio: 1 / .92; width: 100%; position: relative; z-index: 6; cursor: pointer; touch-action: pan-y; }
.dish-text { position: relative; z-index: 7; }
.dish h3 { font: 700 clamp(1.8rem, 3.6vw, 2.9rem)/1.05 var(--kufi); margin: 0; }
.dish .ar-name { font: 500 clamp(1.2rem, 2vw, 1.6rem)/1.3 var(--kufi); color: var(--saffron); margin: .35em 0 .6em; }
[lang="ar"] .dish .ar-name { display: none; }
.dish p { color: var(--muted); margin: 0 0 1.4em; max-width: 36ch; font-size: 1.05rem; }
.buy { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.price { font: 700 clamp(2.6rem, 5vw, 3.8rem)/1 var(--kufi); color: var(--ink); }
.price small { font-size: .38em; color: var(--saffron); margin-inline-start: .25em; font-weight: 500; }
.veg { display: inline-block; font-size: .85rem; color: #a7d07a; margin-bottom: .6rem; }
.add.done { background: var(--saffron); }

/* stappen */
.how { max-width: 1240px; margin: 0 auto; padding: 4rem clamp(1.2rem, 5vw, 4.5rem) 6rem; }
.how ol { list-style: none; padding: 0; margin: 2rem 0 2.5rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; counter-reset: s; }
.how li { counter-increment: s; font-size: 1.1rem; max-width: 24ch; }
.how li::before { content: counter(s); display: block; font: 700 3.4rem/1 var(--kufi); color: var(--saffron); margin-bottom: .3rem; }

footer { padding: 3rem clamp(1.2rem, 5vw, 4.5rem) 6rem; color: var(--muted); font-size: .85rem; max-width: 1240px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.08); }
footer details summary { cursor: pointer; }
footer ul { padding-inline-start: 1.2rem; }

.concept { position: fixed; z-index: 30; left: 1rem; bottom: 1rem; font-size: .72rem; background: rgba(19,18,42,.8); color: var(--muted); padding: .45em .9em; border-radius: 999px; backdrop-filter: blur(8px); pointer-events: none; }
[dir="rtl"] .concept { left: auto; right: 1rem; }

/* zwevende winkelmand */
.cartbar { text-decoration: none; position: fixed; z-index: 25; left: 50%; bottom: 1rem; transform: translate(-50%, 140%); transition: transform .5s var(--ease); display: flex; align-items: center; gap: 1rem; background: var(--cloth); color: var(--night); border-radius: 999px; padding: .5rem .5rem .5rem 1.3rem; box-shadow: 0 20px 50px -15px rgba(0,0,0,.6); font-weight: 400; white-space: nowrap; }
.cartbar.show { transform: translate(-50%, 0); }
.cartbar b { font-family: var(--kufi); font-size: 1.15rem; }

@media (max-width: 760px) {
  .top { padding: .7rem 1rem; }
  .top nav .hide-m { display: none; }
  .brand span { display: none; }
  .top nav { gap: .6rem; }
  .top nav a { font-size: .92rem; }
  .lang button { padding: .4em .55em; font-size: .75rem; }
  .skip { bottom: auto; top: 4.4rem; }
  .concept { display: none; }
  footer .concept-inline { display: block; }
  .hero-copy { padding-bottom: 6.5rem; }
  .dish { grid-template-columns: 1fr; min-height: 0; gap: 0; margin-bottom: 3.5rem; }
  .dish:nth-child(even) .stage { order: 0; }
  .stage { aspect-ratio: 1 / .85; }
  .how ol { grid-template-columns: 1fr; }
  .cartbar { bottom: .8rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* bestelpagina */
.order { max-width: 1100px; margin: 0 auto; padding: 7rem clamp(1.2rem, 5vw, 3rem) 5rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.order .stage { aspect-ratio: 1 / .9; position: sticky; top: 5rem; }
.lines { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 1rem; align-items: center; padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.line img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px rgba(180,83,44,.5); }
.line h4 { font: 500 1.05rem/1.25 var(--kufi); margin: 0; }
.line .each { color: var(--muted); font-size: .9rem; }
.qty { display: flex; align-items: center; gap: .3rem; }
.qty button { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: none; color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.qty button:hover { border-color: var(--saffron); color: var(--saffron); }
.qty span { min-width: 1.6rem; text-align: center; font-weight: 500; }
.total { display: flex; justify-content: space-between; align-items: baseline; font: 700 2rem/1 var(--kufi); margin: 1.2rem 0 2rem; }
.empty { color: var(--muted); padding: 1rem 0; }
.field { display: block; margin-bottom: 1rem; }
.field span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--body); color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: .85em 1em; }
.field select option { color: #111; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--saffron); }
.err { color: #ffb08a; min-height: 1.4em; font-size: .95rem; margin: .4rem 0; }
.note { color: var(--muted); font-size: .9rem; margin-top: 1rem; }
.more { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.more button { display: inline-flex; align-items: center; gap: .5rem; font: 400 .9rem var(--body); color: var(--ink); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .35rem .9rem .35rem .35rem; cursor: pointer; }
.more button:hover { border-color: var(--saffron); }
.more img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.order h1 { font: 700 clamp(2.4rem, 5vw, 3.6rem)/1 var(--kufi); margin: 0 0 1.2rem; }
.order h3 { font: 500 1.2rem var(--kufi); margin: 2rem 0 .6rem; }
@media (max-width: 860px) { .order { grid-template-columns: 1fr; padding-top: 5rem; } .order .stage { position: relative; top: 0; max-width: 420px; margin: 0 auto; } }

.concept-inline { display: none; margin-top: 1rem; }
