/**
 * KI-Day 2026 Brand Variables
 * STRIKTE UMZ BRAND GUIDELINES (Referenz: ht.umz.app)
 * Erstellt: 2026-03-19
 */

:root {
  /* === PRIMÄRFARBE (UMZ BRAND) === */
  --brand-primary: #1D6795;           /* Deep Teal Blue - EINZIGE Hauptfarbe */
  --brand-primary-hover: #164e6f;     /* Teal Dark - Hover States */

  /* === FUNKTIONSFARBEN (Tailwind-basiert) === */
  --color-blue: #2563eb;              /* Blue-600 - Links, Icons */
  --color-green: #22c55e;             /* Green-500 - Success */
  --color-orange: #f97316;            /* Orange-500 - Highlights */
  --color-red: #ef4444;               /* Red-500 - Errors */

  /* === GRADIENT-STOPS (Animierter Hintergrund) === */
  --gradient-1: #fff7ed;              /* Pale Orange */
  --gradient-2: #fefce8;              /* Pale Yellow */
  --gradient-3: #f0fdf4;              /* Pale Green */
  --gradient-4: #ecfdf5;              /* Pale Mint */
  --gradient-5: #eff6ff;              /* Pale Blue */
  --gradient-6: #f0f9ff;              /* Pale Sky */
  --gradient-7: #fafafa;              /* Neutral White */

  /* === TEXT-FARBEN === */
  --text-heading: #111827;            /* Gray-900 - Headings */
  --text-body: #4b5563;               /* Gray-600 - Body Text */
  --text-body-dark: #374151;          /* Gray-700 - Darker Body */
  --text-subtle: #6b7280;             /* Gray-500 - Subtle Text */
  --text-muted: #9ca3af;              /* Gray-400 - Muted Text */
  --text-white: #ffffff;              /* White Text */

  /* === HINTERGRUND-FARBEN === */
  --bg-white: #ffffff;                /* White Cards */
  --bg-gray-50: #f9fafb;              /* Footer, Subtle Sections */
  --bg-gray-100: #f3f4f6;             /* Light Gray */
  --bg-blue-50: #eff6ff;              /* Blue Tint */
  --bg-blue-100: #dbeafe;             /* Blue Light */
  --bg-green-100: #dcfce7;            /* Green Light */
  --bg-orange-100: #ffedd5;           /* Orange Light */

  /* === BORDER-FARBEN === */
  --border-gray-200: #e5e7eb;         /* Light Borders */
  --border-gray-300: #d1d5db;         /* Standard Borders */
  --border-blue: #3b82f6;             /* Blue Borders */

  /* === SCHATTEN === */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* === BORDER-RADIUS === */
  --radius-sm: 8px;                   /* Small - Buttons, Inputs */
  --radius-md: 16px;                  /* Medium - Cards */
  --radius-lg: 24px;                  /* Large - Feature Cards */
  --radius-xl: 32px;                  /* Extra Large - Hero Sections */
  --radius-full: 9999px;              /* Full - Circles */

  /* === SPACING === */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  --spacing-4xl: 96px;

  /* === TYPOGRAPHY (SYSTEM FONTS!) === */
  --font-primary: Arial, Helvetica, sans-serif;
  --font-heading: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;
  --font-mono: 'Courier New', monospace;

  /* Font Sizes */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --text-5xl: 48px;
  --text-6xl: 60px;
  --text-7xl: 72px;

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Line Heights */
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.75;

  /* === TRANSITIONS === */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

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

  /* === MAX-WIDTHS === */
  --max-w-sm: 640px;
  --max-w-md: 768px;
  --max-w-lg: 1024px;
  --max-w-xl: 1280px;
  --max-w-2xl: 1536px;
  --max-w-full: 100%;

  /* === CONTAINER === */
  --container-padding: 16px;          /* Mobile */
  --container-max-width: 1280px;      /* Desktop (max-w-7xl) */
}

/* === GRADIENT-ANIMATION === */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* === UTILITY CLASSES === */

/* Animated Gradient Background (Signature Element) */
.animated-gradient {
  background: linear-gradient(
    135deg,
    var(--gradient-1),
    var(--gradient-2),
    var(--gradient-3),
    var(--gradient-4),
    var(--gradient-5),
    var(--gradient-6),
    var(--gradient-7)
  );
  background-size: 400% 400%;
  animation: gradientShift 45s ease infinite;
}

/* Card Styles */
.card-default {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-lg);
  transition: box-shadow var(--transition-base);
}

.card-default:hover {
  box-shadow: var(--shadow-xl);
}

.card-large {
  background-color: var(--bg-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--spacing-2xl);
}

/* Button Styles */
.btn-primary {
  background-color: var(--brand-primary);
  color: var(--text-white);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  transition: background-color var(--transition-base);
  box-shadow: var(--shadow-lg);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--brand-primary-hover);
}

.btn-secondary {
  background-color: var(--bg-white);
  color: var(--text-heading);
  border: 2px solid var(--border-gray-300);
  border-radius: var(--radius-sm);
  padding: var(--spacing-md) var(--spacing-2xl);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  transition: background-color var(--transition-base);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--bg-gray-50);
}

/* Icon Containers */
.icon-container-blue {
  width: 48px;
  height: 48px;
  background-color: var(--bg-blue-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
}

.icon-container-green {
  width: 48px;
  height: 48px;
  background-color: var(--bg-green-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-green);
}

.icon-container-round {
  width: 48px;
  height: 48px;
  background-color: var(--brand-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
}

/* Text Utilities */
.text-heading {
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: var(--font-bold);
}

.text-body {
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: var(--leading-relaxed);
}

/* Container */
.container-centered {
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

/* Section Spacing */
.section-spacing {
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-4xl);
}

/* === RESPONSIVE ADJUSTMENTS === */
@media (min-width: 768px) {
  :root {
    --container-padding: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container-padding: 32px;
  }
}
