/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   Team Hallauer - Maler- & Stuckateur-Meisterbetrieb
   ========================================================================== */

/* Lokale Schriftart Barlow */
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local('Barlow Medium'),
       url('../fonts/Barlow-Medium.woff2') format('woff2'),
       url('../fonts/Barlow-Medium.woff') format('woff');
}

:root {
  /* Marken- und Akzentfarben */
  --color-primary: #94d600;          /* Hallauer Grün */
  --color-primary-dark: #7bb300;     /* Hallauer Grün Dunkel (Hover) */
  --color-primary-light: #eaf8cc;    /* Helles Grün für Badges */
  
  --color-secondary: #0098ce;        /* Hallauer Blau */
  --color-secondary-dark: #007ba8;   /* Hallauer Blau Dunkel */
  --color-secondary-light: #e0f4fc;  /* Helles Blau für Tags */
  
  --color-accent: #d60037;           /* Hallauer Rot für Akzente */
  --color-accent-dark: #b0002d;

  /* Neutrale Töne & Textfarben */
  --color-text: #1e242b;             /* Dunkles Anthrazit für optimale Lesbarkeit */
  --color-text-muted: #55606d;       /* Dezentes Grau für Fließtext & Metadaten */
  --color-text-light: #8c9ba5;       /* Helles Grau */
  
  /* Hintergründe & Flächen */
  --color-bg: #ffffff;
  --color-surface: #f8fafc;          /* Sanfter Sektionshintergrund */
  --color-surface-card: #ffffff;
  --color-surface-alt: #f1f5f9;      /* Dezentes Grau für Kontrastblöcke */
  --color-border: #e2e8f0;           /* Feine Trennlinien */
  --color-border-hover: #cbd5e1;
  --color-dark: #161b22;             /* Tiefes Dunkelblau-Grau für Footer */
  --color-dark-surface: #21262d;

  /* Typografie */
  --font-family-base: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-heading: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Fluid Typography via clamp() – skaliert sauber ab 300px bis Desktop */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-md: clamp(1rem, 1.2vw + 0.65rem, 1.125rem);        /* 16 - 18px */
  --font-size-lg: clamp(1.125rem, 1.8vw + 0.35rem, 1.5rem);      /* 18 - 24px */
  --font-size-xl: clamp(1.25rem, 2.5vw + 0.35rem, 1.875rem);     /* 20 - 30px */
  --font-size-2xl: clamp(1.375rem, 3.2vw + 0.25rem, 2.35rem);    /* 22 - 37.6px */
  --font-size-3xl: clamp(1.625rem, 4.5vw + 0.35rem, 3.25rem);    /* 26 - 52px (Hero) */

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-loose: 1.8;

  /* Abstände (8px Raster) */
  --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 */

  /* Layout & Container */
  --container-max: 1200px;
  --container-narrow: 840px;
  --container-padding: clamp(0.875rem, 4vw, 2rem);

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

  /* Schatten */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);

  /* Transitionen */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

