html {
    scroll-behavior: smooth;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-width: 378px;
}
a:link, a:visited{
    text-decoration:none;
}
.button{
    padding: 12px 24px;
    border-radius: 24px;
    background-color: #D87A16;
    color: white;
    text-shadow: 1px 1px 2px black;
}
.title{
    font-size: 64px;
}
.title_middle{
    font-size: 32px;
}
.title_down{
    font-size: 24px;
}
.title_small{
    font-size: 18px;
}
.title_mini{
    font-size: 16px;
}
@font-face {
    font-family: 'Inter';
    src: url('fonts/Inter.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'PublicSans';
    src: url('fonts/PublicSans.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'KumbhSans';
    src: url('fonts/KumbhSans-.woff2') format('woff2');
    font-display: swap;
}
@font-face {
    font-family: 'RobotoSerif';
    src: url('fonts/RobotoSerif.woff2') format('woff2');
    font-display: swap;
}
.Inter-regular {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.Inter-bold {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.PublicSans-regular {
    font-family: "PublicSans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.PublicSans-bold {
    font-family: "PublicSans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.PublicSans-extrabold {
    font-family: "PublicSans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    font-style: normal;
}
.KumbhSans-regular {
    font-family: "KumbhSans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}
.KumbhSans-medium {
    font-family: "KumbhSans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}
.KumbhSans-semibold {
    font-family: "KumbhSans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 600;
    font-style: normal;
}
.KumbhSans-bold {
    font-family: "KumbhSans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
}
.RobotoSerif-bold {
    font-family: "RobotoSerif", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    color: #101720;
}
main{
    width: 100%;
}
header{
    width: 100%;
    max-width: 1920px;
    position: fixed;
    z-index: 9999;
    top: 0;
}
footer{
    width: 100%;
    background-color: #101720;
}
#all{
    max-width: 1920px;
    width: 100%;
}
#hamburger {
    width: 40px;
    height: 40px;
    color: black;
}
#hamburger-div {
    display: none;
}
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 999;
    background-color: #F6AD06;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
  }
  
  #scrollTopBtn:hover {
    background-color: #07417B;
  }
  
#topbar{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 70px;
    background-color: #F5F5EF;
    color: #3C6997;
}
#topbar_contact{
    margin-left: auto;
    margin-right: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    color: #3C6997;
}
.nav_call{
    color: #3C6997 !important;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap:10px;
}
.call_icon{
    height: 17px;
    width: 18px;
}
#map_icon{
    height: 20px;
    width: 18px;
}
#topbar_left{
    margin-left: 80px;
}
#header{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 112px;
    background-color: white;
}
#logo{
    margin-left: 80px;
    z-index: 99;
}
#logo_img{
    height: 200px;
}
#menu{
    display: flex;
    flex-direction: row;
    gap: 80px;
    margin-right: 80px;
}
#menu a{
    color: #1B2228;
}
#slider {
    position: relative;
    width: 100%;
    height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background-image: url("img/slide.webp");
    background-size: cover;
    background-position: center;
    overflow: hidden;
    
    animation: fadeInImage 2s ease-in-out forwards;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    
    background: linear-gradient(to bottom, rgba(0,0,0,0) 10%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    
    animation: fadeInOverlay 2s ease-in-out forwards;
    animation-delay: 2s; /* Startet später! */
}

@keyframes fadeInImage {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInOverlay {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
#slider_big{
    font-size: 64px;
    color: white;
    text-align: center;
    z-index: 99;
}
#slider_small{
    font-size: 24px;
    color: white;
    text-align: center;
    z-index: 99;
}
#contact_btn{
    background-color: #D87A16;
    color:white;
    font-size: 16px;
    z-index: 99;
}
#contact_btn:hover {
    background-color: #E67300;
  }
#leistungen{
    display: flex;
    flex-direction: column;
    margin: 96px 80px;
    scroll-margin: 250px;
}
#leistungen_title{
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.box{
    display: flex;
    flex-direction: row;
    width: 100%;
    gap: 40px;
}
.int_box{
    display: flex;
    flex-direction: column;
    gap: 40px;
}
.box25{
    width: 35%;
}
.box50{
    width: 50%;
}
.box75{
    width: 65%;
}
.box_img{
    border-radius: 22px;
    height: auto;
    width: auto;
    object-fit: cover;
}
.box_undertext{
    font-size: 18px;
}
.box_title{
    font-size: 20px;
}
.box_text{
    display: flex;
    flex-direction: column;
    gap: 16px;
}
#firstbox{
    margin: 80px 0 40px 0;
}
#secondbox{
    margin-bottom: 40px;
}
#contact_btn_white{
    background-color: white;
    color: black;
    font-size: 16px;
    z-index: 99;
    text-shadow: none;
}
#separator{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    gap: 40px;
    background-color: #FF8200;
    padding: 64px;
}
#uberuns{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 96px 80px;
    scroll-margin: 180px;
}
#uberuns_text{
    display: flex;
    flex-direction: column;
    align-content: baseline;
    justify-content: center;
    gap: 32px;
}
#uberuns_symbol{
    display: flex;
    flex-direction: row;
    margin-top: 80px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.uberuns_split{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 24px;
}
.uberuns_icon{
    width: 120px;
    height: 140px;
}
#contact{
    display: flex;
    flex-direction: row;
    gap: 96px;
    padding: 96px 80px;
    background-color: #F5F3EF;
    scroll-margin: 180px;
}
#contact_text{
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 50%;
}
.order-link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: black;
}
#order-contact span a {
    color: black;
    text-decoration: none;
}
.order_icon {
    width: 20px;
    height: 24px;
    color:black;
}
.contact_data {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    gap: 16px;
}
#field{
    display: flex;
    flex-direction: column;
    width: 50%;
    border-radius: 22px;
    background-color: white;
}
#contact_input{
    margin:50px;
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 5px;
}
label {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}
input, textarea{
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: none;
    border-radius: 4px;
    background-color: #EFEAE1;
}
.row{
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
}
.row div {
    flex:1;
}
.rows{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.rows input{
    width: 40px;
}
input[type="checkbox"] {
    accent-color: #EFEAE1;
}
#contact_input span{
    font-weight: bold;
    margin-top: 10px;
}
#footer{
    display: flex;
    flex-direction: row;
    gap: 40px;
    padding: 10px 100px;
}
#footer a{
    color: white;
}
#footer span{
    margin-left: auto;
    color: white;
}
#social{
    height: 124px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.social_icon{
    width: 40px;
    height: 40px;
}
#div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: baseline;
    margin: 250px 80px;
    gap: 24px;
}
@media only screen and (max-width: 900px){
    .title {
        font-size: 32px;
    }
    .title_down {
        font-size: 22px;
    }
    .title_middle {
        font-size: 24px;
    }
    header{
        left: 0;
    }
    #hamburger-div {
        margin-left: auto;
        margin-right: 10px;
        display: flex;
    }
    #top_map{
        display: none;
    }
    #topbar{
        padding:12px;
        justify-content: center;
        height: auto;
    }
    #topbar_contact{
        margin-left: 0;
        margin-right: 0;
        justify-content: space-between;
        gap: 20px;
        font-size: 13px;
    }
    #menu{
        margin-right: 0;
        position: fixed;
        top: 150px;
        background-color: #F5F5F5;
        right: 0;
        padding: 10px 0;
        align-content: center;
        justify-content: space-around;
        width: 100%;
        gap: 0;
        display: none;
    }
    .nav_call{
        gap: 5px;
    }
    #slider{
        height: 600px;
        margin-top: 100px;
    }
    #slider_big{
        font-size: 30px;
    }
    #logo{
        margin-left: 10px;
    }
    #logo_img{
        height: 120px;
    }
    .box{
        flex-direction: column;
    }
    .box25, .box50, .box75{
        width: auto;
    }
    .box_img{
        object-fit: cover;
        height: 300px;
    }
    #leistungen{
        margin: 80px 20px;
    }
    #uberuns{
        padding: 96px 20px;
    }
    #uberuns_symbol{
        flex-direction: column;
    }
    #contact{
        flex-direction: column;
        padding: 96px 20px;
    }
    #contact_text{
        width: 100%;
    }
    #field{
        width: 100%;
        background-color: #F5F3EF;
    }
    #contact_input{
        margin: 0;
        justify-content: center;
        align-items: baseline;
    }
    .row{
        gap: 20px;
    }
    input, textarea{
        padding: 12px 0;
        background-color: white;
        font-size: 14px;
    }
    #separator{
        padding: 64px 20px;
    }
    #gmap{
        display: none;
    }
    #footer{
        padding:10px 0;
        justify-content: center;
        align-items: center;
    }
    #footer span {
        margin-left: 0;
    }
    #div{
        margin: 250px 40px;
    }
}