/* ==========================================================================
   tasko – Kopfzeile (Startseite und alle Unterseiten)
   Eigene Klassennamen, damit nichts mit style.css (.nav, .btn) kollidiert.
   ========================================================================== */
.topbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: "Inter", system-ui, sans-serif;
}
.topbar a:focus-visible {
  outline: 2px solid #F5C518;
  outline-offset: 3px;
  border-radius: 4px;
}
.topbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar__brand:focus-visible { border-radius: 10px; }
.topbar__badge { width: 36px; height: 36px; display: block; }
.topbar__wordmark { height: 24px; width: auto; display: block; }

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  font-size: 15px;
  line-height: normal;
}
.topbar__link { color: #A9A9B6; text-decoration: none; }
.topbar__link:hover { color: #F2F2F5; }

.topbar__cta {
  display: inline-block;
  background: #F5C518;
  color: #0A0A0B;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 12px 20px;
}
.topbar__cta:hover { background: #FFD84D; color: #0A0A0B; }
.topbar a.topbar__cta:focus-visible { border-radius: 999px; }

@media (prefers-reduced-motion: no-preference) {
  .topbar__cta {
    transition:
      transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 220ms ease;
  }
  @media (hover: hover) {
    .topbar__cta:hover { transform: translateY(-2px); }
  }
}
