.aks-legal-section {
    padding: 88px 0 104px;
    background: #f3f6f8;
}

.aks-legal-layout {
    display: grid;
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    align-items: start;
    gap: clamp(34px, 5vw, 72px);
}

.aks-legal-sidebar {
    position: sticky;
    top: 104px;
}

.aks-legal-sidebar-card {
    padding: 27px 25px;
    background: #0d283b;
    box-shadow: 0 18px 44px rgba(7, 30, 47, .14);
}

.aks-legal-document-label {
    display: block;
    margin-bottom: 22px;
    color: #83b7a7;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.aks-legal-sidebar-card > strong,
.aks-legal-sidebar-card > time {
    display: block;
}

.aks-legal-sidebar-card > strong {
    color: #fff;
    font-size: 13px;
}

.aks-legal-sidebar-card > time {
    margin-top: 5px;
    color: rgba(255, 255, 255, .62);
    font-size: 12px;
}

.aks-legal-sidebar nav {
    display: grid;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.aks-legal-sidebar nav a {
    position: relative;
    padding: 12px 0 12px 15px;
    color: rgba(255, 255, 255, .72);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    font-size: 12px;
    font-weight: 650;
    line-height: 1.4;
    text-decoration: none;
    transition: color .2s ease, padding-left .2s ease;
}

.aks-legal-sidebar nav a::before {
    position: absolute;
    top: 18px;
    left: 0;
    width: 5px;
    height: 5px;
    background: #79aa9b;
    border-radius: 50%;
    content: "";
}

.aks-legal-sidebar nav a:hover {
    padding-left: 19px;
    color: #fff;
}

.aks-legal-content {
    min-width: 0;
    padding: clamp(31px, 5vw, 62px);
    background: #fff;
    border: 1px solid #e0e8ed;
    box-shadow: 0 16px 50px rgba(11, 36, 53, .07);
}

.aks-legal-lead {
    display: grid;
    margin-bottom: 54px;
    padding: 25px 27px;
    color: #274456;
    background: #e7f1ee;
    border-left: 4px solid #03503c;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 17px;
}

.aks-legal-lead i {
    padding-top: 4px;
    color: #03503c;
    font-size: 24px;
}

.aks-legal-lead p,
.aks-legal-note p,
.aks-legal-warning p {
    margin: 0;
}

.aks-legal-content > section {
    position: relative;
    scroll-margin-top: 120px;
}

.aks-legal-content > section + section {
    margin-top: 53px;
    padding-top: 52px;
    border-top: 1px solid #e3e9ed;
}

.aks-legal-section-number {
    display: inline-block;
    margin-bottom: 10px;
    color: #03503c;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .16em;
}

.aks-legal-content h2 {
    margin: 0 0 20px;
    color: #122b3e;
    font-size: clamp(24px, 3vw, 33px);
    font-weight: 780;
    letter-spacing: -.025em;
    line-height: 1.2;
}

.aks-legal-content h3 {
    margin: 0;
    color: #17364d;
    font-size: 16px;
    font-weight: 760;
}

.aks-legal-content p,
.aks-legal-content li {
    color: #5d707e;
    font-size: 15px;
    line-height: 1.82;
}

.aks-legal-content p + p {
    margin-top: 15px;
}

.aks-legal-content strong {
    color: #294659;
}

.aks-legal-content ul {
    display: grid;
    margin: 18px 0 0;
    padding: 0;
    gap: 10px;
    list-style: none;
}

.aks-legal-content li {
    position: relative;
    padding-left: 25px;
}

.aks-legal-content li::before {
    position: absolute;
    top: .78em;
    left: 2px;
    width: 7px;
    height: 7px;
    background: #79aa9b;
    border-radius: 50%;
    content: "";
}

.aks-legal-card-grid {
    display: grid;
    margin: 25px 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.aks-legal-card-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aks-legal-card-grid > div {
    padding: 24px;
    background: #f6f8f9;
    border: 1px solid #e2e8ec;
}

.aks-legal-card-grid i {
    display: inline-grid;
    width: 42px;
    height: 42px;
    margin-bottom: 17px;
    color: #03503c;
    background: #e3efeb;
    place-items: center;
}

.aks-legal-card-grid p {
    margin: 8px 0 0;
    font-size: 13px;
    line-height: 1.65;
}

.aks-legal-table-wrap {
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid #dce5ea;
}

.aks-legal-table {
    width: 100%;
    min-width: 620px;
    margin: 0;
    border-collapse: collapse;
}

.aks-legal-table th,
.aks-legal-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #e3e9ed;
    text-align: left;
    vertical-align: top;
}

.aks-legal-table th {
    color: #fff;
    background: #17364d;
    font-size: 12px;
    font-weight: 760;
    letter-spacing: .03em;
}

.aks-legal-table td {
    color: #5e7180;
    background: #fff;
    font-size: 13px;
    line-height: 1.65;
}

.aks-legal-table tbody tr:last-child td {
    border-bottom: 0;
}

.aks-legal-table tbody tr:nth-child(even) td {
    background: #f7f9fa;
}

.aks-cookie-table code {
    display: block;
    color: #03503c;
    font-size: 12px;
    overflow-wrap: anywhere;
}

.aks-cookie-table small {
    display: block;
    margin-top: 5px;
    color: #84919b;
}

.aks-legal-contact-card {
    display: grid;
    margin-top: 24px;
    padding: 8px 25px;
    background: #f6f8f9;
    border: 1px solid #e1e8ec;
}

.aks-legal-contact-card > div {
    display: grid;
    padding: 16px 0;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: start;
    gap: 10px;
}

.aks-legal-contact-card > div + div {
    border-top: 1px solid #e1e7eb;
}

.aks-legal-contact-card i {
    padding-top: 4px;
    color: #03503c;
}

.aks-legal-contact-card span {
    color: #475d6d;
    font-size: 14px;
    line-height: 1.6;
}

.aks-legal-contact-card small {
    display: block;
    margin-bottom: 2px;
    color: #81909a;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
}

.aks-legal-contact-card a,
.aks-legal-inline-link {
    color: #03503c;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(3, 80, 60, .28);
    text-underline-offset: 3px;
}

.aks-legal-contact-card a:hover,
.aks-legal-inline-link:hover {
    color: #0d283b;
    text-decoration-color: currentColor;
}

.aks-legal-note,
.aks-legal-warning {
    display: grid;
    margin-top: 24px;
    padding: 21px 23px;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.aks-legal-note {
    color: #315367;
    background: #e8f1f5;
    border-left: 3px solid #2e6e91;
}

.aks-legal-warning {
    margin-bottom: 25px;
    color: #694f20;
    background: #fff5dc;
    border-left: 3px solid #ce8e13;
}

.aks-legal-note i,
.aks-legal-warning i {
    padding-top: 4px;
}

.aks-legal-note i {
    color: #2e6e91;
}

.aks-legal-warning i {
    color: #b77600;
}

.aks-legal-note p,
.aks-legal-warning p {
    color: inherit;
    font-size: 13px;
    line-height: 1.7;
}

.aks-legal-warning strong {
    display: block;
    margin-bottom: 5px;
    color: #694f20;
}

@media (max-width: 991px) {
    .aks-legal-layout {
        grid-template-columns: 1fr;
    }

    .aks-legal-sidebar {
        position: static;
    }

    .aks-legal-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 22px;
    }
}

@media (max-width: 767px) {
    .aks-legal-section {
        padding: 56px 0 68px;
    }

    .aks-legal-content {
        padding: 27px 22px;
    }

    .aks-legal-lead {
        margin-bottom: 42px;
        padding: 21px;
    }

    .aks-legal-content > section + section {
        margin-top: 42px;
        padding-top: 41px;
    }

    .aks-legal-card-grid,
    .aks-legal-card-grid-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .aks-legal-sidebar nav {
        grid-template-columns: 1fr;
    }

    .aks-legal-lead {
        grid-template-columns: 1fr;
    }

    .aks-legal-content p,
    .aks-legal-content li {
        font-size: 14px;
    }
}

@media print {
    .aks-legal-sidebar,
    .aks-page-hero,
    .aks-footer-cta,
    .footer,
    .header {
        display: none !important;
    }

    .headermobil {
        padding-top: 0 !important;
    }

    .aks-legal-section {
        padding: 0;
        background: #fff;
    }

    .aks-legal-layout {
        display: block;
    }

    .aks-legal-content {
        padding: 0;
        border: 0;
        box-shadow: none;
    }
}
