/*---------- general settings ----------*/
/*--------------------------------------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    scroll-behavior: smooth;
    font-family: 'Source Sans Pro', sans-serif;
}


:root{
    --clr-logo-color: #D90000;
    --clr-first-color: black;
    --footer-color: #323232;
}

.container{
    padding: 3% 10%;
}

@media screen and (max-width:1024px){
    .container {
        padding-right: 5%;
        padding-left: 5%;    
    }     
}


/* scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

    body {
        overflow: overlay;
    }

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: rgb(128, 128, 128); 
        border-radius: 10px;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: rgb(100, 100, 100);
    }

/*---------- header ----------*/
/*----------------------------*/
header{
    height: 100vh;
    overflow-X: hidden;
}
    
nav{
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 7vh;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 5px 2px 10px rgb(0, 0, 0, 0.2);
}

#navbar a{
    padding: 0;
    margin: 0;
    text-decoration: none;
}

/* progress bar */
.progress-container {
    width: 100%;
    height: 5px;
    top: 7vh;
    background: none;
    position: fixed;
}
  
.progress-bar {
    height: 5px;
    background: var(--clr-logo-color);
    width: 0;
}

    /* navbar Logo */
    nav .navbarLogo{
        height: 4rem;
        width: auto;
        user-select: none;
    }

    nav .nav-links{
        display: flex;
        width: 40%;
        justify-content: space-around;
        vertical-align: center;
    }

        /* hover effekt menu navbar */
        .navLinks::after{
            content: '';
            width: 0;
            height: 2px;
            background: var(--clr-logo-color);
            display: block;
            transition: 0.3s;
        }

        .navLinks:hover::after{
            width: 100%;
        }
        /* style navbar menu */
        nav .nav-links a{
            color: var(--footer-color);
            text-decoration: none;
            font-weight: 400;
            font-size: 1.7rem;
            transition: 0.5s;
        }

        nav .nav-links a:hover{
            color: var(--clr-logo-color);
        }

        nav .nav-links li{
            list-style: none;
        }



    /*---------- responsive ----------*/

    @media screen and (max-width:1024px){
        nav .nav-links{
            display: flex;
            font-size: 1.5rem;
            width: 60%;
            justify-content: space-around;
        }
    }

    /*-- responsive mobile navbar  */
        nav .burger{
            display: none;
            cursor: pointer;
        }

        nav .burger div{
            width: 2rem;
            height: 0.25rem;
            background-color: var(--clr-first-color);
            margin: 5px;
            transition: 0.5s;
        }

        @media screen and (max-width:812px){
            .nav-links{
                position: absolute;
                right: 0;
                height: 30vh;
                top: 8vh;
                display: flex;
                background-color: rgba(255, 255, 255, 0.9);
                flex-direction: column;
                transform: translateX(100%);
                transition: transform 0.5s ease;
                border-bottom-left-radius: 10%;
            }

            nav .burger{
                display: block;
            }
        }

        .nav-active{
            transform: translateX(0%);
        }

        .toggle .line1{
            transform: rotate(-45deg) translate(-12.5px);
        }

        .toggle .line2{
            opacity: 0;
        }

        .toggle .line3{
            transform: rotate(45deg) translate(-12.5px);
        }

    @media screen and (max-width:612px){
        nav{
            padding-top: 3%;
        }
    }


/* header content */
header{
    height: 80vh;
    overflow: hidden;
}

.header-image img{
    width: 100%;
    height: auto;
    object-fit: cover;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    position: absolute;
}

/*logo on image */
.header-design > .header-text{
    position: absolute;
    z-index: -5;
    color: white;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* logo on image */
.header-logo{
    width: 40%;
    height: auto;
}

/* phone on mobile */
.fa-phone{
    color: var(--clr-logo-color);
    font-size: 1.8rem;
}
/* scissor on mobile */
.HeaderScissor{
    height: 300px;
    opacity: 0.4;
    transform: rotate(100deg);
    position: absolute;
    bottom: 0;
    left: -100px;
    z-index: -1;
}

.MobileLogo{
    height: 400px;
    margin-top: 25%;
}

@media screen and (max-width:812px){
    .header-image img{
        display: none;
    }
    .header-logo{
        width: 100%;
    }
    nav{
        height: 10vh;
    }
    .progress-container {
        top: 10vh;
    }
    .nav-links{
        top: 10vh;
    }
}


/*--------------- openinghours ---------------*/
/*--------------------------------------------*/
#openinghours{
    background-color: var(--footer-color);
}

.openinghours-openinghours{
    display: grid;
    grid-template-columns: 25% 75%;
}

.openinghours-text{
    position: relative;
}

.openinghours-text p{
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    color: white;
    font-size: 3.5rem;
}

.openinghours-table p{
    color: white;
    font-size: 2rem;
}

.openinghours-table hr{
    margin-left: 10%;
    margin-right: 10%;
    border: 2px solid var(--clr-logo-color);
    background-color: var(--clr-logo-color);
}

.day-time-table{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 3%;
}

/*---------- responsive ----------*/

@media screen and (max-width:1200px){
    .openinghours-text p{
        font-size: 2rem;
    }

    .openinghours-table p{
        font-size: 1.5rem;
    }
}

@media screen and (max-width:700px){
    #openinghours .container{
        padding-top: 5%;
        padding-bottom: 5%;
    }
    
    .openinghours-openinghours{
        grid-template-columns: 100%;
    }

    .openinghours-openinghours{
        margin-bottom: 10%;
        margin-top: 5%;
    }
    
    .openinghours-text p{
        font-size: 2rem;
        position: relative;
    }

    .openinghours-table p{
        font-size: 1.3rem;
    }

    .openinghours-table hr{
        margin: 5% 1%;
    }
}



/*--------------- about ---------------*/
/*-------------------------------------*/
#about{
    position: relative;
    user-select: none;
}

#about .container{
    padding: 0;
    margin: 10% 10% 30%;
}

.img_and_quote{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-bottom: 25%;
}

.about_img img{
    padding: 0;
    height: auto;
    width: 100%;
    box-shadow: 5px 5px 15px rgb(0, 0, 0, 0.7);
    user-select: none;
    -webkit-transform: translate(-5%, -5%);
    -ms-transform: translate(-5%, -5%);
    transform: translate(-5%, -5%);
}

.about_img{
    border: var(--clr-logo-color) solid 3px;
    width: 25%;
}

.quote{
    color: var(--clr-logo-color);
    font-size: 2.5rem;
    margin: 10% 15% 10% 3%;
}

.scissors_background{
    position: absolute;
    top: -200px;
    left: -200px;
    filter: opacity(0.4);
    z-index: -1;
}

.scissors_background img{
    height: 500px;
    transform: rotate(-50deg);
}

.about-text-background{
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: rotate(-90deg) translate(50%, 100%);
}

.about-text-background p{
    color: var(--clr-logo-color);
    font-size: 12rem;
    filter: opacity(0.4);
    text-align: right;
}
/* polygon */
.team_polygon{
    clip-path: polygon(0 0, 102% 102%, 0 102%);
    height: 20vh;
    background-color: rgb(50, 50, 50);
}
.contact-polygon{
    clip-path: polygon(0% -1%, 100% -1%, 101% 101%);
    height: 20vh;
    background-color: rgb(50, 50, 50);
}
/*---------- responsive ----------*/

@media screen and (max-width:1660px){
    .about-text-background p{
        font-size: 10rem;
    }
    .about_img{
        width: 35%;
    }
}


@media screen and (max-width:1250px){
    .about-text-background p{
        font-size: 8rem;
    }
    .about_img{
        width: 50%;
    }
    .scissors_background{
        top: -100px;
        left: -100px;
    }   
}

@media screen and (max-width:1000px){
    .about-text-background p{
        font-size: 7rem;
    }
    .about_img{
        width: 70%;
    }
    .quote{
        font-size: 2rem;
    }
    .team_polygon, .contact-polygon{
        height: 10vh;
    }
}

@media screen and (max-width:812px){
    .about-text-background p{
        font-size: 5.5rem;
    }
    .about_img{
        width: 70%;
    }
    .quote{
        font-size: 2rem;
    }
    .scissors_background img{
        height: 300px;
    }
}


@media screen and (max-width:612px){
    #about .container{
        margin-bottom: 60%;
    }
    .about-text-background p{
        font-size: 3rem;
    }
    .about_img{
        width: 120%;
    }
    .quote{
        font-size: 1.4rem;
        margin: 1% -5% 1% 1%;
    }
    .team_polygon, .contact-polygon{
        height: 5vh;
    }    
    .scissors_background img{
        height: 250px;
    }
    .img_and_quote{
        margin-bottom: 50%;
    }
}




/*--------------- team ---------------*/
/*------------------------------------*/
#team{
    background-color: var(--footer-color);
    user-select: none;
    position: relative;
}
/* logo on bottom of section */
.logo_background_img{
    position: absolute;
    height: 300px;
    right: 1%;
    bottom: -200px;
    z-index: 10;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  padding: 3rem;
  margin: auto;
}

.person {
  position: relative;
}

.person-content {
  transition: transform 0.5s;
}

.person-content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.person-content:hover {
  transform: scale(1.05);
}

.name-container {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 10px;
  width: 100%;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
}

.name-container span {
  color: white;
}

/* for someone who disabled animations*/
@media (prefers-reduced-motion: reduce){
    *,
    *::before,
    *::after{
        animation-duration: 0.01ms !important;
        animation-iteration-count: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
        transition-delay: 0ms !important;
    }
}

@media screen and (max-width:612px){
    .logo_background_img{
        height: 170px;
        bottom: -120px;
    }
    .people-grid{
        grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
    }    
}

/*--------------- contact ---------------*/
/*---------------------------------------*/
#contact{
    position: relative;
    overflow: hidden;
}

.contact_background{
    position: absolute;
    top: -20px;
    left: -20px;
    height: 105%;
    width: 105%;
    z-index: -5;
    filter: blur(3px) grayscale(100%);
}

#contact .container{
    padding: 5% 10%;
}

.contact-grid{
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    background-color: rgb(255, 255, 255, 0.8);
}

.maps{
    margin: 1%;
    width: 98%;
    height: 600px;
    border: none;
}

#mapsButton{
    cursor: pointer;
    margin-top: 2%;
    font-size: 1.2rem;
    transition: 0.4s;
    padding: 1%;
    background: red;
    border: solid 2px red;
    border-radius: 9px;
    color: white;
}
/* Button on hover */
#mapsButton:hover{
    background-color: white;
    border: solid 2px red;
    color: var(--clr-logo-color);
}
.contact_informations{
    margin: 5%;
}

.contact-informations a, .contact-informations i, .contact-informations p{
    color: var(--clr-logo-color);
    text-decoration: none;
    font-size: 2rem;
}

#contact .fas, #contact .far, #contact .fa{
    font-size: 2.5rem;
}

#mapsOnClick{
    position: relative;
}

.mapsBefore{
    overflow: hidden;
}

.mapsOverlay{
    background-color: rgb(0, 0, 0, 0.75);
    position: absolute;
    top: 0;
    left: 0;
    height: 97%;
    width: 98%;
    margin: 1%;
}

.overlay-center{
    color: white;
    font-size: 1.3rem;
    position: absolute;
    padding: 5%;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width:1012px){
    .contact-informations a, .contact-informations i, .contact-informations p{
        font-size: 1.5rem;
    }
    .contact-grid{
        grid-template-columns: 50% 50%;
    }
}

@media screen and (max-width:850px){
    .contact-grid{
        grid-template-columns: 100%;
    }
    .maps{
        height: 300px;
    }
    .contact-informations a, .contact-informations i, .contact-informations p{
        font-size: 1.5rem;
    }
    .contact_informations{
        margin: 5%;
    }
    #contact .fas, #contact .far, #contact .fa{
        font-size: 2.3rem;
    }
}


@media screen and (max-width:612px){
    .contact-informations a, .contact-informations i, .contact-informations p{
        font-size: 1.2rem;
    }
    #contact .fas, #contact .far, #contact .fa{
        font-size: 2rem;
    }
    .overlay-center{
        font-size: 1rem;
    }
}



/*--------------- footer ---------------*/
/*--------------------------------------*/
footer{
    background: rgb(30, 30, 30);
}

.footer-grid{
    display: grid;
    grid-template-columns: 33% 33% 33%;
    align-items: center;
    padding-top: 1%;
    padding-bottom: 1%;
}

footer p, footer a{
    color: white;
    text-decoration: none;
}
/* margin on contact data */
#footer .contact p, #footer .contact a{
    margin-top: 1%;
    margin-bottom: 1%;
}
.footer-openinghours-table p{
    font-size: 1.3rem;
}

.footer-openinghours-table hr{
    margin-left: 10%;
    margin-right: 10%;
    border: 2px solid var(--clr-logo-color);
    background-color: var(--clr-logo-color);
}

.day-time-table{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 3%;
}
/* menu margin */
.footer-links li{
    margin: 2%;
}
/* menu devoration none */
.footer-links{
    list-style-type: none;
    margin-left: 40%;
    margin-right: 40%;
}
/* hover effekt imprint and privacy */
.footer-Link::after{
    content: '';
    width: 0;
    height: 2px;
    background: var(--clr-logo-color);
    display: block;
    transition: 0.3s;
    margin-top: 5%;
    margin-bottom: 5%;
}

.footer-Link:hover::after{
    width: 100%;
    color: var(--clr-logo-color);
}
/* styling copyright with line and padding*/
.footer-copyright{
    border-top: white solid 1px;
    background-color: rgb(50, 50, 50);
    padding: 0.5%;
    letter-spacing: 2px;
}

@media screen and (max-width:1024px){
    .footer-grid{
        grid-template-columns: 60% 40%;
    }

    .contact{
        display: none;
    }   
}

@media screen and (max-width:612px){
    .footer-grid{
        grid-template-columns: 100%;
    }
    .grid-item{
        margin-top: 5%;
        margin-bottom: 5%;
    }
    .contact{
        display: none;
    }
    .footer-copyright{
        letter-spacing: 1px;
        padding: 2%;
    }
}


/*---------- other ----------*/
/*---------------------------*/

    /*---------- go to top button ----------*/
    #myBtn {
        display: none;
        position: fixed;
        bottom: 2%;
        right: 2%;
        z-index: 99;
        border: none;
        outline: none;
        background-color: rgba(128, 128, 128, 0.5);
        color: white;
        cursor: pointer;
        padding: 0.6rem;
        border-radius: 10px;
        font-size: 1rem;
    }
    
    #myBtn:hover {
        background-color: rgba(85, 85, 85, 0.50);
    }

    .fa-angle-double-up{
        color: var(--clr-logo-color);
    }

/*---------- cookie ----------*/
.cookie-container{
    font-size: 1.1rem;
    z-index: 100;
    backdrop-filter: blur(2px);
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    display: none;
}
/* show container */
.active{
    bottom: 0;
    display: block;
}
/* design button */
.cookie-btn{
    border: 2px solid var(--clr-first-color);
    padding: 1%;
}
.foreground {
    background-color: white;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.foreground p{
    margin: 5%;
}
.cookie_buttons{
    display: grid;
    margin: 2% 20% 4% 20%;
    grid-template-columns: 1fr 1fr;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
button.learn-more {
  width: 12rem;
  height: auto;
}
button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #282936;
  border-radius: 1.625rem;
}
button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}
button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}
button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #282936;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
button:hover .circle {
  width: 100%;
}
button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}
button:hover .button-text {
  color: #fff;
}







/*---------- responsive ----------*/
@media screen and (max-width:1200px){
    .cookie_buttons{
        margin: 2% 20% 4% 20%;
        grid-template-columns: 1fr;
    }
    .button-text{
        font-size: 1rem;
    }
    .button.learn-more .button-text{
        font-size: 1rem;
    }
    .button.learn-more .circle{
        width: 2rem;
        height: 2rem;
    }
}
@media screen and (max-width:612px){
    .foreground{
        width: 80%;
    }
}


    /*---------- imprint and privacy ----------*/
        
    #impressum, #privacy{
        margin-top: 15vh;
    }


    #impressum a, #privacy a{
        color: #394353;
        text-decoration: none;
    }

    #privacy li{
        margin-top: 3%;
        margin-left: 3%;
        margin-right: 5%;
        color: black;
        text-align: left;
    }

    #privacy ol{
        margin-top: 1%;
        margin-left: 5%;
        margin-right: 5%;
        color: black;
        text-align: left;
    }

    #privacy ul{
        margin-top: 1%;
        margin-left: 5%;
        margin-right: 5%;
        color: black;
        text-align: left;
    }

    #impressum h1, #privacy h1{
        color: rgb(100, 100, 100);
        margin-bottom: 2%;
        margin-right: 5%;
    }

    #impressum h2, #privacy h2{
        color: rgb(100, 100, 100);
        text-align: left;
        margin-bottom: 2%;
        margin-top: 5%;
        margin-left: 5%;
    }


    #impressum p, #privacy p{
        text-align: left;
        margin-bottom: 2%;
        margin-left: 6%;
        margin-right: 5%;
    }