@font-face {
    font-family: Montserrat;
    src: url("assets/fonts/montserrat-latin.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
:root {
    /* Farbpalette für Startseite und Rechtstexte */
    --primary: #214e69;
    --primary-dark: #011e31;
    --accent: #ffba62;

    --muted: color-mix(in srgb, var(--primary-dark) 74%, white);
    --line: color-mix(in srgb, var(--primary) 23%, white);
    --paper: color-mix(in srgb, var(--primary) 5%, white);
    --primary-pale: color-mix(in srgb, var(--primary) 12%, white);
    --accent-hover: color-mix(in srgb, var(--accent) 72%, white);
    --on-dark-muted: color-mix(in srgb, white 82%, var(--primary-dark));
    --on-dark-line: color-mix(in srgb, white 28%, var(--primary-dark));
    --pad: clamp(1.25rem, 5.55vw, 6rem);
    font-family: Montserrat, Arial, sans-serif;
    color: var(--primary-dark);
    background: white;
    line-height: 1.55;
    scroll-padding-top: 6rem;
    -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
body,
h1,
h2,
h3,
p,
figure,
dl,
dd,
ul,
fieldset {
    margin: 0;
}
a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.24em;
}
button {
    font: inherit;
}
button,
a,
summary,
label {
    -webkit-tap-highlight-color: transparent;
}
img {
    display: block;
    max-width: 100%;
}
h1,
h2,
h3 {
    font-weight: 600;
    line-height: 1.04;
}
h1,
h2 {
    letter-spacing: -0.025em;
}
h2 {
    font-size: clamp(2.9rem, 4.65vw, 4.2rem);
}
p {
    text-wrap: pretty;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 4px;
}
.hero :focus-visible,
.contact :focus-visible,
.legal-title :focus-visible {
    outline-color: var(--accent);
}
[hidden] {
    display: none !important;
}
.skip {
    position: absolute;
    z-index: 20;
    left: 1rem;
    top: 0.8rem;
    transform: translateY(-220%);
    background: white;
    color: var(--primary-dark);
    padding: 0.6rem 1rem;
}
.skip:focus {
    transform: none;
}
.shell {
    width: min(81rem, calc(100% - var(--pad) * 2));
    margin-inline: auto;
}
.icon {
    display: inline-block;
    flex: none;
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
}
.site-header {
    position: sticky;
    z-index: 10;
    top: 0;
    color: var(--primary-dark);
    background: #fff;
    box-shadow: 0 1px 0 color-mix(in srgb, var(--primary-dark) 9%, transparent);
    container: topbar / inline-size;
}
.header-layout {
    display: flex;
    align-items: center;
    gap: clamp(1.3rem, 3.2vw, 3.2rem);
    min-height: 4.75rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    margin-right: auto;
    text-decoration: none;
}
.brand img {
    width: auto;
    height: 2.675rem;
    object-fit: contain;
    object-position: left center;
}
.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(1.3rem, 2.4vw, 2.5rem);
}
.site-nav a,
.nav-contact,
.footer a {
    text-decoration: none;
}
.site-nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 0.93rem;
    font-weight: 550;
}
.site-nav a::after {
    content: "";
    height: 2px;
    position: absolute;
    inset: auto 0 0.4rem;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
}
.site-nav a:hover::after,
.site-nav a:focus-visible::after {
    transform: scaleX(1);
}
.nav-contact,
.primary-button,
.menu-toggle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.nav-contact {
    min-height: 2.75rem;
    gap: 0.58rem;
    padding: 0.55rem 1.2rem;
    background: var(--primary);
    color: #fff;
    border-radius: 3px;
    font-size: 0.92rem;
    font-weight: 600;
}
.nav-contact:hover {
    background: var(--primary-dark);
}
.menu-toggle {
    border: 1px solid var(--line);
    background: white;
    border-radius: 3px;
    color: var(--primary-dark);
    width: 2.75rem;
    height: 2.75rem;
    cursor: pointer;
    flex: none;
}
.menu-toggle .icon {
    width: 1.3rem;
    height: 1.3rem;
}
.menu-toggle .icon-close,
.menu-toggle[aria-expanded="true"] .icon-menu {
    display: none;
}
.menu-toggle[aria-expanded="true"] .icon-close {
    display: block;
}
.hero {
    background: var(--primary-dark);
    color: #fff;
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.hero-scene {
    position: absolute;
    z-index: -2;
    inset: 0 0 0 auto;
    width: 65%;
}
.hero-scene img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right 76%;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            var(--primary-dark) 35%,
            color-mix(in srgb, var(--primary-dark) 83%, transparent) 42%,
            color-mix(in srgb, var(--primary-dark) 36%, transparent) 55%,
            transparent 70%
        ),
        linear-gradient(
            0deg,
            color-mix(in srgb, var(--primary-dark) 80%, transparent),
            transparent 25%
        );
}
.hero-text {
    padding-top: clamp(3.1rem, 4.65vw, 5.5rem);
    padding-bottom: clamp(2.75rem, 4.1vw, 4.7rem);
}
.specialty {
    display: flex;
    align-items: center;
    gap: 0.76rem;
    font-size: 0.875rem;
    font-weight: 550;
    color: var(--on-dark-muted);
}
.specialty span {
    width: 1.9rem;
    height: 2px;
    background: var(--accent);
    flex: none;
}
.hero h1 {
    font-size: clamp(3.2rem, 5.85vw, 6.2rem);
    line-height: 0.96;
    letter-spacing: -0.028em;
    margin: 1.1rem 0 1.35rem;
}
.hero-lead {
    max-width: min(27.5rem, 40vw);
    font-size: clamp(1.02rem, 1.2vw, 1.2rem);
    line-height: 1.56;
    color: var(--on-dark-muted);
}
.hero-lead,
.specialty {
    hyphens: auto;
}
.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin-top: 1.8rem;
}
.primary-button {
    background: var(--accent);
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 650;
    font-size: 0.94rem;
    min-height: 3rem;
    padding: 0.7rem 1.3rem;
    border-radius: 3px;
}
.primary-button:hover {
    background: var(--accent-hover);
}
.text-action {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 0.92rem;
    font-weight: 550;
    text-decoration-color: var(--on-dark-muted);
}
.text-action:hover {
    text-decoration-color: var(--accent);
}
.hero-base-inner {
    border-top: 1px solid var(--on-dark-line);
    display: flex;
    align-items: center;
    min-height: 3.8rem;
    padding-block: 0.4rem;
}
.place {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--on-dark-muted);
    font-size: 0.83rem;
    font-weight: 500;
}
.place .icon {
    color: var(--accent);
    height: 1.1rem;
    width: 1.1rem;
}
.section-space {
    padding-block: clamp(3.3rem, 5.4vw, 5.8rem);
}
.section-space,
.legal-title,
.legal-content {
    hyphens: auto;
}
.services {
    background: var(--paper);
}
.section-intro {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: clamp(1.6rem, 2.35vw, 2.35rem);
}
.section-intro p {
    font-size: 1rem;
    line-height: 1.45;
    color: var(--muted);
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 clamp(2rem, 4vw, 4rem);
}
.service {
    min-width: 0;
    padding-top: clamp(1.3rem, 2vw, 2rem);
    border-top: 2px solid var(--primary);
}
.service h3 {
    font-size: clamp(1.65rem, 2.1vw, 2.2rem);
    letter-spacing: -0.017em;
}
.credentials p,
.office-copy,
.legal-content p,
.legal-content dd {
    color: var(--muted);
}
.service-types {
    padding: 0 0 0 1.18em;
    margin: 1.15rem 0 1.55rem;
}
.service-types li {
    padding-left: 0.14em;
}
.service-types li + li {
    margin-top: 0.55rem;
}
.service-types li::marker {
    color: var(--muted);
    font-size: 0.85em;
}
.service details {
    border-top: 1px solid var(--line);
}
.service summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-block: 0.6rem;
    min-height: 2.75rem;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 650;
    color: var(--primary);
}
.service summary::-webkit-details-marker {
    display: none;
}
.service summary .icon {
    box-sizing: content-box;
    width: 1.1rem;
    height: 1.1rem;
    padding: 0.25rem;
    border-radius: 50%;
    background: var(--primary-pale);
}
.service summary:hover .icon {
    background: var(--primary);
    color: white;
}
.service details[open] .vertical {
    display: none;
}
.service-detail {
    color: var(--muted);
    line-height: 1.6;
    padding: 0.5rem 0 0.75rem;
}
.service-detail p + p {
    margin-top: 0.7rem;
}
.service-detail a {
    color: var(--primary);
}
.office-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    column-gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}
.office-layout > h2 {
    grid-column: 1 / -1;
    margin-bottom: 1.1rem;
}
.office-intro h3 {
    font-size: clamp(1.7rem, 2.35vw, 2.2rem);
}
.office-copy,
.contact-intro p {
    margin-top: 1.25rem;
    line-height: 1.65;
}
.office-copy {
    max-width: 40rem;
    hyphens: manual;
}
.office-copy p + p {
    margin-top: 0.8rem;
}
.credentials {
    padding: clamp(16px, 2.2vw, 1.9rem);
    border: 1px solid var(--line);
    border-radius: 4px;
    background: var(--paper);
    container: credentials / inline-size;
}
.credentials-details {
    display: flex;
    align-items: center;
    gap: clamp(0.85rem, 1.8vw, 1.65rem);
}
.credentials-details img {
    width: clamp(4rem, 6vw, 5.75rem);
    height: auto;
    flex: none;
    mix-blend-mode: multiply;
}
.credentials-details > div,
.contact-list span {
    min-width: 0;
}
.credentials-seals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.2rem;
    padding-top: 1.15rem;
    border-top: 1px solid var(--line);
}
.credentials-seals figure {
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 0.5rem;
    text-align: center;
}
.credentials-seals img {
    width: clamp(3.75rem, 5.65vw, 5rem);
    height: auto;
}
.credentials-seals figcaption {
    color: var(--primary-dark);
    font-size: 0.84rem;
    line-height: 1.35;
    font-weight: 600;
    hyphens: manual;
}
.credentials h3 {
    margin-bottom: 0.4rem;
    font-size: min(clamp(1.25rem, 1.65vw, 1.7rem), 12cqi);
    hyphens: manual;
}
@container credentials (max-width: 15rem) {
    .credentials-details {
        flex-direction: column;
        align-items: start;
    }
}
@container credentials (max-width: 9rem) {
    .credentials-seals {
        grid-template-columns: minmax(0, 1fr);
    }
}
.contact {
    background: var(--primary-dark);
    color: #fff;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 8vw, 8rem);
}
.contact-intro p {
    color: var(--on-dark-muted);
    max-width: 29rem;
}
.contact-list {
    margin: 0;
    font-style: normal;
}
.contact-list > * {
    display: flex;
    gap: 1.05rem;
    align-items: flex-start;
    padding: 1.1rem 0.25rem;
    border-top: 1px solid var(--on-dark-line);
    text-decoration: none;
}
.contact-list > :first-child {
    padding-top: 0;
    border: 0;
}
.contact-list > :last-child {
    padding-bottom: 0;
}
.contact-list .icon {
    width: 1.35rem;
    height: 1.35rem;
    color: var(--accent);
    margin-top: 0.13rem;
}
.contact-list small {
    display: block;
    font-size: 0.82rem;
    color: var(--on-dark-muted);
    margin-bottom: 0.27rem;
}
.contact-list strong {
    font-size: clamp(1.65rem, 2.4vw, 2.25rem);
    font-weight: 600;
    line-height: 1.2;
}
.contact-list a:hover strong {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.2em;
}
.footer-layout {
    min-height: 5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.footer-name {
    font-weight: 650;
}
.footer a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 0.875rem;
}
.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.5rem;
}
.footer a:hover {
    text-decoration: underline;
}

.legal-title {
    background: var(--primary-dark);
    color: #fff;
    padding: clamp(2rem, 4vw, 4rem) 0;
}
.back-home {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    font-size: 0.9rem;
    text-decoration-color: var(--on-dark-muted);
}
.legal-title > .shell {
    container-type: inline-size;
}
.legal-title h1 {
    font-size: min(clamp(3rem, 6.5vw, 6rem), 26cqi);
    margin-top: 1rem;
}
.legal-layout {
    display: grid;
    grid-template-columns: minmax(9rem, 0.34fr) 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    padding-block: clamp(2.5rem, 5vw, 5rem);
}
.legal-nav {
    display: flex;
    flex-direction: column;
    align-items: start;
    align-self: start;
    position: sticky;
    top: 6.5rem;
    border-left: 2px solid var(--accent);
    padding-left: 1.2rem;
}
.legal-nav a {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}
.legal-nav a:hover {
    text-decoration: underline;
}
.legal-content {
    max-width: 48rem;
    min-width: 0;
    container-type: inline-size;
}
.legal-content h2 {
    font-size: min(clamp(2.3rem, 3.55vw, 3.3rem), 26cqi);
    margin-bottom: 1.65rem;
}
.legal-content h3 {
    font-size: min(1.7rem, 21cqi);
    margin: 1.6rem 0 0.65rem;
}
.legal-content p + p {
    margin-top: 0.75rem;
}
.legal-content a {
    color: var(--primary);
}
.legal-details > div {
    padding: 0.95rem 0;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr);
    gap: 1.4rem;
}
.legal-details dt {
    font-weight: 600;
}
.legal-content section + section {
    margin-top: 3.5rem;
}
.legal-layout + .footer,
body:has(.legal-layout) .footer {
    border-top: 1px solid var(--line);
}
@media (width > 1050px) {
    .service {
        display: grid;
        grid-template-rows: subgrid;
        grid-row: span 3;
    }
}
@media (700px < width <= 1050px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 1.6rem;
    }
    #sonderfahrzeuge {
        grid-column: 1 / -1;
    }
}
@media (min-width: 701px) and (max-width: 960px) {
    .hero::before {
        background:
            linear-gradient(
                90deg,
                var(--primary-dark) 35%,
                color-mix(in srgb, var(--primary-dark) 61%, transparent) 52%,
                transparent 78%
            ),
            linear-gradient(
                0deg,
                color-mix(in srgb, var(--primary-dark) 79%, transparent),
                transparent 26%
            );
    }
    .hero-lead {
        max-width: 46vw;
    }
}
@media (max-width: 700px) {
    :root {
        --pad: clamp(1.25rem, 5.3vw, 2rem);
        scroll-padding-top: 5.25rem;
    }
    .header-layout {
        min-height: 4.15rem;
        gap: 0.55rem;
    }
    .brand img {
        height: 2.1rem;
    }
    .site-nav {
        gap: 1rem;
    }
    .nav-contact {
        padding-inline: 0.82rem;
    }
    .nav-ready .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 0.6rem var(--pad) 1rem;
        border-top: 1px solid var(--line);
        background: #fff;
        box-shadow: 0 9px 14px
            color-mix(in srgb, var(--primary-dark) 10%, transparent);
    }
    .nav-ready .site-nav.is-open {
        display: grid;
        gap: 0;
    }
    .nav-ready .site-nav a::after {
        content: none;
    }
    .nav-ready .site-nav a:is(:hover, :focus-visible) {
        text-decoration: underline;
    }
    .nav-ready .menu-toggle {
        display: inline-flex !important;
    }
    .hero {
        display: grid;
        grid-template-columns: 100%;
    }
    .hero::before {
        content: none;
    }
    .hero-text {
        grid-area: 1 / 1;
        padding-block: 1.5rem 0.75rem;
        container-type: inline-size;
    }
    .specialty span {
        width: min(1.5rem, 5vw);
    }
    .hero h1 {
        font-size: min(clamp(3rem, 10vw, 4.75rem), 15.5cqi);
        margin: 0.65rem 0 0.75rem;
        line-height: 0.98;
    }
    .hero-lead {
        max-width: 29rem;
    }
    .hero-actions {
        margin-top: 0.9rem;
        gap: 0.25rem 0.5rem;
    }
    .primary-button {
        padding-inline: 0.85rem;
    }
    .hero-scene {
        grid-area: 2 / 1;
        position: relative;
        width: 100%;
        height: clamp(7rem, 38vw, 13rem);
        z-index: 0;
    }
    .hero-scene img {
        object-position: center 70%;
    }
    .hero-scene::after {
        content: "";
        position: absolute;
        inset: -1px 0 0;
        background: linear-gradient(
            180deg,
            var(--primary-dark) 0%,
            color-mix(in srgb, var(--primary-dark) 44%, transparent) 13%,
            transparent 32%,
            transparent 76%,
            color-mix(in srgb, var(--primary-dark) 51%, transparent) 100%
        );
        pointer-events: none;
    }
    .hero-base {
        grid-area: 3 / 1;
        background: var(--primary-dark);
    }
    .hero-base-inner {
        min-height: 3.3rem;
        border: 0;
    }
    .place {
        font-size: 0.8rem;
        gap: 0.38rem;
    }
    .services {
        padding-top: 2rem;
    }
    .section-space,
    .legal-content {
        overflow-wrap: anywhere;
    }
    .section-space > .shell {
        container-type: inline-size;
    }
    .section-space h2 {
        font-size: min(2.9rem, 15cqi);
    }
    .section-intro {
        display: block;
        margin-bottom: 1.35rem;
    }
    .section-intro p {
        margin-top: 0.65rem;
        max-width: 30rem;
    }
    .wide-break {
        display: none;
    }
    .service-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1.8rem;
    }
    .office-layout,
    .contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .contact-layout {
        gap: 2rem;
    }
    .credentials {
        margin-top: 2rem;
    }
    .credentials-seals img {
        width: 4.25rem;
    }
    .office-copy,
    .contact-intro p {
        margin-top: 0.85rem;
    }
    .contact-list > :first-child {
        border-top: 1px solid var(--on-dark-line);
        padding-top: 1.1rem;
    }
    .legal-title h1,
    .legal-content h2 {
        font-size: min(2.75rem, 15cqi);
    }
    .legal-title h1 {
        text-wrap: balance;
    }
    .legal-content h3 {
        font-size: min(1.7rem, 12cqi);
    }
    .legal-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.8rem;
    }
    .legal-nav {
        position: static;
        flex-direction: row;
        gap: 0.25rem 1.5rem;
        flex-wrap: wrap;
        padding: 0 0 0.55rem;
        border: 0;
        border-bottom: 1px solid var(--line);
    }
    .legal-details > div {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}
@container topbar (max-width: 15rem) {
    .header-layout {
        width: calc(100% - 1rem);
        gap: 0.35rem;
    }
    .menu-toggle {
        width: 44px;
        height: 44px;
    }
    .menu-toggle .icon {
        width: min(1.3rem, 24px);
        height: min(1.3rem, 24px);
    }
    .nav-contact {
        padding-inline: 0.5rem;
    }
}
@container topbar (max-width: 22rem) {
    .nav-contact .icon {
        display: none;
    }
}
@media (min-width: 701px) {
    @container topbar (max-width: 30rem) {
        .header-layout,
        .site-nav {
            gap: 0.9rem;
        }
    }
}
@media (max-width: 480px) {
    html:not(.nav-ready) .site-header {
        position: static;
    }
    html:not(.nav-ready) .header-layout {
        flex-wrap: wrap;
        padding-block: 0.6rem 0;
    }
    html:not(.nav-ready) .site-nav {
        order: 2;
        flex-basis: 100%;
    }
    .footer-layout {
        display: block;
        padding-block: 0.8rem;
    }
}
@media (max-width: 370px) {
    :root {
        --pad: 0.875rem;
    }
    .primary-button {
        padding-inline: 0.55rem;
    }
    .text-action,
    .primary-button {
        font-size: 0.86rem;
    }
    .place {
        font-size: 0.75rem;
    }
}
@media (max-width: 960px) and (max-height: 30rem) and (orientation: landscape) {
    .hero-text {
        padding-block: 1rem;
    }
    .hero h1 {
        font-size: clamp(2.6rem, 6vw, 3.65rem);
        margin-block: 0.55rem 0.65rem;
    }
    .hero-actions {
        margin-top: 0.75rem;
    }
}
@media (prefers-reduced-motion: no-preference) {
    .site-nav a::after {
        transition: transform 0.18s ease;
    }
}
@media print {
    :root {
        --pad: 0rem;
        font-size: 11pt;
    }
    .site-header {
        position: static;
        box-shadow: none;
    }
    .site-nav,
    .nav-contact,
    .menu-toggle,
    .hero-base,
    .hero-actions,
    .legal-nav,
    .back-home,
    .footer nav {
        display: none !important;
    }
    .hero,
    .contact,
    .legal-title {
        color: #111;
        background: white;
    }
    .hero-lead,
    .specialty,
    .contact-intro p,
    .contact-list small {
        color: #333;
    }
    .hero-scene,
    .hero::before {
        display: none;
    }
    .hero h1 {
        font-size: 3.8rem;
    }
    .hero-text,
    .section-space,
    .legal-layout,
    .legal-title {
        padding-block: 1.5rem;
    }
    .service-grid,
    .contact-layout,
    .legal-layout {
        display: block;
    }
    .service {
        display: block;
        margin-top: 1rem;
        break-inside: avoid;
    }
    .service details::details-content {
        content-visibility: visible;
    }
    .contact-list {
        margin-top: 1rem;
    }
    .contact-list > * {
        padding-block: 0.5rem;
    }
    .legal-details > div,
    .credentials {
        break-inside: avoid;
    }
}
