/* Schwebende Elemente und zusätzliche Animationen im Apple-Stil */

/* Floating Animation mit verschiedenen Geschwindigkeiten */
@keyframes float-slow {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float-medium {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes float-fast {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-slow {
  animation: float-slow 8s ease-in-out infinite;
}

.float-medium {
  animation: float-medium 5s ease-in-out infinite;
}

.float-fast {
  animation: float-fast 3s ease-in-out infinite;
}

/* Rotation Animation */
@keyframes rotate-slow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.rotate-slow {
  animation: rotate-slow 20s linear infinite;
}

/* Pulse Animation mit verschiedenen Intensitäten */
@keyframes pulse-light {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse-medium {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes pulse-strong {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.6;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.pulse-light {
  animation: pulse-light 4s ease-in-out infinite;
}

.pulse-medium {
  animation: pulse-medium 4s ease-in-out infinite;
}

.pulse-strong {
  animation: pulse-strong 4s ease-in-out infinite;
}

/* Schwebende Partikel */
.floating-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  pointer-events: none;
}

.particle-1 {
  width: 10px;
  height: 10px;
  top: 10%;
  left: 10%;
  animation: float-slow 8s ease-in-out infinite, pulse-light 5s ease-in-out infinite;
}

.particle-2 {
  width: 15px;
  height: 15px;
  top: 20%;
  left: 80%;
  animation: float-medium 6s ease-in-out infinite, pulse-medium 4s ease-in-out infinite;
}

.particle-3 {
  width: 8px;
  height: 8px;
  top: 80%;
  left: 15%;
  animation: float-fast 4s ease-in-out infinite, pulse-light 3s ease-in-out infinite;
}

.particle-4 {
  width: 12px;
  height: 12px;
  top: 70%;
  left: 75%;
  animation: float-medium 7s ease-in-out infinite, pulse-medium 5s ease-in-out infinite;
}

.particle-5 {
  width: 6px;
  height: 6px;
  top: 40%;
  left: 30%;
  animation: float-fast 5s ease-in-out infinite, pulse-light 4s ease-in-out infinite;
}

.particle-6 {
  width: 18px;
  height: 18px;
  top: 30%;
  left: 60%;
  animation: float-slow 9s ease-in-out infinite, pulse-strong 6s ease-in-out infinite;
}

/* Schwebende Kreise */
.floating-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
  z-index: -1;
}

.circle-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-light-color));
  top: -100px;
  left: -100px;
  animation: float-slow 15s ease-in-out infinite;
}

.circle-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light-color));
  bottom: -50px;
  right: -50px;
  animation: float-medium 12s ease-in-out infinite;
}

.circle-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, var(--info-color), var(--primary-light-color));
  top: 50%;
  left: 10%;
  animation: float-fast 10s ease-in-out infinite;
}

/* Schwebende Linien */
.floating-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  height: 1px;
  width: 100%;
  pointer-events: none;
  z-index: -1;
}

.line-1 {
  top: 20%;
  animation: float-slow 20s ease-in-out infinite;
}

.line-2 {
  top: 50%;
  animation: float-medium 15s ease-in-out infinite;
}

.line-3 {
  top: 80%;
  animation: float-fast 10s ease-in-out infinite;
}

/* Glowing Effect */
@keyframes glow {
  0% {
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 113, 227, 0.6);
  }
  100% {
    box-shadow: 0 0 5px rgba(0, 113, 227, 0.3);
  }
}

.glow-effect {
  animation: glow 4s ease-in-out infinite;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Hover Glow Effect */
.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 15px rgba(0, 113, 227, 0.5);
}

/* Hover Scale Effect */
.hover-scale {
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Hover Color Shift */
.hover-color-shift {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.hover-color-shift:hover {
  background-color: var(--primary-color);
  color: white;
}
