.menu-list.mobile {
  max-width: 500px;
  margin: 0 auto !important;
  padding: 20px;
}

.closebtn svg path {
  fill: var(--primary-blue);
}

@media only screen and (max-width: 1024px) {
  #scroll-top {
    bottom: 110px !important;
  }
}
@media only screen and (max-width: 767px) {
  #scroll-top {
    bottom: 88px !important;
    right: 10px !important;
  }
}

/* menu-style */
#main-header .menu-item-has-children {
  position: relative;
}

#header-menu ul#menu-header-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.menu li {
  list-style: none;
}

.header-nav {
  flex-grow: 1;
}
div#header-menu {
  flex-grow: 1;
}
.header-nav {
  justify-content: space-between;
}
#header-menu ul#menu-header-menu li a {
  color: #331832;
  font-weight: bold;
  font-size: 18px;
  transition: all 0.3s linear;
}
/* menu-style-end */

/* click-call */
.dropbtn {
  cursor: pointer;
  border: none;
  background: #fff;
  margin: 0px !important;
  border-radius: 8px;
}
.dropbtn svg {
  cursor: pointer;
  box-shadow: 0px 12px 45px rgba(44, 72, 107, 0.3);
  animation: shadow 2s infinite;
  border-radius: 8px;
}

.click-call {
  position: fixed;
  display: inline-block;
  bottom: 100px;
  left: 25px;
  z-index: 999;
}

.click-call-content {
  height: 0;
  opacity: 0;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  overflow: hidden;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: 30px;
  transition: all 0.3s linear;
}
.click-call-content {
  padding: 10px;
  text-align: center;
  font-size: 20px;
  border-radius: 10px;
}

.click-call-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.click-call a:hover {
  background-color: #ddd;
}

.show-click-content {
  top: -170px;
  opacity: 1;
  height: 140px;
}
/* click-call-end */

/* header-css */

.max-width-sec {
  max-width: 1350px;
  margin: 0 auto;
  padding: 10px;
}
.header {
  padding: 6px;
  text-align: center;
}
.main-header-bg,
.header-bg {
  display: block;
  width: 100%;
  z-index: 99;
}
#main-header {
  overflow: hidden;
}

.header-nav a {
  text-align: center;
  padding: 0px 5px;
  text-decoration: none;
  font-size: 17px;
}
.header-nav {
  display: flex;
  gap: 10px;
}

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
}

.sticky + #content {
  padding-top: 60px;
}
div#main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: visible;
  z-index: 99;
  position: relative;
}

.header-logo img.custom-logo {
  width: 150px;
}
.main-header-bg {
  background: #ebebeb;
}
.header.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media only screen and (max-width: 1024px) {
  .main-header-bg,
  .header-bg {
    display: none;
  }
}

/* header-css-end */

/* side-floating-button */

.float-container-btns {
  position: fixed;
  top: 50%;
  display: flex;
  flex-direction: column;
  right: -335px;
  width: 400px;
  z-index: 99;
}

.float-container-btns a {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 10px 20px 10px 10px;
  margin-bottom: 10px;
  /* border-left: 4px solid var(--bg-blue); */
  transition: all 0.2s linear;
  background: #97715b;
  border-radius: 0px 0px 0px 0px;
  font-size: 19px;
  /* box-shadow: 0px 3px 6px #00a7e11f; */
  color: #fff;
  font-weight: bold;
  font-family: "Inter";
  border-radius: 8px 0 0 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.float-container-btns a svg {
  margin-right: 13px;
}
.float-container-btns a svg path {
  fill: #fff !important;
}

.float-container-btns > a:hover {
  transform: translateX(-275px);
  transition: all 0.2s linear;
}

@media only screen and (max-width: 1024px) {
  .float-container-btns {
    display: none;
  }
}
/* side-floating-button-end*/

/* scroll-top */

#scroll-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  /* background-image: linear-gradient(133deg,rgb(235,205,148) 2%,rgb(226,178,85) 51%,rgb(205,170,101) 100%); */
  background-color: #97715b;
  color: white;
  cursor: pointer;
  padding: 7px 10px 5px 10px;
  border-radius: 8px;
  z-index: 99;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

#scroll-top:hover {
  background-color: #555;
}

#scroll-top svg path {
  fill: #fff !important;
}

/* scroll-top-end */

/* mobile-header */

#mobile-header {
  position: fixed;
  top: 0;
  width: 100%;
  transition: top 0.3s;
  box-shadow: 2px 4px 8px #0000000a;
  display: none;
  z-index: 99;
}
.mobi-logo img {
  width: 120px;
  text-align: center;
}
.mobi-logo {
  display: flex;
  justify-content: center;
  padding: 5px;
  background: #fafafa;
}

@media only screen and (max-width: 1024px) {
  #mobile-header {
    display: block;
    width: 100%;
  }
}
/* mobile-header-end */

/* menu-leistungen-popup */

/* The Overlay (background) */

.overlay {
  /* Height & width depends on how you want to reveal the overlay (see JS below) */
  height: 100%;
  width: 0;
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  background-color: #ffffff; /* Black fallback color */
  /* background-image: linear-gradient(180deg, rgb(20, 20, 20) 0%, rgb(13, 13, 13) 51%, rgb(16, 16, 16) 100%); Black w/opacity */
  overflow-x: hidden; /* Disable horizontal scroll */
  transition: 0.5s; /* 0.5 second transition effect to slide in or slide down the overlay (height or width, depending on reveal) */
  z-index: 999;
}

.overlay-desk {
  background-color: #00000038 !important;
}

/* Position the content inside the overlay */
.overlay-content {
  position: relative;
  top: 25%; /* 25% from the top */
  width: 100%; /* 100% width */
  text-align: center; /* Centered text/links */
  margin-top: 30px; /* 30px top margin to avoid conflict with the close button on smaller screens */
}

/* The navigation links inside the overlay */
.overlay a {
  /* padding: 3px; */
  text-decoration: none;
  /* font-size: 36px; */
  color: var(--primary-blue);
  display: block; /* Display block instead of inline */
  transition: 0.3s; /* Transition effects on hover (color) */
}

/* When you mouse over the navigation links, change their color */
.overlay a:hover,
.overlay a:focus {
  color: var(--orange-hover);
}

/* Position the close button (top right corner) */
.overlay .closebtn {
  position: absolute;
  top: 5px;
  right: 12px;
  z-index: 99;
  padding: 8px 12px;
}

.overlay-desk .closebtn {
  top: 0px !important;
  right: unset !important;
  left: 426px;
}

.overlay-desk .closebtn svg {
  transition: all 0.3s ease-in-out;
}

.overlay-desk .closebtn:hover svg {
  fill: #97715b;
}

.popup-logo img {
  width: 150px;
}
/* When the height of the screen is less than 450 pixels, change the font-size of the links and position the close button again, so they don't overlap */

/* menu-leistungen-popup-end */

/* popup-form */

/* The Modal (background) */
.popup-form {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  z-index: 999;
}

/* Modal Content */
.popup-form-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
}

/* The Close Button */
.close-popup {
  color: #aaaaaa;
  font-size: 28px;
  font-weight: bold;
  right: 6px;
  position: absolute;
  top: 0;
}

.close-popup:hover,
.close-popup:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* popup-form-end */

.list-sec ul.kt-svg-icon-list {
  max-width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 0 20px !important;
  /* max-width: 350px;
    margin-left: auto !important;
    margin-right: auto !important; */
  gap: 6px !important;
  /*min-height: 350px;*/
}

.wp-block-kadence-column .list-sec {
  flex: 4;
  display: flex;
  justify-self: center;
  justify-content: center;
}

@keyframes shadow {
  0% {
    -moz-box-shadow: 0 0 0 0 rgba(44, 72, 107, 0.3);
    box-shadow: 0 0 0 0 rgba(44, 72, 107, 0.3);
    transform: scale(1);
  }
  70% {
    -moz-box-shadow: 0 0 0 10px rgba(44, 72, 107, 0.3);
    box-shadow: 0 0 0 18px rgba(44, 72, 107, 0.3);
    transform: scale(1.05);
  }
  100% {
    -moz-box-shadow: 0 0 0 0 rgba(44, 72, 107, 0.3);
    box-shadow: 0 0 0 0rgba (44, 72, 107, 0.3);
    transform: scale(1);
  }
}

/*--new-css--*/
.list-sec ul.kt-svg-icon-list span.kt-svg-icon-list-text {
  font-size: 20px;
  color: #343434;
  font-weight: 400;
  transition: all 0.3s linear;
  cursor: pointer;
  height: 100%;
  width: 100%;
  padding: 12px 0;
}

.list-sec
  .wp-block-kadence-iconlist
  ul.kt-svg-icon-list
  .kt-svg-icon-list-item-wrap:hover
  span.kt-svg-icon-list-text {
  color: #000000;
}

.desktop-sidemenu {
  height: 100%;
  background: #fff;
  width: 500px;
  border-right: 2px solid #97715b;
}
/*
.list-sec ul.kt-svg-icon-list li:hover span {
    background-color:#e2d6cf;
}*/

.list-sec ul.kt-svg-icon-list li a {
  height: 100%;
  width: 100%;
  flex: 1;
}

.list-sec
  .wp-block-kadence-iconlist
  ul.kt-svg-icon-list
  .kt-svg-icon-list-item-wrap
  .kt-svg-icon-link {
  display: flex !important;
  align-items: center !important;
  flex-direction: row-reverse !important;
}

.list-sec
  .wp-block-kadence-iconlist
  ul.kt-svg-icon-list
  .kt-svg-icon-list-item-wrap {
  display: flex !important;
  align-items: center !important;
  padding: 0;
  flex-direction: row-reverse !important;
}

.list-sec ul.kt-svg-icon-list span.kb-svg-icon-wrap {
  display: none;
}

.list-sec
  .wp-block-kadence-iconlist
  ul.kt-svg-icon-list
  .kt-svg-icon-list-item-wrap.desktop-contact-list
  .kt-svg-icon-link {
  flex-direction: row !important;
  gap: 5px;
}

.list-sec
  .wp-block-kadence-iconlist
  .kt-svg-icon-list-item-wrap.desktop-contact-list
  span.kb-svg-icon-wrap {
  display: inline-block !important;
}

.list-sec ul.kt-svg-icon-list .desktop-contact-list span.kb-svg-icon-wrap svg {
  vertical-align: middle;
}

.list-sec ul.kt-svg-icon-list li.menu-leistungen span.kb-svg-icon-wrap {
  display: block !important;
  margin-right: 20px !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: absolute;
  backface-visibility: hidden;
  cursor: pointer;
  transform: rotate(0deg);
  transition: all 0.3s linear;
}

.list-sec ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap {
  border-bottom: 2px solid #d9d9d9;
}

.list-sec ul.kt-svg-icon-list .kt-svg-icon-list-item-wrap:hover {
  border-bottom: 2px solid #97715b;
}

#side-submenu {
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 498px;
  z-index: -1;
  transition: left 0.5s linear;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(21px);
  background: #f2f2f2;
  /* border-left: 1px solid #000; */
  border-right: 1px solid #444242;
  display: flex;
  justify-content: center !important;
  padding: 40px 40px 0 40px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #97715b #f2f2f2;
}
#side-submenu.menu-active {
  left: 500px;
}

/* Chrome, Edge, Safari Webkit syntax */
#side-submenu::-webkit-scrollbar {
  width: 7px;
}

#side-submenu::-webkit-scrollbar-thumb {
  background: #97715b;
  border-radius: 4px;
}

#side-submenu::-webkit-scrollbar-track {
  background: #f2f2f2; /* optional lighter background for track */
}

@media only screen and (min-width: 1024px) {
  #side-submenu.menu-active {
    right: 500px !important;
  }

  #side-submenu {
    left: unset !important;
    right: 0 !important;
    transition: right 0.5s linear;
    border-right: none;
    border-left: 1px solid #444242;
  }

  /* Position the close button (top right corner) */
  .overlay .closebtn {
    right: 12px;
  }

  .overlay-desk .closebtn {
    left: unset !important;
    right: 426px;
  }

  .overlay {
    right: 0;
    left: unset !important;
    display: flex;
    justify-content: flex-end;
    transition: width 0.8s ease ;
    /* transition-duration: 0.5s; */
  }

  .desktop-sidemenu {
    border-right: none;
    border-left: 2px solid #97715b;
  }
}

.list-sec ul.kt-svg-icon-list li a {
  height: 100%;
  width: 100%;
  flex: 1;
}

.list-sec ul.kt-svg-icon-list li {
  background: #fff;
  /* display: flex; */
  /* justify-content: center; */
  /* align-items: center; */
  transition: all 0.3s linear;
  /* border-radius: 5px; */
}

/* .list-sec ul.kt-svg-icon-list li:hover,
.list-sec ul.kt-svg-icon-list li.menubtn-active {
  background: #e2d6cf;
} */
.list-sec.submenu ul.kt-svg-icon-list {
  margin-bottom: 0px !important;
}

.list-sec.submenu ul.kt-svg-icon-list li {
  background: #ffffff00;
  /*  border: 1px solid #ffffff00;
    border-bottom: 1px solid #ffffff6b !important;*/
}

.list-sec.submenu ul.kt-svg-icon-list li a {
  font-size: 20px !important;
}

.list-sec.submenu ul.kt-svg-icon-list span.kt-svg-icon-list-text {
  color: #444242 !important;
  font-size: 18px !important;
  padding-bottom: 0px !important;
  padding: 0 !important;
  padding-bottom: 0px !important;
  position: relative !important;
}

.list-sec.submenu ul.kt-svg-icon-list span.kt-svg-icon-list-text:before {
  content: "";
  width: 18px;
  height: 18px;
  background: url(/wp-content/uploads/2025/07/right-arrow-n.png);
  position: absolute !important;
  left: -22px;
  top: 50%;
  transform: translateY(-52%);
  background-size: 100%;
  background-repeat: no-repeat;
}

.list-sec.submenu ul.kt-svg-icon-list li:hover span.kt-svg-icon-list-text {
  color: #000;
}

/*
.list-sec.submenu ul.kt-svg-icon-list li:hover {
    background: #e2d6cf;
    border: 1px solid #ffffff00;
}*/
.list-sec ul.kt-svg-icon-list li.menu-leistungen {
  display: flex;
  flex-direction: row-reverse;
  /* transform: rotateX(45deg); */
}

.list-sec ul.kt-svg-icon-list li.menu-leistungen span.kb-svg-icon-wrap {
  display: block !important;
  margin-right: 0px !important;
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: absolute;
  backface-visibility: hidden;
  cursor: pointer;
  transform: rotate(0deg);
  transition: all 0.3s linear;
}

.list-sec ul.kt-svg-icon-list li.menu-leistungen:hover svg {
  fill: #bca08f;
}

.list-sec ul.kt-svg-icon-list li svg {
  transition: all 0.3s linear;
}

.list-sec
  ul.kt-svg-icon-list
  li.menu-leistungen.menubtn-active
  span.kb-svg-icon-wrap {
  transform: rotate(180deg);
}

.list-sec ul.kt-svg-icon-list li.menubtn-active svg {
  fill: #bca08f;
}

.wp-block-kadence-accordion.alignnone.service-side-txt {
  padding: 0px 15px;
}

.service-side-txt .kt-blocks-accordion-title {
  font-family: "Inter" !important;
  cursor: pointer;
}

.service-side-txt .kt-accordion-header-wrap {
  border-bottom: 1px solid #444242 !important;
}
.service-side-txt ul.kt-svg-icon-list {
  gap: 8px !important;
  margin-left: 0px !important;
  margin-top: 8px !important;
}

.service-side-txt ul.kt-svg-icon-list li {
  padding-bottom: 4px !important;
}

.service-side-txt ul.kt-svg-icon-list li span:hover {
  color: #000 !important;
}

/* 404 */

div#content.page-404 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 213px 0px 90px 0;
  max-width: 100%;
  margin: 0 auto;
}

.error-404.not-found.default-max-width .page-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 0px;
}

div#content.page-404 img {
  max-width: 29vw;
  padding-top: 50px;
}

.anfrage-col.listandsell-button.error-btn a {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 15px 30px;
  border-radius: 20px;
  background-color: #97715b;
  color: #fff;
  font-weight: 600;
  font-size: 20px;
  transition: all 0.4s ease-in-out;
}

.anfrage-col.listandsell-button.error-btn a svg path {
  fill: #fff !important;
}

.error404 .header-desk > .kb-row-layout-wrap {
  background-color: #97715b;
}

.error404 .head-menu {
  color: #fff !important;
}

@media only screen and (max-width: 1024px) {
  /* borlab==begin */
  #BorlabsCookieBoxWidget.bottom-left {
    left: 0;
    bottom: 66px !important;
  }
  /* borlab==end */

  div#content.page-404 {
    padding: 100px 16px;
    text-align: center;
  }

  div#content.page-404 img {
    max-width: 50vw;
    padding-top: 50px;
  }

  .mobile-menu .mobile .kt-svg-icon-list li {
    padding-bottom: 12px !important;
    border-bottom: 1px solid #d9d9d9;
  }

  .mobile-footer-social svg {
    fill: #97715b;
  }
}

/* 404 end*/

/* specific page header color change */
.page-id-999 .header-desk > .kb-row-layout-wrap,
.page-id-1011 .header-desk > .kb-row-layout-wrap {
  background-color: #ffffff;
  border-bottom: 1px solid #00000017;
}

.page-id-999 .header-desk > .kb-row-layout-wrap .logo-blk,
.page-id-1011 .header-desk > .kb-row-layout-wrap .logo-blk {
  display: block;
}

.page-id-999 .header-desk > .kb-row-layout-wrap .wht-logo,
.page-id-1011 .header-desk > .kb-row-layout-wrap .wht-logo {
  display: none;
}

.page-id-999 .header-desk > .kt-row-column-wrap,
.page-id-1011 .header-desk > .kt-row-column-wrap {
  padding-top: 10px !important;
}

.page-id-999 .header-wrapper .header-desk > .kt-row-column-wrap,
.page-id-1011 .header-wrapper .header-desk > .kt-row-column-wrap {
  padding-top: 5px !important;
}

.page-id-999 .head-menu,
.page-id-1011 .head-menu {
  color: #000000 !important;
}
