/* =====================================================================
   Abo Anass – Basis-Stylesheet (öffentliche Website + gemeinsame Bausteine)
   Farben kommen aus /theme.css (im Admin änderbar, aus dem Logo abgeleitet).
   Schriften lokal gehostet (DSGVO): Tajawal (lateinisch), Cairo (arabisch).
   ===================================================================== */

@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/tajawal-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/tajawal-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/tajawal-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Tajawal"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/tajawal-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cairo-arabic-400-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/cairo-arabic-700-normal.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root {
  /* Fallbacks – werden von /theme.css überschrieben */
  --brand: #E8780C;
  --brand-ink: #A84F00;
  --accent: #9C0C18;
  --ink: #1C1512;
  --cream: #FFF6EA;

  --surface: #FFFFFF;
  --muted: #6B5D52;
  --line: rgba(28, 21, 18, .12);
  --ok: #1E7A44;
  --warn: #B42318;
  --wa: #1A7F45;

  --font: "Tajawal", "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(28,21,18,.06), 0 8px 24px -8px rgba(28,21,18,.14);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-ink); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .5em; font-weight: 800; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; left: 0; top: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.muted { color: var(--muted); }
.text-ok { color: var(--ok); }
.text-warn { color: var(--warn); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .65em 1.25em;
  font: 700 1rem/1.1 var(--font); text-decoration: none; cursor: pointer;
  color: var(--btn-fg); background: var(--btn-bg); border: 2px solid var(--btn-bd); border-radius: 999px;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }
.btn-primary { --btn-bg: var(--brand-ink); --btn-fg: #fff; --btn-bd: var(--brand-ink); box-shadow: 0 6px 18px -8px var(--brand-ink); }
.btn-primary:hover { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn-outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn-outline:hover { --btn-bg: var(--ink); --btn-fg: #fff; }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; }
.btn-ghost:hover { --btn-bg: rgba(28,21,18,.06); }
.btn-sm { min-height: 38px; padding: .45em 1em; font-size: .9375rem; }
.btn-lg { min-height: 54px; padding: .8em 1.6em; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.ico { width: 1.1em; height: 1.1em; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-logo { width: 56px; height: 56px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.brand:hover .brand-logo { transform: rotate(-8deg) scale(1.04); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; }
.brand-tag { font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: .04em; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; border-radius: 12px; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after { position: absolute; left: 11px; width: 22px; height: 2.5px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s ease, top .2s ease; }
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { left: 0; top: -7px; }
.nav-toggle-bar::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

.site-nav { display: flex; align-items: center; gap: 20px; }
.site-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; }
.site-nav ul a:hover { background: rgba(28,21,18,.06); color: var(--ink); }
.site-nav ul a[aria-current="page"] { background: var(--ink); color: #fff; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .brand-tag { display: none; }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 12px;
    padding: 16px var(--gutter) 24px; background: var(--cream); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(0,0,0,.3);
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: 14px 12px; font-size: 1.125rem; border-radius: 12px; }
  .nav-cta { align-self: flex-start; }
}

/* ---------- Flash ---------- */
.flash-stack { padding-top: 12px; display: grid; gap: 8px; }
.flash { margin: 0; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--surface); border-left: 5px solid var(--muted); box-shadow: var(--shadow); font-weight: 500; }
.flash-success { border-left-color: var(--ok); }
.flash-error { border-left-color: var(--warn); }
.flash-warning { border-left-color: var(--brand); }
.flash-info { border-left-color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(32px, 7vw, 88px) 0 clamp(48px, 8vw, 104px);
  background:
    radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--brand) 22%, transparent) 1.2px, transparent 1.6px) 0 0 / 22px 22px,
    linear-gradient(180deg, var(--cream), color-mix(in srgb, var(--brand) 10%, var(--cream)));
}
.hero::after { /* geschwungene Kante */
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 64px;
  background: var(--cream); border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; gap: 40px; align-items: center; grid-template-columns: 1.1fr .9fr; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; margin-bottom: 20px; background: var(--surface); border-radius: 999px; font-weight: 700; font-size: .9rem; box-shadow: var(--shadow); }
.eyebrow-sep { color: var(--muted); }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); }
.status-dot.is-open { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 20%, transparent); }
.status-dot.is-closed { background: var(--warn); }
.hero-title { font-size: clamp(2.5rem, 7vw, 4.75rem); line-height: .98; letter-spacing: -.025em; margin-bottom: .35em; text-wrap: balance; }
.hero-text { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: color-mix(in srgb, var(--ink) 82%, transparent); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 18px; font-size: .95rem; color: var(--muted); }

.hero-art { position: relative; justify-self: center; width: min(420px, 82vw); aspect-ratio: 1; }
.hero-plate {
  position: absolute; inset: 6%; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff 0 58%, color-mix(in srgb, var(--brand) 18%, #fff) 59% 100%);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--brand-ink) 70%, transparent), inset 0 0 0 10px #fff;
  display: grid; place-items: center;
  animation: plate-in .9s cubic-bezier(.2,1,.3,1) both;
}
.hero-plate img { width: 80%; height: auto; filter: drop-shadow(0 12px 16px rgba(0,0,0,.18)); }
.hero-chip {
  position: absolute; padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase;
  background: var(--ink); color: #fff; box-shadow: var(--shadow); animation: chip-in .7s cubic-bezier(.2,1.4,.4,1) both;
}
.chip-1 { top: 4%; left: -2%; transform: rotate(-8deg); background: var(--accent); animation-delay: .25s; }
.chip-2 { top: 46%; right: -6%; transform: rotate(6deg); background: var(--brand-ink); animation-delay: .4s; }
.chip-3 { bottom: 6%; left: 6%; transform: rotate(-3deg); animation-delay: .55s; }
@keyframes plate-in { from { opacity: 0; transform: scale(.92) rotate(-6deg); } to { opacity: 1; transform: none; } }
@keyframes chip-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; width: min(300px, 72vw); }
  .chip-2 { right: -2%; }
}

/* ---------- Abschnitte ---------- */
.section-title { font-size: clamp(1.75rem, 4vw, 2.6rem); margin-bottom: .8em; text-wrap: balance; }
.pillars { padding: clamp(24px, 5vw, 56px) 0; }
.pillar-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.pillar {
  position: relative; padding: 28px 24px 24px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow);
  border-top: 6px solid var(--brand); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease;
}
.pillar:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 34px -14px rgba(28,21,18,.25); }
.pillar-chicken { border-top-color: var(--accent); }
.pillar-falafel { border-top-color: #3E7D32; }
.pillar h3 { font-size: 1.6rem; margin-bottom: .35em; }
.pillar p { color: var(--muted); margin: 0; }
.pillar-num { position: absolute; right: 16px; top: 8px; font-size: 3.5rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 18%, transparent); }
@media (max-width: 860px) { .pillar-grid { grid-template-columns: 1fr; } }

.about { padding: clamp(24px, 5vw, 64px) 0 clamp(48px, 8vw, 96px); }
.about-grid { display: grid; gap: 32px; grid-template-columns: 1.2fr .8fr; align-items: start; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.3em; }

.hours-card, .card { background: var(--surface); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.hours-card { border: 2px dashed color-mix(in srgb, var(--brand) 55%, transparent); }
.card-title { font-size: 1.35rem; margin-bottom: .4em; }
.hours-status { font-weight: 700; margin-bottom: .8em; }
.hours-status.is-open { color: var(--ok); }
.hours-status.is-closed { color: var(--warn); }
.hours-list { margin: 0; display: grid; gap: 6px; }
.hours-list div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dotted var(--line); }
.hours-list dt { font-weight: 700; }
.hours-list dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.hours-address { margin-top: 16px; color: var(--muted); }

/* ---------- Unterseiten ---------- */
.page-head { padding: clamp(32px, 6vw, 72px) 0 clamp(16px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.legal { padding-bottom: 64px; }
.legal-version { margin-top: 2em; color: var(--muted); font-size: .9rem; }
.error-code { font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; margin: 0; color: transparent; -webkit-text-stroke: 2px var(--brand); }

.contact-grid { display: grid; gap: 24px; grid-template-columns: .9fr 1.1fr; padding-bottom: 72px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
a.contact-card:hover { transform: translateX(4px); color: var(--ink); }
.contact-card-label { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact-card-value { font-size: 1.2rem; font-weight: 700; }
.contact-card-wa { border-left: 6px solid var(--wa); }
.text-link { margin-top: 6px; font-weight: 700; }

/* ---------- Formulare ---------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; } /* Eingabefeld nie strecken, wenn das Nachbarfeld einen Hinweis hat */
.field label { font-weight: 700; }
.field input:not([type=checkbox]):not([type=color]), .field textarea, .field select, .inline-form select {
  width: 100%; min-height: 46px; padding: 10px 14px; font: inherit; color: var(--ink);
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-sm); transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); outline: none; }
.field [aria-invalid="true"] { border-color: var(--warn); }
.field-error { margin: 0; color: var(--warn); font-weight: 700; font-size: .95rem; }
.form-hint, .help { margin: 0; font-size: .9rem; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #F3E9DD; margin-top: 0; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--brand); }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1.1fr 1fr 1fr 1fr; padding-block: 56px 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { width: 88px; height: 88px; margin-bottom: 12px; }
.footer-brand p { color: #CDBFB1; }
.footer-title { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 12px; font-variant-numeric: tabular-nums; }
.footer-social { list-style: none; padding: 0; margin: 18px 0 0; display: flex; gap: 14px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 18px; font-size: .92rem; color: #CDBFB1; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
.footer-bottom-inner p { margin: 0; }
.credit a { font-weight: 700; }

/* ---------- WhatsApp-Button ---------- */
.wa-fab {
  position: fixed; z-index: 50; bottom: calc(18px + env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 58px; padding: 8px; padding-right: 8px;
  color: #fff; background: var(--wa); border-radius: 999px; text-decoration: none; font-weight: 700;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45);
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  animation: wa-in .5s .6s cubic-bezier(.2,1.4,.4,1) both;
}
.wa-fab:hover, .wa-fab:focus-visible { color: #fff; background: #146B39; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(0,0,0,.5); }
.wa-right { right: calc(18px + env(safe-area-inset-right)); }
.wa-left { left: calc(18px + env(safe-area-inset-left)); }
.wa-ico { width: 42px; height: 42px; flex: none; }
.wa-label { padding-right: 12px; white-space: nowrap; }
.wa-fab::before { /* dezenter Puls-Ring */
  content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 color-mix(in srgb, var(--wa) 55%, transparent);
  animation: wa-pulse 2.8s 2s ease-out 3;
}
@keyframes wa-in { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wa) 55%, transparent); } 100% { box-shadow: 0 0 0 18px transparent; } }
@media (max-width: 640px) {
  .wa-label { display: none; }
  .wa-fab { min-height: 56px; padding: 7px; }
  .wa-hide-mobile { display: none; }
}
@media (min-width: 641px) { .wa-hide-desktop { display: none; } }
@media print { .wa-fab, .site-header, .site-footer { display: none; } }

/* ---------- Konto & Anmeldung ---------- */
.auth-page { padding-block: clamp(28px, 6vw, 72px); display: grid; place-items: center; }
.auth-card { width: min(460px, 100%); display: grid; gap: 14px; }
.auth-card-wide { width: min(620px, 100%); }
.auth-card h1 { font-size: clamp(1.8rem, 4vw, 2.2rem); margin: 0; }
.auth-switch { margin: 6px 0 0; text-align: center; }
.field-row { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.field-row-street { grid-template-columns: 1fr 110px; }
.field-row-city { grid-template-columns: 120px 1fr; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .field-row-street { grid-template-columns: 1fr 96px; } .field-row-city { grid-template-columns: 110px 1fr; } }
.req { color: var(--warn); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: start; }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand-ink); }
.check label { font-weight: 500; }
.check .field-error { grid-column: 2; }
.small { font-size: .9rem; }
.center { text-align: center; }
.notice { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 16px; margin: 0 0 16px; background: color-mix(in srgb, var(--brand) 14%, #fff); border-radius: var(--radius-sm); }
.notice p { margin: 0; }
.page-head-tight { padding-bottom: 8px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tabs a { padding: 9px 16px; border-radius: 999px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 700; border: 1px solid var(--line); }
.tabs a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tabs-logout { margin-left: auto; }
.account-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); align-items: start; padding-bottom: 72px; }
.account-section { padding-bottom: 72px; }
.section-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-bar h2 { margin: 0; }
.address-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.address-card { display: grid; gap: 8px; align-content: start; }
.address-card.is-default { outline: 2px solid var(--brand); }
.address-label { font-weight: 800; margin: 0; }
.address-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.address-form { max-width: 640px; }
.card-danger { border: 2px solid color-mix(in srgb, var(--warn) 35%, transparent); }
.btn-danger { --btn-bg: var(--warn); --btn-fg: #fff; --btn-bd: var(--warn); }
.btn-danger:hover { --btn-bg: #8A1A12; --btn-bd: #8A1A12; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }
.badge-open { background: color-mix(in srgb, var(--brand) 22%, #fff); color: var(--brand-ink); }
.btn[aria-busy="true"] { opacity: .7; pointer-events: none; }

/* ---------- Speisekarte ---------- */
.menu-head { padding-bottom: 12px; }
.menu-search { display: flex; gap: 10px; max-width: 620px; margin: 6px 0 12px; }
.menu-search input { flex: 1; min-height: 50px; padding: 10px 18px; font: inherit; border: 2px solid var(--line); border-radius: 999px; background: #fff; }
.menu-search input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.cat-nav { position: sticky; top: var(--header-h); z-index: 30; background: color-mix(in srgb, var(--cream) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.cat-nav-inner { display: flex; gap: 8px; overflow-x: auto; padding-block: 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav a { flex: none; scroll-snap-align: start; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 700; white-space: nowrap; }
.cat-nav a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-section { padding-block: 28px 8px; scroll-margin-top: calc(var(--header-h) + 64px); }
.menu-cat-head { margin-bottom: 16px; }
.menu-cat-head p { margin: 0; }
.menu-cat-title { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 6px; }
.menu-cat-title a { color: inherit; text-decoration: none; }
.menu-cat-title a:hover { color: var(--brand-ink); }
.pgrid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.pgrid > [hidden] { display: none; }
.pcard { height: 100%; }
.pcard-link { display: flex; flex-direction: column; height: 100%; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .18s ease, box-shadow .18s ease; }
.pcard-link:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 34px -14px rgba(28,21,18,.28); }
.pcard-media { position: relative; aspect-ratio: 4 / 3; background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand) 25%, #fff), color-mix(in srgb, var(--brand) 8%, #fff)); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-placeholder { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.5rem; font-weight: 800; color: color-mix(in srgb, var(--brand-ink) 45%, transparent); }
.pcard-flag { position: absolute; left: 10px; bottom: 10px; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; }
.pcard-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.pcard-title { font-size: 1.2rem; margin: 0; }
.pcard-desc { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 6px; }
.pcard-price { font-size: 1.25rem; font-weight: 800; color: var(--brand-ink); white-space: nowrap; }
.pcard-price small { font-size: .8rem; font-weight: 700; color: var(--muted); }
.pcard-allergens { margin: 0; font-size: .8rem; color: var(--muted); }
.pcard-allergens abbr { text-decoration: none; }
.is-unavailable .pcard-media img, .is-unavailable .pcard-placeholder { filter: grayscale(1); opacity: .6; }
.is-unavailable .pcard-price { color: var(--muted); }
.chips { display: inline-flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.chip { padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 800; background: #EFE7DD; color: var(--ink); }
.chip-vegan, .chip-vegetarian { background: #E1F0DE; color: #23602C; }
.chip-spicy { background: #FBE1DF; color: var(--accent); }
.chip-new { background: var(--ink); color: #fff; }
.chip-halal { background: #E6EEF7; color: #1E4C7A; }
.filter-empty { padding-block: 20px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--brand-ink); text-decoration: underline; cursor: pointer; }
.legal-note { padding-block: 24px 64px; }
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.cat-tiles { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); }
.cat-tile { display: flex; flex-direction: column; justify-content: flex-end; min-height: 110px; padding: 16px; border-radius: var(--radius); text-decoration: none; color: #fff; background: var(--brand-ink); position: relative; overflow: hidden; transition: transform .18s ease; }
.cat-tile::after { content: ""; position: absolute; right: -24px; top: -24px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.12); }
.cat-tile:hover { transform: translateY(-3px); color: #fff; }
.cat-tile-1 { background: var(--accent); }
.cat-tile-2 { background: var(--ink); }
.cat-tile-name { font-size: 1.25rem; font-weight: 800; }
.cat-tile-count { font-size: .85rem; opacity: .85; }
.featured-title { margin-top: 8px; }
.section-bar .section-title { margin: 0; }

/* Produktseite */
.product-page { padding-block: 24px 72px; }
.product-grid { display: grid; gap: clamp(20px, 4vw, 48px); grid-template-columns: 1.05fr .95fr; align-items: start; }
@media (max-width: 900px) { .product-grid { grid-template-columns: 1fr; } }
.product-media { position: sticky; top: calc(var(--header-h) + 16px); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
@media (max-width: 900px) { .product-media { position: static; } }
.product-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.product-placeholder { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(circle at 40% 35%, color-mix(in srgb, var(--brand) 22%, #fff), var(--cream)); }
.product-placeholder img { width: 40%; aspect-ratio: 1; object-fit: contain; opacity: .9; }
.product-info h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 10px; }
.notice-warn { background: #FBE1DF; color: var(--accent); font-weight: 700; }
.configurator { display: grid; gap: 14px; margin: 18px 0 22px; }
.cfg-group { border: 0; margin: 0; padding: 16px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.cfg-group.has-error { outline: 2px solid var(--warn); }
.cfg-group legend { float: left; width: 100%; padding: 0; margin-bottom: 10px; font-weight: 800; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cfg-group legend + * { clear: both; }
.cfg-rule { font-size: .82rem; font-weight: 700; color: var(--muted); }
.cfg-options { display: grid; gap: 6px; }
.cfg-option { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border: 2px solid var(--line); border-radius: 12px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.cfg-option:has(input:checked), .cfg-option:has(.cfg-qty:not([value="0"])) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.cfg-option input[type=radio], .cfg-option input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--brand-ink); margin: 0; }
.cfg-option.is-disabled { opacity: .5; cursor: not-allowed; }
.cfg-qty { width: 64px; min-height: 40px; padding: 4px 8px; font: inherit; border: 2px solid var(--line); border-radius: 10px; text-align: center; }
.cfg-price { font-weight: 700; color: var(--brand-ink); white-space: nowrap; }
.cfg-allergens { color: var(--muted); }
.cfg-error { margin: 8px 0 0; color: var(--warn); font-weight: 700; }
.cfg-total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 4px; border-top: 2px dashed var(--line); }
.cfg-total strong { font-size: 1.8rem; color: var(--brand-ink); }
.order-offline { padding: 16px; background: color-mix(in srgb, var(--brand) 12%, #fff); border-radius: var(--radius); }
.order-offline p { margin-bottom: 10px; }
.order-offline .hero-actions { margin-top: 0; }
.allergen-box { padding: 18px; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }
.allergen-box h2 { font-size: 1.1rem; }
.allergen-list { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; }
.allergen-list abbr { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; font-size: .8rem; text-decoration: none; }
.allergen-legend { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding-bottom: 24px; }
.legend { margin: 0; display: grid; gap: 6px; }
.legend div { display: grid; grid-template-columns: 40px 1fr; gap: 8px; }
.legend dt { font-weight: 800; }
.legend dd { margin: 0; }
.allergen-table-wrap { padding-bottom: 64px; }
.table-scroll { overflow-x: auto; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.allergen-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.allergen-table th, .allergen-table td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.allergen-table thead th { background: #FBF7F2; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.allergen-table .group-row th { background: color-mix(in srgb, var(--brand) 12%, #fff); }

/* ---------- Warenkorb, Kasse, Bestellstatus (M4) ---------- */
.field-grid { display: grid; gap: 14px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field-check { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 4px 10px; }
.field-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--brand-ink); }
.field-check label { font-weight: 500; }
.field-check .field-error, .field-check .help { grid-column: 2; }
.field textarea[rows="2"] { min-height: 70px; }
.field input[readonly] { background: #F4EEE6; color: var(--muted); }
.input-short { max-width: 160px; }
.help { margin: 0; font-size: .88rem; color: var(--muted); }
.small { font-size: .88rem; }

.cart-link { order: 3; position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--ink); text-decoration: none; background: var(--surface); border: 1px solid var(--line); }
.cart-link .ico { width: 22px; height: 22px; fill: currentColor; }
.cart-link:hover, .cart-link[aria-current] { background: var(--ink); color: #fff; }
.cart-badge { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--brand-ink); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--cream); }
.cart-badge[hidden] { display: none; }
.site-nav { order: 2; }
@media (max-width: 860px) { .cart-link { order: 2; } .nav-toggle { order: 3; } }

.cart-bar { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45; display: none; }
.cart-bar-link { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); }
.cart-bar-link:hover { color: #fff; }
.cart-bar-cta { color: var(--brand); white-space: nowrap; }
@media (max-width: 860px) {
  .cart-bar { display: block; }
  body.has-cart-bar { padding-bottom: 84px; }
  body.has-cart-bar .wa-fab { bottom: calc(92px + env(safe-area-inset-bottom)); }
}

.stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.stepper input { width: 52px; min-height: 44px; border: 0; text-align: center; font: 700 1.05rem var(--font); background: transparent; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-btn { width: 44px; min-height: 44px; border: 0; background: transparent; font: 800 1.3rem var(--font); color: var(--ink); cursor: pointer; }
.stepper-btn:hover { background: color-mix(in srgb, var(--brand) 14%, #fff); }
.stepper-sm input { width: 40px; min-height: 36px; font-size: .95rem; }
.stepper-sm .stepper-btn { width: 36px; min-height: 36px; font-size: 1.1rem; }
.cfg-extra { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: end; }
.qty-field { display: grid; gap: 6px; }
.qty-label { font-weight: 700; }
@media (max-width: 480px) { .cfg-extra { grid-template-columns: 1fr; } }
.cfg-added { margin: 6px 0 0; padding: 10px 14px; border-radius: 12px; background: #E1F0DE; color: #23602C; font-weight: 700; }
.cfg-added.is-error { background: #FBE1DF; color: var(--accent); }

.cart-page, .checkout-page, .order-status-page { padding-bottom: 72px; }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 40px 24px; }
.empty-emoji { font-size: 3.5rem; margin: 0; }
.cart-grid, .checkout-grid, .status-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
@media (max-width: 960px) { .cart-grid, .checkout-grid, .status-grid { grid-template-columns: 1fr; } }
.cart-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; padding: 14px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); align-items: start; }
.cart-line.has-error { outline: 2px solid var(--warn); }
.cart-thumb { width: 96px; aspect-ratio: 4/3; border-radius: 12px; overflow: hidden; background: color-mix(in srgb, var(--brand) 15%, #fff); display: grid; place-items: center; font-size: 2rem; font-weight: 800; color: var(--brand-ink); }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-name { font-size: 1.1rem; margin: 0 0 4px; }
.cart-name a { color: inherit; text-decoration: none; }
.cart-mods, .cart-note { margin: 0 0 4px; font-size: .92rem; color: var(--muted); }
.cart-error { margin: 4px 0; color: var(--warn); font-weight: 700; }
.cart-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.cart-price { font-weight: 800; font-size: 1.1rem; text-align: right; white-space: nowrap; display: grid; }
.cart-price small { font-weight: 500; color: var(--muted); font-size: .8rem; }
@media (max-width: 560px) { .cart-line { grid-template-columns: 64px 1fr; } .cart-thumb { width: 64px; } .cart-price { grid-column: 2; text-align: left; } }

.cart-summary, .order-summary { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 14px; }
@media (max-width: 960px) { .cart-summary, .order-summary { position: static; } }
.cart-summary h2, .order-summary h2 { margin: 0; font-size: 1.25rem; }
.seg { display: flex; gap: 6px; padding: 4px; margin: 0; border: 0; background: #F1E9DF; border-radius: 14px; }
.seg-wrap { flex-wrap: wrap; }
.seg-opt { flex: 1; position: relative; }
.seg-opt input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg-opt span { display: grid; place-items: center; min-height: 44px; padding: 6px 12px; border-radius: 10px; font-weight: 800; text-align: center; transition: background-color .15s ease; }
.seg-opt span small { font-weight: 500; font-size: .78rem; color: var(--muted); }
.seg-opt input:checked + span { background: #fff; box-shadow: var(--shadow); color: var(--brand-ink); }
.seg-opt input:focus-visible + span { outline: 3px solid var(--brand); }
.seg-lg .seg-opt span { min-height: 64px; font-size: 1.1rem; }
.plz-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: end; margin-top: 10px; }
.plz-row label { grid-column: 1 / -1; font-weight: 700; }
.plz-row input { min-height: 46px; padding: 8px 14px; font: inherit; border: 2px solid var(--line); border-radius: 12px; }
.zone-ok { margin: 8px 0 0; color: var(--ok); font-weight: 700; font-size: .95rem; }
.zone-warn { margin: 8px 0 0; color: var(--warn); font-weight: 700; }
.min-order { margin: 0; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 14%, #fff); }

.totals { margin: 0; display: grid; gap: 6px; padding-top: 12px; border-top: 2px dashed var(--line); }
.totals div { display: flex; justify-content: space-between; gap: 12px; }
.totals div[hidden] { display: none; }
.totals dt, .totals dd { margin: 0; }
.totals-sum { font-size: 1.3rem; font-weight: 800; padding-top: 6px; }
.totals-sum dd { color: var(--brand-ink); }
.totals-tax { font-size: .85rem; color: var(--muted); }

.steps { display: flex; gap: 8px; list-style: none; margin: 8px 0 0; padding: 0; font-size: .9rem; color: var(--muted); flex-wrap: wrap; }
.steps li::after { content: "›"; margin-left: 8px; }
.steps li:last-child::after { content: ""; }
.steps [aria-current] { color: var(--ink); font-weight: 800; }
.checkout-main { display: grid; gap: 18px; }
.checkout-main .card, .fulfillment-card { display: grid; gap: 14px; }
.fulfillment-card { margin-bottom: 18px; }
.h-step { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0; }
.h-step span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .95rem; }
.addr-grid { grid-template-columns: 2fr 1fr; }
@media (max-width: 560px) { .addr-grid { grid-template-columns: 1fr; } }
.pay-options, .tip-options { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.tip-options legend { font-weight: 700; margin-bottom: 8px; padding: 0; }
.pay-opt { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border: 2px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 700; }
.pay-opt:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, #fff); }
.pay-opt input { width: 22px; height: 22px; accent-color: var(--brand-ink); margin: 0; }
.pay-options.has-error .pay-opt { border-color: var(--warn); }
.tip-custom { display: flex; gap: 10px; align-items: center; margin-top: 8px; }
.tip-custom[hidden] { display: none; }
.tip-custom input { min-height: 44px; padding: 6px 12px; font: inherit; border: 2px solid var(--line); border-radius: 12px; }
.sum-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sum-lines li { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; }
.sum-qty { font-weight: 800; }
.sum-name small { display: block; color: var(--muted); font-size: .85rem; }
.sum-price { font-weight: 700; white-space: nowrap; }
.sum-edit, .sum-meta { margin: 0; font-size: .92rem; }
.legal-check { padding: 12px; border-radius: 12px; background: #FBF7F2; }
.legal-check.has-error { outline: 2px solid var(--warn); }
.btn-order { font-size: 1.1rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.order-head .eyebrow { margin-bottom: 10px; }
.status-card { display: grid; gap: 16px; }
.pickup-number { display: grid; justify-items: start; }
.pickup-number span { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 700; }
.pickup-number strong { font-size: clamp(3rem, 10vw, 4.5rem); line-height: 1; color: var(--brand-ink); }
.eta { margin: 0; font-size: 1.15rem; }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; counter-reset: st; }
.progress li { position: relative; padding-top: 18px; font-size: .85rem; font-weight: 700; color: var(--muted); }
.progress li::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 8px; border-radius: 999px; background: #EDE4D8; }
.progress li.done::before { background: var(--ok); }
.progress li.current { color: var(--ink); }
.progress li.current::before { background: linear-gradient(90deg, var(--brand) 0 50%, #EDE4D8 50%); background-size: 200% 100%; animation: aa-progress 1.4s linear infinite; }
@keyframes aa-progress { from { background-position: 100% 0; } to { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .progress li.current::before { animation: none; background: var(--brand); } }
@media (max-width: 560px) { .progress li { font-size: .72rem; } }
.status-meta { margin: 0; display: grid; gap: 4px; font-size: .92rem; color: var(--muted); }
.help-box { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding-top: 10px; border-top: 1px solid var(--line); }
.help-box p { margin: 0; width: 100%; }
.seg-wrap .seg-opt { flex: 1 0 64px; }
.seg-opt span { white-space: nowrap; }
.btn-order { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; text-align: center; }

/* =====================================================================
   Erlebnis-Ebene: Grill-Hero mit drehendem Spieß, Laufband, Reveal,
   Warenkorb-Feedback. Alles respektiert prefers-reduced-motion.
   ===================================================================== */
:root { --char: #1C1512; --ember: #3A1A0E; --flame: #FF9A2E; --ease-out: cubic-bezier(.2, 1, .3, 1); --ease-spring: cubic-bezier(.2, 1.5, .4, 1); }

/* Kopfzeile wird beim Scrollen kompakter */
.site-header .header-inner { transition: min-height .25s var(--ease-out); }
.site-header .brand-logo { transition: width .25s var(--ease-out), height .25s var(--ease-out), transform .4s cubic-bezier(.3,1.6,.5,1); }
.site-header.is-scrolled .brand-logo { width: 48px; height: 48px; }

/* Buttons */
.btn-light { --btn-bg: transparent; --btn-fg: #FFF6EA; --btn-bd: rgba(255, 246, 234, .55); }
.btn-light:hover { --btn-bg: #FFF6EA; --btn-fg: var(--char); --btn-bd: #FFF6EA; }
.btn-sizzle { position: relative; overflow: hidden; isolation: isolate; }
.btn-sizzle::after { /* Glanz, der beim Darüberfahren durchzieht */
  content: ""; position: absolute; inset: 0 auto 0 -60%; width: 45%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease-out);
}
.btn-sizzle:hover::after, .btn-sizzle:focus-visible::after { left: 120%; }
.btn:active { transform: scale(.97); }

/* ---------- Hero: Grill bei Nacht ---------- */
.hero-grill {
  color: #FFF6EA;
  background:
    radial-gradient(60% 70% at 78% 55%, color-mix(in srgb, var(--flame) 30%, transparent), transparent 70%),
    radial-gradient(40% 50% at 15% 10%, rgba(156, 12, 24, .35), transparent 70%),
    linear-gradient(160deg, var(--char) 0%, var(--ember) 100%);
  padding-bottom: clamp(72px, 10vw, 128px);
}
.hero-grill::after { background: var(--cream); }
.hero-grill .hero-title { color: #FFF6EA; }
.hero-grill .hero-text { color: rgba(255, 246, 234, .82); }
.hero-grill .hero-note { color: rgba(255, 246, 234, .7); }
.hero-grill .eyebrow { background: rgba(255, 246, 234, .1); color: #FFF6EA; box-shadow: inset 0 0 0 1px rgba(255, 246, 234, .18); }
.hero-grill .eyebrow-sep { color: rgba(255, 246, 234, .5); }
.hero-grill .status-dot.is-open { animation: dot-breathe 2.4s ease-in-out infinite; }
@keyframes dot-breathe { 50% { box-shadow: 0 0 0 7px color-mix(in srgb, var(--ok) 8%, transparent); } }
.hero-grill .hero-grid { grid-template-columns: 1.05fr .95fr; }

/* Einlauf-Sequenz: einmal beim Laden, nacheinander */
.hero-in { animation: hero-in .8s var(--ease-out) both; animation-delay: calc(var(--d, 0) * 110ms + 150ms); }
.hero-in[data-d="1"] { --d: 1; } .hero-in[data-d="2"] { --d: 2; } .hero-in[data-d="3"] { --d: 3; } .hero-in[data-d="4"] { --d: 4; }
@keyframes hero-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Der Spieß (Canvas-Rendering, statisches Bild als Rückfall) */
.spit { position: relative; justify-self: center; width: min(360px, 78vw); aspect-ratio: 300 / 420; animation: spit-in 1.1s .2s var(--ease-out) both; }
@keyframes spit-in { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
.spit-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.spit-canvas { opacity: 0; transition: opacity .4s ease; }
.spit.is-live .spit-canvas { opacity: 1; }
.spit-glow { /* Glut des Grills hinter dem Fleisch */
  position: absolute; left: 30%; top: 14%; width: 62%; height: 72%; border-radius: 40%;
  background: radial-gradient(ellipse at 62% 50%, rgba(255, 120, 20, .85), rgba(198, 58, 0, .45) 45%, transparent 72%);
  filter: blur(26px); animation: heat 2.4s ease-in-out infinite alternate;
}
@keyframes heat { from { opacity: .72; transform: scale(.98); } to { opacity: 1; transform: scale(1.04); } }
.steam { position: absolute; top: 6%; width: 46px; height: 90px; border-radius: 50%; background: radial-gradient(ellipse at center, rgba(255,255,255,.5), transparent 70%); filter: blur(8px); opacity: 0; animation: steam 4.5s ease-in infinite; }
.steam-1 { left: 28%; }
.steam-2 { left: 46%; animation-delay: 1.5s; }
.steam-3 { left: 62%; animation-delay: 3s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(40px) scaleX(.6); } 30% { opacity: .7; } 100% { opacity: 0; transform: translateY(-70px) scaleX(1.4); } }
.spit-badge {
  position: absolute; left: -10%; bottom: 2%; width: 36%; height: auto;
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.45));
  animation: badge-bob 5s ease-in-out infinite;
}
@keyframes badge-bob { 50% { transform: translateY(-8px) rotate(-4deg); } }

/* Hängendes Preisschild – echtes Gericht, verlinkt */
.hero-grill .hero-grid { position: relative; }
.price-tag {
  position: absolute; right: clamp(0px, 3vw, 40px); top: clamp(-12px, 1vw, 24px); z-index: 2;
  display: grid; justify-items: center; gap: 2px; padding: 14px 18px 12px; min-width: 150px;
  background: #FFF6EA; color: var(--char); text-decoration: none; border-radius: 10px;
  box-shadow: 0 16px 30px -12px rgba(0,0,0,.6);
  transform-origin: 50% -30px; animation: tag-swing 4s ease-in-out infinite;
}
.price-tag::before { /* Schnur */ content: ""; position: absolute; left: 50%; top: -30px; width: 2px; height: 30px; background: rgba(255,246,234,.6); }
.price-tag::after { /* Loch */ content: ""; position: absolute; left: 50%; top: 6px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: var(--ember); }
.price-tag-name { font-weight: 700; font-size: .95rem; margin-top: 6px; }
.price-tag-price { font-weight: 800; font-size: 1.6rem; color: var(--accent); line-height: 1; }
.price-tag:hover { color: var(--char); animation-play-state: paused; }
@keyframes tag-swing { 0%, 100% { transform: rotate(4deg); } 50% { transform: rotate(-4deg); } }

@media (max-width: 860px) {
  .hero-grill .hero-grid { grid-template-columns: 1fr; }
  .hero-grill { padding-top: 20px; }
  .hero-grill .hero-grid { gap: 12px; }
  .spit { order: -1; width: min(180px, 46vw); margin-top: 0; justify-self: start; margin-left: 8%; }
  .price-tag { top: 40px; right: 8px; min-width: 0; max-width: 46vw; padding: 12px 12px 10px; }
  .price-tag-name { font-size: .85rem; text-align: center; }
  .price-tag-price { font-size: 1.25rem; }
}

/* ---------- Laufband (Menüauszug) ---------- */
.ticker { position: relative; z-index: 2; margin-top: -26px; background: var(--brand); color: var(--char); overflow: hidden; transform: rotate(-1.2deg); box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); }
.ticker-track { display: flex; width: max-content; animation: ticker 48s linear infinite; }
.ticker:hover .ticker-track, .ticker:focus-within .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker-list li { display: flex; align-items: center; }
.ticker-list li::after { content: ""; width: 9px; height: 9px; margin: 0 22px; border-radius: 50%; background: var(--accent); }
.ticker-list a { padding: 14px 0; color: inherit; text-decoration: none; font-weight: 700; font-size: 1.05rem; white-space: nowrap; }
.ticker-list a:hover { color: var(--accent); }
.ticker-list b { font-weight: 800; color: #FFF6EA; background: var(--char); padding: 2px 8px; border-radius: 6px; margin-left: 6px; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Kategorie-Kacheln mit Symbol ---------- */
.cat-tile { min-height: 150px; gap: 2px; transition: transform .35s var(--ease-spring), box-shadow .3s ease; }
.cat-tile:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 22px 34px -18px rgba(0,0,0,.55); }
.cat-ico { position: absolute; right: 12px; top: 12px; width: 56px; height: 56px; color: rgba(255, 246, 234, .9); z-index: 1; transition: transform .45s var(--ease-spring); }
.cat-tile:hover .cat-ico { transform: rotate(-12deg) scale(1.12); }
.cat-tile::after { right: -30px; top: -30px; width: 110px; height: 110px; }

/* ---------- Einblenden beim Scrollen (einmalig, gestaffelt) ---------- */
[data-reveal] { transition: opacity .6s var(--ease-out), transform .7s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
[data-reveal].is-pending { opacity: 0; transform: translateY(22px); }

/* ---------- Produktkarten ---------- */
.pcard-media { overflow: hidden; }
.pcard-media img { transition: transform .6s var(--ease-out); }
.pcard-link:hover .pcard-media img { transform: scale(1.06); }
.pcard-link:hover .pcard-price { animation: price-pop .45s var(--ease-spring); }
@keyframes price-pop { 40% { transform: scale(1.12); } }
.pcard-placeholder { background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--brand) 30%, #fff), color-mix(in srgb, var(--brand) 10%, #fff)); }

/* ---------- Konfigurator & Warenkorb-Feedback ---------- */
.cfg-option { transition: border-color .15s ease, background-color .15s ease, transform .2s var(--ease-spring); }
.cfg-option:active { transform: scale(.98); }
.cfg-total strong.is-bump { animation: price-pop .45s var(--ease-spring); }
.cart-badge.is-bump { animation: badge-bump .6s var(--ease-spring); }
@keyframes badge-bump { 0% { transform: scale(1); } 30% { transform: scale(1.5); } 100% { transform: scale(1); } }
.cart-link.is-bump { animation: cart-shake .5s ease; }
@keyframes cart-shake { 20% { transform: rotate(-12deg); } 40% { transform: rotate(10deg); } 60% { transform: rotate(-6deg); } 80% { transform: rotate(3deg); } }
.fly-dot { position: fixed; z-index: 90; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(255,255,255,.8), 0 6px 14px rgba(0,0,0,.3); pointer-events: none; }
.cfg-added:not([hidden]) { animation: hero-in .4s var(--ease-out); }
.cart-bar:not([hidden]) { animation: bar-up .5s var(--ease-spring) both; }
@keyframes bar-up { from { transform: translateY(120%); } to { transform: none; } }
.cart-line { transition: opacity .25s ease, transform .25s ease; }
.cart-line.is-leaving { opacity: 0; transform: translateX(30px); }

/* Kategorie-Leiste: aktiver Chip gleitet sanft */
.cat-nav a { transition: background-color .25s ease, color .25s ease, transform .2s ease; }
.cat-nav a:hover { transform: translateY(-1px); }

/* Bestellstatus: kleiner Jubel bei „fertig/unterwegs/abgeschlossen“ */
.pickup-number strong { display: inline-block; animation: num-in .8s var(--ease-spring) both; }
@keyframes num-in { from { opacity: 0; transform: scale(.6) rotate(-6deg); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .spit-glow, .steam, .spit-badge, .price-tag, .ticker-track, .hero-grill .status-dot.is-open { animation: none !important; }
  .steam { display: none; }
  [data-reveal].is-pending { opacity: 1; transform: none; }
  .ticker-track { width: auto; flex-wrap: wrap; }
  .ticker-list[aria-hidden] { display: none; }
}

/* Schnell hinzufügen auf Produktkarten */
.pcard { position: relative; }
.pcard-quick { position: absolute; right: 12px; top: 12px; z-index: 2; margin: 0; }
.pcard-add {
  display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--brand-ink); color: #fff; box-shadow: 0 8px 18px -6px rgba(0,0,0,.45);
  transition: transform .3s var(--ease-spring), background-color .2s ease;
}
.pcard-add svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.pcard-add:hover { transform: scale(1.1); background: var(--accent); }
.pcard-add:active { transform: scale(.92); }
.pcard-add[aria-busy="true"] { opacity: .7; }
.pcard-add.is-done { background: var(--ok); }
.pcard-add .i-check { stroke-dasharray: 22; stroke-dashoffset: 22; transition: stroke-dashoffset .35s ease .1s; }
.pcard-add .i-plus { transition: opacity .15s ease, transform .3s var(--ease-spring); transform-origin: 12px 12px; }
.pcard-add.is-done .i-plus { opacity: 0; transform: rotate(90deg) scale(.4); }
.pcard-add.is-done .i-check { stroke-dashoffset: 0; }
.pcard-placeholder { color: color-mix(in srgb, var(--brand-ink) 55%, transparent); }
.pcard-placeholder .cat-ico { position: static; width: 30%; height: auto; color: inherit; transition: transform .5s var(--ease-spring); }
.pcard-link:hover .pcard-placeholder .cat-ico { transform: rotate(-8deg) scale(1.08); }
.cart-bar[hidden] { display: none !important; }
.qty-field .stepper { justify-self: start; }

/* Zahlung */
.pay-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pay-actions form { margin: 0; }
.pay-wait { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--brand) 12%, #fff); font-weight: 700; }
.spinner { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 3px solid color-mix(in srgb, var(--brand) 30%, transparent); border-top-color: var(--brand-ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Kundenportal: Bestellungen & Favoriten */
.product-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.product-title-row form { margin: 0; }
.fav-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--ink); font: 700 .95rem var(--font); cursor: pointer; text-decoration: none; white-space: nowrap; transition: border-color .2s ease, color .2s ease; }
.fav-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .35s var(--ease-spring), fill .2s ease; }
.fav-btn:hover { border-color: var(--accent); color: var(--accent); }
.fav-btn.is-on { border-color: var(--accent); color: var(--accent); }
.fav-btn.is-on svg { fill: var(--accent); }
.fav-btn.is-bump svg { animation: badge-bump .6s var(--ease-spring); }
.fav-item { display: grid; gap: 6px; }
.fav-remove { margin: 0; text-align: center; font-size: .9rem; }
.h-small { font-size: 1.2rem; margin-bottom: 10px; }
.classics { margin-bottom: 22px; }
.classic-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.classic-list a { display: inline-flex; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; }
.classic-list a span { color: var(--brand-ink); }
.classic-list a:hover { border-color: var(--brand); }
.order-history { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 14px; }
.order-row { display: grid; gap: 10px; }
.order-row.is-open { outline: 2px solid color-mix(in srgb, var(--brand) 55%, transparent); }
.order-row-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-row-title { font-size: 1.15rem; margin: 0 0 2px; }
.order-row-head p { margin: 0; }
.order-row-items { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--ink); }
.order-row-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); }
.order-row-total { font-size: 1.2rem; }
.order-row-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.order-row-actions form { margin: 0; }
.badge-wait { background: color-mix(in srgb, var(--brand) 22%, #fff); color: var(--brand-ink); }
.badge-ready { background: #E1F0DE; color: var(--ok); }
.badge-done { background: #ECE8E3; color: var(--ink); }
.badge-off { background: #F3E1DE; color: var(--warn); }
.pager { display: flex; gap: 6px; flex-wrap: wrap; }
.pager a { min-width: 42px; min-height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); text-decoration: none; border: 1px solid var(--line); color: var(--ink); }
.pager a[aria-current="page"] { background: var(--ink); color: #fff; }
.account-section { padding-top: 20px; }

/* Rechnung auf der Statusseite */
.invoice-box { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.invoice-box > p { width: 100%; margin: 0; }
.invoice-request { width: 100%; }
.invoice-request summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.invoice-request form { margin-top: 10px; }
.invoice-request .field { margin-bottom: 12px; }

/* Gutschein */
.coupon-box { margin: 12px 0; }
.coupon-form summary { cursor: pointer; font-weight: 700; color: var(--brand-ink); min-height: 44px; display: flex; align-items: center; }
.coupon-row { display: flex; gap: 8px; margin-top: 6px; }
.coupon-row input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 12px; border: 2px solid var(--line); border-radius: var(--radius-sm); font: inherit; text-transform: uppercase; letter-spacing: .04em; }
.coupon-row input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.coupon-applied { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 10px 12px; border-radius: 12px; background: #E8F4EA; border: 1px dashed #2E8A4E; }
.coupon-applied p { margin: 0; }
.coupon-applied form { margin-left: auto; }
.coupon-applied.coupon-invalid { background: #FDECEC; border-color: #B42318; }
.coupon-applied.coupon-replaced { background: #FFF6E0; border-color: #B7791F; }
.totals-discount dd, .totals-discount dt { color: #1F7A3E; }
.offer-banner { display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: linear-gradient(90deg, #FFF1D6, #FFE2BF); margin: 0 0 14px; font-weight: 700; }

/* Angebotsseite */
.offers { padding-bottom: 48px; }
.offers h2 { margin: 28px 0 12px; }
.offer-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.offer-card { position: relative; display: grid; gap: 8px; align-content: start; border-top: 6px solid var(--brand); }
.offer-card.is-now { box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 40%, transparent), var(--shadow); }
.offer-card h3 { margin: 0; font-size: 1.25rem; }
.offer-card p { margin: 0; }
.offer-tag { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 800; font-size: .95rem; }
.offer-code code { display: inline-block; padding: 8px 14px; border: 2px dashed var(--brand-ink); border-radius: 10px; font-size: 1.25rem; font-weight: 800; letter-spacing: .08em; user-select: all; background: #FFF6EA; }
.offers-empty { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 32px; }
.offers-cta { text-align: center; margin-top: 28px; }
.totals dd { white-space: nowrap; }

/* Geschlossen / pausiert: Hinweisleiste und Popup */
.closed-strip { display: flex; gap: 10px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 10px 16px; background: #2B201C; color: #FFE7C2; font-size: .95rem; text-align: center; }
.closed-strip strong { color: #fff; }
.closed-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.closed-modal[hidden] { display: none; }
.closed-backdrop { position: absolute; inset: 0; background: rgba(28, 21, 18, .62); backdrop-filter: blur(3px); animation: closed-fade .25s ease both; }
.closed-dialog { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 28px 24px 22px; text-align: center; box-shadow: 0 24px 60px rgba(0,0,0,.35); animation: closed-pop .45s cubic-bezier(.2, 1.4, .4, 1) both; }
.closed-dialog:focus { outline: none; }
.closed-dialog h2 { margin: 8px 0 8px; font-size: 1.5rem; }
.closed-dialog p { margin: 0 0 10px; }
.closed-next { color: var(--brand-ink); }
.closed-x { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #F4EEE6; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--ink); }
.closed-x:hover, .closed-x:focus-visible { background: #EADFD2; }
.closed-icon { position: relative; width: 96px; height: 96px; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE2BF, #FFC27A); }
.closed-emoji { font-size: 2.6rem; }
.closed-bubble { position: absolute; border-radius: 50%; background: rgba(232, 120, 12, .25); border: 2px solid rgba(232, 120, 12, .55); animation: closed-bubble 2.4s ease-in-out infinite; }
.closed-bubble.b1 { width: 18px; height: 18px; right: -6px; top: 6px; }
.closed-bubble.b2 { width: 12px; height: 12px; left: -4px; top: 30px; animation-delay: .5s; }
.closed-bubble.b3 { width: 9px; height: 9px; right: 10px; bottom: -6px; animation-delay: 1s; }
.closed-hours { margin: 12px auto 16px; padding: 12px 14px; max-width: 320px; border-radius: 14px; background: #FBF6EF; text-align: left; font-size: .95rem; }
.closed-hours div { display: flex; justify-content: space-between; gap: 12px; }
.closed-hours dt { font-weight: 700; }
.closed-hours dd { margin: 0; white-space: nowrap; }
.closed-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.closed-actions .btn { min-width: 140px; }
.closed-dialog.shake { animation: closed-shake .4s ease both; }
@keyframes closed-fade { from { opacity: 0; } }
@keyframes closed-pop { from { opacity: 0; transform: scale(.7) translateY(20px); } }
@keyframes closed-bubble { 0%, 100% { transform: translateY(0) scale(1); opacity: .9; } 50% { transform: translateY(-8px) scale(1.12); opacity: .6; } }
@keyframes closed-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@media (prefers-reduced-motion: reduce) { .closed-backdrop, .closed-dialog, .closed-bubble, .closed-dialog.shake { animation: none; } }
body.closed-open { overflow: hidden; }
.ordering-off [data-quick-add] button, .ordering-off .pcard-quick button { opacity: .5; }

/* Cookie-Einstellungen */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.cookie-table th, .cookie-table td { text-align: start; vertical-align: top; padding: .6rem .7rem; border-bottom: 1px solid var(--line); }
.cookie-table th { font-weight: 700; background: var(--cream); }
.cookie-clear { margin: 1rem 0 1.5rem; }
@media (max-width: 640px) {
  .cookie-table { min-width: 0; }
  .cookie-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .cookie-table, .cookie-table tbody, .cookie-table tr, .cookie-table td { display: block; }
  .cookie-table tr { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 4px 0; margin-bottom: 12px; background: var(--surface); }
  .cookie-table td { border: 0; padding: 6px 14px; }
  .cookie-table td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
}

/* App */
.footer-apps { margin-top: 18px; }
.store-badge { display: inline-flex; align-items: center; gap: 6px; margin: 6px 8px 0 0; padding: 8px 14px; border-radius: 10px; background: #000; color: #fff; font-weight: 700; text-decoration: none; border: 1px solid rgba(255,255,255,.25); }
.store-badge:hover { background: #222; color: #fff; }
.app-subscribe { margin-bottom: 16px; }
.app-toast { position: fixed; left: 50%; top: calc(12px + env(safe-area-inset-top)); transform: translateX(-50%); z-index: 9999; max-width: min(92vw, 460px);
  background: #1C1512; color: #fff; padding: 12px 16px; border-radius: 14px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.5); font-weight: 600; cursor: pointer; }
.app-toast small { display: block; font-weight: 400; opacity: .85; }

/* Einheitliche Eingabefelder auch außerhalb von .field (Passwort-Abfragen, Zahlenfelder, Auswahllisten) */
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number], input[type=url], input[type=search], input[type=date], input[type=time], select, textarea {
  font: inherit; color: var(--ink);
}
input[type=password]::-ms-reveal { display: none; }
