/* ============================================
   KI ACADEMY - ZUSÄTZLICHE STYLES
   ============================================ */

/* Sprint Progress Indicator */
.sprint-progress-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 40px 0 48px;
  padding: 24px;
  background: rgba(144, 169, 85, 0.08);
  border-radius: 16px;
  border: 1px solid rgba(144, 169, 85, 0.2);
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(144, 169, 85, 0.2);
  border: 2px solid rgba(144, 169, 85, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #5D4037;
  transition: all 0.3s ease;
}

.progress-step.completed .step-circle {
  background: #90A955;
  border-color: #90A955;
  color: white;
}

.progress-step.active .step-circle {
  background: #F4A261;
  border-color: #F4A261;
  color: white;
  box-shadow: 0 0 20px rgba(244, 162, 97, 0.4);
  transform: scale(1.1);
}

.step-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #5D4037;
}

.progress-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #90A955 0%, rgba(144, 169, 85, 0.3) 100%);
  margin: 0 8px;
  position: relative;
  top: -12px;
}

/* Sprint Cards Hover */
.sprint-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.sprint-card:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(244, 162, 97, 0.2);
}

.sprint-card.featured {
  position: relative;
  overflow: hidden;
}

.sprint-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #F4A261, #E76F51);
}

.sprint-card.featured:hover {
  transform: translateY(-8px) scale(1.02);
}

/* For Whom Icons */
.for-whom-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.15) 0%, rgba(231, 111, 81, 0.1) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: #E76F51;
  transition: all 0.3s ease;
  border: 2px solid rgba(244, 162, 97, 0.2);
}

.for-whom-card:hover .for-whom-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, rgba(244, 162, 97, 0.25) 0%, rgba(231, 111, 81, 0.2) 100%);
  box-shadow: 0 8px 24px rgba(244, 162, 97, 0.2);
}

.for-whom-card.featured .for-whom-icon {
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: white;
  box-shadow: 0 8px 24px rgba(244, 162, 97, 0.3);
}

/* Newsletter Section */
/* Newsletter Section - Reduced spacing to previous section */
.newsletter-section {
  padding: 32px 0 48px;
  background: linear-gradient(180deg, #FDFCF7 0%, #F5F1EB 100%);
  margin-top: -20px;
}

.newsletter-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 40px;
  background: white;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.newsletter-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(144, 169, 85, 0.15) 0%, rgba(144, 169, 85, 0.05) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90A955;
}

.newsletter-content {
  flex: 1;
}

.newsletter-content h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: #2D3436;
}

.newsletter-content p {
  color: #636E72;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.newsletter-form input:focus {
  outline: none;
  border-color: #90A955;
  box-shadow: 0 0 0 4px rgba(144, 169, 85, 0.1);
}

.btn-newsletter {
  padding: 14px 28px;
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Newsletter Section - Coming Soon State */
.newsletter-section.coming-soon .newsletter-card {
  opacity: 0.7;
  background: linear-gradient(145deg, #FAFAF8 0%, #F5F2ED 100%);
  border-style: dashed;
  border-color: rgba(139, 115, 85, 0.2);
}

.newsletter-section.coming-soon .newsletter-icon {
  background: linear-gradient(135deg, rgba(139, 115, 85, 0.08) 0%, rgba(139, 115, 85, 0.03) 100%);
  color: #A09080;
}

.coming-soon-badge {
  display: inline-block;
  padding: 6px 14px;
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 20px;
  margin-bottom: 12px;
}

.newsletter-section.coming-soon .newsletter-content h3 {
  color: #7A6A5A;
}

.newsletter-section.coming-soon .newsletter-content p {
  color: #8B8070;
}

.newsletter-form-disabled {
  display: flex;
  gap: 12px;
  max-width: 480px;
}

.newsletter-form-disabled input {
  flex: 1;
  padding: 14px 18px;
  border: 2px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(0, 0, 0, 0.03);
  color: #999;
  cursor: not-allowed;
}

.newsletter-form-disabled .btn-newsletter {
  padding: 14px 28px;
  background: linear-gradient(135deg, #C0B0A0 0%, #B0A090 100%);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: not-allowed;
  white-space: nowrap;
  opacity: 0.8;
}

.btn-newsletter:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(144, 169, 85, 0.3);
}

.newsletter-privacy {
  font-size: 0.8rem;
  color: #B2BEC3;
  margin-top: 12px;
  margin-bottom: 0;
}

.newsletter-privacy a {
  color: #90A955;
  text-decoration: none;
}

/* Final CTA Button - Apricot statt Braun */
.btn-final-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(244, 162, 97, 0.3);
}

.btn-final-cta:hover {
  background: linear-gradient(135deg, #E8954C 0%, #D65A3E 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(244, 162, 97, 0.4);
}

/* Dark Mode */
html[data-theme="dark"] .sprint-progress-indicator {
  background: rgba(144, 169, 85, 0.1);
}

html[data-theme="dark"] .step-circle {
  background: rgba(144, 169, 85, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

html[data-theme="dark"] .step-label {
  color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .newsletter-section {
  background: linear-gradient(180deg, #1a1f2e 0%, #151922 100%);
}

html[data-theme="dark"] .newsletter-card {
  background: rgba(20, 25, 35, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

html[data-theme="dark"] .newsletter-content h3 {
  color: #f0f4f8;
}

html[data-theme="dark"] .newsletter-content p {
  color: rgba(240, 244, 248, 0.7);
}

html[data-theme="dark"] .newsletter-form input {
  background: rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.1);
  color: #f0f4f8;
}

html[data-theme="dark"] .btn-final-cta {
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
  color: white;
}

/* Dark Mode - Coming Soon Newsletter */
html[data-theme="dark"] .newsletter-section.coming-soon .newsletter-card {
  background: rgba(25, 30, 40, 0.5);
  border-color: rgba(255, 255, 255, 0.05);
}

html[data-theme="dark"] .newsletter-section.coming-soon .newsletter-icon {
  background: rgba(255, 255, 255, 0.03);
  color: #6A7A8A;
}

html[data-theme="dark"] .newsletter-section.coming-soon .newsletter-content h3 {
  color: #8A9AAA;
}

html[data-theme="dark"] .newsletter-section.coming-soon .newsletter-content p {
  color: #6A7A8A;
}

html[data-theme="dark"] .newsletter-form-disabled input {
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.05);
  color: #5A6A7A;
}

/* Premium Mobile Styles for Newsletter */
@media (max-width: 768px) {
  .sprint-progress-indicator {
    padding: 16px;
    margin: 24px 0 32px;
  }
  
  .step-circle {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
  
  .progress-line {
    width: 30px;
  }
  
  .step-label {
    font-size: 0.75rem;
  }
  
  /* Newsletter Premium Mobile */
  .newsletter-section {
    padding: 24px 0 40px;
    margin-top: -16px;
  }
  
  .newsletter-card {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 20px;
    border-radius: 20px;
  }
  
  .newsletter-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
  }
  
  .newsletter-icon svg {
    width: 26px;
    height: 26px;
  }
  
  .newsletter-content h3 {
    font-size: 1.25rem;
    margin-bottom: 6px;
  }
  
  .newsletter-content p {
    font-size: 0.9rem;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  
  .newsletter-form {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .newsletter-form input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px; /* Prevent zoom on iOS */
    border-radius: 12px;
  }
  
  .btn-newsletter {
    width: 100%;
    padding: 14px 24px;
    border-radius: 12px;
  }
  
  /* Newsletter Coming Soon Mobile */
  .newsletter-section.coming-soon .newsletter-card {
    padding: 24px 20px;
    gap: 16px;
  }
  
  .coming-soon-badge {
    font-size: 0.7rem;
    padding: 5px 12px;
    margin-bottom: 8px;
  }
  
  .newsletter-section.coming-soon .newsletter-content h3 {
    font-size: 1.15rem;
  }
  
  .newsletter-section.coming-soon .newsletter-content p {
    font-size: 0.85rem;
  }
  
  .newsletter-form-disabled {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  
  .newsletter-form-disabled input {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
  }
  
  .newsletter-form-disabled .btn-newsletter {
    width: 100%;
    padding: 14px 24px;
  }
}

/* ============================================
   SPRINT COLOR CODING - Pädagogische Progression
   ============================================ */

/* Sprint 1: Verstehen - Blau (kognitiv, lernen) */
.sprint-card-blue {
  --sprint-color: #5B8DEF;
  border-top: 4px solid var(--sprint-color);
}

.sprint-card-blue .sprint-badge {
  background: linear-gradient(135deg, #5B8DEF 0%, #4A7DE0 100%);
}

.sprint-card-blue .sprint-cta {
  background: linear-gradient(135deg, #5B8DEF 0%, #4A7DE0 100%);
}

.sprint-card-blue .sprint-cta:hover {
  background: linear-gradient(135deg, #4A7DE0 0%, #3A6DD0 100%);
  box-shadow: 0 8px 25px rgba(91, 141, 239, 0.4);
}

/* Sprint 2: Anwenden - Apricot (handelnd, aktiv) */
.sprint-card-apricot {
  --sprint-color: #F4A261;
  border-top: 4px solid var(--sprint-color);
}

.sprint-card-apricot .sprint-badge {
  background: linear-gradient(135deg, #F4A261 0%, #E76F51 100%);
}

/* Sprint 3: Meistern - Sage (erfolgreich, wachsen) */
.sprint-card-sage {
  --sprint-color: #90A955;
  border-top: 4px solid var(--sprint-color);
}

.sprint-card-sage .sprint-badge {
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
}

.sprint-card-sage .sprint-cta {
  background: linear-gradient(135deg, #90A955 0%, #7A9048 100%);
}

.sprint-card-sage .sprint-cta:hover {
  background: linear-gradient(135deg, #7A9048 0%, #6A8038 100%);
  box-shadow: 0 8px 25px rgba(144, 169, 85, 0.4);
}

/* Active Step Pulse Animation */
.progress-step.active .step-circle {
  animation: pulse-active 2s ease-in-out infinite;
}

@keyframes pulse-active {
  0%, 100% { 
    box-shadow: 0 0 0 0 rgba(244, 162, 97, 0.4);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 0 12px rgba(244, 162, 97, 0);
    transform: scale(1.05);
  }
}

/* Focus States für Accessibility */
.sprint-card:focus-within {
  outline: 3px solid #F4A261;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .sprint-card:hover,
  .for-whom-card:hover .for-whom-icon,
  .btn-newsletter:hover,
  .btn-final-cta:hover {
    transform: none;
  }
  
  .progress-step.active .step-circle {
    transform: none;
    animation: none;
  }
}
