/* WP Planer – Rechtsseiten (Impressum, Datenschutz, AGB)
   Nutzt dieselben iOS-Design-Tokens wie site.css. */

:root {
    color-scheme: light dark;
    --blue: #007AFF;
    --blue-dark: #0066D6;
    --orange: #FF9500;
    --label: #000000;
    --label-secondary: #6D6D72;
    --label-tertiary: #AEAEB2;
    --bg: #FFFFFF;
    --bg-grouped: #F2F2F7;
    --bg-card: #FFFFFF;
    --separator: rgba(60, 60, 67, 0.12);
    --tint-blue: rgba(0, 122, 255, 0.12);
    --tint-orange: rgba(255, 149, 0, 0.15);
    --glass: rgba(255, 255, 255, 0.72);
    --glass-border: rgba(255, 255, 255, 0.6);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
    --shadow-float: 0 2px 8px rgba(0, 0, 0, 0.08), 0 16px 40px rgba(0, 0, 0, 0.10);
    --r-md: 16px;
    --r-lg: 24px;
    --r-pill: 100px;
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Inter, system-ui, sans-serif;
    --font-rounded: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
    :root {
        --blue: #0A84FF;
        --blue-dark: #409CFF;
        --orange: #FF9F0A;
        --label: #FFFFFF;
        --label-secondary: #98989F;
        --label-tertiary: #636366;
        --bg: #000000;
        --bg-grouped: #000000;
        --bg-card: #1C1C1E;
        --separator: rgba(84, 84, 88, 0.6);
        --tint-blue: rgba(10, 132, 255, 0.2);
        --tint-orange: rgba(255, 159, 10, 0.2);
        --glass: rgba(28, 28, 30, 0.72);
        --glass-border: rgba(255, 255, 255, 0.08);
        --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4);
        --shadow-float: 0 2px 8px rgba(0, 0, 0, 0.4), 0 16px 40px rgba(0, 0, 0, 0.5);
    }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    color: var(--label);
    background: var(--bg-grouped);
    line-height: 1.6;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
}

nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 1rem; pointer-events: none; }
.nav-content {
    max-width: 1080px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    padding: 8px 8px 8px 12px;
    border-radius: var(--r-pill);
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: saturate(180%) blur(24px);
    -webkit-backdrop-filter: saturate(180%) blur(24px);
    box-shadow: var(--shadow-float);
    pointer-events: auto;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--label); }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.logo-text { font-weight: 600; font-size: 17px; letter-spacing: -0.01em; }
.nav-back {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 14px 0 10px;
    border-radius: var(--r-pill);
    background: var(--tint-blue); color: var(--blue);
    text-decoration: none; font-size: 15px; font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.nav-back:hover { background: var(--blue); color: #fff; }
.nav-back svg { width: 18px; height: 18px; }
.lang-switch {
    display: inline-flex; align-items: center; justify-content: center;
    height: 36px; padding: 0 14px;
    border-radius: var(--r-pill);
    background: var(--tint-blue); color: var(--blue);
    text-decoration: none; font-size: 15px; font-weight: 600;
    transition: background 0.2s, color 0.2s;
}
.lang-switch:hover { background: var(--blue); color: #fff; text-decoration: none; }

main {
    max-width: 760px;
    margin: 0 auto;
    padding: 7.5rem 1.5rem 4rem;
}
h1 { font-size: clamp(2.2rem, 5vw, 2.8rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.5rem; }
.subtitle { color: var(--label-secondary); font-size: 16px; margin-bottom: 2.5rem; }
h2 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; margin-top: 2.5rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin-top: 1.5rem; margin-bottom: 0.5rem; }
p { color: var(--label-secondary); margin-bottom: 1rem; }
ul { color: var(--label-secondary); margin-bottom: 1rem; padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
strong { color: var(--label); font-weight: 600; }

.highlight-box, .contact-box, .address-box {
    background: var(--bg-card);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-card);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}
.highlight-box p, .contact-box p, .address-box p { margin-bottom: 0.4rem; }
.highlight-box p:last-child, .contact-box p:last-child, .address-box p:last-child { margin-bottom: 0; }

.disclaimer-box {
    background: var(--tint-orange);
    border-radius: var(--r-md);
    padding: 1.25rem 1.5rem;
    margin: 1.25rem 0;
}
.disclaimer-box p { color: var(--label); margin-bottom: 0.9rem; }
.disclaimer-box p:last-child { margin-bottom: 0; }

.legal-reference {
    display: inline-block;
    font-family: var(--font-rounded);
    font-weight: 600;
    font-size: 0.85em;
    color: var(--blue);
    background: var(--tint-blue);
    padding: 2px 8px;
    border-radius: var(--r-pill);
    white-space: nowrap;
}

footer {
    padding: 2.5rem 1.5rem;
    background: var(--bg-grouped);
    border-top: 1px solid var(--separator);
    margin-top: 3rem;
}
.footer-content {
    max-width: 760px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 1.25rem;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.footer-brand img { width: 30px; height: 30px; border-radius: 8px; }
.footer-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-links a { color: var(--label-secondary); font-size: 15px; }
.footer-links a:hover { color: var(--blue); text-decoration: none; }
.footer-copy { color: var(--label-tertiary); font-size: 14px; }

@media (max-width: 640px) {
    body { font-size: 16px; }
    main { padding: 6rem 1.25rem 3rem; }
    .nav-back span { display: none; }
    .nav-back { padding: 0 10px; }
    .footer-content { flex-direction: column; text-align: center; }
}
