.navbar {
  background-color: #2c2c2c;
  padding: 0.2rem 0.6rem; /* Weniger Padding oben/unten */
}




.navbar .nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.1em; /* Kleiner Abstand zwischen Icon & Text */
  font-size: 0.85rem; /* Kleinerer Text */
  padding: 0.3rem 0.4rem; /* Weniger vertikaler Platz */
  color: #ccc;
}


.navbar .nav-link.active {
  color: #fff !important;
}

.navbar .nav-link:hover {
  color: #fff;
  text-decoration: none;
}


.navbar .nav-link i {
  font-size: 1.35rem;
  margin-bottom: 0.2em;
  color: inherit;
}

.navbar .dropdown-menu {
  background-color: #2c2c2c !important;
  border: none;
}

.navbar .dropdown-menu .dropdown-item {
  background-color: #2c2c2c !important;
  color: #ccc !important;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: #3a3a3a !important;
  color: #fff !important;
}




/* Smartphones */
@media (max-width: 768px) {
  .navbar .navbar-brand {
    margin-right: 0.05rem; /* Etwas kompakter zur ersten Kachel */
    padding: 0;
    display: flex;
    align-items: center;
  }

  .navbar .navbar-brand img {
    max-height: 30px; /* Noch etwas kompakter */
    width: auto;
    vertical-align: middle;
  }

  .navbar .navbar-nav {
    display: flex;
    gap: 0.00rem; /* Minimaler horizontaler Abstand zwischen Menüeinträgen */
    padding: 0;
  }

  .navbar .nav-item {
    margin: 0; /* Kein zusätzlicher Rand — volle Kontrolle über Abstand via gap */
  }

  .navbar .nav-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 0.65rem;
    padding: 0.30rem 0 ;
    line-height: 1;
    color: #ccc;
    gap: 0; /* Kein vertical gap innerhalb der Kachel */
  }

  .navbar .nav-link i {
    font-size: 1.2rem;
    margin-bottom: 1;
    line-height: 1;
    color: inherit;
  }
  /* Dropdown-Menü-Schrift kleiner machen */
.navbar .dropdown-menu .dropdown-item {
  font-size: 0.70rem;   /* z. B. ~12px */
  padding-top: 0.5rem;  /* gleich lassen oder sogar erhöhen */
  padding-bottom: 0.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
  line-height: 1.2;
}

}



