/**
 * JUSTANDERSSON – Konfigurator Styles
 * Phase 4+5 – Glasmorphism-Design passend zur index.html
 * UI-Redesign gemäß blueprint-UI-konfigurator.md
 * 
 * Wird zusätzlich zu shared/styles.css geladen.
 * Alle Komponenten nutzen CSS Custom Properties aus dem Shared-Stylesheet.
 */

/* ================================================================
   VARIABLE MAPPINGS (Legacy → Shared Tokens)
   ================================================================ */
:root {
  --accent: var(--lime);
  --accent-hover: var(--lime-glow);
  scroll-behavior: smooth;
  --bg-dark: var(--blue-dark);
  --text-dark: var(--text);
}

/* ================================================================
   SEARCH AUTOCOMPLETE
   ================================================================ */
.search-autocomplete {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--text-light);
  pointer-events: none;
  z-index: 1;
}

.search-input {
  width: 100%;
  padding: 16px 48px 16px 52px;
  font-size: 18px;
  font-family: var(--font-body);
  color: var(--text);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all 0.3s ease;
  height: 52px;
}

.search-input::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198, 207, 21, 0.15), 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-hint {
  text-align: center;
  margin-top: 12px;
  font-size: 13px;
  color: var(--text-light);
  opacity: 0.7;
}

/* ── Intro-Aktionen unter der Suche ── */
.search-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  margin-top: 28px;
  width: 100%;
}

.search-actions-divider {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
  color: var(--text-light);
  font-size: 12px;
  opacity: 0.6;
}
.search-actions-divider::before,
.search-actions-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d1d9e0;
}

.search-action-btn {
  width: 100%;
  justify-content: flex-start;
  font-size: 15px !important;
  font-weight: 500 !important;
}

.search-action-link {
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 13px;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color 0.2s;
}
.search-action-link:hover {
  color: var(--blue, #3D5E77);
}

.search-spinner {
  position: absolute;
  right: 16px;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Dropdown */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 8px;
  max-height: 420px;
  overflow-y: auto;
  z-index: 100;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.search-group {
  margin-bottom: 8px;
}

.search-group-header {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-group-type {
  font-weight: 400;
  font-size: 10px;
  background: rgba(255,255,255,0.1);
  padding: 1px 6px;
  border-radius: 4px;
  text-transform: none;
}

.search-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  border: 1px solid transparent;
}

.search-item:hover,
.search-item.active {
  background: rgba(198, 207, 21, 0.08);
  border-color: rgba(198, 207, 21, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61, 94, 119, 0.08);
}

.search-item-name {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 12px;
}

.search-item-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.search-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.badge-smb { background: var(--lime); color: var(--blue-dark); font-weight: 700; }
.badge-gam { background: var(--gray-light); color: var(--text-light); }

.search-item-price {
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text);
  white-space: nowrap;
}

.search-no-results {
  text-align: center;
  padding: 24px;
}
.search-no-results p { font-size: 15px; color: var(--text-dark); }
.search-no-results small { font-size: 13px; color: var(--text-light); }

/* ================================================================
   WIZARD STEPPER (Phase U2)
   Glasmorphism-Leiste mit 5 Schritten, Verbindungslinien,
   klickbare abgeschlossene Schritte, Mobile-Dots
   ================================================================ */
.wizard-stepper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 32px;
  padding: 20px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--glass-shadow);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.wizard-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  position: relative;
  cursor: default;
  transition: all 0.3s ease;
  padding: 0 4px;
}

/* Verbindungslinien zwischen Schritten */
.wizard-connector {
  flex: 1;
  height: 2px;
  margin-top: 18px;
  min-width: 32px;
  max-width: 80px;
  border-top: 2px dashed var(--gray-light);
  transition: all 0.4s ease;
}
.wizard-connector.completed {
  border-top: 2px solid var(--blue);
}

/* Schritt-Kreis */
.wizard-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font-body);
  transition: all 0.3s ease;
  position: relative;
  flex-shrink: 0;
}

/* Zustand: Zukünftig */
.wizard-step.future .wizard-dot {
  background: var(--gray-light);
  color: var(--gray);
  cursor: not-allowed;
}
.wizard-step.future .wizard-label {
  color: var(--gray);
}

/* Zustand: Abgeschlossen */
.wizard-step.completed .wizard-dot {
  background: var(--blue);
  color: var(--white);
  cursor: pointer;
}
.wizard-step.completed:hover .wizard-dot {
  background: var(--blue-light);
  transform: scale(1.08);
}
.wizard-step.completed .wizard-label {
  color: var(--text-light);
}

/* Zustand: Aktiv (aktueller Schritt) */
.wizard-step.active .wizard-dot {
  background: var(--lime);
  color: var(--blue-dark);
  box-shadow: 0 0 0 4px rgba(198, 207, 21, 0.25);
}
.wizard-step.active .wizard-label {
  font-weight: 600;
  color: var(--text);
}

/* Schritt-Label */
.wizard-label {
  font-size: 12px;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--text-light);
  text-align: center;
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Warenkorb-Badge */
.wizard-badge {
  position: absolute;
  top: -6px;
  right: -10px;
  background: var(--lime);
  color: var(--blue-dark);
  font-size: 11px;
  font-weight: 700;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* Checkmark SVG im abgeschlossenen Kreis */
.wizard-check {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 3;
  fill: none;
}

/* ── MOBILE STEPPER (<768px) ── */
.wizard-stepper-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 6px 16px;
  background: rgba(15, 15, 30, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  margin: -8px -16px 16px;
}
.wizard-mobile-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.wizard-mobile-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.3s ease;
  border: none;
  padding: 0;
  cursor: default;
}
.wizard-mobile-dot.completed { background: var(--blue); cursor: pointer; width: 8px; height: 8px; }
.wizard-mobile-dot.active {
  background: var(--lime);
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 2px rgba(198, 207, 21, 0.25);
}
.wizard-mobile-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  opacity: 0.7;
}

/* ================================================================
   BUTTONS (Glass Style)
   ================================================================ */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 16px rgba(198, 207, 21, 0.3);
  transform: scale(1.02);
}
.btn-primary:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}

.btn-secondary {
  background: #fff;
  color: var(--text-dark);
  border-color: #d1d9e0;
}
.btn-secondary:hover {
  background: #f0f4f8;
  border-color: var(--blue-light, #5A8BA6);
}
.btn-secondary:active {
  transform: scale(0.96);
  transition: transform 0.1s;
}

.link-btn {
  background: none;
  border: none;
  color: var(--primary-light);
  cursor: pointer;
  font-size: 14px;
  font-family: var(--font-body);
  padding: 8px 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.link-btn:hover { color: var(--accent); }

/* ================================================================
   WIZARD CONTENT
   ================================================================ */
.wizard-content {
  max-width: 720px;
  margin: 0 auto;
}

/* ================================================================
   U15: SCHRITT-WECHSEL-ANIMATION
   ================================================================ */
.step-enter-right {
  animation: stepSlideRight 0.3s ease-out both;
}
.step-enter-left {
  animation: stepSlideLeft 0.3s ease-out both;
}

@keyframes stepSlideRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes stepSlideLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   U15: GLASS-CARD HOVER (Desktop)
   ================================================================ */
@media (min-width: 768px) {
  .glass-card-static {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .glass-card-static:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(61, 94, 119, 0.18);
  }
}

/* ================================================================
   U15: PREIS-ANIMATION
   ================================================================ */
.price-glow-anim {
  animation: priceGlow 0.6s ease;
}
@keyframes priceGlow {
  0%   { text-shadow: none; }
  30%  { text-shadow: 0 0 12px rgba(198, 207, 21, 0.7), 0 0 24px rgba(198, 207, 21, 0.3); }
  100% { text-shadow: none; }
}

/* Extra-Positionen: slideDown Eintritt */
.price-line-enter {
  animation: priceLineSlide 0.25s ease-out both;
}
@keyframes priceLineSlide {
  from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
  to   { opacity: 1; max-height: 40px; }
}

/* ================================================================
   U15: TOAST-NACHRICHTEN
   ================================================================ */
.toast-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(61, 94, 119, 0.18);
  border-left: 3px solid var(--accent, #C6CF15);
  animation: toastSlideIn 0.3s ease-out both;
  max-width: 340px;
  min-width: 200px;
}

.toast-item.toast-info {
  border-left-color: var(--primary-light, #5A8BA6);
}

.toast-item.toast-exit {
  animation: toastSlideOut 0.3s ease-in both;
}

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes toastSlideOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(100%); }
}

.toast-message {
  font-family: var(--font-body, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark, #1a2744);
  flex: 1;
}

.toast-close {
  background: none;
  border: none;
  font-size: 18px;
  color: var(--text-light, #6b7280);
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  opacity: 0.5;
  transition: opacity 0.2s;
}
.toast-close:hover {
  opacity: 1;
}

/* ================================================================
   U15: MODAL-ANIMATION (Keyframes – Anwendung in .pq-modal-overlay / .pq-modal)
   ================================================================ */
@keyframes modalOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes modalCardIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

/* ================================================================
   U15: SKELETON-LOADER (für zukünftige API-Aufrufe)
   ================================================================ */
.skeleton-loading {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius, 20px);
}
.skeleton-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 40%,
    rgba(255, 255, 255, 0.1) 50%,
    rgba(255, 255, 255, 0.06) 60%,
    transparent 100%
  );
  animation: skeletonShimmer 1.8s ease-in-out infinite;
}
@keyframes skeletonShimmer {
  0%   { left: -150%; }
  100% { left: 150%; }
}

/* Skeleton-Platzhalter-Elemente */
.skeleton-line {
  height: 14px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}
.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }
.skeleton-line.full { width: 100%; }
.skeleton-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.wizard-step-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  text-align: center;
}

/* ================================================================
   VARIANT SELECTOR (U5 – Glasmorphism Redesign)
   ================================================================ */

.variant-selector {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.variant-header {
  text-align: center;
  margin-bottom: 32px;
}

.variant-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--text-dark);
  margin: 0 0 8px 0;
}

.variant-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--text-light);
  margin: 0;
}

/* === Zwei Karten nebeneinander === */
.variant-cards-u5 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

/* === Gemeinsame Karten-Basis === */
.variant-card-u5 {
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.variant-card-u5:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
}

/* === SMB-Karte (primaer, hervorgehoben) === */
.variant-card-smb {
  border: 2px solid var(--accent, #C6CF15) !important;
  background: linear-gradient(
    135deg,
    rgba(198, 207, 21, 0.08) 0%,
    rgba(255, 255, 255, 0.55) 100%
  ) !important;
}

/* === GAM-Karte (standard) === */
.variant-card-gam {
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* === Badges === */
.variant-badge-recommended {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--accent, #C6CF15);
  color: var(--blue-dark, #1a2744);
  margin-bottom: 16px;
}

.variant-badge-gam {
  display: inline-block;
  padding: 5px 16px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gray-light, #e5e7eb);
  color: var(--text-light, #6b7280);
  margin-bottom: 16px;
}

/* === Karten-Titel === */
.variant-card-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-dark);
  margin: 0 0 12px 0;
}

.variant-card-title-gam {
  font-weight: 600;
}

/* === Karten-Beschreibung === */
.variant-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--text-light, #6b7280);
  line-height: 1.6;
  margin: 0 0 20px 0;
  max-width: 320px;
}

/* === Karten-Preis === */
.variant-card-price {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.variant-card-price-smb {
  font-weight: 700;
  font-size: 28px;
}

/* === Button volle Breite === */
.variant-btn-full {
  width: 100%;
  max-width: 280px;
  margin-top: auto;
}

/* === Einzelvariante-Karte === */
.variant-single-card {
  max-width: 480px;
  margin: 0 auto 28px;
  padding: 40px 32px;
  text-align: center;
}

.variant-single-icon {
  color: var(--accent, #C6CF15);
  margin-bottom: 16px;
}

.variant-only-note {
  font-size: 16px;
  color: var(--text-light, #6b7280);
  margin-bottom: 20px;
  line-height: 1.5;
}

.variant-single-price {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--text-dark);
  margin-bottom: 24px;
}

/* === "Was ist der Unterschied?" Toggle === */
.variant-diff-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent, #C6CF15);
  cursor: pointer;
  padding: 10px 16px;
  margin: 0 auto 16px;
  transition: opacity 0.2s;
}

.variant-diff-toggle:hover {
  opacity: 0.8;
}

.variant-diff-chevron {
  transition: transform 0.3s ease;
}

.variant-diff-chevron.open {
  transform: rotate(180deg);
}

/* === Vergleichstabelle === */
.variant-diff-table-wrap {
  max-width: 600px;
  margin: 0 auto 28px;
  padding: 24px;
  animation: fadeSlideIn 0.3s ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.variant-diff-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
}

.variant-diff-table thead th {
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light, #6b7280);
  padding: 8px 12px;
  text-align: center;
  border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.variant-diff-table thead th:first-child {
  text-align: left;
}

.variant-diff-th-smb {
  color: var(--accent, #C6CF15) !important;
}

.variant-diff-table tbody td {
  padding: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.variant-diff-label {
  font-weight: 500;
  color: var(--text-dark);
}

.variant-diff-val {
  text-align: center;
  font-weight: 600;
  font-size: 16px;
}

.variant-diff-yes {
  color: var(--accent, #C6CF15);
}

.variant-diff-no {
  color: var(--gray, #9ca3af);
}

.variant-diff-exp {
  color: var(--text-light, #6b7280);
  font-size: 12px;
  font-weight: 500;
}

/* === Zurueck-Link === */
.variant-back-link {
  display: block;
  margin: 24px auto 0;
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light, #6b7280);
  cursor: pointer;
  padding: 8px 16px;
  transition: color 0.2s;
}

.variant-back-link:hover {
  color: var(--accent, #C6CF15);
}

/* === Responsive Mobile === */
@media (max-width: 767px) {
  .variant-cards-u5 {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .variant-title {
    font-size: 22px;
  }

  .variant-card-u5 {
    padding: 24px 20px;
  }

  .variant-card-price-smb {
    font-size: 24px;
  }

  .variant-diff-table-wrap {
    padding: 16px 12px;
  }

  .variant-diff-table {
    font-size: 13px;
  }

  .variant-diff-val {
    font-size: 14px;
  }
}

/* ================================================================
   U6: ZWEI-SPALTEN-LAYOUT (Options + Preis-Sidebar)
   ================================================================ */

.config-two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.config-options-col {
  min-width: 0; /* Prevents grid blowout */
}

.config-sidebar-col {
  position: sticky;
  top: 140px; /* Nav + Stepper */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Sidebar-spezifische Styles */
.config-sidebar-col .config-actions {
  flex-direction: column;
}

.config-sidebar-col .config-actions .btn-glass {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
}

/* Sekundaere Links in der Sidebar */
.config-sidebar-col .product-question-wrap,
.config-sidebar-col .save-config-wrap {
  text-align: center;
}

/* ── Mobile Footer (fixiert unten) ── */

/* Sekundaere Links in der Sidebar */
.config-sidebar-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.config-sidebar-links a,
.config-sidebar-links button {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-light, #6b7280);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.config-sidebar-links a:hover,
.config-sidebar-links button:hover {
  color: var(--blue, #3D5E77);
}

/* Versand-Hinweis */
.config-sidebar-shipping {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-light, #6b7280);
  text-align: center;
  opacity: 0.7;
  margin: 0;
}

.config-mobile-footer {
  display: none; /* Nur auf Mobile sichtbar */
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 12px 16px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  align-items: center;
  gap: 16px;
}

.config-mobile-footer-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}

.config-mobile-footer-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light, #6b7280);
}

.config-mobile-footer-total {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark, #1a2744);
}

.config-mobile-footer-btn {
  flex: 1;
  min-height: 44px;
  font-size: 14px;
  white-space: nowrap;
}

/* ── Responsive: Mobile ── */
@media (max-width: 767px) {
  .config-two-col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .config-sidebar-col {
    position: static;
    /* Sidebar-Inhalte auf Mobile ausblenden, Mobile-Footer uebernimmt */
  }

  /* PriceSummary auf Mobile kompakter */
  .config-sidebar-col .config-actions {
    margin-bottom: 80px; /* Platz fuer Mobile Footer */
  }

  
/* Sekundaere Links in der Sidebar */
.config-sidebar-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.config-sidebar-links a,
.config-sidebar-links button {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-light, #6b7280);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.config-sidebar-links a:hover,
.config-sidebar-links button:hover {
  color: var(--blue, #3D5E77);
}

/* Versand-Hinweis */
.config-sidebar-shipping {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: var(--text-light, #6b7280);
  text-align: center;
  opacity: 0.7;
  margin: 0;
}

.config-mobile-footer {
    display: flex;
  }
}

/* ================================================================
   U7: OPTION-CARDS (individuelle Glasmorphism-Karten)
   ================================================================ */

.config-options-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Jede Option als eigene Glass-Card */
.option-card {
  padding: 20px 24px;
  transition: box-shadow 0.2s ease;
}

.option-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Titel der Option-Card */
.option-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Body innerhalb einer Option-Card */
.option-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Warnung (Fraesarbeiten etc.) */
.option-card-warning {
  border-left: 3px solid #f59e0b;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(255, 255, 255, 0.55) 100%) !important;
}

/* Info (Pruefpunkt etc.) */
.option-card-info {
  border-left: 3px solid var(--blue, #3D5E77);
}

/* Puffer: Enthalten-Badge */
.option-card .config-tag-blue {
  background: rgba(198, 207, 21, 0.12);
  color: var(--accent, #C6CF15);
  border: 1px solid rgba(198, 207, 21, 0.25);
}

/* Checkbox innerhalb von Option-Cards */
.option-card .config-checkbox-label {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-dark, #1a2744) !important;
}

.option-card .config-checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent, #C6CF15);
}

/* Select-Dropdown in Option-Cards */
.option-card .config-input {
  background: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  color: var(--text-dark, #1a2744);
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 10px;
}

.option-card .config-input:focus {
  border-color: var(--accent, #C6CF15);
  box-shadow: 0 0 0 3px rgba(198, 207, 21, 0.15);
}

.option-card .config-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.option-card select.config-input {
  color: var(--text-dark, #1a2744);
}

/* Mengen-Stepper in Option-Cards */
.option-card .config-qty-row button,
.option-card .config-qty-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
  background: rgba(255, 255, 255, 0.7) !important;
  color: var(--text-dark, #1a2744) !important;
  font-size: 16px !important;
  cursor: pointer;
  transition: all 0.2s;
}

.option-card .config-qty-row button:hover,
.option-card .config-qty-btn:hover {
  background: var(--accent, #C6CF15) !important;
  color: var(--blue-dark, #1a2744) !important;
  border-color: var(--accent, #C6CF15) !important;
}

/* Responsive */
@media (max-width: 767px) {
  .option-card {
    padding: 16px 18px;
  }

  .option-card-title {
    font-size: 15px;
    margin-bottom: 12px;
    padding-bottom: 8px;
  }
}

/* ================================================================
   CONFIGURE OPTIONS
   ================================================================ */
.config-product-info {
  padding: 20px 24px;
  margin-bottom: 20px;
}

.config-product-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.config-product-header h3 {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
}

.config-product-name {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.config-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
  display: block;
}

.config-media-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.config-media-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(198, 207, 21, 0.12);
  color: var(--accent);
  text-decoration: none;
  transition: all 0.2s;
  border: 1px solid rgba(198, 207, 21, 0.2);
}

.config-media-link:hover {
  background: rgba(198, 207, 21, 0.22);
  border-color: var(--accent);
}

.config-form {
  padding: 16px;
  margin-bottom: 20px;
}

/* ── 2-Spalten-Grid ── */
/* config-grid: still used for K10 custom fields */
.config-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

/* ── Einzelnes Feld: sichtbarer Container ── */
/* U7: Replaced by .option-card */
.config-cell {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  padding: 12px 14px;
}

.config-cell-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.config-cell-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* ── Tags (Info-Badges) ── */
.config-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.config-tag-blue {
  background: rgba(59,130,246,0.15);
  color: #93C5FD;
  border: 1px solid rgba(59,130,246,0.25);
}

.config-tag-accent {
  background: rgba(198,207,21,0.12);
  color: var(--accent);
  font-family: var(--font-mono);
  border: 1px solid rgba(198,207,21,0.25);
}

.config-tag-warn {
  background: rgba(245,158,11,0.12);
  color: #FBBF24;
  border: 1px solid rgba(245,158,11,0.2);
}

.config-tag-info {
  background: rgba(99,102,241,0.10);
  color: #A5B4FC;
  border: 1px solid rgba(99,102,241,0.2);
}

/* ── Formularfelder ── */
.config-field {
  margin-bottom: 14px;
}

.config-field > label,
.config-field > .config-cell-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 8px;
}

/* ── Inputs: klar sichtbare Grenzen ── */
.config-input {
  width: 100%;
  padding: 9px 12px;
  font-size: 13px;
  font-family: var(--font-body);
  color: #fff;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.20);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.config-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(198,207,21,0.15);
}

.config-input::placeholder {
  color: rgba(255,255,255,0.30);
}

select.config-input {
  appearance: auto;
  cursor: pointer;
}

/* ── Hinweis-Felder mit eigenen Containern ── */
.config-warning {
  background: rgba(245,158,11,0.06);
  border: 1px solid rgba(245,158,11,0.18);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.config-note {
  background: rgba(99,102,241,0.06);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

/* ── Checkbox ── */
.config-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--text-dark) !important;
}

.config-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
}

.config-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cart-section {
  margin-bottom: 20px;
}

.cart-section-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 10px;
}

.cart-items {
  margin-bottom: 20px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  margin-bottom: 8px;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cart-item-info h4 { font-size: 15px; font-weight: 600; }

.cart-item-details {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cart-item-details small {
  font-size: 12px;
  color: var(--text-light);
  background: rgba(255,255,255,0.06);
  padding: 2px 8px;
  border-radius: 4px;
}

.cart-detail-name {
  width: 100%;
  opacity: 0.6;
  font-style: italic;
}

.cart-item-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.cart-item-actions {
  display: flex;
  gap: 6px;
}

.cart-item-edit {
  background: rgba(90,139,166,0.15);
  color: var(--primary-light);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cart-item-edit:hover { background: rgba(90,139,166,0.3); }

.cart-item-remove {
  background: rgba(229,62,62,0.15);
  color: #E53E3E;
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cart-item-remove:hover { background: rgba(229,62,62,0.3); }

/* Cart Summary */
.cart-summary {
  padding: 16px 20px;
  margin-bottom: 24px;
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.cart-total-line {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cart-grand-total {
  font-size: 22px;
  color: var(--accent);
}

/* ================================================================
   U12: SEKUNDAERE FEATURES – Modals + Links
   ================================================================ */

/* ── Sekundäre Links ── */
.secondary-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 12px;
}

.secondary-link {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-light, #6b7280);
  cursor: pointer;
  padding: 8px 0;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.secondary-link:hover {
  color: var(--blue, #3D5E77);
}

/* ── Produktfrage-Modal ── */
.pq-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: modalOverlayIn 0.2s ease both;
}

.pq-modal {
  max-width: 500px;
  width: 100%;
  padding: 28px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalCardIn 0.25s ease-out both;
}

.pq-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pq-modal-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
  margin: 0;
}

.pq-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-light, #6b7280);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background 0.2s;
}

.pq-modal-close:hover {
  background: rgba(0, 0, 0, 0.06);
}

/* Produkt-Info-Zeile */
.pq-product-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  margin-bottom: 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-dark, #1a2744);
}

/* Formular-Elemente */
.pq-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.pq-field {
  margin-bottom: 12px;
}

.pq-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
  margin-bottom: 4px;
}

.pq-hint-min {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.6;
}

/* Dropzone */
.pq-dropzone {
  border: 2px dashed rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s;
}

.pq-dropzone:hover {
  border-color: var(--accent, #C6CF15);
}

.pq-dropzone-icon {
  font-size: 24px;
}

.pq-dropzone-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  margin: 4px 0 0 0;
}

/* Thumbnails */
.pq-thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.pq-thumb {
  position: relative;
  width: 64px;
  height: 64px;
}

.pq-thumb-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.pq-thumb-remove {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e74c3c;
  color: #fff;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Fehler + Absenden */
.pq-error {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #e74c3c;
  margin-bottom: 8px;
}

.pq-submit {
  width: 100%;
}

/* Erfolg */
.pq-success {
  text-align: center;
  padding: 24px 0;
}

.pq-success-icon {
  font-size: 40px;
}

.pq-success-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
  margin: 8px 0 0 0;
}

.pq-success-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  margin: 4px 0 0 0;
}

/* ── Platzhalter-Modal (Speichern/Laden) ── */
.placeholder-body {
  text-align: center;
  padding: 12px 0;
}

.placeholder-icon {
  font-size: 40px;
  display: block;
  margin-bottom: 12px;
}

.placeholder-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark, #1a2744);
  margin: 0 0 8px 0;
}

.placeholder-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-light, #6b7280);
  margin: 0 0 20px 0;
}

.placeholder-ok {
  min-width: 140px;
}

/* ── Responsive U12 ── */
@media (max-width: 767px) {
  .pq-modal {
    padding: 20px;
    max-height: 85vh;
  }

  .pq-form-row {
    grid-template-columns: 1fr;
  }

  .pq-modal-title {
    font-size: 16px;
  }
}

/* ================================================================
   U10: WARENKORB / UEBERSICHT – Kassenbon-Stil
   ================================================================ */

/* ── Leerer Warenkorb ── */
.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
  gap: 16px;
}

.cart-empty-icon {
  opacity: 0.5;
  margin-bottom: 8px;
}

.cart-empty-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark, #1a2744);
  margin: 0;
}

.cart-empty-hint {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-light, #6b7280);
  margin: 0;
}

/* ── Uebersicht Layout ── */
.cart-overview {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-overview-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark, #1a2744);
  margin: 0 0 4px 0;
}

/* ── Kassenbon-Karte pro Item ── */
.cart-receipt {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cart-receipt-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.cart-receipt-index {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--accent, #C6CF15);
  flex-shrink: 0;
}

.cart-receipt-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-receipt-title strong {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
}

.cart-receipt-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-light, #6b7280);
}

/* ── Positionen (Kassenbon-Zeilen) ── */
.cart-receipt-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  margin-bottom: 12px;
}

.cart-receipt-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.cart-receipt-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark, #1a2744);
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-receipt-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(0,0,0,0.1);
}

.cart-receipt-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark, #1a2744);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cart-receipt-remark {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-style: italic;
  color: var(--text-light, #6b7280);
  margin-top: 4px;
}

/* ── Zwischensumme ── */
.cart-receipt-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.cart-receipt-total span {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-light, #6b7280);
}

.cart-receipt-total strong {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark, #1a2744);
}

/* ── Aktions-Links ── */
.cart-receipt-actions {
  display: flex;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}

.cart-action-btn {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 4px 0;
  transition: color 0.2s;
}

.cart-action-edit {
  color: var(--blue, #3D5E77);
}

.cart-action-edit:hover {
  color: var(--accent, #C6CF15);
}

.cart-action-remove {
  color: #e74c3c;
  opacity: 0.7;
}

.cart-action-remove:hover {
  opacity: 1;
}

/* ── Gesamt-Zusammenfassung ── */
.cart-grand-summary {
  padding: 24px;
}

.cart-grand-summary .cart-receipt-line {
  margin-bottom: 6px;
}

.cart-grand-total-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 8px;
  border-top: 2px solid rgba(0, 0, 0, 0.08);
}

.cart-grand-total-line span:first-child {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
}

.cart-grand-total-price {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark, #1a2744);
}

/* Versand-Hinweis */
.cart-shipping-hint {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(52, 152, 219, 0.06);
}

.cart-shipping-hint p {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-light, #6b7280);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-shipping-free {
  background: rgba(46, 204, 113, 0.06);
}

.cart-shipping-free p {
  color: #2ecc71;
}

.cart-shipping-eu {
  font-size: 11px !important;
  opacity: 0.6;
  margin-top: 4px !important;
  margin-left: 22px;
}

/* ── Action-Buttons ── */
.cart-overview-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 440px;
  width: 100%;
}

.cart-secondary-btn {
  width: 100%;
  justify-content: flex-start;
  font-weight: 500 !important;
}

.cart-proceed-btn {
  min-height: 48px;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.cart-back-link {
  background: none;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-light, #6b7280);
  cursor: pointer;
  text-align: left;
  padding: 4px 0;
  transition: color 0.2s;
}

.cart-back-link:hover {
  color: var(--blue, #3D5E77);
}

/* ── Bestaetigungs-Dialog ── */
.cart-confirm-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.cart-confirm-dialog {
  max-width: 400px;
  width: 100%;
  padding: 28px;
  text-align: center;
}

.cart-confirm-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark, #1a2744);
  margin: 0 0 20px 0;
  line-height: 1.5;
}

.cart-confirm-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cart-confirm-buttons .btn-glass {
  min-width: 120px;
}

/* ── Zubehoer-Bereich ── */
.cart-acc-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-acc-summary {
  padding: 16px 20px;
}

/* ── Responsive U10 ── */
@media (max-width: 767px) {
  .cart-overview-title {
    font-size: 22px;
  }

  .cart-receipt {
    padding: 18px;
  }

  .cart-receipt-title strong {
    font-size: 15px;
  }

  .cart-grand-total-price {
    font-size: 24px;
  }

  .cart-overview-actions {
    max-width: 100%;
  }

  .cart-confirm-dialog {
    padding: 24px 20px;
  }
}

.cart-empty {
  text-align: center;
  padding: 48px 24px;
}
.cart-empty p { margin-bottom: 20px; color: var(--text-light); }

.cart-actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* ── Accessories in Cart ── */
.cart-acc-toggle {
  width: 100%;
  text-align: center;
  margin-bottom: 12px;
}

.cart-accessories {
  padding: 20px;
  margin-bottom: 16px;
}

.acc-group {
  margin-bottom: 16px;
}

.acc-group-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-light);
  margin-bottom: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.acc-icon { font-size: 16px; }

.acc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s;
}

.acc-item.acc-selected {
  background: rgba(198,207,21,0.08);
}

.acc-name {
  flex: 1;
  font-size: 14px;
}

.acc-price {
  font-size: 13px;
  color: var(--text-light);
  min-width: 60px;
  text-align: right;
}

.acc-qty-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.acc-qty-btn {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: var(--text-dark);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}
.acc-qty-btn:hover {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
}

.acc-qty {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}

.cart-acc-summary {
  margin-bottom: 12px;
}

.cart-acc-line {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-light);
  padding: 4px 0;
}

/* ── Info Tooltip ── */
.info-tip-wrap {
  position: relative;
  display: inline-block;
  margin-left: 6px;
}

.info-tip-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-light);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  margin-left: 4px;
  padding: 0;
  opacity: 0.7;
  transition: all 0.2s;
}
.info-tip-btn:hover { opacity: 1; border-color: var(--primary); color: var(--primary); }

.info-tip-text {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 30, 0.95);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.5;
  white-space: normal;
  width: 240px;
  z-index: 9999;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

/* Ensure glass cards don't clip tooltips */
.option-card.glass-card-static {
  overflow: visible;
}

/* ================================================================
   INQUIRY FORM (U11 Redesign)
   ================================================================ */

/* ── Seiten-Layout ── */
.inquiry-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 680px;
}

.inquiry-page-title {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark, #1a2744);
  margin: 0;
}

/* ── Kompakte Zusammenfassung ── */
.inquiry-summary {
  padding: 20px 24px;
}

.inquiry-summary-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light, #6b7280);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
}

.inquiry-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 4px 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--text-dark, #1a2744);
}

.inquiry-summary-price {
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.inquiry-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  margin-top: 8px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.inquiry-summary-total span {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
}

.inquiry-summary-total strong {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
}

/* ── Formular-Karte ── */
.inquiry-form-card {
  padding: 28px;
}

.inquiry-form-title {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark, #1a2744);
  margin: 0 0 20px 0;
}

/* ── Felder ── */
.inquiry-field {
  margin-bottom: 16px;
}

.inquiry-label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
  margin-bottom: 6px;
}

.inquiry-required {
  color: #e74c3c;
  font-weight: 400;
}

.inquiry-input {
  width: 100%;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text-dark, #1a2744);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.inquiry-input:focus {
  border-color: var(--accent, #C6CF15);
  box-shadow: 0 0 0 3px rgba(198, 207, 21, 0.2);
}

.inquiry-input::placeholder {
  color: var(--text-light, #6b7280);
  opacity: 0.6;
}

.inquiry-input-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1) !important;
}

.inquiry-textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 200px;
  line-height: 1.5;
}

.inquiry-field-error {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #e74c3c;
  margin-top: 4px;
}

/* PLZ + Ort nebeneinander */
.inquiry-row-plz {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 12px;
}

/* ── Fehler-Anzeige ── */
.inquiry-send-error {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 10px;
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #e74c3c;
}

/* ── Action-Buttons ── */
.inquiry-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.inquiry-submit-btn {
  width: 100%;
  min-height: 52px;
  font-size: 17px !important;
  font-weight: 600 !important;
  font-family: 'Syne', sans-serif !important;
}

/* ── Responsive U11 ── */
@media (max-width: 767px) {
  .inquiry-page-title {
    font-size: 22px;
  }

  .inquiry-form-card {
    padding: 20px;
  }

  .inquiry-form-title {
    font-size: 19px;
  }

  .inquiry-row-plz {
    grid-template-columns: 35% 1fr;
    gap: 8px;
  }

  .inquiry-input {
    padding: 10px 14px;
    font-size: 14px;
  }

  .inquiry-submit-btn {
    min-height: 48px;
    font-size: 16px !important;
  }
}


/* ================================================================
   U9: PRODUKTHINWEISE + HILFE & ANLEITUNGEN
   ================================================================ */

/* ── Dezente Produkthinweise (keine Glass-Card) ── */
.product-hints {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.product-hint {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-light, #6b7280);
  line-height: 1.5;
}

.product-hint-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--blue, #3D5E77);
  opacity: 0.7;
  margin-top: 2px;
}

/* ── Hilfe & Anleitungen Thumbnails ── */
.help-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.help-thumb {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  box-sizing: border-box;
}

.help-thumb:hover {
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* Video-Thumbnail */
.help-thumb-video {
  background: linear-gradient(135deg, var(--blue-dark, #1a2744) 0%, #2a3f5f 100%);
}

/* Anleitung-Thumbnail */
.help-thumb-manual {
  background: linear-gradient(135deg, #4a5568 0%, #718096 100%);
}

.help-thumb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.help-thumb-icon svg {
  opacity: 0.85;
  transition: opacity 0.2s;
  width: 28px;
  height: 28px;
}

.help-thumb:hover .help-thumb-icon svg {
  opacity: 1;
}

.help-thumb-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.help-thumb:hover .help-thumb-label {
  color: #fff;
}

/* ── Responsive U9 ── */
@media (max-width: 767px) {
  .product-hint {
    font-size: 13px;
  }

  .help-thumbnails {
    gap: 8px;
  }

  .help-thumb {
    padding: 9px 12px;
    gap: 10px;
  }

  .help-thumb-icon svg {
    width: 24px;
    height: 24px;
  }

  .help-thumb-label {
    font-size: 13px;
    white-space: normal;
  }
}

/* ================================================================
   U8: NANOLITZE, SOUND, BEMERKUNG – Verbesserte Styles
   ================================================================ */

/* ── Nanolitze Farbpunkt (24px Kreise) ── */
.nano-color-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2);
  transition: transform 0.15s ease;
}

.nano-row:hover .nano-color-dot {
  transform: scale(1.1);
}

/* ── Nanolitze Zeile ── */
.nano-row {
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s, border-color 0.2s;
}

.nano-row:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ── Nanolitze Mengen-Stepper ── */
.nano-qty-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.nano-qty-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-dark, #1a2744);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.nano-qty-btn:hover {
  background: var(--accent, #C6CF15);
  color: var(--blue-dark, #1a2744);
  border-color: var(--accent, #C6CF15);
}

.nano-qty-value {
  min-width: 28px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}

/* ── Nanolitze Preis ── */
.nano-price {
  font-size: 13px;
  color: var(--text-light, #6b7280);
  min-width: 70px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* ── Nanolitze Entfernen-Button ── */
.nano-remove-btn {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(231, 76, 60, 0.2);
  border-radius: 8px;
  background: rgba(231, 76, 60, 0.06);
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  color: #e74c3c;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.nano-remove-btn:hover {
  background: rgba(231, 76, 60, 0.15);
  border-color: #e74c3c;
}

/* ── Bemerkung Textarea ── */
.config-textarea {
  resize: vertical;
  min-height: 72px;
  max-height: 200px;
  line-height: 1.5;
  font-family: 'DM Sans', sans-serif;
}

/* ── Sound Option-Card Anpassungen ── */
.option-card .sound-project-list {
  gap: 8px;
}

.option-card .sound-option {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  transition: background 0.2s, border-color 0.2s;
}

.option-card .sound-option:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: rgba(0, 0, 0, 0.1);
}

.option-card .sound-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent, #C6CF15);
}

/* Sound: Hinzufuegen-Button */
.nano-add-btn {
  margin-top: 4px;
}

/* ── Responsive U8 ── */
@media (max-width: 767px) {
  .nano-color-dot {
    width: 20px;
    height: 20px;
  }

  .nano-qty-btn {
    width: 28px;
    height: 28px;
  }

  .nano-remove-btn {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .nano-price {
    min-width: 60px;
    font-size: 12px;
  }

  .config-textarea {
    min-height: 64px;
  }
}

/* ── Soundprojekt-Auswahl ── */
.config-sound {
  background: rgba(99,102,241,0.05);
  border: 1px solid rgba(99,102,241,0.15);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.config-sound > label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 4px;
}

.config-field-hint {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.sound-project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sound-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, border-color 0.2s;
}

.sound-option:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
}

.sound-option input[type="radio"] {
  margin-top: 2px;
  accent-color: var(--accent);
}

.sound-option-content {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: baseline;
}

.sound-name { color: var(--text-light); }

.sound-author {
  font-size: 11px;
  color: var(--text-light);
  opacity: 0.7;
}

.sound-status {
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  margin-left: 6px;
}

.sound-status-free {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.sound-status-coded {
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
}

/* ── Success indicator ── */
.success-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--accent);
  margin: 0 auto 16px;
  position: relative;
}
.success-check::after {
  content: '';
  display: block;
  width: 14px;
  height: 24px;
  border: solid var(--accent);
  border-width: 0 3px 3px 0;
  position: absolute;
  top: 8px;
  left: 16px;
  transform: rotate(45deg);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 767px) {
  .variant-cards-u5 {
    grid-template-columns: 1fr;
  }

  .config-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .wizard-stepper {
    display: none;
  }
  .wizard-stepper-mobile {
    display: flex;
  }

  .search-input {
    font-size: 15px;
    padding: 14px 42px 14px 46px;
  }

  .search-view-toggle { display: none; }

  .config-actions {
    flex-direction: column;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-actions {
    margin-left: auto;
  }

  .acc-item {
    flex-wrap: wrap;
    gap: 6px;
  }

  .acc-name {
    min-width: 100%;
    font-size: 13px;
  }

  .acc-price {
    flex: 1;
  }

  .info-tip-text {
    left: 0;
    transform: none;
    width: 200px;
  }

  .config-media-links {
    flex-direction: column;
    gap: 8px;
  }

  .inquiry-row-plz {
    grid-template-columns: 35% 1fr;
  }
}

/* ================================================================
   U13: RESPONSIVE MOBILE – Systematische Anpassungen
   ================================================================ */

/* ── U13.1: Globale Mobile-Regeln ── */
@media (max-width: 767px) {

  /* --- Touch-Ziele & Grundregeln --- */
  button, .btn-glass, select, input[type="text"], input[type="email"], input[type="tel"], textarea {
    min-height: 44px;
  }

  .btn-glass {
    width: 100%;
    min-height: 48px;
    font-size: 15px;
  }

  .glass-card-static {
    border-radius: 16px;
    padding: 16px;
  }

  /* --- Seitlicher Padding --- */
  .konfigurator-app,
  .wizard-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* --- Font-Minimum --- */
  body, p, span, label, small {
    font-size: max(14px, inherit);
  }

  /* ── SCHRITT 1: Suche ── */
  .search-autocomplete {
    margin: 0;
  }

  .search-input-wrap {
    width: 100%;
  }

  .search-input {
    width: 100%;
    height: 48px;
    font-size: 16px; /* Verhindert iOS-Zoom */
    padding: 10px 44px 10px 44px;
  }

  .search-hint {
    font-size: 14px;
    padding: 0 4px;
  }

  /* Ergebnis-Dropdown */
  .search-dropdown {
    max-height: 60vh;
    border-radius: 16px;
  }

  .search-item {
    padding: 12px 14px;
    min-height: 48px;
  }

  .search-item-name {
    font-size: 14px;
  }

  .search-item-meta {
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Suchergebnis-Karten */
  .search-result-card {
    padding: 14px;
  }

  .search-result-actions {
    flex-direction: column;
    gap: 8px;
  }

  .search-result-actions .btn-glass {
    width: 100%;
  }

  /* View-Toggle */
  .search-view-toggle {
  }

  /* ── SCHRITT 2: Varianten ── */
  .variant-cards-u5 {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .variant-card-u5 {
    padding: 20px;
  }

  .variant-card-u5 h3 {
    font-size: 20px;
  }

  .variant-price-u5 {
    font-size: 22px;
  }

  .variant-compare-toggle {
    font-size: 14px;
    padding: 10px 0;
  }

  /* Vergleichstabelle horizontal scrollbar */
  .variant-diff-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -16px;
    padding: 16px;
  }

  .variant-diff-table {
    min-width: 420px;
    font-size: 13px;
  }

  /* ── SCHRITT 3: Optionen ── */
  .config-two-col {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .config-sidebar-col {
    display: none !important; /* Sidebar versteckt, Footer übernimmt */
  }

  .config-options-stack {
    padding-bottom: 100px; /* Platz für fixierten Footer */
  }

  /* Fixierter Footer-Balken */
  .config-mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
    gap: 12px;
  }

  .config-mobile-footer-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
    cursor: pointer;
  }

  .config-mobile-footer-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    color: var(--text-light, #6b7280);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .config-mobile-footer-total {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark, #1a2744);
  }

  .config-mobile-footer-btn {
    flex-shrink: 0;
    width: auto !important;
    min-width: 0 !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    min-height: 44px !important;
    white-space: nowrap;
  }

  /* Option-Cards kompakter */
  .option-card {
    padding: 16px !important;
    border-radius: 16px;
  }

  .option-card-title {
    font-size: 15px;
  }

  /* Produktheader kompakter */
  .config-product-header {
    padding: 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .config-product-header h2 {
    font-size: 18px;
  }

  /* ── SCHRITT 4: Warenkorb ── */
  .cart-overview-title {
    font-size: 22px !important;
  }

  .cart-receipt {
    padding: 16px !important;
    border-radius: 16px;
  }

  .cart-receipt-header {
    flex-wrap: wrap;
    gap: 8px;
  }

  .cart-receipt-title strong {
    font-size: 14px;
  }

  .cart-receipt-line {
    font-size: 13px;
  }

  .cart-receipt-label {
    font-size: 13px;
  }

  .cart-receipt-price {
    font-size: 13px;
  }

  .cart-receipt-total strong {
    font-size: 16px;
  }

  .cart-receipt-actions {
    gap: 20px;
  }

  .cart-action-btn {
    font-size: 14px;
    min-height: 36px;
  }

  .cart-grand-summary {
    padding: 16px !important;
  }

  .cart-grand-total-price {
    font-size: 24px !important;
  }

  .cart-overview-actions {
    max-width: 100% !important;
  }

  .cart-confirm-dialog {
    padding: 24px 20px;
  }

  /* ── SCHRITT 5: Anfrage ── */
  .inquiry-page {
    max-width: 100%;
  }

  .inquiry-page-title {
    font-size: 22px !important;
  }

  .inquiry-form-card {
    padding: 20px !important;
  }

  .inquiry-form-title {
    font-size: 18px;
  }

  .inquiry-row-plz {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .inquiry-input {
    min-height: 44px;
    font-size: 16px; /* Verhindert iOS-Zoom */
    padding: 10px 14px;
  }

  .inquiry-submit-btn {
    min-height: 52px !important;
    font-size: 16px !important;
  }

  /* ── Wizard-Stepper Mobile ── */
  .wizard-stepper {
    display: none !important;
  }

  .wizard-stepper-mobile {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 0;
  }

  .wizard-mobile-dots {
    display: flex;
    gap: 6px;
  }

  .wizard-mobile-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.12);
    transition: all 0.3s;
  }

  .wizard-mobile-dot.active {
    background: var(--accent, #C6CF15);
    width: 24px;
    border-radius: 4px;
  }

  .wizard-mobile-dot.completed {
    background: var(--blue, #3D5E77);
  }

  .wizard-mobile-label {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark, #1a2744);
  }

  /* ── Modals Mobile ── */
  .pq-modal {
    max-width: 100%;
    max-height: 90vh;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    margin-top: auto; /* Bottom-aligned */
  }

  .pq-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .pq-form-row {
    grid-template-columns: 1fr !important;
  }

  .cart-confirm-overlay {
    padding: 16px;
  }

  /* ── Allgemein: Abstände ── */
  .cart-items-list,
  .cart-acc-section {
    gap: 12px;
  }

  .secondary-links {
    margin-top: 8px;
  }

  .secondary-link {
    min-height: 44px;
    font-size: 14px;
  }

  /* ── Empty-States ── */
  .cart-empty-state {
    padding: 40px 20px;
  }

  .cart-empty-title {
    font-size: 18px;
  }

}

/* ── Desktop: Stepper sichtbar, Mobile-Stepper versteckt ── */
@media (min-width: 768px) {
  .wizard-stepper-mobile {
    display: none !important;
  }

  .config-mobile-footer {
    display: none !important;
  }
}

/* ── Landscape-Modus auf kleinen Screens ── */
@media (max-width: 767px) and (orientation: landscape) {
  .search-hero-padding {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .wizard-stepper-mobile {
    flex-direction: row;
    gap: 10px;
  }

  .config-options-stack {
    padding-bottom: 80px;
  }
}

/* ── Safe-Area für fixierte Elemente ── */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  @media (max-width: 767px) {
    .config-mobile-footer {
      padding-bottom: calc(12px + env(safe-area-inset-bottom));
    }
  }
}

/* ================================================================
   U15: MOBILE TOAST POSITION
   ================================================================ */
@media (max-width: 767px) {
  .toast-container {
    top: auto;
    bottom: 20px;
    right: 12px;
    left: 12px;
  }
  .toast-item {
    max-width: 100%;
    min-width: auto;
  }

  /* U15: Keine Glass-Card-Hover auf Mobile */
  .glass-card-static:hover {
    transform: none;
    box-shadow: var(--glass-shadow);
  }

  /* Keine Button-Scale auf Mobile */
  .btn-primary:hover,
  .btn-secondary:hover {
    transform: none;
  }
}


/* ================================================================
   BF BUG-FIX CSS ADDITIONS
   ================================================================ */

/* B1: Better visibility for custom dimension input fields */
.config-form .config-input[type="number"] {
  background: rgba(255,255,255,0.9);
  color: #1a1a2e;
  border: 2px solid var(--border);
  min-height: 44px;
  font-size: 16px; /* Prevents iOS zoom */
}
.config-form .config-input[type="number"]:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

/* B8: Icon glow effect on hover/active */
.option-card svg,
.config-sidebar svg,
.config-product-header svg {
  transition: filter 0.2s ease;
}
.option-card:hover svg,
.config-sidebar svg:hover {
  filter: drop-shadow(0 0 6px rgba(var(--primary-rgb, 52, 152, 219), 0.4));
}

/* B8: Consistent icon sizing */
.config-sidebar svg,
.option-card-title svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}
.btn-glass svg {
  width: 20px;
  height: 20px;
  vertical-align: middle;
}

/* B12: Customer data loading section */
.inquiry-page .glass-card-static input[type="email"] {
  min-height: 44px;
  font-size: 16px;
}

/* BF3: Search hint box styling */
.search-hint-box {
  opacity: 0.7;
}
