*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root{
    --yellow: rgba(255, 204, 3, 1);
    --dark: #222;
    --light: #ececec;
    --max-width: 1600px;
}

body{
    display: block;
    font-family: "public sans", sans-serif;
    width: 100%;
    background-color: var(--dark);
}

html{
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, p, a, ul, li {
    text-decoration: none;
    color: var(--light);
    list-style-type: none;
}

li{
    display: flex;
}

h1{
    font-size: clamp(2.986rem, 1.3039rem + 3.5884vw, 5.61rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1em;
}

h2{
    font-size: clamp(2.074rem, 1.3798rem + 1.481vw, 3.157rem);
    line-height: 1em;
    font-weight: 400;
}

h3{
    font-size: clamp(2.488rem, 1.3848rem + 2.3535vw, 4.209rem);
    line-height: 1em;
    text-transform: uppercase;
    font-weight: 900;
}

h4, h5{
    font-size: clamp(1.2rem, 1.1147rem + 0.1819vw, 1.333rem);
    font-weight: 700;
    line-height: 1em;
}

.wrapper{
    display: block;
    margin-inline: auto;
    max-width: var(--max-width);
    padding-inline: 2rem;
}

.display_flex {
    display: flex;
    line-height: 1.5em;
    align-items: center;
}

.display_flex a{
    display: flex;
    line-height: 1.5em;
    align-items: center;
}






/* Main */

.hero{
    display: flex;
    justify-content: center;
    min-height: 100svh; 
    overflow: hidden;
}

.hero::before{
    content: '';
    width: 100%;
    height: 100%;

    background-image: url(/img/bg.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: absolute;   
}


.main{
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;

}

.main__scroll{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: end;
    flex-grow: 1;
    overflow: hidden;
}


.main .crane{
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    max-height: 640px;
    width: auto;
}

.main h1{
    text-align: center;
}

.main h2{
    text-align: center;
    font-style: italic;
    padding-block-end: 3rem;
    font-weight: 200;
    line-height: 1.3em;
    scale: .8;
}

.crane_container{
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    flex-wrap: wrap;
    justify-content: center;
    flex-grow: 1;
    padding-block: 2.5rem;
}

.main__scroll_link img{
    display: block;
    width:25px;
    margin-inline: auto;
}

.mouse{
    display: block;
    margin-block-end: 1em;
    transition: .5s ease-in-out;
}

.mouse:hover{
    scale: 1.1;
}

.arrow{
    position: relative;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%{
        bottom: 0px;
    } 

    70%{
        bottom: 10px;
    }

    100%{
        bottom: 0px;
    }
    
}





h2 > strong{
    font-family: antique-olive-nord, sans-serif;
    font-weight: 400;
    font-style: italic;
    text-transform: uppercase;
}

.main > .divider{
    padding-block: 1.5rem;
}

.main > .divider > .divider-seperator{
    border-block-start-color: var(--yellow);
}





/* Beschreibung */
.description{
    display: flex;
    justify-content: center;  
    min-height: 100svh;
    flex-direction: column;
    flex-wrap: wrap;
}

.description__content{
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-block-end: 5rem;
}

.description__content > div{
    max-width: 80ch;
    font-size: 2rem;
    line-height: 1.3;
    margin-inline: auto;
    text-wrap: balance;
}

.line{
    text-align: center !important;
}

.line:not(:last-child){
    margin-block-end: 1.2em;
}

.description__button{
    margin-block-start: 1.2em;
    display: flex;
    justify-content: center;
}

.disclaimer{
    display: flex;
    flex-direction: column;
    width: 100%;
    text-align: center;
    font-size: .7rem;
    font-style: italic;
}

.disclaimer > p{
    max-width: 45ch;
    margin-inline: auto;
}

.scroll_reveal .highlight {
    color: var(--yellow);
    font-weight: 700;
}






/* Button */


.btn{
    width: fit-content;
    overflow: visible;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    line-height: normal;
    cursor: pointer;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    margin-block-end: 1rem;
    padding: 1em 2.25em 1.4em;
    background-color: var(--dark);
    color: var(--yellow);
    border: 2px solid var(--yellow);
    transition: all 0.8s ease;
    font-weight: 900;
    text-transform: uppercase;
    font-style: italic;
    font-size: 1rem;
}

.btn:-moz-focus-inner {
    padding: 0;
    border: 0;
  }

  .btn--stripe {
    overflow: hidden;
    position: relative;
  }

  .btn--stripe:after {
    content: "";
    display: block;
    height: 7px;
    width: 100%;
    background-image: repeating-linear-gradient(45deg, var(--yellow), var(--yellow) 1px, transparent 2px, transparent 5px);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-top: 1px solid var(--yellow);
    position: absolute;
    left: 0;
    bottom: 0;
    background-size: 7px 7px;
  }

  .btn--stripe:hover {
    background-color: var(--yellow);
    color: var(--dark);
    border-color: var(--dark);
  }

  .btn--stripe:hover:after {
    background-image: repeating-linear-gradient(45deg, var(--dark), var(--dark) 1px, transparent 2px, transparent 5px);
    border-top: 1px solid var(--dark);
    -webkit-animation: stripe-slide 12s infinite linear forwards;
            animation: stripe-slide 12s infinite linear forwards;
  }

  .btn--radius {
    border-radius: 20px;
  }

  .btn--radius:hover {
    border-radius: 10px;
  }

@-webkit-keyframes stripe-slide {
    0% {
      background-position: 0% 0;
    }
    100% {
      background-position: 100% 0;
    }
  }
  @keyframes stripe-slide {
    0% {
      background-position: 0% 0;
    }
    100% {
      background-position: 100% 0;
    }
  }









/* Kontakt */
.divider{
    display: flex;
    padding-block: 3.125rem;
}

.divider-seperator{
    width: 50rem;
    border-block-start-width: 1px;
    border-block-start-color: var(--light);
    border-block-start-style: solid;
}

.contact_content{
    text-align: center;
    width: 50rem;
    padding-block: 4rem;
}

.divider-seperator{
    margin-inline: auto;
}

.contact__card_contact, .contact__card_address{
    text-align: start;
    padding: 1rem;
    width: 100%;
}

.contact__card_contact > p, .contact__card_address > p{
    margin-block-end: .9rem;
} 

.contact__card_contact > .divider{
    padding-block: 20px;
}

.contact__card_contact > .divider > .divider-seperator{
    width: 100%;
    border-block-start-color: rgba(236, 236, 236, 0.2);
}

.contact__card_address > .divider{
    padding-block: 20px;
}

.contact__card_address > .divider > .divider-seperator{
    width: 100%;
    border-block-start-color: rgba(236, 236, 236, 0.2);
}

li:first-child{
    margin-block-end: .8rem;
}

.contact__card_whatsapp {
    grid-column: span 2;
    padding-block: 1rem; 
    
}

.contact__card_whatsapp a{
    display: flex;
    align-items: center;
    justify-content: center;
}


.contact__card_whatsapp_icon svg{
    height: 1.5rem;
    margin-inline-end: .7rem;
    fill: var(--light);
    transition: .5s ease-in-out;
}


a:hover .contact__card_whatsapp_icon svg{
    fill: #25D366;
}






/* Kontakt Hover Effect */

.contact{
    display: flex;
    justify-content: center;
}

.contact__container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    border: solid 1px rgba(236, 236, 236, 0.2);
    border-radius: 20px;
}

.contact__container .contact__card{
    position: relative;
    display: grid;
    grid-template-columns: auto auto;
    width: 50rem;
    background: rgba(0, 0, 0, 0);
    border-radius: 20px;
    overflow: hidden;
}

.contact__container .contact__card::before{
    content: '';
    position: absolute;
    top: var(--y);
    left: var(--x);
    transform: translate(-50%, -50%);
    background: radial-gradient(rgba(255, 255, 255, 1), transparent, transparent);
    width: 700px;
    height: 700px;
    opacity: 0;
    transition: opacity 0.5s ease-in-out, background 0.5s ease-in-out;
    pointer-events: none;
}

.contact__container .contact__card:hover::before{
    opacity: .2;
    background: radial-gradient(#fff, transparent, transparent);
    pointer-events: none;
}

.contact__container .contact__card::after{
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 18px;
    pointer-events: none;   
}






/* Footer */
.icon{
    display: flex;
    height: 1rem;
    width: 1rem;
    margin-inline-end: .5rem;
    fill: #ececec;
}

.social_icon{
    display: flex;
    height: 2rem;
    width: 2rem;
    overflow: hidden;
    transition: .5s ease-in-out;
}

.social_icon:hover{
    scale: 1.2;
}

.fb {
    fill: url('#gradient_fb');
}

 .fb:hover > svg defs stop:first-child {
    stop-color: #00c6ff;
}

.fb:hover > svg defs stop:last-child {
    stop-color: #0072ff;
}

.insta{
    fill: url('#gradient_insta');
}

.insta:hover > svg defs stop:first-child {
    stop-color: #833AB4;
}

.insta:hover > svg defs stop:nth-child(2) {
    stop-color: #fd1d1d;
}

.insta:hover > svg defs stop:last-child {
    stop-color: #fcb045;
}

.fb > svg defs stop, .insta > svg defs stop {
    transition: .5s ease-in-out;
}





.footer__border{
    border-block: solid 1px rgba(236, 236, 236, 0.2);
}

.footer__content{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: start;
    line-height: 1.5em;
    padding-block: 7rem;
}

.footer__content h5{
    margin-bottom: 1.25rem;
}

.footer_display_flex > a{
    display: flex;
    align-items: center;
}

.footer__social{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.footer__right{
    text-align: center;
    justify-items: center;
}

.footer__end{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
    font-weight: 400;
}

.footer__end_mid img{
    max-width: 145px;
}

.footer__end_right{
    display: flex;
    gap: 1rem;
    padding-block: 1rem;
}




/* Animations */

.fade-in-fwd {
	-webkit-animation: fade-in-fwd 3s ease-in-out  forwards;
	        animation: fade-in-fwd 3s ease-in-out  forwards;
            opacity: 0;
}

@-webkit-keyframes fade-in-fwd {
    0% {
      -webkit-transform: translateZ(-80px);
              transform: translateZ(-80px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0);
              transform: translateZ(0);
      opacity: 1;
    }
  }
  @keyframes fade-in-fwd {
    0% {
      -webkit-transform: translateZ(-80px);
              transform: translateZ(-80px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateZ(0);
              transform: translateZ(0);
      opacity: 1;
    }
  }
  
  



.fade-in-top {
	-webkit-animation: fade-in-top 1s ease-out forwards;
	        animation: fade-in-top 1s ease-out forwards;
}

@-webkit-keyframes fade-in-top {
    0% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-in-top {
    0% {
      -webkit-transform: translateY(-50px);
              transform: translateY(-50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }

  .fade-in-bottom {
	-webkit-animation: fade-in-bottom 1s ease-out forwards;
	        animation: fade-in-bottom 1s ease-out forwards;
}

@-webkit-keyframes fade-in-bottom {
    0% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes fade-in-bottom {
    0% {
      -webkit-transform: translateY(50px);
              transform: translateY(50px);
      opacity: 0;
    }
    100% {
      -webkit-transform: translateY(0);
              transform: translateY(0);
      opacity: 1;
    }
  }

  .scale-in-hor-center {
	-webkit-animation: scale-in-hor-center 1s ease-out 1s forwards;
	        animation: scale-in-hor-center 1s ease-out 1s forwards;
            opacity: 0;
}

@-webkit-keyframes scale-in-hor-center {
    0% {
      -webkit-transform: scaleX(0);
              transform: scaleX(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: scaleX(1);
              transform: scaleX(1);
      opacity: 1;
    }
  }
  @keyframes scale-in-hor-center {
    0% {
      -webkit-transform: scaleX(0);
              transform: scaleX(0);
      opacity: 1;
    }
    100% {
      -webkit-transform: scaleX(1);
              transform: scaleX(1);
      opacity: 1;
    }
  }
  
  




/* Responsive HD (H1140px) */

@media screen and (height < 1140px){

    .main .crane{
        max-width: 23rem;
        height: auto;
    }

    .main h1{
        scale: .9;
    }
}







/* Responsive Mobile (W820px) */

@media screen and (width < 820px){

    .hero{
        padding-block: 2rem;
    }

    .wrapper {
        width: unset;
        padding-inline: 1rem;
    }


    .main h1{
        font-size: 1.5rem;
    }

    .main h2{
        font-size: 1rem;
        line-height: 1.3em;
        scale: 1;
    }

     .main .crane{
        max-width: 20rem;
        height: auto;
    }

     
    .divider-seperator{
        width: 100%;
    }

    .contact__container .contact__card{
       display: block;
       width: 100%;
    }

    .contact__card_contact, .contact__card_address{
        width: 100%;
    }

  
    .main__scroll{
        scale: .8;
    }

    .description__content > div{
        max-width: 80ch;
        font-size: 1.125rem;
        line-height: 1;
        text-wrap: balance;
    }

    .scroll_reveal p {
        margin-block-end: 1.1em;
        text-align: start;
    }

    .scroll_reveal p:last-child{
        margin-block-end: 0em;
    }

    .footer__content {
         grid-template-columns: 1fr;
         row-gap: 1rem;
    }

    .footer__left{
        text-align: center;
    }

    .footer__mid_phone > a, .footer__mid_fax > a, .footer__mid_mail > a{
        margin-inline: auto;
    }

    .footer__end{
        flex-direction: column;
        padding-block-start: 1rem;
    }

    .footer__end_mid{
        padding-block: 1rem;
    }

    .footer__end_right{
        padding-block: 0rem;
        padding-block-end: 1rem;
    }

    .btn{
        font-size: .8rem;
        padding: 1em 1.8em 1.4em;
    }

    

}





/* Lenis Smooth Scroll */
html.lenis, html.lenis body{
    height: auto;
   }
   .lenis.lenis-smooth{
    scroll-behavior: auto !important;
   }
 /*   .lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
   } */
   .lenis.lenis-stopped{
    overflow: hidden;
   }
   .lenis.lenis-smooth iframe{
    pointer-events: none;
   }

