/* Globale Feinheiten, die als Utility unhandlich wären */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #ff2a2a;
    color: #fff;
}

/* Rennstrecken-Streifen-Animation für Hero-Akzente */
@keyframes speedlines {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

.speed-line {
    position: absolute;
    height: 2px;
    width: 120px;
    background: linear-gradient(90deg, transparent, #ff2a2a, transparent);
    animation: speedlines 2.4s linear infinite;
}

/* Subtile Pulsanimation für CTA */
@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(255, 42, 42, 0.6);
    }

    50% {
        box-shadow: 0 0 0 14px rgba(255, 42, 42, 0);
    }
}

.pulse-cta {
    animation: pulseGlow 2.2s ease-out infinite;
}

/* Scrollbar im Theme */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #0d0d0f;
}

::-webkit-scrollbar-thumb {
    background: #ff2a2a;
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: #ff6b1a;
}