/**
 * Globaler animierter Cursor (Landing-Theme). Aktiv nur mit body.lp-cursor-custom-active.
 */
body.lp-cursor-custom-active,
body.lp-cursor-custom-active button,
body.lp-cursor-custom-active a,
body.lp-cursor-custom-active input,
body.lp-cursor-custom-active textarea,
body.lp-cursor-custom-active select,
body.lp-cursor-custom-active label {
    cursor: none !important;
}

#lp-custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background-color: rgba(17, 24, 39, 0.26);
    border: none;
    outline: none;
    box-shadow: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    border-radius: 50%;
    pointer-events: none;
    /* Schweif (99998) darunter, Kreis ganz vorne */
    z-index: 99999;
    left: 0;
    top: 0;
    will-change: transform;
    animation: lp-cursor-pulse 0.8s ease-in-out infinite;
}

html[data-lp-color-scheme="dark"] #lp-custom-cursor {
    background-color: rgba(255, 255, 255, 0.30);
    border: none;
    outline: none;
    box-shadow: none;
}

@keyframes lp-cursor-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

.lp-cursor-sparkle {
    position: fixed;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    /* Direkt unter dem Cursor-Kreis, über dem Seiteninhalt */
    z-index: 99998;
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    body.lp-cursor-custom-active,
    body.lp-cursor-custom-active button,
    body.lp-cursor-custom-active a {
        cursor: auto !important;
    }
    #lp-custom-cursor,
    .lp-cursor-sparkle {
        display: none !important;
    }
}
