.elementor-660083 .elementor-element.elementor-element-3421523{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--padding-top:1%;--padding-bottom:1%;--padding-left:5%;--padding-right:5%;--z-index:999;}.elementor-660083 .elementor-element.elementor-element-3421523:not(.elementor-motion-effects-element-type-background), .elementor-660083 .elementor-element.elementor-element-3421523 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#EFF5F4;}.elementor-widget-theme-site-logo .widget-image-caption{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );}.elementor-660083 .elementor-element.elementor-element-3d77b93{width:var( --container-widget-width, 10% );max-width:10%;--container-widget-width:10%;--container-widget-flex-grow:0;}.elementor-660083 .elementor-element.elementor-element-650d4b5{width:auto;max-width:auto;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:1650px){.elementor-widget-theme-site-logo .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}}@media(max-width:1024px){.elementor-widget-theme-site-logo .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-660083 .elementor-element.elementor-element-3d77b93{--container-widget-width:15%;--container-widget-flex-grow:0;width:var( --container-widget-width, 15% );max-width:15%;}}@media(max-width:880px){.elementor-660083 .elementor-element.elementor-element-3421523{--flex-wrap:wrap;}.elementor-660083 .elementor-element.elementor-element-3d77b93{--container-widget-width:20%;--container-widget-flex-grow:0;width:var( --container-widget-width, 20% );max-width:20%;}}@media(max-width:767px){.elementor-660083 .elementor-element.elementor-element-3421523{--padding-top:5%;--padding-bottom:5%;--padding-left:6%;--padding-right:6%;}.elementor-widget-theme-site-logo .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-660083 .elementor-element.elementor-element-3d77b93{--container-widget-width:40%;--container-widget-flex-grow:0;width:var( --container-widget-width, 40% );max-width:40%;}}/* Start custom CSS */body {
    padding-top: 0px;
}
html {
    margin: 0 !important;
}
.brk-mobile-header {
    display: none;
}
.rz-modal.rz-modal-signin.rz-modal-ready.rz-visible {
    z-index: 9999999;
}
.main-menu, .mobile-menu {
  position: relative;
}
.sign-link,
.dash-link {
  display: flex;
}

/* 2. Standard: Dashboard verstecken */
.dash-link {
  display: none;
}

/* 3. Nur eingeloggte User sehen Dashboard, nicht mehr Anmelden */
body.logged-in .dash-link {
  display: flex !important;
}
body.logged-in .sign-link {
  display: none !important;
}
nav.mobile-menu i.fas.fa-bars,
nav.mobile-menu i.fas.fa-times {
    color: #222;
    font-size: 32px;
}
.menu-toggle {
  display: none;
  background: none !important;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1000;
  padding: 0 !important;
}
.menu-root {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.menu-root > li.has-dropdown {
  position: relative; 
  z-index: 2;
}

.menu-root > li.has-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 50px;
  pointer-events: auto;
  z-index: 1;
}
.root-link {
  color: #222222 !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.root-link:hover {
    color: #16d4cd !important;
}
.anfrage-link-mobil, .anfrage-link-desk {
  color: #222222 !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 12px 20px 12px 20px;
  background-color: #16d4cd;  
  border-radius: 1px; 
}
.dropdown-icon {
  transition: transform 0.2s;
}
.has-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

/* Gemeinsames Dropdown-Container */
.dropdown-container {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100vw;
  background: #EFF5F4;
  padding: 2% 5%;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.4);
  z-index: 3;
}
.dropdown-container-dienstleister {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100vw;
  background: #EFF5F4;
  padding: 2% 5%;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  box-shadow: 0 10px 20px -5px rgba(0,0,0,0.4);
  z-index: 3;
}
.menu-root > li:hover > .dropdown-container,
.dropdown-container:hover {
  display: grid;
}
.menu-root > li:hover > .dropdown-container-dienstleister,
.dropdown-container-dienstleister:hover {
  display: grid;
}
.nav-headline {
    display: flex;
    margin-bottom: 12px;
    font-size: 20px !important;
    font-weight: 800 !important;
    border-bottom: 1px solid #E5E5E5;
    padding-bottom: 0.5rem;
    color: #222222 !important;
}
.dropdown-group ul {
  line-height: 180%;    
  list-style: none;
  padding: 0;
  margin: 0;
}
.dropdown-group li {
  margin-bottom: 0.75rem;
}
.dropdown-group a {
  font-weight: 600;
  color: #222222;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.2s;
}
.dropdown-group a:hover {
  color: #16d4cd;
}
.badge {
  background: #16d4cd;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.125rem 0.5rem;
  border-radius: 2px;
}

/* Mobile & Tablet Styles */
@media (max-width: 1024px) {
  /* Scroll-Sperre bei offenem Menü */
  body.menu-open {
    overflow: hidden;
  }

  /* Hamburger-Toggle */
  .menu-toggle {
    display: block;
    top: 1rem;
    right: 1rem;
    color: #1D2551;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10001;
  }

  /* Hauptmenü ausblenden bzw. einblenden */
  .menu-root {
    display: none;
  }
  .main-menu.open .menu-root {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background-color: #EFF5F4;
    padding-top: 4rem;
    gap: 1.5rem;
    align-items: center;
    z-index: 9999;
    animation: slideIn 0.3s ease-out forwards;
  }
  .main-menu.open .root-link {
    color: #fff;
    font-size: 1.25rem;
    padding: 0.75rem 1rem;
  }

  /* Mobile-Menu-Wrapper */
  .mobile-menu .menu-wrapper {
    position: fixed;
    top: 80px !important;
    left: 0;
    right: 0;
    bottom: 0;
    background: #EFF5F4;
    display: none;
    flex-direction: row;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 10000;
  }
  .mobile-menu.open .menu-wrapper {
    display: flex;
    transform: translateX(0);
  }

  /* Panels */
  .mobile-menu .menu-panel {
    background: #EFF5F4;
    width: 100%;
    flex-shrink: 0;
    padding: 8%;
    overflow-y: auto;
    min-height: calc(100vh - 120px);
  }
  .panel-title, .nav-headline-mobile {
    font-size: 20px;
    font-weight: 800 !important;
    margin-bottom: 30px;
    color: #2222222 !important;
    text-decoration: underline !important;
    text-decoration-color: #16d4cd !important;
    text-decoration-thickness: 3px !important;
   }

  /* Liste & Items */
  .mobile-menu .menu-panel li {
    margin-bottom: 15px;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #e0e0e0;
  }
  .mobile-menu .menu-panel a {
    text-decoration: none;
    color: #222222;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Back-Button */
  .mobile-menu .menu-panel .back {
    background: none;
    color: #222222;
    border: none;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0;
    gap: 10px;
  }

  /* Badge */
  .mobile-menu .badge {
    background: #16d4cd;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 2px;
  }
  .mobile-menu .menu-panel ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  i.fa-brands {
    padding-left: 0px;
    }
  li.link-left {
    display: flex;
    border-bottom: none !important;
  }   
}
/* Slide-in Animation */
@keyframes slideIn {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}/* End custom CSS */