/* ════════════════════════════════════════════════════════════════════════════
   LA CARTA — Editorial Italian QR menu
   Design system: warm bone canvas, espresso ink, terracotta accent.
   Typography: Fraunces (display) · Manrope (body) · JetBrains Mono (labels)
   ════════════════════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,300..900,0..100;1,9..144,300..900,0..100&family=Manrope:wght@300..800&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --bone:        #EFE7D6;
  --bone-deep:   #E6DCC6;
  --paper:       #F7F1E3;
  --ink:         #1A140E;
  --ink-soft:    #3A2E22;
  --ink-mute:    #6B5A45;
  --line:        #C9BFA8;
  --line-soft:   #DBD2BC;
  --rust:        #B4421C;
  --rust-deep:   #8A2F12;
  --olive:       #4A5938;
  --gold:        #B5862E;
  --service:      #3C5A70;   /* gedämpftes Schiefer-Blau */
  --service-deep: #2C4456;
  --kitchen:      #4A5938;   /* = --olive */
  --kitchen-deep: #38462A;

  /* Type */
  --ff-display:  "Fraunces", ui-serif, Georgia, serif;
  --ff-body:     "Manrope", system-ui, -apple-system, sans-serif;
  --ff-mono:     "JetBrains Mono", ui-monospace, monospace;

  /* Scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 72px;
  --s-9: 112px;

  /* Radii */
  --r-1: 2px;
  --r-2: 6px;
  --r-3: 12px;
  --r-4: 18px;

  /* Shadow */
  --shadow-card: 0 1px 0 rgba(26,20,14,0.04), 0 6px 24px -8px rgba(26,20,14,0.10);
  --shadow-pop:  0 24px 60px -20px rgba(26,20,14,0.35);
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

body {
  font-family: var(--ff-body);
  font-weight: 400;
  background: var(--bone);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  letter-spacing: -0.005em;
  /* Subtle paper texture via layered gradients */
  background-image:
    radial-gradient(at 12% 8%, rgba(180,66,28,0.04) 0%, transparent 40%),
    radial-gradient(at 88% 92%, rgba(74,89,56,0.05) 0%, transparent 45%);
  background-attachment: fixed;
}

/* ── Typography utilities ───────────────────────────────────────────────── */
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.serif-it {
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: "opsz" 72, "SOFT" 80;
}
.label {
  font-family: var(--ff-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.price-num {
  font-family: var(--ff-display);
  font-feature-settings: "lnum", "tnum";
  font-variation-settings: "opsz" 24, "SOFT" 30;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

/* ── App shell / header ─────────────────────────────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(239, 231, 214, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.app-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-4);
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.brand__mark {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.04em;
}
.brand__mark .dot { color: var(--rust); }
.brand__mark em {
  font-style: italic;
  color: var(--rust);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  margin-left: 4px;
}
.brand__tag {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.table-chip, .status-chip {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.table-chip::before, .status-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--rust);
}
.status-chip[data-state="open"]::before   { background: var(--olive); }
.status-chip[data-state="closed"]::before { background: var(--ink-mute); }
.header-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}
.lang-switch .label {
  font-size: 9px;
  letter-spacing: 0.12em;
}
.lang-select {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 12px;
  font-family: var(--ff-mono);
  padding: 0;
  outline: none;
}
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background .2s ease;
}
.icon-btn:hover { background: var(--bone-deep); }
.cart-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rust);
  color: var(--paper);
  font-family: var(--ff-mono);
  font-size: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: scale(0);
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.cart-badge.is-visible { transform: scale(1); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: scale(0.97); }
.btn--primary {
  background: var(--ink);
  color: var(--paper);
}
.btn--primary:hover { background: var(--rust-deep); }
.btn--rust {
  background: var(--rust);
  color: var(--paper);
}
.btn--rust:hover { background: var(--rust-deep); }
.btn--ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--paper); border-color: var(--ink-soft); }
.btn--lg { padding: 16px 28px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--danger {
  background: var(--rust-deep);
  color: var(--paper);
  border: 1px solid var(--rust-deep);
}
.btn--danger:hover { background: var(--ink); border-color: var(--ink); }
.btn--service { background: rgba(60,90,112,.10); border: 1px solid rgba(60,90,112,.45); color: var(--service); }
.btn--service:hover { background: rgba(60,90,112,.18); border-color: var(--service); }
.btn--kitchen { background: rgba(74,89,56,.12); border: 1px solid rgba(74,89,56,.45); color: var(--kitchen); }
.btn--kitchen:hover { background: rgba(74,89,56,.20); border-color: var(--kitchen); }
.icon-btn--service { color: var(--service); }
.icon-btn--kitchen { color: var(--kitchen); }

/* ════════════════════════════════════════════════════════════════════════════
   LANDING (index.html)
   ════════════════════════════════════════════════════════════════════════════ */
.landing {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}
.landing__noise {
  position: absolute; inset: 0;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1, 0 0 0 0 0.08, 0 0 0 0 0.05, 0 0 0 0.08 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}
.landing__grid {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 28px 32px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto auto;
  gap: var(--s-7);
  min-height: 100vh;
}
.landing__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
}
.landing__hero {
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  gap: var(--s-5);
  padding-top: 12px;
}
.landing__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.landing__eyebrow::before, .landing__eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--rust);
}
.landing__title {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 0;
  font-weight: 400;
  font-size: clamp(72px, 18vw, 220px);
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin: 0;
}
.landing__title em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--rust);
  font-weight: 300;
}
.landing__lead {
  max-width: 540px;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
}
.landing__cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-top: var(--s-4);
  align-items: center;
}
.landing__cta-row .label { margin-left: 8px; }
.landing__plate {
  position: relative;
  align-self: center;
  justify-self: end;
  width: clamp(260px, 36vw, 460px);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-pop);
  transform: rotate(-3deg);
}
.landing__plate img { width: 100%; height: 100%; object-fit: cover; }
.landing__plate-cap {
  position: absolute;
  bottom: -18px; right: -8px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.landing__meta {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  padding-top: var(--s-6);
  border-top: 1px solid var(--line);
}
.landing__meta-item .num {
  font-family: var(--ff-display);
  font-size: 38px;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  letter-spacing: -0.03em;
  line-height: 1;
}
.landing__meta-item .num em {
  font-style: italic;
  color: var(--rust);
}
.landing__meta-item p {
  margin: 6px 0 0;
  color: var(--ink-mute);
  font-size: 13px;
}

/* ── Landing footer ────────────────────────────────────────────────────── */
.landing__footer {
  margin-top: var(--s-5);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: var(--s-5);
  align-items: end;
}
.landing__footer-col .label { display: block; margin-bottom: 8px; }
.landing__footer-col p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.landing__footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  text-align: right;
}
.landing__footer-meta .brand__mark { letter-spacing: -0.04em; }
.landing__footer-meta .label { font-size: 9.5px; }

@media (max-width: 760px) {
  .landing__footer {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-4);
  }
  .landing__footer-meta {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    margin-top: var(--s-3);
    padding-top: var(--s-3);
    border-top: 1px solid var(--line-soft);
  }
}

@media (min-width: 880px) {
  .landing__hero {
    grid-template-columns: 1.2fr 1fr;
    gap: var(--s-7);
    align-items: center;
  }
}

/* ════════════════════════════════════════════════════════════════════════════
   MENU PAGE (menu.html)
   ════════════════════════════════════════════════════════════════════════════ */
.page-menu {
  padding-bottom: 140px;
}
.menu-hero {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 12px;
}
.menu-hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-5);
  flex-wrap: wrap;
}
.menu-hero h1 {
  margin: 0;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}
.menu-hero h1 em {
  font-style: italic;
  color: var(--rust);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.menu-hero__sub {
  color: var(--ink-mute);
  margin: 6px 0 0;
  max-width: 440px;
}

.categories {
  position: sticky;
  top: var(--header-h, 64px);
  z-index: 20;
  background: rgba(239, 231, 214, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line-soft);
  padding: 12px 0;
}
.categories__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.categories__inner::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: all .2s ease;
}
.cat-chip:hover { border-color: var(--ink-soft); color: var(--ink); }
.cat-chip.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.cat-chip .count {
  font-size: 10px;
  opacity: 0.6;
}

.menu-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 60px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 1024px) {
  .menu-layout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--s-5);
}

/* ── Item card ─────────────────────────────────────────────────────────── */
.card {
  background: var(--paper);
  border-radius: var(--r-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid transparent;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  animation: cardIn .55s cubic-bezier(.2,.6,.2,1) backwards;
}
.card:hover {
  transform: translateY(-2px);
  border-color: var(--line);
  box-shadow: var(--shadow-card);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bone-deep);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.6,.2,1);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.card__name {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 72, "SOFT" 40;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
}
.card__price { font-size: 18px; }
.card__desc {
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.45;
  margin: 0;
}
.card__foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.card__cat {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--olive);
}
.card__add {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .18s ease, background .2s ease;
}
.card__add:hover { background: var(--rust); transform: rotate(90deg); }
.card__add svg { width: 16px; height: 16px; }
.card.is-unavailable { opacity: 0.5; pointer-events: none; }

/* ── Upsell panel: sidebar on desktop, bottom sheet on mobile ─────────── */
.upsell {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-3);
  padding: 20px;
  position: sticky;
  top: 144px;
  max-height: calc(100vh - 160px);
  overflow: auto;
}
.upsell__title {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 96, "SOFT" 60;
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 4px;
}
.upsell__sub {
  color: var(--ink-mute);
  font-size: 13px;
  margin: 0 0 16px;
}
.upsell__empty {
  padding: 18px 0;
  color: var(--ink-mute);
  font-size: 13.5px;
  font-style: italic;
}
.upsell__list { display: flex; flex-direction: column; gap: 10px; }
.upsell-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 10px;
  transition: background .2s ease;
}
.upsell-item:hover { background: var(--bone); }
.upsell-item__img {
  width: 56px; height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bone-deep);
}
.upsell-item__img img { width: 100%; height: 100%; object-fit: cover; }
.upsell-item__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.2;
}
.upsell-item__price {
  color: var(--ink-mute);
  font-size: 12px;
  font-family: var(--ff-mono);
  margin: 2px 0 0;
}
.upsell-item__add {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease;
}
.upsell-item__add:hover { transform: scale(1.08); }
.upsell-item__add svg { width: 14px; height: 14px; }

@media (max-width: 1023px) {
  .upsell {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    top: auto;
    border-radius: 22px 22px 0 0;
    border: 1px solid var(--line);
    border-bottom: none;
    padding: 18px 20px 28px;
    max-height: 72vh;
    transform: translateY(105%);
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
    box-shadow: var(--shadow-pop);
    z-index: 50;
  }
  .upsell.is-open { transform: translateY(0); }
  .upsell::before {
    content: "";
    display: block;
    width: 36px; height: 4px;
    background: var(--line);
    border-radius: 2px;
    margin: -4px auto 14px;
  }
  .upsell__close {
    position: absolute;
    top: 14px; right: 14px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--bone);
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .upsell__close { display: none; }
}

/* ── Cart drawer ───────────────────────────────────────────────────────── */
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
}
.cart-drawer__scrim {
  position: absolute; inset: 0;
  background: rgba(26,20,14,0.4);
  opacity: 0;
  transition: opacity .3s ease;
}
.cart-drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 92vw);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
  box-shadow: var(--shadow-pop);
}
.cart-drawer.is-open { pointer-events: auto; }
.cart-drawer.is-open .cart-drawer__scrim { opacity: 1; }
.cart-drawer.is-open .cart-drawer__panel { transform: translateX(0); }
.cart-drawer__head {
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-soft);
}
.cart-drawer__head h2 {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 28px;
  font-variation-settings: "opsz" 96, "SOFT" 40;
  letter-spacing: -0.02em;
}
.cart-drawer__body {
  flex: 1;
  overflow: auto;
  padding: 12px 20px;
}
.cart-drawer__empty {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-mute);
  font-style: italic;
}
.cart-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.cart-row:last-child { border-bottom: none; }
.cart-row__img {
  width: 64px; height: 64px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bone-deep);
}
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 17px;
  margin: 0;
  line-height: 1.2;
}
.cart-row__price {
  color: var(--ink-mute);
  font-family: var(--ff-mono);
  font-size: 12px;
  margin: 4px 0 0;
}
.qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
}
.qty button {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.qty button:hover { background: var(--bone); }
.qty span {
  min-width: 22px;
  text-align: center;
  font-family: var(--ff-mono);
  font-size: 13px;
}
.cart-drawer__foot {
  padding: 20px;
  border-top: 1px solid var(--line);
  background: var(--bone);
}
.cart-drawer__totals {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}
.cart-drawer__totals .label-row { font-size: 13px; color: var(--ink-mute); }
.cart-drawer__total-num {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: 32px;
  letter-spacing: -0.02em;
}

/* ════════════════════════════════════════════════════════════════════════════
   ITEM DETAIL (item.html)
   ════════════════════════════════════════════════════════════════════════════ */
.page-item { padding-bottom: 80px; }
.item-back {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 20px 0;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .2s ease;
}
.back-link:hover { color: var(--rust); }

.item-detail {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
}
@media (min-width: 960px) {
  .item-detail { grid-template-columns: 1.05fr 1fr; gap: var(--s-8); align-items: start; }
}
.item-detail__media {
  border-radius: var(--r-4);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bone-deep);
  box-shadow: var(--shadow-card);
}
.item-detail__media img { width: 100%; height: 100%; object-fit: cover; }

.item-detail__body {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  padding-top: 10px;
}
.item-detail__cat {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.item-detail__cat::before {
  content: "";
  width: 24px; height: 1px; background: var(--rust);
}
.item-detail__name {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 20;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin: 4px 0;
}
.item-detail__name em {
  font-style: italic;
  color: var(--rust);
  font-weight: 300;
}
.item-detail__desc {
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 50ch;
}
.item-detail__pricerow {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin-top: var(--s-3);
}
.item-detail__pricenum {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.item-detail__pricenum .ct {
  font-size: 22px;
  color: var(--ink-mute);
  vertical-align: super;
  margin-left: 4px;
}
.item-detail__actions {
  display: flex;
  gap: var(--s-3);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}

.detail-upsell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px 0;
}
.detail-upsell__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.detail-upsell__head h2 {
  margin: 0;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  letter-spacing: -0.025em;
}
.detail-upsell__head h2 em {
  font-style: italic; color: var(--rust); font-weight: 300;
}
.detail-upsell__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--s-5);
}

/* ════════════════════════════════════════════════════════════════════════════
   ADMIN (admin.html)
   ════════════════════════════════════════════════════════════════════════════ */
.page-admin {
  background: var(--paper);
  min-height: 100vh;
  padding-bottom: 60px;
}
.admin-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-4);
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.admin-header h1 {
  margin: 0;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(34px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1;
}
.admin-header h1 em { font-style: italic; color: var(--rust); font-weight: 300; }
.admin-header__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Plattform-Admin: Restaurant-Switcher */
.admin-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 10px;
  margin-right: 4px;
  border-right: 1px solid var(--ink-soft);
}
.admin-switcher select {
  font: inherit;
  font-size: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--ink-soft);
  background: var(--paper);
  color: var(--ink);
  max-width: 220px;
  cursor: pointer;
}
.admin-switcher select:focus { outline: 2px solid var(--rust-deep); outline-offset: 1px; }
.admin-switcher #set-demo-btn { white-space: nowrap; }
@media (max-width: 720px) {
  .admin-switcher {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--ink-soft);
    padding-right: 0;
    padding-bottom: 10px;
    margin: 0 0 4px;
  }
  .admin-switcher select { flex: 1 1 auto; max-width: none; }
}

.admin-toolbar {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-search {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bone);
  width: min(360px, 100%);
}
.admin-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 14px;
}
.admin-table-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 24px;
  overflow-x: auto;
}
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  min-width: 800px;
}
.admin-table thead th {
  text-align: left;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}
.admin-table tbody td {
  padding: 14px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: middle;
}
.admin-table tbody tr:hover { background: var(--bone); }
.admin-table__img {
  width: 56px; height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bone-deep);
}
.admin-table__img img { width: 100%; height: 100%; object-fit: cover; }
.admin-table__name {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 16px;
}
.admin-table__price {
  font-family: var(--ff-mono);
  font-weight: 500;
}
.admin-table__desc {
  color: var(--ink-mute);
  font-size: 12.5px;
  margin-top: 2px;
}
.admin-table__meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.08em;
}
.admin-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
}
.admin-toggle input { accent-color: var(--rust); }
.admin-cat-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bone);
  border: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.admin-actions { display: flex; gap: 6px; justify-content: flex-end; }
.admin-actions button {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 500;
  background: transparent;
  transition: background .2s ease, color .2s ease;
}
.admin-actions button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.admin-actions .danger:hover { background: var(--rust); border-color: var(--rust); }
.admin-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Admin · Mobile-Layout ─────────────────────────────────────────────── */
@media (max-width: 760px) {
  /* Header */
  .admin-header {
    padding: 18px 16px 14px;
    gap: 10px;
    flex-direction: column;
    align-items: stretch;
  }
  .admin-header h1 { font-size: 36px; }
  .admin-header__actions { gap: 8px; }
  .admin-header__actions .btn {
    padding: 9px 14px;
    font-size: 13px;
    flex: 1 1 auto;
    justify-content: center;
  }
  .admin-header__actions .btn--rust {
    flex: 1 1 100%;
    order: 99;
  }

  /* Toolbar */
  .admin-toolbar {
    padding: 14px 16px 0;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
  }
  .admin-search { width: 100%; }
  #count-label { font-size: 10px; text-align: right; }

  /* Tabelle → Card-Liste */
  .admin-table-wrap {
    padding: 14px 16px 24px;
    overflow-x: visible;
  }
  .admin-table {
    display: block;
    min-width: 0;
    font-size: 13.5px;
    border-collapse: separate;
  }
  .admin-table thead { display: none; }
  .admin-table tbody, .admin-table tr { display: block; }

  .admin-table tr {
    background: var(--bone);
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 12px;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 14px;
    row-gap: 0;
  }
  .admin-table tbody tr:hover { background: var(--bone); }
  .admin-table tbody td {
    padding: 0;
    border-bottom: none;
    display: block;
  }

  /* Kopfbereich der Karte: Bild links, Name rechts */
  .admin-table td[data-col="img"] {
    grid-column: 1; grid-row: 1;
  }
  .admin-table td[data-col="img"] .admin-table__img {
    width: 64px; height: 64px;
    border-radius: 12px;
  }
  .admin-table td[data-col="name"] {
    grid-column: 2; grid-row: 1;
    align-self: center;
    min-width: 0;
  }
  .admin-table__name { font-size: 17px; line-height: 1.2; }
  .admin-table__desc {
    font-size: 12.5px;
    margin-top: 4px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Meta- und Toggle-Zeilen spannen volle Breite */
  .admin-table td[data-col="cat"],
  .admin-table td[data-col="price"],
  .admin-table td[data-col="allergens"],
  .admin-table td[data-col="avail"],
  .admin-table td[data-col="daily"],
  .admin-table td[data-col="actions"] {
    grid-column: 1 / -1;
    padding: 10px 0 0;
    margin-top: 10px;
    border-top: 1px dashed var(--line-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* Label-Spalte links via data-label */
  .admin-table td[data-col="cat"]::before,
  .admin-table td[data-col="price"]::before,
  .admin-table td[data-col="allergens"]::before,
  .admin-table td[data-col="avail"]::before,
  .admin-table td[data-col="daily"]::before {
    content: attr(data-label);
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-mute);
    flex-shrink: 0;
  }

  /* Erste Trenner-Zeile bekommt mehr Luft */
  .admin-table td[data-col="cat"] { margin-top: 14px; }

  /* Actions-Zeile: keine Label, volle Breite */
  .admin-table td[data-col="actions"] {
    padding-top: 12px;
    margin-top: 12px;
  }
  .admin-table td[data-col="actions"] .admin-actions {
    width: 100%;
    justify-content: stretch;
  }
  .admin-table td[data-col="actions"] .admin-actions button {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }

  /* Modale: weniger Padding auf Mobile */
  .modal { padding: 10px; }
  .modal__panel { padding: 20px; border-radius: 16px; }
  .modal__title { font-size: 24px; margin-bottom: 14px; }
  .field-row { grid-template-columns: 1fr; }
  .inline-tools { grid-template-columns: 1fr; }
  .inline-tools--end { flex-direction: column; align-items: stretch; }
  .danger-zone {
    flex-direction: column;
    align-items: stretch;
  }
  .danger-zone .btn { width: 100%; }
  .upsell-multi { max-height: 140px; }
}

/* Admin modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.is-open { display: flex; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(26,20,14,0.45);
}
.modal__panel {
  position: relative;
  background: var(--paper);
  border-radius: var(--r-4);
  padding: 28px;
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-pop);
  max-height: 90vh;
  overflow: auto;
}
.modal__panel--compact {
  max-width: 440px;
}
.modal__title {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}
.modal__title em { color: var(--rust); font-style: italic; font-weight: 300; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field textarea, .field select {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bone);
  outline: none;
  font-size: 14px;
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--ink);
  background: var(--paper);
}
.field textarea { resize: vertical; min-height: 80px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-row .field { margin-bottom: 0; }
.inline-tools {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.inline-tools--end {
  display: flex;
  justify-content: flex-end;
  margin: 8px 0 10px;
}
.inline-tools input {
  min-width: 0;
}
.btn.btn--sm {
  padding: 8px 12px;
  font-size: 12px;
}
.modal__foot {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}
.tag-editor__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bone);
  min-height: 48px;
}
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 12px;
}
.tag-chip:hover {
  border-color: var(--rust);
  color: var(--rust-deep);
}
.settings-note {
  margin: 0 0 10px;
  color: var(--ink-mute);
  font-size: 13px;
  line-height: 1.45;
}
.qr-status {
  min-height: 20px;
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.qr-status--loading { color: var(--ink-soft); }
.qr-status--success { color: #1f7a43; }
.qr-status--error { color: #a13f26; }
.qr-downloads {
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bone);
}
.qr-downloads[hidden] { display: none; }
.qr-downloads p {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--ink-mute);
}
.qr-downloads__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.upsell-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bone);
  max-height: 160px;
  overflow: auto;
}
.upsell-multi label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--line);
  font-size: 12px;
  font-family: var(--ff-body);
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
  transition: all .15s ease;
}
.upsell-multi label:has(input:checked) {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.upsell-multi input { accent-color: var(--rust); }

/* ── Toast ─────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
  box-shadow: var(--shadow-pop);
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Empty / loading ───────────────────────────────────────────────────── */
.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-mute);
}
.empty-state__hint { font-style: italic; }

/* ── Footer (small, on landing) ────────────────────────────────────────── */
.foot {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ── Responsiveness fine-tuning ────────────────────────────────────────── */
@media (max-width: 600px) {
  .app-header__inner { padding: 10px 16px; gap: 8px; }
  .brand__mark { font-size: 24px; }
  .table-chip { padding: 5px 10px; font-size: 10px; gap: 6px; }
  .icon-btn { width: 38px; height: 38px; }
  .menu-hero { padding: 18px 18px 6px; }
  .menu-layout { padding: 12px 12px 48px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__media { aspect-ratio: 4 / 2.8; }
  .card__body { padding: 10px 10px 12px; gap: 6px; }
  .card__name { font-size: 16px; }
  .card__desc {
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .card__allergens { display: none; }
  .card__cat { font-size: 9px; letter-spacing: 0.12em; }
  .card__add { width: 34px; height: 34px; }
  .categories { padding: 10px 0; }
  .cat-chip { padding: 7px 12px; font-size: 10.5px; }
  .landing__grid { padding: 18px 18px 40px; gap: var(--s-5); }
  .landing__meta { grid-template-columns: 1fr; gap: 18px; }
  .landing__plate { width: 70vw; max-width: 360px; margin-inline: auto; justify-self: center; }
  .lang-switch { padding: 4px 6px; }
  .lang-switch .label { display: none; }
  .lang-select { font-size: 11px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   FEATURES: Tageskarte · Allergene · Settings · Foto-Upload
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Menu-Hero: Daily-Text ─────────────────────────────────────────────── */
.menu-hero__daily {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  max-width: 720px;
  font-size: 17px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.menu-hero__daily .label { color: var(--rust); }
.menu-hero__daily-name {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 96, "SOFT" 60;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--ink);
}
.menu-hero__daily-desc { color: var(--ink-soft); }

/* ── Mobile Tageskarte-Tab ─────────────────────────────────────────────── */
.cat-chip--daily {
  border-color: var(--rust);
  color: var(--rust);
  position: relative;
}
.cat-chip--daily::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rust);
  margin-right: 2px;
}
.cat-chip--daily.is-active {
  background: var(--rust);
  color: var(--paper);
  border-color: var(--rust);
}
.cat-chip--daily.is-active::before { background: var(--paper); }
@media (min-width: 1024px) {
  .cat-chip--daily { display: none; }
}

/* ── Sidebar: Daily-Sektion (Desktop, oberhalb Upsell) ─────────────────── */
.daily-section {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.daily-section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 0 0 4px;
}
.daily-section__title {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 96, "SOFT" 60;
  font-style: italic;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
.daily-section__sub {
  color: var(--ink-mute);
  font-size: 13px;
  margin: 0 0 14px;
}
.daily-section__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.daily-section .upsell__empty {
  padding: 12px 0 0;
}
@media (max-width: 1023px) {
  .daily-section { display: none; }
}

/* ── Allergene ─────────────────────────────────────────────────────────── */
.card__allergens {
  margin: 6px 0 0;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  line-height: 1.4;
}
.card__allergens-lead {
  color: var(--olive);
  font-weight: 600;
  margin-right: 6px;
}
.item-detail__allergens {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: var(--s-3) 0;
}
.item-detail__allergens .label { color: var(--olive); }
.item-detail__allergens-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.allergen-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bone);
  border: 1px solid var(--line-soft);
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── Settings-Modal ────────────────────────────────────────────────────── */
.modal__panel--wide {
  max-width: 760px;
}
.settings-section {
  margin-bottom: 22px;
}
.settings-section h3 {
  margin: 0 0 12px;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 72, "SOFT" 40;
  font-size: 20px;
  letter-spacing: -0.015em;
}
.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(180,66,28,.42);
  border-radius: 12px;
  background: rgba(180,66,28,.08);
}
.danger-zone h3 { color: var(--rust-deep); }
.danger-zone p {
  margin: 0;
  max-width: 520px;
  color: var(--ink-mute);
  font-size: 13.5px;
}
.danger-zone .btn { flex: 0 0 auto; }

/* Ausklappbare „Erweiterte Einstellungen" (#23) */
.settings-advanced {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 18px;
  background: var(--bone);
}
.settings-advanced > summary {
  cursor: pointer;
  list-style: none;
  padding: 14px 16px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.settings-advanced > summary::-webkit-details-marker { display: none; }
.settings-advanced > summary::after {
  content: "▾";
  transition: transform .2s ease;
}
.settings-advanced[open] > summary::after { transform: rotate(180deg); }
.settings-advanced > summary:hover { color: var(--ink); }
.settings-advanced .settings-section { padding: 0 16px; }
.settings-advanced .settings-section:last-child { padding-bottom: 16px; }
.section-admin-tools {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.section-admin-tools .field:last-child { margin-bottom: 0; }

.team-manage {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  padding: 12px;
}
.team-manage__invite {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.team-manage__invite input,
.team-manage__invite select {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bone);
  font-size: 13px;
}
.team-manage__lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
}
.team-list-block h4 {
  margin: 0 0 8px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.team-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: 8px;
  background: var(--bone);
}
.team-row__identity {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.team-row__email {
  font-size: 13px;
  color: var(--ink);
  word-break: break-word;
}
.team-row__meta {
  font-size: 11px;
  color: var(--ink-mute);
}
.team-row__role {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-size: 12px;
}
.team-row__actions {
  display: inline-flex;
  gap: 6px;
}
.team-row__empty {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-mute);
}

@media (max-width: 760px) {
  .team-manage__invite { grid-template-columns: 1fr; }
  .team-manage__lists { grid-template-columns: 1fr; }
  .team-row { grid-template-columns: 1fr; }
  .team-row__actions { justify-content: flex-start; }
}

/* Großer Auf/Zu-Schalter (Bestellannahme) */
.openclose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}
.openclose__text h3 { margin: 0 0 2px; }
.openclose__text p { margin: 0; font-size: 13px; color: var(--ink-mute); }
.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch__track {
  position: relative;
  width: 56px;
  height: 30px;
  border-radius: 999px;
  background: var(--ink-mute);
  transition: background .2s ease;
  flex: 0 0 auto;
}
.switch__thumb {
  position: absolute;
  top: 3px; left: 3px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s ease;
}
.switch input:checked + .switch__track { background: var(--olive); }
.switch input:checked + .switch__track .switch__thumb { transform: translateX(26px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--rust); outline-offset: 2px; }
.switch__state { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); min-width: 84px; }
.openclose.is-closed { border-color: rgba(180,66,28,.42); background: rgba(180,66,28,.06); }
.hours-grid {
  display: grid;
  gap: 8px;
}
.hours-row {
  display: grid;
  grid-template-columns: 56px auto auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line-soft);
  border-radius: 12px;
  background: var(--bone);
}
.hours-row__day {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hours-row__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  cursor: pointer;
}
.hours-row__toggle input { accent-color: var(--rust); }
.hours-row__slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}
.hours-row__slot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}
.hours-row__slot input[type="time"] {
  border: none;
  background: transparent;
  font-family: var(--ff-mono);
  font-size: 12px;
  width: 70px;
  outline: none;
}
.hours-row__slot .sep { color: var(--ink-mute); }
.hours-row.is-closed .hours-row__slots,
.hours-row.is-closed .hours-row__toggle--break {
  opacity: 0.4;
  pointer-events: none;
}
@media (max-width: 640px) {
  .hours-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .hours-row__slots { justify-content: flex-start; }
}

/* ── Foto-Upload (Admin Edit-Modal) ────────────────────────────────────── */
.image-uploader {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: var(--bone);
}
.image-uploader__preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: var(--bone-deep);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mute);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.image-uploader__preview img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.image-uploader__controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.image-uploader__file {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 12.5px;
  cursor: pointer;
  transition: background .2s ease;
}
.image-uploader__file:hover { background: var(--bone-deep); }
.image-uploader__file input { display: none; }
.image-uploader__hint {
  color: var(--ink-mute);
  font-size: 11.5px;
}

/* Staggered card reveal */
.menu-grid .card:nth-child(1) { animation-delay: 0ms; }
.menu-grid .card:nth-child(2) { animation-delay: 50ms; }
.menu-grid .card:nth-child(3) { animation-delay: 100ms; }
.menu-grid .card:nth-child(4) { animation-delay: 150ms; }
.menu-grid .card:nth-child(5) { animation-delay: 200ms; }
.menu-grid .card:nth-child(6) { animation-delay: 250ms; }
.menu-grid .card:nth-child(n+7) { animation-delay: 300ms; }

/* ════════════════════════════════════════════════════════════════════════════
   MULTI-TENANT FEATURES: Notizen · Kellner · Küche (KDS) · Embed
   ════════════════════════════════════════════════════════════════════════════ */

/* ── Status-Chip: Tisch-State ──────────────────────────────────────────── */
.status-chip[data-state="table"]::before { background: var(--rust); }

/* ── Warenkorb-Notizen ─────────────────────────────────────────────────── */
.cart-row__main { min-width: 0; }
.cart-row__note {
  margin: 4px 0 0;
  font-style: italic;
  font-size: 13px;
  color: var(--rust-deep);
}
.cart-row__note-btn {
  margin-top: 6px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 2px 0;
  transition: color .2s ease;
}
.cart-row__note-btn:hover { color: var(--rust); }
.cart-row__note-edit {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.cart-row__note-edit input {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bone);
  font-size: 13px;
  outline: none;
}
.cart-row__note-edit input:focus { border-color: var(--ink); background: var(--paper); }
.cart-row__note-save {
  padding: 7px 12px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
}
.cart-row__note-save:hover { background: var(--rust); }
.cart-drawer__hint {
  margin: 10px 0 0;
  font-size: 12.5px;
  color: var(--ink-mute);
  text-align: center;
}
.btn.is-disabled, .btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Kellner: Tisch-Auswahl ────────────────────────────────────────────── */
.page-waiter .menu-layout { grid-template-columns: 1fr; }
.waiter-tablepick {
  max-width: 560px;
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
}
.waiter-tablepick__title {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-size: clamp(40px, 8vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}
.waiter-tablepick__title em { font-style: italic; color: var(--rust); font-weight: 300; }
.waiter-tablepick__sub { color: var(--ink-mute); margin: 10px 0 28px; }
.waiter-tablepick__form {
  display: flex;
  gap: 10px;
  max-width: 360px;
  margin: 0 auto 28px;
}
.waiter-tablepick__form input {
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 18px;
  font-family: var(--ff-mono);
  text-align: center;
  outline: none;
}
.waiter-tablepick__form input:focus { border-color: var(--ink); }
.waiter-tablepick__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 360px;
  margin: 0 auto;
}
.table-quick__btn {
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  transition: all .15s ease;
}
.table-quick__btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

/* ── Kitchen Display System ────────────────────────────────────────────── */
.page-kitchen {
  background: #14100B;
  color: #F2ECDF;
  min-height: 100vh;
}
.kds-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: #1A140E;
  border-bottom: 1px solid #2E2519;
}
.kds-header__brand { display: inline-flex; align-items: center; gap: 16px; }
.kds-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9DB07E;                          /* Küchen-Akzent (hell auf dunkel) */
  background: rgba(157,176,126,.14);
  border: 1px solid rgba(157,176,126,.4);
}
.kds-tag svg { width: 14px; height: 14px; }
.kds-header .brand__mark { color: #F2ECDF; font-size: 24px; }
.kds-header .brand__mark em { color: var(--gold); }
.kds-clock {
  font-family: var(--ff-mono);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #9C8E78;
}
.kds-sound {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid #3A2F20;
  border-radius: 999px;
  color: #F2ECDF;
  font-size: 13px;
  font-weight: 600;
}
.kds-sound.is-muted { opacity: 0.5; }
.kds-sound:hover { background: #221B12; }
.kds-header__actions { display: inline-flex; align-items: center; gap: 10px; }
.kds-nav { display: inline-flex; align-items: center; gap: 8px; }
.kds-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid #3A2F20; border-radius: 999px; color: #F2ECDF;
  transition: background .2s ease;
}
.kds-nav a:hover { background: #221B12; }
.kds-nav a[data-acc="service"] { color: #7FA8C4; }
.kds-nav a[data-acc="kitchen"] { color: #9DB07E; }
.page-kitchen .lang-switch {
  background: #221B12;
  border-color: #3A2F20;
}
.page-kitchen .lang-switch .label { color: #9C8E78; }
.page-kitchen .lang-select { color: #F2ECDF; }

#waiter-push {
  width: auto;
  height: 38px;
  border-radius: 999px;
  padding: 0 10px;
  border: 1px solid var(--line);
  background: var(--paper);
  gap: 6px;
}
#waiter-push span {
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#waiter-push[data-state="on"] {
  border-color: var(--olive);
  color: var(--olive);
}

.kds-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #2E2519;
  min-height: calc(100vh - 57px);
}
.kds-col { background: #14100B; display: flex; flex-direction: column; }
.kds-col__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9C8E78;
  border-bottom: 1px solid #2E2519;
  position: sticky;
  top: 57px;
  background: #14100B;
}
.kds-col[data-col="placed"] .kds-col__head { color: #E8A04A; }
.kds-col[data-col="served"] .kds-col__head { color: #8DA862; }
.kds-col__count {
  min-width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #2E2519; border-radius: 999px;
  font-size: 11px; color: #F2ECDF;
}
.kds-col__list {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}
.kds-empty { color: #5C5240; text-align: center; padding: 20px 0; font-style: italic; }

.kds-card {
  background: #1E1810;
  border: 1px solid #3A2F20;
  border-radius: 14px;
  padding: 14px;
  position: relative;
  animation: kdsIn .35s cubic-bezier(.2,.7,.2,1);
}
@keyframes kdsIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.kds-card.is-urgent {
  border-color: #B4421C;
  box-shadow: 0 0 0 1px rgba(180,66,28,0.4);
  animation: kdsIn .35s cubic-bezier(.2,.7,.2,1), kdsPulse 2s ease-in-out infinite;
}
@keyframes kdsPulse {
  0%, 100% { box-shadow: 0 0 0 1px rgba(180,66,28,0.4); }
  50%      { box-shadow: 0 0 0 3px rgba(180,66,28,0.25); }
}
.kds-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}
.kds-card__table {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 600;
  color: #F2ECDF;
}
.kds-card__time { font-family: var(--ff-mono); font-size: 12px; color: #9C8E78; }
.kds-card.is-urgent .kds-card__time { color: #E8A04A; }
.kds-card__items { display: flex; flex-direction: column; gap: 6px; margin: 0 0 10px; }
.kds-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: baseline;
  font-size: 15px;
}
.kds-item__qty { font-family: var(--ff-mono); font-weight: 600; color: var(--gold); }
.kds-item__name { color: #F2ECDF; }
.kds-item__note {
  grid-column: 2;
  font-style: italic;
  color: #E8A04A;
  font-size: 13.5px;
}
.kds-card__allergens {
  margin: 0 0 10px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #E07B5A;
}
.kds-card__source {
  display: inline-block;
  margin-bottom: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #2E2519;
  font-family: var(--ff-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9C8E78;
}
.kds-card__advance {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: var(--gold);
  color: #14100B;
  font-weight: 700;
  font-size: 14px;
  transition: background .2s ease, transform .1s ease;
}
.kds-card__advance:hover { background: #C89A3C; }
.kds-card__advance:active { transform: scale(0.98); }

@media (max-width: 760px) {
  .kds-board { grid-template-columns: 1fr; }
  .kds-col__head { position: static; }
}

/* ── Embed-Layout ──────────────────────────────────────────────────────── */
.page-embed { background: transparent; }
.embed-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(239, 231, 214, 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.embed-categories { position: static; flex: 1; padding: 0; background: none; }
.embed-categories .categories__inner { padding: 0; }
.embed-cart { flex-shrink: 0; }
.page-embed .menu-layout { padding-top: 16px; }
.page-embed .upsell { top: 64px; }

/* ── Login-Seite ───────────────────────────────────────────────────────── */
.page-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.login-card {
  width: 100%;
  max-width: 400px;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-4);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.login-brand {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 500;
  font-size: 30px;
  letter-spacing: -0.04em;
  display: inline-block;
  margin-bottom: 18px;
}
.login-brand em { font-style: italic; color: var(--rust); font-weight: 300; margin-left: 4px; }
.login-title {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: 28px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.login-sub { color: var(--ink-mute); font-size: 14px; margin: 0 0 28px; line-height: 1.5; }
.login-email { display: flex; flex-direction: column; gap: 10px; text-align: left; margin-bottom: 18px; }
.login-email__label { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-mute); }
.login-email input {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease;
}
.login-email input:focus { border-color: var(--rust); }
.login-btn--primary { background: var(--rust); color: var(--paper); border-color: var(--rust); }
.login-btn--primary:hover { background: var(--rust-deep); border-color: var(--rust-deep); }
.login-btn--primary:disabled { opacity: 0.6; cursor: default; }
.login-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--ink-mute); font-size: 12px; }
.login-divider::before, .login-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.login-actions { display: flex; flex-direction: column; gap: 10px; }
.login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bone);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s ease, border-color .2s ease;
}
.login-btn:hover { background: var(--bone-deep); border-color: var(--ink-soft); }
.login-btn--apple { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.login-btn--apple:hover { background: #000; }
.login-foot { margin: 20px 0 0; font-size: 13px; color: var(--ink-mute); }
.login-foot a { color: var(--rust); font-weight: 600; }

/* ════════════════════════════════════════════════════════════════════════════
   BETRIEBS-AUSBAU: In-Cart-Upsell · Checkout · Floor · Session · KDS v2 · Log · Stats
   ════════════════════════════════════════════════════════════════════════════ */

/* ── In-Cart-Upsell ────────────────────────────────────────────────────── */
.cart-upsell {
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  background: var(--bone);
}
.cart-upsell__label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cart-upsell__item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.cart-upsell__img { width: 36px; height: 36px; border-radius: 8px; overflow: hidden; background: var(--bone-deep); flex-shrink: 0; }
.cart-upsell__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-upsell__name { font-family: var(--ff-display); font-weight: 500; font-size: 15px; flex: 1; }
.cart-upsell__price { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-mute); }
.cart-upsell__add {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--rust); color: var(--paper);
  font-size: 18px; line-height: 1; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.cart-upsell__add:hover { background: var(--rust-deep); }

/* ── Checkout-Overlay ──────────────────────────────────────────────────── */
.checkout { position: fixed; inset: 0; z-index: 120; }
.checkout__scrim { position: absolute; inset: 0; background: rgba(26,20,14,0.45); opacity: 0; transition: opacity .3s ease; }
.checkout__panel {
  position: absolute; left: 50%; bottom: 0; transform: translate(-50%, 100%);
  width: min(480px, 100%); max-height: 92vh; overflow: auto;
  background: var(--paper); border-radius: 22px 22px 0 0;
  display: flex; flex-direction: column; transition: transform .35s cubic-bezier(.2,.7,.2,1);
  box-shadow: var(--shadow-pop);
}
.checkout.is-open .checkout__scrim { opacity: 1; }
.checkout.is-open .checkout__panel { transform: translate(-50%, 0); }
@media (min-width: 560px) {
  .checkout__panel { bottom: auto; top: 50%; transform: translate(-50%, -45%) scale(.96); border-radius: var(--r-4); opacity: 0; }
  .checkout.is-open .checkout__panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}
.checkout__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 8px; }
.checkout__title { margin: 0; font-family: var(--ff-display); font-variation-settings: "opsz" 96, "SOFT" 40; font-size: 28px; letter-spacing: -0.02em; }
.checkout__title em { font-style: italic; color: var(--rust); font-weight: 300; }
.checkout__body { padding: 8px 20px; }
.checkout__type { display: flex; gap: 8px; margin-bottom: 16px; }
.checkout__type-btn {
  flex: 1; padding: 12px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bone); font-weight: 600; font-size: 14px; transition: all .2s ease;
}
.checkout__type-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.checkout__foot { padding: 16px 20px 24px; border-top: 1px solid var(--line); background: var(--bone); }
.checkout__summary { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.checkout__fee { margin: -6px 0 12px; font-size: 12.5px; color: var(--ink-mute); }
.checkout__secure { margin: 10px 0 0; text-align: center; font-size: 12px; color: var(--ink-mute); }

/* ── Confirm-Seite ─────────────────────────────────────────────────────── */
.confirm-check { color: var(--olive); margin: 4px 0 8px; }
.confirm-detail { margin: 8px 0 20px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.confirm-detail p { margin: 4px 0; }
.confirm-items { margin: 10px 0 0; padding-left: 18px; text-align: left; }
.confirm-items li { margin: 3px 0; }
.confirm-paid { color: var(--olive); font-weight: 600; font-family: var(--ff-mono); font-size: 12px; }

/* ── Waiter: Floor-Grid ────────────────────────────────────────────────── */
.waiter-floor { max-width: 1100px; margin: 0 auto; padding: 24px 20px 60px; }
.waiter-floor__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.waiter-floor__title { margin: 0; font-family: var(--ff-display); font-variation-settings: "opsz" 144, "SOFT" 30; font-size: clamp(36px, 6vw, 56px); letter-spacing: -0.035em; }
.waiter-floor__pick { display: flex; gap: 8px; }
.waiter-floor__pick input { width: 130px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-family: var(--ff-mono); text-align: center; outline: none; }
.waiter-floor__pick input:focus { border-color: var(--ink); }
.floor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.floor-tile {
  aspect-ratio: 1; border: 1px solid var(--line); border-radius: 16px; background: var(--paper);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  transition: transform .15s ease, border-color .2s ease, box-shadow .2s ease;
}
.floor-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.floor-tile__nr { font-family: var(--ff-display); font-size: 32px; font-weight: 500; letter-spacing: -0.03em; }
.floor-tile__state { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); }
.floor-tile.is-occupied { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.floor-tile.is-occupied .floor-tile__dur { font-family: var(--ff-mono); font-size: 12px; color: var(--gold); }
.floor-tile.is-occupied .floor-tile__meta { font-size: 10.5px; color: rgba(247,241,227,0.7); }
.floor-tile.is-long { background: var(--rust-deep); border-color: var(--rust); }

/* ── Waiter: Tisch-Sitzung ─────────────────────────────────────────────── */
.waiter-session { max-width: 760px; margin: 0 auto; padding: 20px 20px 140px; }
.session-head { margin-bottom: 18px; }
.session-title { margin: 8px 0 2px; font-family: var(--ff-display); font-variation-settings: "opsz" 144, "SOFT" 30; font-size: clamp(34px, 6vw, 52px); letter-spacing: -0.035em; }
.session-since { margin: 0; font-family: var(--ff-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--rust); }
.session-orders { display: flex; flex-direction: column; gap: 12px; }
.session-empty { color: var(--ink-mute); font-style: italic; padding: 30px 0; text-align: center; }
.session-order { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 14px; padding: 14px 16px; }
.session-order__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.session-order__badge { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; background: var(--bone); border: 1px solid var(--line); }
.session-order__badge[data-status="confirmed"] { color: var(--gold); }
.session-order__badge[data-status="ready"] { color: var(--olive); }
.session-order__time { font-family: var(--ff-mono); font-size: 12px; color: var(--ink-mute); }
.session-order__items { margin: 0 0 10px; padding: 0; list-style: none; font-size: 14.5px; line-height: 1.5; }
.session-order__items em { color: var(--rust-deep); font-style: italic; }
.session-order__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); padding-top: 10px; }
.session-order__sum { font-family: var(--ff-mono); font-weight: 500; }
.session-order__btns { display: flex; gap: 6px; }
.session-order__btns button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: 12px; font-weight: 500; background: transparent; }
.session-order__btns button:hover:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.session-order__btns button:disabled { opacity: .4; cursor: not-allowed; }
.session-order__btns .danger:hover { background: var(--rust); border-color: var(--rust); }
.session-foot {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--bone); border-top: 1px solid var(--line);
  padding: 14px 20px; box-shadow: 0 -8px 24px -16px rgba(26,20,14,0.4);
}
.session-bill { max-width: 760px; margin: 0 auto 10px; display: flex; align-items: baseline; justify-content: space-between; }
.session-actions { max-width: 760px; margin: 0 auto; display: flex; gap: 10px; }
.session-actions .btn { flex: 1; }

/* ── KDS v2: Typ-Badge, Notizen, Timer, Alarm ──────────────────────────── */
.kds-type { font-family: var(--ff-display); font-size: 19px; font-weight: 600; }
.kds-type--table { color: #F2ECDF; }
.kds-type--pickup { color: #E8A04A; }
.kds-type--delivery { color: #7FB0E0; }
.kds-card__src-tag { font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: #9C8E78; border: 1px solid #3A2F20; padding: 2px 7px; border-radius: 999px; }
.kds-card__ordernote {
  background: #5A1E10; color: #FFE3D6; border: 1px solid #B4421C;
  border-radius: 8px; padding: 8px 10px; margin-bottom: 10px;
  font-weight: 700; font-size: 13.5px;
}
.kds-card__cust { margin: 0 0 10px; font-size: 13px; color: #C9BBA4; }
.kds-item { padding: 4px 0; }
.kds-item__row { display: flex; gap: 8px; align-items: baseline; }
.kds-item__note {
  margin-top: 4px; margin-left: 26px;
  background: #4A3a12; color: #FFD98A; border-left: 3px solid var(--gold);
  padding: 5px 8px; border-radius: 4px; font-weight: 600; font-size: 13.5px;
}
.kds-card__timers { display: flex; gap: 8px; margin: 10px 0; }
.kds-timer { font-family: var(--ff-mono); font-size: 12px; padding: 3px 8px; border-radius: 6px; background: #2E2519; color: #C9BBA4; }
.kds-timer--phase { color: #E8C77A; }
.kds-card.is-warn { border-color: #E8A04A; }
.kds-card.is-warn .kds-timer--phase { background: #4A3A12; color: #FFD98A; }
.kds-card.is-urgent {
  border-color: #B4421C;
  animation: kdsPulse 1.4s ease-in-out infinite;
}
.kds-card.is-urgent .kds-timer--phase { background: #B4421C; color: #fff; }
@keyframes kdsPulse {
  0%,100% { box-shadow: 0 0 0 1px rgba(180,66,28,0.5); }
  50%     { box-shadow: 0 0 0 4px rgba(180,66,28,0.3); }
}

/* ── Tages-Log ─────────────────────────────────────────────────────────── */
.log-list { max-width: 900px; margin: 0 auto; padding: 16px 20px 60px; display: flex; flex-direction: column; gap: 10px; }
.log-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 16px; }
.log-card.is-cancelled { opacity: 0.55; }
.log-card__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.log-card__type { font-family: var(--ff-display); font-weight: 600; font-size: 16px; }
.log-card__id { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-mute); }
.log-card__status { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--bone); border: 1px solid var(--line); }
.log-card__status[data-status="cancelled"] { color: var(--rust); }
.log-card__status[data-status="completed"] { color: var(--olive); }
.log-card__pay { font-family: var(--ff-mono); font-size: 11px; color: var(--ink-mute); }
.log-card__total { margin-left: auto; font-family: var(--ff-mono); font-weight: 600; }
.log-card__cust { margin: 8px 0 0; font-size: 13px; color: var(--ink-soft); }
.log-card__items { margin: 8px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.log-card__items em { color: var(--rust-deep); font-style: italic; }
.log-card__foot { margin-top: 8px; font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--ink-mute); text-transform: uppercase; }

/* ── Admin: Tagesstatistik ─────────────────────────────────────────────── */
.stats-panel {
  max-width: 1280px; margin: 0 auto; padding: 20px 24px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.stat-card { background: var(--bone); border: 1px solid var(--line-soft); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.stat-card__num { font-family: var(--ff-display); font-variation-settings: "opsz" 96, "SOFT" 30; font-size: 32px; letter-spacing: -0.03em; line-height: 1; }
.stat-card__label { font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.stat-card--top { gap: 8px; }
.stat-top { margin: 0; padding: 0; list-style: none; counter-reset: t; }
.stat-top li { display: flex; justify-content: space-between; font-size: 13px; padding: 2px 0; }
.stat-top__empty { color: var(--ink-mute); font-style: italic; }
@media (max-width: 760px) {
  .stats-panel { grid-template-columns: 1fr 1fr; padding: 16px 16px 0; }
  .stat-card--top { grid-column: 1 / -1; }
}

/* Brand als Button (waiter floor-nav) */
.brand--btn { background: none; border: none; cursor: pointer; padding: 0; }

/* ════════════════════════════════════════════════════════════════════════════
   ABO / PLAN-GATING (Free vs Pro) — UI ist Kosmetik, Server erzwingt die Grenze
   ════════════════════════════════════════════════════════════════════════════ */
/* Gäste-Karte im Free-Plan: Bestell-/Warenkorb-Bedienelemente ausblenden */
.plan-free #cart-toggle,
.plan-free .card__add,
.plan-free #cart-submit,
.plan-free #add-to-cart { display: none !important; }

/* Plan-Banner (Admin) */
.plan-banner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  padding: 12px 28px; font-size: 14px;
  border-bottom: 1px solid var(--line);
}
.plan-banner--trial { background: rgba(181,134,46,0.12); color: var(--ink); }
.plan-banner--free  { background: rgba(180,66,28,0.10); color: var(--ink); }
.plan-banner__txt { line-height: 1.4; }
.plan-banner .btn { padding: 8px 16px; font-size: 13px; }

/* Gesperrte Pro-Navigation im Admin */
.admin-header__actions a.is-locked { opacity: 0.5; filter: grayscale(0.6); cursor: not-allowed; }
.lock-pill {
  font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.08em;
  padding: 2px 6px; border-radius: 999px; background: var(--ink); color: var(--paper);
  text-transform: uppercase; margin-left: 2px;
}
.is-locked-panel { position: relative; opacity: 0.55; filter: grayscale(0.5); pointer-events: none; }
.is-locked-panel::after {
  content: "Pro"; position: absolute; top: 10px; right: 14px;
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.1em;
  background: var(--ink); color: var(--paper); padding: 3px 8px; border-radius: 999px;
}

/* Upgrade-Screen (Pro-only Seiten im Free-Plan, vom admin-guard gerendert) */
.upgrade-screen {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--bone);
}
.upgrade-card {
  max-width: 460px; text-align: center; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-4); padding: 40px 32px;
  box-shadow: var(--shadow-card);
}
.upgrade-card .label { color: var(--rust); }
.upgrade-card h1 {
  font-family: var(--ff-display); font-weight: 400; font-size: 32px;
  letter-spacing: -0.02em; margin: 10px 0 12px;
}
.upgrade-card h1 em { font-style: italic; color: var(--rust); }
.upgrade-card p { color: var(--ink-mute); font-size: 15px; line-height: 1.55; margin: 0 0 24px; }
.upgrade-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════════════════
   ONBOARDING-WIZARD (onboarding.html)
   ════════════════════════════════════════════════════════════════════════════ */
.onb-page { min-height: 100vh; background: var(--bone); }
.onb-shell { max-width: 640px; margin: 0 auto; padding: 24px 20px 64px; }
.onb-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.onb-head .brand__mark { font-size: 22px; }
.onb-head .brand__mark em { font-style: italic; color: var(--rust); font-weight: 300; }
.onb-later { font-size: 13px; color: var(--ink-mute); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.onb-later:hover { color: var(--ink); border-color: var(--rust); }

.onb-steps {
  display: flex; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none;
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--ink-mute);
  flex-wrap: wrap;
}
.onb-steps li { display: inline-flex; align-items: center; gap: 6px; opacity: 0.5; }
.onb-steps li span {
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: var(--bone-deep); color: var(--ink-soft); font-size: 11px;
}
.onb-steps li.is-active { opacity: 1; color: var(--ink); }
.onb-steps li.is-active span { background: var(--rust); color: var(--paper); }
.onb-steps li.is-done { opacity: 0.85; }
.onb-steps li.is-done span { background: var(--olive); color: var(--paper); }

.onb-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-4);
  padding: clamp(24px, 5vw, 40px); box-shadow: var(--shadow-card);
}
.onb-title { font-family: var(--ff-display); font-weight: 400; font-size: clamp(28px, 6vw, 40px); letter-spacing: -0.025em; line-height: 1; margin: 8px 0 6px; }
.onb-title em { font-style: italic; color: var(--rust); }
.onb-sub { color: var(--ink-mute); margin: 0 0 24px; font-size: 15px; line-height: 1.5; }
.onb-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onb-err { color: var(--rust-deep); font-size: 13px; margin: 4px 0 0; }
.onb-note { color: var(--olive); font-size: 13px; margin: 12px 0 0; }

.onb-actions { display: flex; align-items: center; justify-content: flex-end; gap: 16px; margin-top: 28px; }
.onb-skip { margin-right: auto; color: var(--ink-mute); font-size: 14px; cursor: pointer; border-bottom: 1px solid transparent; }
.onb-skip:hover { color: var(--ink); border-color: var(--line); }

/* Karten-Kacheln */
.onb-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.onb-tile {
  position: relative; text-align: left; display: flex; flex-direction: column; gap: 2px;
  padding: 16px; border: 1px solid var(--line); border-radius: var(--r-3); background: var(--bone);
  cursor: pointer; transition: border-color .2s, background .2s, transform .1s;
}
.onb-tile:hover { border-color: var(--rust); background: var(--paper); }
.onb-tile:active { transform: scale(0.99); }
.onb-tile.is-done { border-color: var(--olive); }
.onb-tile__ico { font-size: 22px; }
.onb-tile b { font-size: 14px; }
.onb-tile i { font-style: normal; font-size: 12px; color: var(--ink-mute); }
.onb-tile.is-soon { opacity: 0.6; cursor: not-allowed; pointer-events: none; }
.onb-tile__badge {
  position: absolute; top: 10px; right: 10px; font-family: var(--ff-mono); font-size: 9px;
  letter-spacing: 0.1em; text-transform: uppercase; background: var(--gold); color: var(--paper);
  padding: 2px 7px; border-radius: 999px;
}

/* Team-Einladungen */
.onb-invites { display: flex; flex-direction: column; gap: 10px; }
.onb-invite-row { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; align-items: center; }
.onb-invite-row input, .onb-invite-row select {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-size: 14px; outline: none;
}
.onb-invite-row input:focus, .onb-invite-row select:focus { border-color: var(--rust); }
.onb-inv-del { width: 38px; height: 38px; border-radius: 10px; background: var(--bone-deep); color: var(--ink-soft); font-size: 18px; line-height: 1; }
.onb-inv-del:hover { background: var(--rust); color: var(--paper); }
.onb-addrow { margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--rust); }

/* Fertig */
.onb-done { display: flex; align-items: center; gap: 14px; background: rgba(74,89,56,0.10); border-radius: var(--r-3); padding: 16px 18px; }
.onb-done__check { width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--olive); color: var(--paper); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; }
.onb-done p { margin: 0; font-size: 14px; color: var(--ink-soft); }

@media (max-width: 520px) {
  .onb-tiles { grid-template-columns: 1fr; }
  .onb-form .field-row { grid-template-columns: 1fr; }
  .onb-steps li:not(.is-active) span { font-size: 10px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   LANDING v2 — La Carta Produkt-/Login-Seite (index.html)
   ════════════════════════════════════════════════════════════════════════════ */
.page-landing .brand__mark em { font-style: italic; color: var(--rust); font-weight: 300; }

/* Top-Nav */
.lc-nav { display: inline-flex; align-items: center; gap: 18px; }
.lc-nav__link {
  font-family: var(--ff-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--ink-mute);
  border-bottom: 1px solid transparent; padding-bottom: 2px; transition: color .2s, border-color .2s;
}
.lc-nav__link:hover { color: var(--ink); border-color: var(--rust); }
.lc-nav__login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 13px; font-weight: 600; transition: background .2s, transform .15s;
}
.lc-nav__login:hover { background: var(--rust-deep); }
.lc-nav__login:active { transform: scale(0.97); }

/* Hero-Copy: gestaffelte Einblendung */
.lc-hero-copy > * { animation: lc-rise .8s cubic-bezier(.2,.7,.2,1) both; }
.lc-hero-copy > *:nth-child(1) { animation-delay: .04s; }
.lc-hero-copy > *:nth-child(2) { animation-delay: .12s; }
.lc-hero-copy > *:nth-child(3) { animation-delay: .20s; }
.lc-hero-copy > *:nth-child(4) { animation-delay: .28s; }
.lc-hero-copy > *:nth-child(5) { animation-delay: .36s; }
.lc-hero-copy > *:nth-child(6) { animation-delay: .44s; }
@keyframes lc-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lc-hero-note { margin: 18px 0 0; font-size: 13px; color: var(--ink-mute); }
.lc-hero-note strong { color: var(--ink-soft); font-weight: 700; }
.lc-proof {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.lc-proof span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247,241,227,0.58);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Phone-Mockup */
.lc-device {
  justify-self: end; align-self: center; margin: 0;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  animation: lc-rise 1s cubic-bezier(.2,.7,.2,1) .2s both;
}
.lc-device__frame {
  position: relative; width: clamp(248px, 30vw, 320px); aspect-ratio: 9 / 18.5;
  background: var(--ink); border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-pop), inset 0 0 0 2px rgba(255,255,255,0.06);
  transform: rotate(2.5deg);
}
.lc-device__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 86px; height: 18px; background: var(--ink); border-radius: 0 0 14px 14px; z-index: 2;
}
.lc-device__screen {
  height: 100%; background: var(--bone); border-radius: 30px; overflow: hidden;
  padding: 28px 14px 14px; display: flex; flex-direction: column; gap: 9px;
}
.lc-mini-head { display: flex; align-items: center; justify-content: space-between; }
.lc-mini-brand { font-family: var(--ff-display); font-size: 16px; letter-spacing: -0.02em; }
.lc-mini-brand em { font-style: italic; color: var(--rust); }
.lc-mini-chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--ff-mono); font-size: 9px; letter-spacing: 0.08em;
  padding: 4px 9px; border-radius: 999px; background: var(--olive); color: #F2ECDF;
}
.lc-mini-chip::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #B7D08A; }
.lc-mini-cats {
  display: flex; gap: 6px; margin: 2px 0 4px; overflow: hidden;
}
.lc-mini-cats span {
  font-size: 9px; font-weight: 600; padding: 4px 9px; border-radius: 999px;
  background: var(--paper); color: var(--ink-mute); white-space: nowrap;
}
.lc-mini-cats .is-active { background: var(--ink); color: var(--paper); }
.lc-mini-row {
  display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 8px;
  background: var(--paper); border-radius: 12px; padding: 8px 10px;
  box-shadow: 0 1px 0 rgba(26,20,14,0.05);
}
.lc-mini-thumb {
  width: 30px; height: 30px; border-radius: 8px; background: var(--bone-deep);
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}
.lc-mini-thumb::after { content: attr(data-emo); }
.lc-mini-info { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.lc-mini-info b { font-size: 11px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-mini-info i { font-style: normal; font-size: 8.5px; color: var(--ink-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-mini-price { font-family: var(--ff-mono); font-size: 11px; font-weight: 600; }
.lc-mini-bar {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  background: var(--rust); color: var(--paper); border-radius: 12px; padding: 10px 12px;
}
.lc-mini-bar span { font-size: 9.5px; opacity: 0.9; }
.lc-mini-bar b { font-size: 11px; font-weight: 700; }
.lc-device__cap {
  font-family: var(--ff-mono); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-mute);
}

/* Feature-Karten */
.lc-features {
  margin-top: auto; padding-top: var(--s-6); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5);
}
.lc-feature__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 13px; margin-bottom: 14px;
  background: rgba(180,66,28,0.10); color: var(--rust);
}
.lc-feature__ico[data-acc="kitchen"] { background: rgba(74,89,56,0.12); color: var(--kitchen); }
.lc-feature__ico[data-acc="service"] { background: rgba(60,90,112,0.10); color: var(--service); }
.lc-feature h3 {
  margin: 0 0 6px; font-family: var(--ff-display); font-weight: 500;
  font-size: 21px; letter-spacing: -0.02em;
}
.lc-feature p { margin: 0; color: var(--ink-mute); font-size: 14px; line-height: 1.55; max-width: 34ch; }

/* Trial / Pricing */
.lc-pricing {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 34px 0;
  display: grid;
  gap: var(--s-5);
  align-items: center;
}
.lc-pricing__copy { max-width: 650px; }
.lc-pricing__copy h2 {
  margin: 8px 0 10px;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 96, "SOFT" 40;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.lc-pricing__copy h2 em { font-style: italic; color: var(--rust); font-weight: 300; }
.lc-pricing__copy p { margin: 0; max-width: 56ch; color: var(--ink-soft); font-size: 15px; line-height: 1.6; }
.lc-pricing__tiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-4);
}
.lc-pricing__tiers p {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.lc-pricing__tiers strong {
  display: block;
  font-family: var(--ff-display);
  font-size: 24px;
  line-height: 1;
  margin-bottom: 8px;
}
.lc-pricing__tiers span {
  display: block;
  color: var(--ink-mute);
  font-size: 14px;
  line-height: 1.45;
}

/* Login-Band */
.lc-band {
  margin-top: var(--s-6);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
  flex-wrap: wrap;
  background: var(--ink); color: var(--paper);
  border-radius: var(--r-4); padding: clamp(28px, 5vw, 48px);
  position: relative; overflow: hidden;
}
.lc-band::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(180,66,28,0.45), transparent 70%); pointer-events: none;
}
.lc-band__copy { position: relative; z-index: 1; max-width: 560px; }
.lc-band__copy .label { color: var(--gold); }
.lc-band__title {
  font-family: var(--ff-display); font-weight: 400;
  font-size: clamp(30px, 5vw, 48px); line-height: 1; letter-spacing: -0.03em; margin: 8px 0 12px;
}
.lc-band__title em { font-style: italic; color: var(--rust); }
.lc-band__copy p { margin: 0; color: rgba(242,236,223,0.78); font-size: 15px; line-height: 1.55; }
.btn--paper { background: var(--paper); color: var(--ink); position: relative; z-index: 1; }
.btn--paper:hover { background: #fff; }
.lc-foot-link { color: var(--ink-soft); border-bottom: 1px solid var(--line); }
.lc-foot-link:hover { color: var(--rust); border-color: var(--rust); }

@media (min-width: 880px) {
  .page-landing .landing__hero { grid-template-columns: 1.15fr 0.85fr; }
  .lc-pricing { grid-template-columns: 1.1fr 0.9fr; }
}
@media (max-width: 879px) {
  .lc-device { order: -1; justify-self: center; }
  .lc-features { grid-template-columns: 1fr; gap: var(--s-4); }
  .lc-pricing__tiers { grid-template-columns: 1fr; }
  .lc-nav__link { display: none; }
}
@media (max-width: 560px) {
  /* Phone-Mockup auf Smartphones deutlich kleiner */
  .lc-device__frame { width: 150px; border-radius: 24px; padding: 7px; }
  .lc-device__screen { border-radius: 18px; padding: 19px 8px 8px; gap: 6px; }
  .lc-device__notch { width: 56px; height: 12px; }
  .lc-device { gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-hero-copy > *, .lc-device { animation: none; }
}

/* ── App-Lade-Overlay (#12) ─────────────────────────────────────────────── */
#app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bone);
  transition: opacity .35s ease;
}
.page-admin #app-loader { background: var(--paper); }
.page-kitchen #app-loader { background: #14100B; }
#app-loader.is-hidden { opacity: 0; pointer-events: none; }
.app-loader__spin {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid rgba(180,66,28,.18);
  border-top-color: var(--rust);
  animation: app-loader-spin .8s linear infinite;
}
.page-kitchen .app-loader__spin {
  border: 3px solid rgba(242,236,223,.18);
  border-top-color: var(--gold);
}
@keyframes app-loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .app-loader__spin { animation-duration: 1.6s; }
}
