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

:root {
    --bg: #111;
    --bg-surface: #1a1a1a;
    --text: #eee;
    --text-muted: #999;
    --accent: #6366f1;
    --accent-hover: #4f46e5;
    --max-width: 720px;
}

html { height: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

/* --- Nav --- */
.nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}
.nav-logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-muted); font-size: 14px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* --- Main --- */
main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
    flex: 1;
}

/* --- Hero --- */
.hero {
    text-align: center;
    padding: 80px 0 48px;
}
.hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.hero-sub {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.cta-badge img { display: block; }
.cta-badge { display: inline-block; }

/* --- Features --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 48px 0;
}
.feature {
    background: var(--bg-surface);
    border-radius: 12px;
    padding: 24px;
}
.feature h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.feature p {
    color: var(--text-muted);
    font-size: 15px;
}

/* --- Legal pages --- */
.legal {
    padding: 48px 0 64px;
}
.legal h1 {
    font-size: 28px;
    margin-bottom: 8px;
}
.legal-meta {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}
.legal h2 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 12px;
}
.legal h3 {
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 8px;
}
.legal p, .legal li {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 8px;
}
.legal ul, .legal ol {
    padding-left: 24px;
    margin-bottom: 16px;
}
.legal table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
}
.legal th, .legal td {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 1px solid #333;
    font-size: 14px;
    color: var(--text-muted);
}
.legal th {
    color: var(--text);
    font-weight: 600;
}

/* --- Footer --- */
footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 32px 24px;
    width: 100%;
    border-top: 1px solid #222;
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
}
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--text); }
.footer-contact { margin-bottom: 8px; }
.footer-impressum { margin-bottom: 8px; }
.footer-copy { margin-top: 8px; }

/* --- Responsive --- */
@media (max-width: 480px) {
    .hero { padding: 48px 0 32px; }
    .hero h1 { font-size: 28px; }
    .hero-sub { font-size: 16px; }
    .features { grid-template-columns: 1fr; }
}
