/* geldfuchs.ch — geteilter Plattform-Header („Chrome") für externe Konsumenten
   (z. B. play.geldfuchs.ch). Selbstständig: Werte inline, Font absolut, alle
   Selektoren strikt header-gescoped — kollidiert nicht mit Fremd-CSS.
   QUELLE der Optik ist css/styles.css — bei Header-Änderungen dort HIER
   nachziehen (Referenzwerte: Innenhöhe 74px, Container 1200px, CTA 42px). */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("https://geldfuchs.ch/assets/fonts/Inter-latin.woff2") format("woff2");
}

.site-header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #E3E3E3;
  z-index: 50;
  font-family: "Inter", -apple-system, "system-ui", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.site-header .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Gleiche Spezifitaet wie .site-header .container (0,2,0) + spaeter im File,
   sonst nullt dessen padding-Shorthand die 16px oben/unten (Innenhoehe 74px). */
.site-header .site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
  color: #141413;
  text-decoration: none;
  white-space: nowrap;
}
.site-logo:hover { text-decoration: none; }
/* Bildmarke ist 68×66, nicht quadratisch — Höhe frei lassen. */
.site-logo img { width: 32px; height: auto; }
.site-logo__mark { color: #082F7B; font-weight: 700; }

.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav a {
  color: #082F7B;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] { color: #059669; }

/* CTA selbstständig (ohne .btn-Abhängigkeit): Pille, Akzentgrün, 42px hoch. */
.site-nav .nav-cta,
.site-nav .nav-cta:hover {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #10B981;
  color: #fff;
  border: 2px solid transparent;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  text-decoration: none;
}
.site-nav .nav-cta:hover { filter: brightness(1.06); }
.site-nav .nav-cta img { width: 18px; height: auto; }

@media (min-width: 721px) {
  .site-nav--center { flex: 1 1 auto; }
  .site-nav--center > a:first-of-type { margin-left: auto; }
  .site-nav--center .nav-cta { margin-left: auto; }
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  color: #082F7B;
  cursor: pointer;
}
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 16px 24px;
    border-bottom: 1px solid #E3E3E3;
    box-shadow: 0 8px 16px rgba(20, 20, 19, 0.08);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid #F5F5F4;
    font-size: 16px;
  }
  .nav-toggle { display: inline-flex; }
  .site-nav .nav-cta { display: none; }
}
