*{
    font-family: sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    transition: 0.5s;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 9rem;
}

html::-webkit-scrollbar{
    width: 1rem;
}

html::-webkit-scrollbar-track{
    background: #111;
}

html::-webkit-scrollbar-thumb{
    background: #ff5722;
    border-radius: 5rem;
}

body{
    background: #111;
    overflow-x: hidden;
}

.mainlogo-img{
    transition: transform 0.3s ease;
    max-width: 100%;    /* löschen damit orginal code bleibt */
    height: auto;       /* löschen damit orginal code bleibt */
    display: block;     /* löschen damit orginal code bleibt */
    
}

.mainlogo-img:hover{
    transform: scale(1.1);
}

.mainlogo-img:active{
    transform: scale(0.9);
}

section{
    padding: 3rem 9%;
}

.heading{
    text-align: center;
    margin-bottom: 2rem;
}

.heading span{
    color: #ff5722;
    font-size: 2rem;
}

.heading h1{
    font-size: 4rem;
    color: #fff;
}

.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 3rem;
    font-size: 1.7rem;
    color: #ff5722;
    border: 0.5rem solid #ff5722;
    border-radius: 5rem;
    cursor: pointer;
    background: none;
    transition: 0.5s;
    font-weight: bold;
}

.btn:hover{
    background: #ff5722;
    color: #111;
}

.header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #111111;
 
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 9%;
}

.header .navbar.active{
    -webkit-clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.header .navbar a{
    font-size: 2rem;
    color: white;
    display: inline-block;
    margin: 0 1rem;
    font-family: "Montserrat", serif;
    font-weight: 555;
}

.header .navbar a:hover{
    color: #ff5722;
}

.header .btn{
    margin-top: 0;
}

/*
.logo{
    font-size: 2.5rem;
    color: #fff;
    font-weight: bolder;
}

.logo i{
    color: #ff5722;
    padding-right: 0.5rem;
}
*/

.logo {
    display: flex;
    align-items: center;
    font-size: 3rem;
    color: #ff5722;
    font-weight: bolder;
}

/* Stil für das Logo-Bild */
.logo-img {
    width: 6rem;  /* Größe des Logos, kann angepasst werden */
    height: auto;
    margin-right: 1rem;  /* Abstand zwischen Logo und Text */
}

/* Hover-Effekt für das Logo */
.logo:hover {
    color: #fff;
}

#menu-btn{
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    display: none;
}

.home{
    margin: 0 auto;
    margin-top: 9rem;
    width: 100%;
    border-radius: 1rem;
    background: linear-gradient(rgb(100 100 100 / 70%), rgba(17, 17, 17, 07)), url(/img/mclaren2.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    display: flex;
    min-height: 80vh;
    align-items: center;
    justify-content: center;
    padding-bottom: 5rem;

        /* Hintergrund-Animation */
        animation: zoomBackground 20s infinite ease-in-out;
}



.home .content{
    text-align: center;

    display: flex;              /* löschen damit orginal code bleibt */
    justify-content: center;    /* löschen damit orginal code bleibt */
    align-items: center;        /* löschen damit orginal code bleibt */
    width: 100%;                /* löschen damit orginal code bleibt */
}

.home .content span{
    font-weight: bolder;
    color: #ff5722;
    -webkit-text-stroke: 0.3rem #fff;
    font-size: 6vw;
    display: block;
}

.home .content h3{
    font-size: 6vw;
    color: #fff;
}

.home .content p{
    max-width: 60rem;
    margin: 1rem auto;
    font-size: 1.4rem;
    color: #aaa;
    line-height: 2;
}

.about{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 5rem;
}

.about .img-container {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;

    
}



.about .img-container img{
    border-radius: 1rem;
    width: 100%;
}

.about .content{
    -webkit-box-flex: 1;
    -ms-flex: 1 1 42rem;
    flex: 1 1 42rem;
    margin-bottom: 5rem;
}

.about .content span{
    color: #ff5722;
    font-size: 2rem;
}

.about .content h3{
    color: #fff;
    font-size: 4rem;
    margin-top: 0.5rem;
}

.about .content p{
    padding: 1rem 0;
    font-size: 1.4rem;
    color: #aaa;
    line-height: 2;
}

.popular .box-container{
    display: flex;
    justify-content: center;    /*LÖSCHEN WENN MEHRERE FAHRZEUGE KOMMEN*/
    align-items: center;    /*LÖSCHEN WENN MEHRERE FAHRZEUGE KOMMEN*/
    flex-wrap: wrap;
    gap: 1.5rem;
}

.popular .box-container .box{
    padding: 2rem;
    background: #222;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    border: 0.1rem solid rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
    text-align: center;
    flex: 1 1 30rem;
    max-width: 50rem; /* Maximale Breite des Containers */ /*LÖSCHEN WENN MEHRERE FAHRZEUGE KOMMEN*/
    position: relative;
}

.popular .box-container .box img{
    height: 25rem;
    object-fit: cover;
    width: 100%;
    border-radius: 0.5rem;
}

.popular .box-container .box .price{
    position: absolute;
    top: 3rem;
    left: 3rem;
    background: #ff5722;
    color: #fff;
    font-size: 2rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.popular .box-container .box h3{
    color: #fff;
    font-size: 2.5rem;
    padding-top: 1rem;
}

.popular .box-container .box .stars i{
    color: gold;
    font-size: 1.7rem;
    padding: 1rem 0.1rem;
}

.popular .box-container .box .vehicle-description {
    color: #ddd;  /* Helle Schriftfarbe, um Kontrast zum Hintergrund zu haben */
    font-size: 1.6rem;  /* Schriftgröße, die gut lesbar ist */
    line-height: 1.6;  /* Zeilenhöhe für bessere Lesbarkeit */
    margin-top: 1rem;  /* Abstand zum Titel */
    padding: 0 1rem;  /* Seitlicher Abstand */
}
.destination .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(27rem,1fr));
    gap: 1.5rem;
}

.destination .box-container .box{
    border-radius: 1rem;
    overflow: hidden;
    background: #222;
}

.destination .box-container .btn:hover img{
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.destination .box-container .box .image{
    height: 25rem;
    overflow: hidden;
    width: 100%;
}

.destination .box-container .box .image img{
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.destination .box-container .box .content{
    padding: 2rem;
    text-align: center;
}

.destination .box-container .box .content h3{
    font-size: 2rem;
    color: #fff;
}

.destination .box-container .box .content p{
    padding: 1rem 0;
    font-size: 1.4rem;
    color: #aaa;
    line-height: 2;
}

.destination .box-container .box .content a{
    font-size: 1.7rem;
    color: #ff5722;
}

.destination .box-container .box .content a:hover i{
    padding-left: 1rem;
}

.destination .box-container .box .content a i {
    padding-right: 0.5rem;
}


.banner {
    position: relative;
    padding: 20rem 8rem;
    text-align: center;
    color: white;
    
    /* Standard-Hintergrund für Desktop */
    background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)), 
                url(/img/home-bgg.jpg) no-repeat center center;
    background-size: cover;
    background-attachment: fixed;  /*Nur für Desktop */
}

/* Workaround für iOS */
@supports (-webkit-touch-callout: none) {
    .banner {
        background-attachment: scroll; /* iOS kann kein fixed */
    }

    .banner::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)), 
                    url(/img/home-bgg.jpg) no-repeat center center;
        background-size: cover;
        z-index: -1; /* Hintergrund hinter den Content */
    }
}

/* STYLES für den Content */
.banner .content span {
    font-size: 2rem;
    color: #ff5722;
}

.banner .content h3 {
    font-size: 4rem;
    color: #fff;
    margin-top: 1rem;
}

.banner input {
    width: 100%;
    max-width: 40rem;
    padding: 13px 12px;
    border-radius: 25px;
}

.contactsymbols {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.contactsymbols a {
    font-size: 36px;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contactsymbols a:hover {
    transform: scale(1.2);
}




.footer .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(25rem, 1fr));
    gap: 1.5rem
}

.footer .box-container .box{
    padding: 1rem 0;
}

.footer .box-container .box .logo{
    padding-bottom: 1rem;
}

.footer .box-container .box h3{
    font-size: 2.2rem;
    color: #fff;
    padding: 1rem 0;
}

.footer .box-container .box p{
    font-size: 1.4rem;
    color: #aaa;
    padding: 1rem 0;
    line-height: 2;
}

.footer .box-container .box p i{
    padding-right: 0.5rem;
    color: #ff5722;
}

.footer .box-container .box .share{
    padding-top: 1rem;
}

.footer .box-container .box .share a{
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4rem;
    font-size: 2rem;
    border-radius: 50%;
    font-size: 1.7rem;
    border: 0.2rem solid #ff5722;
    color: #ff5722;
    margin-right: 0.5rem;
    text-align: center;
}

.footer .box-container .box .share a:hover{
    background: #ff5722;
    color: #111;
}

.footer .box-container .box .links{
    font-size: 1.4rem;
    color: #aaa;
    padding: 1rem 0;
    display: block;
}

.footer .box-container .box .links:hover{
    color: #ff5722;
}

.footer .box-container .box .links:hover i{
    padding-right: 2rem;
}

.footer .box-container .box .links i{
    padding-right: 0.5rem;
    color: #ff5722;
}

.footer .box-container .box form .email{
    width: 100%;
    border-radius: 5rem;
    border: 0.2rem solid #ff5722;
    background: none;
    font-size: 1.5rem;
    text-transform: none;
    color: #aaa;
    margin-bottom: 1rem;
    padding: 1.2rem 1.4rem;
}

.credit{
    background: #222;
    text-align: center;
    font-size: 2rem;
    padding: 2rem 1rem;
    color: #aaa;
}

.credit span{
    color: #ff5722;
}

.reveal{
    position: relative;
    transform: translateY(100px);
    opacity: 0;
    transition: 2s all ease;
  }
  .reveal.active{
    transform: translateY(0);
    opacity: 1;
  }


@media (max-width: 450px){
    html{
        font-size: 50%;
    }

    .about .content h3{
        font-size: 3.5rem;
    }

    .banner .content h3{
        font-size: 2.7rem;
    }
}

@media (max-width: 768px){
    #menu-btn{
        display: inline-block;
    }

    .logo{
        display: none;
    }

    .header .navbar{
        position: absolute;
        top: 99%;
        left: 0;
        right: 0;
        background: #222;
        -webkit-clip-path: polygon(0 0,100% 0,100% 0,0 0);
        clip-path: polygon(0 0,100% 0, 100% 0, 0 0);
    }

    .header .navbar .active{
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a{
        margin: 2rem;
        font-size: 2rem;
        display: block;
    }

    .home{
        margin-top: 10rem;
    }

    .home .content span{
        font-size: 8vw;;
    }

    .home .content h3{
        font-size: 9vw;
    }

    .mainlogo-img{
        height: 300px;
    }
}

@media (max-width: 991px){
    html{
        font-size: 55%;
    }

    .header{
        padding: 1.5rem 2rem;
    }

    section{
        padding: 3rem 2rem;
    }
}

@media (min-width: 1200px){
    /* Keyframe-Animation für das Zooming */
@keyframes zoomBackground {
        0% {
            background-size: 100%; /* Anfangsgröße */
            background-position: center; /* Startposition */
        }
        50% {
            background-size: 120%; /* Maximaler Zoom */
            background-position: center; /* Bild bleibt zentriert */
        }
        100% {
            background-size: 100%; /* Zurück auf die ursprüngliche Größe */
            background-position: center;
        }
    }


}

