/* ========================================
   PROCESS STEPS SECTION - WOW 10/10 PREMIUM DESIGN
   So einfach wird aus Neugier ein Erlebnis
   ======================================== */

/* ======================================== 
   MAIN SECTION - PREMIUM FOUNDATION
   ======================================== */
.process-steps-section {
  background: #FCFCFC;
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

/* Premium Background Pattern */
/* .process-steps-section::before entfernt für einheitliche Farbe */

/* ======================================== 
   SECTION HEADER - EMOTIONAL IMPACT
   ======================================== */
.process-steps-header {
  text-align: center;
  margin-bottom: var(--space-6xl);
  position: relative;
  z-index: 2;
}

.process-steps-title {
  color: var(--color-gray-900);
  /* Removed individual font styles - now uses .section-title-large from typography.css */
}

.process-steps-subtitle {
  font-size: var(--text-xl);
  line-height: var(--leading-relaxed);
  color: var(--color-gray-800);
  max-width: 700px;
  margin: 0 auto;
  font-weight: var(--font-semibold);
}

/* Desktop: zweite Zeile "– ohne Planung, ohne Stress, mit 100% Überraschung." nicht umbrechen */
@media (min-width: 1024px) {
  .process-steps-subtitle {
    max-width: 1000px;
  }
  .process-steps-subtitle .ps-line-mobile:last-child {
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .process-steps-subtitle .ps-line-mobile {
    display: block;
  }

  /* Mobile: erzwungene Zeilen in Schritt-Beschreibungen */
  .process-step-description .line-mobile {
    display: block;
  }
  .process-step-description .nowrap {
    white-space: nowrap;
  }
}

/* Desktop: markierte Satzfragmente nicht umbrechen */
@media (min-width: 1024px) {
  .process-step-description .desktop-nowrap,
  .process-step-description .nowrap {
    white-space: nowrap;
  }
}

/* ======================================== 
   PROCESS GRID - 4-STEP JOURNEY LAYOUT
   ======================================== */
.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3xl);
  max-width: 1200px;
  margin: 0 auto var(--space-6xl);
  position: relative;
  z-index: 2;
}

/* ======================================== 
   INDIVIDUAL STEP CARDS - PREMIUM DESIGN
   ======================================== */
.process-step {
  background: linear-gradient(145deg, var(--color-primary) 0%, #4d0000 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl);
  position: relative;
  transition: all var(--transition-slow) var(--ease-out);
  box-shadow: 
    0 8px 32px rgba(97, 0, 0, 0.3),
    0 2px 8px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.process-step:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    0 24px 64px rgba(97, 0, 0, 0.4),
    0 8px 32px rgba(255, 215, 0, 0.3),
    0 0 0 2px rgba(255, 215, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.6);
  background: linear-gradient(145deg, #610000 0%, #3d0000 100%);
}

/* Premium Card Background Effect */
.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.08) 0%, transparent 60%);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.process-step:hover::before {
  opacity: 1;
}

/* ======================================== 
   STEP NUMBER - PROMINENT VISUAL MARKER
   ======================================== */
.process-step-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, 
    var(--color-accent) 0%, 
    #cc9900 100%);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-3xl);
  font-weight: var(--font-black);
  margin-bottom: var(--space-xl);
  position: relative;
  transition: all var(--transition-base);
  box-shadow: 
    0 8px 24px rgba(255, 215, 0, 0.4),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.process-step:hover .process-step-number {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, 
    #ffdd44 0%, 
    var(--color-accent) 100%);
  box-shadow: 
    0 12px 32px rgba(255, 215, 0, 0.6),
    0 0 40px rgba(255, 215, 0, 0.8),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

/* ======================================== 
   STEP CONTENT - PREMIUM TYPOGRAPHY
   ======================================== */
.process-step-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
  line-height: var(--leading-tight);
  transition: color var(--transition-base);
}

.process-step:hover .process-step-title {
  color: var(--color-accent);
}

.process-step-description {
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  font-weight: var(--font-medium);
}

/* ======================================== 
   FEATURE LIST - ELEGANT BENEFITS DISPLAY
   ======================================== */
.process-step-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.process-step-feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: rgba(255, 255, 255, 0.85);
  font-weight: var(--font-medium);
  transition: all var(--transition-base);
}

.process-step:hover .process-step-feature {
  color: var(--color-accent);
  transform: translateX(4px);
}

.process-step-feature::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, 
    var(--color-accent) 0%, 
    #cc9900 100%);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-weight: var(--font-black);
  flex-shrink: 0;
  transition: all var(--transition-base);
}

.process-step:hover .process-step-feature::before {
  background: linear-gradient(135deg, #ffdd44 0%, var(--color-accent) 100%);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
}

/* ======================================== 
   STEP-SPECIFIC ANIMATIONS
   ======================================== */
.process-step[data-step="1"]:hover .process-step-number {
  animation: step1-pulse 1s ease-in-out infinite alternate;
}

.process-step[data-step="2"]:hover .process-step-number {
  animation: step2-magic 2s ease-in-out infinite;
}

.process-step[data-step="3"]:hover .process-step-number {
  animation: step3-decide 1.5s ease-in-out infinite alternate;
}

.process-step[data-step="4"]:hover .process-step-number {
  animation: step4-adventure 0.8s ease-in-out infinite alternate;
}

@keyframes step1-pulse {
  0% { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1.2) rotate(5deg); }
}

@keyframes step2-magic {
  0%, 100% { transform: scale(1.1) rotate(5deg); }
  50% { transform: scale(1.15) rotate(-2deg); }
}

@keyframes step3-decide {
  0% { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1.15) rotate(8deg); }
}

@keyframes step4-adventure {
  0% { transform: scale(1.1) rotate(5deg); }
  100% { transform: scale(1.25) rotate(5deg); }
}

/* ======================================== 
   CTA BUTTON - PREMIUM PROCESS SECTION STYLE
   ======================================== */
.process-steps-section .cta-center {
  text-align: center;
  margin-top: var(--space-5xl);
  position: relative;
  z-index: 2;
}

.process-steps-section .btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-3xl);
  background: linear-gradient(135deg, 
    var(--color-primary) 0%, 
    var(--color-primary-dark) 100%);
  color: var(--color-secondary);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  border: none;
  border-radius: var(--radius-2xl);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-slow) var(--ease-out);
  box-shadow: 
    0 8px 24px rgba(97, 0, 0, 0.25),
    0 0 0 0 rgba(255, 215, 0, 0);
  transform: translateY(0);
}

.process-steps-section .btn:hover {
  transform: translateY(-4px) scale(1.02);
  background: linear-gradient(135deg, 
    var(--color-primary-light) 0%, 
    var(--color-primary) 100%);
  box-shadow: 
    0 16px 40px rgba(97, 0, 0, 0.35),
    0 0 0 3px rgba(255, 215, 0, 0.2),
    0 0 40px rgba(255, 215, 0, 0.3);
}

.process-steps-section .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 215, 0, 0.2) 50%, 
    transparent 100%);
  transition: left var(--transition-slower);
}

.process-steps-section .btn:hover::before {
  left: 100%;
}

.process-steps-section .btn svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  stroke-width: 2.5;
}

.process-steps-section .btn:hover svg {
  transform: translateX(6px) scale(1.1);
}

.process-steps-section .btn-text-mobile {
  display: none;
}



/* ======================================== 
   MOBILE RESPONSIVE - PREMIUM ON ALL DEVICES
   ======================================== */
@media (max-width: 1024px) {
  .process-steps-grid {
    gap: var(--space-2xl);
  }
  
  .process-step {
    padding: var(--space-2xl);
  }
}

@media (max-width: 768px) {
  .process-steps-section {
    padding: var(--space-6xl) 0 var(--space-5xl);
  }
  
  .process-steps-title {
    font-size: var(--text-4xl);
  }
  
  .process-steps-subtitle {
    font-size: var(--text-lg);
  }
  
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-4xl);
  }
  
  .process-step {
    padding: var(--space-xl);
  }
  
  .process-step-number {
    width: 70px;
    height: 70px;
    font-size: var(--text-2xl);
    margin-bottom: var(--space-lg);
  }
  
  .process-step-title {
    font-size: var(--text-xl);
  }
  
  /* Mobile Button Styles */
  .process-steps-section .cta-center {
    margin-top: var(--space-4xl);
    padding: 0 var(--space-lg);
  }
  
  .process-steps-section .btn {
    width: 100%;
    max-width: 320px;
    padding: var(--space-lg) var(--space-xl);
    font-size: var(--text-base);
    justify-content: center;
  }
  
  .process-steps-section .btn-text-desktop {
    display: none;
  }
  
  .process-steps-section .btn-text-mobile {
    display: inline;
  }

}

@media (max-width: 640px) {
  .process-steps-section {
    padding: var(--space-5xl) 0 var(--space-4xl);
  }
  
  .process-steps-title {
    font-size: var(--text-3xl);
  }
  
  .process-step-number {
    width: 60px;
    height: 60px;
    font-size: var(--text-xl);
  }
  
  .process-step-title {
    font-size: var(--text-lg);
  }
  
  /* Ultra Mobile Button Styles */
  .process-steps-section .cta-center {
    margin-top: var(--space-3xl);
    padding: 0 var(--space-md);
  }
  
  .process-steps-section .btn {
    width: 100%;
    max-width: 280px;
    padding: var(--space-md) var(--space-lg);
    font-size: var(--text-sm);
    gap: var(--space-sm);
  }
  
  .process-steps-section .btn svg {
    width: 18px;
    height: 18px;
  }

}
