:root {
    --dark:    #0D1117;
    --surface: #161B22;
    --border:  #21293a;
    --text:    #cbd5e1;
    --muted:   #64748b;
    --light:   #f1f5f9;
    --accent:  #0088CC;
}

* { box-sizing: border-box; }

body {
    background: var(--dark);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 640px;
    margin: 0 auto;
    padding: 72px 24px 96px;
}

.logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}
.logo-wrap img {
    height: 40px;
    width: auto;
    opacity: 0.85;
}

h1 {
    font-size: clamp(1.4rem, 4vw, 1.75rem);
    font-weight: 600;
    color: var(--light);
    line-height: 1.4;
    margin: 0 0 40px;
    letter-spacing: -0.01em;
}

h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--light);
    line-height: 1.4;
    margin: 44px 0 16px;
}

h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin: 32px 0 12px;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0 0 16px;
}

ul {
    margin: 0 0 16px;
    padding-left: 22px;
}
li {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 8px;
}

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

.hinweis {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: 14px;
    padding: 20px 22px;
    margin: 0 0 36px;
}
.hinweis p {
    font-size: 0.95rem;
    color: #94a3b8;
    margin: 0;
}

.stand {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 48px;
}

footer {
    text-align: center;
    margin-top: 64px;
    padding-bottom: 8px;
}
footer a {
    font-size: 0.75rem;
    color: #334155;
    text-decoration: none;
}
footer a:hover { color: var(--muted); }
footer span { color: #1e293b; margin: 0 8px; }

/* Dezente Signatur ganz unten, wie in Leuchtturm und Logbuch */
.footer__copyright {
    font-size: 0.75rem;
    color: #1e293b;
    margin: 14px 0 0;
}

/* Klebendes Feld unten rechts, erscheint erst nach etwas Scrollen */
.zurueck {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 11px 18px 11px 15px;
    font-size: 0.85rem;
    color: var(--text);
    text-decoration: none;
    box-shadow: 0 8px 28px rgba(0,0,0,0.45);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.2s;
}
.zurueck.sichtbar {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.zurueck:hover {
    border-color: var(--accent);
    text-decoration: none;
}
.zurueck svg {
    width: 15px;
    height: 15px;
    flex: none;
    stroke: var(--accent);
}

@media (max-width: 480px) {
    .zurueck {
        right: 14px;
        bottom: 14px;
        padding: 10px 16px 10px 13px;
        font-size: 0.82rem;
    }
}
