/* ===== Font Faces ===== */

/* Nunito Sans Regular */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-v19-latin-regular.woff2') format('woff2');
}

/* Nunito Sans Bold */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/nunito-sans-v19-latin-700.woff2') format('woff2');
}

/* Roboto Regular */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-v49-latin-regular.woff2') format('woff2');
}

/* Roboto Bold */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-v49-latin-700.woff2') format('woff2');
}

:root {
  /* ===== Hauptfarben ===== */
  --color-primary: #4a90e2;
  --color-primary-light: #6ba8f0;
  --color-primary-dark: #3a7bc8;
  --color-primary-rgb: 74, 144, 226;

  --color-secondary: #ff6b35;
  --color-secondary-light: #ff8559;
  --color-secondary-dark: #e65520;
  --color-secondary-rgb: 255, 107, 53;

  /* ===== Textfarben ===== */
  --color-text-dark: #1a1a1a;
  --color-text-light: #ffffff;
  --color-text-muted: #666666;
  --color-text-muted-light: #999999;

  /* ===== Hintergründe (Dark Theme) ===== */
  /* Primärer dunkler Hintergrund */
  --color-bg-primary: #0a0a0a;
  --color-bg-elevated: #141414;
  --color-bg-elevated-2: #1a1a1a;
  --color-bg-elevated-3: #1e1e1e;

  /* Legacy-Variablen für Kompatibilität */
  --color-bg-light: #141414;        /* Jetzt dunkel statt weiß */
  --color-bg-dark: #0a0a0a;
  --color-bg-dark-elevated: #1a1a1a;
  --color-bg-alt: #0f0f0f;          /* Jetzt dunkel statt hell */
  --color-bg-alt-dark: #1e1e1e;

  /* ===== Statusfarben ===== */
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --color-info: #3b82f6;

  /* ===== Borders (Dark Theme) ===== */
  --color-border-subtle: rgba(255, 255, 255, 0.05);
  --color-border-light: rgba(255, 255, 255, 0.08);
  --color-border-medium: rgba(255, 255, 255, 0.12);
  --color-border-dark: #333333;
  --color-border-primary: rgba(74, 144, 226, 0.3);

  /* ===== Typografie ===== */
  --font-primary: 'Nunito Sans', sans-serif;
  --font-secondary: 'Roboto', sans-serif;

  /* Font Sizes */
  --font-size-xs: 0.75rem;      /* 12px */
  --font-size-sm: 0.875rem;     /* 14px */
  --font-size-base: 1rem;       /* 16px */
  --font-size-lg: 1.125rem;     /* 18px */
  --font-size-xl: 1.25rem;      /* 20px */
  --font-size-2xl: 1.5rem;      /* 24px */
  --font-size-3xl: 1.875rem;    /* 30px */
  --font-size-4xl: 2.25rem;     /* 36px */
  --font-size-5xl: 3rem;        /* 48px */
  --font-size-6xl: 3.75rem;     /* 60px */

  /* Line Heights */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  --line-height-loose: 2;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* ===== Spacing ===== */
  --spacing-xs: 0.5rem;         /* 8px */
  --spacing-sm: 1rem;           /* 16px */
  --spacing-md: 1.5rem;         /* 24px */
  --spacing-lg: 2rem;           /* 32px */
  --spacing-xl: 3rem;           /* 48px */
  --spacing-2xl: 4rem;          /* 64px */
  --spacing-3xl: 6rem;          /* 96px */
  --spacing-4xl: 8rem;          /* 128px */

  /* ===== Border Radius ===== */
  --radius-sm: 0.25rem;         /* 4px */
  --radius-md: 0.5rem;          /* 8px */
  --radius-lg: 0.75rem;         /* 12px */
  --radius-xl: 1rem;            /* 16px */
  --radius-2xl: 1.5rem;         /* 24px */
  --radius-full: 9999px;

  /* ===== Shadows (Dark Theme optimiert) ===== */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6), 0 2px 4px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7), 0 4px 6px -2px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8), 0 10px 10px -5px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.9);

  /* Glow Effects (stärker für Dark Theme) */
  --glow-primary: 0 0 30px rgba(74, 144, 226, 0.4);
  --glow-primary-sm: 0 0 15px rgba(74, 144, 226, 0.2);
  --glow-secondary: 0 0 30px rgba(255, 107, 53, 0.4);
  --glow-secondary-sm: 0 0 15px rgba(255, 107, 53, 0.2);

  /* ===== Transitions ===== */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 250ms ease-in-out;
  --transition-slow: 350ms ease-in-out;
  --transition-slower: 400ms ease-in-out;

  /* ===== Layout ===== */
  --container-max-width: 1280px;
  --container-padding: 1rem;
  --container-padding-lg: 2rem;

  /* Grid */
  --grid-gap: 1.5rem;
  --grid-gap-sm: 1rem;
  --grid-gap-lg: 2rem;

  /* ===== Breakpoints ===== */
  --breakpoint-sm: 640px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 1024px;
  --breakpoint-xl: 1280px;
  --breakpoint-2xl: 1536px;

  /* ===== Z-Index Scale ===== */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* ===== Section Dividers (Dark Theme) ===== */
  --divider-subtle: 1px solid rgba(255, 255, 255, 0.03);
  --divider-light: 1px solid rgba(255, 255, 255, 0.06);
  --divider-medium: 1px solid rgba(255, 255, 255, 0.1);
  --divider-primary: 2px solid rgba(74, 144, 226, 0.2);
  --divider-gradient: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.3), transparent);
}