/* Import Variables */
@import url('variables.css');
@import url('reset.css');
@import url('animations.css');

/* Google Fonts - Manrope */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Manrope:wght@200..800&display=swap');

/* Base Styles */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--color-text);
    line-height: 1.6;
    background: var(--color-white);
        display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Footer stays at bottom */
footer {
    flex-shrink: 0;
    margin-top: auto;
}

ol {
    list-style-type: decimal;
}

ol li {
    font-size: 16px;
    line-height: 25px;
    color: #000000;
    font-weight: 400;
    list-style-position: inside;
}

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Grid System (Bootstrap-like) */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing-md) * -1);
}

.col-1 {
    flex: 0 0 8.333333%;
    max-width: 8.333333%;
}

.col-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.col-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}

.col-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
}

.col-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
}

.col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.col-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
}

.col-11 {
    flex: 0 0 91.666667%;
    max-width: 91.666667%;
}

.col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 var(--spacing-md);
}

.flex {
    display: flex;
}

.flex-column {
    flex-direction: column;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.align-top {
    align-items: flex-start;
}

.text-center {
    text-align: center;
}


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-height: 90px;
    background-color: var(--color-white);
    z-index: 1000;
    transition: var(--transition);
    padding: var(--spacing-sm) var(--spacing-main) var(--spacing-xs) var(--spacing-main);
}

.header.scrolled {
    box-shadow: var(--box-shadow-md);
}

.header img,
.header .logo-wrapper {
    display: block;
    height: 100%;
    width: auto;
    object-fit: contain;
}

.navigation-container {
    height: 100%;
}

.navigation-container nav ul li {
    color: #004f93;
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-section {
    position: relative;
    margin: 90px auto 0 auto;
    max-width: 2560px;
    width: 100%;
}

.hero-section picture img,
.hero-section picture {
    width: 100%;
    height: auto;
    display: block;
}

.hero-text-wrapper {
    width: 100%;
    max-width: 1440px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
    padding: 0 var(--spacing-main) 0 var(--spacing-main);
}

.hero-section h1 {
    color: var(--color-white);
    font-weight: 700;
    max-width: 430px;
    width: 100%;
    font-size: var(--font-size-h1);
    line-height: 45px;
}

.home-about-container {
    width: 100%;
    height: auto;
    padding: var(--spacing-xxxl) 160px 140px var(--spacing-main);
    max-width: 1440px;
    margin: 0 auto;
}

.home-about-container h2 {
    color: var(--color-primary);
    font-size: var(--font-size-h2);
    font-weight: 800;
    font-family: var(--font-family);
    max-width: 208px;
    width: 200px;
    line-height: 45px;
    margin-right: 40px;
}

.home-about-container .home-about-divider-container {
    padding-top: 16px;
    margin-right: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 235px;
}

.home-about-container .home-about-divider-container.home-about-divider-container-mobile {
    display: none;
}

.home-about-container .home-about-divider-container span {
    min-width: 60px;
    width: 60px;
    height: auto;
    display: block;
    flex-shrink: 0;
}

.home-about-container .home-about-divider-container span svg {
    width: 100%;
    height: auto;
    display: block;
}

.home-about-container .home-about-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 640px;
    height: auto;
}

.home-about-container .home-about-text p {
    font-size: 17px;
    line-height: 25px;
    color: #000000;
    font-weight: 400;
    margin-bottom: 40px;
}

.home-about-container .home-about-text p:first-of-type {
    margin-bottom: 0;
}

.home-about-numbers-container {
    padding-top: 40px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 100px;
}

.home-about-numbers-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 35px;
}

.home-about-numbers-wrapper .home-about-number {
    font-size: 70px;
    line-height: 45px;
    color: var(--color-primary);
    font-weight: 800;
}

.home-about-numbers-wrapper .home-about-description {
    font-size: 22px;
    color: var(--color-primary);
    font-weight: 500;
}

.business-main-container {
    background-color: var(--color-primary);
    width: 100%;
    height: auto;
}

.business-container {
    padding: 93px var(--spacing-main) 220px var(--spacing-main);
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 84px;
    max-width: 1440px;
    margin: 0 auto;
}

.business-container h2 {
    font-size: var(--font-size-h2);
    line-height: 45px;
    color: #ffffff;
    font-weight: 800;
    max-width: 320px;
}

.business-container p {
    font-size: 17px;
    line-height: 22px;
    color: #ffffff;
    font-weight: 400;
    max-width: 400px;
}

.business-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 35px;
}

.business-icons-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 92px;
    flex-wrap: wrap;
}

.business-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 30px;
    max-width: 100px;
}

.business-icon-title {
    font-size: 16px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 800;
    max-width: 120px;
}

.geograhical-scope-container {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    margin: 0 auto;
}

.geograhical-scope-container h2 {
    padding: 75px var(--spacing-main) 0 var(--spacing-main);
    font-size: var(--font-size-h2);
    line-height: 45px;
    color: var(--color-primary);
    font-weight: 800;
    max-width: 300px;
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
}

.geograhical-scope-container .geograhical-scope-image-wrapper {
    width: 100%;
}

.geograhical-scope-container .geograhical-scope-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.our-services-main-container {
    background-color: var(--color-primary);
    width: 100%;
    height: auto;
}

.our-services-container {
    padding: 80px var(--spacing-main) 70px var(--spacing-main);
    background-color: var(--color-primary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.our-services-container h3 {
    font-size: var(--font-size-h3);
    color: #ffffff;
    font-weight: 800;
    max-width: 250px;
}

.service-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    width: 33.33%;
}

.service-wrapper h4 {
    font-size: 33px;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 25px;
}

.services-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
}

.service-image-wrapper {
    margin-bottom: 32px;
}

.service-wrapper h5 {
    font-size: 19px;
    color: #fff;
    font-weight: 700;
    padding-top: 16px;
    margin-bottom: 6px;
}

.service-wrapper p {
    font-size: 17px;
    line-height: 30px;
    color: #ffffff;
}

.service-cta-wrapper a {
    font-size: 15px;
    line-height: 30px;
    color: #ffffff;
    font-weight: 800;
}

.service-text-wrapper {
    margin-bottom: 28px;
}

footer {
    width: 100%;
    background-color: #939598;
}

.footer-container {
    padding: 50px var(--spacing-main) 50px var(--spacing-main);
    background-color: #939598;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
}

.footer-logo-wrapper {
    margin-right: 110px;
    max-width: 250px;
}

.footer-logo-wrapper img {
    width: 250px;
}

.footer-links {
    margin-right: 86px;
    width: auto;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px;
    width: auto;
}

.footer-links ul li a {
    font-size: 13px;
    line-height: 25px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 700;
    width: auto;
    white-space: nowrap;
}

.footer-address-container {
    margin-right: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 28px;
    max-width: 220px;
}

.footer-address {
    font-size: 13px;
    line-height: 20px;
    color: #ffffff;
    font-weight: 700;
}

.footer-notice {
    font-size: 10px;
    line-height: 16px;
    color: #ffffff;
    font-weight: 500;
    max-width: 220px;
}

.footer-address p a {
    color: #ffffff !important;
}

.footer-address p a:hover {
    text-decoration: none;
}

/* Impressum.html */

.impressum-container {
    padding: 200px var(--spacing-main) 104px var(--spacing-main);
    background-color: #fff;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 150px;
    max-width: 1440px;
    margin: 0 auto;
}

.impressum-container h1 {
    font-size: 40px;
    line-height: 45px;
    color: var(--color-primary);
    font-weight: 800;
}

.impressum-info-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 0;
}

.impressum-info-container p, .impressum-info-container ul li {
    font-size: 17px;
    line-height: 21px;
    color: #000000;
    font-weight: 400;
}

.impressum-info-container p, .impressum-info-container ul {
    margin-bottom: 40px;
}

.impressum-info-container p {
    padding-top: 6px;
    margin-bottom: 34px;
}

.impressum-info-container p:empty {
    display: none;
    margin-bottom: 0;
}

.impressum-info-container p:first-of-type {
    display: none;
}

.impressum-info-container h4 {
    font-size: 20px;
    padding-top: 6px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-primary);
}
.impressum-info-container h5 {
    font-weight: 700;
    padding-top: 6px;
    font-size: 18px;
}

.impressum-info-container h6 {
    font-size: 15px;
    line-height: 25px;
    font-weight: 800;
    padding-top: 6px;
    color: var(--color-primary);
    margin-bottom: 15px;
    text-transform: uppercase;
}

.impressum-info-container ul li {
        list-style-type: disc;
    list-style-position: inside;
}

.impressum-info-container p strong {
    font-weight: 700;
    font-size: 12px;
}

.impressum-info-container p a {
    color: var(--color-primary);
    text-decoration: underline;
}

a {
    color: var(--color-primary) !important;
    text-decoration: underline !important;
}

.impressum-info-container p a:hover {
    text-decoration: none;
}

a:hover {
    text-decoration: none !important;
}

@media screen and (min-width: 1440px) {
    .navigation-container {
        max-width: 1082px;
        margin: 0 auto;
    }

    .footer-container {
        justify-content: space-between;
        max-width: 1440px;
        margin: 0 auto;
    }
}


@media screen and (max-width: 1250px) {
    .footer-logo-wrapper {
        margin-right: 50px;
    }

    .footer-links {
        margin-right: 43px;
    }

    .footer-address-container {
        margin-right: 40px;
    }
}

@media screen and (max-width: 1000px) {
    .footer-container {
        flex-direction: column;
        gap: 24px;
    }

    .footer-links ul {
        gap: 6px;
    }
    .footer-container {
        padding-top: 30px;
        padding-bottom: 30px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
        row-gap: 40px;
    }

    .footer-logo-wrapper {
        margin-right: 0;
        width: 100%;
        flex-basis: 100%;
        max-width: none;
    }

    .footer-links,
    .footer-address-container {
        width: 48%;
        flex-basis: 48%;
        max-width: none;
        margin-right: 0;
    }

    .footer-notice {
        width: 100%;
        flex-basis: 100%;
        max-width: none;
        font-size: 10px;
        line-height: 16px;
    }

    .footer-links ul li a {
        font-size: 11px;
        line-height: 12px;
    }

    .footer-address {
        font-size: 10px;
        line-height: 14px;
    }
    .impressum-container {
        gap: 80px;
    }
}

@media screen and (max-width: 900px) {
        .home-about-container {
        flex-direction: column;
        padding-top: 48px;
        padding-bottom: 48px;
        padding-right: var(--spacing-main);
    }

    .home-about-container h2 {
        max-width: none;
        margin-bottom: 24px;
        width: 100%;
    }
    
    .home-about-container .home-about-divider-container {
        display: none;
    }

    .home-about-container .home-about-divider-container.home-about-divider-container-mobile {
        display: flex;
        gap: 0;
        margin-right: 0;
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 16px;
    }
    
    .home-about-container .home-about-divider-container.home-about-divider-container-mobile div:first-of-type {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 98px;
        transform: translateX(-10px);
    }
    
    .home-about-container .home-about-divider-container.home-about-divider-container-mobile div:last-of-type {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        width: 130px;
        transform: translateX(10px);
    }
    
    .home-about-container .home-about-divider-container span {
        min-width: 50px;
        width: 50px;
        height: auto;
        flex-shrink: 0;
    }

    .home-about-container .home-about-text p {
        font-size: 14px;
        line-height: 17px;
        color: #000000;
        font-weight: 300;
        margin-bottom: 24px;
    }

    .home-about-container .home-about-text-container {
        max-width: none;
    }

    .home-about-numbers-container {
        width: 100%;
        justify-content: space-around;
    }

    .home-about-numbers-wrapper {
        align-items: center;
        gap: 8px;
    }

    .home-about-numbers-wrapper .home-about-number {
        font-size: 40px;
    }

    .home-about-numbers-wrapper .home-about-description {
        font-size: 16px;
    }
}


@media screen and (max-width: 748px) {
    .header nav {
        display: none;
    }

    .navigation-container {
        justify-content: center;
    }
    

    .business-container {
        padding-top: 48px;
        padding-bottom: 64px;
        gap: 70px;
    }

    .business-container h2,
    .business-container p {
        max-width: none;
    }
    


    .business-container p {
        font-size: 14px;
        line-height: 17px;
    }

    .business-title-wrapper {
        gap: 24px;
    }

    .business-icons-container {
        flex-direction: row;
        flex-wrap: wrap;
        width: 100%;
        max-width: none;
        align-items: center;
        gap: 48px;
    }

    .business-icon-wrapper {
        gap: 16px;
        align-items: center;
        width: calc(50% - 24px);
        max-width: none;
    }

    .business-icon-title {
        text-align: center;
    }

    .geograhical-scope-container h2 {
        padding-top: 48px;
        padding-bottom: 0;
    }

    .our-services-container {
        padding-top: 48px;
        padding-bottom: 64px;
        gap: 42px;
    }

    .services-container {
        flex-direction: column;
        gap: 48px;
    }
    
    .service-wrapper {
        width: 100%;
    }

    .service-wrapper h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .service-wrapper h5 {
        font-size: 16px;
        line-height: 30px;
    }

    .service-wrapper p {
        font-size: 14px;
        line-height: 30px;
    }

    .service-cta-wrapper a {
        font-size: 15px;
        line-height: 30px;
    }
    .impressum-container {
        flex-direction: column;
        padding-top: 140px;
        padding-bottom: 160px;
        gap: 48px;
    }
}


@media screen and (max-width: 600px) {
    .geograhical-scope-container {
        gap: 16px;
    }
}

@media screen and (max-width: 500px) {
    .header {
        padding: 6px var(--spacing-main) 6px var(--spacing-main);
        max-height: 60px;
    }
    .hero-section {
        margin-top: 60px;
    }
    .hero-section h1 {
        width: calc(100% - var(--spacing-main) * 2);
    }
    .footer-links, .footer-address-container {
        width: calc(50% - var(--spacing-sm));
        flex-basis: calc(50% - var(--spacing-sm));
    }
    .header img {
        object-fit: contain;
        height: auto;
        width: 100%;
    }
    .header .logo-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Cookie Consent */
#sto2_cms_cookie_consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 79, 147, 0.98);
    z-index: 9999;
    padding: var(--spacing-md) var(--spacing-main);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
    isolation: isolate;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#sto2_cms_cookie_consent > div {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-md);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.cookie-consent-content-left {
    flex: 1;
}

.cookie-consent-content-left h6 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.cookie-consent-content-left p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

.cookie-consent-content-left a {
    color: #ffffff !important;
    text-decoration: underline;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.cookie-consent-content-right {
    flex-shrink: 0;
}

#acceptCookies {
    background-color: #ffffff;
    color: var(--color-primary);
    border: none;
    padding: 14px 40px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    white-space: nowrap;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

#acceptCookies:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#acceptCookies:active {
    transform: translateY(0);
}

/* 404 Page */
.error-404-container {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xxxl) var(--spacing-main);
    background-color: #ffffff;
    text-align: center;
    margin-top: 90px;
}

.error-404-content {
    max-width: 600px;
    width: 100%;
}

.error-404-number {
    font-size: 180px;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 24px;
    opacity: 0.1;
}

.error-404-title {
    font-size: var(--font-size-h2);
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.error-404-description {
    font-size: 17px;
    line-height: 1.6;
    color: #000000;
    margin-bottom: 40px;
    font-weight: 400;
}

.error-404-cta {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    padding: 16px 48px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.error-404-cta:hover {
    background-color: #003d73;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 79, 147, 0.3);
}

.error-404-cta:active {
    transform: translateY(0);
}

/* Mobile Responsive - Cookie Consent */
@media screen and (max-width: 748px) {
    #sto2_cms_cookie_consent {
        padding: var(--spacing-sm) var(--spacing-main);
    }

    #sto2_cms_cookie_consent > div {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }

    .cookie-consent-content-left p {
        font-size: 13px;
        line-height: 1.5;
    }

    .cookie-consent-content-right {
        width: 100%;
    }

    #acceptCookies {
        width: 100%;
        padding: 12px 24px;
        font-size: 14px;
    }

    /* 404 Page Mobile */
    .error-404-container {
        min-height: calc(100vh - 60px);
        margin-top: 60px;
        padding: var(--spacing-md) var(--spacing-main);
    }

    .error-404-number {
        font-size: 120px;
        margin-bottom: 16px;
    }

    .error-404-title {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .error-404-description {
        font-size: 14px;
        margin-bottom: 32px;
    }

    .error-404-cta {
        padding: 14px 32px;
        font-size: 13px;
        width: 100%;
        display: block;
    }
}

@media screen and (max-width: 500px) {
    .cookie-consent-content-left h6 {
        font-size: 16px;
    }

    .error-404-number {
        font-size: 80px;
    }

    .error-404-title {
        font-size: 24px;
    }
}