/* SVE Videoüberwachung GmbH - Custom Styles */

/* Animationen */
@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes dot-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation Klassen */
.animate-slide-in {
    animation: slide-in 0.8s ease-out;
}

.animate-fade-in {
    animation: fade-in 1s ease-in;
}

/* Bouncing Dots */
.dot {
    animation: dot-bounce 1.4s ease-in-out infinite;
}

.dot:nth-child(1) {
    animation-delay: 0s;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

.dot:nth-child(4) {
    animation-delay: 0.6s;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

/* Glass Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Animated Gradient Border */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.animated-border {
    background: linear-gradient(90deg, #DC2626, #EF4444, #F87171, #DC2626);
    background-size: 300% 300%;
    animation: gradient-shift 6s ease infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Responsive Typography */
@media (max-width: 640px) {
    body {
        font-size: 14px;
    }
}

@media (min-width: 1024px) {
    body {
        font-size: 16px;
    }
}

/* Full Height Layout */
.min-h-screen-safe {
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

/* iOS Safari Fix */
@supports (-webkit-touch-callout: none) {
    .min-h-screen-safe {
        min-height: -webkit-fill-available;
    }
}
