/**
 * STC Massong – Design Tokens
 * Zentrale CSS-Variablen für das gesamte Design-System.
 * Alle Farben, Abstände, Schriften, Radien und Schatten hier definieren –
 * niemals Hardcoded-Werte in anderen CSS-Dateien verwenden.
 */

:root {
  /* ═══════════════════════════
     MARKENFARBEN
  ═══════════════════════════ */
  --color-brand:          #9fc428;
  --color-brand-dark:     #8ab01f;
  --color-brand-darker:   #739916;
  --color-brand-light:    #b8d94e;
  --color-brand-subtle:   #f0f8e0;
  --color-brand-subtle-2: #f4f9e6;
  --color-brand-border:   #d1e88c;

  /* ═══════════════════════════
     NEUTRALE FARBEN
  ═══════════════════════════ */
  --color-black:          #1a1a1a;
  --color-dark:           #2d2d2d;
  --color-dark-mid:       #3d3d3d;
  --color-text:           #333333;
  --color-text-secondary: #444444;
  --color-text-muted:     #555555;
  --color-text-light:     #666666;
  --color-text-xlight:    #888888;
  --color-text-faint:     #999999;
  --color-border:         #e5e7eb;
  --color-border-strong:  #d1d5db;
  --color-bg:             #f5f7fa;
  --color-bg-alt:         #f5f5f5;
  --color-bg-card:        #ffffff;
  --color-bg-hover:       #f9fafb;
  --color-bg-subtle:      #f3f4f6;

  /* ═══════════════════════════
     STATUS-FARBEN
  ═══════════════════════════ */
  --color-success:        #10b981;
  --color-success-dark:   #059669;
  --color-success-bg:     #d1fae5;
  --color-success-text:   #065f46;
  --color-success-text-2: #065f46;

  --color-warning:        #f59e0b;
  --color-warning-dark:   #d97706;
  --color-warning-bg:     #fef3c7;
  --color-warning-text:   #92400e;

  --color-error:          #dc2626;
  --color-error-dark:     #b91c1c;
  --color-error-bg:       #fee2e2;
  --color-error-text:     #991b1b;
  --color-error-text-2:   #991b1b;

  --color-info:           #3b82f6;
  --color-info-bg:        #dbeafe;
  --color-info-text:      #075985;

  /* ═══════════════════════════
     TYPOGRAFIE
  ═══════════════════════════ */
  --font-family:          -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                          'Helvetica Neue', Arial, sans-serif;

  --font-size-xs:         0.75rem;    /* 12px */
  --font-size-sm:         0.875rem;   /* 14px */
  --font-size-base:       1rem;       /* 16px */
  --font-size-md:         0.95rem;    /* 15.2px */
  --font-size-lg:         1.1rem;     /* 17.6px */
  --font-size-xl:         1.25rem;    /* 20px */
  --font-size-2xl:        1.5rem;     /* 24px */
  --font-size-3xl:        1.75rem;    /* 28px */
  --font-size-4xl:        1.875rem;   /* 30px */
  --font-size-5xl:        2rem;       /* 32px */
  --font-size-6xl:        2.25rem;    /* 36px */
  --font-size-7xl:        2.5rem;     /* 40px */

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

  --line-height-tight:    1.25;
  --line-height-snug:     1.3;
  --line-height-normal:   1.6;
  --line-height-relaxed:  1.75;
  --line-height-loose:    1.8;

  /* ═══════════════════════════
     ABSTÄNDE (Spacing Scale)
  ═══════════════════════════ */
  --space-0:   0;
  --space-1:   0.25rem;   /* 4px  */
  --space-2:   0.5rem;    /* 8px  */
  --space-3:   0.75rem;   /* 12px */
  --space-4:   1rem;      /* 16px */
  --space-5:   1.25rem;   /* 20px */
  --space-6:   1.5rem;    /* 24px */
  --space-7:   1.75rem;   /* 28px */
  --space-8:   2rem;      /* 32px */
  --space-9:   2.25rem;   /* 36px */
  --space-10:  2.5rem;    /* 40px */
  --space-12:  3rem;      /* 48px */
  --space-14:  3.5rem;    /* 56px */
  --space-16:  4rem;      /* 64px */
  --space-20:  5rem;      /* 80px */

  /* ═══════════════════════════
     LAYOUT
  ═══════════════════════════ */
  --container-max:      1200px;
  --container-admin:    1400px;
  --container-narrow:   860px;
  --container-padding:  2rem;

  /* ═══════════════════════════
     RAHMEN & SCHATTEN
  ═══════════════════════════ */
  --radius-xs:   2px;
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   12px;
  --radius-xl:   16px;
  --radius-2xl:  20px;
  --radius-full: 9999px;

  --shadow-sm:    0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md:    0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-lg:    0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-xl:    0 10px 25px rgba(0, 0, 0, 0.15);
  --shadow-2xl:   0 20px 60px rgba(0, 0, 0, 0.30);
  --shadow-brand: 0 5px 15px rgba(159, 196, 40, 0.35);
  --shadow-dark:  0 2px 10px rgba(0, 0, 0, 0.30);

  /* ═══════════════════════════
     ÜBERGÄNGE
  ═══════════════════════════ */
  --transition-fast:   150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow:   300ms ease;
  --transition-cubic:  300ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ═══════════════════════════
     Z-INDEX SCHICHTEN
  ═══════════════════════════ */
  --z-below:    -1;
  --z-base:     0;
  --z-raised:   10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    1000;
  --z-toast:    1100;
  --z-a11y:     999999;
}
