.sidebar{
  width: 240px;
  padding: 14px;
  border-right: 1px solid var(--border);
  background: rgba(255,255,255,.045);

  display:flex;
  flex-direction: column;

  /* ✅ wichtig: volle Höhe innerhalb des Fensters */
  height: 100%;
  min-height: 0;
}

.sidebar__nav{
  display:flex;
  flex-direction: column;
  gap: 10px;

  /* ✅ nimmt Platz ein, aber darf auch schrumpfen */
  flex: 1;
  min-height: 0;
}

.sidebar__bottom{
  /* ✅ bleibt unten sichtbar */
  margin-top: 10px;
}

.nav-btn{
  width:100%;
  text-align:left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor:pointer;
  font-weight: 600;
}


#btnImpressum.nav-btn{
  text-align:left;
}


.nav-btn {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;

  padding: 10px 18px 10px 20px;

  border: 0;
  border-radius: 6px;

  background: transparent;
  color: #1b1b1b;

  font-family: "Segoe UI Variable", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;

  cursor: pointer;
  transition:
    background-color 120ms ease,
    color 120ms ease;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.055);
}

/* Ausgewählter Menüpunkt */
.nav-btn.active {
  color: #005a9e;
  background: #e5f1fb;
}

/* Blauer Windows-11-Indikator */
.nav-btn.active::before {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 4px;

  width: 3px;
  border-radius: 4px;

  background: #0067c0;
  content: "";
}

.nav-btn.active:hover {
  background: #dceefa;
}