:root {
    --shell-bg: #121212;
    --shell-surface: #181818;
    --shell-text: #ffffff;
    --shell-text-soft: #b3b3b3;
    --shell-accent: #afca0b;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--shell-bg);
    color: var(--shell-text);
}

#main {
    width: 100%;
    padding: 1rem 0;
}

.top-back-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 0.9rem 1rem 0;
}

body.show-login #main {
    min-height: calc(100vh - 110px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.site-footer {
    background: #0f0f0f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1rem 1.2rem;
}

.site-footer .footer-logo {
    width: min(140px, 36vw);
    height: auto;
    opacity: 0.95;
}

.impressum-btn {
    color: var(--shell-text-soft);
    background: var(--shell-surface);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    padding: 0.45rem 1rem;
    text-decoration: none;
    font-size: 0.95rem;
    display: inline-block;
}

.impressum-btn:hover,
.impressum-btn:focus {
    color: var(--shell-accent);
}

.impressum-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 1rem;
}

.impressum-card {
    width: min(860px, 100%);
    background: var(--shell-surface);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    color: var(--shell-text);
}

.impressum-card h2 {
    margin: 0 0 0.8rem;
}

.impressum-card p {
    color: var(--shell-text-soft);
}

.impressum-card .impressum-btn {
    margin-top: 0.6rem;
}
