/* MUSIKSCHULE365.DE - Animationen und Button-Styles */

/* Scroll Animationen - Erzwungene Regeln */
.scroll-animate {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
  will-change: opacity, transform;
}

.scroll-animate.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Weiße Buttons - Erzwungene Regeln */
.btn-white,
.hero-section .btn-white,
.bg-primary .btn-white,
.btn.btn-white,
.hero-section .btn.btn-white,
.bg-primary .btn.btn-white {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #333333 !important;
}

.btn-white:hover,
.hero-section .btn-white:hover,
.bg-primary .btn-white:hover,
.btn.btn-white:hover,
.hero-section .btn.btn-white:hover,
.bg-primary .btn.btn-white:hover {
  background-color: #f8f9fa !important;
  border-color: #f8f9fa !important;
  color: #333333 !important;
}

.btn-white:focus,
.hero-section .btn-white:focus,
.bg-primary .btn-white:focus,
.btn.btn-white:focus,
.hero-section .btn.btn-white:focus,
.bg-primary .btn.btn-white:focus {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
  color: #333333 !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

.btn-white:active,
.hero-section .btn-white:active,
.bg-primary .btn-white:active,
.btn.btn-white:active,
.hero-section .btn.btn-white:active,
.bg-primary .btn.btn-white:active {
  background-color: #e9ecef !important;
  border-color: #e9ecef !important;
  color: #333333 !important;
}

/* Mobile Animationen */
@media (max-width: 767.98px) {
  .scroll-animate {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }
  
  .scroll-animate.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* Staggered Animationen */
.instrument-item.scroll-animate:nth-child(1) { transition-delay: 0.1s !important; }
.instrument-item.scroll-animate:nth-child(2) { transition-delay: 0.2s !important; }
.instrument-item.scroll-animate:nth-child(3) { transition-delay: 0.3s !important; }
.instrument-item.scroll-animate:nth-child(4) { transition-delay: 0.4s !important; }
.instrument-item.scroll-animate:nth-child(5) { transition-delay: 0.5s !important; }
.instrument-item.scroll-animate:nth-child(6) { transition-delay: 0.6s !important; }
.instrument-item.scroll-animate:nth-child(7) { transition-delay: 0.7s !important; }
.instrument-item.scroll-animate:nth-child(8) { transition-delay: 0.8s !important; }

.testimonial-item.scroll-animate:nth-child(1) { transition-delay: 0.1s !important; }
.testimonial-item.scroll-animate:nth-child(2) { transition-delay: 0.2s !important; }
.testimonial-item.scroll-animate:nth-child(3) { transition-delay: 0.3s !important; }
.testimonial-item.scroll-animate:nth-child(4) { transition-delay: 0.4s !important; }

/* Hover Effects */
.instrument-item:hover {
  transform: translateY(-5px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.testimonial-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .scroll-animate {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  
  .scroll-animate.visible {
    opacity: 1 !important;
    transform: none !important;
  }
}
