/* ============================================================
   coachex – gemeinsames Grundgerüst für alle Seiten
   (Kopfzeile, Fußzeile, Grundtypografie, Logo-Farben)
   Seitenspezifisches steht weiterhin inline in der jeweiligen Datei.
   Schriften: fonts.css – bitte vor dieser Datei einbinden.
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: #262626;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; }

/* ---- Logo: zwei Farbflächen über CSS-Variablen ---- */
.lg-main { fill: var(--lg-main, currentColor); }
.lg-ex   { fill: var(--lg-ex, currentColor); }

/* ---- Kopfzeile ---- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  z-index: 1000;
  padding: 14px 0;
}
nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo svg { height: 30px; width: auto; display: block; --lg-main: #1E8A56; --lg-ex: #262626; }
.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #EAF6EF;
  border: 1px solid #cfe8db;
  color: #146C43;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.nav-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #1E8A56;
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(30,138,86,0.20); }
  50% { box-shadow: 0 0 0 6px rgba(30,138,86,0.08); }
}

/* ---- Sprachumschalter ---- */
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: inline-flex;
  background: #F4FAF6;
  border: 1px solid #E2E2E2;
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch a, .lang-switch span {
  text-decoration: none;
  color: #5A5A5A;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 5px 11px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.lang-switch a:hover { color: #146C43; }
.lang-switch .active { background: #1E8A56; color: #fff; }

/* ---- Button ---- */
.btn-primary {
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  background: #ffffff;
  color: #146C43;
  box-shadow: 0 10px 28px rgba(0,0,0,0.20);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.26); }

/* ---- Fußzeile ---- */
footer { background: #262626; color: rgba(255,255,255,0.75); padding: 34px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 10px; }
.footer-brand svg { height: 26px; width: auto; display: block; --lg-main: #ffffff; --lg-ex: #A5E8C8; }
.footer-claim { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.55); }
.footer-bottom a { color: rgba(255,255,255,0.75); text-decoration: underline; }
.footer-bottom a:hover { color: #fff; }

/* ---- Responsive ---- */
@media (max-width: 968px) {
  .nav-badge { display: none; }
}
@media (max-width: 420px) {
  .lang-switch a, .lang-switch span { padding: 5px 8px; font-size: 0.72rem; }
}
@media (max-width: 600px) {
  .btn-primary { width: 100%; justify-content: center; }
  .logo svg { height: 24px; }
}
