@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@600;700&family=Outfit:wght@300;400;500&display=swap');



/* === HEADER STICKY WRAPPER === */
.rbah-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent ;
  margin-bottom:0px;                           
  width: 100%;
}

/* === FLOATING INNER BOX === */
.rbah-header-inner {
  background-color: rgba(255, 255, 255, 0.8); /* transparenter Weiß-Ton */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 0rem 0rem 1rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.035); /* subtiler Shadow */
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
position: relative;
z-index: 10;
}

/* === Zweite zeile Header === */
.rbah-subnav-inner {
  background-color: rgba(211, 209, 209, 0.75);   /* ✅ Tick grauer für bessere Differenzierung */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  border-radius: 0rem 0rem 1rem 1rem;                           /* ✅ Radius bleibt wie gewünscht */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.025);

  padding: 1.3rem 3.2rem 0.5rem 3.2rem;                          /* ✅ Schmaler & eleganter */
  margin-top: -1.4rem;                           /* ✅ Enger zur ersten Zeile */
  transform: translateY(6px);                    /* ✅ Tieferer Slide-Effekt */
  transition: all 0.3s ease;

  display: flex;
  justify-content: flex-start;
  align-items: flex-end;                         /* ✅ Inhalt bleibt unten ausgerichtet */
  flex-wrap: wrap;
  gap: 0.35rem;

  font-size: 0.72rem;                            /* ✅ Noch feinerer Font */
  
  position: relative;
  z-index: 1;
}

.rbah-subnav-all-category {
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.4rem 1.8rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease-in-out;
}

.rbah-subnav-all-category:hover {
  background-color: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
}



.rbah-subnav-inner ul li a {
  font-size: 0.75rem;       /* text-xs */
  font-weight: 500;         /* medium */
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
}

.rbah-subnav-inner ul li a:hover {
  background-color: rgba(0, 0, 0, 0.03); /* subtiler Hover */
}


/* === SEARCHBAR BREITE === */

.rbah-search-wrapper {
  min-width: 300px;       /* Mindestbreite für kleinere Screens */
  width: 100%;            /* Standardmäßig 100% des Containers */
  max-width: 560px;       /* Aber niemals breiter als 560px */
  flex-grow: 1;           /* Erlaubt flexibles Mitwachsen bei Platz */
}


/* === LOGIN ICON LINK === */
.rbah-login {
  font-size: 14px;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  transition: background 0.2s ease;
  color: #192413;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.rbah-login:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* === CTA BUTTON === */
.rbah-post-btn {
  background-color: transparent;
  color: #015941;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 400;
  transition: all 0.25s ease-in-out;
  border: 2px solid #015941;
}

.rbah-post-btn:hover {
  background-color: #015941;
  color: white;
}


/* === Post Ad Button mit grünem Hintergrund === */
.rbah-post-btn--green {
   background-color:  #015941;
  color: white;

  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease-in-out;
  border: 2px solid #015941;
}

.rbah-post-btn--green:hover {
  background-color: transparent;
  color: #015941;
}


/* === USER AVATAR === */
.rbah-user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background-color: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  color: #192413;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rbah-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 999px;
}

/* === DROPDOWN === */
.rbah-dropdown {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 0.5rem;
}


/* 📱 RBAH - Minimal Mobile Header Control */
.rbah-mobile-header {
  background-color: rgba(211, 211, 211, 0.70);   /* Light grey with opacity */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom-left-radius: 1rem; /* ✅ Abgerundete Ecken unten */
  border-bottom-right-radius: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* ✅ Leichter Schatten für Tiefe */
  border: 1px solid rgba(0, 0, 0, 0.05);       /* Optional: weiche Umrandung */
}

