:root{
  --accent: #58a6ff;
  --nav-h: 64px;
  --nav-radius: 999px;

  --nav-bg: rgba(20, 22, 26, .55);     /* transparent + dark */
  --slider-bg: rgba(255,255,255,.08);  /* etwas heller als nav */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* immer unten + Platz schaffen */
html, body { height: 100%; }
body{
  min-height: 100vh;
  padding-bottom: calc(var(--nav-h) + 1.25rem + var(--safe-bottom));
}

/* Container */
.bottom-nav{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(0.75rem + var(--safe-bottom));

  width: calc(100% - 2rem);
  max-width: 1000px;
  height: var(--nav-h);

  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;

  padding: 0.5rem;
  border-radius: var(--nav-radius);

  background: var(--nav-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);

  z-index: 9999;
  -webkit-tap-highlight-color: transparent;
}

/* Slider (hinter dem aktiven Item) */
.nav-slider{
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 0;

  width: 0;
  border-radius: 999px;
  background: var(--slider-bg);

  transform: translateX(0);
  opacity: 0;

  transition: transform .18s ease, width .18s ease, opacity .12s ease;
  pointer-events: none;
}

/* Item */
.nav-item{
  position: relative;
  height: calc(var(--nav-h) - 1rem);
  display: grid;
  place-items: center;
  text-decoration: none;

  /* Default: weiss, keine Opacity */
  color: #ffffff;
}

/* Active: blau */
.nav-item.is-active{
  color: var(--accent);
}
	

.icon{
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.icon svg{
  width: 26px;
  height: 26px;
  display: block;

  /* KEINE Farbe, KEIN stroke, KEIN fill */
}



.bottom-nav .nav-item:hover{
  color: inherit;
  background: none;
}

