/* ===== Smartphones – Portrait nach Breite (iPhone + Android/Samsung) ===== */
@media screen and (max-width: 360px) {
  /* sehr kleine Phones */
   .displaynone { display: none !important; }
   .bottom-video { margin-top: -350px !important; }
}

@media screen and (min-width: 361px) and (max-width: 390px) {
  /* gängige iPhones + viele Androids */
   .displaynone { display: none !important; }
   .bottom-video { margin-top: -370px !important; }
}

@media screen and (min-width: 391px) and (max-width: 412px) {
  /* größere Phones */
   .displaynone { display: none !important; }
   .bottom-video { margin-top: -370px !important; }
}

@media screen and (min-width: 413px) and (max-width: 430px) {
  /* Plus/Max-Modelle */
   .displaynone { display: none !important; }
   .bottom-video { margin-top: -370px !important; }
   .site-footer  { margin-top: 0px !important; }
}

@media screen and (min-width: 431px) and (max-width: 640px) {
  /* Plus/Max-Modelle */
   .bottom-video { margin-top: -370px !important; }
}

@media screen and (min-width: 641px) and (max-width: 700px) {
  /* Plus/Max-Modelle */
   .bottom-video { margin-top: -430px !important; }
}

@media screen and (min-width: 701px) and (max-width: 767px) {
  /* Plus/Max-Modelle */
   .bottom-video { margin-top: -630px !important; }
}

@media screen and (min-width: 767px) and (max-width: 777px) {
  /* Plus/Max-Modelle */
   .bottom-video { margin-top: -610px !important; }
}

@media screen and (min-width: 778px) and (max-width: 999px) {
  /* Plus/Max-Modelle */
   .bottom-video { margin-top: -470px !important; }
}

@media screen and (min-width: 1000px) and (max-width: 1366px) {
  /* Plus/Max-Modelle */
   .bottom-video { margin-top: -410px !important; }
}

@media screen and (min-width: 1367px)  {
  /* Plus/Max-Modelle */
   .bottom-video { margin-top: -400px !important; }
}


@media only screen and (min-width: 1024px) and (max-width: 1366px) {
  /*  .he-teaser {
        padding-top: 80px !important;
    }
*/
    header .custom-logo-link img {
    margin-left: 10px;
    padding-right: 0em !important;
    width: 335px !important;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1023px) {
    .he-teaser {
        padding-top: 0px !important;
        padding-bottom: 30px !important;
    }
}

@media only screen and (min-width: 661px) and (max-width: 799px) {
    .he-teaser {
        padding-bottom: 30px !important;
    }
}

/* ===== iPad / Tablets ===== */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  /* iPad hochkant display*/

}

@media screen and (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
  /* iPad quer (inkl. Pro) */
}


/* ===== Smartphones – Landscape ===== */
@media screen and (max-height: 430px) and (orientation: landscape) {
  /* Phones quer */
  .displaynone { display: none !important; }
}


/* ===== Smartphones ===== */
@media (max-width: 454px)  {
  .white {
    color: #ebebeb;
    margin-left: 18px !important; 
    font-size: 15px !important; 
    }
}

@media (min-width: 455px)  {
  .white {
    color:#ebebeb;
    margin-left:20px;
    font-size: 20px;
  }
}

/* ===== High-DPI (Retina/Android) – optional für feine Assets ===== */
@media screen and (-webkit-min-device-pixel-ratio: 2),
       screen and (min-resolution: 192dpi) {
  /* hochauflösende Grafiken/Icons aktivieren */
}

/* ===== Content-first Breakpoints (Layout-getrieben) ===== */
@media (min-width: 600px)  { /* Modul-/Grid-Anpassungen */ }
@media (min-width: 768px)  { /* Tablet-Layouts */ }



@media screen and (max-width: 599px) { 
  .testimonial-card .vc_grid.vc_grid-owl-theme .vc_grid-owl-nav.vc_grid-owl-nav-color-juicy_pink 
  { 
    display: none !important; 
  }
}


/* ===== Testimonial Anzeite ===== */
@media screen and (max-width: 768px) { 
  .einereihe { display: block !important; } 
}

@media screen and (min-width: 769px) and (max-width: 1440px) { 
  .zweireihen { display: block !important; } 
}

@media screen and (min-width: 1441px) { 
  .vierreihen { display: block !important; } 
}


@media screen and (max-width: 1023px) { 
  .ab-einereihe { display: block !important; } 
}

@media screen and (min-width: 1024px) { 
  .ab-zweireihen { 
    display: block !important;
   } 
}

@media screen and (max-width: 923px) { 
  .ab-einereihe2 { display: block !important; } 

    .training_card_wrapper .owl-item > div{
    display: flex !important;
    height: unset !important;
  }

  .training_card_wrapper h3 {
          margin-top: 20px !important;
   }

 .wpb_single_image .vc_figure, .wpb_single_image .vc_single_image-wrapper {
    display: block !important;
  }
 
   .he-azubi-teaser .wpb_single_image .vc_single_image-wrapper {
       margin-top: 150px;
       margin-bottom: 55px;
  }
/*
  .he-azubi-teaser .wpb_single_image .vc_single_image-wrapper > img.vc_single_image-img {
      height: 310px;
  }
*/
  .he-azubi-teaser .wpb_single_image .vc_single_image-wrapper {
    min-height: 310px;
  }
}


@media screen and (min-width: 535px) and (max-width: 923px) { 

    .training_card_wrapper .owl-item img {
      border-radius: 15px !important;
      min-height: 556px !important;
      object-fit: cover !important;
   }

}

@media screen and (min-width: 100px) and (max-width: 534px) { 

    .training_card_wrapper .owl-item img {
      border-radius: 15px !important;
      min-height: 300px !important;
      object-fit: cover !important; }

      .vc_gitem-align-justify {
      text-align: left !important;
    }

}

@media screen and (min-width: 924px) and (max-width: 1365px) { 

    .training_card_wrapper .owl-item img {
      border-radius: 15px !important;
      object-fit: cover !important;
      min-height: 600px !important;
   }

}

@media screen and (max-width: 1366px)  { 

    .training_card_wrapper .owl-item img {
      border-radius: 15px !important;
      object-fit: cover !important;
   }

}

@media screen and (min-width: 1366px) { 
  .ab-zweireihen2 { 
    display: block !important;
   } 

  .training_card_wrapper h3 {
        margin-top: 20px;
   }

   .he-azubi-teaser .wpb_single_image .vc_single_image-wrapper {
       margin-top: 200px;
       margin-bottom:70px;
  }
}


@media screen and (min-width: 924px) and (max-width: 1365px) { 
  .ab-zweireihen3 { 
    display: block !important;
   } 

  .training_card_wrapper h3 {
        margin-top: 20px;
   }

   .he-azubi-teaser .wpb_single_image .vc_single_image-wrapper {
       margin-top: 200px;
       margin-bottom:70px;
  }
}


.vierreihen, 
.zweireihen, 
.einereihe, 
.ab-zweireihen, 
.ab-einereihe, 
.ab-zweireihen2,
.ab-zweireihen3,
.ab-einereihe2 {
  display: none; 
} 


@media (max-width: 600px)  { /* Modul-/Grid-Anpassungen */ }
@media (max-width: 768px)  { 
  /* Tablet-Layouts */
    .vc_col-sm-3  {
  flex: 2 1 calc(50% - 20px); /* 4 Columns */
  background: #fff;
  padding-bottom: 20px;
  box-sizing: border-box;
}

}
@media (max-width: 1024px) { 
  /* Desktop-Basis */
      .card-btn .vc_btn3     
      {
          font-size: 18px !important;
      }

     .vc_btn3.vc_btn3-size-lg
      {
          padding: 10px 10px !important;
      }
 }




@media screen and (min-width: 1367px) and (max-width: 1690px)  { 

  header .custom-logo-link img {
    margin-left: 15px;
    padding-right: 0em !important;
    width: 335px !important;
  }
}

  @media screen and (min-width: 1691px) { 

  header .custom-logo-link img {
    margin-left: 15px !important;
    padding-right: 0em !important;
    width: 335px !important;
  }


}


  @media screen and (min-width: 422px) and (max-width: 499px)  {
   .accent-abst { padding-right:  150px !important; }
}

  @media screen and  (max-width: 442px)  {
   .accent-abst { padding-right:  97px !important; }
}


@media (max-width: 544px) {
    .ast-builder-grid-row-container.ast-builder-grid-row-mobile-full .ast-builder-grid-row
 {
        display: flex;
        flex-wrap: wrap;
    }
}

@media (min-width: 1367px) {
.footer-video .sr7-layer {
   height: 720px !important;
}
}

@media (max-width: 940px) {
    .vc_gitem-zone-a .vc_gitem-row-position-middle, .vc_gitem-zone-b .vc_gitem-row-position-middle {
        top: 40% !important;
    }
} 

@media  (max-width: 679px) {
    .grid-desktop .vc_gitem-zone-a .vc_gitem-row-position-middle, .grid-desktop .vc_gitem-zone-b .vc_gitem-row-position-middle {
        top: 50% !important;
    }
}

@media (max-width: 519px) {
    .grid-desktop .vc_gitem-zone-a .vc_gitem-row-position-middle, .grid-desktop .vc_gitem-zone-b .vc_gitem-row-position-middle {
        top: 50% !important;
    }
  }

@media (min-width: 520px) and (max-width: 679px) {
    .grid-desktop .vc_gitem-zone-a .vc_gitem-row-position-middle, .grid-desktop .vc_gitem-zone-b .vc_gitem-row-position-middle {
        top: 60% !important;
    }
  }

@media (min-width: 680px) and (max-width: 768px) {
    .grid-desktop .vc_gitem-zone-a .vc_gitem-row-position-middle, .grid-desktop .vc_gitem-zone-b .vc_gitem-row-position-middle {
        top: 65% !important;
    }
} 



@media (min-width: 990px) {
    .grid-desktop .vc_gitem-zone-a .vc_gitem-row-position-middle, .grid-desktop .vc_gitem-zone-b .vc_gitem-row-position-middle {
        top: 60% !important;
    }
} 

@media (min-width: 1181px) and (max-width: 1280px) {
.faq-wrapper {
    min-height: 410px !important;
  }

}

@media (min-width: 768px) and (max-width: 800px){
   .card-gray.vc_col-sm-3, .card-gray.vc_col-sm-4  {
        width: 100% !important;
    }
}


@media (max-width: 700px) {

     .vc_section.cta-bottom-section.vc_section-has-fill  {
        padding-top: 70px !important;
    }
}


@media (min-width: 767px) {

    .testimonial-card .vc_grid.vc_grid-owl-theme .vc_grid-owl-nav.vc_grid-owl-nav-color-juicy_pink,
    .training_card_wrapper .vc_grid.vc_grid-owl-theme .vc_grid-owl-nav.vc_grid-owl-nav-color-juicy_pink, 
    .faq-swipe .vc_grid.vc_grid-owl-theme .vc_grid-owl-nav.vc_grid-owl-nav-color-juicy_pink  {
        color: #E53935 !important;
    }

    .testimonial-card .vc_grid.vc_grid-owl-theme .vc_grid-owl-nav, 
    .training_card_wrapper .vc_grid.vc_grid-owl-theme .vc_grid-owl-nav, 
    .faq-swipe .vc_grid.vc_grid-owl-theme .vc_grid-owl-nav {
        opacity: 1 !important;
        text-align: right;
    }

    .testimonial-card .vc_grid-owl-prev, .testimonial-card .vc_grid-owl-next,
    .training_card_wrapper .vc_grid-owl-prev, .training_card_wrapper .vc_grid-owl-next,
    .faq-swipe .vc_grid-owl-prev, .faq-swipe .vc_grid-owl-next {
        top: -35px !important;
        font-size: 40px !important;
    }

    .testimonial-card .vc_grid-owl-prev, .training_card_wrapper .vc_grid-owl-prev,
    .faq-swipe .vc_grid-owl-prev {
        left: auto !important;
        right: 60px;
    }
  }


  @media (max-width: 544px) {
    .ast-builder-menu-mobile .main-navigation .menu-item.menu-item-has-children > .ast-menu-toggle
     {
        top: 10px !important;
     }
}


@media (max-width: 840px) {

.training_card .vc_custom_heading {
    min-height: 58px;
    margin-bottom: 0px; }

}


/* Handy 
@media (max-width: 767px) {
  #home-testimonials .testimonial-white-wrapper, #gewerblich-stimmen .testimonial-white-wrapper, #kfm-stimmen .testimonial-white-wrapper {
    min-height: 250px !important;
  }
  #technisch-stimmen .testimonial-white-wrapper {
    min-height: 250px !important;
  }
  #nachhaltigkeit-social-responsibility .testimonial-white-wrapper, #teamwork .testimonial-white-wrapper {
    min-height: 355px !important; 
  }
  #technische-exzellenz .testimonial-white-wrapper {
    min-height: 380px !important;
  }
} */

/* Tablet 
@media (min-width: 768px) and (max-width: 1180px) {
  #home-testimonials .testimonial-white-wrapper {
    min-height: 360px !important;
  }
  #gewerblich-stimmen .testimonial-white-wrapper {
    min-height: 270px !important;
  }
  #technisch-stimmen .testimonial-white-wrapper {
    min-height: 270px !important;
  }
  #kfm-stimmen .testimonial-white-wrapper, #nachhaltigkeit-social-responsibility .testimonial-white-wrapper, #teamwork .testimonial-white-wrapper {
    min-height: 355px !important;
  }
  #technische-exzellenz .testimonial-white-wrapper {
    min-height: 408px !important;
  }
.faq-wrapper {
    min-height: 410px !important;
  }
.testimonials-training {
        min-height: auto !important;
}
}*/


/* Tablet 
@media (min-width: 1181px) and (max-width: 1280px) {
  #home-testimonials .testimonial-white-wrapper, #kfm-stimmen .testimonial-white-wrapper {
    min-height: 300px !important;
  }
  #gewerblich-stimmen .testimonial-white-wrapper,  #nachhaltigkeit-social-responsibility .testimonial-white-wrapper,  #teamwork .testimonial-white-wrapper {
    min-height: 330px !important;
  }
  #technisch-stimmen .testimonial-white-wrapper, 
#technische-exzellenz .testimonial-white-wrapper {
    min-height: 355px !important;
  } 
   

.testimonials-training {
        min-height: auto !important;
  }
}*/
