@media only screen and (max-width: 850px) {
  :root {
    --header-height: 60px;
    --tabbar-height: 75px;
  }

  /* Die fixierte Tab-Bar unten */
  .tab-bar {
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 85px; /* Oder deine gewünschte Höhe */
    display: flex;
    justify-content: space-around;
    align-items: flex-start; /* Symbole oben in der Leiste halten */
    padding-top: 25px;
    border-top: 0px solid #ddd;
    z-index: 5000; /* Ganz wichtig! */
    padding-bottom: env(safe-area-inset-bottom); /* Platz für den Home-Balken beim iPhone */
  }


  .tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #8e8e93;
    font-size: 0.7rem;
  }
  .tab-item.active { color: #007AFF; }
  .tab-item i { font-size: 1.4rem; margin-bottom: 3px; }

}

