.wizard-mode .order-form-wrapper {
  display: grid;
  gap: 1rem;
}

.wizard-shell {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  padding: 1.1rem 1.1rem 0.9rem;
  box-shadow:
    0 14px 40px rgba(0, 0, 0, 0.10),
    0 1px 0 rgba(255, 255, 255, 0.6) inset;
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.wizard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.wizard-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.wizard-steps {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.wizard-step {
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(0, 0, 0, 0.75);
}

.wizard-step.active {
  background: rgba(102, 126, 234, 0.18);
  color: rgba(40, 60, 160, 1);
  border: 1px solid rgba(102, 126, 234, 0.35);
}

.wizard-step.done {
  background: rgba(46, 125, 50, 0.14);
  color: rgba(20, 90, 30, 1);
  border: 1px solid rgba(46, 125, 50, 0.25);
}

.wizard-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 0.9rem;
  position: sticky;
  bottom: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.0), rgba(255,255,255,0.92) 26%, rgba(255,255,255,0.92));
  padding-bottom: 0.25rem;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.wizard-actions .btn {
  min-width: 120px;
}

/* Wizard Slider: Sections bleiben im DOM sichtbar und werden via Track bewegt */
.wizard-mode .order-form .form-section {
  display: block;
}

.wizard-progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(0,0,0,0.06);
  overflow: hidden;
  margin-top: 0.75rem;
}

.wizard-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(102,126,234,0.95), rgba(102,126,234,0.55));
  transition: width 320ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wizard-viewport {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255,255,255,0.70);
  border: 1px solid rgba(0,0,0,0.06);
  transition: height 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wizard-track {
  display: flex;
  width: 100%;
  transform: translate3d(0,0,0);
  transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.wizard-panel {
  width: 100%;
  flex: 0 0 100%;
  padding: 0.25rem 0.25rem 0.75rem;
}

.wizard-panel-inner {
  transform: translateY(0);
  opacity: 1;
  transition: opacity 260ms ease, transform 260ms ease;
}

.wizard-panel.is-leaving .wizard-panel-inner {
  opacity: 0.85;
  transform: translateY(-6px);
}

.wizard-panel.is-entering .wizard-panel-inner {
  opacity: 0.95;
  transform: translateY(6px);
}

/* Micro transitions (staggered enter) */
.wizard-stagger-item {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 260ms ease, transform 260ms ease;
  will-change: opacity, transform;
}

.wizard-panel.is-current .wizard-stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* Touch helpers */
.wizard-viewport {
  touch-action: pan-y;
}

/* Mobile: Container-Scroll + sticky Actions immer sichtbar */
@media (max-width: 640px) {
  .wizard-shell {
    max-width: 100%;
    padding: 0.95rem 0.9rem 0.6rem;
  }

  .wizard-viewport {
    max-height: 62vh;
    height: auto !important;
    overflow-y: auto;
    transition: none;
  }

  .wizard-actions {
    padding-top: 0.75rem;
    padding-bottom: 0.5rem;
  }
}

.wizard-reparaturen {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.wizard-reparatur-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.85);
}

.wizard-reparatur-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.wizard-reparatur-name {
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wizard-reparatur-meta {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.65);
}

.wizard-hint {
  font-size: 0.9rem;
  color: rgba(0,0,0,0.7);
  margin: 0.25rem 0 0;
}

.wizard-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin: 0.75rem 0;
}


