@media only screen and (min-width: 1280px) and (max-width: 1600px) {
  .text-gute-col .frame-type-text {
    width: 330px !important;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1500px) {
  .reviews-sec .row .slider-col .owl-carousel.owl-drag .owl-item {
    padding: 0 100px;
  }

  .reviews-sec .row .img-col figure img {
    height: 70vh;
  }
  
  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .navbar-nav li a i:before {
    top: 41%;
    right: 63px;
    width: 19px;
    height: 10px;
    transform: rotate(270deg);
  }
  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/siwe/icons/siwe_arrow_down_.svg);
  }

  .navbar-nav ul.dropdown-menu a {
    font-family: "dinosaur", sans-serif;
  }

  .collapse:not(.show) {
    display: none !important;
  }
  .navbar-collapse {
    position: absolute;
    background: #EEEDED;
    box-shadow: none;
    top: 0;
    left: 0;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
    justify-content: center;
    padding-left: 0;
    z-index: 3;
  }
   .navbar-collapse:before {
    content: "";
    background-image: url(/fileadmin/user_upload/SIWE/icons/siwe_icon_heart_zahn_01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 246px;
    height: 246px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
   }

  .FixNav li.dropdown ul {
    display: none !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 60%;
    right: 0;
    left: unset !important;
    top: 55% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow-y: scroll;
  }

  .FixNav li.dropdown:hover ul,
  .FixNav li.dropdown ul.show {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 60%;
    right: 0;
    left: unset !important;
    top: 55% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow-y: scroll;
  }
  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

  button.navbar-toggler {
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 33px;
  }
  button.navbar-toggler {
    display: block !important;
  }

  .FixNav .short-cuts {
    position: relative;
    left: 95px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .FixNav .col-md-5 {
    -ms-flex: 0 0 0;
    flex: 0 0 0;
    max-width: 0;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav li a {
    font-family: "dinosaur", sans-serif;
    text-align: center;
    color: #2A788A;
    font-size: 26px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    padding: 15px 12px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    outline: none;
  }

  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover,
  .navbar-nav li a:hover {
    color: #E9D0B7;
  }

  .topLogo {
    display: block;
    width: 307.77px;
    padding: 15px 0;
  }

  .col-12.col-sm-6.col-md-6.col-lg-6.col-xl-4.custom-w {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
  }

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 15px;
  }

  
}

/* ----------- iPad ----------- */
@media only screen and (min-width: 768px) and (max-width: 1200px) and (orientation: landscape) {
  .reviews-sec .row .img-col {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
  }
  .reviews-sec .row .slider-col {
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
  }
  .reviews-sec .row,
  .reviews-sec .row .img-col figure {
    height: 70vh;
  }

  .w-60.team-members .container {
    max-width: 85%;
}
}
@media only screen and (min-width: 768px) and (max-width: 1200px) {
   .gute-sec .container {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    padding-top: 40px !important;
    padding-bottom: 80px !important;
  }

  /* Stack layout: image on top, text below */
  .img-gute-col {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 280px !important;
    height: 280px !important;
    grid-template-columns: 130px 130px !important;
    grid-template-rows: 130px 130px !important;
    gap: 10px !important;
    margin: 0 auto !important;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .img-gute-col .frame-type-image,
  .img-gute-col .ce-image,
  .img-gute-col .ce-gallery,
  .img-gute-col .ce-outer,
  .img-gute-col .ce-inner {
    width: 130px !important;
    height: 130px !important;
  }

  /* Text col: static, centered below image */
  .text-gute-col {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* All text frames stacked, hidden */
  .text-gute-col .frame-type-text.active {
    position: absolute !important;
    text-align: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Active text visible */
  .text-gute-col .frame-type-text.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
.gute-nav { 
  display: flex;
 }
.gute-sec .row {
    position: static !important;
    display: flex !important;
    margin: 0 !important;
    flex-direction: column-reverse;
    gap: 25px;
}
  
  
  .footer .desc-col,
      .footer .map-col{
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    .nav_btns_desk,
  .nav_btns_sticky.sticky {
    display: none;
  }

  .nav_btnsMobile {
    display: block;
  }
  .nav_btnsMobile .accordion-item {
    border: 1px solid #2A788A;
    border-radius: 40px;
    padding: 20px;
    margin: 0;
  }
  .nav_btnsMobile .accordion-header, .nav_btnsMobile .accordion-item button {
    margin: 0;
    font-size: 18px;
  }
  .nav_btnsMobile .accordion-body a {
    text-decoration: none;
    color: #2A788A;
  }
  .nav_btnsMobile.sticky {
    position: fixed;
    top: 95px;
    left: 0;
    right: 0;
    background-color: #EEEDED;
    padding: 2rem 0;
    z-index: 9;
  }

  h1 {
    font-family: "dinosaur", sans-serif;
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 2rem;
  }

  h2 {
    font-family: "dinosaur", sans-serif;
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 2rem;
  }

  h3 {
    font-family: "dinosaur", sans-serif;
    font-size: 24px;
    line-height: 32px;
  }

  h4 {
    font-family: "dinosaur", sans-serif;
    font-size: 18px;
    line-height: 24px;
  }

  p,
  ul li,
  .table td,
  .table th {
    font-size: 16px;
    line-height: 22px;
  }

}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .gute-sec .container {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    padding-top: 40px !important;
    padding-bottom: 80px !important;
  }

  /* Stack layout: image on top, text below */
  .img-gute-col {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 280px !important;
    height: 280px !important;
    grid-template-columns: 130px 130px !important;
    grid-template-rows: 130px 130px !important;
    gap: 10px !important;
    margin: 0 auto !important;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .img-gute-col .frame-type-image,
  .img-gute-col .ce-image,
  .img-gute-col .ce-gallery,
  .img-gute-col .ce-outer,
  .img-gute-col .ce-inner {
    width: 130px !important;
    height: 130px !important;
  }

  /* Text col: static, centered below image */
  .text-gute-col {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* All text frames stacked, hidden */
  .text-gute-col .frame-type-text.active {
    position: absolute !important;
    text-align: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Active text visible */
  .text-gute-col .frame-type-text.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
.gute-nav { 
  display: flex;
 }
.gute-sec .row {
    position: static !important;
    display: flex !important;
    margin: 0 !important;
    flex-direction: column-reverse;
    gap: 25px;
}


  .nav_btns_desk,
  .nav_btns_sticky.sticky {
    display: none;
  }

  .nav_btnsMobile {
    display: block;
  }
  .nav_btnsMobile .accordion-item {
    border: 1px solid #2A788A;
    border-radius: 40px;
    padding: 20px;
    margin: 0;
  }
  .nav_btnsMobile .accordion-header, .nav_btnsMobile .accordion-item button {
    margin: 0;
    font-size: 18px;
  }
  .nav_btnsMobile .accordion-body a {
    text-decoration: none;
    color: #2A788A;
  }
  .nav_btnsMobile.sticky {
    position: fixed;
    top: 95px;
    left: 0;
    right: 0;
    background-color: #EEEDED;
    padding: 2rem 0;
    z-index: 9;
  }
  
  .modal.show .modal-dialog {
    transform: translate(0%, 10%) !important;
  }
  h1 {
    font-family: "dinosaur", sans-serif;
    font-size: 40px;
    line-height: 56px;
    margin-bottom: 2rem;
  }

  h2 {
    font-family: "dinosaur", sans-serif;
    font-size: 28px;
    line-height: 38px;
    margin-bottom: 2rem;
  }

  h3 {
    font-family: "dinosaur", sans-serif;
    font-size: 24px;
    line-height: 32px;
  }

  h4 {
    font-family: "dinosaur", sans-serif;
    font-size: 18px;
    line-height: 24px;
  }

  p,
  ul li,
  .table td,
  .table th {
    font-size: 16px;
    line-height: 22px;
  }

  a.mainBtn {
    font-size: 16px;
    line-height: 22px;
  }

  .footer {
    padding: 2em 0 1em;
  }
  .footer::before {
    width: 94.63px;
    height: 94.63px;
    top: -46px;
  }

  .acc-sec.w-60 .container {
    max-width: 100%;
  }
  .w-60 .container {
    max-width: 75%;
  }

  .team-sec .col-md-6.left-col {
    margin-bottom: 12em;
  }
  .team-sec .row:has(.right-col:hover) .right-col,
  .team-sec .row:has(.right-col:hover) .left-col,
  .team-sec .row:has(.left-col:hover) .left-col,
  .team-sec .row:has(.left-col:hover) .right-col,
  .team-sec .col-md-6.right-col,
  .team-sec .col-md-6.left-col {
  -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.team-sec .row:has(.right-col:hover) .right-col .frame-type-text,
.team-sec .row:has(.right-col:hover) .left-col .frame-type-text,
.team-sec .row:has(.left-col:hover) .left-col .frame-type-text,
.team-sec .row:has(.left-col:hover) .right-col .frame-type-text,
.team-sec .right-col .frame-type-text,
.team-sec .left-col .frame-type-text {
    opacity: 1;
}


.kontakt-first .container {
  max-width: 82%;
}

}

/*iPad in landscape*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .header-sec .frame-type-text {
    width: 589px;
    padding: 4em;
  }

  .img-sec .frame-type-text {
    width: 40%;
  }

  .reviews-sec .row .img-col {
    -ms-flex: 0 0 30%;
    flex: 0 0 30%;
    max-width: 30%;
  }
  .reviews-sec .row .slider-col {
    -ms-flex: 0 0 70%;
    flex: 0 0 70%;
    max-width: 70%;
  }
  .reviews-sec .row,
  .reviews-sec .row .img-col figure {
    height: 70vh;
  }

  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .navbar-nav li a i:before {
    top: 41%;
    right: -8px;
    width: 19px;
    height: 10px;
    transform: rotate(270deg);
  }
  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/siwe/icons/siwe_arrow_down_.svg);
  }

  .collapse:not(.show) {
    display: none !important;
  }
  .navbar-collapse {
    position: absolute;
    background: #EEEDED;
    box-shadow: none;
    top: 0;
    left: 0;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
    justify-content: center;
    padding-left: 0;
    z-index: 3;
  }
   .navbar-collapse:before {
    content: "";
    background-image: url(/fileadmin/user_upload/SIWE/icons/siwe_icon_heart_zahn_01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 246px;
    height: 246px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
   }

  .FixNav li.dropdown ul.show {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 50%;
    right: 0;
    left: unset !important;
    top: 55% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow: scroll;
  }
  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

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

  button.navbar-toggler {
    margin-top: 0;
    position: absolute;
    right: 10px;
    top: 38px;
  }
  button.navbar-toggler {
    display: block !important;
  }

  .FixNav .short-cuts {
    position: relative;
    left: 95px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .FixNav .col-md-5 {
    -ms-flex: 0 0 0;
    flex: 0 0 0;
    max-width: 0;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  .navbar-nav li a {
    font-family: "dinosaur", sans-serif;
    text-align: center;
    color: #2A788A;
    font-size: 26px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    padding: 15px 12px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    outline: none;
  }

  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover,
  .navbar-nav li a:hover {
    color: #E9D0B7;
  }

  .topLogo {
    display: block;
    width: 307.77px;
    padding: 15px 0;
  }

  .col-12.col-sm-6.col-md-6.col-lg-6.col-xl-4.custom-w {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
  }

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 15px;
  }

  .footer .map-col .frame-type-html {
    margin-right: -8%;
}
  .footer .map-col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer iframe {
    height: 354px;
  }
  .footer .desc-col {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer .ce-textpic {
    margin: 2em 0 3em;
  }
  .footer .ce-textpic .ce-bodytext {
    width: 100%;
  }


  .copy-r p,
  .copy-r a {
    font-size: 12px;
    line-height: 18px;
  }

  .form-element-fileupload input::after {
    width: 60%;
  }

  .inner-first {
    padding: 10em 0 0;
    margin-bottom: 10em;
  }
  .inner-first .col-md-6.txt-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  .inner-first .col-md-6.img-col {
    position: relative;
    margin-left: 50%;
    margin-bottom: -10em;
    margin-top: 2em;
  }
  .inner-first .col-md-6.img-col img {
    height: auto;
  }

  .termine-sec.light-grey .col-md-6.txt-col,
  .termine-sec.beige .col-md-6.txt-col,
  .termine-sec.dark-grey .col-md-6.txt-col {
    padding: 25px 3em;
  }

  .inner-start-padding {
    padding-top: 10em;
  }
  .pageSpace.first-sec {
    padding: 3em 0;
  }
 

  .navbar-nav ul.dropdown-menu a {
    font-family: "dinosaur", sans-serif;
  }
}

/*iPad in portrait*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .inner-start-img {
  margin-top: 7.5em;
}
  
  .gute-nav {
    justify-content: space-between;
  }
  .gute-sec .container {
    min-height: 580px !important;
  }
  .gute-sec {
    min-height: auto;
  }

  .w-60 .container {
    max-width: 82%;
  }
  .first-sec .ce-textpic .ce-gallery figure {
    width: 132px;
    height: auto;
  }

  .team-sec .right-col .frame-type-text {
    padding: 25px 125px 25px 75px;
  }

  .footer .desc-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    justify-items: center;
  }
  .footer .map-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .reviews-sec .row .slider-col .owl-carousel.owl-drag .owl-item {
    padding: 0 80px;
  }

  .img-sec .frame-type-image:nth-of-type(1) {
    display: none;
  }
  .img-sec .frame-type-image:nth-of-type(2) {
    display: block;
  }
  .img-sec .frame-type-image img.image-embed-item {
    height: 100vh;
    object-position: bottom;
  }
  .img-sec .frame-type-text {
    width: 80%;
    position: absolute;
    top: 10%;
    transform: translate(-50%, 0);
    left: 50%;
    z-index: 1;
    text-align: center;
  }

  .nav_btnsMobile.sticky {
    top: 130px;
  }

  .header-sec .frame-type-image:nth-of-type(1) {
    display: none;
  }
  .header-sec .frame-type-image:nth-of-type(2) {
    display: block;
  }

  .header-sec .frame-type-text {
    padding: 4em;
    width: 687px;
    top: 7%;
  }
  .header-sec figure {
    margin: 0 0 1rem;
    height: 88vh;
    position: relative;
}
  .header-sec .frame-type-image img {
    height: 42vh;
    bottom: 0;
    position: absolute;
    object-position: 0 66%;
}

  .reviews-sec .slider-col {
    padding-bottom: 2em;
    min-height: 50vh;
  }

  
  .navbar-nav li a:hover i:before {
    transform: rotate(90deg);
    top: 43%;
  }
  .navbar-nav li a i:before {
    top: 41%;
    right: -8px;
    width: 19px;
    height: 10px;
    transform: rotate(270deg);
  }
  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/siwe/icons/siwe_arrow_down_.svg);
  }

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

  .navbar-nav ul.dropdown-menu a {
    font-family: "dinosaur", sans-serif;
  }

 .Leistungen-right .text-col,
 .Leistungen-left .text-col {
  margin-top: 2rem;
 }

  .pageSpace.first-sec {
    padding: 4em 0;
  }

  

  .owl-container .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: 0;
  }

  .owl-container .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: 0;
  }



  .footer .desc-col .col-md-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer iframe {
    height: 250px;
  }

  .footer .ce-textpic {
    margin: 1em 0;
  }

  .copy-r {
    width: 100%;
    margin-top: 1em;
  }

  .inner-first {
    padding: 12em 0 0;
    margin-bottom: 10em;
  }
  .inner-first .col-md-6.txt-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  .inner-first .col-md-6.img-col {
    position: relative;
    margin-left: 20%;
    margin-bottom: -10em;
    margin-top: 2em;
    -ms-flex: 0 0 80%;
    flex: 0 0 80%;
    max-width: 80%;
  }
  .inner-first .col-md-6.img-col img {
    height: auto;
  }

  .benefits-sec h2 {
    width: 85%;
  }

  .end-padding,
  .termine-sec {
    padding-bottom: 6em;
  }

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

  .termine-sec .container {
    max-width: 60%;
  }
  .termine-sec.light-grey .col-md-6.txt-col,
  .termine-sec.beige .col-md-6.txt-col,
  .termine-sec.dark-grey .col-md-6.txt-col {
    padding: 3em;
  }
  .termine-sec .col-md-6.img-col {
    padding-right: 0;
    padding-left: 0;
  }

  .navbar-collapse {
    position: absolute;
    background: #EEEDED;
    box-shadow: none;
    top: 0;
    left: 0;
    width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    height: 100vh;
    justify-content: center;
    padding-left: 0;
    z-index: 3;
  }
   .navbar-collapse:before {
    content: "";
    background-image: url(/fileadmin/user_upload/SIWE/icons/siwe_icon_heart_zahn_01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 246px;
    height: 246px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
   }

  .FixNav li.dropdown:hover ul,
  .FixNav li.dropdown ul.show {
    position: absolute;
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    width: 50%;
    right: 0;
    left: unset !important;
    top: 55% !important;
    transform: translate(0, -50%) !important;
    max-height: 75%;
    overflow: scroll;
    padding: 1em;
  }
  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

  nav .row.align-items-center {
    display: flex;
    flex-direction: column-reverse;
  }

  nav .col-md-4.col-xs-12,
  nav .col-md-3.col-xs-12,
  nav .col-md-9.col-xs-12,
  nav .col-md-7.col-xs-12 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
  }
  header.FixNav .container-fluid {
    width: 93%;
    margin: auto;
}

.navbar-nav {
  align-items: center;
    padding-top: 12em;
}

   .navbar-nav li a {
    font-family: "dinosaur", sans-serif;
    text-align: center;
    color: #2A788A;
    font-size: 26px;
    font-weight: 300;
    line-height: 35px;
    text-transform: uppercase;
    padding: 15px 12px;
    text-decoration: none;
    display: inline-block;
    position: relative;
    outline: none;
  }

  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover,
  .navbar-nav li a:hover {
    color: #E9D0B7;
  }

  button.navbar-toggler {
    margin-top: 0;
    position: absolute;
    right: 0;
    top: 93px;
  }

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 15px;
  }

  .tx-videogrid .col-4 {
    margin-bottom: 35px;
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .topLogo {
    display: block;
    width: 277.08px;
    padding: 10px 0 10px 13px;
  }

  .short-cuts {
    margin-top: 1rem;
  }
  .shortCuts {
    display: flex !important;
    justify-content: space-between;
  }
  .shortCuts a {
    width: 48%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  iframe {
    margin-bottom: 0;
  }

  .scrolla {
    bottom: 10%;
  }

  .copyright a {
    margin-left: 0;
    margin-right: 15px;
  }

  /* .navbar-collapse {
    position: absolute;
    width: 100%;
    background: #fff;
    box-shadow: 0px 3px 6px #00000029;
    overflow-x: scroll;
    height: 35vh;
    top: 83px;
    opacity: 0.9;
} */

  .footer .col-4:first-child {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-4.pt-5 {
    padding-right: 0px;
    padding-left: 30px;
  }

  .dropdown-toggle::after {
    display: none;
  }

  .col-8,
  .col-md-6,
  .col-6,
  .col-5,
  .col-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-3,
  .footer .col-4,
  .footer .col-2,
  .ipadRow .col-6,
  .col-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .footer .col-5 {
    -ms-flex: 0 0 41.666667%;
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }

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

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
  
}

/* Portrait */
@media only screen and (min-width: 1025px) and (max-height: 1366px) and (orientation: portrait) and (-webkit-min-pixel-ratio: 1.5) {
  .col-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: block !important;
    float: right;
    margin-left: 13px;
    margin-top: 4px;
  }

  nav ul.dropdown-menu {
    position: ABSOLUTE !important;
    left: 0;
    top: 100% !important;
    margin-top: 0px;
    width: 100%;
    background: #fff;
    border: 0px solid #fff;
    border-radius: 0;
    padding-top: 1em;
    padding-bottom: 3em;
    z-index: 100;
    min-width: 375px !important;
    box-shadow: 0px 2px 4px rgb(126 126 126 / 50%) !important;
  }

  li.dropdown {
    position: relative;
  }

  nav.navbar-light .col-md-7.col-xs-12 {
    position: static;
    border-top: 1px solid #979797;
  }

  .shortCuts.d-none.d-sm-block {
    margin-right: 11px;
    top: 28%;
  }

  .navbar-nav li a {
    padding: 20px 27px;
  }

  .navbar-collapse {
    height: auto;
    top: 0;
    overflow-x: visible;
  }

  .videoBlock.stndalone img {
    width: 100%;
    height: 100%;
  }

  .teaser .container-fluid {
    padding: 0 3%;
  }

  .teaser .ce-textpic.ce-center.ce-above {
    min-height: 550px;
  }
}

/* Landscape */
@media only screen and (min-width: 1024px) and (max-width: 1367px) and (orientation: landscape) {
  
}

/* ------------------------------------- */
@media (max-width: 320px) {
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
}

/* Small devices (landscape phones, less than 768px) */
@media (min-width: 1001px) and (max-width: 1280px) {
}

@media (min-width: 776px) and (max-height: 991px) {
}

@media (max-width: 991.98px) {
}

@media (min-width: 767px) and (max-width: 991.98px) {
}

@media (min-width: 500px) and (max-width: 766px) {
}

@media (max-width: 766px) {
.first-sec.team-members .ce-textpic {
  align-items: flex-start;
}
.first-sec.team-members .col-md-4 {
  justify-items: center;
}
.first-sec.team-members .ce-textpic .ce-gallery figure {
  width: 246px;
}

  .w-95 .container {
    max-width: 90%;
}

.header-sec .frame-type-text a.teaserBtn {
  margin-top: 0;
}

.header-sec .frame-type-image img {
      height: 42vh;
    bottom: 0;
    position: absolute;
    object-position: 0 75%;
}
.header-sec figure {
      height: 88vh;
    position: relative;
}
  
  
  .img-sec .frame-type-image:nth-of-type(1) {
    display: none;
  }
  .img-sec .frame-type-image:nth-of-type(2) {
    display: block;
  }
  .img-sec .frame-type-image img.image-embed-item {
    height: 80vh;
  }
  .img-sec .frame-type-text {
    width: 80%;
    position: absolute;
    top: 10%;
    transform: translate(-50%, 0);
    left: 50%;
    z-index: 1;
    text-align: center;
  }

  .header-sec .frame-type-text {
    padding: 3em 1em 3em 4em;
        top: 7%;
    width: 363px;
  }

  .header-sec .frame-type-image:nth-of-type(1) {
    display: none;
  }
  .header-sec .frame-type-image:nth-of-type(2) {
    display: block;
  }

  .first-sec .ce-textpic {
    flex-direction: column;
    align-items: center;
  }
  .first-sec .ce-textpic .ce-gallery figure {
    width: 93px;
  }

  .team-sec .ce-gallery figure {
    height: 235px;
  }
  .team-sec .left-col .frame-type-text,
  .team-sec .right-col .frame-type-text {
    bottom: -175px;
  }
  .team-sec .col-md-6.left-col{
    margin-bottom: 12em;
  }
  .team-sec .col-md-6.right-col {
    margin-bottom: 10em;
  }
  .team-sec .row:has(.right-col:hover) .right-col,
  .team-sec .row:has(.right-col:hover) .left-col,
  .team-sec .row:has(.left-col:hover) .left-col,
  .team-sec .row:has(.left-col:hover) .right-col,
  .team-sec .col-md-6.right-col,
  .team-sec .col-md-6.left-col {
  -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}
.team-sec .row:has(.right-col:hover) .right-col .frame-type-text,
.team-sec .row:has(.right-col:hover) .left-col .frame-type-text,
.team-sec .row:has(.left-col:hover) .left-col .frame-type-text,
.team-sec .row:has(.left-col:hover) .right-col .frame-type-text,
.team-sec .right-col .frame-type-text,
.team-sec .left-col .frame-type-text {
    opacity: 1;
}
.team-sec .left-col .frame-type-text {
  padding: 25px 25px 25px 54px;
  width: 100%;
}
.team-sec .right-col .frame-type-text {
  padding: 25px 54px 25px 55px;
  width: 100%;
}
  

.gute-sec .container {
    min-height: 700px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  /* Stack layout: image on top, text below */
  .img-gute-col {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 280px !important;
    height: 280px !important;
    grid-template-columns: 130px 130px !important;
    grid-template-rows: 130px 130px !important;
    gap: 10px !important;
    margin: 0 auto !important;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .img-gute-col .frame-type-image,
  .img-gute-col .ce-image,
  .img-gute-col .ce-gallery,
  .img-gute-col .ce-outer,
  .img-gute-col .ce-inner {
    width: 130px !important;
    height: 130px !important;
  }

  /* Text col: static, centered below image */
  .text-gute-col {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    flex: 0 0 100%;
    max-width: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* All text frames stacked, hidden */
  .text-gute-col .frame-type-text.active {
    position: absolute !important;
    text-align: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }

  /* Active text visible */
  .text-gute-col .frame-type-text.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    width: 90% !important;
  }
.gute-nav { 
  display: flex;
  justify-content: space-between;
  width: 112%;
 }
.gute-sec .row {
    position: static !important;
    display: flex !important;
    margin: 0 !important;
    flex-direction: column-reverse;
    gap: 25px;
}
.gute-sec {
  min-height: 80vh;
}


.reviews-sec .row .slider-col .frame-type-image figure {
  width: 133px;
  top: 38px;
}
.reviews-sec .slider-col {
  min-height: auto;
}
.reviews-sec .row .slider-col #c2286 {
  margin-top: 2em;
  position: relative;
}
.reviews-sec .row .slider-col a.teaserBtn {
  width: auto;
}
.reviews-sec .row .slider-col .owl-carousel.owl-drag .owl-item {
  padding: 0 50px;
}
.reviews-sec .row .slider-col .owl-carousel .owl-item img {
    margin-bottom: 0;
}

.footer .desc-col,
.footer .map-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
}

.footer .map-col .frame-type-html {
    margin-right: -6%;
}

.kontakt-first .container {
    max-width: 90%;
}
.kontakt-first .ce-textpic {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.kontakt-first .ce-textpic .ce-gallery figure {
    width: 93px;
}

.inner-start-img {
  margin-top: 7em;
}

.Leistungen-left .text-col,
.Leistungen-right .text-col {
  margin-top: 2em;
}
.Leistungen-left .col-md-6 figure,
.Leistungen-right .col-md-6 figure {
  height: 238px;
}

.nav_btns_desk,
  .nav_btns_sticky.sticky {
    display: none;
  }

  .nav_btnsMobile {
    display: block;
  }
  .nav_btnsMobile .accordion-item {
    border: 1px solid #2A788A;
    border-radius: 40px;
    padding: 10px;
    margin: 0;
  }
  .nav_btnsMobile .accordion-header, .nav_btnsMobile .accordion-item button {
    margin: 0;
    font-size: 18px;
  }
  .nav_btnsMobile .accordion-body a {
    text-decoration: none;
    color: #2A788A;
  }
  .nav_btnsMobile.sticky {
    position: fixed;
    top: 128px;
    left: 0;
    right: 0;
    background-color: #EEEDED;
    padding: 1rem 0;
    z-index: 9;
  }

  
  .modal.show .modal-dialog {
    transform: translate(0%, 10%) !important;
  }

  .navbar-nav li a i:before {
    filter: unset;
  }
  .navbar-nav li a:hover i:before {
    background-image: url(/fileadmin/user_upload/siwe/icons/siwe_arrow_down_.svg);
  }

  .pageSpace.first-sec {
    padding: 2em 0 2em;
  }


  .inner-first {
    padding: 12em 0 0 !important;
    margin-bottom: 10em;
  }
  .inner-first .col-md-6.txt-col {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    padding-right: 15px;
    padding-left: 15px;
  }
  .inner-first .col-md-6.img-col {
    position: relative;
    margin-bottom: -10em;
    margin-top: 2em;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0;
    padding-right: 15px;
    padding-left: 15px;
  }
  .inner-first .col-md-6.img-col img {
    height: auto;
  }

  .benefits-sec h2 {
    width: 100%;
  }

  .acc-sec.w-60 .container {
    max-width: 100%;
  }
  .acc-sec.pageSpace {
    padding-bottom: 0;
  }

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

  .inner-start-padding {
    padding-top: 12em !important;
  }

  .termine-sec.light-grey .col-md-6.txt-col,
  .termine-sec.beige .col-md-6.txt-col,
  .termine-sec.dark-grey .col-md-6.txt-col {
    padding: 2em;
  }
  .termine-sec .col-md-6.img-col {
    padding-left: 0;
  }

  .w-60 .container {
    max-width: 90%;
  }

  .frame-type-form_formframework h2 {
    word-break: break-word;
  }

  .form-element-fileupload input::after {
    width: 70%;
  }

  .end-padding,
  .termine-sec {
    padding-bottom: 6em;
  }

  a.mainBtn {
    font-size: 15px;
    line-height: 21px;
  }

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

  

  .owl-nav {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: end;
    justify-content: end;
    padding: 0 1em;
  }

  .accordion-button.collapsed:after,
  .accordion-button:after {
    top: 33px;
  }

  .owl-container .owl-carousel .owl-nav button.owl-next {
    position: absolute;
    right: 0;
  }

  .owl-container .owl-carousel .owl-nav button.owl-prev {
    position: absolute;
    left: 0;
  }

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

  .inner-start-img {
  margin-top: 7.5em;
}


  .footer::before {
    width: 77.19px;
    height: 77.19px;
    top: -36px;
  }

  .footer .ce-textpic {
    margin: 1em 0;
  }
  .footer .ce-textpic .ce-bodytext {
    width: 100%;
  }
  .footer iframe {
    height: 138px;
  }

  .copy-r {
    width: 100%;
    margin-top: 1em;
  }

  nav.navbar-light.navbar-expand-md {
    position: relative;
    padding: 0;
  }

  h1 {
    font-size: 30px;
    line-height: 41px;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 22px;
    line-height: 30px;
  }

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

  p,
  ul li,
  .table td,
  .table th {
    font-size: 16px;
  }
  .footer a.mainBtn,
  a.mainBtn,
  a.teaserBtn {
    font-size: 16px;
  }

  .pl-5,
  .pr-5 {
    padding-left: 15px !important;
  }

  .teaser .container-fluid {
    padding: 0 2em;
  }

  .pageSpace {
    padding: 2em 0;
  }

  .navbar-toggler {
    margin: -25px 15px 20px 0;
  }

  .topLogo {
    display: inline-block;
    padding-left: 28px;
    padding-top: 15px;
  }

  .footer {
    padding: 2em 0 1em;
  }

  .top_logo {
    width: 250px;
    top: 50%;
    left: 50%;
  }

  .copy-r p,
  .copy-r a {
    font-size: 12px;
    line-height: 18px;
  }

  .copy-r .col-md-6:nth-of-type(1) a {
    display: block;
  }

  .col-4.pt-5 {
    padding-left: 2em;
  }

  .navbar-collapse {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    background: #EEEDED;
    z-index: 100;
    padding-bottom: 15px;
    /* overflow-x: scroll;
    height: 100vh; */
    top: 0;
    width: 100%;
    padding-top: 9em;
    display: flex;
    align-items: flex-start;
  }
  .navbar-collapse:before {
    content: "";
    background-image: url(/fileadmin/user_upload/SIWE/icons/siwe_icon_heart_zahn_01.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 246px;
    height: 246px;
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
   }
  .navbar-nav {
    overflow-x: scroll;
    height: 80vh;
  }

  .navbar-nav li a {
    padding: 14px 40px;
    display: block;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
  }

  .navbar-nav ul.dropdown-menu a {
    font-family: "dinosaur", sans-serif;
    padding: 10px;
    display: block;
    font-size: 16px;
    font-weight: 400;
    line-height: 18px;
    text-align: center;
  }

  .navbar-nav li a:hover:before {
    display: none;
  }

  .dropdown-toggle::after {
    display: none;
  }

  /*
    ul.dropdown-menu.show {
        position: relative !important;
        width: 100%;
        padding-top: 5px;
        transform: none !important;
        height: auto;
        overflow: auto;
        padding-bottom: 10px;
        background: rgba(83, 108, 164, 0);
    }*/

  .copyright a {
    margin-left: 0;
    margin-right: 15px;
  }

  .footer .col-3 {
    margin-bottom: 1em;
  }

  .footer table.contenttable {
    margin-bottom: 20px;
  }

  a.STEF_back-to-top {
    bottom: 111px;
  }

  .col-8,
  .col-4,
  .col-md-6,
  .col-6,
  .col-5,
  .col-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .col-3,
  .footer .col-4,
  .footer .col-2 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .footer .col-5 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .teaser .ce-textpic.ce-center.ce-above {
    min-height: auto;
    padding-bottom: 1em;
    margin-bottom: 1em;
  }

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

  iframe {
    height: 400px;
  }

  .scrolla {
    width: 90%;
    bottom: 12%;
  }

  .scrolla h3 {
    font-size: 18px;
    font-weight: 400;
    line-height: 27px;
  }

  .shortCuts {
    text-align: left;
    position: relative;
    right: 0;
    top: 0;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .shortCuts a {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    padding: 10px 3px;
    height: 45px;
    margin: 0 6px;
  }
  .shortCuts a img {
    margin-right: 4px;
  }

  header.FixNav .container-fluid {
    width: 95%;
    margin: auto;
  }

  .termina-h {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #979797;
    padding: 10px 0;
  }

  .termina-h a {
    border-bottom: none;
  }

  nav .row.align-items-center {
    display: flex;
    flex-direction: column-reverse;
  }

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

  button.navbar-toggler {
    margin-top: -50px;
    position: absolute;
    right: 0;
    bottom: 0;
  }

  .navbar-nav li {
    text-align: center;
  }
  .navbar-nav li a {
    font-family: "anisette-std", sans-serif;
    text-transform: uppercase;
    color: #2A788A;
    font-size: 22px;
    font-weight: 300;
    line-height: 30px;
    padding: 15px 10px;
    text-align: center;
    display: inline-block;
  }
  .navbar-nav li a:hover,
  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover {
    color: #E9D0B7;
  }

  ul.dropdown-menu.show {
    position: relative !important;
    display: flex !important;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    padding: 1em 2em;
    transform: unset !important;
    min-width: 390px;
  }

  .navbar-nav ul.dropdown-menu li {
    width: 100%;
    flex: 0 0 100%;
  }

  /* .navbar-nav ul.dropdown-menu a {
        padding: 8px 40px;
        display: block;
        font-size: 18px;
        font-weight: 400;
        line-height: 32px;
        text-align: center;
        text-transform: inherit;
        text-align: left;
        color: #063d79;
    } */

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: inline-block !important;
    margin-left: 15px;
  }

  .topLogo {
    display: block;
    width: 245.74px;
    padding: 0 0 10px 7px;
  }

  .top_logo {
    top: 30%;
    left: 50%;
  }

  .Teaser .col-3 {
    margin-bottom: 2em;
  }

  .topTxt p {
    text-shadow: 0px 2px 4px rgb(0 0 0 / 50%);
    color: #ffffff;
    font-size: 24px;
    font-weight: 400;
    line-height: 31px;
    text-align: center;
    padding: 0px 30px;
  }

}
