*{
  font-family: sans-serif;  
}

@font-face {
    font-family: 'good-times';
    src: url('../font/herbec.eot');
    src: url('../font/herbec.eot?#iefix') format('embedded-opentype'), 
         url('../font/herbec.woff2') format('woff2'), 
         url('../font/herbec.woff') format('woff'), 
         url('../font/herbec.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
.margin-top{
    margin-top: 50px;
}
.kontakt{
    background-color: #ff6600;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
}
.kontakt:hover{
    color: #fff;
    background-color: #2C3F6E;
}

nav a.active {
    color: #ff6600;
    font-weight: bold;
    text-decoration: underline;
  }
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* halbtransparentes Schwarz */
    display: none; /* Standard: unsichtbar */
    z-index: 9;
  }
  
  /* Stelle sicher, dass das mobile Menü über dem Overlay liegt */
  .off-screen-menu.active {
    z-index: 10;
  }
/* off-scren-menu */
.off-screen-menu{
    background-color: #fff;
    height: 100vh;
    width: 100%;
    max-width: 450px;
    position: fixed;
    top: 0;
    right: -450px;
    display: flex;
    flex-direction: column;
    padding-top: 30px;
    font-size: 2rem;
    transition: .3s ease;
}
.off-screen-menu.active{
    right: 0;
}
.off-screen-menu::before{
    background-color: #fff;
    width: 100vh;
    z-index: -1;
}

nav{
    padding: 1rem;
    display: flex;
    background-color: #fff;
}
nav ul li a{
    text-decoration: none;
    color: #2C3F6E;
}
nav ul{
    list-style-type: none;
}
nav ul li{
    padding: 20px 0 20px 0;
    border-bottom: 1px solid #cdcdcd ;
}
nav ul li a:hover{
    color: #F87921;
    transition: .2s ease;
}
.ham-menu.fixed {
    position: fixed;
    top: 40px;
    right: 20px;
  }
.ham-menu{
    margin-top: 7px;
    height: 50px;
    width: 50px;
    position: relative;
    z-index: 11;
    cursor: pointer;
}
.ham-menu span{
    height: 5px;
    width: 100%;
    background-color: #F87921;
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .3s ease;
}
.ham-menu span:nth-child(1){
    top: 25%;
    background-color: #2C3F6E;
}

.ham-menu span:nth-child(3){
    top: 75%;
    background-color: #2C3F6E;
}

.ham-menu.active span:nth-child(1){
    top: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.ham-menu.active span:nth-child(2){
    opacity: 0;
}
.ham-menu.active span:nth-child(3){
    top: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
}
.mobile-navigation{
    margin-left: auto;
}
.logo{
    width: 250px;
}



footer{
    background-color: #2C3F6E;
    color: #fff;
    padding: 20px 0 20px 0;
    font-size: 1.4rem;
}
footer ul{
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}
footer ul li a{
    text-decoration:underline #F87921;
    color: #fff;
}
footer ul li a:hover{
    color: #F87921;
    transition: .3s ease;

}

footer .footer li {
    padding: 20px 0 20px 0;
}

.kasten{
    display: flex;
    flex-direction: row;
    font-size: 1rem;
    align-items: center;
}
.kasten ul{
    padding: 0 0 0 10px;
    align-items: start;
}
.kasten img{
    display: none;
}
.row{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
li span{
font-weight: 600;
font-size: 1.5rem;
}
footer h4{
    padding-left: 20px;
    font-size: 2.5rem;
}
.footer{
    border-top: #1a2541 3px solid;
    padding-top:20px 0;
}
.mobil{
    display: block;
}
.desktop{
display: none;
}
.btn{
    font-size: 1.5rem;
    color: #fff;
    background-color: #2C3F6E;
    border-radius: 100px;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
}
.btn:hover{
    background-color: #F87921;
    transition: .3s ease;
}
.btn2{
    font-size: 1.5rem;
    color: #fff;
    background-color: #F87921;
    border-radius: 100px;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 600;
}
.btn2:hover{
    background-color: #2C3F6E;
    transition: .3s ease;
}
@media screen and (max-width: 1200px) {
    
        .btn{
            font-size: 1rem;
        }
        .btn2{
            font-size: 1rem;
        }

}
.subnavi{
    background-color: #F87921;
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 20px 30px;
    gap: 50px;
}

.subnavi div a{
    color: #fff;
    font-size: 1.3rem;
    }

.subnavi div{
    display: flex;
    align-items: center;
    gap: 10px;
    }

    h2 span{
    font-weight: 800;
}

@media screen and (max-width: 1000px){
    .desktop-navigation{
        display: none;
    }
    nav{
        position: fixed;
        z-index: 99;
        top: 0;
        left: 0;
        right: 0;
    }

}
@media screen and (max-width: 800px){

    .row{
        gap: 1px !important;
    }
    footer, .footer {
        padding-left: 0 !important;
      }
}


@media screen and (max-width: 600px){
    .subnavi{
        display: none;
    }
}
@media screen and (min-width: 800px){


    footer, .footer {
        margin-bottom: 0 !important;
      }
}






/* Desktop Version */
@media screen and (min-width: 800px) {


.mobil{
    display: none;
}
.desktop{
    display: block;
    }
    .logo{
        width: 350px;
    }

    footer .footer{
        list-style-type: none;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 40px;
        font-size: 1rem;
        padding: 0 20% 0 20%;
    }
    footer{
        background-color: #2C3F6E;
        color: #fff;
        width: 100%;
        padding: 20px 0 0 0;
    } 




    .kasten{
        display: flex;
        flex-direction: row;
        font-size: 1rem;
        align-items: center;
    }
    .kasten ul{
        padding: 0 0 0 10px;
        align-items: start;
    }
    .kasten img{
        display: block;
    }
.row{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 150px;
    padding-bottom: 50px;
}
li span{
    font-weight: 600;
    font-size: 1.2rem;
}
footer h4{ 
font-size: 2rem;
padding-left: 10%;
}
}
@media screen and (max-width: 1200px){
    .row{
        gap: 50px;
    }


}

@media screen and (min-width: 1001px){
    .mobile-navigation{
        display: none;
    }
    

    nav:nth-child(2){
        display: flex;
        justify-content: start;
    }
    nav{
        position: relative;
        padding: 1rem;
        
        flex-direction: row;
        background-color: #fff;
    }
    nav ul li a{
        text-decoration: none ;
        color: #2C3F6E;
    }
    nav ul{
        list-style-type: none;
        display: flex;
        flex-direction: row;
        gap: 40px;
        font-weight: 400;
        font-size: 1.5rem;
        position: absolute;
        right: 30px;
        
    }
    nav ul li{
        padding: 0;
        border-bottom: none;
    }
    nav ul li a:hover{
        color: #F87921;
        transition: .2s ease;
    }


}

