/* M-Familie · money. mind. muscle. – Design Tokens
   Einbinden: <link rel="stylesheet" href="/brand/tokens.css">
   Schriften:  <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@500;700&display=swap"> */

:root {
  /* Markenfarbe #00C94E */
  --brand: #00C94E;              /* Icon-Kachel, Punkt der Wortmarke, große Flächen/Grafiken */
  --brand-strong: #00C94E;       /* Primärfarbe: Buttons, Links, Auswahl – gleich wie der Punkt */
  --brand-deep: #00B045;         /* Hover / gedrückt */
  --brand-soft: #DDF7E6;         /* getönte Flächen, Auswahl */
  --brand-dot: #00C94E;          /* der Punkt – in beiden Modi gleich */

  /* Neutrale */
  --color-bg: #F5F7F7;
  --color-surface: #FFFFFF;
  --color-line: #DCE5E4;
  --color-text: #1B2B2C;
  --color-text-muted: #55696A;
  --color-on-brand: #121C1E;     /* Schrift auf --brand-strong (dunkel, weiß wäre auf #00C94E kaum lesbar) */

  /* Schrift */
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Form */
  --radius-card: 16px;
  --radius-control: 10px;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand-strong: #00C94E;
    --brand-deep: #2EE07A;
    --brand-soft: #143A24;
    --color-bg: #121C1E;
    --color-surface: #1A2729;
    --color-line: #2A3B3D;
    --color-text: #E8EFEE;
    --color-text-muted: #94A9A7;
    --color-on-brand: #121C1E;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand-strong: #00C94E;
  --brand-deep: #2EE07A;
  --brand-soft: #143A24;
  --color-bg: #121C1E;
  --color-surface: #1A2729;
  --color-line: #2A3B3D;
  --color-text: #E8EFEE;
  --color-text-muted: #94A9A7;
  --color-on-brand: #121C1E;
  color-scheme: dark;
}

/* Wortmarke: <span class="wordmark">money<span class="wordmark-dot">.</span></span> */
.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--color-text);
  text-transform: lowercase;
}
.wordmark-dot { color: var(--brand-dot); }

/* Icon-Glyphe in der App (glyph.svg nutzt currentColor, Akzent in Markenfarbe) */
.brand-glyph { color: var(--color-text); width: 1.5em; height: 1.5em; }
