/* 
 * base.css - CSS-Variablen & Reset
 * Grundlegende Styles und Design-Tokens für das gesamte System
 */

:root {
    /* Hauptfarben */
    --primary-color: #2563eb;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    
    /* Text-Farben */
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    
    /* Hintergrund-Farben */
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-light: #e5e7eb;
    
    /* Schatten */
    --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 25px 50px rgba(0, 0, 0, 0.25);
    
    /* Gradienten */
    --gradient-primary: linear-gradient(135deg, var(--primary-color), #1d4ed8);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), #059669);
    --gradient-editor: linear-gradient(135deg, #667eea, #764ba2);
    
    /* Altersgruppen-spezifische Farben */
    --u7-color: #fbbf24; /* Sonnengelb */
    --u8-color: #34d399; /* Frühlingsgrün */
    --u9-color: #60a5fa; /* Himmelblau */
    --u10-color: #06b6d4; /* Türkis */
    --u11-color: #8b5cf6; /* Lila */
    --u12-color: #f472b6; /* Pink */
    --u13-color: #ef4444; /* Rot */
    --u14-color: #f97316; /* Orange */
    --u15-color: #84cc16; /* Lime */
    --u16-color: #6366f1; /* Indigo */
    --u17-color: #a855f7; /* Violett */
    --u18-color: #ec4899; /* Magenta */
    --u19-color: #10b981; /* Smaragd */
}

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Grundlagen */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-light);
}

/* Grundlegende Typografie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--text-primary);
}

/* Fokus-Styles für Accessibility */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Container-Basis */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utility Classes */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}