/* andydhx.de – bewusst schlicht, ohne externe Schriften oder Skripte */
:root {
    --accent: #1f3a5f;
    --bg: #f5f6f8;
    --text: #1c2430;
    --muted: #5d6878;
    --card: #ffffff;
    --line: #d9dee6;
    color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
    :root {
        --accent: #8fb3e0;
        --bg: #141a22;
        --text: #e6eaf0;
        --muted: #9aa5b4;
        --card: #1c2430;
        --line: #2e3947;
    }
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
main { flex: 1; width: 100%; max-width: 46rem; margin: 0 auto; padding: 2rem 1.25rem; }
a { color: var(--accent); }

/* Startseite */
.home main { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.home h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.25; margin: 0 0 1.5rem; font-weight: 700; }
.home p { color: var(--muted); margin: 1.25rem 0 0; }
.counter {
    display: inline-flex;
    align-items: baseline;
    gap: .5rem;
    padding: .6rem 1rem;
    border-radius: .5rem;
    background: #111820;
    color: #f2f4f7;
    font: 700 clamp(1.4rem, 6vw, 2.2rem)/1 ui-monospace, "Cascadia Mono", Consolas, monospace;
    letter-spacing: .08em;
    box-shadow: inset 0 0 0 3px #2c3846;
}
.counter .dec { color: #ff6b5b; }
.counter small { font-size: .5em; color: #9aa5b4; letter-spacing: 0; }

/* Impressum, Datenschutz */
.legal h1 { font-size: 1.7rem; margin: 0 0 1rem; }
.legal h2 { font-size: 1.15rem; margin: 2rem 0 .4rem; }
.legal address { font-style: normal; }
.back { display: inline-block; margin-bottom: 1.5rem; }

footer {
    border-top: 1px solid var(--line);
    padding: 1rem 1.25rem;
    text-align: center;
    font-size: .9rem;
    color: var(--muted);
}
footer a { color: var(--muted); margin: 0 .5rem; }
