:root {
  --white: #fff;
  --GcolorTexth1: #a2b9a8;
  --GcolorText: #403c3d;
  --GcolorTexth2: #c5b3a6;
  --GcolorTexth3: #c5b3a6;
  --GcolorTexth2dark: #83535b;
  --lightbackground: #e9e4df;
  --btnTexhover: #403c3d;
  --greenLight: #a2b9a9;
  --smallBorder: 20px;

  --bigBorder_image: 0 240px 240px 0;
}
@media screen and (min-width: 1280px) and (max-width: 1536px) {
  
  .last_sec #c5844 {
    height: 45%;
  }
}
@media screen and (min-width: 1280px) and (max-width: 1536px) and (max-height: 750px) {
  .nav_btnsMobile .accordion-header button::before {
    right: 35%;
  }
  .first_sec figure img {
    height: 73vh !important;
    padding: 10px 0 !important;
  }
  .first_sec figure::before {
    width: 135px;
    height: 135px;
  }
  .inner_image figure img {
    height: 55vh;
  }
  .inner_image.pageSpace {
    padding: 5em 0 0 0;
  }

}

@media (min-width: 820px) and (max-width: 1180px) and (orientation: portrait) {
  .nav_btnsMobile .accordion-header button::before {
    right: 34%;
  }
}
@media (min-width: 820px) and (max-width: 1180px) and (orientation: landscape) {
  .appointment-badge {
    top: 55px;
  }
  .nav-left,
  .nav-right {
    gap: 5px;
  }
  .FixNav .col-md-5 {
    flex: 0 0 42%;
    max-width: 42%;
  }
  .FixNav .col-md-2 {
    flex: 0 0 15%;
    max-width: 15%;
  }
  .first_sec figure::before {
    width: 135px;
    height: 135px;
    position: absolute;
    right: -1em;
    top: 23px;
  }
  .footer_sec .links_footer a.mainBtn {
    margin-top: 0;
  }
  .footer_sec .row_text {
    margin-bottom: 2em;
    margin-top: 3em;
    width: 100%;
  }
  .footer_sec > .container {
    max-width: 90%;
  }
  .footer_sec iframe {
    height: 186px;
  }
  .copy_r {
    margin-top: -2px;
  }
  .copy_r .col-md-4 .text-center {
    text-align: center !important;
  }
  .text-end {
    text-align: center;
  }
  .footer_sec a.mainBtn {
    width: 60%;
  }
  .teaser_sec .text_icon .ce-gallery {
    height: 380px;
  }
}
@media (min-width: 1280px) and (max-width: 1366px) {
  .shortCuts_home {
    top: 70%;
  }

  .first_sec figure {
    width: 83%;
  }
  .teaser_sec .text_icon .ce-gallery {
    height: 400px;
  }
  .first_sec figure img {
    height: 79vh;
    border-radius: 10px 165px 165px 10px;
    padding: 1em 0;
  }
  .first_sec figure::before {
    width: 150px;
    height: 150px;
  }
  .inner_image figure img {
    width: 100%;
    height: 57vh;
    width: 75vw;
    border-radius: 0 140px 140px 0;
    padding: 0;
  }
  .nav_btns_desk {
    margin-top: 3em;
  }
  .form_sec .container {
    max-width: 90%;
  }
  .list {
    max-width: 100%;
  }
  .inner_text_welcome {
    padding: 2em 0;
  }

  .last_sec #c5514 ~ #c5844,
  .last_sec #c5844,
  .last_sec .container #c5844 {
    opacity: 1;
    transform: translateY(0);
  }
  .last_sec #c5844 h2 {
    font-size: 40px;
    line-height: 49px;
    margin-bottom: 1rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .nav_btnsMobile .accordion-header button::before {
    right: 33%;
  }
  .last_sec #c5514 ~ #c5844,
  .last_sec #c5844,
  .last_sec .container #c5844 {
    opacity: 1;
    transform: translateY(0);
  }
  .appointment-badge {
    width: 120px;
    height: 117px;
  }
  .appointment-badge .badge-text {
    font-size: 13px;
    line-height: 15px;
  }
  .FixNav.inner .row.align-items-center,
  .FixNav.sticky .row.align-items-center {
    align-items: center !important;
    justify-content: flex-start;
    width: 100%;
    margin: auto;
  }
  .inner_image.pageSpace {
    padding: 8em 0 0;
  }
  .appointment-badge {
    top: 110px;
  }
  .section.copy_r p {
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 2%;
  }

  .first_sec figure::before {
    width: 110px;
    height: 110px;
  }
  .navbar-nav li.active a,
  .navbar-nav li a:hover {
    color: var(--white);
  }
  .quick-links {
    top: 20%;
  }
  .nav-left,
  .nav-right {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
  }
  .navbar-collapse {
    justify-content: center;
  }
  .topLogo {
    width: 184px;
    height: 100%;
    margin: auto;
    max-height: max-content;
  }
  .topLogo .startlogo {
    max-height: max-content;
  }
  .nav_btnsMobile .container {
    max-width: 80%;
  }

  .FixNav.sticky .navbar-expand-lg .navbar-nav,
  header.FixNav.inner .navbar-expand-lg .navbar-nav {
    padding: 10px;
  }
  .FixNav.sticky .navbar-collapse,
  header.FixNav.inner .navbar-collapse {
    justify-content: flex-end;
  }
  .FixNav.sticky,
  header.FixNav.inner {
    width: 100%;
  }
  .quick-item {
    width: 60px;
  }
  .nav_btns_desk {
    display: block;
  }
  .nav_btnsMobile {
    display: none;
  }
  button.navbar-toggler {
    right: -25px;
  }

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

  .footer {
    padding: 4em 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: 85%;
  }
  p,
  ul li,
  .table td,
  .table th {
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
    letter-spacing: 2%;
  }

  .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%;
  }
  .container {
    max-width: 95%;
  }
  .list {
    max-width: 100%;
  }
  .form_sec .container {
    max-width: 95%;
  }
  .last_sec #c5844 {
    height: 40%;
    border-radius: 0 0 160px 160px;
  }
  .last_sec h2 {
    margin-bottom: 0;
  }
  .last_sec #c5514 img {
    border-radius: 160px;
  }
  .text_welcom h1,
  .text_welcom h3 {
    margin-bottom: 1rem;
  }
  .text_welcom {
    padding: 4em 0;
  }
}

/*iPad in landscape*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
  .teaser_sec .text_icon .ce-gallery {
    height: 380px;
  }
  .appointment-badge {
    top: 60px;
  }
  .inner_image::before {
    object-fit: cover;
  }
  .FixNav.startsite.sticky .appointment-badge {
    top: 50px;
  }
  .nav-left,
  .nav-right {
    gap: 15px;
  }
  .last_sec .container {
    max-width: 100%;
  }
  .last_sec #c5844 h2 {
    font-size: 40px;
    line-height: 49px;
    margin-bottom: 1rem;
  }
  /* .first_sec > .container {
    max-width: 90%;
  } */
  .first_sec figure {
    width: 90%;
  }
  .marketing-wrapper .container {
    margin: 0 auto 0 0;
    max-width: 100%;
  }
  .first_sec figure img {
    height: 460px;
    border-radius: 10px 165px 165px 10px;
    padding: 1em 0;
  }
  .FixNav.startsite .col-md-5.links {
    flex: 0 0 50%;
    max-width: 50%;
    order: 2;
  }
  .FixNav.startsite .col-md-5.right {
    flex: 0 0 50%;
    max-width: 50%;
    order: 3;
  }
  .FixNav.startsite .col-md-2 {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 1em 0;
    order: 1;
  }
  .FixNav.startsite .navbar-expand-lg .navbar-nav.nav-left {
    justify-content: end;
  }
  .FixNav.startsite .navbar-expand-lg .navbar-nav.nav-right {
    justify-content: flex-start;
  }
  .FixNav.startsite .navbar-expand-lg .navbar-nav {
    padding: 0;
  }
  /*  */
  .FixNav.sticky .col-md-5.links,
  .FixNav.inner .col-md-5.links {
    flex: 0 0 37%;
    max-width: 37%;
  }
  .FixNav.sticky .col-md-5.right,
  .FixNav.inner .col-md-5.right {
    flex: 0 0 40%;
    max-width: 40%;
  }
  .FixNav.sticky .col-md-2 {
    flex: 0 0 20%;
    padding: 0;
    max-width: 20%;
    order: 2;
  }

  .FixNav.inner .col-md-2 {
    flex: 0 0 20%;
    padding: 0;
    max-width: 20%;
    order: unset;
  }
  .FixNav.sticky .navbar-expand-lg .navbar-nav.nav-left,
  .FixNav.inner .navbar-expand-lg .navbar-nav.nav-left {
    justify-content: end;
  }
  .FixNav.sticky .navbar-expand-lg .navbar-nav.nav-right,
  .FixNav.inner .navbar-expand-lg .navbar-nav.nav-right {
    justify-content: flex-start;
  }
  .FixNav.sticky
    .navbar-expand-lg
    .navbar-nav
    .FixNav.inner
    .navbar-expand-lg
    .navbar-nav {
    padding: 10px;
    gap: 0;
  }
  /* .FixNav.startsite.sticky .appointment-mobile {
    display: block;
  } */
  .inner_image figure img {
    height: 430px;
    border-radius: 0 140px 140px 0;
    width: 83vw;
    padding-bottom: 2em;
  }
  .last_sec #c5514 img {
    border-radius: 160px;
    max-height: 604px;
  }
  .text_welcom {
    padding: 4em 0;
  }
  .shortCuts_home {
    top: 75%;
  }
  .row_text .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer_sec .links_footer a.mainBtn {
    margin-top: 0;
  }
  /* inner */
  .teaser_sec .text_icon,
  .teaser_sec .text_image {
    padding: 0;
  }
  .teaser_sec .row {
    display: flex;
    align-items: stretch;
    width: 100%;
    margin: auto;
  }
  .teaser_sec .text_image .frame-type-text {
    height: 60%;
  }
  /* 2. تحويل العمود الأيمن لـ Relative Container */
  .teaser_sec .text_image {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* لضبط النص والزرار في الأسفل */
  }

  /* 3. جعل عنصر الصورة يملأ الكارت بالكامل كخلفية */
  .teaser_sec .text_image #c5689,
  .teaser_sec .text_image .ce-image,
  .teaser_sec .text_image .ce-gallery,
  .teaser_sec .text_image .ce-outer,
  .teaser_sec .text_image .ce-inner,
  .teaser_sec .text_image .ce-row,
  .teaser_sec .text_image .ce-column,
  .teaser_sec .text_image figure {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .teaser_sec .text_image img.image-embed-item {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center;
  }
  .teaser_sec .text_icon {
    padding-top: 3em;
  }
  .teaser_sec .text_image .frame-type-text {
    position: relative;
    z-index: 2;
    padding: 5px;
    background: linear-gradient(
      180deg,
      rgba(254, 252, 250, 0.1) 0%,
      rgba(164, 151, 133, 0.85) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transform: translateY(0px);
  }
  /* ///////// */
  .teaser_sec .col-md-6,
  .list .col-md-6,
  .accordion_sec .col-md-6,
  .form_sec .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .accordion_sec.pageSpace {
    padding: 6em 0 2em;
  }
  .form_sec.pageSpace {
    padding: 2em 0 4em;
  }

  .dentoalveoläre.pageSpace,
  .Implantologie.pageSpace {
    padding: 4em 0;
  }

  .dentoalveoläre.pageSpace .container,
  .last_inner_sec .container,
  .Implantologie .container {
    max-width: 95%;
  }

  .dentoalveoläre .row {
    flex-direction: column-reverse;
  }
  .dentoalveoläre.team .row {
    flex-direction: row;
  }
  .dentoalveoläre.team .row .images,
  .dentoalveoläre.team .row .col-md-6 {
    width: 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .dentoalveoläre .images::before {
    top: 60%;
  }
  .inner_first_sec .container,
  .nav_btns_desk .container {
    max-width: 95%;
  }
  .nav_btns_desk {
    margin-top: 4em;
  }
  .custom-grid-wrapper .grid-item {
    flex: 0 0 32%;
  }
  .last_inner_sec .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 2em;
  }
  /* inner */
  .footer_sec .row_text {
    margin-bottom: 2em;
    margin-top: 3em;
    width: 100%;
  }
  .footer_sec > .container {
    max-width: 90%;
  }
  .footer_sec iframe {
    height: 186px;
  }
  .copy_r {
    margin-top: -2px;
  }
  .copy_r .col-md-4 .text-center {
    text-align: center !important;
  }
  .text-end {
    text-align: center;
  }
  /* /////////////////////////////////// */

  .FixNav .col-md-5 {
    flex: 0 0 45%;
    max-width: 45%;
  }
  .FixNav .col-md-2 {
    flex: 0 0 10%;
    max-width: 10%;
  }
  .text_welcom .row .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .kontakt-sec a.mainBtn,
  a.mainBtn {
    width: 48%;
  }
  .footer_sec a.mainBtn {
    width: 60%;
  }

  a.teaserBtn {
    width: 70%;
  }

  .d-flex-sec .img-col figure {
    width: 305px;
    height: auto;
  }

  .img-col img {
    object-fit: cover !important;
    object-position: center !important;
  }
  /* /////////////////////////////////// */

  .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/kape/icons/kape_arrow_down_.svg);
  }

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

  button.navbar-toggler {
    margin-top: 0;
    position: relative;
    /* right: 0; */
    top: 0;
  }
  button.navbar-toggler {
    display: none !important;
  }

  .navbar-expand-lg .navbar-nav {
    /* flex-direction: column;
    align-items: center;
    justify-content: center; */
    padding: 20px;
  }

  .navbar-nav li a {
    text-align: center;
    text-transform: uppercase;
    padding: 0;
    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: white;
  }

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

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

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

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

  .nav_btnsMobile.sticky {
    top: 90px;
  }
}

/*iPad in portrait*/
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
      .last_sec #c5844 {
        height: 50%;
        border-radius: 0 0 160px 160px;
    }
  .marketing-wrapper h2 {
    margin-bottom: 0;
  }
  .first_sec {
    height: 64vh;
  }
  .first_sec figure img {
    padding: 1em 0;
  }
  .appointment-badge {
    top: 88px;
    right: -10px;
  }
  .copy_r .container {
    max-width: 70%;
  }
  .copy_r .col-md-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .copy_r .col-md-4:last-child {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
  }
  .FixNav.startsite.sticky .appointment-badge {
    top: 85px;
  }
  .teaser_sec .text_icon .ce-gallery {
    height: 380px;
    margin-bottom: 3em;
  }

  .last_sec .container {
    max-width: 100%;
  }
  .marketing-panels .col-md-6.text {
    padding: 0 1em !important;
    margin-top: -1em;
  }
  .FixNav.inner .row.align-items-center,
  .FixNav.sticky .row.align-items-center {
    margin: auto;
  }
  .FixNav.inner .container-fluid,
  .FixNav.sticky .container-fluid {
    padding: 10px 0;
  }
  .FixNav .col-md-5.links {
    order: 2;
  }
  .FixNav .col-md-5.right {
    order: 3;
    flex: 0 0 47%;
    max-width: 47%;
  }
  .FixNav .col-md-5 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0;
  }
  .FixNav .col-md-2 {
    flex: 0 0 100%;
    max-width: 100%;
    order: 1;
    padding: 0;
  }

  .first_sec figure img {
    height: 343px;
    border-radius: 10px 95px 95px 10px;
  }
  .inner_image.pageSpace {
    height: 100%;
  }
  .inner_image figure img {
    height: 329px;
    border-radius: 0 103px 103px 0;
    width: 87vw;
  }
  .last_sec #c5514 img {
    border-radius: 160px;
    max-height: 453px;
  }
  .accordion-item .collapse:not(.show) {
    display: none !important;
  }
  .marketing-panels .col-md-6.image,
  .marketing-panels .col-md-6.text {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100%;
  }
  .marketing-wrapper > .container {
    margin: auto;
    max-width: 95%;
  }
  .teaser_sec .text_icon,
  .teaser_sec .text_image {
    flex: none;
  }
  .teaser_sec .text_image .frame-type-text {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  .teaser_sec .text_image {
    height: 800px;
    margin: auto;
    max-width: 510px;
    padding: 0;
  }
  .teaser_sec .text_image .frame-type-text {
    border-radius: 0 0 240px 240px;
  }
  .teaser_sec .text_image figure {
    width: 510px;
    height: 800px;
    margin: auto;
  }
  .teaser_sec .text_image .ce-gallery img {
    object-fit: cover;
    border-radius: 240px;
  }
  .last_sec h2 {
    font-size: 40px;
    line-height: 48px;
  }
  .teaser_sec .text_icon {
    max-width: 510px;
    height: 800px;
    margin: auto;
    padding: 0;
    border-radius: 240px;
    justify-content: flex-end;
  }
  .teaser_sec .ce-bodytext {
    position: relative;

    top: 0;
  }
  .teaser_sec .row {
    gap: 4em;
    padding: 0;
    margin: 0;
  }
  .collapse:not(.show) {
    display: block;
  }
  .navbar-toggler {
    display: none;
  }
  .nav-left,
  .nav-right {
    gap: 30px;
    justify-content: center;
  }
  .FixNav .row.align-items-center {
    align-items: center !important;
    width: 100%;
    margin: auto;
  }
  /* inner */
  .list {
    border-radius: 160px;
  }
  .list ul {
    padding-left: 6em;
    margin-bottom: 0;
  }
  .dentoalveoläre.pageSpace {
    padding: 5em 0;
  }
  .dentoalveoläre.pageSpace .container,
  .last_inner_sec .container,
  .Implantologie .container {
    max-width: 95%;
  }

  .dentoalveoläre .images::before {
    top: 60%;
  }
  .Implantologie .row {
    flex-direction: column-reverse;
  }
  .Implantologie .images::before {
    top: 45%;
  }

  .inner_first_sec .container,
  .nav_btns_desk .container {
    max-width: 95%;
  }
  .nav_btns_desk {
    margin-top: 5em;
  }
  .custom-grid-wrapper .grid-item {
    flex: 0 0 32%;
  }
  .custom-grid-wrapper {
    gap: 10px;
  }
  .last_inner_sec .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
    margin-top: 1em;
  }
  /* inner */
  h1 {
    font-size: 60px;
    line-height: 75px;
  }

  h2 {
    font-size: 48px;
    line-height: 58px;
  }
  h3 {
    font-size: 35px;
    line-height: 50px;
  }
  h4 {
    font-size: 40px;
    line-height: 48px;
  }
  h5 {
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 5%;
  }
  .nav_btnsMobile.sticky {
    position: fixed;
    z-index: 10;
    width: 100%;
    top: 11%;
  }

  .first_sec .container {
    max-width: 90%;
  }
  /* //////// */

  .footer_sec .links_footer {
    justify-content: flex-start;
  }

  .footer_sec .row_text {
    margin: unset;
    margin-bottom: 2em;
    margin-top: 3em;
  }
  .footer_sec > .container {
    max-width: 90%;
  }
  .footer_sec iframe {
    height: 186px;
  }

  .section.copy_r p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: 0;
  }
  .text-end {
    text-align: center;
  }
  /* //////// */
  .FixNav li ul {
    position: absolute;
    top: 15% !important;

    list-style: none !important;
    right: 0% !important;
    transform: translate(0, 0);
    max-height: 75%;
    overflow-y: auto;
    width: 100%;

    background-color: transparent;
    background: transparent;
    padding-left: 55%;
    box-shadow: none;
  }

  .kontakt-sec a.mainBtn,
  a.mainBtn {
    width: 45%;
  }

  .d-flex-sec .img-col figure {
    width: 305px;
    height: auto;
    margin: 0 auto 3em;
  }

  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    flex: 0 0 50%;
    padding: 30px 0;
  }

  a.teaserBtn {
    width: 100%;
  }

  .copy-r {
    margin-top: 2em;
  }
  .copy-r .row {
    gap: 10px;
  }

  .copy-r .row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .footer {
    padding: 4em 0 2em;
  }
  .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/kape/icons/kape_arrow_down_.svg);
  }

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

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

  .news-slider .owl-carousel .owl-item a.mainBtn {
    width: 50%;
  }

  .footer .col-md-4 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%;
  }
  .footer .copy-r .col-md-4 {
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .footer iframe {
    height: 306px;
  }
  .footer .container {
    max-width: 85%;
  }

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

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

  .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: 25% !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: row;
  }

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

  .navbar-nav li a {
    text-align: center;
    text-transform: uppercase;
    padding: 0;
    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: var(--orangText); */
    color: white;
  }

  .FixNav .short-cuts {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 15px;
  }
  nav.navbar-light .col-md-8.col-xs-12 {
    justify-content: space-between;
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    display: flex;
  }

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

  iframe {
    margin-bottom: 0;
  }

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

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

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

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

@media (min-width: 820px) and (max-width: 1180px) and (orientation: portrait) {
  .first_sec {
    height: 58vh;
  }
}

/* ----------- iPad Pro ----------- */
/* Portrait and Landscape */
@media only screen and (min-width: 1025px) and (max-width: 1200px) {
  .img-col .frame,
  .img-col .ce-image,
  .img-col .ce-gallery,
  .img-col .ce-outer,
  .img-col .ce-inner,
  .img-col .ce-row,
  .img-col .ce-column,
  .img-col figure,
  .img-col img {
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .img-col img {
    object-fit: cover !important;
    object-position: center !important;
  }
  /* /////////////////////////////////// */
      .last_sec #c5514 ~ #c5844, .last_sec #c5844, .last_sec .container #c5844 {
        opacity: 1;
        transform: translateY(0);
       height: 60%;
    }
}

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

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

  .navbar-collapse {
    height: auto;
    top: 0;
    overflow-x: visible;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  }

  .videoBlock.stndalone img {
    width: 100%;
    height: 100%;
  }
 .last_sec #c5514 ~ #c5844, .last_sec #c5844, .last_sec .container #c5844 {
        opacity: 1;
        transform: translateY(0);
        height: 45%;
    }
}

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

/* Small devices (landscape phones, less than 768px) */

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

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

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

@media (max-width: 766px) {
  .marketing-wrapper h2 {
    margin-bottom: 1rem;
  }
  .inner_image h2 {
    margin-bottom: 0;
  }
  .FixNav.noBorder {
    border-radius: 0 !important;
  }
  .first_sec {
    overflow: visible;
    height: 90vh;
  }
  .marketing-panels .container {
    margin: auto;
    max-width: 95%;
  }
  .last_inner_sec .col-md-4 {
    margin-top: 2em;
  }

  .first_sec figure {
    width: 100%;
  }
  .first_sec figure img {
    height: 40vh;
    width: 100%;
    border-radius: 10px 300px 300px 10px;
    padding-bottom: 1em;
  }
  .FixNav .row.align-items-center {
    margin: auto;
  }
  .inner_image.pageSpace {
    height: 100%;
  }
  .inner_image figure img {
    height: 235px;

    width: 100vw;

    padding-top: 10px;
  }
  .last_sec #c5514 img {
    border-radius: 160px;
    max-height: 207px;
  }
  
  .last_sec figure.image-block {
    width: 150px;
    margin: auto;
  }
  .last_sec figure.image-block img {
    filter: brightness(0) saturate(100%)
          invert(34%)
          sepia(12%)
          saturate(700%)
          hue-rotate(300deg)
          brightness(88%)
          contrast(87%);
  }
  .last_sec figure img {
    height: 100%;
  }
  .last_sec #c5514 ~ #c5844,
  .last_sec #c5844,
  .last_sec .container #c5844 {
    opacity: 1;
    transform: translateY(0px);
  }
  .accordion-item .collapse:not(.show) {
    display: none !important;
  }
  .shortCuts_home {
    top: 80%;
  }
  .text_welcom h1,
  .text_welcom h3 {
    margin-bottom: 1rem;
  }
  .marketing-panels .col-md-6.image,
  .marketing-panels .col-md-6.text {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding: 0;
  }
  .marketing-wrapper .container {
    margin: auto;
    max-width: 90%;
  }
  .teaser_sec .text_icon,
  .teaser_sec .text_image {
    flex: none;
  }
  .last_sec {
    padding: 3em 0;
  }
  .copy_r .container .col-md-4 {
    padding: 0 15px;
  }
  .copy_r .col-md-4 .text-center {
    text-align: left !important;
  }
  .teaser_sec .text_image .frame-type-text {
    border-radius: 0 0 240px 240px;
  }
  .container-fluid.desk {
    display: none;
  }
  .container-fluid.mobile {
    display: block;
  }
  .FixNav.startsite .appointment-mobile {
    display: none;
  }
  .FixNav.startsite.sticky .appointment-mobile {
    display: block;
  }
  .appointment-mobile {
    display: block;
    text-align: center;
    background-color: #a2b9a8;
    padding: 5px;
    border-radius: 8px;
    width: 38px;
    height: 32px;
    z-index: 9;
  }
  .appointment-mobile .badge-icon {
    width: 17px;
    height: 19px;
    margin-bottom: 4px;
  }

  .appointment-badge {
    display: none;
  }
  .FixNav.startsite.sticky .appointment-badge {
    display: none;
  }
  .FixNav .navbar-toggler {
    display: none;
  }
  .FixNav .navbar-collapse.collapse.show {
    display: none;
  }
  .FixNav.sticky .navbar-collapse.collapse.show,
  .FixNav.inner .navbar-collapse.collapse.show {
    display: block;
  }
  .FixNav.sticky .navbar-toggler,
  header.FixNav.inner .navbar-toggler {
    display: block;
  }
  header.FixNav .container-fluid {
    padding: 4em 0;
  }
  .FixNav.sticky .col-md-5,
  .FixNav.inner .col-md-5 {
    flex: 0 0 50%;
    max-width: 50%;
    order: 2;
    align-items: center;
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
    position: unset;
    padding: 0;
    justify-content: flex-start;
  }
  header.FixNav.sticky .container-fluid,
  header.FixNav.inner .container-fluid {
    padding: 20px 0;
    position: relative;
  }
  .FixNav.sticky .col-md-2,
  .FixNav.inner .col-md-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .FixNav .col-md-2 {
    order: 1;
    flex: 0 0 100%;
    max-width: 100%;
  }
  header.FixNav .container-fluid .topLogo {
    width: 184px;
    /* height: 212px; */
    height: 25vh;
    max-height: max-content;
    margin: auto;
  }
  header.FixNav.sticky .container-fluid .topLogo,
  header.FixNav.inner .container-fluid .topLogo {
    width: 125px;
    height: 26px;
    margin: 0 0 0 auto;
    z-index: 9;
  }
  .topLogo .startlogo {
    max-height: max-content;
  }

  .first_sec figure::before {
    width: 110px;
    height: 110px;
    top: -64px;

    right: 20px;
    z-index: 3;
  }
  /* inner */

  .teaser_sec .text_image .frame-type-text {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  .teaser_sec .text_image {
    height: 640px;
    margin: auto;
    max-width: 354px;
    padding: 0;
  }
  .teaser_sec .text_image figure {
    width: 354px;
    height: 640px;
    margin: auto;
  }

  .teaser_sec .text_image .ce-gallery img {
    object-fit: cover;
    border-radius: 240px;
  }
  .teaser_sec .text_icon .ce-gallery .ce-column svg {
    /* width: 127px; */
    height: 211px;
  }
  .teaser_sec .text_icon {
    max-width: 354px;
    height: 640px;
    margin: auto;
    padding: 0;
    border-radius: 240px;
    justify-content: end;
  }
  .teaser_sec .text_icon .ce-gallery {
    width: 400px;
    height: 270px;
    margin-bottom: 8em;
  }
  .teaser_sec .ce-bodytext {
    position: relative;
    top: 0;
    width: 75%;
    margin: auto;
    margin-top: -6em;
  }
  .teaser_sec .row {
    gap: 4em;
    padding: 0;
    margin: 0;
  }
  .last_sec #c5844 {
    position: relative;
    mask-image: unset;
  }
  .last_sec h2 {
    margin-bottom: 0;
    color: #7a505b;
    font-size: 30px;
    line-height: 40px;
  }
  .last_sec #c5514 img {
    border-radius: 160px;
  }
  .accordion_sec.pageSpace {
    padding: 3em 0;
  }
  .form_sec.pageSpace {
    padding: 0 0 4em;
  }
  .list .container {
    max-width: 100%;
  }
  .form_sec .container {
    max-width: 90%;
  }
  .list {
    padding: 3em 2em !important;
    border-radius: 160px;
    max-width: 100%;
  }
  .list ul{
    margin-bottom: 0;
  }
  .list ul li {
    font-size: 18px;
    line-height: 34px;
    letter-spacing: 2%;
    gap: 15px;
  }
  .inner_image.pageSpace {
    padding: 4em 0 0;
  }

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

  .dentoalveoläre.pageSpace {
    padding: 2em 0 4em;
  }
  .dentoalveoläre .images {
    min-height: 290px;
  }
  .dentoalveoläre.team .images {
    min-height: 350px;
  }

  .dentoalveoläre.team {
    margin-top: 3em;
  }

  /* inner */
  /* //////////// */
  .footer_sec .links_footer {
    justify-content: flex-start;
    padding: 0;
  }
  .footer_sec .row_text .text {
    padding: 0;
  }
  .footer_sec {
    padding: 3em 0 0 0;
  }
  .footer_sec .links_footer p {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    gap: 0;
  }
  .footer_sec .row_text {
    width: 100%;
    margin: unset;
    margin-bottom: 0;
    margin-top: 0;
  }
  .footer_sec > .container {
    max-width: 90%;
  }
  .footer_sec iframe {
    height: 186px;
  }
  .section.copy_r .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
  }

  /* //////////// */
  .nav_btnsMobile .container {
    max-width: 90%;
  }
  .nav_btnsMobile .accordion-item {
    border: 1px solid #403c3d;
    border-radius: 10px;
    background-color: var(--white);
  }
  .nav_btnsMobile .accordion-item.active--collapse {
    padding-top: 1em;
  }
  .nav_btnsMobile .accordion-body {
    padding: 20px;
    text-align: center;
  }
  .nav_btnsMobile .accordion-header button::before {
    right: 20%;
    top: 65%;
    background-image: url(/fileadmin/user_upload/kape/arrow_drop_down_circle.svg);
  }
  .nav_btnsMobile .active--collapse .accordion-header button::before {
    background-image: url(/fileadmin/user_upload/kape/arrow_drop_down_circle_open.svg);
  }
  .quick-links.inner {
    top: 55%;
  }
  .quick-item {
    width: 50px;
    padding: 15px 5px;
  }
  .quick-item .title {
    font-size: 10px;
  }
  .openHours {
    top: 130px;
    left: 50%;
    transform: translate(-50%, 0%);
  }

  .nav_btns_desk {
    display: none;
  }
  .nav_btnsMobile {
    display: block;
    z-index: 9;
    position: relative;
    margin-top: 3em;
  }
  .nav_btnsMobile.sticky {
    position: fixed;
    z-index: 10;
    width: 100%;
    margin-top: 0;
    top: 80px;
  }

  .inner_first_sec .container,
  .nav_btns_desk .container {
    max-width: 95%;
  }

  /* inner */

  p,
  ul li,
  .table td,
  .table th {
    font-size: 18px;
    line-height: 22px;
    font-weight: 300;
    letter-spacing: 0;
  }
  .copy_r p {
    font-size: 14px;
    line-height: 22px;
  }
  /* //////// */

  .section.copy_r p {
    margin-top: 0;
    margin-bottom: 0;
  }
  .text-end {
    text-align: center;
  }

  .kontakt-sec form {
    margin-top: 4em;
  }

  .closeBtn .icon-bar,
  .navbar-toggler .icon-bar {
    width: 29px;
  }

  .copy-r {
    margin-top: 2em;
  }
  .copy-r .row {
    gap: 5px;
  }

  .copy-r .row .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
  }

  .nav-shortcuts {
    justify-content: space-between;
  }
  .nav-shortcuts span.img-btn {
    margin-left: 15px;
  }

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

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

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

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

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

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

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

  h1 {
    font-size: 35px;
    line-height: 45px;
  }

  h2 {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 2rem;
  }
  h3 {
    font-size: 35px;
    line-height: 50px;
    margin-bottom: 2rem;
  }
  h4 {
    font-size: 28px;
    line-height: 34px;
    margin-bottom: 2rem;
  }
  h5 {
    font-size: 24px;
    line-height: 32px;
  }

  .pageSpace {
    padding: 3em 0;
  }

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

  .navbar-collapse {
    position: absolute;
    overflow-y: auto;
    top: 0;
    border-radius: 0 0 30px 30px;
    right: 0;
    width: 100%;
    min-height: auto;
    padding-left: unset;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 3;
    left: 0;
    isolation: isolate;
    padding: 4em 0 2em;
  }
  .navbar-collapse::before {
    content: "";
    position: absolute;
    inset: 0;

    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border-radius: inherit;
    z-index: -1;
  }

  .nav-left,
  .nav-right {
    gap: 15px;
  }
  .navbar-expand-lg > .container,
  .navbar-expand-lg > .container-fluid {
    padding-right: 15px;
    padding-left: 15px;
  }

  .navbar-nav li a {
    padding: 0;
    display: inline-block;
    text-transform: uppercase;
    color: var(--GcolorText);
  }
  .navbar-nav li.active {
    padding: 5px 20px;
  }

  .navbar-nav ul.dropdown-menu a {
    /* font-family: "acumin-pro", 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;
  }

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

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

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

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

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

  iframe {
    height: 400px;
  }

  .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: row;
    justify-content: space-between;
  }

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

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

  .navbar-nav li a:hover,
  .FixNav.sticky .navbar-nav li a:hover,
  .FixNav.inner .navbar-nav li a:hover {
    /* color: var(--orangText); */
    color: white;
  }

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

  i.fas.fa-angle-down.d-block.d-md-none.d-lg-none {
    display: inline-block !important;
    margin-left: 15px;
  }
  .dentoalveoläre {
    border-radius: 100px;
  }
  .shortCuts_home {
    gap: 10px;
  }

  .shortCuts_home .phone-link .shortcut-tab {
    padding: 10px;
  }
}
@media (max-width: 375px) {
  .first_sec {
    overflow: visible !important;
    height: 100vh !important;
  }
}
