.elementor-593430 .elementor-element.elementor-element-431f0b07{--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%;}.elementor-593430 .elementor-element.elementor-element-431f0b07:not(.elementor-motion-effects-element-type-background), .elementor-593430 .elementor-element.elementor-element-431f0b07 > .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-593430 .elementor-element.elementor-element-e7bc3da{width:var( --container-widget-width, 10% );max-width:10%;--container-widget-width:10%;--container-widget-flex-grow:0;}.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 );}}@media(max-width:767px){.elementor-593430 .elementor-element.elementor-element-431f0b07{--padding-top:5%;--padding-bottom:5%;--padding-left:8%;--padding-right:8%;}.elementor-widget-theme-site-logo .widget-image-caption{font-size:var( --e-global-typography-text-font-size );}.elementor-593430 .elementor-element.elementor-element-e7bc3da{--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;
}
.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: 30px;
}
.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: 100px;
  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 {
  color: #ffffff !important;
  font-weight: 600 !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 10px 20px;
  background-color: #16d4cd;  
  border-radius: 5px; 
}
.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;
}
.menu-root > li:hover > .dropdown-container,
.dropdown-container:hover {
  display: grid;
}
.dropdown-group h3 {
  margin-bottom: 1rem;
  font-size: 20px;
  font-weight: 800;
  border-bottom: 1px solid #E5E5E5;
  padding-bottom: 0.5rem;
  color: #222222;
}
.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 !important;
  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;
  }

  /* Dropdown als Akkordeon */
  .dropdown-container {
    position: static;
    display: flex !important;
    flex-direction: column;
    background: transparent;
    padding: 0;
    gap: 0;
    box-shadow: none;
    animation: none;
  }
  .dropdown-group {
    width: 100%;
    border-top: 1px solid rgba(255,255,255,0.2);
  }
  .dropdown-group h3 {
    margin: 0;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .dropdown-group h3::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    transition: transform 0.2s;
  }
  .dropdown-group.open h3::after {
    transform: rotate(180deg);
  }
  .dropdown-group ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .dropdown-group.open ul {
    max-height: 500px;
  }

  /* 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);
  }
  .mobile-menu .panel-title,
  .mobile-menu .menu-panel h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: #2222222;
    text-decoration: underline;
    text-decoration-color: #16d4cd;
    text-decoration-thickness: 3px;
   }

  /* 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;
  }   
}
/* Slide-in Animation */
@keyframes slideIn {
  from { transform: translateY(-100%); }
  to   { transform: translateY(0); }
}/* End custom CSS */
