@media (min-width: 1200px) {

}
@media (min-width: 1025px) and (max-width: 1920px) {
  .logo {
    width: 11%;
  }
  .teaserSection .left figure,
  .right figure {
    width: 100%;
  }
  .content-aboveImage .container {
    margin-bottom: 9rem;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
  .accordion-body p {
    font-size: 18px;
    line-height: 25px;
  }

  .pages-grid .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* .hidden-mobile {
    display: none;
  } */

  /* h1 {
    font-size: 45px;
    line-height: 50px;
  } */

  /* h2 {
    font-size: 35px;
    line-height: 45px;
  } */

  /* h3 {
    font-size: 30px;
    line-height: 36px;
    margin-bottom: 1rem;
  } */

  p,
  ul li {
    font-size: 18px;
    line-height: 25px;
  }

  .nymphenburg-sec .col-md-6,
  .meine-sec .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .doc-sec .img-col {
    padding: 0;
    margin-bottom: 15px;
  }
  .doc-sec .text-col {
    padding: 25px 17%;
  }

  .illustration-sec .ce-container {
    max-width: 48%;
  }
  .illustration-sec .illu-col img {
    width: 300px;
    margin: 0;
  }

  .illustration-sec #c15239 figure {
    left: 74%;
  }

  fieldset.powermail_fieldset .row {
    margin: 0;
    width: 100%;
  }
  .row:has(.powermail_fieldwrap_type_textarea) {
    position: unset;
  }

  .footer-desc-row {
    flex-direction: row;
  }
  .footer .footer-desc-row .title-col {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer .footer-desc-row .doc-col,
  .footer .footer-desc-row .time-col {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .FixNav .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .navbar-light .row.align-items-center {
    flex-direction: column-reverse;
  }

  .FixNav .social {
    display: flex;
    padding-bottom: 13px;
    flex-direction: column-reverse;
    position: fixed;
    top: 95px;
    right: -97px;
    width: auto;
    gap: 130px;
  }
  .termin {
    rotate: -90deg;
  }
  .FixNav .social div {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .powermail_fieldwrap_type_textarea {
    position: unset;
  }
  .row:has(.powermail_fieldwrap_type_check)::before {
    left: 12px;
    top: 145px;
  }
  .powermail_fieldwrap_type_radio label {
    display: block;
    padding-left: 0;
  }
  .row:has(.powermail_fieldwrap_type_check) {
    width: 100%;
    margin-left: unset !important;
    padding: 30px 12px;
  }
  .collapse:not(.show) {
    display: none;
  }
  .navbar-light .navbar-toggler {
    display: block;
  }

  .navbar-expand-lg .navbar-nav {
    -ms-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    flex-wrap: wrap;
    width: 100%;
  }

  header.FixNav.inner {
    z-index: 1000;
    top: 0;
  }

  fieldset.powermail_fieldset .row .col-md-6 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .powermail_fieldwrap_type_submit input {
    white-space: break-spaces;
    margin-top: 1em;
  }
  .form-control {
    border: unset;
    padding: 23px 12px !important;
  }
  .col-sm-10 {
    padding: unset;
  }
  .powermail_fieldwrap_type_submit .col-sm-10 {
    max-width: 100% !important;
    margin: auto !important;
  }
  .formKontakt {
    margin-bottom: unset;
  }
  .innerFirstSection .row {
    margin-left: unset;
    margin-top: unset;
  }
  .specificInnerTOP {
    margin-top: 2rem;
  }
  .specificInnerTOP .col-md-6 {
    padding: unset;
  }
  #page-content {
    position: relative;
    /* z-index: 1; */
  }
  .teaserSection .left figure,
  .right figure {
    width: 100%;
  }
  .teaserSection .specificMarginRight,
  .teaserSection .specificMarginLeft {
    margin-right: unset;
    margin-top: 2rem;
    margin-left: unset;
  }
  .teaserSection .specificMarginLeft {
    display: flex;
    flex-direction: column-reverse;
  }
  .teaserSection .left,
  .teaserSection .right {
    padding: unset;
  }
  .specificWidth {
    padding: 2em 4em;
  }
  .teaserSection {
    padding: unset !important;
  }
  .tableSection h4 {
    line-height: 44px;
  }
  .tx-videogrid .col-4 {
    padding: 0 15px;
  }
  .teaserSection .spacificHeader {
    padding: 0 30px;
  }
  .secondSection .row-cols-md-2 .col p {
    display: flex;
    align-items: center;
    flex-direction: row;
    margin-bottom: 2rem;
  }
  .tableSection h3,
  .spacificHeader h3 {
    margin-left: unset;
  }

  .secondSection img {
    width: 105px;
    margin-bottom: 2rem;
  }
  .secondSection .row-cols-md-2 .col {
    -ms-flex-preferred-size: 0;
    flex-basis: unset;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    width: 100%;
  }
  .firstSection a.mainBtn,
  .footer a.mainBtn {
    width: 100%;
  }
  .firstSection h1 {
    width: 100%;
    margin: auto;
    margin-top: 50px;
  }
  .mobImage {
    display: block !important;
  }
  .descImage {
    display: none;
  }
  .logo {
    margin-bottom: 9rem;
    width: 210px;
  }
  .underImage {
    width: 415px;
  }
  .content-aboveImage {
    top: 8%;
  }
  .homeStartImage {
    height: 104vh;
  }
  .content-aboveImage h1 {
    color: #000;
  }
  .hero_img #c5 {
    display: none;
  }
  .links {
    position: absolute;
    right: 100px;
    top: -14px;
  }
  .copy-r p {
    font-size: 14px;
  }
  .backy .ce-container {
    background-attachment: unset !important;
  }
  .img_frame figure.image {
    margin-bottom: 2em;
  }
  .logoImage {
    display: none;
  }
  .counter .row {
    flex-direction: column !important;
  }

  .top_logo a {
    width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .top_logo img {
    height: 65px;
    margin: 0 auto;
    display: block;
  }

  header.FixNav {
    width: 100%;
  }
  header.FixNav.sticky {
    width: 100%;
  }
  .section1 h1 {
    font-size: 45px;
    line-height: 50px;
  }

  .section1 h1 + p {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .teaser h2 {
    font-size: 40px;
    line-height: 45px;
  }

  .teaser p {
    font-size: 18px;
  }

  .teaser .col-lg-5 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .section1 .ce-col p {
    font-size: 16px;
  }

  .teaser a.teaserBtn {
    display: block;
    text-align: center;
  }

  .teaser figure.image {
    height: 500px;
    width: 100%;
  }

  .teaser figure.image:after {
    width: 109%;
    height: 62px;
    right: -8px;
    bottom: -29px;
    transform: rotate(-3deg);
  }

  .teaser.right figure.image:after {
    transform: rotate(3deg);
  }

  .counter {
    margin-bottom: 45px;
    margin-top: 15px;
  }

  .counter h2 {
    font-size: 70px;
    margin-bottom: 15px;
    text-align: center !important;
  }

  .counter p {
    text-align: center !important;
  }

  .teaser {
    padding-top: 519px;
    margin-bottom: 30px;
    padding-bottom: 20px;
  }

  .counter .row .ce-col:nth-child(2) {
    margin: 0;
  }

  .teaser a.teaserBtn {
    display: inline-block;
  }

  .footer .col-lg-3 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .copy-r .ce-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer .col-lg-3:last-child {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer .col-lg-3:nth-child(3) {
    margin-top: -78px;
  }

  .footer iframe {
    width: 100%;
    height: 369px;
  }
  .footer .col-md-4 .ce-textpic figure {
    width: 29px;
  }

  .footer .ce-col.col-md-8 {
    flex: 0 0 65%;
    max-width: 65%;
  }
  .copy-r .ce-col.col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .copy-r .ce-col.col-md-4.cr-links {
    justify-items: flex-end;
  }
  .copy-r .ce-col.col-md-4.company {
    justify-items: flex-start;
  }

  .footer:before {
    height: 47%;
  }

  .counter {
    margin: 70px 0;
  }

  .footer {
    padding: 4rem 30px 0;
    background-attachment: inherit;
    background-size: inherit;
  }

  .footer .row {
    margin: 0;
  }

  .top_space {
    padding-top: 10em;
  }

  .teaserSection p a {
    padding: 22px 10px;
  }

  .teaserSection .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .teaserSection .row {
    justify-content: center;
  }

  ul.dropdown-menu {
    position: relative !important;
    left: 35px !important;
    right: 0 !important;
    top: 0 !important;
    min-width: 100%;
    box-shadow: none;
    background-color: transparent;
  }

  nav .col-md-9 {
    position: static;
  }

  .top_logo img {
    height: 65px;
  }

  .footer .container {
    position: relative;
    height: auto;
    max-width: 100%;
  }

  .hero_img figure.image,
  .hero_img .videoBlock {
    height: 500px;
  }

  .teaser_block .ce-col.col-md-4 {
    margin-bottom: 2em;
  }

  .hero_img .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero_img .ce-col.col-md-6 {
    padding: 0;
  }

  .hero_img .row.align-items-end {
    flex-direction: column-reverse;
  }

  .img_frame figure.image {
    margin-bottom: 2em;
  }

  a.STEF_back-to-top {
    position: absolute;
    right: 14px;
    bottom: 9px;
    margin-top: -54px;
    z-index: 999;
  }

  .navbar-nav li a {
    text-align: center;
  }

  .nav_shortcuts span {
    display: none;
  }

  .scrolla {
    bottom: 10% !important;
  }

  .nav_btns .frame p {
    width: 48%;
    margin: 0 5px;
  }

  .navbar-light .row.align-items-center {
    position: relative;
  }

  nav .col-md-8.col-xs-12,
  .col-md-8,
  .col-md-7 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  form.powermail_form.powermail_form_50 {
    padding: 0;
  }

  .col-2,
  .col-5,
  .col-6,
  .col-8,
  .col-md-2.col-xs-12,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .teaser--section .ce-col.col-md-3,
  .teaser--section .ce-col.col-md-4,
  .teaser--section .ce-col.col-md-6,
  .teaser_section .col-md-5,
  .teaser_section .col-md-7,
  nav .col-md-3.col-xs-12,
  nav .col-md-7.col-xs-12,
  nav .col-md-9.col-xs-12,
  nav.navbar-light .col-md-10.col-xs-12,
  .copyright .col-md-3 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-3,
  .col-4,
  .contact_block .ce-col.col-md-6,
  .footer .col-2,
  .footer .col-4,
  .gallery_section .col-md-6,
  .team_row .col-md-4,
  .team_row .col-md-8,
  .teaser_block .col-md-3,
  div#c11292 .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .hero_img #c5 h1 {
    font-size: 70px;
  }

  .backy .ce-container {
    height: 400px;
  }

  .hero_img a.mainBtn {
    font-size: 18px;
  }

  .section1 h1 {
    font-size: 80px;
    line-height: 80px;
  }

  .section1 h1 + p {
    font-size: 32px;
  }

  .section1 .ce-col p {
    font-size: 18px;
  }

  .dropdown-toggle::after,
  .topHeader_txt,
  img.topimg {
    display: none;
  }

  ul.navbar-nav {
    margin-top: 0;
    padding: unset;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    flex-wrap: wrap;
  }

  .navbar-nav li a,
  .navbar-nav ul.dropdown-menu a {
    display: block;
    text-align: center !important;
  }

  .navbar-nav li a,
  .top_nav .navbar-nav li a {
    padding: 10px;
    text-align: center;
  }
  /* ***********amr fix********* */
  /* .navbar-collapse {
    background: transparent;
    top: 54px;
    right: 0;
    z-index: 30;
    padding: 2em;
    position: absolute;
    border-radius: 0;
  } */

  ul.navbar-nav li {
    padding: 6px 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
  }

  .section1.toplinks .ce-col p {
    font-size: 15px;
  }

  .navbar-toggler {
       right: -15px;
        top: 15px;
  }

  header.FixNav .col-md-1,
  header.FixNav .col-md-2 {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
  }

  header.FixNav .col-md-9 {
    -ms-flex: 0 0 40%;
    flex: 0 0 40%;
    max-width: 40%;
  }

  .top_logo img {
    height: 65px;
  }

  .pageSpace {
    padding: 3em 0;
  }
  /* ***********amr fix************ */
  .teaserSection .specificWidth .ce-col.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .main-hero .back-ground video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .dropdown.open > a i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }
  .dropdown:not(.open) > a i {
    transform: rotate(0) !important;
    transition: transform 0.3s ease;
  }
  header.FixNav nav.navbar-light {
    position: static;
    top: unset;
    right: unset;
    width: 100%;
    border-radius: 0px;
}
header.FixNav nav.navbar-light:has(.active--collapse) {
    width: 100%;
    height: 85vh;
}
header.FixNav nav.navbar-light:has(.active--collapse) .dropdown-header .contenta .nav-dropdown-links {
    top: 125px;
    height: 30vh;
}
    .navbar-collapse {
        max-height: 77vh;
        overflow: auto;
    }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  h1 {
    font-size: 32px;
    line-height: 42px;
  }

  h2 {
    font-size: 28px;
    line-height: 36px;
  }

  h3 {
    font-size: 28px;
    line-height: 38px;
  }

  h4 {
    font-size: 25px;
    line-height: 35px;
  }

  #instaFeed .owl-nav {
    width: 6%;
  }

  .main-hero .hero-shortcuts {
    display: none;
  }

  .main-hero .hero-logo {
    width: 380px;
  }

  header.FixNav .nav-shortcuts span,
  header.FixNav .nav-shortcuts a.hiring-btn {
    display: none;
  }

  a.hiring-btn-mobile {
    display: block;
    position: fixed;
    right: -74px;
    top: 70%;
    rotate: -90deg;
    background-color: #e8e8e8;
    padding: 6px 20px;
    border-radius: 10px 10px 0 0;
    box-shadow: -3px 3px 6px #00000029;
    color: var(--lightbrown);
    z-index: 9999;
  }
  a.hiring-btn-mobile img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
  }

  #instaFeed.owl-carousel.owl-drag .owl-item .item a.ima {
    height: 400px;
  }

  header.FixNav .row {
    position: relative;
  }
  header.FixNav .col-md-10 {
    position: unset;
  }

  ul.dropdown-menu {
    margin: 0 14px;
    padding: 10px;
  }
  .nav-img {
        width: 35%;
        position: absolute;
        top: 150px;
        left: 0px;
  }

  .doc-sec .row {
    padding: 4% 2%;
  }
  .doc-sec figure {
    width: 260px;
  }
  .doc-sec .ce-container {
    max-width: 88%;
  }

  .teaser-brown .round-image figure,
  .teaser-grey .round-image figure {
    width: 360px;
    position: unset;
  }
  .teaser-grey .row {
    flex-direction: column-reverse;
  }
  .teaser-brown,
  .teaser-grey {
    padding: 3em 0;
  }
  .teaser-brown a.mainBtn,
  .teaser-grey a.mainBtn {
    width: 74%;
  }

  .news-slider .owl-carousel .item {
    padding: 50px 40px 115px;
  }

  .footer-data .row {
    flex-direction: column;
  }
  .footer-data .row .btn-col,
  .footer-data .row .text-col {
    max-width: 50%;
  }
  .footer-data .text-col {
    border-left: unset;
    border-right: unset;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 2em 0;
    margin: 2em 0;
  }
  .footer-data .lang-col #c20372 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .footer-data .lang-col #c20372 p:nth-of-type(1) {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .copy-r .ce-col.col-md-4.cr-links {
    justify-items: flex-end;
    flex: 0 0 40%;
    max-width: 40%;
  }
  .copy-r .ce-col.col-md-4 {
    flex: 0 0 60%;
    max-width: 60%;
  }

  .inner-first-sec .reverse {
    flex-direction: column-reverse;
  }

  .videoBlock {
    height: 230px;
  }
  /* .videoBlock a .video-txt {
    width: 54%;
    bottom: -46px;
  } */
  .videoBlock a::after {
    width: 73px;
    height: 73px;
  }

  .inner-fourth-sec.pageSpace {
    margin-bottom: 33em;
  }

  .icons-grid .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .powermail_fieldwrap.powermail_fieldwrap_type_radio .col-sm-10 .radio {
    flex: 0 0 100%;
    max-width: 100%;
  }
  fieldset.powermail_fieldset
    .row
    .col-md-6.powermail_fieldwrap_uploadzeugnisse {
    margin-top: unset;
  }

  .footer .col-md-12.text-col {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    background-color: #ececec;
    margin: 1em auto;
    padding: 35px 100px;
    max-width: 95%;
    flex-wrap: wrap;
    align-items: center;
  }
  .copy-r .ce-col.col-md-4.company {
    flex: 0 0 100%;
    max-width: 100%;
    justify-items: flex-start;
  }
  a.STEF_back-to-top {
    right: 39px;
    bottom: 21px;
  }

  .footer-data .row {
    align-items: center;
  }
  .footer-data .row .btn-col {
    margin-top: unset;
  }
}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .footer-data .row .btn-col {
    margin-top: unset;
  }

  #instaFeed .owl-nav {
    width: 6%;
  }

  ul.dropdown-menu {
    margin: 0 14px;
    padding: 10px;
  }

  .FixNav .col-md-10 {
    position: unset;
  }
  header.FixNav .row {
    position: relative;
  }
  .navbar-expand-lg .navbar-collapse {
    display: block !important;
  }


   .nav-img {
        width: 35%;
        position: absolute;
        top: 150px;
        left: 0px;
  }

  .doc-sec .col-md-4,
  .doc-sec .col-md-8 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .doc-sec .ce-container {
    max-width: 91%;
  }
  .doc-sec .row {
    padding: 3%;
  }

  .reverse {
    flex-direction: column-reverse;
  }

  .teaser-grey,
  .teaser-brown {
    padding-top: 6em;
  }

  #instaFeed.owl-carousel.owl-drag .owl-item .item a.ima {
    height: 494px;
  }

  .inner-fourth-sec .col-md-6,
  .inner-second-sec .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .inner-third-sec .col-md-8,
  .inner-third-sec .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .inner-third-sec .row {
    -ms-flex-align: flex-start !important;
    align-items: flex-start !important;
  }

  .inner-fourth-sec.pageSpace {
    margin-bottom: 30em;
  }

  .icons-grid .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  fieldset.powermail_fieldset
    .row
    .col-md-6.powermail_fieldwrap_uploadzeugnisse {
    margin-top: unset;
  }

  .footer-data .btn-col,
  .footer-data .text-col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-bottom: 2em;
  }
  .footer-data .text-col {
    border-right: unset;
  }
  .footer-data .lang-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding-top: 2em;
    border-top: 1px solid #e8e8e8;
  }

  .footer {
    padding-bottom: 1em !important;
  }

  .footer .copy-r .ce-col.cr-links {
    -ms-flex: 0 0 29%;
    flex: 0 0 29%;
    max-width: 50%;
  }

  .collapse:not(.show) {
    display: none !important;
  }
  .homeStartImage {
    height: 130vh;
  }
  .underImage {
    width: 530px;
  }

  .FixNav .col-md-3 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  div#navbarNavDropdown {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .teaserSection .left figure,
  .right figure {
    width: 772px;
  }

  .specificWidth .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .logo {
    margin-bottom: 1rem;
    width: 210px;
  }
  header.FixNav.sticky {
    width: 100%;
  }
  .links {
    position: absolute;
    right: 100px;
    top: -14px;
  }
  .hero_img figure.image,
  .hero_img .videoBlock {
    height: calc(100vh - 62px);
  }
  .hero_img #c5 {
    display: block;
  }
  .logoImage {
    display: block;
  }
  .top_logo {
    display: inline-block;
    opacity: 1;
  }
  header.FixNav nav.navbar-light {
    background-color: var(--bodytextcolor);
    position: absolute;
    top: 75px;
    right: 40px;
    width: 320px;
    border-radius: 40px;
    padding: 10px 20px;
    z-index: 1000;
    overflow: hidden;
}
header.FixNav nav.navbar-light:has(.active--collapse) {
        width: 90%;
        height: 85vh;
    }
}
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
  .links {
    position: absolute;
    right: 100px;
    top: -14px;
  }
  .copy-r p {
    font-size: 14px;
  }
  .top_space {
    padding-top: 10em;
  }

  .teaserSection p a {
    padding: 22px 10px;
  }

  .teaserSection .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .teaserSection .row {
    justify-content: center;
  }

  ul.dropdown-menu a {
    border: none !important;
  }

  nav .col-md-9 {
    position: static;
  }

  header.FixNav {
    padding: 15px;
  }

  .footer .container {
    position: relative;
    height: auto;
    max-width: 100%;
  }

  .teaser_block .ce-col.col-md-4 {
    margin-bottom: 2em;
  }

  a.STEF_back-to-top {
    position: absolute;
    right: 0;
    bottom: 50px;
  }

  .navbar-nav li a {
    text-align: center;
  }

  .nav_shortcuts span {
    display: none;
  }

  .scrolla {
    bottom: 120px;
  }

  .nav_btns .frame p {
    width: 48%;
    margin: 0 5px;
  }

  .navbar-light .row.align-items-center {
    position: relative;
  }

  nav .col-md-8.col-xs-12,
  .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .copyright .text-center,
  .text-right {
    text-align: left !important;
  }

  .links a.mr-3 {
    margin-right: 1.3em !important;
  }

  form.powermail_form.powermail_form_50 {
    padding: 0;
  }

  .col-2,
  .col-5,
  .col-6,
  .col-8,
  .col-md-2.col-xs-12,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .teaser--section .ce-col.col-md-3,
  .teaser--section .ce-col.col-md-4,
  .teaser--section .ce-col.col-md-6,
  .teaser_section .col-md-5,
  .teaser_section .col-md-7,
  nav .col-md-3.col-xs-12,
  nav .col-md-7.col-xs-12,
  nav .col-md-9.col-xs-12,
  nav.navbar-light .col-md-10.col-xs-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer .col-md-6,
  .footer .ce-col.col-md-4 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-3,
  .col-4,
  .contact_block .ce-col.col-md-6,
  .footer .col-2,
  .footer .col-4,
  .gallery_section .col-md-6,
  .team_row .col-md-4,
  .team_row .col-md-8,
  .teaser_block .col-md-3,
  div#c11292 .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .dropdown-toggle::after,
  .topHeader_txt,
  img.topimg {
    display: none;
  }

  ul.navbar-nav {
    margin-top: 0;
    padding: 30px 0px;
  }

  .navbar-nav li a,
  .navbar-nav ul.dropdown-menu a {
    display: block;
    text-align: center !important;
  }

  .navbar-nav li a,
  .top_nav .navbar-nav li a {
    text-align: center;
  }

  .pageSpace {
    padding: 3em 2em;
  }
   .collapse:not(.show) {
    display: none;
  }
  .scrolla {
    bottom: 330px !important;
  }
  header.FixNav {
    padding: 0
  }
  .teaserSection .left figure,
  .right figure {
    width: 772px;
  }
  .underImage {
    width: 530px;
  }
  .specificWidth .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* **********amr fix************ */
  .logo {
    margin-bottom: 33rem;
    width: 210px;
  }
  /* **********amr fix************ */
  .homeStartImage {
    height: 108vh;
  }
  .content-aboveImage {
    top: 11%;
  }
  header.FixNav .nav-shortcuts a.hiring-btn {
        display: block;
    }
  header.FixNav nav.navbar-light .col-md-2 {
    flex: 0 0 90%;
    max-width: 90%;
}
header.FixNav nav.navbar-light {
       position: absolute;
        width: 330px;
        padding: 5px 20px;
        right: 40px;
        top: 90px;
        border-radius: 40px;
      }
header.FixNav nav.navbar-light:has(.active--collapse) {
    height: 65vh;
    width: 90%;
}
.dropdown-links {
  right: 90px;
    top: 165px;
    height: 30vh;
}
.nav-img {
        width: 35%;
        z-index: 10000;
        position: absolute;
        left: 0%;
        top: 25%;
    }
  header.FixNav nav.navbar-light:has(.active--collapse) .dropdown-header .contenta .nav-dropdown-links {
    right: 90px;
    top: 140px;
    height: 25vh;
}
a.hiring-btn-mobile {
    display: none;
}
}
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .teaser-brown a.mainBtn, .teaser-grey a.mainBtn {
    width: 100%;
  }
  .teaser-brown, .teaser-grey {
    padding-top: 6em;

  }
}
@media only screen and (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {
  .nav-img {
    width: 30%;
    left: 10px;
    top: 90px;
    position: absolute;
}
.navbar-collapse{
    overflow: auto;
    height: 90vh;
}
}
@media (max-width: 767px) {
  .news-slider .owl-carousel .item {
    min-height: 485px;
    justify-content: flex-end;
  }

  .footer-data .row .btn-col {
    margin-top: unset;
  }

  .hidden-mobile.desktop {
    display: none !important;
  }
  .hidden-mobile.mobile {
    display: block !important;
  }

  .hidden-mobile.mobile .dropdown-header {
    backdrop-filter: unset;
    background-color: transparent;
    min-height: 100%;
  }
  .hidden-mobile.mobile .nav-img {
    width: 100%;
  }
  .hidden-mobile.mobile .nav-dropdown-links {
    border-top: 1px solid #c3c3c3 !important;
    border-left: unset !important;
    padding-top: 2rem !important;
    display: block ;
    position: relative !important;
    right: 0 !important;
    top: 0 !important;
  }

  .main-hero .hero-logo {
    width: 302px;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .main-hero .hero-shortcuts span,
  header.FixNav .nav-shortcuts span,
  header.FixNav .nav-shortcuts a.hiring-btn,
  .main-hero .hero-shortcuts a.hiring-btn {
    display: none;
  }

  a.hiring-btn-mobile {
    display: block;
    position: fixed;
    right: -74px;
    top: 70%;
    rotate: -90deg;
    background-color: #e8e8e8;
    padding: 6px 20px;
    border-radius: 10px 10px 0 0;
    box-shadow: -3px 3px 6px #00000029;
    color: var(--lightbrown);
    z-index: 9999;
  }
  a.hiring-btn-mobile img {
    width: 24px;
    height: 24px;
    margin-right: 5px;
  }

  .main-hero .hero-shortcuts {
    left: 52%;
    transform: translate(-50%, 0);
    width: 100%;
    display: flex;
    justify-content: center;
  }
  header.FixNav .nav-shortcuts {
    justify-content: center;
    height: 45px;
  }

  .doc-sec {
    padding: 3em 0 !important;
  }
  .doc-sec .row {
    padding: 3%;
  }
  .doc-sec .ce-container {
    max-width: 80%;
  }

  .teaser-brown .round-image figure,
  .teaser-grey .round-image figure {
    margin-bottom: 2em;
    position: unset;
  }
  .teaser-grey .row {
    flex-direction: column-reverse;
  }
  .teaser-brown,
  .teaser-grey {
    padding: 3em 0;
  }
  .teaser-brown a.mainBtn,
  .teaser-grey a.mainBtn {
    width: 100%;
  }

  .owl-nav button.owl-next {
    margin-right: -23px !important;
  }
  .owl-nav button.owl-prev {
    margin-left: -23px !important;
  }

  #instaFeed.owl-carousel.owl-drag .owl-item .item a.ima {
    height: 380px;
  }
  #instaFeed .owl-nav {
    width: 33%;
    left: 50%;
  }

  .footer-data .text-col {
    border-left: unset;
    border-right: unset;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 2em 0;
    margin: 2em 0;
  }

  .news-slider.pageSpace {
    padding: 3em 0;
  }

  .pages-grid-mobile {
    display: block;
    background-color: #e8e8e8;
  }
  .pages-grid {
    display: none;
  }

  .pages-grid-mobile a.mainBtn {
    width: 97%;
    position: relative;
    left: 50%;
    transform: translate(-50%, -21px);
  }

  .inner-first-sec figure {
    margin: 0 0 2em 0;
    position: unset;
  }

  .inner-first-sec h1 {
    word-break: break-word;
  }

  .inner-second-sec.pageSpace {
    padding: 3em 0;
  }

  .tx-videogrid .col-4 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .videoBlock {
    height: 230px;
  }
  .videoBlock a::after {
    width: 66px;
    height: 66px;
  }

  .inner-fourth-sec.pageSpace {
    margin-bottom: 28em;
  }

  .kontakt-wrapper.pageSpace {
    padding: 0 0 3em;
  }

  fieldset.powermail_fieldset
    .row
    .col-md-6.powermail_fieldwrap_uploadzeugnisse {
    margin-top: unset;
  }
  .powermail_fieldwrap.powermail_fieldwrap_type_radio .col-sm-10 .radio {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .form-container .ce-container {
    max-width: 100%;
  }

  .footer-data .lang-col {
    padding: 0;
  }

  .footer figure {
    width: 60px;
  }

  p,
  ul li {
    font-size: 18px;
    line-height: 25px;
  }

  /* .hidden-mobile {
    display: none;
  } */

  .doc-sec .img-col {
    padding: 0;
    margin-bottom: 15px;
  }

  .full-w-sec figure img {
    object-fit: cover;
  }

  .accordion-button {
    font-size: 18px;
    line-height: 28px;
  }

  .accordion-body p {
    font-size: 18px;
    line-height: 28px;
  }

  .firstSection h2 {
    margin-bottom: 0;
  }

  .powermail_fieldwrap_type_textarea {
    position: unset;
  }
  .row:has(.powermail_fieldwrap_type_check)::before {
    left: 12px;
    top: 165px;
  }
  .powermail_fieldwrap_type_radio label {
    display: block;
    padding-left: 0;
  }
  .row:has(.powermail_fieldwrap_type_check) {
    width: 100%;
    margin-left: unset !important;
    padding: 30px 12px;
  }
  header.FixNav.inner {
    z-index: 1000;
    top: 0;
  }

  fieldset.powermail_fieldset .row .col-md-6 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .powermail_fieldwrap_type_submit input {
    white-space: break-spaces;
    margin-top: 1em;
  }
  .form-control {
    border: unset;
    /* padding: 23px 12px !important; */
  }
  .col-sm-10 {
    padding: unset;
  }
  .powermail_fieldwrap_type_submit .col-sm-10 {
    max-width: 100% !important;
    margin: auto !important;
  }
  .formKontakt {
    margin-bottom: unset;
  }
  .innerFirstSection .row {
    margin-left: unset;
    margin-top: unset;
  }
  .specificInnerTOP {
    margin-top: 2rem;
  }
  .specificInnerTOP .col-md-6 {
    padding: unset;
  }
  #page-content {
    position: relative;
    /* z-index: 1; */
  }
  .teaserSection .left figure,
  .right figure {
    width: 100%;
  }
  .teaserSection .specificMarginRight,
  .teaserSection .specificMarginLeft {
    margin-right: unset;
    margin-top: 2rem;
    margin-left: unset;
  }
  .teaserSection .specificMarginLeft {
    display: flex;
    flex-direction: column-reverse;
  }
  .teaserSection .left,
  .teaserSection .right {
    padding: unset;
  }
  .specificWidth {
    padding: 2em 1em 2em 2em;
  }
  .teaserSection {
    padding: unset !important;
  }
  .tableSection h4 {
    line-height: 44px;
  }
  .tx-videogrid .col-4 {
    padding: 0 15px;
  }
  .teaserSection .spacificHeader {
    padding: 0 15px;
  }
  .secondSection .row-cols-md-2 .col p {
    display: flex;
    align-items: baseline;
    flex-direction: column;
    margin-bottom: 2rem;
  }
  .tableSection h3,
  .spacificHeader h3 {
    margin-left: unset;
  }

  .secondSection img {
    width: 105px;
    margin-right: unset;
    margin-bottom: 2rem;
  }
  .secondSection .row-cols-md-2 .col {
    -ms-flex-preferred-size: 0;
    flex-basis: unset;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
    width: 100%;
  }
  .firstSection a.mainBtn,
  .footer a.mainBtn {
    width: 100%;
  }
  .firstSection h1 {
    width: 100%;
    margin: auto;
  }
  .mobImage {
    display: block !important;
  }
  .descImage {
    display: none;
  }
  .logo {
    width: 90px;
    margin-bottom: 9rem;
  }
  .underImage {
    width: 183px;
  }
  .content-aboveImage {
    top: 8%;
  }
  /* *********amr fix*********** */
  .homeStartImage {
    height: 100vh;
  }
  .content-aboveImage h1 {
    color: #000;
  }
  .copy-r p {
    font-size: 15px;
  }
  .backy .ce-container {
    background-attachment: unset !important;
  }
  .logoImage {
    display: none;
  }
  .section2 h2 {
    font-size: 30px;
    line-height: 35px;
  }
  .navbar-nav li a {
    color: #e8e8e8;
  }
  header.FixNav.sticky {
    width: 100%;
  }
  .navbar-collapse {
    height: 100vh;
    overflow-y: scroll;
  }
  ul.navbar-nav li {
    padding: 0;
  }



  fieldset.powermail_fieldset .row {
    width: 100%;
  }

  .row:has(.powermail_fieldwrap_type_textarea) {
    position: unset;
  }

  .hero_img #c5 {
    display: none;
  }

  .pageSpace {
    padding: 2em 1em;
  }

  .footer .container {
    position: relative;
    height: auto;
    max-width: 100%;
  }

  .contact_box {
    top: 0;
    padding: 0;
  }

  .hero_img figure.image,
  .hero_img .videoBlock {
    height: 250px;
  }

  .teaser_block .ce-col.col-md-4 {
    margin-bottom: 2em;
  }

  div#c18879 figure.image img {
    object-fit: cover;
    object-position: top;
  }

  div#c18879 figure.image {
    height: 500px;
    width: 100%;
    margin: 0;
  }

  .logo_txt h1 {
    width: 90%;
    margin: 0 AUTO;
  }

  .hero_img .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
  }

  .hero_img .ce-col.col-md-6 {
    padding: 0;
  }

  .hero_img .row.align-items-end {
    flex-direction: column-reverse;
  }

  .logo_txt .ce-gallery {
    height: 264px;
  }

  h1 {
    font-size: 32px;
    line-height: 42px;
  }

  h2 {
    font-size: 28px;
    line-height: 36px;
  }

  h3 {
    font-size: 28px;
    line-height: 38px;
  }

  h4 {
    font-size: 25px;
    line-height: 35px;
  }

  h5 {
    font-size: 20px;
    line-height: 32px;
  }
  #age-content {
    position: relative;
    z-index: 1;
  }

  .img_frame figure.image {
    margin-bottom: 2em;
  }

  .top_logo a {
    width: 100%;
    display: block;
    margin: 0 auto;
    text-align: center;
  }

  .top_logo img {
    height: 65px;
    margin: 0 auto;
    display: block;
  }

  .top_logo {
    display: block;
    opacity: 1;
    float: left;
  }
  /* ************amr fix********** */
  header.FixNav {
    /* padding: 15px; */
    width: 100%;
    height: auto;
    min-width: 100%;
    /* overflow-x: clip; */
  }
  header.FixNav .col-md-3 {
    width: 100%;
  }

  .footer {
    position: relative;
    z-index: 1;
    background-attachment: inherit;
    background-size: inherit;
    padding: 3rem 0;
  }

  .footer .row {
    margin: 0;
  }
  .footer .col-md-4 .ce-textpic figure {
    width: 24px;
  }
  .footer .ce-col.col-md-4 {
    align-content: center;
  }
  .copy-r .row {
    flex-direction: column;
  }

  /* -------------------------------------- */
  .drop-content,
  .drop-content ul,
  .dropdown_c,
  .navbar-light .row.align-items-center {
    position: relative;
  }

  .dropdown_c {
    margin: 20px 0;
    background: var(--goldColor);
    width: 100%;
    border-radius: 0;
    display: inline-block;
    border: 0px solid var(--beigeColor);
    padding: 10px 0;
    color: #fff;
  }

  .drop-content ul {
    left: 0;
    top: 8px;
    display: none;
    list-style: none;
    padding: 0;
  }

  .drop-content ul a,
  .dropdown_block span {
    display: block;
    padding: 2px 8px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
  }

  .dropdown_block .selected {
    padding: 0 20px;
  }

  .dropdown_block span {
    padding: 5px 12px;
  }

  .dropdown_c .selected span {
    padding: 6px 8px;
  }

  .selected:after {
    content: "\f107";
    position: absolute;
    right: 16px;
    top: 17px;
    font-size: 20px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--beigeColor);
  }

  .dropdown_c .selected span a {
    color: var(--darkRedColor);
    text-decoration: none;
    font-weight: 400;
  }

  .dropdownIcon .selected:after {
    content: "\f106";
  }

  .nav_btns {
    display: none;
  }

  a.STEF_back-to-top {
    position: absolute;
    right: 14px;
    bottom: auto;
    top: 100%;
    margin-top: -54px;
    z-index: 999;
  }

  a.rezeption {
    padding: 20px 0;
    padding-left: 60px;
    background: #fff url(/fileadmin/user_upload/srae/online.svg) no-repeat left
      center;
    background-position-x: 42%;
    border-radius: 100px 0 0 100px;
    font-size: 0;
    box-shadow: 0 3px 6px rgb(0 0 0 / 16%);
  }

  .online {
    right: -1px;
    z-index: 99999;
  }

  .footer iframe {
    width: 100%;
    height: 265px;
  }

  .copy-r p {
    text-align: left !important;
  }

  .online {
    position: fixed;
    bottom: 60px;
    right: 0;
  }

  .navbar-nav li a {
    text-align: center;
  }

  .nav_shortcuts span {
    display: none;
  }

  .scrolla {
    bottom: 80px !important;
  }

  .FixNav .social {
    display: flex;
    flex-direction: column-reverse;
    padding-bottom: 13px;
    position: absolute;
    top: 95px;
    right: 0;
    width: auto;
    gap: 130px;
  }
  .termin {
    rotate: -90deg;
    top: 115px;
    right: -89px;
    position: relative;
  }
  .FixNav .social div {
    display: flex;
    flex-direction: row;
    position: absolute;
    top: -60px;
    left: 0;
    gap: 20px;
  }
  .FixNav .social div a {
    width: 25px;
  }

  .nav_btns .frame p {
    width: 48%;
    margin: 0 5px;
  }

  .navbar-light .row.align-items-center {
    position: relative;
    flex-direction: column-reverse;
    gap: 8px;
  }

  nav .col-md-8.col-xs-12,
  .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .copyright_block p {
    margin-bottom: 0.6em;
  }

  .txtBlock iframe {
    margin-top: 1em;
  }

  .align-items-center {
    align-items: flex-start !important;
  }

  .copyright .text-center,
  .text-right {
    text-align: left !important;
  }

  form.powermail_form.powermail_form_50 {
    padding: 0;
  }

  .col-2,
  .col-5,
  .col-6,
  .col-8,
  .col-md-2.col-xs-12,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .teaser--section .ce-col.col-md-3,
  .teaser--section .ce-col.col-md-4,
  .teaser--section .ce-col.col-md-6,
  .teaser_section .col-md-5,
  .teaser_section .col-md-7,
  nav .col-md-3.col-xs-12,
  nav .col-md-7.col-xs-12,
  nav .col-md-9.col-xs-12,
  nav.navbar-light .col-md-10.col-xs-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer .col-md-6,
  .footer .ce-col.col-md-4 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-3,
  .col-4,
  .contact_block .ce-col.col-md-6,
  .footer .col-2,
  .footer .col-4,
  .gallery_section .col-md-6,
  .team_row .col-md-4,
  .team_row .col-md-8,
  .teaser_block .col-md-3,
  div#c11292 .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .dropdown-toggle::after,
  .topHeader_txt,
  img.topimg {
    display: none;
  }

  .navbar-nav li a,
  .navbar-nav ul.dropdown-menu a {
    display: block;
    text-align: start !important;
  }

  .navbar-nav li a,
  .top_nav .navbar-nav li a {
    padding: 10px 0 ;
    text-align: center;
    margin: 0 !important;
  }
  ul.dropdown-menu {
    background: transparent !important;
    position: relative !important;
    left: 0px !important;
    top: 0px;
  }

  .nav_btns .frame p {
    margin: 6px 5px;
  }

  .inner-p {
    padding-bottom: 4em;
  }

  .downloads_Btns a.mainBtn {
    margin-bottom: 10px;
  }

  .arrows_section:before,
  .arrows_section:after {
    content: "";
    width: 38%;
    top: 15px;
  }

  nav .col-md-9 {
    position: static;
  }

  .navbar-toggler {
        position: absolute;
        right: 0px;
        top: -50px;
        z-index: 200;
    }

  .top_space {
    padding-top: 10em;
  }

  ul.dropdown-menu a {
    border: none !important;
  }
  header.FixNav nav.navbar-light:has(.active--collapse) .overlay {
    justify-content: start;
}

  footer {
    padding: 60px 15px;
  }
  .backy .ce-container {
    height: 290px;
  }

  .vedioSection .mob-vid {
    display: block;
  }
  .vedioSection .desctop-vid {
    display: none;
  }
  #partNameSpan {
    padding: 3px 40px;
  }
  .illu-txt-col a {
    width: 100%;
  }
  .main-hero .back-ground video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .dropdown.open > a i {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }
  .dropdown:not(.open) > a i {
    transform: rotate(0) !important;
    transition: transform 0.3s ease;
  }
  header.FixNav nav.navbar-light {
    top: 65px;
    right: 0px;
    left: 0;
    margin: auto;
    width: 350px;
}
header.FixNav nav.navbar-light:has(.active--collapse) {
    width: 350;
}
}
@media only screen and (max-device-width: 375px) {
  .homeStartImage {
    height: 130vh !important;
  }
}
