@font-face {
    font-family: "Red Hat Display";
    src:url(assets/RedHatDisplay-VariableFont_wght.ttf),
    }

html{
    font-family: "Red Hat Display";
    text-rendering:optimizeLegibility;
    font-synthesis: none;
    font-size:16px;
    scroll-behavior: smooth;
}

body{
    display:flex;
    flex-direction:column;
    margin:0;
}

section{
    padding:0 20px 50px 20px;
}

h2{
    padding-bottom:30px;
}

header {
    display: flex;
    justify-content:space-between;
    align-items: center;
    background-color:#002815d9;
    padding: 10px 20px;
    z-index: 10;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius:4px;
    margin:10px;
}

header.active{
    position:absolute;
    justify-content:space-between;
}

/* #main-logo h1 {
    color: white;
    margin: 0;
    font-size: 24px;
    margin-right:80px;
} */

#main-logo img{
    padding-top:5px;
    width:80px;
}

#navigation ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

#navigation ul li {
    position: relative;
    padding: 15px 20px;
    color: white;
    cursor: pointer;
    border-radius:4px;
}

#navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding: 10px 0;
    z-index: 10;
    min-width: 200px;
}

#navigation ul ul li {
    display: block;
    padding: 10px;
    color: white;
    background-color: rgba(6, 49, 15, .9);
    text-align: left;
    border-radius:5px;
    margin-bottom:1px;
}

#navigation ul ul li:hover {
    background-color: rgba(6, 49, 15, .9);
    cursor: pointer;
}

#navigation ul li:hover > ul {
    display: block;
}

#navigation ul li:hover {
    background-color: rgba(6, 49, 15, .9);
}

#navigation ul li ul li {
    width: 80%;
}

#navigation a{
    color:white;
    text-decoration:none;
    cursor: pointer;
}
#burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    margin: 0 auto 0 0;
    margin-right:0px;
}

#burger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
}


@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
    }
    #navigation ul {
        flex-direction: column;
        width: 100%;
    }

    #navigation ul li {
        width: 100%;
        text-align: left;
    }

    #navigation ul ul {
        position: static;
    }
    #navigation ul ul li {
    background-color: rgba(0,0,0,0);
}
#navigation ul ul li:hover {
    background-color: rgba(0,0,0,0);
    cursor: pointer;
}
#navigation ul:hover {
    background-color: rgba(0,0,0,0);
    cursor: pointer;
}
}
@media (max-width: 600px){ 
    #main-logo h1{
        padding-right:0px;
    }
}


@media (max-width: 768px) {
    header {
        display:flex;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
    }
    h1{
        font-size:1em;
    }
    #burger-menu {
        display: flex; 
        margin-left:auto;
        width:20%;
    }

    #navigation ul {
        display: none;
        flex-direction: column;
        width: 100%;
    }

    #navigation ul li {
        width: 100%;
        text-align: left;
    }

    #navigation ul ul {
        position: static;
    }

    #navigation.active ul {
        display: flex; 
    }
}
@media(max-width:480px){
    #main-logo h1{
        font-size: 18px;
    }
}
@media(max-width:390px){
    #main-logo h1{
        font-size: 16px;
    }
    #burger-menu span{
        width: 18px;
        height: 2px;
    }
}
@media(max-width:360px){
    #main-logo h1{
        font-size: 12px;
    }
    #burger-menu span{
        width: 18px;
        height: 2px;
    }

}


button{
    border-radius:10px;
    background-color:rgba(0, 40, 21, 0.85);
    padding:10px;
    border:none;
    color:rgb(232, 208, 112);
    font-size: 14px;
    font-family: "Red Hat Display";
    font-weight:600;
    cursor:pointer;
}

#title-section{
    background-image: linear-gradient(rgba(7, 32, 44, 0.3), rgba(7, 32, 44, 0.3)), url(images/SQR-13-reduced.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    margin:-100px 0;
    z-index: 0;
    height:75vh;
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom:60px;
}
#title-section a{
    color:rgb(232, 208, 112);
    text-decoration: none;
    font-size:20px;
}
#title-section.active{
    margin-top:0;
}
#title-section h1{
    color:white;
    max-width: 70%;
}
@media(max-height:750px){
    #title-section{
        height:80vh;
    }
    #title-section h1{
        padding-top:100px;
        text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
    }
}
#title-section p{
    color:white;
    max-width:70%;
    text-align: center;
    text-shadow: 0px 1px 5px rgba(0, 0, 0, 0.4);
}
#title-section button{
    z-index: 10;
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px); 
}
#title-section button:hover{
    background-color:rgba(6, 49, 15, .9);
    cursor:pointer;
}

#trust-section{
    display:none;
}

#values{
        background-color:rgba(0, 40, 21, 0.85);
        padding-top:20px;
        color:white;
}
#values h2{
    text-align:center;
}

#trust-section-content{
    display: flex;
    flex-direction:row;
    justify-content:space-between;
    align-items: center;

}
.trust-statements h3{
    font-size: 60px;
    margin-top:20px;
    margin-bottom: 20px;
}
.trust-statement p{
    color:white;
}

@media (max-width:350px){
    #trust-section-content{
        flex-direction:column;
    }
    .trust-statements{
        flex-direction: row;
    }
}
@media (max-width:650px){
    #trust-section-content{
        flex-direction:column-reverse;
        width:100%;
    }
    #trust-section-left{
        max-width:100% !important;
    }
    #trust-section-right{
        max-width:100% !important;
        padding-bottom:20px;
    }
}

@media (max-width:800px){
    .trust-statements{
        flex-direction: column;
    }
}

#trust-section-left{
    max-width:45%;
}

#trust-section-right{
    max-width:45%;
}

#trust-section-left img{
    width:80px;
    margin-right:10px;
}
#trust-section-left p{
    font-size:12px;
}

.success-story{
    padding-bottom:30px;
}
.client{
    display:flex;
    flex-direction:row;
    width:100%;
    justify-content:flex-start;
    align-items:center;
}

.client p{
    font-size:16px;
}

.trust-statements{
    display: flex;
    justify-content: space-around;
}
.trust-statement{
    display:flex;
    flex-direction: column;
    align-items:center;
    padding-bottom:30px;
    
}
.trust-statement i{
    font-size:40px;
}
.trust-statement p{
    max-width:325px;
    text-align: center;
}
#trust-section-right img{
    max-width:100%;
    border-radius:10px;
}

        #services-section {
            display: flex;
            flex-direction: column;
            align-items: center;
            width: auto;
            padding-top:20px;
        }
        #services-section h2{
            padding:20px 0 0 0;
            text-align: center;
        }

 
        #active-service-container {
            width: 100%;
            margin-bottom: 5px;
            display:flex;
            justify-content: center;
        }

        
        #inactive-services-container {
            display: flex;
            flex-wrap: nowrap;
            justify-content: center;
            width: 100%;
            transition: all 0.5s ease;
        }


        .service {
            width: 400px;
            height: 370px;
            margin: 10px;
            border-radius: 10px;
            color: white;
            transition: all 0.5s ease-in-out; 
            overflow: hidden;
        }

        .service button {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
            backdrop-filter: blur(10px); 
            -webkit-backdrop-filter: blur(10px); 
            transition: background-color 0.3s ease; 
        }

        .service button:hover {
            background-color: rgba(255, 255, 255, 0.4);
            cursor:pointer;
        }

     
        #service-finance {
            background-image: linear-gradient(rgba(0, 40, 21, 0.85), rgba(65, 53, 8, 0.669)), url("images/SQR-10-reduced.jpeg");
            background-size: cover;
            background-position:center;
            padding: 10px;
        }

        #service-ssa-b {
            background-image: linear-gradient(rgba(0, 40, 21, 0.85), rgba(65, 53, 8, 0.669)), url("images/SQR-11-reduced.jpeg");
            background-size: cover;
                        background-position:top;
            padding: 10px;
        }

        #service-ssa-c {
            background-image: linear-gradient(rgba(0, 40, 21, 0.85), rgba(65, 53, 8, 0.669)), url("images/SQR-12-reduced.jpeg");
            background-size: cover;
                        background-position:center;
            padding: 10px;
        }


        .service.expanded {
            align-self: center;
            height: auto;
            margin-bottom: 20px; 
        }

    
        .service:not(.expanded) {
            width: 400px;
        }

        .expanded-content {
            margin-top: 10px;
            transition: all 0.5s ease-in-out;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
        }

        .service.expanded .expanded-content {
            opacity: 1;
            max-height: 1000px;
        }


        #inactive-services-container {
            transition: flex-wrap 0.5s ease;
        }

@media (max-width:350px){
    #services{
        flex-wrap:nowrap;
    }
    .service{
        width:600px;
    }
    #inactive-services-container{
        flex-wrap:nowrap;
    }
}
@media (max-width:1132px){
  #inactive-services-container .service{
    height:auto;       /* wichtig fürs Aufklappen */
    min-height:370px;  /* behält das Grundlayout bei, optional */
  }
}
@media (max-width:950px){
    #services{
        flex-wrap:nowrap;
    }
    .service{
        width:600px;
    }
    .service:not(.expanded) {
        width: 600px;
    }
    #inactive-services-container{
        flex-wrap:wrap;
    }
}
@media (min-width:950px){
    #services{
        flex-wrap:wrap;
    }
    .service{
        width:840px;
    }
    #inactive-services-container{
        flex-wrap:nowrap;
    }
}

@media(max-width:650px){
    #about-us{
            flex-direction:column !important;
        }
    #about-us img{
        max-width:100% !important;
    }
    #about-us div{
        max-width:100% !important;
    }
}




#offering{
    display:flex;
    flex-direction: column;
    height:auto;
    background-image: linear-gradient(rgba(0, 19, 10, 0.65), rgba(0, 40, 21, 0.65)), url("images/SQR-9-reduced.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    color:white;
    align-items:center;
    justify-content: center;
}
#offering h2{
    text-align:center;
}
#offering p{
    text-align:center;
    font-size:1.3em;
    width:70%;
}
#kontakt{
    margin-top:60px;
}

#kontakt-person img{
    border-radius:10px;
}
#kontakt-person p{
    margin-top:10px;
    text-align:center;
}
#kontakt-content{
    display:flex;
    flex-direction:row;
    flex-wrap: wrap;
    justify-content:space-around;
    align-items: flex-start;
}
#kontakt-left{
    width:400px;
    padding-bottom:40px;
}
#kontakt-left a{
    color:white;
    text-decoration:none;
}
#kontakt-left a i{
    padding-right:10px;
}
#kontakt-right{
    width:400px;
    background-color:rgba(6, 49, 15, .9);
    border-radius:10px;
    padding: 0 40px 40px 40px;
}
#kontakt-form p, #kontakt-form h3 {
    color:white;
}
#input-fields{
    display:flex;
    flex-direction:column;
    color:white;
}

#input-fields div{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
}

#name, #company, #email{
    width:200px;
    border-radius: 8px;
    padding:8px;
    font-family:"Red Hat Display";
    box-sizing:border-box;
    border-color: rgba(20,20,20,0.4);
    border-width: 1px;
    background-color:white;
}

#submit-message{
    width:150px;
    border-radius:10px;
    background-color:rgba(20,20,20,0.8);
    padding:10px;
    border:none;
    color:white;
    font-size: 14px;
    font-family: "Red Hat Display";
    font-weight:600;
}
#submit-message:hover{
    cursor: pointer;
}
textarea{
    font-family: "Red Hat Display";
    height:150px;
    border-radius:8px;
    padding-left:8px;
    padding-top:8px;
    box-sizing:border-box;
    border-color: rgba(20,20,20,0.4);
    border-width: 1px;
}
#about-us{
    display:flex;
    flex-direction:row;
    justify-content:space-evenly;
    align-items:center;
    margin-bottom:60px;
    padding-top:60px;
    padding-bottom:60px;
}
.about-us-content{
    max-width:45%;
}
#about-us img{
    max-width:45%;
    border-radius:10px;
}

#karriere{
    display:flex;
    flex-direction:row;
    justify-content:space-evenly;
    align-items:center;
    margin-bottom:0;
    padding-top:60px;
    padding-bottom:60px;
    background-color:rgba(0, 0, 0, 0.1);
}
.karriere-content{
    max-width:45%;
    display:flex;
    flex-direction: column;
}
.karriere-content a{
    background-image: linear-gradient(rgba(0, 19, 10, 0.65), rgba(0, 19, 10, 0.65)), url("images/SQR-6-reduced.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    border-radius: 15px;
    padding-top:50px;
    padding-bottom:50px;
    padding-left:10px;
    padding-right:10px;
    text-align: center;
    margin-top:15px;
    margin-bottom:20px;
    color:white;
    text-decoration: underline;
    font-size:20px;
    font-weight: bold;
}
#karriere img{
    max-width:45%;
    border-radius:10px;
}
#karriere-details {
    max-width: 100%;
    padding: 30px 10%;
    background-color:rgba(0, 0, 0, 0.1);
    margin-bottom:30px;
}
@media(max-width:650px){
    #karriere{
            flex-direction:column !important;
        }
    #karriere img{
        max-width:100% !important;
    }
    #karriere div{
        max-width:100% !important;
    }
}

#footer-menu{
    bottom:0;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background-color:rgba(6, 49, 15, 0.902);
    padding: 10px 0px;
    margin:0;
}
#footer-menu p{
    color:white;
}
#footer-menu ul{
    list-style-type: none;
    display: flex;
}
#footer-menu ul li{
    color:white;
    text-decoration: underline;
    padding-left:40px;
}

#imprint{
    width:800px;
    margin-left:40px;
}
@media(max-width:850px){
    #imprint{
        width:300px;
        margin-left:10px;
    }
}

#datenschutz h2{
    margin-top:15px;
    padding-bottom:0px;
    padding-top:10px;
}
#datenschutz h3{
    padding-bottom:0px;
}