/**
 * Carinas Studio — Custom CSS Variablen, Studio-Scrollbars & Spring-Animationen
 * 100% Zero-Consent (Lokal eingebunden)
 */

:root {
    --color-primary: #7c3aed;
    --color-primary-hover: #6d28d9;
    --color-primary-rgb: 124, 58, 237;
    --color-accent: #db2777;
    --color-accent-hover: #be185d;
    --color-surface: #faf8ff;
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

html {
    font-family: var(--font-sans);
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* Studio Range Slider Styling */
input[type="range"] {
    accent-color: var(--color-primary);
    cursor: pointer;
}

/* Dezente Studio-Scrollbars für Timeline & Werkzeug-Sidebar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.08);
}

.dark ::-webkit-scrollbar-track {
    background: rgba(2, 6, 23, 0.6);
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.45);
    border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.75);
}

/* Entfernt Standard-Dreieck bei <details><summary> */
summary::-webkit-details-marker {
    display: none;
}

/* Barrierefreiheit: Reduzierte Bewegung respektieren (BFSG) */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    header, footer, aside, #timeline-scroll-area {
        display: none !important;
    }
}
