/* ═══════════════════════════════════════
   Jause-Bestellseite
   ═══════════════════════════════════════ */

.jause-header {
  background: #e67e22;
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.jause-header-title { font-family: 'DM Serif Display', Georgia, serif; font-size: 20px; }
.jause-header-sub { font-size: 12px; opacity: 0.8; }
.jause-header-right { text-align: right; }
.jause-header-name { font-size: 15px; font-weight: 600; }
.jause-header-pnr { font-family: 'DM Mono', monospace; font-size: 14px; font-weight: 600; }

/* Status-Banner */
.status-banner {
  padding: 10px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
}
.status-banner.open { background: #e8f5e9; color: #2e7d32; }
.status-banner.closed { background: #fff3e0; color: #e65100; }

/* Info-Hinweis */
.jause-info {
  padding: 10px 20px;
  background: #fafaf8;
  border-bottom: 1px solid #eee;
  font-size: 13px;
  color: #555;
  text-align: center;
}

/* Zeitslot-Leiste */
.slot-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.slot-label { font-size: 13px; color: #888; font-weight: 500; }
.slot-btn {
  padding: 8px 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.15s;
}
.slot-btn.active {
  background: #e67e22;
  color: #fff;
  border-color: #e67e22;
}
.slot-btn:not(.active):hover { border-color: #e67e22; color: #e67e22; }

/* Artikel-Liste */
.artikel-list { padding: 16px; max-width: 800px; margin: 0 auto; }

.artikel-kategorie {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 18px;
  color: #333;
  margin: 20px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid #e67e22;
}
.artikel-kategorie:first-child { margin-top: 4px; }

.artikel-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 10px;
  margin-bottom: 8px;
  gap: 12px;
  transition: box-shadow 0.15s;
}
.artikel-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

.artikel-info { flex: 1; }
.artikel-name { font-size: 15px; font-weight: 500; line-height: 1.3; }
.artikel-count {
  display: inline-block;
  background: #c62828;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 8px;
  border-radius: 10px;
  margin-left: 6px;
  vertical-align: middle;
}
.artikel-allergene { font-size: 11px; color: #999; margin-top: 2px; }

.artikel-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.artikel-preis {
  font-family: 'DM Mono', monospace;
  font-size: 16px;
  font-weight: 600;
  color: #e67e22;
  min-width: 60px;
  text-align: right;
}

.artikel-actions { display: flex; align-items: center; gap: 8px; }
.weckerl-check {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.weckerl-check input { accent-color: #e67e22; width: 16px; height: 16px; }

.btn-add {
  padding: 8px 14px;
  background: #e67e22;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
}
.btn-add:hover { background: #d35400; }
.btn-add:disabled { background: #ccc; cursor: default; }

/* Warenkorb-Bar (sticky unten) */
.jause-footer-links {
  padding: 16px 20px;
  text-align: center;
  border-top: 1px solid #eee;
}
.warenkorb-bar {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 2px solid #e67e22;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
  z-index: 50;
}
.warenkorb-info { font-size: 15px; color: #333; }
.btn-warenkorb {
  padding: 12px 24px;
  background: #e67e22;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background 0.15s;
}
.btn-warenkorb:hover { background: #d35400; }

/* Warenkorb-Items im Modal */
.wk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}
.wk-item:last-child { border-bottom: none; }
.wk-item-name { font-size: 14px; font-weight: 500; }
.wk-item-detail { font-size: 12px; color: #999; margin-top: 2px; }
.wk-item-right { display: flex; align-items: center; gap: 10px; }
.wk-item-preis { font-family: 'DM Mono', monospace; font-weight: 600; color: #e67e22; }
.wk-item-remove {
  width: 28px; height: 28px;
  border: none;
  background: #ffebee;
  color: #c62828;
  border-radius: 50%;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.15s;
}
.wk-item-remove:hover { background: #ffcdd2; }

.warenkorb-total {
  text-align: right;
  padding: 12px 0 4px;
  font-size: 18px;
  color: #e67e22;
}

/* ── Desktop ── */
@media (min-width: 768px) {
  .jause-header { padding: 16px 32px; }
  .jause-header-title { font-size: 24px; }
  .slot-bar { padding: 12px 32px; justify-content: center; gap: 12px; }
  .artikel-list { padding: 24px 32px; }
  .warenkorb-bar { padding: 14px 32px; }
}

/* ── Druck ── */
@media print {
  .jause-header, .status-banner, .jause-info, .slot-bar,
  .btn-add, .weckerl-check, .warenkorb-bar { display: none !important; }
}

/* ═══════════════════════════════
   BESTÄTIGUNGS-OVERLAY
   ═══════════════════════════════ */
.confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(45, 106, 79, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 600;
  animation: confirmFadeIn 0.3s ease;
}
@keyframes confirmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.confirm-content { text-align: center; color: #fff; }
.confirm-icon {
  font-size: 72px;
  width: 120px; height: 120px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  animation: confirmPop 0.4s ease 0.1s both;
}
@keyframes confirmPop {
  from { transform: scale(0.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.confirm-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 28px;
  margin-bottom: 8px;
}
.confirm-detail {
  font-size: 16px;
  opacity: 0.8;
}