/* ===================================================
   Kaffeebestellung SPA - Playful & Colorful Stylesheet
   =================================================== */

:root {
  --font-heading: 'Fredoka', cursive, sans-serif;
  --font-body: 'Nunito', sans-serif;

  /* Farbpalette - verspielt, bunt, freundlich, warm */
  --bg-gradient-start: #fff7ed;
  --bg-gradient-end: #fef08a;
  --sidebar-bg: rgba(255, 255, 255, 0.88);
  --card-bg: rgba(255, 255, 255, 0.95);
  
  --primary: #f97316;
  --primary-light: #ffedd5;
  --primary-dark: #ea580c;
  
  --secondary: #ec4899;
  --secondary-light: #fce7f3;

  --accent-mint: #10b981;
  --accent-mint-light: #d1fae5;
  --accent-purple: #8b5cf6;
  --accent-purple-light: #ede9fe;
  --accent-blue: #0ea5e9;
  --accent-blue-light: #e0f2fe;

  --text-dark: #332014;
  --text-muted: #7c6858;
  --border-color: #fed7aa;
  
  --shadow-sm: 0 4px 12px rgba(234, 88, 12, 0.08);
  --shadow-md: 0 8px 24px rgba(180, 83, 9, 0.12);
  --shadow-lg: 0 16px 36px rgba(180, 83, 9, 0.18);
  --shadow-active: 0 6px 18px rgba(249, 115, 22, 0.35);

  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: linear-gradient(135deg, #fffaf5 0%, #fef3c7 40%, #fed7aa 100%);
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dekorative Hintergrund-Blasen */
.bg-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(60px);
  z-index: 0;
  opacity: 0.6;
  animation: floatBubble 14s ease-in-out infinite alternate;
}
.b1 {
  width: 380px;
  height: 380px;
  background: #fbcfe8;
  top: -80px;
  left: -80px;
}
.b2 {
  width: 440px;
  height: 440px;
  background: #fed7aa;
  bottom: -100px;
  right: -80px;
  animation-duration: 18s;
}
.b3 {
  width: 300px;
  height: 300px;
  background: #bbf7d0;
  bottom: 20%;
  left: 20%;
  animation-duration: 16s;
}
.b4 {
  width: 250px;
  height: 250px;
  background: #ddd6fe;
  top: 15%;
  right: 25%;
  animation-duration: 20s;
}

@keyframes floatBubble {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 35px) scale(1.1); }
}

/* Sound Toggle Button */
.sound-toggle {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 100;
  background: white;
  border: 3px solid #fdba74;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sound-toggle:hover {
  transform: scale(1.1) rotate(6deg);
  border-color: var(--primary);
}
.sound-toggle:active {
  transform: scale(0.95);
}

/* Haupt-Container (optimiert für Landscape Tablets) */
.app-container {
  position: relative;
  z-index: 10;
  width: 96vw;
  height: 94vh;
  max-width: 1360px;
  max-height: 860px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  overflow: hidden;
}

/* ===================================================
   LINKE LEISTE: Step-by-Step Visualisierung
   =================================================== */
.sidebar {
  width: 320px;
  min-width: 290px;
  background: var(--sidebar-bg);
  border-right: 2px dashed #fed7aa;
  display: flex;
  flex-direction: column;
  padding: 24px 18px 18px 20px;
  height: 100%;
}

.sidebar-header {
  text-align: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #ffedd5;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.brand-logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.brand-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fdba74;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.2);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  color: #7c2d12;
  letter-spacing: 0.3px;
  text-align: center;
}

.sidebar-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-align: center;
  margin-top: 2px;
}

/* Navigations-Liste */
.steps-nav {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Custom Scrollbar */
.steps-nav::-webkit-scrollbar {
  width: 6px;
}
.steps-nav::-webkit-scrollbar-track {
  background: transparent;
}
.steps-nav::-webkit-scrollbar-thumb {
  background: #fed7aa;
  border-radius: 4px;
}

/* Einzelner Schritt */
.step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: white;
  border: 2px solid #ffedd5;
  border-radius: var(--radius-md);
  cursor: default;
  transition: all 0.2s ease;
  position: relative;
  box-sizing: border-box;
}

.step-item.clickable {
  cursor: pointer;
}
.step-item.clickable:hover {
  border-color: #fdba74;
  background: #fffaf0;
}

.step-item.active {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 2.5px solid var(--primary);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.25);
}

.step-item.completed {
  border-color: #a7f3d0;
  background: #f0fdf4;
}

.step-badge {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  background: #ffedd5;
  color: var(--primary-dark);
  transition: all 0.2s ease;
}

.step-item.active .step-badge {
  background: var(--primary);
  color: white;
  box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
}

.step-item.completed .step-badge {
  background: var(--accent-mint);
  color: white;
}

.step-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.step-value {
  font-size: 0.8rem;
  color: #c2410c;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.step-icon-indicator {
  font-size: 1.1rem;
}

.sidebar-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 14px 0 4px 0;
  margin-top: auto;
}

.made-with-love {
  font-size: 0.88rem;
  font-weight: 700;
  color: #db2777;
  background: #fce7f3;
  border: 1.5px solid #fbcfe8;
  padding: 6px 18px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 2px 6px rgba(236, 72, 153, 0.1);
}

/* ===================================================
   RECHTER BEREICH: Hauptinhalt
   =================================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 32px 20px 32px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

/* Banner oben: "✅ Dein Getränk ist vollständig ausgewählt." */
.complete-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 2px solid #34d399;
  border-radius: var(--radius-md);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.18);
  animation: bannerPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes bannerPop {
  0% { transform: translateY(-20px) scale(0.95); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}

.complete-banner.hidden {
  display: none;
}

.banner-icon {
  font-size: 1.5rem;
}

.banner-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #065f46;
}

/* Karten-Bereich (scrollt wenn nötig, sonst fix) */
.card-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 4px 4px 12px 4px;
}
.card-area::-webkit-scrollbar {
  width: 6px;
}
.card-area::-webkit-scrollbar-thumb {
  background: #fed7aa;
  border-radius: 4px;
}

/* Schritt-Header */
.step-header {
  margin-bottom: 18px;
}

.step-tagline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 14px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-headline {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  color: #431407;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-instruction {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* ===================================================
   OPTIONS-GRID: Karten zur Auswahl
   =================================================== */
.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

/* Wenn 5 oder mehr Optionen, 3 oder 4 Spalten */
.options-grid.grid-dense {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.option-card {
  background: var(--card-bg);
  border: 3px solid #ffedd5;
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.option-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #fb923c;
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.option-card:active {
  transform: scale(0.97);
}

.option-card.selected {
  border-color: var(--primary);
  background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
  box-shadow: var(--shadow-active);
  transform: translateY(-3px) scale(1.02);
}

/* Checkmark Badge bei Multi-Choice oder Selected */
.option-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #e2e8f0;
  border: 2px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: white;
  transition: all 0.2s ease;
}

.option-card.selected .option-check {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.1);
}

.option-emoji {
  font-size: 3.2rem;
  line-height: 1.1;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.06));
  transition: transform 0.2s ease;
}

.option-card:hover .option-emoji {
  transform: scale(1.15) rotate(3deg);
}

/* ===================================================
   GETRÄNKE SPRITESHEET (3x2 Teilbilder) & 3x2 Grid
   =================================================== */
.options-grid.product-grid-3x2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 16px;
  width: 100%;
  flex: 1;
}

.product-grid-3x2 .option-card {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 175px;
}

.drink-sprite {
  width: 120px;
  height: 110px;
  background-image: url('drinks_spritesheet.jpg');
  background-size: 300% 200%;
  background-repeat: no-repeat;
  margin-bottom: 8px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.option-card:hover .drink-sprite {
  transform: scale(1.08);
}

/* Reihe 1 (oben) */
.sprite-espresso {
  background-position: 0% 0%;
}

.sprite-latte {
  background-position: 50% 0%;
}

.sprite-kakao {
  background-position: 100% 0%;
}

/* Reihe 2 (unten) */
.sprite-tee {
  background-position: 0% 100%;
}

.sprite-wasser {
  background-position: 50% 100%;
}

.sprite-none {
  background-position: 100% 100%;
}

/* ===================================================
   GRÖSSE, MILCH, DESSERT & BEZAHLUNG SPRITESHEET (16 Teilbilder, 4x4, TEXTFREI)
   =================================================== */
.smd-sprite,
.size-milk-sprite {
  width: 110px;
  height: 105px;
  background-image: url('size_milk_dessert_spritesheet.jpg');
  background-size: 400% 400%;
  background-repeat: no-repeat;
  margin-bottom: 8px;
  border-radius: 14px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.option-card:hover .smd-sprite,
.option-card:hover .size-milk-sprite {
  transform: scale(1.08);
}

/* Reihe 1 (oben): Größen */
.smd-klein,
.sprite-size-klein {
  background-position: 0% 0%;
}

.smd-gross,
.sprite-size-gross {
  background-position: 33.333% 0%;
}

.smd-jumbo,
.sprite-size-jumbo {
  background-position: 66.666% 0%;
}

.smd-kanne,
.sprite-size-kanne {
  background-position: 100% 0%;
}

/* Reihe 2: Milcharten */
.smd-keine-milch,
.sprite-milk-keine {
  background-position: 0% 33.333%;
}

.smd-kuh,
.sprite-milk-kuh {
  background-position: 33.333% 33.333%;
}

.smd-hafer,
.sprite-milk-hafer {
  background-position: 66.666% 33.333%;
}

.smd-mandel,
.sprite-milk-mandel {
  background-position: 100% 33.333%;
}

/* Reihe 3: Desserts Teil 1 */
.smd-eis {
  background-position: 0% 66.666%;
}

.smd-kuchen {
  background-position: 33.333% 66.666%;
}

.smd-kekse {
  background-position: 66.666% 66.666%;
}

.smd-schokolade {
  background-position: 100% 66.666%;
}

/* Reihe 4: Desserts Teil 2 & Bezahlung */
.smd-knabberzeug {
  background-position: 0% 100%;
}

.smd-quetschi {
  background-position: 33.333% 100%;
}

.smd-keine-suessigkeit {
  background-position: 66.666% 100%;
}

.smd-hug {
  background-position: 100% 100%;
}

/* ===================================================
   OPTIONS SPRITESHEET (16 Teilbilder, 4x4 Grid)
   =================================================== */
.options-sprite {
  width: 110px;
  height: 100px;
  background-image: url('options_spritesheet.jpg');
  background-size: 400% 400%;
  background-repeat: no-repeat;
  margin-bottom: 8px;
  border-radius: 14px;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: block;
}

.option-card:hover .options-sprite {
  transform: scale(1.08);
}

/* Reihe 1 (Specials) */
.opt-kakao {
  background-position: 0% 0%;
}

.opt-schoko-mix {
  background-position: 33.333% 0%;
}

.opt-zucker {
  background-position: 66.666% 0%;
}

.opt-sirup {
  background-position: 100% 0%;
}

/* Reihe 2 (Toppings & Tees) */
.opt-streusel {
  background-position: 0% 33.333%;
}

.opt-fruechtetee {
  background-position: 33.333% 33.333%;
}

.opt-kraeutertee {
  background-position: 66.666% 33.333%;
}

.opt-immuntee {
  background-position: 100% 33.333%;
}

/* Reihe 3 (Temperaturen & Wasser) */
.opt-lauwarm {
  background-position: 0% 66.666%;
}

.opt-trinkheiss {
  background-position: 33.333% 66.666%;
}

.opt-heiss {
  background-position: 66.666% 66.666%;
}

.opt-leitungswasser {
  background-position: 100% 66.666%;
}

/* Reihe 4 (Wasser mit Geschmack & Eis) */
.opt-wasser-geschmack {
  background-position: 0% 100%;
}

.opt-kein-eis {
  background-position: 33.333% 100%;
}

.opt-1-eis {
  background-position: 66.666% 100%;
}

.opt-viele-eis {
  background-position: 100% 100%;
}

/* Grids für Größen & Milch */
.options-grid.size-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 640px;
  width: 100%;
  margin: 16px auto 0 auto;
}

.options-grid.size-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  margin-top: 10px;
}

.options-grid.milk-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  margin-top: 10px;
}

.product-grid-3x2 .option-name {
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.product-grid-3x2 .option-desc {
  font-size: 0.85rem;
  line-height: 1.25;
}

.option-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: #431407;
  margin-bottom: 4px;
}

.option-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  line-height: 1.25;
}

/* ===================================================
   UNTERE NAVIGATION
   =================================================== */
.bottom-nav {
  display: flex;
  align-items: center;
  padding-top: 14px;
  margin-top: 8px;
}

.nav-spacer {
  flex: 1;
}

.btn {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-3px) scale(1.03);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35);
}
.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45);
}

.btn-secondary {
  background: white;
  color: #7c2d12;
  border: 2px solid #fed7aa;
}
.btn-secondary:hover {
  background: #fff7ed;
  border-color: #f97316;
}

.btn.hidden {
  display: none;
}

/* ===================================================
   FERTIG-SCREEN (Bestellabschluss)
   =================================================== */
.finish-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
  animation: finishAppear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes finishAppear {
  0% { transform: scale(0.9) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.finish-logo-wrap {
  margin-bottom: 10px;
}

.finish-logo {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fdba74;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.2);
}

.finish-badge {
  background: #fdf2f8;
  color: var(--secondary);
  border: 2px dashed #f472b6;
  padding: 6px 18px;
  border-radius: 30px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.finish-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: #431407;
  margin-bottom: 16px;
}

/* Der Bestellbon / Receipt-Card */
.order-card {
  width: 100%;
  background: white;
  border: 3px solid #fdba74;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 22px 24px;
  position: relative;
  overflow: hidden;
  margin-bottom: 18px;
}

.order-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    45deg,
    #f97316,
    #f97316 12px,
    #fbbf24 12px,
    #fbbf24 24px,
    #ec4899 24px,
    #ec4899 36px
  );
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px dashed #fed7aa;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.order-drink-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: #7c2d12;
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-tag {
  background: #ffedd5;
  color: #c2410c;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Detail-Grid auf der Bestellkarte */
.order-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  text-align: left;
  margin-bottom: 16px;
}

.order-detail-item {
  background: #fffaf5;
  border: 2px solid #fed7aa;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-item-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.detail-item-content {
  display: flex;
  flex-direction: column;
}

.detail-item-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.detail-item-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #431407;
  font-weight: 700;
}

/* Specials Liste falls vorhanden */
.order-specials-box {
  background: #fdf4ff;
  border: 2px solid #f0abfc;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  margin-bottom: 14px;
  text-align: left;
}

.order-specials-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #a21caf;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.specials-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.special-pill {
  background: white;
  border: 1.5px solid #d946ef;
  color: #86198f;
  padding: 3px 10px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Dessert Zeile */
.order-dessert-box {
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.order-dessert-icon {
  font-size: 2rem;
}

.order-dessert-info {
  display: flex;
  flex-direction: column;
}

.order-dessert-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #065f46;
  text-transform: uppercase;
}

.order-dessert-val {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #064e3b;
}

/* Bezahlung Text */
.payment-banner {
  background: linear-gradient(135deg, #fdf2f8 0%, #fee2e2 100%);
  border: 2px dashed #f43f5e;
  border-radius: 30px;
  padding: 8px 24px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: #9f1239;
  font-weight: 700;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 12px rgba(244, 63, 94, 0.15);
  animation: pulseHeart 2s infinite ease-in-out;
}

.hug-sprite {
  width: 68px;
  height: 60px;
  background-image: url('size_milk_dessert_spritesheet.jpg');
  background-size: 400% 400%;
  background-repeat: no-repeat;
  flex-shrink: 0;
  border-radius: 8px;
}

@keyframes pulseHeart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.btn-restart {
  font-size: 1.25rem;
  padding: 14px 36px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}
.btn-restart:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
}

/* Konfetti Canvas */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 999;
}

/* ===================================================
   RESPONSIVE ANPASSUNGEN (kleinere Bildschirme & Tablets)
   =================================================== */
@media (max-width: 900px) {
  .app-container {
    width: 98vw;
    height: 98vh;
  }
  .sidebar {
    width: 250px;
    min-width: 230px;
    padding: 16px 12px;
  }
  .main-content {
    padding: 16px 20px;
  }
  .step-headline {
    font-size: 1.5rem;
  }
  .options-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
  .drink-sprite,
  .size-milk-sprite,
  .smd-sprite,
  .options-sprite {
    width: 90px;
    height: 84px;
  }
  .product-grid-3x2 .option-card {
    padding: 8px 6px;
    min-height: 140px;
  }
}
