/* ============================================
   BUI VIEN MINIMAL THEME
   Hell, beige, grün, clean
   ============================================ */

:root {
  --bg-page: #f4f0e4;
  --bg-card: #fdfaf1;
  --bg-soft: #f8f3e7;

  --text-main: #2d2a24;
  --text-muted: #7a7267;

  --green: #2f5b3f;
  --green-soft: #4f7a57;
  --border-soft: #d9cfb8;

  --cta: #b5492e;      /* Reservieren-Style */
  --cta-soft: #c85a3c;

  --radius-pill: 999px;
  --radius-card: 18px;
  --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* ============================================
   GLOBAL
   ============================================ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  padding-top: 70px; /* Platz für Sticky Header */
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  color: var(--green-soft);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout Wrapper */

.site-content,
.admin-content {
  padding: 16px;
  max-width: 1180px;
  margin: 0 auto;
}

/* ============================================
   HEADER (Frontend & Admin)
   ============================================ */

.site-header,
.admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 20px;
  background: #fefaf2;
  border-bottom: 1px solid var(--border-soft);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* optional Logo (falls vorhanden) */
.logo {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

/* Navigation */

.main-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
}

.main-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: #315d3f;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 8px;
  transition: all 0.18s ease;
}

.main-nav a:hover {
  background: #e4ecdd;
  color: #1f382b;
  transform: translateY(-1px);
}

/* Warenkorb Badge */

#cart-count {
  background: #a23a28;
  color: #ffffff;
  padding: 2px 7px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-left: 4px;
}

/* Header mobile */

@media (max-width: 640px) {
  .site-header {
    padding: 10px 12px;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 1rem;
    padding: 3px 8px;
  }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn-primary,
.btn-add-to-cart {
  display: inline-block;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green);
  background: #ffffff;
  color: var(--green);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.92rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.btn-primary:hover,
.btn-add-to-cart:hover {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-add-to-cart:active {
  transform: translateY(1px);
  box-shadow: none;
}

/* Outline-Button (Home / Menuselection) */

.btn-outline {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid #315d3f;
  background: transparent;
  color: #315d3f;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-outline:hover {
  background: #315d3f;
  color: #ffffff;
}

/* Starker CTA (z.B. Reservieren) */

.btn-reserve {
  display: inline-block;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  border: none;
  background: var(--cta);
  color: #ffffff !important;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.08s ease;
}

.btn-reserve:hover {
  background: var(--cta-soft);
  transform: translateY(-1px);
}

/* ============================================
   MENÜ / SPEISEKARTE
   ============================================ */

.menu {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 0 40px;
}

.menu-title {
  font-size: 1.9rem;
  margin-bottom: 4px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

.menu-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.menu-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Kategorie-Blöcke */

.menu-section {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 12px 12px 6px;
  box-shadow: var(--shadow-soft);
}

.menu-section-title {
  font-size: 1.05rem;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-main);
}

.menu-section-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Eintrag einzelnes Gericht */

.menu-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #ebdfc9;
}

.menu-section-body .menu-item:last-child {
  border-bottom: none;
}

.menu-item-main {
  flex: 1;
  min-width: 0;
}

.menu-item-header {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}

.menu-item-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 650;
  color: var(--text-main);
}

.menu-item-price {
  font-weight: 600;
  white-space: nowrap;
  color: var(--green);
}

/* Beschreibung & Meta */

.menu-item-description {
  margin: 4px 0 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.menu-item-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Badges */

.menu-item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-muted);
}

.badge-vegan {
  border-color: #4caf50;
  color: #2e7d32;
}

.badge-vegetarian {
  border-color: #8bc34a;
  color: #558b2f;
}

.badge-spicy {
  border-color: #e57373;
  color: #b71c1c;
}

.badge-alcohol {
  border-color: #ffb300;
  color: #e65100;
}

/* Allergene-Zeile */

.menu-item-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--text-muted);
}

.menu-item-allergens-label {
  font-weight: 500;
}

.menu-item-allergens-values {
  font-family: monospace;
  font-size: 0.8rem;
}

/* Button-Spalte rechts */

.menu-item-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 110px;
}

.menu-item-actions .btn-primary {
  width: 100%;
  font-size: 0.85rem;
  padding: 6px 10px;
}

/* Mobile Menü */

@media (max-width: 640px) {
  .menu-section {
    padding: 10px 10px 6px;
  }

  .menu-item {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-item-actions {
    min-width: 0;
    display: flex;
    justify-content: center;
    margin-top: 6px;
  }

  .menu-item-actions .btn-primary {
    align-self: center;
  }
}

/* Mobile Buttons etwas schmaler, mittig */

@media (max-width: 640px) {
  .menu-item-actions button,
  .menu-item-actions .btn-primary,
  .menu-item-actions .btn-add-to-cart,
  .btn-add-to-cart {
    width: auto;
    min-width: 180px;
    max-width: 220px;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    border: 2px solid var(--green);
    background: #ffffff;
    color: var(--green);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    margin: 0 auto;
  }
}

/* ============================================
   FORM / INPUTS / CHECKOUT-FORM
   ============================================ */

.checkout-form form label,
.admin-login form label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-main);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-main);
  margin-top: 4px;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-soft);
  box-shadow: 0 0 0 2px rgba(79, 122, 87, 0.2);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  color: var(--text-main);
}

/* ============================================
   CHECKOUT PAGE LAYOUT
   ============================================ */

.checkout {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 0 60px;
}

.checkout > h1 {
  font-size: 2rem;
  margin: 0 0 24px;
}

/* Standard (Mobile): alles untereinander */
.checkout-cart,
.checkout-form {
  margin-bottom: 24px;
}

/* Desktop: 2 Spalten – links Formular, rechts Warenkorb */
@media (min-width: 900px) {
  .checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
    column-gap: 32px;
    row-gap: 24px;
  }

  /* Überschrift über beide Spalten */
  .checkout > h1 {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  /* Linke Spalte: Kontaktdaten */
  .checkout-form {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin-bottom: 0;
  }

  /* Rechte Spalte: Warenkorb */
  .checkout-cart {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    margin-bottom: 0;
    align-self: flex-start;
  }
}

/* ============================================
   ITEM MODAL
   ============================================ */

.item-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;              /* JS setzt auf flex */
  align-items: flex-start;
  justify-content: center;
  z-index: 1000;
  padding: 16px 8px;
}

.item-modal {
  background: #ffffff;
  max-width: 520px;
  width: 80vw;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  padding: 18px 18px 14px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  border: 1px solid var(--border-soft);
}

.item-modal-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 24px;
  color: var(--text-muted);
  cursor: pointer;
}

.item-modal-description {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.item-modal-allergens {
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: var(--text-muted);
}

.item-modal-qty-row,
.item-modal-notes-row {
  margin-bottom: 12px;
}

.item-modal-qty-row input[type="number"] {
  width: 80px;
}

.item-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.item-modal-price {
  font-weight: 600;
  color: var(--green);
}

.item-modal-footer .btn-primary {
  padding: 10px 20px;
}

/* OPTION-GROUP */

.option-group {
  margin-bottom: 18px;
}

.option-group-title {
  font-weight: 600;
  margin-bottom: 4px;
  text-transform: capitalize;
}

/* OPTION ITEM */

.option-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 10px;
  margin: 6px 0;
  border-radius: 10px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
  border: 1px solid var(--border-soft);
}

.option-item:hover {
  background: #f0e5d3;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.option-item-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* RADIO / CHECKBOX */

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #b8aa96;
  outline: none;
  cursor: pointer;
  position: relative;
  background: #ffffff;
  transition: all 0.15s ease;
}

.option-item input[type="radio"]:checked,
.option-item input[type="checkbox"]:checked {
  border-color: var(--green);
}

.option-item input[type="radio"]:checked::after,
.option-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.option-item-name {
  font-size: 0.95rem;
}

.option-item-price {
  font-size: 0.9rem;
  color: var(--green);
  min-width: 60px;
  text-align: right;
}

.option-items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

/* Mobile Modal */

@media (max-width: 600px) {
  .item-modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .item-modal-footer .btn-primary {
    width: 100%;
  }

  .item-modal-price {
    text-align: left;
  }

  .item-modal-overlay {
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .item-modal {
    width: calc(100% - 24px);
    max-height: calc(100vh - 24px);
    padding: 14px 14px 10px;
  }

  .option-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .option-item {
    margin: 0;
  }
}

/* Select im Modal (Menge) */

.item-modal-qty-row select {
  width: 100px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.95rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%237a7267' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
}

.item-modal-qty-row select:hover {
  border-color: var(--green-soft);
}

/* ============================================
   CHECKOUT LINES / CART
   ============================================ */

.checkout-cart {
  background: #fdfaf1;
  border-radius: 18px;
  border: 1px solid #e1d7c2;
  padding: 16px 14px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.checkout-cart h2 {
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: #315d3f;
}

/* Liste */

.checkout-cart ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Jede Position */

.checkout-line {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-soft);
}

.checkout-line:last-child {
  border-bottom: none;
}

/* Kopfzeile: Name links, Betrag rechts */

.checkout-line-main {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.95rem;
}

.checkout-line-main strong {
  font-weight: 600;
  color: #242018;
}

/* Controls: Menge & Entfernen */

.checkout-line-controls {
  margin-top: 0.35rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

/* Menge-Kapsel */

.checkout-line-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  background: var(--bg-soft);
}

/* Plus/Minus Buttons */

.cart-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-main);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-qty-btn:hover {
  border-color: var(--green-soft);
}

/* Mengen-Input */

.cart-qty-input {
  width: 40px;
  text-align: center;
  border: none;
  background: transparent;
  color: var(--text-main);
  font-size: 0.9rem;
  outline: none;
}

.cart-qty-input::-webkit-outer-spin-button,
.cart-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cart-qty-input[type="number"] {
  -moz-appearance: textfield;
}

/* Entfernen-Link */

.cart-remove-btn {
  border: none;
  background: transparent;
  color: #c62828;
  font-size: 0.85rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 4px;
}

.cart-remove-btn:hover {
  color: #e53935;
}

/* Optionen unter Artikel */

.checkout-line .checkout-options {
  list-style: none;
  margin: 4px 0 0 0;
  padding: 0 0 0 4px;
  font-size: 0.86rem;
  color: #6c6b66;
}

.checkout-line .checkout-options li {
  padding: 1px 0;
}

/* Hinweis-Text */

.checkout-line small {
  display: block;
  margin-top: 3px;
  margin-left: 4px;
  font-size: 0.84rem;
  color: #a1887f;
  font-style: italic;
}

/* Zwischensumme */

.checkout-subtotal {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid #e6ddc9;
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  color: #242018;
}

.checkout-subtotal strong {
  font-weight: 700;
  color: #315d3f;
}

/* Checkout Mobile */

@media (max-width: 600px) {
  .checkout-cart {
    padding: 14px 12px 16px;
  }

  .checkout-line-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .checkout-line-main strong {
    max-width: 65%;
  }

  .checkout-line-controls {
    flex-direction: row;
    justify-content: space-between;
  }

  .checkout-subtotal {
    font-size: 0.96rem;
  }

  .checkout-line .checkout-options {
    font-size: 0.84rem;
  }

  .checkout-line small {
    font-size: 0.82rem;
  }
}

/* ============================================
   LEERER WARENKORB
   ============================================ */

.empty-cart-page {
  text-align: center;
  padding: 3rem 1rem;
}

.empty-cart-page h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.empty-cart-text {
  font-size: 1rem;
  opacity: 0.85;
  margin-bottom: 2rem;
}

.empty-cart-button {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: #ffffff;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green);
  color: var(--green);
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

.empty-cart-button:hover {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  transform: translateY(-1px);
}

/* ============================================
   PICKUP SELECT
   ============================================ */

#pickup_time-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-soft);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'><polyline points='20,50 70,100 120,50' stroke='%237a7267' stroke-width='20' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 12px;
  cursor: pointer;
}

#pickup_time-select:hover {
  border-color: var(--green-soft);
}

#pickup_time-select:focus {
  outline: none;
  border-color: var(--green-soft);
  box-shadow: 0 0 0 2px rgba(79, 122, 87, 0.2);
}

#pickup_time-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   ADMIN ORDERS TABLE
   ============================================ */
   
.allergen-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-top: 6px;
}

.allergen-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border-soft, #d9cfb8);
  border-radius: var(--radius-pill, 999px);
  background: var(--bg-soft, #f8f3e7);
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s ease;
}

.allergen-pill:hover {
  background: var(--green-soft, #4f7a57);
  color: white;
}

.allergen-pill input {
  transform: scale(1.1);
}


.admin-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: var(--bg-card);
  color: var(--text-main);
  font-size: 0.95rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.admin-orders-table th {
  background: #f0e6d3;
  padding: 8px;
  border-bottom: 1px solid var(--border-soft);
  font-weight: 600;
  text-align: left;
}

.admin-orders-table td {
  padding: 8px;
  border-bottom: 1px solid #ebdfc9;
}

.admin-orders-table tr:hover {
  background: #f7efe0;
}

/* Status Dropdown */

.status-dropdown {
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.9rem;
  cursor: pointer;
}

/* Farben im Dropdown-Menü */

.status-dropdown option[value="pending"] { background: #fff3cd; }
.status-dropdown option[value="accepted"] { background: #d1ecf1; }
.status-dropdown option[value="in_progress"] { background: #ffe5b5; }
.status-dropdown option[value="ready"] { background: #d4edda; }
.status-dropdown option[value="completed"] { background: #e2e3e5; }
.status-dropdown option[value="cancelled"] { background: #f8d7da; }

/* Payment Dropdown */

.payment-dropdown {
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-main);
  font-size: 0.9rem;
  cursor: pointer;
}

.payment-dropdown option[value="not_paid"] { background: #f8d7da; }
.payment-dropdown option[value="cash"]     { background: #d4edda; }
.payment-dropdown option[value="card"]     { background: #d1ecf1; }

/* Details-Button */

.details-btn {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  color: var(--text-main);
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.08s ease;
}

.details-btn:hover {
  background: #f0e6d3;
  border-color: var(--green-soft);
  transform: translateY(-1px);
}

/* Generisches button-Element (Admin) */

button {
  background: #ffffff;
  border-radius: var(--radius-pill);
  border: 1px solid var(--green);
  padding: 7px 14px;
  cursor: pointer;
  color: var(--green);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.08s ease;
}

button:hover {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}

/* Sound-Test-Button */

#new-order-sound + button {
  margin-top: 8px;
}

/* Mobile Admin */

@media (max-width: 600px) {
  .admin-orders-table {
    font-size: 0.85rem;
  }

  .status-dropdown,
  .payment-dropdown {
    width: 100%;
    font-size: 0.85rem;
  }

  .admin-orders-table td,
  .admin-orders-table th {
    padding: 6px;
  }
}

/* ============================================
   HOME PAGE – wie alte Website
   ============================================ */

.home-page {
  padding: 0;
}

/* Adressleiste oben */

.home-address-strip {
  margin: 0 calc(50% - 50vw);
  background: #315d3f;
  color: #ffffff;
  font-size: 0.9rem;
}

.home-address-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 6px 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* Top-Promos */

.home-top-promos {
  margin-top: 16px;
}

.home-top-promos-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-top-card {
  background: #fdfaf1;
  border-radius: 18px;
  border: 1px solid #d3cbb3;
  padding: 16px 18px 14px;
  text-align: center;
}

.home-top-card-emoji {
  font-size: 1.8rem;
  margin-bottom: 4px;
}

.home-top-card h2 {
  font-size: 1.2rem;
  margin: 4px 0 6px;
  color: #315d3f;
}

.home-top-card p {
  font-size: 0.95rem;
  color: #6f685d;
  margin-bottom: 10px;
}

/* Logo & Intro */

.home-logo-intro {
  text-align: center;
  padding: 32px 0 10px;
}

.home-logo-circle {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  margin: 0 auto 16px;
  overflow: hidden;
}

.home-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-logo-intro h1 {
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #315d3f;
  margin-bottom: 6px;
}

.home-intro-text {
  font-size: 0.95rem;
  color: #6f685d;
}

/* CTA Buttons */

.home-main-cta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.home-cta-btn {
  min-width: 130px;
  text-align: center;
}

/* Deals-Section (dunkelgrün) */

.home-deals-section {
  margin: 28px calc(50% - 50vw) 0;
  background: #505b49;
  color: #f4f0e4;
}

.home-deals-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.home-deal-card {
  text-align: center;
}

.home-deal-img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 14px;
}

.home-deal-card h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.home-deal-text {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

/* Öffnungszeiten + Foto */

.home-hours-section {
  padding: 32px 0 20px;
}

.home-hours-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: center;
}

.home-hours-text h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.home-hours-text h3 {
  margin-top: 18px;
  margin-bottom: 6px;
}

.home-hours-text p {
  font-size: 0.95rem;
  color: #3b352d;
}

.home-hours-image img {
  width: 100%;
  border-radius: 8px;
}

/* Galerie */

.home-gallery {
  padding: 10px 0 24px;
}

.home-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-gallery-grid img {
  border-radius: 4px;
  object-fit: cover;
}



/* Map */

.home-map {
  margin: 0 calc(50% - 50vw);
  background: #f4f0e4;
  padding: 10px 0 0;
}

.home-map-inner {
  max-width: 980px;
  margin: 0 auto;
}

/* Footer */

.site-footer {
  margin-top: 32px;
  background: #5b6552;
  color: #f4f0e4;
  padding: 18px 16px 22px;
}

.site-footer-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo-text {
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.footer-socials {
  margin-bottom: 10px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #f4f0e4;
  margin: 0 4px;
  font-size: 0.85rem;
  color: #f4f0e4;
}

.footer-socials a:hover {
  background: #f4f0e4;
  color: #5b6552;
}

.footer-links a {
  color: #f4f0e4;
  font-size: 0.85rem;
  margin: 0 6px;
  text-decoration: underline;
}

.footer-copy {
  margin-top: 6px;
  font-size: 0.8rem;
}

/* Home Responsive */

@media (max-width: 768px) {
  .home-address-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .home-top-promos-inner,
  .home-deals-inner,
  .home-hours-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .home-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .home-logo-circle {
    width: 140px;
    height: 140px;
  }

  .home-logo-intro h1 {
    font-size: 1.4rem;
  }

  .home-deal-text {
    font-size: 0.9rem;
  }
}

/* ============================================
   MENU SELECTION PAGE (PDF-Buttons)
   ============================================ */

.menu-selection {
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 16px;
  text-align: center;
}

.menu-selection-title {
  font-size: 1.8rem;
  color: #315d3f;
  margin-bottom: 10px;
}

.menu-selection-subtitle {
  color: #6f685d;
  margin-bottom: 24px;
}

.menu-selection-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.menu-pdf-btn {
  display: block;
  padding: 14px 20px;
  background: #fdfaf1;
  border: 2px solid #315d3f;
  border-radius: 16px;
  color: #315d3f;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: 0.15s ease all;
}

.menu-pdf-btn:hover {
  background: #315d3f;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 600px) {
  .menu-pdf-btn {
    font-size: 1rem;
  }
}

.checkout-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  font-size: 0.9rem;
  font-weight: 500;
  color: #eee;
  text-decoration: none;

  padding: 6px 14px;
  margin-bottom: 16px;

  border-radius: 999px;
  border: 1px solid #444;
  background: #151515;

  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.checkout-back-btn .arrow {
  font-size: 1.1rem;
  line-height: 1;
}

.checkout-back-btn:hover {
  background: #222;
  border-color: #555;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .checkout-back-btn {
    position: sticky;
    top: 0;
    z-index: 20;

    width: 100%;
    justify-content: flex-start;

    font-size: 1rem;
    padding: 10px 16px;
    margin-bottom: 18px;

    background: rgba(0, 0, 0, 0.9);
    border-color: #333;
    backdrop-filter: blur(4px);
  }

  .checkout-back-btn .arrow {
    font-size: 1.4rem;
  }
}


/* ============================================
   LANDING PAGES
   ============================================ */

.landing-page {
  padding-top: 24px;
  padding-bottom: 40px;
  margin-top:50px;
}

/* Hero-Box (Text + Bild) */
.landing-hero {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-soft);
  padding: 20px 18px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 22px;
}

/* Bild oben im Hero */
.landing-hero-image {
  margin-bottom: 16px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.landing-hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 260px;
}

/* Überschrift & Text im Hero */
.landing-hero h1 {
  font-size: 1.7rem;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--green);
}

.landing-hero p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 10px;
}

.landing-hero .btn-primary {
  margin-top: 8px;
}

/* Info-Block darunter (Adresse, extra Text etc.) */
.landing-info {
  margin-top: 10px;
}

.landing-info h2 {
  font-size: 1.2rem;
  margin-bottom: 6px;
  color: #315d3f;
}

.landing-info p {
  font-size: 0.95rem;
  color: #3b352d;
  line-height: 1.6;
}

/* Mobile Anpassungen */
@media (max-width: 600px) {
  .landing-page {
    margin-top:30px;
  }

  .landing-hero {
    padding: 16px 14px;
  }

  .landing-hero h1 {
    font-size: 1.4rem;
  }

  .landing-hero-image img {
    max-height: 220px;
  }
}

.admin-analytics-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  background: #1e1e1e;
  padding: 16px 20px;
  border-radius: 12px;
  min-width: 160px;
}

.stat-card h3 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #ccc;
}

.stat-number {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color:white;
}

.admin-analytics-section {
  margin-bottom: 32px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #333;
  vertical-align: top;
}

.admin-table th {
  text-align: left;
  background: #181818;
  color:white;
}

.admin-table session-details-table td{
  color:white
}

.session-detail-row {
  background: #111;
  color:white;
}

.session-details-table {
  font-size: 0.85rem;
}

.btn-session-toggle {
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #555;
  background: #222;
  color: #eee;
  cursor: pointer;
  font-size: 0.8rem;
}
.btn-session-toggle:hover {
  background: #333;
}

/* --- Journey Flow (User Journey pro Session) --- */
.journey-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  margin: 6px 0;
}

.journey-step {
  background: #222;
  color: #f0f0f0;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid #444;
}

.journey-arrow {
  font-size: 0.9rem;
  color: #aaa;
}

/* --- Heatmap für meistbesuchte Seiten --- */
.heatmap-row {
  position: relative;
}

.heatmap-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--heat-percent, 0%);
  background: linear-gradient(
    90deg,
    rgba(181, 73, 46, 0.7),
    rgba(181, 73, 46, 0.05)
  );
  opacity: 0.85;
  z-index: 0;
}

.heatmap-row > td {
  position: relative;
  z-index: 1;
}

.heatmap-legend {
  font-size: 0.8rem;
  color: #aaa;
  margin-top: 4px;
}

.analytics-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.analytics-filter label {
  font-size: 0.9rem;
  color: #ccc;
}

.analytics-filter select {
  background: #111;
  color: #fff;
  border-radius: 999px;
  border: 1px solid #444;
  padding: 4px 12px;
  font-size: 0.9rem;
}

.analytics-filter-label {
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 16px;
}

/* ============================================
   ADMIN – ITEMS MANAGEMENT
   ============================================ */

/* Layout: Links Liste, Rechts Formular */
.admin-items-layout {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.admin-items-list {
  flex: 2;
}

.admin-item-edit {
  flex: 1.2;
  background: #181818;
  padding: 20px;
  border-radius: 12px;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

/* Tabellen */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.admin-table th,
.admin-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #333;
  vertical-align: middle;
}

.admin-table th {
  background: #111;
  color: white;
  font-weight: 600;
  text-align: left;
}

/* Inline Inputs für Name, Preis */
.item-inline-input {
  width: 100%;
  padding: 4px 6px;
  font-size: 0.85rem;
  color: white;
  background: #222;
  border: 1px solid #333;
  border-radius: 6px;
}

.item-inline-input:focus {
  outline: none;
  border-color: #b5492e;
}

/* Kategorie Dropdown */
.item-category {
  width: 100%;
  padding: 4px 6px;
  background: #111;
  border: 1px solid #444;
  color: white;
  border-radius: 6px;
}

/* Toggle Switch (Active/Vegan/Spicy) */
.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 20px;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #444;
  border-radius: 20px;
  transition: .3s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background: white;
  border-radius: 50%;
  transition: .3s;
}

input:checked + .slider {
  background: #b5492e;
}

input:checked + .slider:before {
  transform: translateX(22px);
}

/* Button */
.btn-primary,
.btn-small {
  display: inline-block;
  background: #b5492e;
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
}

.btn-small {
  padding: 4px 10px;
}

.btn-primary:hover,
.btn-small:hover {
  background: #d75d42;
}

/* Alert-Boxes */
.admin-alert {
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.admin-alert-error {
  background: #562222;
  color: #ffb4b4;
}

.admin-alert-success {
  background: #224422;
  color: #b4ffc9;
}

/* Formular rechts */
.admin-form .form-row {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
}

.admin-form label {
  margin-bottom: 6px;
  color: #ccc;
  font-size: 0.85rem;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  padding: 8px 10px;
  background: #111;
  border: 1px solid #444;
  border-radius: 6px;
  color: white;
  font-size: 0.9rem;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  outline: none;
  border-color: #b5492e;
}

.form-row-inline {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-item-edit small {
  display: block;
  color: #777;
  font-size: 0.75rem;
  margin-top: 4px;
}

/* Mobile */
@media (max-width: 900px) {
  .admin-items-layout {
    flex-direction: column;
  }

  .admin-item-edit {
    position: relative;
    top: unset;
    max-height: unset;
  }
}

/* ============================================
   ADMIN LAYOUT – SIDEBAR + MAIN
   ============================================ */

.admin-wrapper {
  display: flex;
  min-height: 100vh;
  background: #111;
  color: #eee;
}

/* Sidebar links */
.admin-sidebar {
  width: 220px;
  background: #050505;
  border-right: 1px solid #222;
  display: flex;
  flex-direction: column;
  padding: 16px 12px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: 100vh;
}

.admin-sidebar-logo {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 20px;
  padding: 4px 8px;
  border-radius: 8px;
  background: #181818;
}

.admin-sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.admin-sidebar-footer {
  margin-top: 12px;
  border-top: 1px solid #222;
  padding-top: 10px;
}

/* Links im Sidebar */
.admin-sidebar .nav-link {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #ddd;
  text-decoration: none;
}

.admin-sidebar .nav-link:hover {
  background: #1e1e1e;
}

.admin-sidebar .nav-link.is-active {
  background: #b5492e;
  color: #fff;
}

.nav-link-quiet {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Rechte Seite */
.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* Header oben rechts */
.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #222;
  background: #000;
}

.admin-header-title {
  font-weight: 600;
}

.admin-header-actions {
  font-size: 0.85rem;
  color: #aaa;
}

/* Content-Bereich */
.admin-content {
  padding: 18px;
  overflow-x: auto;
}

/* Responsive: Sidebar oben statt links */
@media (max-width: 900px) {
  .admin-wrapper {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border-right: none;
    border-bottom: 1px solid #222;
    max-height: none;
  }

  .admin-sidebar-logo {
    margin-bottom: 0;
    margin-right: 10px;
  }

  .admin-sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  .admin-sidebar-footer {
    margin-top: 0;
    border-top: none;
    margin-left: auto;
    padding-top: 0;
  }

  .admin-main {
    width: 100%;
  }
}

.admin-item-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.admin-edit-close {
  background: transparent;
  border: none;
  color: #aaa;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.admin-edit-close:hover {
  color: #fff;
}
/* ============================================
   STICKY CART (Mobile)
   ============================================ */

/* ============================================
   STICKY CART – Modern Minimal (Mobile only)
   ============================================ */

.sticky-cart {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  background: var(--green); /* Dunkler Grünton */
  border-top: 2px solid rgba(0, 0, 0, 0.08);
  padding: 0; /* Keine Rundungen */
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease-in-out;
}

.sticky-cart-hidden {
  transform: translateY(100%);
}

.sticky-cart-button {
  width: 100%;
  max-width: 100%;
  border: none;
  padding: 14px 18px;
  background: transparent;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1rem;
  text-align: left;
}

.sticky-cart-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-right: 10px;
}

#sticky-cart-count {
  font-size: 0.82rem;
  opacity: 0.92;
  letter-spacing: 0.3px;
}

#sticky-cart-total {
  font-size: 1.04rem;
  font-weight: 700;
}

.sticky-cart-cta {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 🛒 Warenkorb Icon */
.sticky-cart-cta::after {
  content: "🛒";  /* → kann später SVG werden */
  font-size: 1.25rem;
}

/* Interaktion */
.sticky-cart-button:active {
  opacity: 0.85;
}

/* Desktop: ausblenden */
@media (min-width: 769px) {
  .sticky-cart {
    display: none !important;
  }
}










/* Nur auf kleineren Screens anzeigen */
@media (min-width: 769px) {
  .sticky-cart {
    display: none !important;
  }
}









/* ============================================
   MOBILE MENÜ – CARD STYLE wie gewünscht
   (alte Klassen bleiben, werden nur überschrieben)
   ============================================ */

@media (max-width: 640px) {

  /* Etwas App-Feeling & Platz nach unten für Sticky-Cart */
  .menu {
    padding: 16px 12px 80px;
    background: var(--bg-page);
  }

  .menu-title {
    font-size: 1.6rem;
    margin-bottom: 4px;
  }

  .menu-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
  }

  /* Kategorien lockerer */
  .menu-section {
    padding: 8px 6px 4px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .menu-section-title {
    padding: 0 4px;
    margin: 16px 0 8px;
    border-bottom: none;
  }

  .menu-section-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  /* ==== JEDES GERICHT ALS CARD ==== */

  .menu-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;

    padding: 14px 14px 16px;
    margin: 0 2px 10px;

    background: #ffffff;
    border-radius: 18px;
    border: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  }

  .menu-section-body .menu-item:last-child {
    margin-bottom: 0;
  }

  .menu-item-main {
    flex: 1;
    min-width: 0;
  }

  /* Name + Preis-Pill */
  .menu-item-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .menu-item-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
  }

  /* Preis als roter Pill-Button rechts oben */
  .menu-item-price {
    align-self: flex-start;
    margin-top: 4px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: var(--cta);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
  }

  /* Beschreibung soll komplette Zeile nutzen */
  .menu-item-description {
    display: block;
    width: 100%;
    margin: 6px 0 6px;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-main);
  }

  .menu-item-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .menu-item-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  .menu-item-allergens {
    color: var(--text-muted);
  }

  /* Button "In den Warenkorb" kompakt rechts */

  .menu-item-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 0;
  }

  .menu-item-actions .btn-add-to-cart,
  .menu-item-actions .btn-primary {
    width: auto;
    min-width: 120px;
    max-width: 140px;
    padding: 8px 10px;
    font-size: 0.8rem;
    margin: 0;
    border-radius: var(--radius-pill);
  }
  
  .sticky-cart {
  background: var(--green);              /* bleibt grün */
  font-family: inherit;
}

.sticky-cart-button {
  padding: 12px 18px;
}

.sticky-cart-info {
  gap: 2px;
}

#sticky-cart-count {
  font-size: 0.8rem;
  opacity: 0.9;
}

#sticky-cart-total {
  font-size: 1.02rem;
  font-weight: 700;
}

.sticky-cart-cta {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
}
















/* ============================================
   FIX: Mobile Menu – Preis ganz rechts
   ============================================ */
@media (max-width: 640px) {

  /* Header wieder als Reihe: Name links, Preis rechts */
  .menu-item-header {
    display: flex;
    flex-direction: row;          /* statt column */
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
  }

  .menu-item-name {
    flex: 1;                      /* nimmt die ganze Breite links */
  }

  .menu-item-price {
    margin-top: 0;
    margin-left: 12px;
    align-self: flex-start;
    margin-right: 0;
    /* schiebt den Preis wirklich ganz nach rechts */
    margin-right: auto;
  }
}







/* ============================================
   STICKY CART – an Menü-Design anpassen
   ============================================ */

@media (max-width: 768px) {
  .sticky-cart {
    left: 0;
    right: 0;
    bottom: 8px; /* etwas Abstand vom Rand */
    background: transparent;       /* keine grüne Leiste mehr */
    border-top: none;
    padding: 0 12px 8px;
    box-shadow: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  .sticky-cart-button {
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 16px;

    background: var(--bg-card);        /* wie Menü-Karten */
    color: var(--text-main);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);

    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
  }

  .sticky-cart-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-right: 10px;
  }

  #sticky-cart-count {
    font-size: 0.78rem;
    color: var(--text-muted);
  }

  #sticky-cart-total {
    font-size: 1rem;
    font-weight: 700;
    color: var(--green);              /* Preis in Grün wie im Menü */
  }

  .sticky-cart-cta {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .sticky-cart-cta::after {
    content: "🛒";
    font-size: 1.1rem;
  }
}






/* ============================================
   FULL WIDTH MENU CARDS
   ============================================ */
.menu-section-body {
  width: 100%;
}

.menu-item {
  width: 100%;
  flex: 1 1 100%;
}



@media (max-width: 640px) {
  .menu-item {
    margin-left: 0;
    margin-right: 0;
  }
}

/* FIX: Preis wirklich ganz rechts auf Mobile */
@media (max-width: 640px) {

  /* Karte nicht mehr 2-spaltig, sondern untereinander */
  .menu-item {
    display: block;           /* überschreibt display:flex */
  }

  /* Name links, Preis rechts */
  .menu-item-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
  }

  .menu-item-name {
    flex: 1;
  }

  .menu-item-price {
    margin-top: 0;
    margin-left: 12px;
    margin-right: 0;
    margin-left: auto;        /* schiebt den Pill ganz nach rechts */
  }

  /* +-Button kommt darunter, volle Breite links ausgerichtet */
  .menu-item-actions {
    margin-top: 12px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
  }
}



/* +-admin-allergen */

.allergen-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
  margin-top: 6px;
}

.allergen-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border-soft, #d9cfb8);
  border-radius: var(--radius-pill, 999px);
  background: var(--bg-soft, #f8f3e7);
  font-size: 13px;
  cursor: pointer;
  transition: 0.15s ease;
}

.allergen-pill:hover {
  background: var(--green-soft, #4f7a57);
  color: white;
}

.allergen-pill input {
  transform: scale(1.1);
}


/* ============================================
   ADMIN – RESERVIERUNGEN
   (speziell für /admin/reservations)
   ============================================ */

/* Filterleiste oben (Datum + Gestern / Heute / Morgen) */
.admin-filter-bar {
  background: #111;                 /* passt zur dunklen Admin-Optik */
  border-radius: 10px;
  border: 1px solid #222;
  padding: 10px 12px;
  margin-bottom: 16px;
}

.admin-filter-bar label {
  font-size: 0.85rem;
  color: #ccc;
}

.admin-filter-bar input[type="date"] {
  padding: 5px 8px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #181818;
  color: #eee;
  font-size: 0.9rem;
}

.admin-filter-bar input[type="date"]:focus {
  outline: none;
  border-color: #b5492e;
}

.admin-filter-bar .btn.btn-secondary {
  margin-top: 4px;
}

/* Reservierungs-Tabelle: feineres Styling,
   aber nur wenn zusätzliche Klasse gesetzt ist */
/* ============================================
   ADMIN – RESERVIERUNGEN (clean, flach)
   ============================================ */

.admin-filter-bar {
  background: #111;
  border-radius: 8px;
  border: 1px solid #222;
  padding: 8px 10px;
  margin-bottom: 14px;
}

.admin-filter-bar label {
  font-size: 0.85rem;
  color: #ccc;
}

.admin-filter-bar input[type="date"] {
  padding: 4px 8px;
  border-radius: 6px;
  border: 1px solid #333;
  background: #181818;
  color: #eee;
  font-size: 0.9rem;
}

.admin-filter-bar input[type="date"]:focus {
  outline: none;
  border-color: #b5492e;
}

/* Tabelle soll sich wie normale admin-table verhalten,
   nur minimal angepasst */
.admin-reservations-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.admin-reservations-table th,
.admin-reservations-table td {
  padding: 7px 10px;
  border-bottom: 1px solid #222;
}

.admin-reservations-table th {
  background: #181818;
  color: #eee;
  font-weight: 600;
  text-align: left;
}

.admin-reservations-table tbody tr:nth-child(even) {
  background: #111;
}

.admin-reservations-table tbody tr:nth-child(odd) {
  background: #080808;
}

/* Status-Dropdown schlicht, ohne bunte Optionen */
.reservation-status-select {
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #eee;
  font-size: 0.85rem;
  cursor: pointer;
}

.reservation-status-select:focus {
  outline: none;
  border-color: #b5492e;
}

/* Notiz-Spalte: kleinere Schrift, mehr Zeilenhöhe */
.admin-reservations-table td:last-child {
  font-size: 0.83rem;
  line-height: 1.4;
}




/* Mobile: etwas kompakter */
@media (max-width: 700px) {
  .admin-reservations-table th,
  .admin-reservations-table td {
    padding: 6px 6px;
    font-size: 0.8rem;
  }

  .admin-filter-bar {
    padding: 6px 8px;
  }
}

.fresh-blink {
  color: #ffb84d;
  font-size: 0.78rem;
  font-weight: 600;
  animation: blink 1.2s infinite;
}

@keyframes blink {
  50% { opacity: 0.3; }
}

.fresh-old {
  color: #777;
  font-size: 0.75rem;
}

/* Neuer grüner blinkender Punkt */
.new-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 50%;
  background: #31e84c;
  box-shadow: 0 0 6px #31e84c;
  animation: dotblink 1s infinite;
  vertical-align: middle;
}

@keyframes dotblink {
  50% { opacity: 0.2; }
}

/* Text bei neuen Buchungen */
.fresh-blink {
  color: #31e84c;
  font-size: 0.78rem;
  font-weight: 600;
  animation: textblink 1.4s infinite;
}

@keyframes textblink {
  50% { opacity: 0.4; }
}

.fresh-old {
  color: #999;
  font-size: 0.75rem;
}

.badge-google,
.badge-resmio,
.badge-phone,
.badge-default {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
}

/* Google Reserve */
.badge-google {
  background: #4285f4;
}

/* Resmio Standard */
.badge-resmio {
  background: #c85a3c; /* dein CTA-soft */
}

/* Telefonanrufe */
.badge-phone {
  background: #2f5b3f; /* dein green */
}

/* Fallback: unbekannt */
.badge-default {
  background: #7a7267; /* text-muted tone */
}

.reservation-notes {
  width: 100%;
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #eee;
  font-size: 0.85rem;
  resize: vertical;
}
.reservation-notes:focus {
  outline: none;
  border-color: #b5492e;
}

/* Personen-Zelle: klein, zentriert */
.reservation-persons-cell {
  text-align: center;
  width: 80px;
  white-space: nowrap;
}

.reservation-persons-select {
  min-width: 60px;
  padding: 2px 6px;
  font-size: 0.85rem;
}

/* Status-Zelle: kompaktes Dropdown am rechten Rand */
.reservation-status-cell {
  text-align: right;
  width: 130px;
  white-space: nowrap;
}

.reservation-status-select {
  min-width: 110px;
  padding: 2px 6px;
  font-size: 0.85rem;
}

/* Notiz-Zelle: textarea full width, dezente Ränder */
.reservation-notes-cell {
  min-width: 220px;
}

.reservation-notes {
  width: 100%;
  min-height: 40px;
  max-height: 70px;
  resize: vertical;
  padding: 4px 6px;
  font-size: 0.85rem;
  line-height: 1.3;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #eee;
}


/* Personen-Zelle */
.reservation-persons-cell {
  text-align: center;
  white-space: nowrap;
}

.reservation-persons-select {
  min-width: 60px;
  padding: 2px 6px;
  font-size: 0.85rem;
}

/* Notizen */
.reservation-notes-cell {
  min-width: 220px;
}

.reservation-notes {
  width: 100%;
  min-height: 40px;
  max-height: 70px;
  resize: vertical;
  padding: 4px 6px;
  font-size: 0.85rem;
  line-height: 1.3;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #eee;
}

/* Status-Zelle */
.reservation-status-cell {
  text-align: right;
  white-space: nowrap;
}

/* Grundstyle fürs Status-Dropdown */
.reservation-status-select {
  min-width: 120px;
  padding: 3px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff;
}



.status-no_show {
  background: #000000;   /* schwarz – No-Show */
}

/* Personen-Zelle */
.reservation-persons-cell {
  text-align: center;
  white-space: nowrap;
}

.reservation-persons-select {
  min-width: 60px;
  padding: 2px 6px;
  font-size: 0.85rem;
}

/* Notizen */
.reservation-notes-cell {
  min-width: 220px;
}

.reservation-notes {
  width: 100%;
  min-height: 40px;
  max-height: 70px;
  resize: vertical;
  padding: 4px 6px;
  font-size: 0.85rem;
  line-height: 1.3;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #eee;
}

/* Status-Zelle */
.reservation-status-cell {
  text-align: right;
  white-space: nowrap;
}

/* Grundstyle für Status-Dropdown */
.reservation-status-select {
  min-width: 130px;
  padding: 3px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #fff;              /* Text immer weiß */
}

/* Farben pro Status – Text immer gut lesbar */
.status-pending {
  background: #d48a1a;      /* warmes Orange */
  color: #fff !important;
}

.status-confirmed {
  background: #1a73e8;      /* Google-Blau */
  color: #fff !important;
}

.status-seated {
  background: #1f8b4c;      /* kräftiges Grün */
  color: #fff !important;
}

.status-completed {
  background: #555555;      /* Grau */
  color: #fff !important;
}

.status-cancelled {
  background: #b3261e;      /* Rot */
  color: #fff !important;
}

.status-no_show {
  background: #000000;      /* Schwarz */
  color: #fff !important;
}


.res-name-input {
  border: 1px solid #444;
  background: #111;
  color: #fff;
  border-radius: 6px;
  padding: 2px 6px;
  font-size: 0.9rem;
}

/* ============================================
   Mobile Reservations-Leiste
   ============================================ */

#mobile-reservation-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: var(--bg-card, #fdfaf1);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
}

#mobile-reservation-bar .mrb-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

#mobile-reservation-bar .mrb-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

#mobile-reservation-bar .mrb-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main, #2d2a24);
}

#mobile-reservation-bar .mrb-sub {
  font-size: 12px;
  color: var(--text-muted, #7a7267);
}

#mobile-reservation-bar .mrb-btn {
  border: none;
  outline: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 10px 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  background: var(--cta, #b5492e);
  color: #fff;
  box-shadow: var(--shadow-soft, 0 4px 12px rgba(0,0,0,0.1));
  white-space: nowrap;
}

#mobile-reservation-bar .mrb-btn:active {
  transform: translateY(1px);
  opacity: 0.95;
}

#mobile-reservation-bar .mrb-btn-icon {
  font-size: 16px;
}

/* Body etwas nach oben schieben, damit nichts verdeckt wird */
body.has-mobile-reservation-bar {
  padding-bottom: 70px;
}

/* Nur auf Mobile anzeigen */
@media (min-width: 901px) {
  #mobile-reservation-bar {
    display: none;
  }

  body.has-mobile-reservation-bar {
    padding-bottom: 0;
  }
}


.admin-area-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.admin-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;              /* "Quadrat mit soften Ecken" */
  background: #f3f3f3;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.admin-area-pill .admin-area-tab-link {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
}

.admin-area-pill.current {
  background: var(--green-soft, #4f7a57);
  border-color: var(--green, #2f5b3f);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

.admin-area-pill.current .admin-area-tab-link {
  color: #fff;
}

.admin-area-toggle-wrapper {
  margin-left: 0.25rem;
}

.toggle-switch.toggle-switch-sm {
  transform: scale(0.8);
  transform-origin: center;
}

.badge-table {
  display: inline-block;
  margin: 2px 0;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid #444;
  font-size: 0.75rem;
  background: #111;
  color: #eee;
}

.badge-table + .badge-table {
  margin-left: 4px;
}

.badge-table-primary {
  margin-left: 4px;
  font-size: 0.7rem;
}

/* ============================
   Tisch-Modal – neues Layout
   ============================ */

.table-modal-window {
  max-width: 700px;  /* Breite erhöht */
  width: 95%;
  margin: 60px auto;
  background: #111;
  color: #eee;
  border-radius: 10px;
  padding: 16px 18px 18px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.5);
}

.table-modal-scroll {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 8px;
}

.table-area-title {
  margin-top: 12px;
  margin-bottom: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  padding-left: 2px;
  color: #ccc;
}

.table-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); /* 3-spaltig */
  gap: 6px;
}

/* Einzelner Tisch */
.table-modal-item {
  background: #181818;
  border-radius: 6px;
  padding: 4px 6px;
  border: 1px solid #222;
  cursor: pointer;
}

.table-modal-item:hover {
  border-color: #666;
}

.table-modal-name {
  font-size: 0.9rem;
}

.table-modal-bookings-small {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 2px;
}

/* Konflikt visuell stärker */
.table-modal-item.table-conflict {
  border-color: #b04444;
  background: #2a0f0f;
}


/* ============================
   ACCOUNT / PROFILE PAGE
   ============================ */

.account-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem 1rem 2.5rem;
}

/* Kopfbereich */
.account-header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}

.account-intro {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  opacity: 0.85;
}

.account-header-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.account-stat-box {
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  background: rgba(0, 0, 0, 0.03);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.account-stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
  margin-bottom: 0.25rem;
  display: block;
}

.account-stat-value {
  font-size: 1.4rem;
  font-weight: 600;
}

.account-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* Tabs / Buttons */
.account-tabs {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding-bottom: 0.5rem;
}

.account-tab-button {
  border: none;
  background: transparent;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, transform 0.05s;
  white-space: nowrap;
}

.account-tab-button:hover {
  background: rgba(0,0,0,0.04);
}

.account-tab-button.is-active {
  background: #000;
  color: #fff;
  transform: translateY(-1px);
}

/* Sektionen */
.account-section {
  display: none;
  margin-top: 1.5rem;
}

.account-section.is-active {
  display: block;
}

.account-section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

/* Grid für Stammdaten */
.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin-bottom: 1.25rem;
}

.account-field .label {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.1rem;
}

.account-field .value {
  font-size: 0.95rem;
  font-weight: 500;
}

/* Unterbereiche */
.account-subsection {
  margin-top: 1.25rem;
}

.account-subsection h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

/* Bestellungen */
.account-orders-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.account-order-card {
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.account-order-card .order-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  align-items: baseline;
  margin-bottom: 0.4rem;
}

.account-order-card .order-code {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-left: 0.25rem;
}

.account-order-card .order-date {
  font-size: 0.8rem;
  opacity: 0.7;
}

.order-body {
  margin-top: 0.35rem;
}

.order-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.order-row .label {
  opacity: 0.7;
}

.order-row .value {
  text-align: right;
}

.order-actions {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

/* Reservierungen */
.account-reservation-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.account-reservation-card {
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.account-reservation-list--past .account-reservation-card {
  opacity: 0.9;
}

.account-reservation-card .res-header {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.account-reservation-card .res-body {
  font-size: 0.9rem;
}

.res-row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.res-row .label {
  opacity: 0.7;
}

/* Buttons (nutzt deine bestehenden .btn-Klassen) */
.btn.btn-sm {
  padding: 0.3rem 0.7rem;
  font-size: 0.8rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
  .account-container {
    padding: 1.25rem 0.75rem 2rem;
  }

  .account-header-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-grid {
    grid-template-columns: 1fr;
  }

  .account-order-card,
  .account-reservation-card {
    padding: 0.8rem 0.85rem;
  }

  .account-tabs {
    overflow-x: auto;
    padding-bottom: 0.25rem;
  }

  .account-tab-button {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .account-header-stats {
    grid-template-columns: 1fr;
  }

  .account-meta-line {
    flex-direction: column;
  }
}
.checkout-user-hint {
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  background: rgba(0,0,0,0.03);
}


/* ============================
   Mobile Reservation & Order Bar
   ============================ */

#mobile-reservation-bar {
  position: fixed;
  bottom: 8px;
  left: 0;
  right: 0;
  z-index: 9999;

  background: transparent;        /* keine Fläche mehr */
  border: none;
  box-shadow: none;
  backdrop-filter: none;

  padding: 0 12px;
  display: none;                  /* wird per JS aktiviert */
}

/* Wenn JS die Klasse setzt → Leiste sichtbar */
body.has-mobile-reservation-bar #mobile-reservation-bar {
  display: block;
  /* bisschen Platz nach unten, damit nichts überdeckt wird */
  padding-bottom: env(safe-area-inset-bottom, 8px);
}

/* Inhalt: Buttons zentriert am unteren Bildschirmrand */
#mobile-reservation-bar .mrb-inner {
  max-width: 980px;
  margin: 0 auto;

  display: flex;
  justify-content: flex-end;  /* Buttons rechts – falls du center willst: center */
  align-items: center;
}

/* Container für die Buttons */
#mobile-reservation-bar .mrb-actions {
  display: flex;
  gap: 8px;
}

/* Basis-Button-Stil */
#mobile-reservation-bar .mrb-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  border-radius: 999px;
  padding: 8px 14px;

  font-size: 13px;
  font-weight: 600;

  border: none;
  outline: none;
  cursor: pointer;
  white-space: nowrap;

  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}



#mobile-reservation-bar .mrb-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.16);
  opacity: 0.95;
}

#mobile-reservation-bar .mrb-btn-text {
  line-height: 1;
}

/* Essen bestellen – hell / neutral */
#mobile-reservation-bar .mrb-btn-order {
  background: #ffffff;
  color: #2f5b3f;
  border: 1px solid #d9cfb8;
}

/* Tisch reservieren – Haupt-CTA */
#mobile-reservation-bar .mrb-btn-reserve {
  background: #b5492e;   /* deine CTA-Farbe */
  color: #ffffff;
}

/* Icon-Größe */
#mobile-reservation-bar .mrb-btn-icon {
  font-size: 16px;
}

/* App-Ladeoverlay für Mobile-Navigation / Bestellen */
/* App-Ladeoverlay für Mobile-Navigation / Bestellen */
#app-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.app-loading-box {
  background: #111;
  color: #fff;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.app-loading-spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: appSpinner 0.7s linear infinite;
}

.app-loading-text {
  white-space: nowrap;
}

@keyframes appSpinner {
  to {
    transform: rotate(360deg);
  }
}

/* Sticky Cart Bounce Animation */
.sticky-cart-button-animate {
  animation: stickyCartBounce 0.4s ease;
}

@keyframes stickyCartBounce {
  0%   { transform: scale(1); }
  20%  { transform: scale(1.06); }
  40%  { transform: scale(0.96); }
  60%  { transform: scale(1.03); }
  80%  { transform: scale(0.99); }
  100% { transform: scale(1); }
}

