/* ============================================= */
/* 1. GRUNDEINSTELLUNGEN & DESIGN-SYSTEM         */
/* ============================================= */
:root {
    /* Farben */
    --primary-color: #0d6efd;
    --primary-color-dark: #0b5ed7;
    --dark-color: #212529;
    --light-color: #fff;
    --text-color: #495057;
    --text-color-light: #6c757d;
    --border-color: #dee2e6;
    --grey-bg: #f8f9fa;

    /* Typografie */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-size-base: 1rem; /* 16px */
    --line-height-base: 1.7;

    /* Abstände (Spacing System) */
    --space-xs: 0.5rem;   /* 8px  */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2.5rem;   /* 40px */
    --space-xl: 5rem;     /* 80px */

    /* Sonstiges */
    --border-radius: 0.75rem;
    --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --transition-speed: 0.3s;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: var(--line-height-base);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Globale Typografie */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--dark-color);
    margin-bottom: var(--space-sm);
}
h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
p { margin-bottom: var(--space-sm); }
a { color: var(--primary-color); text-decoration: none; transition: color var(--transition-speed) ease; }
a:hover { color: var(--primary-color-dark); }