/* static/css/impressum.css */

.impressum-root {
    max-width: 880px;
    margin: 0 auto;
    padding: 1.2rem 0 1.8rem;
}

.im-title {
    font-size: 1.8rem;
    margin: 0 0 0.4rem;
}

.im-lead {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--sa-text-main);
    max-width: 46rem;
}

.im-section {
    margin-top: 1.5rem;
    padding: 1.2rem 1.3rem;
    background: var(--sa-surface);
    border-radius: var(--sa-radius-card);
    border: 1px solid var(--sa-border);
    box-shadow: var(--sa-shadow-soft);
}

.im-section-last {
    margin-bottom: 0.4rem;
}

.im-section-title {
    margin: 0 0 0.6rem;
    font-size: 1.15rem;
}

.im-kv {
    display: grid;
    grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr);
    gap: 0.3rem 1rem;
    font-size: 0.9rem;
}

.im-kv-label {
    font-weight: 600;
    color: var(--sa-text-muted);
}

.im-kv-value {
    line-height: 1.5;
}

.im-link {
    color: var(--sa-red);
    text-decoration: none;
    border-bottom: 1px solid rgba(179, 18, 23, 0.25);
}

.im-link:hover {
    border-bottom-color: rgba(179, 18, 23, 0.6);
}

.im-note {
    margin-top: 0.7rem;
    padding: 0.7rem 0.9rem;
    border-radius: 0.6rem;
    background: #fff7f7;
    color: #4b1b1b;
    font-size: 0.85rem;
}

.im-list {
    margin: 0.4rem 0 0.8rem 1.2rem;
    padding: 0;
    font-size: 0.9rem;
}

.im-list li {
    margin-bottom: 0.3rem;
}

.ba-footer-link {
    text-decoration: none;
    color: var(--sa-text-muted);
    font-weight: 500;
}

.ba-footer-link:hover {
    text-decoration: underline;
}

/* responsive Layout */
@media (max-width: 720px) {
    .impressum-root {
        padding-top: 0.8rem;
    }

    .im-section {
        padding-inline: 1rem;
    }

    .im-kv {
        grid-template-columns: minmax(0, 1fr);
    }

    .im-kv-label {
        margin-top: 0.4rem;
    }
}