/* ═══════════════════════════════════════════════════════════════
   BELLA HOME WEBSHOP
   Design: Hell, Lila-Akzent (#8B82E0), Fraunces + Inter Pairing
   Aufgebaut auf den Mockup-Vorlagen
   ═══════════════════════════════════════════════════════════════ */

:root {
  --brand: #8B82E0;
  --brand-dark: #534AB7;
  --brand-light: #F7F6FF;
  --brand-light-2: #F0EEFF;
  --brand-border: #E8E5FF;

  --bg: #FAFAF7;
  --bg-alt: #FDFCFA;
  --card: #FFFFFF;

  --text: #1a1a2e;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;

  --border: #E5E7EB;
  --border-light: #F3F4F6;

  --warn-bg: #FFF8E7;
  --warn-border: #F2C94C;
  --warn-text: #6B5612;

  --success-bg: #DCFCE7;
  --success-border: #16A34A;
  --success-text: #14532D;

  --danger-bg: #FEE2E2;
  --danger-text: #991B1B;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.04);
  --shadow-md: 0 4px 16px rgba(26, 26, 46, 0.06);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.08);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--brand-dark); text-decoration: none; }
a:hover { color: var(--brand); }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: var(--text);
}

/* ═════════════════════════════════════════════════════════════
   HEADER
   ═════════════════════════════════════════════════════════════ */

.shop-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 0.5px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.shop-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.shop-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--text);
  line-height: 1;
}
.brand-tagline {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 3px;
  letter-spacing: 0.2px;
}

.shop-nav {
  display: flex;
  gap: 22px;
  font-size: 13px;
  color: var(--text-muted);
  align-items: center;
}
.shop-nav a {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 4px;
  transition: color 0.15s;
}
.shop-nav a:hover { color: var(--text); }
.nav-track i { font-size: 16px; color: var(--brand); }

@media (max-width: 640px) {
  .shop-header-inner { padding: 12px 16px; }
  .shop-nav { gap: 14px; }
  .nav-label { display: none; }
  .brand-tagline { display: none; }
}

/* ═════════════════════════════════════════════════════════════
   MAIN VIEW CONTAINER
   ═════════════════════════════════════════════════════════════ */

.view {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  min-height: 60vh;
}

@media (max-width: 640px) {
  .view { padding: 16px; }
}

/* ═════════════════════════════════════════════════════════════
   HERO (Startseite)
   ═════════════════════════════════════════════════════════════ */

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 56px;
}
@media (max-width: 800px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding: 24px 0 32px; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin: 0 0 16px;
  color: var(--text);
}
.hero-title em {
  font-style: italic;
  color: var(--brand-dark);
  font-weight: 400;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 460px;
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}
.feature-row {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 14px;
  color: #4a4a5e;
}
.feature-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.hero-art {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-light-2) 100%);
  border: 0.5px solid var(--brand-border);
  border-radius: var(--radius-xl);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--brand);
  position: relative;
  overflow: hidden;
}
.hero-art::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 30%, rgba(139, 130, 224, 0.08) 0, transparent 50%),
    radial-gradient(circle at 75% 70%, rgba(139, 130, 224, 0.06) 0, transparent 50%);
  pointer-events: none;
}
.hero-art i {
  font-size: 96px;
  position: relative;
}
.hero-art span {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  position: relative;
}

/* ═════════════════════════════════════════════════════════════
   STEPPER (Schritt-Anzeige)
   ═════════════════════════════════════════════════════════════ */

.stepper {
  background: var(--card);
  border: 0.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}
.step-num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}
.step.active .step-num {
  background: var(--brand);
  color: white;
}
.step.active { color: var(--text); font-weight: 500; }
.step.done .step-num { background: var(--brand-light); color: var(--brand); }
.step.done .step-num::after { content: '✓'; }
.step.done .step-num span { display: none; }
.step-divider { width: 28px; height: 1px; background: var(--border); }

@media (max-width: 640px) {
  .stepper { padding: 12px 12px; gap: 4px; }
  .step span:not(.step-num):not(.step-divider) { display: none; }
  .step-divider { width: 16px; }
}

/* Mobile Progress-Bar (alternativ zu Stepper auf kleinen Screens) */
.progress-bar {
  display: flex;
  gap: 4px;
  margin: 10px 0 20px;
}
.progress-dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-light-2);
}
.progress-dot.active { background: var(--brand); }

/* ═════════════════════════════════════════════════════════════
   CARDS (Karten / Boxen)
   ═════════════════════════════════════════════════════════════ */

.card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 18px;
  color: var(--text);
}

/* Modell-Karte (Wahl-Liste) */
.model-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}
.model-card {
  background: var(--card);
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  transition: all 0.15s;
  text-align: left;
  width: 100%;
}
.model-card:hover {
  border-color: var(--brand);
  background: var(--brand-light);
}
.model-card.selected {
  border: 1.5px solid var(--brand);
  background: var(--brand-light);
  padding: 17.5px;
}
.model-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
  font-size: 28px;
}
.model-card.selected .model-icon {
  background: white;
}
.model-info { flex: 1; min-width: 0; }
.model-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
}
.model-price {
  font-size: 13px;
  color: var(--text-muted);
}
.model-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ═════════════════════════════════════════════════════════════
   FORM (Inputs, Labels)
   ═════════════════════════════════════════════════════════════ */

.field {
  margin-bottom: 16px;
}
.field-label {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  letter-spacing: 0.2px;
}
.field-input,
.field-textarea,
.field-select {
  width: 100%;
  padding: 11px 14px;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  background: var(--card);
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
  font-family: inherit;
}
.field-input:focus,
.field-textarea:focus,
.field-select:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--brand-light);
}
.field-textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.5;
}

.field-input.error {
  border-color: #DC2626;
  background: #FEF2F2;
}

.field-row {
  display: flex;
  gap: 10px;
}
.field-row > * { flex: 1; }

.input-suffix-wrap {
  position: relative;
}
.input-suffix-wrap .field-input {
  padding-right: 36px;
}
.input-suffix {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  color: var(--text-light);
  pointer-events: none;
}

.field-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.field-hint i { color: var(--brand); font-size: 13px; }

.field-error {
  font-size: 12px;
  color: #DC2626;
  margin-top: 5px;
}

/* Farb-Auswahl */
.color-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.color-swatch {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s;
  background: var(--text);
}
.color-swatch.has-light-bg { border: 1.5px solid var(--border); }
.color-swatch:hover { transform: scale(1.08); }
.color-swatch.selected {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--brand-light-2);
}
.color-swatch-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
  min-height: 16px;
}

/* Mengen-Stepper */
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.qty-btn {
  width: 36px; height: 36px;
  border-radius: var(--radius-md);
  border: 0.5px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.qty-btn:hover { background: var(--brand-light); border-color: var(--brand); color: var(--brand); }
.qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 500;
}

/* Anzahlungs-Chips */
.deposit-row {
  display: flex;
  gap: 8px;
  margin: 10px 0 14px;
}
.deposit-chip {
  flex: 1;
  padding: 10px;
  text-align: center;
  border: 0.5px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  background: var(--card);
  color: var(--text);
  transition: all 0.15s;
}
.deposit-chip:hover {
  border-color: var(--brand);
  color: var(--brand);
}
.deposit-chip.selected {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
}

/* Anzahlungs-Slider */
.deposit-slider-wrap {
  background: var(--brand-light);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
}
.deposit-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}
.deposit-slider-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-dark);
}
.deposit-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--brand-border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
.deposit-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(83, 74, 183, 0.3);
}
.deposit-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  background: var(--brand);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* ═════════════════════════════════════════════════════════════
   PRICE-BOX (Live-Preis)
   ═════════════════════════════════════════════════════════════ */

.price-box {
  background: linear-gradient(135deg, var(--brand-light) 0%, var(--brand-light-2) 100%);
  border: 0.5px solid var(--brand-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 16px;
}
.price-label {
  font-size: 11px;
  color: var(--brand);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.price-value {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  color: var(--brand-dark);
  margin-top: 4px;
  line-height: 1.1;
}
.price-detail {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Aktions-Banner */
.action-promo {
  background: var(--warn-bg);
  border-left: 3px solid var(--warn-border);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--warn-text);
  margin-bottom: 14px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.action-promo strong { color: var(--warn-text); }

/* ═════════════════════════════════════════════════════════════
   SUMMARY (Zusammenfassung)
   ═════════════════════════════════════════════════════════════ */

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 7px 0;
  color: var(--text);
}
.summary-row.muted { color: var(--text-muted); font-size: 13px; }
.summary-row.brand { color: var(--brand-dark); font-weight: 500; }
.summary-total {
  font-size: 16px;
  font-weight: 600;
  padding-top: 12px;
  border-top: 0.5px solid var(--border);
  margin-top: 8px;
}

/* Bestelltabelle (Kasse) */
.order-items {
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 16px;
}
.order-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 0.5px solid var(--border-light);
  align-items: center;
}
.order-item:last-child { border-bottom: none; }
.order-item-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-light);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.order-item-info { flex: 1; min-width: 0; }
.order-item-name { font-weight: 500; font-size: 14px; color: var(--text); }
.order-item-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.order-item-price { font-weight: 500; font-size: 14px; color: var(--text); white-space: nowrap; }
.order-item-remove {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
  border-radius: 4px;
}
.order-item-remove:hover { color: #DC2626; background: var(--danger-bg); }

/* ═════════════════════════════════════════════════════════════
   BUTTONS
   ═════════════════════════════════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: all 0.15s;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand);
  color: white;
  width: 100%;
}
.btn-primary:hover { background: var(--brand-dark); }
.btn-primary:disabled {
  background: var(--border);
  color: var(--text-light);
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--card);
  color: var(--brand);
  border: 0.5px solid var(--brand);
  width: 100%;
}
.btn-secondary:hover { background: var(--brand-light); }

.btn-text {
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  padding: 10px;
}
.btn-text:hover { color: var(--text); }

.btn-lg { padding: 14px 28px; font-size: 15px; }

/* ═════════════════════════════════════════════════════════════
   2-SPALTEN-LAYOUT (Konfigurator + Live-Preis)
   ═════════════════════════════════════════════════════════════ */

.config-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 800px) {
  .config-grid { grid-template-columns: 1fr; }
}

.config-summary {
  position: sticky;
  top: 100px;
}
@media (max-width: 800px) {
  .config-summary { position: static; }
}

/* Preview-Box (Skizze des Fliegengitters) */
.preview-box {
  background: var(--brand-light);
  border: 0.5px solid var(--brand-border);
  border-radius: var(--radius-md);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--brand);
  margin-bottom: 18px;
  position: relative;
}
.preview-frame {
  /* Rahmenstärke deutet die Profildicke an (Standardprofil 3,9 cm) */
  border: 5px solid var(--brand);
  background: white;
  position: relative;
}
/* Bodenprofil = Ja: untere Profilleiste deutlich dünner (1 cm Flachprofil) */
.preview-frame.schwellenlos-ja {
  border-bottom-width: 1.5px;
}
.preview-frame::after {
  content: '';
  position: absolute;
  inset: 4px;
  background-image:
    linear-gradient(var(--brand-light-2) 1px, transparent 1px),
    linear-gradient(90deg, var(--brand-light-2) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.6;
}
.preview-frame.doppeltuer::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--brand);
  transform: translateX(-50%);
  z-index: 1;
}
.preview-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ═════════════════════════════════════════════════════════════
   CHECKBOXEN (AGB, Widerruf)
   ═════════════════════════════════════════════════════════════ */

.legal-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.5;
  cursor: pointer;
}
.legal-row input { display: none; }
.checkbox {
  width: 18px; height: 18px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  background: var(--card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  transition: all 0.15s;
}
.legal-row input:checked + .checkbox {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
}
.legal-row input:checked + .checkbox::after { content: '✓'; }
.legal-row strong { color: var(--text); }
.legal-row a { color: var(--brand-dark); text-decoration: underline; }

/* ═════════════════════════════════════════════════════════════
   INFO / WARN / ERROR Banner
   ═════════════════════════════════════════════════════════════ */

.banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.banner-info { background: var(--brand-light); color: var(--brand-dark); border: 0.5px solid var(--brand-border); }
.banner-warn { background: var(--warn-bg); color: var(--warn-text); border-left: 3px solid var(--warn-border); border-radius: 0 var(--radius-md) var(--radius-md) 0; }
.banner-success { background: var(--success-bg); color: var(--success-text); border: 0.5px solid var(--success-border); }
.banner-error { background: var(--danger-bg); color: var(--danger-text); border: 0.5px solid #FCA5A5; }
.banner i { font-size: 16px; flex-shrink: 0; margin-top: 1px; }

/* Kompakte Variante des Info-Banners direkt unter einem Field/Select */
.banner.variant-hint {
  padding: 10px 12px;
  font-size: 12.5px;
  margin: 8px 0 0;
}
.variant-hint-image {
  display: block;
  max-width: 180px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-top: 8px;
  cursor: zoom-in;
  border: 1px solid var(--brand-border, #ddd);
}

/* Lightbox-Overlay für vergrößerte Hint-Bilder */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.9);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ═════════════════════════════════════════════════════════════
   TRACKING (Bestellverfolgung)
   ═════════════════════════════════════════════════════════════ */

.tracking-status {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
}
.tracking-step {
  display: flex;
  gap: 16px;
  padding: 14px 0;
  position: relative;
}
.tracking-step::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 36px;
  bottom: -14px;
  width: 2px;
  background: var(--border);
}
.tracking-step:last-child::before { display: none; }
.tracking-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}
.tracking-step.done .tracking-dot { background: var(--brand); color: white; }
.tracking-step.active .tracking-dot {
  background: var(--brand);
  color: white;
  box-shadow: 0 0 0 6px var(--brand-light);
}
.tracking-step.active .tracking-label { font-weight: 600; color: var(--text); }
.tracking-info { flex: 1; padding-top: 2px; }
.tracking-label { font-size: 14px; color: var(--text-muted); }
.tracking-time { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ═════════════════════════════════════════════════════════════
   FOOTER
   ═════════════════════════════════════════════════════════════ */

.shop-footer {
  background: var(--card);
  border-top: 0.5px solid var(--border);
  padding: 40px 24px 24px;
  margin-top: 64px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}
.footer-col strong {
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
  display: block;
  margin-bottom: 6px;
}
.footer-legal {
  font-size: 12px;
}
.footer-legal a {
  color: var(--text-muted);
}
.footer-legal a:hover { color: var(--text); }
.footer-small {
  font-size: 11px;
  margin-top: 12px;
  color: var(--text-light);
}

/* ═════════════════════════════════════════════════════════════
   WhatsApp Floating Button
   ═════════════════════════════════════════════════════════════ */

.wa-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 99;
  transition: transform 0.2s;
}
.wa-button:hover { transform: scale(1.08); color: white; }

@media (max-width: 640px) {
  .wa-button { bottom: 16px; right: 16px; width: 48px; height: 48px; font-size: 24px; }
}

/* ═════════════════════════════════════════════════════════════
   TOAST
   ═════════════════════════════════════════════════════════════ */

.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: white;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s;
  z-index: 1000;
  max-width: 90%;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.error { background: #991B1B; }
.toast.success { background: #14532D; }

/* ═════════════════════════════════════════════════════════════
   LOADING
   ═════════════════════════════════════════════════════════════ */

.loader {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 48px;
  color: var(--text-muted);
  font-size: 13px;
}
.loader-spinner {
  width: 32px; height: 32px;
  border: 2px solid var(--border);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-right: 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ═════════════════════════════════════════════════════════════
   ANIMATIONEN
   ═════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeUp 0.3s ease-out; }

/* ═════════════════════════════════════════════════════════════
   ERFOLGS-SEITE
   ═════════════════════════════════════════════════════════════ */

.success-screen {
  text-align: center;
  padding: 64px 24px;
  max-width: 600px;
  margin: 0 auto;
}
.success-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin: 0 auto 24px;
}
.success-screen h1 {
  font-family: var(--font-display);
  font-size: 32px;
  margin-bottom: 12px;
}
.success-screen p { color: var(--text-muted); font-size: 16px; }
.success-order-num {
  display: inline-block;
  padding: 8px 16px;
  background: var(--brand-light);
  color: var(--brand-dark);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: monospace;
  margin: 16px 0;
}
.success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 32px;
  flex-wrap: wrap;
}
.success-actions .btn { width: auto; min-width: 200px; }
