.mobile-popup {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background-color: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    overflow-y: scroll;
  }
  
  .mobile-popup.active {
    opacity: 1;
    pointer-events: auto;
  }

.heading-2 {
    display: inline-block;
    overflow: hidden;
}
.heading-2 .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
}
.text-block {
    display: block;
    overflow: hidden;
}
.text-block .line {
    display: block;
    opacity: 0;
    transform: translateY(100%);
}
.footer-mobile {
    display: flex;
    flex-direction: column;
    height: unset !important;
    padding: 20px 20px;
    gap: 20px;
}
.footer-mobile .footer-inner {
    width: unset !important;
}
.footer-mobile .menu-links.mobile {
    align-items: center !important;
}
.footer-mobile .menu-link {
    font-size: 24px !important;
}
@media screen and (min-width: 768px) { 
    .footer-mobile {
        display: none;
    }
}
@media screen and (max-width: 767px) {
    .heading-2 .char {
        opacity: 1 !important;
        transform: translateY(0%) !important;
    }
    .text-block .line {
        opacity: 1 !important;
        transform: translateY(0%) !important;
    }
}

  @media screen and (max-width: 991px) {
    
    .hpslide.slide-3._w-slide {
        background-image: url('../images/slide03.webp') !important;
        background-position: center !important;
        background-size: cover !important;
    }
    .hpslide.slide-4._w-slide {
        background-image: url('../images/slide04.webp') !important;
        background-position: 125vw 0px !important;
        background-size: cover !important;
    }
    .hpslide.slide-5._w-slide {
        background-image: url('../images/slide05.webp') !important;
        background-position: center !important;
        background-size: cover !important;
    }
    .hpslide.slide-1._w-slide {
        background-image: url('../images/slide01.webp') !important;
        background-position: 115vw 0px !important;
        background-size: cover !important;
    }
    .hpslide.slide-6._w-slide {
        background-image: url('../images/slide06.webp') !important;
        background-position: center !important;
        background-size: cover !important;
    }
    .hpslide.slide-2._w-slide {
        background-image: url('../images/slide02.webp') !important;
        background-position: center !important;
        background-size: cover !important;
    }
  }
  @media (max-height: 600px) { 
    .slide {
        min-height: 600px !important;
    }
  }
  @media (max-width: 767px) {
    .slide {
      position: relative !important;
      clip-path: none !important;
      z-index: auto !important;
      transition: none !important;
      display: block;
      width: 100%;
      height: unset;
      overflow: hidden;
      min-height: 600px !important;
      background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 67%) 50%, rgb(0 0 0) 100%);
      padding-top: 80px;

    }
    .slider-main, .slider {
        overflow-y: unset !important;
    }
    .w-slider-mask {
        overflow: unset !important;
    } 
    
    .slide:last-child, .slide:first-child {
        padding-bottom: 15vw !important;
    }
    .heading-2 {
        font-size: 1.5rem !important;
    }
    .heading-2.bigger {
        font-size: 2.1rem !important;
    }
    .text-block-2.bigger {
        font-size: 2.1rem !important;
    }
    .h3 {
        font-size: 1.5rem !important;
    }
    .div-block-2:first-child {
        order: 2 !important;
    }
    .div-block-2:last-child {
        order: 1;
    }
    .kontaktcontainer {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-bottom: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        grid-row-gap: 10px;
    }
    #showroom {
        overflow: unset !important;
        min-height: 600px; 
    }
    .div-block * {
        text-shadow: 1px 1px 9px rgb(0 0 0 / 90%);
    }
}