/* CSS Variables für konsistente Design-Tokens */
/* Stirnimann AG - Zentrale Variablen-Datei */

:root {
    /* Primäre Farben */
    --primary-orange: #ff6b35;
    --primary-blue: #1e3a8a;
    --accent-yellow: #fbbf24;
    --dark-blue: #0f172a;
    --light-gray: #f8fafc;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --red: #dc2626;
    
    /* Kontrastsichere Text/Hintergrund-Paare */
    --text-on-light: #1e293b;
    --text-on-dark: #ffffff;
    --text-on-orange: #ffffff;
    --text-on-blue: #ffffff;
    
    /* CTA-spezifische Variablen */
    --cta-bg: var(--primary-orange);
    --cta-text: var(--white);
    --cta-hover-bg: #e55a2b;
    --cta-focus-ring: rgba(255, 107, 53, 0.3);
    
    /* Abstände - Vereinheitlicht */
    --spacing-xs: 8px;
    --spacing-sm: 12px;
    --spacing-md: 20px;
    --spacing-lg: 30px;
    --spacing-xl: 40px;
    --spacing-xxl: 60px;
    --spacing-xxxl: 80px;
    --spacing-section: 60px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 20px;
    --radius-full: 50px;
    
    /* Schatten */
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 15px 40px rgba(0,0,0,0.2);
    
    /* Typografie-Tokens */
    --font-family-primary: 'Montserrat', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    
    /* Focus-Ring-Variablen für Barrierefreiheit */
    --focus-ring-width: 2px;
    --focus-ring-color: var(--primary-blue);
    --focus-ring-offset: 2px;
    
    /* Transition-Variablen für einheitliche Animationen */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Breakpoints für Responsive Design */
    --breakpoint-sm: 640px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1280px;
    --breakpoint-2xl: 1536px;
    
    /* Z-Index Layering */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* Dark Mode Support (optional) */
@media (prefers-color-scheme: dark) {
    :root {
        --light-gray: #1e293b;
        --text-dark: #f1f5f9;
        --text-muted: #94a3b8;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 10px rgba(0,0,0,0.3);
        --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
        --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
    }
}
