/* =====================================================================
   MEMO KEBAB HAUS – Design abgeleitet von der gedruckten Speisekarte:
   weißes Papier, grüne Schwünge (dunkel → limette), goldenes Logo,
   rote Banner-Überschriften, gerahmte Fotos.
   ===================================================================== */

:root {
  --green-950: #12230d;
  --green-900: #1f3b16;
  --green-800: #2b4f1d;
  --green-700: #3f6d1f;
  --olive: #5d7d35;
  --lime: #9cc63b;
  --lime-soft: #e9f3d2;
  --gold: #d9a52a;
  --gold-hi: #f6dc8c;
  --gold-lo: #9c6a12;
  --red: #c8232c;
  --paper: #fbfaf4;
  --paper-2: #f3f1e6;
  --ink: #1d2318;
  --ink-2: #4b5443;
  --line: #e2e0d1;
  --white: #fff;
  --wa: #1fa855;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --script: "Great Vibes", "Brush Script MT", cursive;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 2px rgb(20 35 10 / .06), 0 2px 8px rgb(20 35 10 / .05);
  --shadow: 0 2px 6px rgb(20 35 10 / .06), 0 12px 32px rgb(20 35 10 / .10);
  --shadow-lg: 0 24px 64px rgb(12 25 6 / .28);
  --gold-grad: linear-gradient(135deg, #fff1bd 0%, #e8b73d 45%, #b57d17 100%);
  --nav-h: 68px;
  --wrap: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 64px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
svg { flex-shrink: 0; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--gold); color: var(--green-950); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.eyebrow { font-family: var(--display); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .95rem; color: var(--olive); margin: 0 0 .5rem; }
.script { font-family: var(--script); font-size: clamp(1.6rem, 3.2vw, 2.1rem); color: var(--green-700); margin: .25rem 0 .75rem; line-height: 1.2; }
.script--dark { color: var(--green-800); font-size: 2.2rem; margin-top: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  --h: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: var(--h); padding: 0 1.4rem; border-radius: 999px; border: 0; text-decoration: none;
  font-weight: 700; letter-spacing: .01em; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, filter .18s;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold { background: var(--gold-grad); color: var(--green-950); box-shadow: 0 6px 18px rgb(181 125 23 / .35), inset 0 1px 0 rgb(255 255 255 / .6); }
.btn--gold:hover { filter: brightness(1.05); transform: translateY(-1px); box-shadow: 0 10px 24px rgb(181 125 23 / .42), inset 0 1px 0 rgb(255 255 255 / .6); }
.btn--ghost { background: var(--green-900); color: #fff; }
.btn--ghost:hover { background: var(--green-800); transform: translateY(-1px); }
.btn--ghost svg { color: #59d98b; }
.btn--wa { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgb(31 168 85 / .32); }
.btn--wa:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--line { background: transparent; color: var(--green-900); box-shadow: inset 0 0 0 2px var(--line); }
.btn--line:hover { box-shadow: inset 0 0 0 2px var(--olive); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: var(--paper-2); color: var(--ink); transition: background-color .15s; }
.icon-btn:hover { background: var(--lime-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.link { background: none; border: 0; padding: 0; font-weight: 700; color: var(--green-700); text-decoration: none; }
.link:hover { color: var(--red); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 40; height: var(--nav-h);
  background: rgb(18 35 13 / .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid rgb(156 198 59 / .25);
}
.nav__inner { max-width: var(--wrap); height: 100%; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand__mark { width: 34px; height: 34px; }
.brand__text { font-family: var(--display); font-weight: 800; font-size: 1.45rem; letter-spacing: .03em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.brand__text span { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: none; margin-left: auto; gap: 4px; }
.nav__links a { color: rgb(255 255 255 / .85); text-decoration: none; font-weight: 600; font-size: .95rem; padding: 8px 14px; border-radius: 999px; transition: background-color .15s, color .15s; }
.nav__links a:hover { color: #fff; background: rgb(255 255 255 / .08); }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 14px;
  border-radius: 999px; border: 1px solid rgb(246 220 140 / .45); background: rgb(255 255 255 / .06); color: var(--gold-hi); font-weight: 700;
  transition: background-color .15s;
}
.cart-btn:hover { background: rgb(255 255 255 / .12); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-btn__label { display: none; }
.badge {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff;
  font-size: .78rem; font-weight: 800; display: inline-grid; place-items: center;
}
.cart-btn .badge { position: absolute; top: -6px; right: -6px; }
.bump { animation: bump .45s var(--ease); }
@keyframes bump { 30% { transform: scale(1.3); } 60% { transform: scale(.92); } }
.burger { width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgb(255 255 255 / .06); display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; }

@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__actions { margin-left: 8px; }
  .burger { display: none; }
  .cart-btn__label { display: inline; }
  .cart-btn .badge { position: static; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(1200px 500px at 85% -10%, rgb(156 198 59 / .30), transparent 60%),
    radial-gradient(800px 400px at -10% 10%, rgb(63 109 31 / .14), transparent 60%),
    var(--paper);
}
.hero::before { /* grüner Schwung oben – wie auf der Karte */
  content: ""; position: absolute; inset: -40px -10% auto; height: 120px; pointer-events: none;
  background: linear-gradient(90deg, #2b4f1d, #9cc63b 45%, #c9e07a 60%, #3f6d1f);
  border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: .45; filter: blur(2px);
}
.hero__inner {
  position: relative; max-width: var(--wrap); margin: 0 auto; padding: 56px 16px 120px;
  display: grid; gap: 40px; align-items: center;
}
.hero__logo {
  width: min(420px, 92%); margin-bottom: .25rem; filter: drop-shadow(0 10px 16px rgb(80 60 0 / .22));
  /* Hintergrund des Fotos ausblenden: nur das goldene Oval + die Drehspieß-Spitze bleiben */
  -webkit-mask: radial-gradient(ellipse 49.4% 41.2% at 50% 57.7%, #000 98.5%, transparent 100%), radial-gradient(ellipse 10.5% 23% at 45.6% 23%, #000 88%, transparent 100%);
          mask: radial-gradient(ellipse 49.4% 41.2% at 50% 57.7%, #000 98.5%, transparent 100%), radial-gradient(ellipse 10.5% 23% at 45.6% 23%, #000 88%, transparent 100%);
}
.hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 6.4vw, 4.4rem); letter-spacing: .005em; color: var(--green-950); }
.hero h1 em { font-style: normal; color: var(--green-700); display: block; }
.lead { font-size: clamp(1.02rem, 1.6vw, 1.15rem); color: var(--ink-2); max-width: 36rem; margin: 1rem 0 1.6rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgb(255 255 255 / .75); box-shadow: var(--shadow-sm); font-size: .9rem; font-weight: 600; color: var(--green-900); }
.hero__facts svg { width: 18px; height: 18px; color: var(--olive); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #aaa; box-shadow: 0 0 0 4px rgb(0 0 0 / .06); }
.dot.is-open { background: #2fb855; box-shadow: 0 0 0 4px rgb(47 184 85 / .18); animation: pulse 2.2s infinite; }
.dot.is-closed { background: var(--red); box-shadow: 0 0 0 4px rgb(200 35 44 / .15); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgb(47 184 85 / .05); } }

.hero__art { position: relative; aspect-ratio: 1 / .92; max-width: 560px; width: 100%; justify-self: center; }
.frame {
  position: absolute; margin: 0; padding: 7px; border-radius: 6px;
  background: linear-gradient(145deg, #6b5a44, #2d241a 40%, #7a6750 70%, #3a2f22);
  box-shadow: inset 0 0 0 2px rgb(255 255 255 / .12), var(--shadow-lg);
  transition: transform .5s var(--ease);
}
.frame img { border-radius: 2px; width: 100%; height: 100%; object-fit: cover; }
.frame--a { width: 68%; aspect-ratio: 595/470; left: 0; top: 4%; transform: rotate(-3deg); z-index: 2; }
.frame--b { width: 50%; aspect-ratio: 600/470; right: 0; top: 0; transform: rotate(4deg); }
.frame--c { width: 56%; aspect-ratio: 595/450; right: 4%; bottom: 2%; transform: rotate(-1.5deg); z-index: 3; }
.hero__art:hover .frame--a { transform: rotate(-4deg) translateY(-4px); }
.hero__art:hover .frame--c { transform: rotate(-.5deg) translateY(-4px); }
.seal {
  position: absolute; left: 6%; bottom: 6%; z-index: 4; width: 108px; height: 108px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; color: var(--green-950);
  background: var(--gold-grad); box-shadow: 0 0 0 5px rgb(255 255 255 / .8), var(--shadow);
  transform: rotate(-8deg);
}
.seal strong { font-family: var(--display); font-size: 2.1rem; line-height: .9; }
.seal span { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; line-height: 1.15; padding: 0 12px; }
.swoosh { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; }

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1.05fr 1fr; padding: 64px 24px 150px; gap: 56px; }
  .swoosh { height: 120px; }
}

/* ---------- Band ---------- */
.band {
  background: var(--green-900); color: #fff; padding: 8px 16px 32px;
  display: grid; gap: 20px; justify-items: center;
}
.steps { list-style: none; margin: 0 auto; padding: 0; max-width: var(--wrap); width: 100%; display: grid; gap: 12px; }
.steps li { display: flex; gap: 14px; align-items: center; }
.steps li > span {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--green-950); background: var(--gold-grad);
}
.steps strong { display: block; font-family: var(--display); font-size: 1.25rem; letter-spacing: .02em; text-transform: uppercase; color: var(--gold-hi); }
.steps div { font-size: .92rem; color: rgb(255 255 255 / .78); line-height: 1.35; }
.band__phone {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none; padding: 10px 22px 10px 14px; border-radius: 18px;
  background: var(--olive); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18);
}
.band__phone svg { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: rgb(255 255 255 / .16); }
.band__phone small { display: block; font-size: .78rem; opacity: .85; }
.band__phone b { font-family: var(--display); font-size: 1.6rem; letter-spacing: .02em; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .band { grid-template-columns: 1fr auto; align-items: center; max-width: none; padding: 8px max(24px, calc((100% - var(--wrap)) / 2 + 24px)) 32px; }
}

/* ---------- Speisekarte ---------- */
.menu { max-width: var(--wrap); margin: 0 auto; padding: 56px 16px 40px; }
.menu__head { display: grid; gap: 4px; margin-bottom: 18px; }
.menu__head h2, .about h2, .contact h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 4.6vw, 3rem); color: var(--green-950); }
.search { position: relative; margin-top: 14px; max-width: 520px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; translate: 0 -50%; color: var(--ink-2); pointer-events: none; }
.search input {
  width: 100%; height: 52px; padding: 0 16px 0 46px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  box-shadow: var(--shadow-sm); transition: border-color .15s, box-shadow .15s;
}
.search input:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgb(156 198 59 / .25); }

.chips {
  position: sticky; top: var(--nav-h); z-index: 30; margin: 0 -16px 24px; padding: 10px 0;
  background: rgb(251 250 244 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.chips__track { display: flex; gap: 8px; overflow-x: auto; padding: 2px 16px; scrollbar-width: none; scroll-padding: 0 16px; }
.chips__track::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: #fff; color: var(--green-900); font-weight: 600; font-size: .92rem; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--olive); }
.chip.is-active { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.chip.is-active::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold-hi); }

.menu__layout { display: grid; gap: 32px; }
.aside-cart { display: none; }
@media (min-width: 1180px) {
  .menu__layout { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; }
  .aside-cart { display: block; position: sticky; top: calc(var(--nav-h) + 82px); }
  .chips { margin: 0 0 28px; border-radius: 999px; border: 1px solid var(--line); padding: 8px 0; }
  .chips__track { padding: 2px 10px; }
}
.aside-cart__box { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 22px; border-top: 5px solid var(--lime); }
.aside-cart__box h3 { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; color: var(--green-950); margin-bottom: 12px; }
.aside-cart__box [data-cart-list] { max-height: 42vh; overflow-y: auto; margin: 0 -6px; padding: 0 6px; }

.cat { margin-bottom: 48px; }
.cat[hidden] { display: none; }
.cat__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 18px; }
.ribbon { /* Banner-Überschrift wie auf der Karte */
  position: relative; display: inline-block; padding: 8px 30px 6px; color: var(--red); background: #fff;
  font-family: var(--display); font-weight: 800; font-size: clamp(1.55rem, 3.4vw, 2rem); text-transform: uppercase; letter-spacing: .02em;
  border: 2px solid #3a3a3a; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 50%, 100% 100%, 0 100%, 14px 50%);
  transform: rotate(-1.2deg); box-shadow: 0 6px 0 -2px rgb(0 0 0 / .06);
}
.ribbon--veg { color: var(--green-700); }
.cat__head:has(.cat__thumb) { flex-wrap: nowrap; }
.cat__note { font-size: .9rem; font-weight: 600; color: var(--olive); background: var(--lime-soft); padding: 4px 12px; border-radius: 999px; }
.cat__thumb {
  margin: 0 0 0 auto; width: 104px; aspect-ratio: 4 / 3; padding: 5px; border-radius: 5px; transform: rotate(2deg);
  background: linear-gradient(145deg, #6b5a44, #2d241a 40%, #7a6750 70%, #3a2f22); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12), var(--shadow);
}
.cat__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
@media (max-width: 420px) { .cat__thumb { width: 84px; } }
@media (min-width: 700px) { .cat__thumb { width: 150px; } }

.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) and (max-width: 1179px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.item {
  position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: 1fr auto; gap: 4px 14px;
  padding: 16px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.item:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgb(156 198 59 / .6); }
.item__no {
  grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 1.15rem; color: var(--green-800);
  background: linear-gradient(160deg, var(--lime-soft), #d6e9a6);
}
.item__no--empty { background: linear-gradient(160deg, #fff6d8, #f3dc94); }
.item__no--empty svg { width: 20px; height: 20px; color: var(--gold-lo); }
.item__body { min-width: 0; }
.item__name { font-weight: 700; font-size: 1.04rem; line-height: 1.25; color: var(--ink); margin: 0; }
.item__name sup { font-size: .62rem; font-weight: 600; color: var(--red); margin-left: 3px; letter-spacing: .02em; }
.item__desc { font-size: .9rem; color: var(--ink-2); margin: 3px 0 0; line-height: 1.4; }
.item__tag { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: .74rem; font-weight: 700; color: var(--green-700); background: var(--lime-soft); padding: 2px 8px; border-radius: 999px; }
.item__tag svg { width: 12px; height: 12px; }
.item__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.45rem; color: var(--green-900); letter-spacing: .01em; }
.add {
  display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px 0 12px; border-radius: 999px; border: 0;
  background: var(--green-900); color: #fff; font-weight: 700; font-size: .9rem;
  transition: background-color .15s, transform .15s;
}
.add svg { width: 18px; height: 18px; }
.add:hover { background: var(--green-700); }
.add:active { transform: scale(.96); }
.add.is-added { background: var(--wa); }
.empty { text-align: center; padding: 48px 16px; color: var(--ink-2); }

.legend { margin-top: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; }
.legend summary { cursor: pointer; padding: 12px 0; font-weight: 700; color: var(--green-900); }
.legend__grid { display: grid; gap: 18px; padding-bottom: 16px; font-size: .86rem; color: var(--ink-2); }
.legend__grid h4 { margin: 0 0 6px; color: var(--red); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.legend__grid ul { margin: 0; padding: 0; list-style: none; columns: 2; column-gap: 20px; }
.legend__grid li { break-inside: avoid; margin-bottom: 3px; }
.legend__grid b { color: var(--ink); }
@media (min-width: 760px) { .legend__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Warenkorb-Positionen (Drawer + Seitenleiste) ---------- */
.line { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line:last-child { border-bottom: 0; }
.line__name { font-weight: 700; line-height: 1.3; }
.line__name small { color: var(--ink-2); font-weight: 600; }
.line__opts { grid-column: 1 / -1; font-size: .84rem; color: var(--ink-2); margin-top: -2px; }
.line__price { font-weight: 800; color: var(--green-900); white-space: nowrap; }
.line__ctrl { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; }
.stepper { display: inline-flex; align-items: center; border-radius: 999px; background: var(--paper-2); padding: 3px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; font-size: 1.25rem; font-weight: 700; line-height: 1; color: var(--green-900); box-shadow: var(--shadow-sm); }
.stepper button:hover { background: var(--lime-soft); }
.stepper output { min-width: 36px; text-align: center; font-weight: 800; }
.remove { display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 10px; border: 0; border-radius: 999px; background: none; color: var(--ink-2); font-size: .85rem; font-weight: 600; }
.remove:hover { color: var(--red); background: #fdeaea; }
.remove svg { width: 18px; height: 18px; }
.cart-empty { text-align: center; color: var(--ink-2); padding: 24px 8px; }
.cart-empty svg { width: 42px; height: 42px; color: var(--lime); margin: 0 auto 8px; }
.totals { margin: 14px 0; display: grid; gap: 6px; font-size: .95rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.15rem; font-weight: 800; padding-top: 10px; margin-top: 4px; border-top: 2px solid var(--line); color: var(--green-950); }
.totals .grand span:last-child { font-family: var(--display); font-size: 1.6rem; }

/* ---------- Dialoge ---------- */
dialog { border: 0; padding: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(10 20 6 / .55); backdrop-filter: blur(3px); }
.drawer, .navdrawer {
  margin: 0 0 0 auto; height: 100dvh; width: min(460px, 100vw); background: var(--paper);
  display: none; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer[open], .navdrawer[open] { display: flex; }
.drawer__head, .navdrawer__head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.drawer__head h2 { flex: 1; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; color: var(--green-950); }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 18px 18px; overscroll-behavior: contain; }
.drawer__foot { padding: 6px 18px calc(18px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
.drawer__body[hidden], .drawer__foot[hidden] { display: none; }

@media (max-width: 599px) { /* Smartphone: Bottom-Sheet */
  .drawer { margin: auto 0 0; width: 100vw; height: auto; max-height: 92dvh; border-radius: 22px 22px 0 0; }
  .drawer__head { border-radius: 22px 22px 0 0; }
  .drawer__head::before { content: ""; position: absolute; left: 50%; top: 6px; translate: -50% 0; width: 42px; height: 4px; border-radius: 4px; background: var(--line); }
  .drawer__head { position: relative; padding-top: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
  .drawer[open], .navdrawer[open] { animation: slide-in .32s var(--ease); }
  .modal[open] { animation: pop .26s var(--ease); }
  dialog[open]::backdrop { animation: fade .3s ease; }
  @media (max-width: 599px) { .drawer[open] { animation: slide-up .34s var(--ease); } }
}
@keyframes slide-in { from { transform: translateX(100%); } }
@keyframes slide-up { from { transform: translateY(100%); } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }

.navdrawer { width: min(340px, 86vw); gap: 0; }
.navdrawer__head .brand__text { flex: 1; color: var(--green-950); }
.navdrawer nav { display: grid; padding: 12px; }
.navdrawer nav a { padding: 16px 14px; border-radius: 12px; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.5rem; text-transform: uppercase; color: var(--green-900); }
.navdrawer nav a:hover { background: var(--lime-soft); }
.navdrawer > .btn { margin: auto 16px calc(20px + env(safe-area-inset-bottom)); width: auto; }

.modal { width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); margin: auto; }
.modal__inner { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; max-height: calc(100dvh - 32px); }
.modal__head { display: flex; align-items: flex-start; gap: 12px; padding: 20px 20px 8px; }
.modal__head > div, .modal__head h2 { flex: 1; }
.modal__head h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; color: var(--green-950); }
.modal__head .muted { margin: 4px 0 0; font-size: .92rem; }
.modal__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.modal__foot .btn { flex: 1; min-width: 220px; }
.opt-scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.opt-hint { padding: 10px 20px 0 !important; }
.toppings { border: 0; margin: 0; padding: 8px 20px; min-inline-size: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.toppings label { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1.5px solid var(--line); font-weight: 600; font-size: .92rem; cursor: pointer; transition: border-color .15s, background-color .15s; }
.toppings label:has(input:checked) { border-color: var(--olive); background: var(--lime-soft); }
.toppings input { width: 20px; height: 20px; accent-color: var(--green-700); flex-shrink: 0; }
.toppings span { flex: 1; min-width: 0; line-height: 1.25; }
@media (max-width: 479px) { .toppings { grid-template-columns: 1fr; } .toppings label { min-height: 46px; } }
.toppings small { color: var(--red); font-weight: 700; font-size: .78rem; white-space: nowrap; }
.hint { margin: 0; padding: 0 20px; font-size: .88rem; color: var(--olive); font-weight: 600; }
.legal { padding: 4px 20px 24px; overflow-y: auto; }
.legal .placeholder { background: #fff6d8; border: 1.5px dashed var(--gold); border-radius: 12px; padding: 16px; color: #6b4b06; }

/* ---------- Checkout ---------- */
.checkout { display: grid; gap: 14px; align-content: start; padding-top: 16px; }
.seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; height: 52px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; font-weight: 700; color: var(--green-900); transition: all .15s; }
.seg span svg { width: 20px; height: 20px; }
.seg input:checked + span { background: var(--green-900); border-color: var(--green-900); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.checkout .hint { padding: 0; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field label span[aria-hidden] { color: var(--red); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-size: 16px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 84px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 4px rgb(156 198 59 / .22); }
.err { display: none; margin: 0; font-size: .85rem; font-weight: 600; color: var(--red); }
.err::before { content: "⚠ "; }
.field input:user-invalid, .field input.is-invalid { border-color: var(--red); background: #fff6f6; }
.field input:user-invalid + .err, .field input.is-invalid + .err { display: block; }
.address { display: grid; gap: 14px; }
.address[hidden] { display: none; }
.summary { background: #fff; border-radius: 14px; border: 1px solid var(--line); padding: 4px 14px; }
.summary .totals { margin: 10px 0; }
.alert { margin: 0; padding: 12px 14px; border-radius: 12px; background: #fdeaea; color: #8f1219; font-weight: 600; font-size: .92rem; }
.alert[hidden] { display: none; }
.fine { margin: 0; font-size: .82rem; color: var(--ink-2); text-align: center; }
.done { text-align: center; display: grid; gap: 12px; align-content: center; padding: 32px 22px; }
.done[hidden] { display: none; }
.done__icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: #dff6e7; color: var(--wa); }
.done__icon svg { width: 40px; height: 40px; }
.done h3 { font-family: var(--display); font-size: 2rem; text-transform: uppercase; color: var(--green-950); }
.done p { margin: 0; }

/* ---------- Schwebender Warenkorb ---------- */
.fab {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35;
  display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 20px; border: 0; border-radius: 18px;
  background: var(--green-900); color: #fff; font-weight: 700; box-shadow: 0 12px 30px rgb(12 25 6 / .35), inset 0 0 0 1px rgb(246 220 140 / .3);
}
.fab[hidden] { display: none; }
.fab svg { width: 24px; height: 24px; color: var(--gold-hi); }
.fab strong { margin-left: auto; font-family: var(--display); font-size: 1.4rem; color: var(--gold-hi); }
@media (prefers-reduced-motion: no-preference) { .fab:not([hidden]) { animation: slide-up .35s var(--ease); } }
@media (min-width: 1180px) { .fab { display: none !important; } }
body.has-fab .footer { padding-bottom: 96px; }
@media (min-width: 1180px) { body.has-fab .footer { padding-bottom: 32px; } }

/* ---------- Über uns ---------- */
.about { background: linear-gradient(180deg, var(--paper), var(--paper-2)); padding: 72px 16px; }
.about__inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 40px; align-items: center; }
.about__media { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.about__media img { border-radius: var(--r); box-shadow: var(--shadow); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.about__media img:last-child { margin-top: 40px; }
.about__copy p { color: var(--ink-2); max-width: 38rem; }
.about__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.about__list li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.about__list b { min-width: 72px; font-family: var(--display); font-size: 2rem; color: var(--green-700); line-height: 1; }
@media (min-width: 900px) { .about__inner { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* ---------- Kontakt ---------- */
.contact { padding: 72px 16px; background: var(--green-950); color: #fff; position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%; background: radial-gradient(closest-side, rgb(156 198 59 / .22), transparent); pointer-events: none; }
.contact__inner { position: relative; max-width: var(--wrap); margin: 0 auto; }
.contact .eyebrow { color: var(--lime); }
.contact h2 { color: #fff; margin-bottom: 28px; }
.contact__grid { display: grid; gap: 16px; }
@media (min-width: 820px) { .contact__grid { grid-template-columns: repeat(3, 1fr); } }
.card { background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .12); border-radius: var(--r-lg); padding: 24px; display: grid; gap: 8px; align-content: start; }
.card > svg { width: 40px; height: 40px; padding: 8px; border-radius: 12px; background: var(--gold-grad); color: var(--green-950); }
.card h3 { font-family: var(--display); font-size: 1.4rem; text-transform: uppercase; color: var(--gold-hi); letter-spacing: .02em; margin-top: 6px; }
.card p { margin: 0; color: rgb(255 255 255 / .85); }
.card .link { color: var(--lime); justify-self: start; margin-top: 4px; }
.card .link:hover { color: #fff; }
.big-phone { font-family: var(--display); font-size: 2rem; font-weight: 800; text-decoration: none; color: #fff; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.hours dt { font-weight: 600; color: rgb(255 255 255 / .75); }
.hours dd { margin: 0; font-weight: 700; }
.hours .today { color: var(--gold-hi); }
.card .muted { color: rgb(255 255 255 / .65); font-size: .9rem; }

/* ---------- Footer ---------- */
.footer { background: #0c1809; color: rgb(255 255 255 / .75); padding: 40px 16px 32px; border-top: 4px solid; border-image: linear-gradient(90deg, var(--green-700), var(--lime), var(--gold), var(--green-700)) 1; }
.footer__inner { max-width: var(--wrap); margin: 0 auto; display: grid; gap: 22px; }
.footer__slogan { margin: 8px 0 0; font-family: var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__nav a, .footer__nav button { background: none; border: 0; padding: 6px 0; color: rgb(255 255 255 / .8); text-decoration: none; font-weight: 600; font-size: .95rem; }
.footer__nav a:hover, .footer__nav button:hover { color: var(--gold-hi); }
.footer__copy { margin: 0; font-size: .85rem; color: rgb(255 255 255 / .5); }
@media (min-width: 820px) { .footer__inner { grid-template-columns: 1fr auto; align-items: center; } .footer__copy { grid-column: 1 / -1; } }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 60; translate: -50% 20px; opacity: 0; pointer-events: none;
  background: var(--green-950); color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .92rem;
  box-shadow: var(--shadow-lg); transition: opacity .25s, translate .25s var(--ease); white-space: nowrap; max-width: calc(100vw - 32px); overflow: hidden; text-overflow: ellipsis;
}
.toast.show { opacity: 1; translate: -50% 0; }
@media (min-width: 1180px) { .toast { bottom: 32px; } }

/* ---------- Dezente Scroll-Animationen (nur wo unterstützt) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
    .item, .cat__head, .card, .about__media img, .about__copy, .steps li {
      animation: rise auto linear backwards;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
  }
}
