/* Raumfinder – professionelle Hauptnavigation */

.rf-navbar{
  background:linear-gradient(180deg,#fffaf4 0%,#fff6e9 100%) !important;
  border-bottom:1px solid rgba(17,17,17,.14) !important;
  box-shadow:0 6px 20px rgba(120,80,20,.07) !important;
  padding:12px 0 !important;
  min-height:78px;
}

.rf-navbar .container{
  align-items:center;
  gap:0;
}

.rf-navbar-brand{
  flex-shrink:0;
  padding:4px 20px 4px 0 !important;
  margin-right:8px !important;
  border-right:1px solid rgba(17,17,17,.16);
}

.rf-navbar-collapse{
  align-items:center;
}

.rf-navbar-menu{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px;
  padding:8px 0 8px 16px;
}

.rf-navbar-menu .nav-item{
  display:flex;
}

.rf-nav-pill{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 16px !important;
  border-radius:10px !important;
  border:1px solid #8a8a8a !important;
  background:#fff !important;
  color:#111 !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  white-space:nowrap;
  box-shadow:none !important;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}

.rf-nav-pill:hover,
.rf-nav-pill:focus{
  background:rgba(255,188,31,.22) !important;
  border-color:#8a8a8a !important;
  color:#111 !important;
}

.rf-nav-pill.is-active,
.rf-nav-pill.is-active:hover,
.rf-nav-pill.is-active:focus{
  background:linear-gradient(90deg,#ffcb1f,#ffb11c,#ff9c01) !important;
  border-color:#111 !important;
  color:#111 !important;
  box-shadow:inset 0 -2px 0 rgba(17,17,17,.12) !important;
}

.rf-nav-pill.is-section-current,
.rf-nav-pill.dropdown-toggle.is-section-current{
  border-color:#111 !important;
  background:#fff !important;
  box-shadow:inset 3px 0 0 #ff9c01 !important;
  color:#111 !important;
}

.rf-nav-pill.is-section-current:hover,
.rf-nav-pill.dropdown-toggle.is-section-current:hover,
.rf-nav-pill.is-section-current:focus,
.rf-nav-pill.dropdown-toggle.is-section-current:focus{
  background:rgba(255,188,31,.22) !important;
  color:#111 !important;
}

/* brand-overrides setzt Navbar-Hover auf Rot – hier zurücksetzen */
.rf-navbar .nav-link.rf-nav-pill:hover,
.rf-navbar .nav-link.rf-nav-pill:focus,
.rf-navbar .rf-nav-action:hover,
.rf-navbar .rf-nav-action:focus,
.rf-navbar .dropdown-item:hover,
.rf-navbar .dropdown-item:focus{
  color:#111 !important;
}

.rf-nav-pill.dropdown-toggle::after{
  margin-left:.45rem;
  vertical-align:.12em;
}

.rf-navbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
  margin-left:auto;
  padding:8px 0 8px 18px;
  border-left:1px solid rgba(17,17,17,.14);
}

.rf-nav-action{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:9px 18px !important;
  border-radius:10px !important;
  font-size:14px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  text-decoration:none !important;
  white-space:nowrap;
  box-shadow:none !important;
}

.rf-nav-action--login{
  border:1px solid #8a8a8a !important;
  background:#fff !important;
  color:#111 !important;
}

.rf-nav-action--login:hover,
.rf-nav-action--login:focus{
  border-color:#8a8a8a !important;
  background:rgba(255,188,31,.22) !important;
  color:#111 !important;
}

.rf-nav-action--login.is-active{
  background:linear-gradient(90deg,#ffcb1f,#ffb11c,#ff9c01) !important;
  border-color:#8a8a8a !important;
  color:#111 !important;
}

.rf-nav-action--logout{
  border:1px solid #8a8a8a !important;
  background:#fff !important;
  color:#111 !important;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}

.rf-nav-action--logout:hover,
.rf-nav-action--logout:focus{
  border-color:#8a8a8a !important;
  background:rgba(255,188,31,.22) !important;
  color:#111 !important;
  text-decoration:none !important;
}

.rf-navbar .dropdown-menu{
  margin-top:10px !important;
  padding:8px !important;
  border-radius:16px !important;
  border:1px solid rgba(17,17,17,.16) !important;
  box-shadow:0 10px 28px rgba(17,17,17,.12) !important;
}

.rf-navbar .dropdown-item{
  border-radius:10px;
  padding:9px 12px;
  font-weight:600;
  color:#111 !important;
  transition:background .15s ease,color .15s ease;
}

.rf-navbar .dropdown-item:hover,
.rf-navbar .dropdown-item:focus{
  background:rgba(255,188,31,.22) !important;
  color:#111 !important;
}

.rf-navbar .dropdown-item.active,
.rf-navbar .dropdown-item.active:hover,
.rf-navbar .dropdown-item.active:focus,
.rf-navbar .dropdown-item:active.active{
  background:linear-gradient(90deg,#ffcb1f,#ffb11c,#ff9c01) !important;
  color:#111 !important;
  font-weight:700;
  box-shadow:inset 0 -1px 0 rgba(17,17,17,.1);
}

.rf-navbar .dropdown-header{
  font-size:11px;
  font-weight:800;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(17,17,17,.55) !important;
}

.rf-navbar-toggler{
  border:1px solid rgba(17,17,17,.18) !important;
  border-radius:12px !important;
  padding:8px 10px !important;
  background:rgba(255,255,255,.8) !important;
}

.rf-navbar-toggler:focus{
  box-shadow:0 0 0 3px rgba(255,156,1,.25) !important;
}

@media(max-width:991.98px){
  .rf-navbar{
    padding:8px 0 !important;
    min-height:62px;
  }

  .rf-navbar .container{
    padding-left:14px;
    padding-right:14px;
  }

  .rf-navbar-brand{
    border-right:0;
    padding:2px 0 !important;
    margin-right:0 !important;
  }

  .rf-navbar-toggler{
    margin-left:auto;
  }

  .rf-navbar-collapse{
    margin-top:12px;
    padding-top:14px;
    border-top:1px solid rgba(17,17,17,.12);
  }

  .rf-navbar-menu{
    padding:0;
    gap:8px;
    width:100%;
  }

  .rf-navbar-menu .nav-item{
    width:100%;
  }

  .rf-nav-pill{
    width:100%;
    justify-content:flex-start !important;
  }

  .rf-navbar-actions{
    width:100%;
    margin-left:0;
    padding:12px 0 4px;
    border-left:0;
    border-top:1px solid rgba(17,17,17,.1);
    justify-content:flex-start;
  }

  .rf-nav-action{
    width:100%;
    justify-content:center !important;
  }
}

@media(max-width:575.98px){
  .rf-navbar{
    min-height:58px;
  }

  .rf-navbar-collapse{
    margin-top:10px;
    padding-top:12px;
  }
}
