/* ── Schriftarten (selbst gehostet, DSGVO-konform) ──────────── */
@font-face {
    font-family: "IBM Plex Sans";
    src: url("fonts/IBMPlexSans-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Sans";
    src: url("fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
    font-weight: 100 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Serif";
    src: url("fonts/IBMPlexSerif-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Serif";
    src: url("fonts/IBMPlexSerif-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Serif";
    src: url("fonts/IBMPlexSerif-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "IBM Plex Serif";
    src: url("fonts/IBMPlexSerif-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Design-Tokens ───────────────────────────────────────── */
:root {
    --bg:           #003459;
    --bg-dark:      #00171f;
    --bg-card:      rgba(255, 255, 255, 0.06);
    --accent:       #9eb3c2;
    --accent-hover: #f5d384;
    --text:         #DDD5C8;
    --text-muted:   #9e9487;
    --border:       rgba(233, 196, 106, 0.22);
    --shadow:       0 4px 20px rgba(0, 0, 0, 0.35);
}

/* ── Reset & Basis ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: "IBM Plex Sans", system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.75;
}

h1, h2, h3, h4 {
    font-family: "IBM Plex Serif", Georgia, serif;
    color: var(--accent);
    line-height: 1.25;
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); text-decoration: underline; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Navigation ──────────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    background: rgba(0, 23, 31, 0.55);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(233, 196, 106, 0.12);
    box-shadow: var(--shadow);
    z-index: 100;
}

.nav-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.03em;
}
.nav-logo:hover { text-decoration: none; color: var(--accent-hover); }

.nav-back {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.nav-back:hover { color: var(--accent); text-decoration: none; }

/* ── Seiteninhalt ────────────────────────────────────────── */
.page-wrap {
    max-width: 860px;
    margin: 0 auto;
    padding: 4rem 2rem 6rem;
}

.page-title {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-family: "IBM Plex Serif", Georgia, serif;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* ── Inhaltsblöcke ───────────────────────────────────────── */
.legal-block {
    background: rgba(255, 255, 255, 0.05);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    border: 1px solid rgba(233, 196, 106, 0.15);
    border-radius: 10px;
    padding: 2rem 2.25rem;
    margin-bottom: 1.5rem;
}

.legal-block h2 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--border);
}

.legal-block p,
.legal-block li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-block strong { color: var(--text); }

.legal-block ul {
    padding-left: 1.4rem;
    margin-top: 0.4rem;
}

.legal-block li { margin-bottom: 0.35rem; }

/* Hervorgehobener Hinweis-Block */
.notice-box {
    background: rgba(233, 196, 106, 0.07);
    border: 1px solid rgba(233, 196, 106, 0.25);
    border-radius: 8px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ── Footer ──────────────────────────────────────────────── */
footer {
    background: #1b2e30;
    text-align: center;
    padding: 1.75rem 2rem;
    font-size: 0.83rem;
    color: var(--text-muted);
}

footer a { color: var(--accent); }
footer a:hover { color: var(--accent-hover); }

.footer-note {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    opacity: 0.7;
}
