@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) {
  .textimg-sec figure img {
    height: 400px;
    object-fit: cover;
    object-position: 8%;
  }

  .pageSpace ul {
    padding-left: 20px;
  }

  .doc-sec figure {
    height: 400px;
  }
  .doc-sec figure img {
    object-fit: cover;
    object-position: 100%;
  }

  header.FixNav .container-fluid {
    width: 100%;
  }
  header.FixNav .col-md-2 {
    position: absolute;
    right: 0px;
    top: 15px;
    justify-content: flex-end;
  }

  /* .first-sec .ce-container {
    max-width: 85%;
  } */

  h4 {
    font-size: 30px;
    line-height: 34px;
  }

  h3 {
    font-size: 25px;
    line-height: 35px;
    margin-bottom: 1rem;
  }
  h2 {
    font-size: 35px;
    line-height: 40px;
  }
  h1 {
    font-size: 50px;
    line-height: 57px;
  }

  p,
  ul li {
    font-size: 20px;
    line-height: 26px;
  }


  .Karriere-sec figure {
    height: 400px;
  }
  .Karriere-sec figure img {
    object-fit: cover;
    object-position: 10%;
  }

  .copy-r::before {
    height: 52px;
    width: 78px;
    top: -15px;
    background-size: contain;
    left: -33px;
  }

  .copy-r .ce-container {
    max-width: 85%;
  }

  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%;
  }

  .nav-termine {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }
  /* .navbar-light .row.align-items-center {
    flex-direction: column-reverse;
    gap: 8px;
    align-items: flex-start !important;
  } */

  /* .FixNav .social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 13px;
  } */
  .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;
    max-width: 34% !important;
  }
  .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-collapse {
    box-shadow: none;
    padding: 0;
    position: absolute;
    top: -30px;
    right: -40px;
    left: 0;
    z-index: unset;
    background: transparent;
  } */
  .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;
  }

  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; */
  }
  .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 {
    padding: 15px;
    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 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .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: 200px;
  }
  .footer .col-md-4 .ce-textpic figure {
    width: 29px;
  }
  .footer .ce-col.col-md-4 {
    flex: 0 0 35%;
    max-width: 35%;
  }
  .footer .ce-col.col-md-8 {
    flex: 0 0 65%;
    max-width: 65%;
  }
  .copy-r .ce-col.col-md-4 {
    flex: 0 0 33%;
    max-width: 33%;
  }
  .copy-r .ce-col.col-md-4.company {
    flex: 0 0 34%;
    max-width: 34%;
    justify-items: center;
  }

  .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: 6em;
  }

  .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: 0 !important;
    right: 0 !important;
    top: 0 !important;
    min-width: 100%;
    box-shadow: none;
  }

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

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

  header.FixNav {
    padding: 10px 50px;
  }

  .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: 70px;
    bottom: 35px;
    margin-top: -54px;
    z-index: 999;
  }

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

  .nav_shortcuts span {
    display: none;
  }

  .scrolla {
    bottom: 120px !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: row;
    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: #fff;
    box-shadow: 0px 3px 6px #00000029;
    border-bottom: 5px solid #000000;
    top: 90px;
    z-index: 30;
    padding: 2em;
    position: absolute;
    border-radius: 0;
    width: 50%;
  } */

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

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

  /* 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%;
  }

  /* .mobile-karrier-form {
    display: block;
  }
  .desctop-karrier-form {
    display: none;
  } */
  .opacity-bg {
    padding: 1em;
  }
  .powermail_fieldwrap_type_file .col-sm-10::after {
    left: 84%;
    width: 100%;
  }
  /* .footer .row {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  } */
  .copy-r .ce-col.col-md-4,
  .copy-r {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center !important;
  }
  .ce-col.col-md-4.company {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    text-align: center !important;
  }
  a.STEF_back-to-top {
    right: 0;
    bottom: 24px;
    height: 50px;
    width: 79px;
  }
  .copy-r::before {
    height: 52.23px;
    width: 58.14px;
    top: 3px;
    background-size: contain;
    left: 5px;
  }
  .footer {
    padding: 2em 0 !important;
  }
  header.FixNav .col-md-2 {
    flex: 0 0 45%;
    max-width: 45%;
    right: 14%;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait){

  p, ul li {
      font-size: 18px;
      line-height: 25px;
  }
  h1{
      font-size: 40px;
      line-height: 48px;
  }
  h2 {
        font-size: 32px;
        line-height: 39px;
  }
  h3 {
    font-size: 21px;
    line-height: 40px;
  }

  .con-size .ce-container {
    max-width: 80%;
  }
  .first-sec{
    padding-top: 3em;
  }
  .first-sec .col-md-5 figure{
    width: 335px;
    height: 265px;
  }


  .powermail_fieldwrap_type_submit .col-sm-10{
    display: flex;
    justify-content: center;
  }
  .powermail_fieldwrap_type_submit input{
    width: 50%;
  }

  .copy-r::before {
    height: 80px;
    width: 77px;
  }

    .copy-r .row{
    flex-direction: column;
    }

/* ----------------------------------- */
.collapse:not(.show) {
    display: block;
}
  div#navbarNavDropdown {
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
  }
.navbar-light .navbar-toggler {
    border: none;
    display: none;
}

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }

  .navbar-expand-lg .navbar-nav {
      -ms-flex-direction: row;
      flex-direction: row;
  }

    .FixNav .social a span{
      display: none;
    }

    .FixNav .social .termine img{
    display: block;
  }

  .FixNav .social a{
    padding: 10px 10px;
    border-radius: 50%;
  }

  ul.navbar-nav{
    flex-wrap: unset;
  }

  header.FixNav .col-md-1 {
    display: block;
    flex: 0 0 20%;
    max-width: 20%;
}

header.FixNav .col-md-5{
  display: block;
  flex: 0 0 55%;
  max-width: 55%;
}

    .top_logo img {
        height: 80px;
    }

    .navbar-light .col-md-6 {
    flex: 0 0 20%;
    max-width: 20%;
}

header.FixNav .top_logo {
    opacity: 1;
}

.first-sec .col-md-7 figure{
    width: 705px;
    height: 518px;
}

}
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
  .powermail_fieldwrap_type_submit .col-sm-10 {
    max-width: 40% !important;
  }
  .powermail_fieldwrap_type_file .col-sm-10 {
    max-width: 58% !important;
}
  
  .powermail_fieldwrap_type_radio label {
    max-width: 25% !important;
  }
  
  .copy-r .ce-container {
        max-width: 100%;
    }
  .copy-r::before {
    height: 80px;
    width: 77px;
    top: 4px;
    background-size: contain;
    left: -5px;
    position: absolute;
  }
  .copy-r {
    padding: 1em 0;
  }
  /* .copy-r .ce-col {
    -ms-flex: 0 0 33%;
    flex: 0 0 33%;
    max-width: 33%;
} */
  
  /* .mobile-karrier-form {
    display: none;
  }
  .desctop-karrier-form {
    display: block;
  } */
  header.FixNav .container-fluid {
    width: 100%;
  }
  .powermail_fieldwrap_type_file .col-sm-10::after {
    left: 75%;
    top: 50%;
    width: 100%;
  }
  .powermail_fieldwrap_type_file label {
    max-width: 41% !important;
  }
  fieldset.powermail_fieldset .row .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 10px;
  }

  .doc-sec .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  header.FixNav .col-md-2 {
    position: absolute;
    right: 10%;
    top: 19px;
    flex: 0 0 33%;
    max-width: 33%;
  }

  /* .first-sec .ce-container {
    max-width: 85%;
  } */

  /* .collapse:not(.show) {
    display: none !important;
  } */
  .homeStartImage {
    height: 130vh;
  }
  .underImage {
    width: 530px;
  }
  header.FixNav {
    padding: 13px 45px;
    width: 100%;
  }
  .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;
  }
  .scrolla {
    bottom: 270px !important;
  }
  .specificWidth .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* .navbar-collapse {
    top: 104px;
  } */
  .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;
  }
  .opacity-bg {
    padding: 1em;
  }
  .navbar-expand-lg .navbar-toggler {
    display: block;
  }


  /* ----------------------------------- */
.collapse:not(.show) {
    display: block;
}
  div#navbarNavDropdown {
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
  }
.navbar-light .navbar-toggler {
    border: none;
    display: none;
}

  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }

  .navbar-expand-lg .navbar-nav {
      -ms-flex-direction: row;
      flex-direction: row;
  }

    .FixNav .social a span{
      display: none;
    }

    .FixNav .social .termine img{
    display: block;
  }

  .FixNav .social a{
    padding: 10px 10px;
    border-radius: 50%;
  }

  ul.navbar-nav{
    flex-wrap: unset;
  }

  header.FixNav .col-md-1 {
    display: block;
    flex: 0 0 20%;
    max-width: 20%;
}

  header.FixNav .col-md-5{
    display: block;
    flex: 0 0 55%;
    max-width: 55%;
  }

      .top_logo img {
          height: 80px;
      }

      .navbar-light .col-md-6 {
      flex: 0 0 20%;
      max-width: 20%;
  }

  header.FixNav .top_logo {
      opacity: 1;
  }

    /* -------------------------------- */

    .FixNav .social .termine img {
      display: none;
  }


  header.FixNav .col-md-1 {
    display: none;
}

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

      header.FixNav .col-md-5 {
      display: block;
      flex: 0 0 41.666667%;
        max-width: 41.666667%;
  }
    .FixNav .social a.termine {
      padding: 12px 23px;
      border-radius: 28px;
  }

    .FixNav .social a.termine span {
      display: block;
  }

    header.FixNav.sticky .navbar-light .col-md-6 {
         flex: 0 0 20%;
        max-width: 20%;
    }

        .FixNav.sticky .social a {
        padding: 10px 10px;
        border-radius: 50%;
    }

      .FixNav.sticky .social .termine img {
        display: block;
    }

        .FixNav.sticky .social a span {
        display: none;
    }
/* ****************************************** */
    .first-sec .col-md-5{
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    .first-sec .col-md-7{
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    fieldset.powermail_fieldset .row .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

  .copy-r .row {
      flex-direction: row;
  }

    .copy-r .col-md-3,
    .copy-r .col-md-6{
      flex: 0 0 50%;
      max-width: 50%;
    }

    .copy-r .col-md-3.cr-links{
      flex: 0 0 33%;
      max-width: 33%;
    }

    .container, .ce-container {
      max-width: 80%;
      margin: auto;
  }

  .con-size .ce-container {
      max-width: 80%;
  }

      .first-sec .col-md-7 figure {
        width: 571px;
        height: 404px;
    }

}
@media only screen and (min-width: 1024px) and (max-height: 1366px) and (orientation: portrait) and (orientation: portrait) and (-webkit-min-device-pixel-ratio: 1.5) {
  .doc-sec .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .links {
    position: absolute;
    right: 100px;
    top: -14px;
  }
  .copy-r p {
    font-size: 14px;
  }
  .top_space {
    padding-top: 6em;
  }

  .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: 0 !important;
    right: 0 !important;
    top: 0 !important;
    min-width: 100%;
    box-shadow: none;
  }

  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 {
    padding: 15px;
    text-align: center;
  }

  .pageSpace {
    padding: 3em 2em;
  }
}
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {
  /* .collapse:not(.show) {
    display: none;
  } */

  .scrolla {
    bottom: 330px !important;
  }
  header.FixNav {
    padding: 15px;
    width: 100%;
    padding: 15px 2em !important;
  }
  .teaserSection .left figure,
  .right figure {
    width: 772px;
  }
  .underImage {
    width: 530px;
  }
  .specificWidth .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  /* .navbar-collapse {
    top: 96px;
  } */
  /* **********amr fix************ */
  .logo {
    margin-bottom: 33rem;
    width: 210px;
  }
  header.FixNav.sticky {
    width: 100%;
  }
  /* **********amr fix************ */
  .homeStartImage {
    height: 108vh;
  }
  .content-aboveImage {
    top: 11%;
  }
  .doc-sec .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .opacity-bg {
    padding: 1em;
  }

  /* -------------------------------- */

    .FixNav .social .termine img {
      display: none;
  }


  header.FixNav .col-md-1 {
    display: none;
}

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

      header.FixNav .col-md-5 {
      display: block;
      flex: 0 0 41.666667%;
        max-width: 41.666667%;
  }
    .FixNav .social a.termine {
      padding: 12px 23px;
      border-radius: 28px;
  }

    .FixNav .social a.termine span {
      display: block;
  }

    header.FixNav.sticky .navbar-light .col-md-6 {
         flex: 0 0 20%;
        max-width: 20%;
    }

        .FixNav.sticky .social a {
        padding: 10px 10px;
        border-radius: 50%;
    }

      .FixNav.sticky .social .termine img {
        display: block;
    }

        .FixNav.sticky .social a span {
        display: none;
    }

    /* ************************* */

        .first-sec .col-md-5{
        flex: 0 0 41.666667%;
        max-width: 41.666667%;
    }
    .first-sec .col-md-7{
        flex: 0 0 58.333333%;
        max-width: 58.333333%;
    }

    fieldset.powermail_fieldset .row .col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

        .copy-r .row {
        flex-direction: row;
    }
        .first-sec .col-md-7 figure {
        width: 571px;
        height: 404px;
    }
}

@media (max-width: 767px) {
  .pageSpace ul {
    padding-left: 20px;
  }
  
  .powermail_fieldwrap_type_file .col-sm-10::after {
    font-size: 15px;
    white-space: nowrap;
  }
  fieldset .row .powermail_file {
    width: 90%;
    margin-left: 26px;
  }
  .accordion-item {
    padding: 12px 0;
  }
 
  /* .first-sec p:not(:first-child) {
    margin: 0;
  } */

  .textimg-sec figure img {
    height: 400px;
    object-fit: cover;
    object-position: 18%;
  }
  .textimg-sec h3 {
    position: unset;
    transform: unset;
    margin: 0;
  }
  .powermail_fieldwrap_type_file label {
    padding-left: 0;
  }
  /* .mobile-karrier-form {
    display: block;
  }
  .desctop-karrier-form {
    display: none;
  } */

  /* .first-sec .ce-container {
    max-width: 85%;
  } */
  .powermail_fieldwrap_type_file .col-sm-10 {
    margin-left: 20px;
  }
  p,
  ul li {
    font-size: 18px;
    line-height: 24px;
  }

  /* .Karriere-sec figure,
  .doc-sec figure {
    height: 400px;
  } */
  .doc-sec figure img {
    object-fit: cover;
    object-position: 65%;
  }

  .kontackt-section h3,
  .footer h3 {
    margin-bottom: 1rem;
  }
  .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 {
    max-width: 100% !important;
    display: block;
    padding-left: 3px;
    display: flex !important;
    margin: 10px;
    gap: 21px;
  }
  .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%;
    padding: 0;
  }
  .powermail_fieldwrap_type_submit input {
    white-space: break-spaces;
    /* margin-top: 1em; */
  }
  .powermail_fieldwrap_type_radio {
    flex-direction: column;
  }
  .powermail_fieldwrap_type_radio .col-sm-10 {
    max-width: 100% !important;
    flex-direction: column;
    gap: 0;
  }
  .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: #565655;
  }
  header.FixNav.sticky {
    width: 100%;
  }
  .navbar-collapse {
    background: #fff;
    box-shadow: 0px 3px 6px #00000029;
    right: 0;
    top: 95px;
    left: 0;
    z-index: 30;
    padding: 0 1em;
    position: absolute;
    border-radius: 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: 30px;
    line-height: 36px;
  }

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

  h3 {
    font-size: 21px;
    line-height: 33px;
  }

  h4 {
    font-size: 30px;
    line-height: 34px;
  }
  #age-content {
    position: relative;
    z-index: 1;
  }

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

  .top_logo a {
    width: 100%;
    display: block;
    margin: 0 auto;
  }

  .top_logo img {
    height: 88px;
    /* margin: 0 auto; */
    display: block;
    width: 84px;
  }

  .top_logo {
    display: block;
    opacity: 1;
  }

  header.FixNav .col-md-4 {
    display: flex;
    justify-content: flex-start;
  }
  /* ************amr fix********** */
  header.FixNav {
    padding: 15px 15px;
    width: 100%;
    height: auto;
    min-width: 100%;
  }
  header.FixNav .col-md-3 {
    width: 100%;
  }

  .footer {
    position: relative;
    z-index: 1;
    background-attachment: inherit;
    background-size: inherit;
    padding: 2em 0 4em !important;
  }

  .copy-r .ce-container {
    max-width: 88%;
    margin-left: auto;
  }

  .copy-r::before {
    height: 77px;
    width: 80px;
    top: 0;
    background-size: contain;
    left: 50%;
    transform: translate(-50%, 0);
    position: absolute;
  }

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

  .footer:before {
    height: 74%;
  }

  /* -------------------------------------- */
  .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 {
    left: unset;
    bottom: 90px;
    margin-top: -54px;
    z-index: 999;
    width: 47px;
    right: 0;
  }

  a.rezeption {
    padding: 20px 0;
    padding-left: 60px;
    background: #fff url(/fileadmin/user_upload/pala/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%);
  }



  .footer iframe {
    width: 100%;
    margin-top: 20px;
    height: 259px;
  }

  .copy-r p {
    text-align: center;
  }

  .copy-r{
    padding: 5em 0 10px 0;
  }

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

  .nav_shortcuts span {
    display: none;
  }

  .scrolla {
    bottom: 130px !important;
  }

  /* .FixNav .social {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    box-shadow: 0px 3px 6px var(--shadowcolor);
    height: 58px;
    top: -16px;
    border-bottom: 1px solid #F4F1F1;
    width: 80%;
    margin: auto;
  } */

  header.FixNav .container-fluid {
    width: 100%;
  }

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

  .navbar-light .row.align-items-center {
    position: relative;
    /* flex-direction: column-reverse; */
  }

  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;
  }

  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 {
    padding: 15px;
    text-align: center;
  }

  .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: 12px;
    top: 25px;
    z-index: 200;
  }

  .top_space {
    padding-top: 3em;
  }

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

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

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

  .vedioSection .mob-vid {
    display: block;
  }
  .vedioSection .desctop-vid {
    display: none;
  }
  .nav-termine .termine {
    margin-bottom: 20px;
  }

  .FixNav .social a span{
    display: none;
  }

  .FixNav .social .termine img{
  display: block;
}

header.FixNav .col-md-1 {
    display: block;
    width: 35%;
}

.FixNav .social a{
  padding: 10px 10px;
  border-radius: 50%;
}
header.FixNav .top_logo {
    opacity: 1;
    width: 100%;
    margin-bottom: 15px;
}

header.FixNav .col-md-5 {
  position: absolute;
}

.FixNav .social{
    flex: 0 0 55%;
    max-width: 55%;
    margin: auto;
    justify-content: flex-start;
    margin-left: 0;
}

/* .navbar-light .col-md-6{
  justify-content: start;
} */
.first-sec .col-md-5 figure{
  width: 298px;
    height: 237px;
}

/* .first-sec{
  padding-top: 2em;
} */

.con-size .ce-container{
  max-width: 90%;
}

.blue-bg h3 {
  padding: 16px 0;
}
.video video, video{
  height: auto;
}

.first-sec .col-md-7 figure{
  width: 375px;
    height: 265px;
    /* position: relative;
    left: 50%;
    bottom: -48px;
    transform: translate(-50%, 0); */
}
.first-sec .col-md-7 img{
  object-fit: contain;
}
.copy-r .ce-container{
  margin: auto;
}

.navbar-nav li a.active_nav::after, 
.navbar-nav li a:hover::after{
  bottom: 5px;
}

.header-wrapper > .ce-container{
    height: calc(100vh - 115px);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
}

.header-wrapper .ce-container > div {
    display: flex;
    flex-direction: column;
    flex: 1;
} 
.header-wrapper .first-sec{
    display: flex;
    flex-direction: column;
    flex: 1;
}

.header-wrapper .first-sec > .ce-container{
    display: flex;
    flex-direction: column;
    flex: 1;
}
.header-wrapper .ce-container > div:has(.blue-bg) {
    flex: 0;     
    height: auto;
}

.first-sec .col-md-5 {
  margin-top: auto;
}
.first-sec .col-md-7{
      display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
}

  .header-wrapper .ce-container .row{
    flex-direction: row;
  }
}
@media only screen and (max-device-width: 375px) {
  .homeStartImage {
    height: 130vh !important;
  }
}
