:root {
  --bg: #fff7ee;          /* warmes Creme */
  --bg-soft: #fff1e2;     /* etwas tiefer */
  --card: #ffffff;
  --ink: #2a1c11;         /* warmes Fast-Schwarz */
  --muted: #7d6a58;
  --muted-2: #a89684;
  --red: #e63c2c;         /* Tomate / Paprika */
  --red-dark: #c62d20;
  --yellow: #ffc12e;      /* sonnig */
  --yellow-soft: #ffe6ab;
  --green: #2fa96a;       /* frisch */
  --line: #f0e2d0;
  --line-2: #e7d6c1;
  --shadow: 0 20px 44px -26px rgba(150, 85, 30, .5);
  --shadow-sm: 0 8px 20px -14px rgba(150, 85, 30, .45);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
  --font-display: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--ink);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 247, 238, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 22px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: -.5px; color: var(--ink); }
.brand .mark {
  width: 42px; height: 42px; border-radius: 14px; font-size: 22px;
  background: radial-gradient(circle at 32% 28%, #ffd873, var(--yellow) 55%, var(--red));
  display: grid; place-items: center; box-shadow: 0 8px 18px -8px rgba(230, 60, 44, .6);
}
.brand small { display: block; font-family: var(--font-body); font-weight: 600; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-top: -2px; }
.nav-cats { display: flex; gap: 4px; margin-left: 6px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.nav-cats::-webkit-scrollbar { display: none; }
.nav-cats a {
  padding: 9px 15px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted);
  white-space: nowrap; transition: .15s;
}
.nav-cats a:hover { color: var(--ink); background: var(--bg-soft); }
.cart-btn {
  display: flex; align-items: center; gap: 9px; padding: 11px 18px; border-radius: 999px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap;
  box-shadow: 0 12px 24px -12px rgba(230, 60, 44, .8); transition: transform .12s, background .15s;
}
.cart-btn:hover { transform: translateY(-1px); background: var(--red-dark); }
.cart-btn .count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #fff; color: var(--red);
  display: grid; place-items: center; font-size: 12px; font-weight: 800;
}

/* ---------- Hero (grosses Hintergrundbild) ---------- */
.hero {
  position: relative; min-height: clamp(500px, 78vh, 720px);
  display: flex; align-items: flex-end; overflow: hidden;
  border-radius: 0 0 36px 36px;
}
.hero-media {
  position: absolute; inset: 0; background: url("img/hero.jpg") center 40% / cover no-repeat;
  transform: scale(1.03); animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { to { transform: scale(1.11); } }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(30, 14, 6, .62) 0%, rgba(30, 14, 6, .2) 46%, rgba(30, 14, 6, 0) 70%),
    linear-gradient(0deg, rgba(28, 12, 5, .78) 0%, rgba(28, 12, 5, .1) 44%, rgba(28, 12, 5, .12) 100%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: var(--maxw);
  margin: 0 auto; padding: 0 22px 64px; color: #fff8f0;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px; margin-bottom: 22px;
  color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .55);
}
.eyebrow .dot { width: 9px; height: 9px; border-radius: 50%; background: #46d17f; flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(70, 209, 127, .6); animation: livePulse 2.2s ease-out infinite; }
@keyframes livePulse {
  0% { box-shadow: 0 0 0 0 rgba(70, 209, 127, .55); }
  70% { box-shadow: 0 0 0 11px rgba(70, 209, 127, 0); }
  100% { box-shadow: 0 0 0 0 rgba(70, 209, 127, 0); }
}
.hero h1 {
  font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -1.8px;
  font-size: clamp(40px, 6.6vw, 78px); margin: 0 0 18px; text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero h1 .hl { color: var(--yellow); }
.hero .lead {
  font-size: clamp(16px, 2vw, 20px); line-height: 1.55; color: rgba(255, 248, 240, .94);
  max-width: 500px; margin: 0 0 28px; text-shadow: 0 2px 16px rgba(0, 0, 0, .35);
}
.hero-cta { display: flex; gap: 13px; flex-wrap: wrap; }
.btn-primary {
  padding: 15px 28px; border-radius: 14px; background: var(--red); color: #fff;
  font-weight: 700; font-size: 15px; box-shadow: 0 16px 30px -14px rgba(230, 60, 44, .9); transition: transform .12s, background .15s;
}
.btn-primary:hover { transform: translateY(-2px); background: var(--red-dark); }
.btn-ghost {
  padding: 15px 24px; border-radius: 14px; background: rgba(255, 255, 255, .95); color: var(--ink);
  font-weight: 700; font-size: 15px; transition: transform .12s, background .15s; box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { transform: translateY(-2px); background: #fff; }

/* ---------- Trust-Leiste (schwebende Karte) ---------- */
.trust {
  position: relative; z-index: 5; margin-top: -36px; background: var(--card);
  border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 20px 10px;
}
.trust-item { text-align: center; padding: 4px 8px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: none; }
.trust-item b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--red); line-height: 1.1; }
.trust-item span { font-size: 12.5px; color: var(--muted); }

/* ---------- Menu ---------- */
.section { padding: 40px 0 8px; }
.section:first-of-type { padding-top: 46px; }
.section-head { margin-bottom: 22px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -.9px;
  font-size: clamp(26px, 4vw, 38px); margin: 0; color: var(--ink); display: flex; align-items: center; gap: 10px;
}
.section-head h2::after { content: ""; flex: 1; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--yellow), transparent); margin-left: 6px; max-width: 220px; }
.section-head .cat-icon { width: 40px; height: 40px; display: inline-grid; place-items: center; background: var(--bg-soft); border-radius: 12px; }
.section-head .cat-icon svg { width: 72%; height: 72%; }

.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform .16s, box-shadow .16s, border-color .16s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .thumb {
  position: relative; aspect-ratio: 16/11; background: var(--bg-soft);
  display: grid; place-items: center; overflow: hidden;
}
.card .thumb .illo-bg { position: absolute; inset: 0; display: grid; place-items: center; }
.card .thumb .illo-bg svg { width: 60%; height: 60%; opacity: .9; }
.dish-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.05); filter: blur(12px);
  transition: opacity .5s ease, transform .6s ease, filter .6s ease;
}
.dish-img.loaded { opacity: 1; transform: none; filter: none; }
.card .tag {
  position: absolute; top: 12px; left: 12px; z-index: 3; padding: 6px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase;
  background: var(--yellow); color: #4a2f00; box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .35);
}
.card .tag.veg { background: var(--green); color: #fff; }
.card .tag.spec { background: var(--red); color: #fff; }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.4px; margin: 0 0 6px; color: var(--ink); }
.card .desc { font-size: 13.5px; line-height: 1.5; color: var(--muted); flex: 1; margin: 0 0 16px; }
.card .foot { display: flex; align-items: center; justify-content: space-between; gap: 10px 12px; flex-wrap: wrap; }
.card .price { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--red); white-space: nowrap; }
.card .foot .add-btn, .card .foot .stepper { margin-left: auto; }
.card .price span { font-size: 12px; color: var(--muted-2); font-weight: 500; font-family: var(--font-body); }
.add-btn {
  display: flex; align-items: center; gap: 7px; padding: 10px 17px; border-radius: 12px;
  background: var(--red); color: #fff; font-weight: 700; font-size: 13.5px; transition: .14s;
  box-shadow: 0 10px 20px -12px rgba(230, 60, 44, .9);
}
.add-btn:hover { background: var(--red-dark); transform: translateY(-1px); }
.add-btn svg { width: 15px; height: 15px; }

.stepper { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; }
.stepper button { width: 36px; height: 40px; font-size: 19px; font-weight: 800; color: var(--red); }
.stepper button:hover { background: #fff; }
.stepper .q { min-width: 26px; text-align: center; font-weight: 800; font-size: 14px; }

/* ---------- Cart drawer ---------- */
.overlay { position: fixed; inset: 0; background: rgba(40, 20, 8, .42); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 90; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); z-index: 100;
  background: var(--bg); border-left: 1px solid var(--line); transform: translateX(100%);
  transition: transform .3s cubic-bezier(.22, .61, .36, 1); display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-display); font-size: 23px; margin: 0; font-weight: 800; }
.icon-btn { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--bg-soft); font-size: 19px; transition: .14s; }
.icon-btn:hover { background: var(--line); }
.cart-items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-empty { text-align: center; color: var(--muted-2); padding: 60px 20px; }
.cart-empty svg { width: 78px; height: 78px; margin: 0 auto 18px; opacity: .5; }
.cart-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-row .ci-thumb { position: relative; width: 58px; height: 58px; border-radius: 12px; overflow: hidden; background: var(--bg-soft); flex-shrink: 0; }
.cart-row .ci-thumb .illo-bg { position: absolute; inset: 0; display: grid; place-items: center; }
.cart-row .ci-thumb .illo-bg svg { width: 62%; height: 62%; }
.cart-row .ci-main { flex: 1; min-width: 0; }
.cart-row .ci-main h4 { font-size: 14.5px; margin: 0 0 3px; font-weight: 700; }
.cart-row .ci-main .ci-price { font-size: 13px; color: var(--muted); }
.cart-row .ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-row .ci-total { font-weight: 800; font-size: 14px; color: var(--red); }
.mini-step { display: flex; align-items: center; background: var(--bg-soft); border: 1px solid var(--line-2); border-radius: 9px; }
.mini-step button { width: 28px; height: 30px; color: var(--red); font-size: 16px; font-weight: 800; }
.mini-step .q { min-width: 22px; text-align: center; font-size: 13px; font-weight: 700; }
.drawer-foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.sum-row.total { color: var(--ink); font-size: 21px; font-family: var(--font-display); font-weight: 800; margin: 12px 0 16px; }
.checkout-btn { width: 100%; padding: 16px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 800; font-size: 16px; transition: transform .12s, background .15s; box-shadow: 0 14px 26px -14px rgba(230, 60, 44, .9); }
.checkout-btn:hover { transform: translateY(-2px); background: var(--red-dark); }
.checkout-btn:disabled { opacity: .4; cursor: not-allowed; transform: none; }

/* ---------- Modal (Checkout) ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal .backdrop { position: absolute; inset: 0; background: rgba(40, 20, 8, .5); backdrop-filter: blur(3px); }
.modal .box {
  position: relative; width: min(560px, 100%); max-height: 92vh; overflow-y: auto;
  background: var(--bg); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow);
  animation: pop .25s cubic-bezier(.22, .61, .36, 1);
}
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-head { padding: 26px 28px 4px; }
.modal-head .step-label { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--red); }
.modal-head h3 { font-family: var(--font-display); font-size: 27px; margin: 6px 0 4px; font-weight: 800; }
.modal-head p { color: var(--muted); font-size: 14px; margin: 0; }
form.checkout { padding: 20px 28px 28px; }
.field { margin-bottom: 15px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.lbl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 12px; background: var(--card); border: 1.5px solid var(--line-2);
  color: var(--ink); font-size: 15px; font-family: inherit; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 60, 44, .13); }
.field input.invalid, .field textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(230, 60, 44, .13); }
.field .err { font-size: 12px; color: var(--red); margin-top: 6px; display: none; }
.field.show-err .err { display: block; }
.field textarea { resize: vertical; min-height: 60px; }

.pay-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 22px 0 12px; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-opt { position: relative; }
.pay-opt input { position: absolute; opacity: 0; pointer-events: none; }
.pay-opt label {
  display: flex; align-items: center; gap: 11px; padding: 14px 15px; border-radius: 13px;
  background: var(--card); border: 1.5px solid var(--line-2); cursor: pointer; transition: .14s; height: 100%;
}
.pay-opt label:hover { border-color: var(--yellow); }
.pay-opt .pico { width: 30px; height: 30px; flex-shrink: 0; display: grid; place-items: center; }
.pay-opt .pico svg { width: 100%; height: 100%; }
.pay-opt .ptxt { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.pay-opt .ptxt small { display: block; font-weight: 500; font-size: 11.5px; color: var(--muted-2); margin-top: 2px; }
.pay-opt input:checked + label { border-color: var(--red); background: rgba(230, 60, 44, .06); }
.pay-opt.wide { grid-column: 1 / -1; }
.pay-opt.wide input:checked + label { border-color: var(--green); background: rgba(47, 169, 106, .1); }

.modal-summary { margin: 20px 0 4px; padding: 16px; background: var(--bg-soft); border-radius: 14px; }
.modal-summary .sl { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.modal-summary .sl.tot { color: var(--ink); font-weight: 800; font-size: 17px; font-family: var(--font-display); margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line-2); }
.submit-order { width: 100%; margin-top: 20px; padding: 16px; border-radius: 14px; background: var(--red); color: #fff; font-weight: 800; font-size: 16px; transition: transform .12s, background .15s; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 14px 26px -14px rgba(230, 60, 44, .9); }
.submit-order:hover { transform: translateY(-2px); background: var(--red-dark); }
.submit-order:disabled { opacity: .7; cursor: wait; transform: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Success ---------- */
.success { text-align: center; padding: 44px 32px 40px; }
.success .check { width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #7bd6a2, var(--green)); display: grid; place-items: center; box-shadow: 0 16px 34px -14px var(--green); animation: pop .4s; }
.success .check svg { width: 44px; height: 44px; }
.success h3 { font-family: var(--font-display); font-size: 28px; margin: 0 0 8px; font-weight: 800; }
.success p { color: var(--muted); font-size: 15px; line-height: 1.6; margin: 0 auto 6px; max-width: 380px; }
.success .oid { display: inline-block; margin: 14px 0 20px; padding: 8px 18px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 800; letter-spacing: .5px; }
.success .previewlink { display: inline-block; margin-top: 4px; font-size: 13px; color: var(--red); border-bottom: 1px solid rgba(230, 60, 44, .4); }

/* ---------- Footer ---------- */
footer.site { border-top: 1px solid var(--line); margin-top: 46px; padding: 44px 0; background: var(--bg-soft); }
.foot-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; }
footer .brand { margin-bottom: 12px; }
footer p { color: var(--muted); font-size: 13.5px; line-height: 1.8; margin: 0; }
footer .hours b, footer p b { color: var(--ink); }

/* ---------- Toast ---------- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(30px); z-index: 200;
  background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 12px;
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; display: flex; align-items: center; gap: 10px; }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast svg { width: 18px; height: 18px; color: var(--yellow); }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .hero { min-height: 74vh; border-radius: 0 0 26px 26px; }
  .hero-inner { padding-bottom: 46px; }
  .trust { grid-template-columns: repeat(2, 1fr); gap: 12px 4px; }
  .trust-item:nth-child(2) { border-right: none; }
  .nav-cats { display: none; }
}
@media (max-width: 480px) {
  .pay-grid { grid-template-columns: 1fr; }
  .brand small { display: none; }
  .trust-item b { font-size: 19px; }
}
