.terms {
    padding-top: clamp(40px, 6vw, 76px);
}

.terms article {
    max-width: 1080px;
    margin-inline: auto;
}

.terms .imprint__header {
    max-width: none;
    margin-bottom: 2rem;
}

.terms .imprint__header h1 {
    font-size: clamp(1.25rem, 4.2vw, 3.1rem);
    line-height: 1.12;
    overflow-wrap: normal;
    hyphens: none;
    text-wrap: balance;
}

.terms .imprint__header p {
    margin-top: .75rem;
    color: var(--muted);
}

.terms nav {
    padding: 1.25rem clamp(1rem, 4vw, 2rem);
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}

.terms nav h2 {
    margin: 0 0 .65rem;
    font-size: 1.05rem;
}

.terms nav ul {
    margin: 0;
    padding-left: 1.25em;
}

.terms nav li + li,
.terms .imprint__section li + li {
    margin-top: .5em;
}

.terms .imprint__content {
    max-width: none;
}

.terms .imprint__section {
    display: block;
    padding-block: 1.65rem;
    color: var(--text);
}

.terms .imprint__section h2 {
    display: flex;
    align-items: baseline;
    gap: .65em;
    font: 600 clamp(1.1rem, 2.5vw, 1.4rem)/1.35 var(--font-sans, system-ui);
    letter-spacing: normal;
    scroll-margin-top: 1.5rem;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.terms__number {
    flex: none;
    color: var(--accent-dark);
    white-space: nowrap;
}

.terms .imprint__section ol,
.terms .imprint__section ul {
    padding-left: 1.5em;
}

.terms .imprint__section ol {
    margin: .85rem 0 0;
}
