:root {
    --primary-color: #0f172a; /* Edles Dunkelblau */
    --text-color: #334155;    /* Angenehmes Anthrazit für Lesbarkeit */
    --bg-color: #f8fafc;      /* Sehr heller, cleaner Hintergrund */
    --card-bg: #ffffff;
    --accent-color: #2563eb;  /* Moderner blauer Akzent */
    --border-color: #e2e8f0;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    padding: 40px 20px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Header Bereich */
.page-header {
    grid-column: 1 / -1;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-header .legal-note {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 5px;
}

/* Navigations-Sidebar */
.legal-nav {
    position: sticky;
    top: 40px;
    height: fit-content;
}

.legal-nav h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #94a3b8;
    margin-bottom: 15px;
}

.legal-nav ul {
    list-style: none;
}

.legal-nav li {
    margin-bottom: 12px;
}

.legal-nav a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.legal-nav a:hover {
    color: var(--accent-color);
}

/* Hauptinhalt */
.legal-content section {
    margin-bottom: 40px;
    scroll-margin-top: 40px;
}

.legal-content h2 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.legal-content h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 20px;
    background-color: var(--accent-color);
    margin-right: 12px;
    border-radius: 2px;
}

.legal-content p {
    margin-bottom: 16px;
    text-align: justify;
}

/* Highlight-Boxen für Daten/Impressum */
.info-box {
    background-color: #f1f5f9;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin: 20px 0;
}

.info-box p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.info-box p:last-child {
    margin-bottom: 0;
}

/* Listen-Styling für den Datenschutz */
.bullet-list {
    list-style-type: none;
    margin: 15px 0 20px 5px;
}

.bullet-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bullet-list li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Responsive Design für Smartphones */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
        padding: 20px;
    }
    .legal-nav {
        display: none; /* Blendet Sidebar auf Smartphones aus */
    }
    body {
        padding: 10px;
    }
    .page-header h1 {
        font-size: 1.8rem;
    }
}
