/* ==========================================
   MODERN WIZARD ASSISTANT DESIGN - GREEN THEME
   ========================================== */

/* Reset und Basis */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Hauptcontainer */
.nebenkosten-form-section {
  min-height: 100vh;
  background: linear-gradient(135deg, #065f46 0%, #047857 50%, #059669 100%);
  padding: 2rem 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  width: 100%;
}

/* Form Wrapper - Wizard Style */
.form-wrapper {
  display: flex;
  max-width: 100%;
  width: 100%;
  margin: 0;
  background: white;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
  min-height: 100vh;
}

/* Progress Sidebar */
.progress-container {
  flex: 0 0 320px;
  background: linear-gradient(180deg, #065f46 0%, #047857 50%, #059669 100%);
  padding: 2.5rem 2rem;
  position: relative;
}

.progress-container::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
}

/* Progress Header */
.progress-header {
  text-align: center;
  margin-bottom: 3rem;
  color: white;
}

.progress-header h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: white;
  line-height: 1.3;
}

.progress-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin: 0;
  line-height: 1.5;
  color:white;
}

/* Progress Steps */
#progressbar {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

#progressbar li {
  position: relative;
  padding: 1.75rem 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  line-height: 1.4;
}

#progressbar li::before {
  content: counter(step);
  counter-increment: step;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.25rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

#progressbar li.active {
  color: white;
  font-weight: 600;
}

#progressbar li.active::before {
  background: white;
  color: #047857;
  border-color: white;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

#progressbar li.completed::before {
  content: "✓";
  background: #10b981;
  border-color: #10b981;
  color: white;
  font-size: 1.1rem;
}

#progressbar li::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 65px;
  width: 2px;
  height: calc(100% - 20px);
  background: rgba(255, 255, 255, 0.2);
}

#progressbar li:last-child::after {
  display: none;
}

#progressbar li.active::after,
#progressbar li.completed::after {
  background: rgba(255, 255, 255, 0.4);
}

/* Form Content Area */
.form-content {
  flex: 1;
  padding: 3.5rem 3rem;
  background: white;
  display: flex;
  flex-direction: column;
}

/* Step Container */
.step {
  display: none;
  flex: 1;
  animation: fadeInUp 0.5s ease;
}

.step.active {
  display: flex;
  flex-direction: column;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Step Header */
.step legend {
  font-size: 2.25rem;
  font-weight: 700;
  color: #065f46;
  margin: 0 0 1rem 0;
  border: none;
  padding: 0;
  width: 100%;
  line-height: 1.2;
}

.step-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 3rem;
  line-height: 1.6;
}

/* Form Groups */
.form-group {
  margin-bottom: 2.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: #047857;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.form-group label.required::after {
  content: ' *';
  color: #dc2626;
  font-weight: 700;
}

.form-text {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.5rem;
  line-height: 1.4;
}

/* Input Styling */
.form-control,
.step input[type="text"],
.step input[type="email"],
.step input[type="number"],
.step input[type="date"],
.step select,
.step textarea {
  width: 100%;
  padding: 1.25rem 1.5rem;
  border: 2px solid #d1d5db;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  background: #fafbfc;
  font-family: inherit;
  line-height: 1.5;
}

.form-control:focus,
.step input:focus,
.step select:focus,
.step textarea:focus {
  outline: none;
  border-color: #047857;
  background: white;
  box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.1);
}

.form-control:hover,
.step input:hover,
.step select:hover,
.step textarea:hover {
  border-color: #059669;
}

/* Error States */
.form-control.error,
.step input.error,
.step select.error {
  border-color: #dc2626;
  background: #fef2f2;
}

.form-control.error:focus,
.step input.error:focus,
.step select.error:focus {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.1);
}

/* Choice Cards - VERBESSERT für bessere Sichtbarkeit */
.choice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.choice-card {
  border: 3px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  tabindex: 0;
}

.choice-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #047857, #059669);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Ausgewählte Karte - STARK sichtbar */
.choice-card.selected {
  border-color: #047857 !important;
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5) !important;
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(4, 120, 87, 0.25) !important;
}

.choice-card.selected::before {
  transform: scaleX(1) !important;
  height: 8px;
}

.choice-card.selected::after {
  content: '✓';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  background: #047857;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.choice-card:hover {
  border-color: #047857;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(4, 120, 87, 0.15);
}

.choice-card:hover::before {
  transform: scaleX(1);
}

.choice-card:focus-within,
.choice-card:focus {
  border-color: #047857;
  box-shadow: 0 0 0 4px rgba(4, 120, 87, 0.1);
  outline: none;
}

.choice-card i {
  font-size: 3rem;
  color: #047857;
  margin-bottom: 1.5rem;
  display: block;
}

.choice-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #065f46;
  margin: 0 0 1rem 0;
  line-height: 1.3;
}

.choice-card p {
  font-size: 1rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Radio Button Styling */
.choice-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.choice-card input[type="radio"]:focus + label {
  outline: 2px solid #047857;
  outline-offset: 2px;
}

.choice-card label {
  cursor: pointer;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0;
}

/* Range Slider - VERBESSERT mit besserer Anordnung */
.range-group {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 2px solid #d1fae5;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.range-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.range-slider {
  flex: 1;
  min-width: 200px;
}

.range-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.range-input {
  width: 80px;
  padding: 0.75rem;
  border: 2px solid #d1fae5;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: #047857;
  background: white;
}

.range-unit-label {
  font-size: 1.1rem;
  color: #047857;
  font-weight: 600;
}

.range-display {
  text-align: center;
  margin-bottom: 1.5rem;
}

.range-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #047857;
  margin: 0;
  line-height: 1;
}

.range-unit {
  font-size: 1.2rem;
  color: #059669;
  margin-top: 0.75rem;
  font-weight: 500;
}

.form-range {
  width: 100%;
  height: 10px;
  border-radius: 5px;
  background: #d1fae5;
  outline: none;
  appearance: none;
  cursor: pointer;
}

.form-range::-webkit-slider-thumb {
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #047857;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.4);
  transition: all 0.3s ease;
}

.form-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: #065f46;
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.5);
}

.form-range::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #047857;
  cursor: pointer;
  border: none;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.4);
}

.form-range:focus {
  outline: 2px solid #047857;
  outline-offset: 2px;
}

/* Package Display */
.package-container {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
}

.pricing-block {
  max-width: 550px;
  width: 100%;
}

.pricing-table {
  border: 3px solid #047857;
  border-radius: 24px;
  background: white;
  box-shadow: 0 24px 48px rgba(4, 120, 87, 0.15);
  overflow: hidden;
  position: relative;
}

.pricing-table::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #047857, #059669, #10b981);
}

.table-header {
  background: linear-gradient(135deg, #047857, #059669);
  color: white;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.badge-success {
  background: rgba(255, 255, 255, 0.95);
  color: #047857;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.table-header h3 {
  margin: 0 0 1.5rem 0 !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: white !important;
  text-align: center !important;
  line-height: 1.2 !important;
}

.table-header h2 {
  margin: 0 0 1rem 0 !important;
  font-size: 4rem !important;
  font-weight: 800 !important;
  color: white !important;
  text-align: center !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  line-height: 1 !important;
}

.table-header span {
  font-size: 1.1rem;
  opacity: 0.95;
  font-weight: 500;
  display: block;
}

.table-content {
  padding: 3rem 2.5rem;
  text-align: center;
}

.table-content p {
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.list-item {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 420px;
  margin: 0 auto;
}

.list-item li {
  padding: 1.25rem 0;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.4;
}

.list-item li:last-child {
  border-bottom: none;
}

.list-item li i {
  margin-right: 1.25rem;
  font-size: 1.3rem;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.list-item li i.fa-check {
  color: #047857;
}

.list-item li i.fa-times {
  color: #dc2626;
  opacity: 0.7;
}

/* Package Hint */
#package-hint {
  background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
  border: 2px solid #047857;
  border-radius: 20px;
  padding: 2rem;
  margin-top: 3rem;
  text-align: center;
}

#package-hint i {
  color: #047857;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  display: block;
}

#package-hint-text {
  color: #065f46;
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Summary Styling - KOMPAKT ohne Scrolling */
.summary-content {
  background: linear-gradient(135deg, #f8fafc, #f1f5f9);
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-height: none;
  overflow: visible;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 0;
}

.summary-item {
  background: white;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-left: 4px solid #047857;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
}

.summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.summary-icon {
  color: #047857;
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.summary-details {
  flex: 1;
  min-width: 0;
}

.summary-item strong {
  color: #047857;
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-item .text-muted {
  font-size: 1rem;
  color: #065f46 !important;
  font-weight: 500;
  line-height: 1.3;
  word-wrap: break-word;
}

/* Navigation Buttons - EINHEITLICH */
.step-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 2rem;
  border-top: 2px solid #f3f4f6;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  position: relative;
}

.btn:focus {
  outline: 2px solid;
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.btn-prev {
  background: #f3f4f6;
  color: #6b7280;
  border: 2px solid #e5e7eb;
}

.btn-prev:hover:not(:disabled) {
  background: #e5e7eb;
  transform: translateX(-2px);
  border-color: #d1d5db;
}

.btn-prev:focus {
  outline-color: #6b7280;
}

.btn-next {
  background: linear-gradient(135deg, #047857, #059669);
  color: white;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.3);
}

.btn-next:hover:not(:disabled) {
  transform: translateX(2px);
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.4);
  background: linear-gradient(135deg, #065f46, #047857);
}

.btn-next:focus {
  outline-color: white;
}

.btn-next:disabled,
.btn-next.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none;
}

.btn-submit {
  background: linear-gradient(135deg, #047857, #10b981);
  color: white;
  width: 100%;
  margin-left: 0;
  box-shadow: 0 6px 16px rgba(4, 120, 87, 0.3);
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(4, 120, 87, 0.4);
}

.btn-submit:focus {
  outline-color: white;
}

/* Checkbox und Radio Styling */
input[type="checkbox"],
input[type="radio"] {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.75rem;
  accent-color: #047857;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 2px solid #047857;
  outline-offset: 2px;
}

/* Input mit Icon */
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #6b7280;
  font-weight: 600;
  z-index: 10;
  font-size: 1.1rem;
}

.input-with-icon input {
  padding-left: 2.5rem;
}

/* Checkbox Group */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin: 0;
  margin-top: 0.25rem;
  flex-shrink: 0;
}

.checkbox-group label {
  margin: 0;
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-group a {
  color: #047857;
  text-decoration: underline;
}

.checkbox-group a:hover {
  color: #065f46;
}

/* Minimal Header - VOLLSTÄNDIG */
.minimal-header {
  background: white;
  border-bottom: 2px solid #e5e7eb;
  padding: 1.25rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.minimal-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.minimal-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.minimal-header .col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}

.minimal-header .col-6:last-child {
  text-align: right;
}

.minimal-header img {
  max-height: 45px;
  height: auto;
  transition: transform 0.3s ease;
}

.minimal-header img:hover {
  transform: scale(1.05);
}

.minimal-header .btn {
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  background: #f3f4f6;
  color: #6b7280;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.minimal-header .btn:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #374151;
  transform: translateX(-2px);
}

.minimal-header .btn:focus {
  outline: 2px solid #047857;
  outline-offset: 2px;
}

.minimal-header .btn i {
  font-size: 0.9rem;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #047857;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
}

.skip-link:focus {
  top: 6px;
}

/* Notification System */
.form-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: none;
  max-width: 400px;
  font-size: 0.9rem;
}

.form-notification.success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.form-notification.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.form-notification.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

/* Animation Klassen */
.pulse {
  animation: pulse 0.6s ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.bounce {
  animation: bounce 0.3s ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.shake {
  animation: shake 0.6s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid #ffffff;
  border-radius: 50%;
  border-top-color: transparent;
  animation: spin 0.8s ease infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.input-success {
  border-color: #10b981 !important;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1) !important;
}

.highlight-success {
  animation: highlightSuccess 2s ease-in-out;
}

@keyframes highlightSuccess {
  0%, 100% { box-shadow: 0 24px 48px rgba(4, 120, 87, 0.15); }
  50% { box-shadow: 0 24px 48px rgba(16, 185, 129, 0.4); }
}

.slide-up {
  animation: slideUp 0.5s ease;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .form-wrapper {
    margin: 0;
    border-radius: 0;
  }
  
  .progress-container {
    flex: 0 0 280px;
    padding: 2rem 1.5rem;
  }
  
  .form-content {
    padding: 2.5rem 2rem;
  }
  
  .choice-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nebenkosten-form-section {
    padding: 0;
  }
  
  .form-wrapper {
    flex-direction: column;
    margin: 0;
    border-radius: 0;
    min-height: 100vh;
  }
  
  .progress-container {
    flex: none;
    padding: 2rem 1.5rem;
  }
  
  .progress-container::before {
    display: none;
  }
  
  #progressbar {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding-bottom: 1rem;
    scrollbar-width: thin;
  }
  
  #progressbar::-webkit-scrollbar {
    height: 4px;
  }
  
  #progressbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
  }
  
  #progressbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
  }
  
  #progressbar li {
    flex: 0 0 auto;
    padding: 0;
    margin-right: 0;
    flex-direction: column;
    text-align: center;
    font-size: 0.9rem;
    min-width: 80px;
  }
  
  #progressbar li::before {
    margin-right: 0;
    margin-bottom: 0.75rem;
    width: 36px;
    height: 36px;
  }
  
  #progressbar li::after {
    display: none;
  }
  
  .form-content {
    padding: 2rem 1.5rem;
  }
  
  .step legend {
    font-size: 1.75rem;
  }
  
  .choice-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .choice-card {
    padding: 2rem 1.5rem;
    min-height: 160px;
  }
  
  .step-navigation {
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
  }
  
  .btn-next {
    margin-left: 0;
    width: 100%;
  }
  
  .btn-prev {
    width: 100%;
  }
  
  .table-header {
    padding: 2.5rem 2rem;
  }
  
  .table-header h2 {
    font-size: 3rem !important;
  }
  
  .table-content {
    padding: 2.5rem 2rem;
  }
  
  .range-group {
    padding: 2rem;
  }
  
  .range-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .range-input-group {
    justify-content: center;
  }
  
  .range-value {
    font-size: 2.5rem;
  }
  
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .summary-item {
    padding: 0.875rem;
  }
  
  .summary-icon {
    font-size: 1.1rem;
    width: 20px;
  }
  
  .summary-item strong {
    font-size: 0.8rem;
  }
  
  .summary-item .text-muted {
    font-size: 0.95rem;
  }

  .minimal-header .container {
    padding: 0 1rem;
  }
  
  .minimal-header .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
  
  .minimal-header img {
    max-height: 35px;
  }
}

@media (max-width: 480px) {
  .minimal-header .container {
    padding: 0 1rem;
  }
  
  .form-content {
    padding: 1.5rem 1rem;
  }
  
  .progress-container {
    padding: 1.5rem 1rem;
  }
  
  .step legend {
    font-size: 1.5rem;
  }
  
  .range-value {
    font-size: 2.25rem;
  }
  
  .table-header {
    padding: 2rem 1.5rem;
  }
  
  .table-header h2 {
    font-size: 2.5rem !important;
  }
  
  .table-content {
    padding: 2rem 1.5rem;
  }
  
  .choice-card {
    padding: 1.75rem 1.25rem;
  }
  
  .btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .summary-content {
    padding: 1rem;
  }
  
  .summary-item {
    padding: 0.75rem;
    gap: 0.5rem;
  }
  
  .summary-icon {
    font-size: 1rem;
    width: 18px;
  }
  
  .summary-item strong {
    font-size: 0.75rem;
  }
  
  .summary-item .text-muted {
    font-size: 0.9rem;
  }
  
  .minimal-header .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .minimal-header .btn span {
    display: none;
  }
  
  .minimal-header img {
    max-height: 30px;
  }
}

/* Barrierefreiheit - High Contrast Mode */
@media (prefers-contrast: high) {
  .choice-card {
    border-width: 3px;
  }
  
  .choice-card.selected {
    border-width: 4px;
  }
  
  .btn {
    border: 2px solid transparent;
  }
  
  .btn-next {
    border-color: #047857;
  }
  
  .btn-prev {
    border-color: #6b7280;
  }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .choice-card:hover,
  .btn:hover {
    transform: none;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.d-none {
  display: none !important;
}

.justify-content-center {
  justify-content: center !important;
}

.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

.col-lg-8 {
  flex: 0 0 66.666667%;
  max-width: 66.666667%;
}

.col-md-10 {
  flex: 0 0 83.333333%;
  max-width: 83.333333%;
}

/* Text Colors */
.text-success {
  color: #10b981 !important;
}

.text-danger {
  color: #ef4444 !important;
}

.text-muted {
  color: #6b7280 !important;
}

/* Hide Elements */
input[name="paket"] {
  display: none !important;
}

.form-check-input {
  display: none !important;
}


/* Express-Option Styling */
.highlight-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border: 2px solid #45A735;
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  position: relative;
  overflow: hidden;
}

.highlight-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #45A735, #78EB54);
}

.express-option {
  position: relative;
}

.express-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  color: #45A735;
}

.express-header i {
  font-size: 20px;
}

.express-content {
  margin-bottom: 15px;
}

/* Express-Content - VOLLSTÄNDIG KORRIGIERT */
.express-content {
  margin-bottom: 15px;
}

.express-content label {
  display: flex;
  align-items: flex-start;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  gap: 12px;
  margin: 0;
}

.express-content input[type="checkbox"] {
  margin: 0;
  margin-top: 3px; /* Leichte Anpassung für optische Ausrichtung mit Text */
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: #45A735;
}

.label-content {
  flex: 1;
  min-width: 0;
}

.label-text {
  display: block;
  margin-bottom: 5px;
}

.label-text strong {
  font-weight: 600;
  color: #333;
}

.express-content .small-text {
  color: #666;
  font-size: 13px;
  margin-top: 0;
  display: block;
  line-height: 1.4;
}

/* Checked State */
#widerruf_verzicht:checked + .label-content .label-text strong {
  color: #45A735;
}

#widerruf_verzicht:checked + .label-content .label-text::after {
  content: " ✓";
  color: #45A735;
  font-weight: bold;
  margin-left: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .express-benefits {
    grid-template-columns: 1fr;
  }
  
  .highlight-box {
    padding: 15px;
  }
}