/*
 * Golly Design Tokens – v0.1 (Entwurf 2026-07-02)
 * 1:1-KOPIE aus GollyBrain: 01_Projekte\GollyMarke\design-tokens.css (SSOT)
 * NIEMALS hier ändern – immer im GollyBrain ändern und nachziehen.
 * Übernommen: 2026-07-10
 *
 * Philosophie: warm, präzise – Apple (Weißraum) + Withings (präzise, warm)
 * Kein Tech-Blau, kein generisches Orange.
 */

:root {
  /* === FARBEN === */

  /* Primary – warmes Anthrazit (statt Tech-Blau) */
  --color-primary:         #2C2C2C;
  --color-primary-hover:   #1A1A1A;
  --color-primary-subtle:  #F5F3F0;

  /* Accent – warmes Bernstein (statt Orange) */
  --color-accent:          #C8882A;
  --color-accent-hover:    #A87020;
  --color-accent-subtle:   #FDF6EC;

  /* Surface / Background */
  --color-surface:         #FFFFFF;
  --color-surface-muted:   #F8F6F3;
  --color-surface-raised:  #F0EDE8;

  /* Text */
  --color-text-primary:    #1A1A1A;
  --color-text-secondary:  #6B6560;
  --color-text-muted:      #9E9890;
  --color-text-inverse:    #FFFFFF;

  /* Border */
  --color-border:          #E4E0DA;
  --color-border-strong:   #C8C4BE;

  /* Semantic */
  --color-success:         #2D7D46;
  --color-warning:         #C8882A;
  --color-error:           #C0392B;
  --color-info:            #2C5F8A;

  /* === TYPOGRAFIE === */

  /* Empfehlung: Inter (UI) + Lora (Display/Headlines) */
  --font-ui:       'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display:  'Lora', 'Georgia', serif;   /* warm, humanistisch für Headlines */
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;

  --text-xs:    0.75rem;   /*  12px */
  --text-sm:    0.875rem;  /*  14px */
  --text-base:  1rem;      /*  16px */
  --text-lg:    1.125rem;  /*  18px */
  --text-xl:    1.25rem;   /*  20px */
  --text-2xl:   1.5rem;    /*  24px */
  --text-3xl:   1.875rem;  /*  30px */
  --text-4xl:   2.25rem;   /*  36px */

  --font-normal:   400;
  --font-medium:   500;
  --font-semibold: 600;
  --font-bold:     700;

  --leading-tight:  1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* === ABSTÄNDE === */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;

  /* === RADIEN === */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-full: 9999px;

  /* === SCHATTEN === */
  --shadow-sm:  0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 24px rgba(0,0,0,0.10);
  --shadow-xl:  0 16px 48px rgba(0,0,0,0.12);

  /* === ANIMATION === */
  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   400ms;
  --ease-default:    cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark Mode (optional, vorbereitet) */
@media (prefers-color-scheme: dark) {
  :root {
    --color-surface:        #1A1A1A;
    --color-surface-muted:  #242424;
    --color-surface-raised: #2C2C2C;
    --color-text-primary:   #F5F3F0;
    --color-text-secondary: #A8A29E;
    --color-text-muted:     #78716C;
    --color-border:         #3A3630;
    --color-border-strong:  #504B45;
  }
}
