/* ============================================
   GLOBAL BASE STYLES
   ============================================ */

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    line-height: 1.6;

    /* Performance Optimierung */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

    h1 {
        font-size: var(--font-h1);
        margin-bottom: var(--space-m);
    }

    h2 {
        font-size: var(--font-h2);
        margin-top: var(--space-l);
        margin-bottom: var(--space-s);
    }

    h3 {
        font-size: var(--font-h3);
    }

    p, li {
        font-size: var(--font-base);
        line-height: 1.6;
    }

    ul {
        margin-left: var(--space-m);
    }

/* ============================================
   BUTTONS
   ============================================ */

    button,
    .btn {
        background: var(--accent);
        color: #0b0f0e;
        padding: 12px 24px;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        font-weight: 600;
        text-decoration: none;
        display: inline-block;
        transition: 0.2s;
        transition: opacity 1s easeOut;
        opacity: 1;
    }

    button:hover,
    .btn:hover {    
        background: var(--accent-hover);
        box-shadow: 0 0 12px var(--accent-glow);
        transform: translateY(-2px);
        opacity: 0.8;
    }

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */

    .page {
        max-width: 1200px;
        margin: 40px auto;
        padding: 20px;
        min-height: calc(100vh - 80px); /* Platz für Navbar */
        display: flex;
        justify-content: center;
        align-items: center;
    }

/* ============================================
   ERROR BOX LAYOUT 
   ============================================ */

    .error-box {
        text-align: center;
        padding: 40px 60px;
        background: var(--bg-glass);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        backdrop-filter: blur(var(--blur));
        box-shadow: var(--shadow);
        animation: fadeIn 0.8s ease-out;
        width: fit-content;
    }

    @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
    
    .error-h1 {
        font-size: 96px;
        font-style: italic;
        margin: 0;
        background: #ff4f6b;
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;

    }

/* ============================================
   COMPONENT: PRIVACY PAGE
   ============================================ */

    .privacy-page {
        max-width: 800px;        /* macht den Text schmaler */
        margin: 60px auto;       /* zentriert die Seite horizontal */
        padding: 40px;           /* schöner Innenabstand */
        background: var(--bg-alt);
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        line-height: 1.7;        /* bessere Lesbarkeit */
        font-size: 17px;         /* angenehme Schriftgröße */
        font-family: var(--font-family);
    }

    .privacy-page h1 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .privacy-page h2 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .privacy-page p,
    .privacy-page li {
        font-size: 16px;
        line-height: 1.6;
    }

    .privacy-page ul {
        margin-left: 20px;
    }

/* ============================================
   COMPONENT: NAV BAR
   ============================================ */

    .navbar {
        width: 100%;
        background: var(--bg-alt);
        padding: 16px 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
        position: sticky;
        top: 0;
        z-index: 1000;

        display: flex;
        justify-content: center;
    }

    .nav-inner {
        width: 100%;
        max-width: 1600px;
        padding: 0 32px;

        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-logo {
        font-size: 24px;
        font-weight: 700;
        color: var(--accent);
    }

    .nav-logo a {
        color: var(--accent);        
        text-decoration: none;
        transition: 0.2s;
    }

    .nav-logo a:hover{
        color: var(--accent);
        opacity: 0.8; 
    }

    .nav-links {
        list-style: none;
        display: flex;
        gap: 24px;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        color: var(--text);
        text-decoration: none;
        font-size: 18px;
        transition: 0.2s;
    }

    .nav-links a:hover {
        color: var(--accent);
        opacity: 0.8;
    }
