/* ==========================================================================
   Scroll-Reveal Animationen
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--right {
    transform: translateX(30px);
}

.reveal--left {
    transform: translateX(-30px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Gestaffelte Verzögerung für Cards */
.feature-card.reveal:nth-child(1) { transition-delay: 0s; }
.feature-card.reveal:nth-child(2) { transition-delay: 0.15s; }
.feature-card.reveal:nth-child(3) { transition-delay: 0.3s; }

.info-card:nth-child(1) { transition-delay: 0s; }
.info-card:nth-child(2) { transition-delay: 0.1s; }
.info-card:nth-child(3) { transition-delay: 0.2s; }
.info-card:nth-child(4) { transition-delay: 0.3s; }

/* Sanftes Einblenden für Counters */
.counter:nth-child(1) { transition-delay: 0s; }
.counter:nth-child(2) { transition-delay: 0.1s; }
.counter:nth-child(3) { transition-delay: 0.2s; }
.counter:nth-child(4) { transition-delay: 0.3s; }

/* ==========================================================================
   Hover-Animationen
   ========================================================================== */

/* Sanfter Bounce für Buttons */
.btn:active {
    transform: translateY(0) scale(0.98);
}

/* Card-Icon Bounce bei Hover */
.feature-card:hover .feature-card__icon-wrap {
    animation: iconBounce 0.5s ease;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

/* Social Link Pulse */
.social-link:hover {
    animation: socialPulse 0.4s ease;
}

@keyframes socialPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3); }
    100% { box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
}

/* Info-Card Icon Wiggle */
.info-card:hover .info-card__icon {
    animation: wiggle 0.4s ease;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}
