/* ===== Standalone-Rechtsseiten (Datenschutz / Impressum) =====
   Eigene, schlanke Datei: die Seiten müssen unter einer festen URL stehen
   (App-Links, App Store Connect) und dürfen nicht davon abhängen, dass das
   Layout der Startseite geladen wurde. */

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

:root {
    --accent: #EBAF32;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --bg: #f7f6f3;
    --surface: #ffffff;
    --text: #14140f;
    --text-2: #56564e;
    --text-3: #8a8a80;
    --line: rgba(20, 20, 15, 0.10);
    --shadow: 0 24px 60px rgba(20, 20, 15, 0.08);
}

[data-theme="dark"] {
    --bg: #0b0b0c;
    --surface: #161618;
    --text: #f4f3f0;
    --text-2: #a7a7a2;
    --text-3: #767672;
    --line: rgba(255, 255, 255, 0.10);
    --shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    padding: 32px 20px 80px;
}

.wrap { max-width: 760px; margin: 0 auto; }

header.bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

a.home {
    color: var(--text-2);
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

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

.controls { display: flex; gap: 8px; align-items: center; }

select,
button.theme {
    font: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 6px 10px;
    cursor: pointer;
}

h1 {
    font-size: clamp(1.6rem, 4vw, 2.1rem);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
}

article {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
    padding: clamp(20px, 4vw, 36px);
}

article p { margin-bottom: 16px; color: var(--text-2); }
article p:last-child { margin-bottom: 0; }
article strong { color: var(--text); }
article ul { margin: 0 0 16px 22px; color: var(--text-2); }
article li { margin-bottom: 6px; }
article a { color: var(--accent); }

footer.legal {
    margin-top: 28px;
    font-size: 0.85rem;
    color: var(--text-3);
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

footer.legal a { color: var(--text-3); }
