/* responsive.css */

@media (max-width: 991.98px) {
  h1 {
    font-size: 40px !important;
    margin-top: 130px !important;
  }

  .hero-text.home h1 {
    margin-top: 120px !important;
  }

  h2 {
    font-size: 30px !important;
  }

  h3 {
    font-size: 24px !important;
  }

  .description,
  .description.sm,
  .description2 {
    font-size: 16px !important;
  }

  .tab-pane .description {
    text-shadow: 2px 2px 0 #000, 2px 2px 1px #000, 2px 2px 2px #000;
  }

  .navbar-nav {
    gap: 5px !important;
    max-height: 100vh;
    overflow-y: auto;
  }

  .contact-button {
    font-size: 18px !important;
    padding: 10px 20px !important;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .navbar-collapse {
    max-height: 89vh;
    overflow: auto;
  }

  .hero-text {
    /* text-align: left; */
    padding: 0 20px;
  }

  .btn-primary,
  .btn-white-outline,
  .btn-black-outline {
    font-size: 16px !important;
    padding: 12px 20px !important;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-text .btn-primary {
    width: 100%;
  }

  body header {
    min-height: auto !important;
  }

  body header .container-xl {
    padding-left: 0px;
    padding-right: 0px;
  }

  .carousel-menu {
    gap: 8px !important;
    margin-bottom: 20px !important;
    justify-content: start !important;
  }

  .carousel-menu .btn {
    font-size: 18px !important;
    padding: 15px 16px !important;
    margin-right: 8px !important;
  }

  .tab-text .btn-primary {
    padding: 16px 16px !important;
    width: fit-content;
    margin: 10px auto 0;
  }

  .tab-pane h3 {
    text-align: center;
    font-size: 30px !important;
  }

  .tab-pane p {
    font-size: 16px !important;
  }

  .tab-pane-content {
    padding-top: 10px;
  }

  .tab-text {
    padding-left: 10%;
  }

  .tab-image {
    z-index: -2;
    margin-left: -75%;
    max-width: 500px;
    opacity: 0.3;
  }

  .d-flex.flex-row {
    gap: 20px !important;
  }

  .gallery-scroll-wrapper img {
    width: 250px !important;
    height: 250px !important;
  }

  .card {
    max-width: none !important;
    width: 100% !important;
    padding: 20px !important;
    margin-bottom: 20px !important;
  }

  .get-started-container {
    padding: 40px 20px !important;
  }

  .footer-container {
    padding: 30px 20px !important;
  }

  footer {
    height: auto !important;
  }

  .gallery {
    gap: 15px !important;
  }

  .divider,
  .divider-120,
  .divider-190 {
    margin-bottom: 60px !important;
  }

  .projekteSubPageCard {
    margin-bottom: 60px !important;
    margin-top: 0 !important;
  }

  .projekteSubPageCard:first-child{
    margin-top: 60px !important;
  }

  .collab {
    padding: 40px 0 !important;
  }

  .collab-item {
    width: 100% !important;
    max-width: 150px !important;
  }

  .das-erfolgsrezept, .hero-shadow {
    background: url("../img/das-erfolgsrezept-background.png") no-repeat center
      center;
    background-size: 150% 150%;
    background-position: center -20%;
    margin-bottom: 50px;
    padding-bottom: 0;
  }

  .hero-shadow {
            background-position: center 20%;
  }

  .MobileSidePadding {
    padding-left: 20px;
    padding-right: 20px;
  }

  .MobileImgFix {
    width: 100%;
  }

  .about-content {
    padding-top: 80px;
  }

  .about-content h2 br {
    display: none;
  }

  .printableSec .plItem.mblast,
  .printableSec .plItem {
    margin-bottom: 50px;
  }

  .dropdown-custom #diensteToggle {
    font-size: 30px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
  }

  body header .overlay img {
    width: 100%;
    right: -30%;
    top: 0;
    height: 160px;
  }

  .hero-text.home .btn.slide-down {
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .packagesSec .ganzheitlichSection {
    padding-bottom: 110px;
  }
  .contact-content {
    margin-top: 0;
    position: relative !important;
  }

  .contact-content h1 {
    margin-top: 0 !important;
  }

  .btn.btn-primary.contact-submit-btn {
    width: 100%;
    margin: 36px 0 90px;
  }

  .contact-form-containe {
    margin-top: 150px;
  }

  .ProzessColumn {
    margin-top: 3rem;
  }

  .ProzessColumn h3 {
    font-size: 40px !important;
  }

  .person-header h1 {
    margin-top: 0 !important;
  }

  .person-container .divider {
    margin-bottom: 16px !important;
  }

  .contact-form-container {
    margin-top: 150px;
  }

  .webdesignTitle {
    max-width: 320px;
  }

  .subPageSpacing {
    margin-top: 170px !important;
  }

  .btn-glass {
    word-break: break-all;
  }

  .klaro .cookie-notice {
    border-radius: 0 !important;
  }

  .hero-video-wrapper {
    width: 400px;
    top: 120px;
  }

  .home .hero-text .description {
    margin-top: 150px !important;
  }

  #contact_form .form-group .btn {
    display: block;
  }

  #thank_you_container {
    margin: 90px 0;
  }
}

@media only screen and (max-width: 767px) {
  .footer-links .nav {
    gap: 20px !important;
    flex-direction: column !important;
    text-align: center;
  }

  .about .image {
    width: 100%;
    max-width: 100%;
  }

  .about-content h2 br {
    display: block;
  }

  .about-content img {
    margin-bottom: 20px;
  }

  /* .hero-text {
    text-align: left !important;
    justify-content: start;
  } */

  .hero-text h1 {
    width: 100%;
    font-size: 30px;
  }

  .hero-text .description {
    width: 100%;
    font-size: 15px;
  }

  .read-more {
    margin-top: 20px !important;
  }

  .read-more.aboutBtn {
    display: flex !important;
    align-items: center;
    justify-content: end;
    margin-left: auto;
    gap: 10px;
  }

  .read-more.aboutBtn img {
    margin-bottom: 0;
  }

  h2.primary {
    margin-bottom: 0;
  }

  .collab h3 {
    font-size: 20px;
  }

  .cardsSec {
    flex-direction: column;
  }

  .printableSec {
    margin-top: 0;
  }

  .printableSec .plItem.mblast,
  .printableSec .plItem {
    margin-bottom: 30px;
  }

  #service-cards {
    background-position: 50% 53%;
  }

  .project-heading {
    text-align: left;
  }
  body header .overlay img {
    top: -30px;
  }

  .kontakt-service.desktop {
    display: none;
  }

  .kontakt-service.mobile {
    display: block;
  }

  .kontakt-service.mobile .row {
      font-size: 20px;
  }

  .btn.btn-primary.contact-submit-btn {
    margin-bottom: 36px;
  }
}

@media only screen and (max-width: 757px) {
  .printableSec .lastItem {
    flex-direction: column;
    padding: 20px 30px;
  }

  .printableSec .lastItem .text {
    width: 100%;
    margin-bottom: 20px;
    line-height: 21px;
  }

  .tab-pane-content {
    flex-direction: column-reverse;
    max-height: unset;
    min-height: 300px;
    justify-content: start !important;
  }

  .tab-pane-content .tab-image {
    margin-left: unset;
    max-width: unset;
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .tab-pane-content .tab-text {
    padding-left: 0;
    position: absolute;
    top: 43%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin-top: 0;
    max-width: unset;
    width: 100%;
  }
}

@media only screen and (max-width: 537px) {
  .hero-video-wrapper {
    top: 120px;
    width: 390px;
  }
  .hero-text.home h1 {
    font-size: 34px !important;
  }

  .home .hero-text .description {
    margin-top: 185px !important;
  }

}

@media only screen and (max-width: 456px) {
  .collab h3 br {
    display: none;
  }
  .hero-text.home h1 {
    max-width: 100%;
  }

  .klaro .cookie-notice .cm-btn {
    padding: 16px !important;
  }

  #contact_form .form-group .btn span {
    flex-direction: column;
  }
}


@media only screen and (max-width: 420px) {
  .hero-video-wrapper {
    top: 160px;
  }
}

@media only screen and (max-width: 430px) {
  .description.sm br {
    display: none;
  }

  .klaro .cookie-notice .cm-btn {
    width: 100%;
  }
}

@media only screen and (max-width: 401px) {
  .hero-text h1 br {
    display: none;
  }

  .hero-text .description br {
    display: none;
  }

  .market-title {
    max-width: 290px;
  }
}

@media (max-height: 820px) and (min-width: 992px) {
  body.home .hero-text h1 {
    margin-top: 48px !important;
  }

  body.home .hero-video-wrapper {
      top: 40px;
      width: 590px;
  }
}

@media (max-width: 768px) {
  .display-desktop {
    display: none !important;
  }

  .custom-content-trigger {
      text-align: right;
      margin-top: 10px;
  }
}