/**
 * Design Tokens
 * ----
 * Alle Design-Entscheidungen als CSS-Variablen.
 * Änderungen hier wirken sich global aus — bitte verantwortungsvoll.
 *
 * Aesthetic Direction: Moderner, warmer Editorial-Look.
 * Nicht das generische Chinesisch-Restaurant-Rot/Gold.
 * Stattdessen: tiefes Chili-Orange als Akzent, warmes Off-White,
 * dunkles Nachtblau für Dinner-Sektionen.
 */

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

  /* Neutral / Base */
  --color-bg: #faf7f2;                   /* Warmes Off-White */
  --color-bg-elevated: #ffffff;
  --color-bg-subtle: #f2ede4;
  --color-bg-dusk: #1a1f2e;              /* Dunkles Nachtblau für Dinner-Sections */
  --color-bg-dusk-subtle: #242a3d;

  --color-text: #2a2420;                 /* Warmes Schwarz, kein reines #000 */
  --color-text-muted: #7a6f66;
  --color-text-subtle: #9d928a;
  --color-text-on-dusk: #f0ece5;

  /* Brand / Akzent */
  --color-accent: #c43c1a;               /* Tiefes Chili-Orange */
  --color-accent-hover: #a82f12;
  --color-accent-soft: rgba(196, 60, 26, 0.08);

  --color-secondary: #d4a574;            /* Warmes Amber für Secondary CTAs */
  --color-secondary-hover: #c4925e;

  /* Status */
  --color-success: #4a7c59;
  --color-warning: #d4920e;
  --color-error: #b33a3a;
  --color-info: #3b6d8f;

  /* Borders */
  --color-border: rgba(42, 36, 32, 0.12);
  --color-border-strong: rgba(42, 36, 32, 0.24);

  /* ================================
     TYPOGRAFIE
     ================================ */

  --font-display: 'Fraunces', 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', sans-serif;
  --font-chinese: 'Noto Serif SC', 'Songti SC', serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Type Scale (modular, 1.250 ratio) */
  --text-xs: 0.75rem;       /* 12px */
  --text-sm: 0.875rem;      /* 14px */
  --text-base: 1rem;        /* 16px */
  --text-lg: 1.125rem;      /* 18px */
  --text-xl: 1.375rem;      /* 22px */
  --text-2xl: 1.75rem;      /* 28px */
  --text-3xl: 2.25rem;      /* 36px */
  --text-4xl: 3rem;         /* 48px */
  --text-5xl: 4rem;         /* 64px */
  --text-6xl: 5.5rem;       /* 88px */

  /* Line Heights */
  --leading-tight: 1.1;
  --leading-snug: 1.3;
  --leading-normal: 1.55;
  --leading-relaxed: 1.75;

  /* Letter Spacing */
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.04em;
  --tracking-wider: 0.1em;

  /* Weights */
  --weight-light: 300;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  /* ================================
     SPACING (4px-Basis)
     ================================ */

  --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-8: 2rem;          /* 32px */
  --space-10: 2.5rem;       /* 40px */
  --space-12: 3rem;         /* 48px */
  --space-16: 4rem;         /* 64px */
  --space-20: 5rem;         /* 80px */
  --space-24: 6rem;         /* 96px */
  --space-32: 8rem;         /* 128px */

  /* ================================
     LAYOUT
     ================================ */

  --container-max: 1280px;
  --container-narrow: 880px;
  --container-wide: 1440px;

  --gutter-mobile: var(--space-4);
  --gutter-desktop: var(--space-8);

  /* ================================
     BORDER RADIUS
     ================================ */

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ================================
     SHADOWS
     ================================ */

  --shadow-sm: 0 1px 2px rgba(42, 36, 32, 0.05);
  --shadow-md: 0 4px 12px rgba(42, 36, 32, 0.08);
  --shadow-lg: 0 12px 32px rgba(42, 36, 32, 0.12);
  --shadow-xl: 0 24px 64px rgba(42, 36, 32, 0.16);
  --shadow-inner: inset 0 2px 4px rgba(42, 36, 32, 0.06);

  /* ================================
     TRANSITIONS
     ================================ */

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --duration-fast: 150ms;
  --duration-normal: 280ms;
  --duration-slow: 480ms;

  /* ================================
     Z-INDEX LAYERS
     ================================ */

  --z-base: 0;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;
}

/* ================================
   RESPONSIVE ANPASSUNGEN
   ================================ */

@media (max-width: 768px) {
  :root {
    --text-4xl: 2.25rem;
    --text-5xl: 2.75rem;
    --text-6xl: 3.5rem;
  }
}
