@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: normal;
    font-weight: 300;
    src:
        url('../app/assets/fonts/DKBEuclid-Light-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-Light-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: italic;
    font-weight: 300;
    src:
        url('../app/assets/fonts/DKBEuclid-LightItalic-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-LightItalic-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: normal;
    font-weight: 400;
    src:
        url('../app/assets/fonts/DKBEuclid-Regular-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-Regular-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: normal;
    font-weight: 500;
    src:
        url('../app/assets/fonts/DKBEuclid-Medium-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-Medium-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: italic;
    font-weight: 500;
    src:
        url('../app/assets/fonts/DKBEuclid-MediumItalic-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-MediumItalic-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: normal;
    font-weight: 600;
    src:
        url('../app/assets/fonts/DKBEuclid-Semibold-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-Semibold-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: italic;
    font-weight: 600;
    src:
        url('../app/assets/fonts/DKBEuclid-SemiboldItalic-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-SemiboldItalic-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: normal;
    font-weight: 700;
    src:
        url('../app/assets/fonts/DKBEuclid-Bold-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-Bold-WebXL.woff') format('woff');
}

@font-face {
    font-display: fallback;
    font-family: DKBEuclid;
    font-style: italic;
    font-weight: 700;
    src:
        url('../app/assets/fonts/DKBEuclid-BoldItalic-WebXL.woff2') format('woff2'),
        url('../app/assets/fonts/DKBEuclid-BoldItalic-WebXL.woff') format('woff');
}
html {
    min-height: 100%;
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    font-family: DKBEuclid, sans-serif;
    text-align: center;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

ul {
    list-style: none;
    padding-left: 0;
}

.header-text {
    color: rgba(13, 14, 15, 0.95);
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
    letter-spacing: 0.24px;
}

.header-text-s {
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
    margin-bottom: 24px;
}
.logo {
    display: flex;
    align-items: flex-end;
    margin-left: 40px;
    margin-top: 18px;
    width: 71px;
    height: 40px;
}

.body-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 4px;
    max-width: 85vw;
    padding: 32px 20px;
    margin: auto;

    &.unset-justify {
        justify-content: unset;
    }
}

.info-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    &.justify-end {
        justify-content: flex-end;
    }

    @media (min-width: 769px) {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        gap: 32px;
    }
}
.body-text {
    color: rgba(15, 47, 71, 0.66);
    font-size: 17px;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 0.17px;
    text-align: left;
    @media (min-width: 769px) {
        flex: 1 1 0;
        max-width: none;
    }
}

.error-image {
    max-width: 310px;

    img {
        width: 100%;
    }

    @media (min-width: 769px) {
        flex: 0 0 310px;
    }
}

.btn-action {
    display: inline-block;
    padding: 13px 18px;
    font-size: 17px;
    color: #fff;
    background-color: #006ac7;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    width: 90%;
    margin: auto;
    text-align: center;

    @media (min-width: 768px) {
        width: unset;
    }
}

.hero-container {
    text-align: left;
    .text-content {
        grid-column: span 10;
    }

    .eyebrow {
        color: #0976d6;
        font-size: 20px;
        font-weight: 600;
    }

    .header-text {
        margin: 0 0 32px;
    }

    p {
        color: rgba(9, 17, 24, 0.84);
        font-size: 17px;
        font-weight: 400;
        line-height: 26px;
        margin: 0 0 12px;
    }
}

.impressum-hero,
.datenschutz-hero {
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(180deg, #eef6fd 0%, #f6fbff 100%);
    padding: 56px 20px 120px;
    clip-path: polygon(0 0, 100% 0, 100% 84%, 0 100%);
    margin-top: 10px;

    .header-text {
        font-size: 56px;
        line-height: 1.05;
        letter-spacing: -0.02em;
        margin-bottom: 28px;
    }

    p {
        color: rgba(13, 14, 15, 0.95);
        font-size: 20px;
        font-weight: 400;
        line-height: 1.5;
        margin-bottom: 40px;
        margin-top: 30px;
        max-width: 640px;
        margin-bottom: 0;
    }
}

.datenschutz-hero p {
    max-width: unset;
}

.impressum-content,
.datenschutz-content,
.hero-container {
    box-sizing: border-box;
    padding-top: 32px;
    display: grid;
    grid-template-rows: auto auto auto;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    margin: 0 auto;
    width: 100%;
    column-gap: 30px;
    padding-left: 30px;
    padding-right: 30px;

    .text-content {
        grid-column: 1 / -1;
        min-width: 0;
        padding-top: 32px;
        padding-bottom: 32px;
        text-align: left;
        @media (min-width: 1024px) {
            grid-column: 1 / 11;
        }
    }

    .content-section {
        margin-top: 40px;
    }

    h2 {
        color: rgba(13, 14, 15, 0.95);
        font-size: 24px;
        font-weight: 600;
        line-height: 30px;
        letter-spacing: 0.24px;
        margin: 0 0 16px;
    }

    a {
        color: #006ac7;
        overflow-wrap: anywhere;
    }

    .content-section p {
        font-size: 16px;
        line-height: 30px;
    }

    .first-section {
        margin-top: 0;
    }

    @media (min-width: 1024px) {
        max-width: 1050px;

        h2 {
            font-size: 32px;
            font-weight: 600;
            line-height: 1.31;
        }
        .content-section p {
            font-size: 18px;
        }
    }

    @media (min-width: 1440px) {
        max-width: 1350px;
    }
}

.datenschutz-content ul {
    list-style: disc;
    padding-left: 20px;
    margin: 16px 0;

    li::marker {
        color: #0976d6;
    }
}

.accordion-section {
    text-align: left;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;

    .accordion {
        border-radius: 12px;
        border: 1px solid rgba(8, 76, 128, 0.21);
        width: 100%;
    }
}

details {
    color: rgba(13, 14, 15, 0.95);
    width: 100%;

    &:open {
        .chevron-icon {
            transform: rotate(180deg);
        }
    }

    &:last-of-type summary {
        border-bottom: none;
    }

    summary {
        font-size: 17px;
        font-weight: 400;
        line-height: 22px;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(8, 76, 128, 0.21);
        list-style: none;
        display: flex;
        align-items: center;
        .chevron-icon {
            transition: all 0.2s ease-in-out;
        }

        ::webkit-details-marker {
            display: none;
        }
    }

    .content {
        padding: 24px 32px;
        color: rgba(9, 17, 24, 0.84);
        font-size: 15px;
        border-bottom: 1px solid rgba(8, 76, 128, 0.21);
        li {
            margin-bottom: 23px;
        }
    }

    p {
        font-style: normal;
        font-weight: 400;
        line-height: 23px;
        margin: 0;
    }
    a {
        color: #006ac7;
    }
}

.datenschutz-accordion {
    margin-top: 50px;
    details {
        .datenschutz-accordion__icon {
            
            img {
                height: 24px;
                object-fit: contain;
            }
        }

        .datenschutz-expand-icon {
            &.plus {
                display: block;
            }
            &.close {
                display: none;
            }
        }

        summary {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            border-top: 2px solid #21334133;
            border-bottom: none;
        }

        h3 {
            
            font-size: 18px;

            @media (min-width: 768px) {
                font-size: 20px;
            }
        }

        &:last-of-type summary {
            border-bottom: 2px solid #21334133;
        }
        .content {
            padding: 24px 16px;
            border-bottom: none;
        }
        &:open {
            .datenschutz-expand-icon {
                &.plus {
                    display: none;
                }
                &.close {
                    display: block;
                }
            }
        }
    }
}
.datenschutz-page main {
    flex: 1;
}

@media (max-width: 1124px) {
    .impressum-hero,
    .datenschutz-hero {
        padding-left: 0;
        padding-right: 0;
    }

    .impressum-content,
    .datenschutz-content,
    .hero-container {
        column-gap: 20px;
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 768px) {
    .logo {
        margin-left: 24px;
    }

    .impressum-hero,
    .datenschutz-hero {
        padding-bottom: 88px;
        padding-top: 40px;

        .header-text {
            font-size: 42px;
            line-height: 1.1;
        }

        p {
            font-size: 18px;
            line-height: 1.45;
            margin-top: 20px;
        }
    }

    .impressum-content,
    .datenschutz-content,
    .hero-container {
        column-gap: 16px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .datenschutz-accordion {
        margin-top: 32px;

        details {
            summary {
                padding-left: 0;
                padding-right: 0;
            }

            .content {
                padding-left: 0;
                padding-right: 0;
            }
        }
    }
}

@media (max-width: 480px) {
    .logo {
        margin-left: 20px;
        width: 64px;
    }

    .impressum-hero,
    .datenschutz-hero {
        padding-bottom: 72px;

        .header-text {
            font-size: 36px;
        }
    }

    .impressum-content,
    .datenschutz-content,
    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.privacy-contact p,
.privacy-footnote {
    color: rgba(9, 17, 24, 0.74);
    font-size: 15px;
    line-height: 24px;
    margin: 0 0 16px;
}

.privacy-accordion {
    overflow: hidden;
}

.privacy-footnote {
    margin-top: 18px;
}

.footer {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
    align-items: flex-start;
    background: #002e5c;
    padding: 0 8px;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
    margin-top: auto;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    @media (min-width: 768px) {
        flex-direction: row;
        align-items: center;
    }

    .copyright {
        margin-left: 16px;

        @media (min-width: 768px) {
            margin-left: 32px;
        }
    }
    a,
    span {
        color: #ffffff;
        text-decoration: underline;
        margin-left: 16px;
    }

    .footer_links {
        display: flex;
        align-items: flex-start;
        padding: 0;
        flex-direction: column;
        gap: 16px;
        @media (min-width: 768px) {
            flex-direction: row;
            gap: 0;
            margin-right: 32px;
        }
    }
}
