/* FONTS — Display: Gabarito, Body: Source Sans 3 */
@font-face {
    font-family: 'Gabarito';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/Gabarito-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Gabarito';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/Gabarito-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Gabarito';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/Gabarito-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Gabarito';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/Gabarito-Bold.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/SourceSans3-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('fonts/SourceSans3-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('fonts/SourceSans3-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('fonts/SourceSans3-Bold.woff2') format('woff2');
}

:root {
    --font-display: 'Gabarito', 'Segoe UI', system-ui, sans-serif;
    --font-body: 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

body {
    background: #1a1a1a;
    color: #e8e8e8;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
}

a {
    color: inherit;
    text-decoration: none;
}

/* NAV */
nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 2rem;
    border-bottom: 1px solid #272727;
    position: sticky;
    top: 0;
    background: #1a1a1aee;
    backdrop-filter: blur(8px);
    z-index: 10;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: #e0e0e0;
}

.nav-logo img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

/* LEGAL CONTENT */
.legal {
    max-width: 760px;
    margin: 0 auto;
    padding: 3.5rem 2rem 4rem;
}

.legal h1 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: #f2f2f2;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.legal h2 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    color: #f0f0f0;
    line-height: 1.3;
    margin: 2.5rem 0 1rem;
}

.legal h3 {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 600;
    color: #d5d5d5;
    line-height: 1.4;
    margin: 1.75rem 0 0.6rem;
}

.legal h4 {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    color: #bdbdbd;
    line-height: 1.4;
    margin: 1.25rem 0 0.5rem;
}

.legal p,
.legal li {
    color: #888;
    font-size: 15px;
    line-height: 1.8;
}

.legal p {
    margin-bottom: 1rem;
}

.legal ul {
    margin: 0 0 1rem 1.25rem;
}

.legal li {
    margin-bottom: 0.5rem;
}

.legal a {
    color: #888;
    border-bottom: 1px solid #333;
    transition: color 0.2s, border-color 0.2s;
}

.legal a:hover {
    color: #ccc;
    border-color: #555;
}

/* PAGE FOOTER (Querverweise) */
.legal-footer {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    font-size: 13px;
    color: #777;
}

.legal-footer a {
    color: #888;
    margin-right: 1rem;
    border-bottom: 1px solid #444;
    transition: color 0.2s, border-color 0.2s;
}

.legal-footer a:hover {
    color: #aaa;
    border-color: #666;
}

/* RESPONSIVE */
@media (max-width: 600px) {
    .legal {
        padding: 2.5rem 1.5rem 3rem;
    }

    .legal h1 {
        font-size: 27px;
    }

    .legal-footer {
        padding: 0 1.5rem 3rem;
    }
}
