/* ============================================================
   TranvoGo – Global Brand Stylesheet
   Include on every page: <link rel="stylesheet" href="/css/brand.css">
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Brand Colors — TranvoGo Neon Orange / Dark */
  --tg-orange:     #F0650E;
  --tg-orange2:    #FF8C42;
  --tg-orange-dim: rgba(240, 101, 14, 0.15);
  --tg-dark:       #0B0F1A;
  --tg-dark2:      #131929;
  --tg-dark3:      #1A2235;
  --tg-border:     #1E2D47;
  --tg-text:       #EEF4FF;
  --tg-muted:      rgba(255, 255, 255, 0.45);
  --tg-subtle:     rgba(255, 255, 255, 0.65);

  /* Typography — Inter als System-Standard */
  --tg-font: 'Inter', system-ui, sans-serif;

  /* Legacy aliases — pages that don't define these locally inherit the canonical value */
  --orange:     var(--tg-orange);
  --orange2:    var(--tg-orange2);
  --orange-dim: var(--tg-orange-dim);
  --amber:      var(--tg-orange);
  --amber2:     var(--tg-orange2);
  --amber-dim:  var(--tg-orange-dim);
  --bg:         var(--tg-dark);
  --ink:        var(--tg-dark);
  --sand:       var(--tg-dark);
  --border:     var(--tg-border);
  --text:       var(--tg-text);
  --muted:      var(--tg-muted);
  --subtle:     var(--tg-subtle);
}

/* ── PLATFORM NAV ───────────────────────────────────────────── */
.tg-nav {
  background: var(--tg-dark);
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 max(24px, env(safe-area-inset-left));
  border-bottom: 2px solid var(--tg-orange);
  position: sticky;
  top: 0;
  z-index: 200;
  flex-shrink: 0;
}
.tg-nav-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tg-nav-logo {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.tg-nav-logo img {
  width: 140px;
  height: auto;
  display: block;
}
.tg-nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.tg-nl {
  color: var(--tg-muted);
  text-decoration: none;
  font-family: var(--tg-font);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.15s;
  white-space: nowrap;
}
.tg-nl:hover,
.tg-nl.active {
  background: var(--tg-orange-dim);
  color: var(--tg-orange);
}
.tg-nav-right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-shrink: 0;
}
.tg-nav-cta {
  background: var(--tg-orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--tg-font);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 7px 16px;
  border-radius: 7px;
  white-space: nowrap;
  transition: background 0.15s;
}
.tg-nav-cta:hover { background: var(--tg-orange2); }

@media (max-width: 768px) {
  .tg-nav-links { display: none; }
}

/* ── PLATFORM FOOTER ────────────────────────────────────────── */
.tg-footer {
  background: var(--tg-dark);
  border-top: 1px solid var(--tg-border);
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.tg-footer-copy {
  font-family: var(--tg-font);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.25);
}
.tg-footer-links {
  display: flex;
  gap: 20px;
}
.tg-footer-link {
  font-family: var(--tg-font);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.15s;
}
.tg-footer-link:hover { color: var(--tg-orange); }

/* ── TYPOGRAPHY UTILITIES ───────────────────────────────────── */
.font-inter    { font-family: 'Inter', sans-serif !important; }
