
/* ── Mobiles Header-Layout (alle App-Seiten) ── */
@media (max-width: 640px) {
  header {
    flex-wrap: wrap;
    padding: 8px 12px;
    gap: 6px;
  }
  .logo-img { height: 36px; }
  header h1 { flex-shrink: 0; }
  header nav {
    order: 3;
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 2px;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }
  header nav::-webkit-scrollbar { display: none; }
  header nav a {
    margin-left: 0 !important;
    padding: 7px 12px;
    white-space: nowrap;
    background: rgba(255,255,255,.1);
    border-radius: 5px;
    font-size: 13px;
    flex-shrink: 0;
  }
  header nav a:hover { background: rgba(255,255,255,.18); }
  .header-right { margin-left: auto; flex-shrink: 0; }
  .header-user { display: none; }
  #logout-btn { padding: 5px 10px; font-size: 12px; }
}
