:root {
    --bg: #f7f7f7;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --accent: #0a58ca;
    --border: #e5e7eb;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    display: flex;
    flex-direction: column;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

.impressum {
    margin: auto;
    width: 60%;
    flex-direction: column;    
    grid-template-columns: 1fr;
    gap: 24px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

.section h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: #111827;
    border-bottom: 1px solid var(--border);
    padding-bottom: 6px;
}

.section p {
    margin: 0;
    color: var(--text);
}

.section+.section {
    border-top: 1px solid var(--border);
    padding-top: 14px;
}

.footer-nav {
    text-align: left;
    margin: 18px 0 0;
}

.back-link {
    display: inline-block;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--text);
    background: #fff;
}

.back-link:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

@media (min-width: 600px) {
    .impressum {
        grid-template-columns: repeat(3, 1fr);
    }

    .section {
        padding: 0 8px;
    }

    .section h3 {
        font-size: 1.15rem;
    }
}