/* =================================================================
   CSS VARIABLES & FOUNDATION
   Spielmannszug Rhede 2025 - Mobile First Redesign
   ================================================================= */

   :root {
    /* === COLORS === */
    /* Brand Colors aus dem Logo */
    --color-primary: #34623f;        /* Dunkelgrün - Hauptfarbe */
    --color-primary-light: #479b33;  /* Hellgrün - Akzentfarbe */
    --color-primary-pale: #d6dfd3;   /* Blassgrün - Hintergründe */
    --color-primary-dark: #2a4f32;   /* Dunkleres Grün - Hover States */
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Semantic Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* === TYPOGRAPHY === */
    /* Font Stacks - Modern Google Fonts */
    --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-headings: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Font Sizes - Mobile First */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    
    /* Font Weights */
    --font-light: 300;
    --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;
    
    /* === SPACING === */
    /* Mobile-optimierte Abstände */
    --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 */
    
    /* === LAYOUT === */
    /* Container Widths */
    --container-mobile: 100%;
    --container-tablet: 768px;
    --container-desktop: 1024px;
    --container-wide: 1200px;
    
    /* Breakpoints */
    --bp-sm: 576px;     /* Large Mobile */
    --bp-md: 768px;     /* Tablet */
    --bp-lg: 992px;     /* Desktop */
    --bp-xl: 1200px;    /* Large Desktop */
    
    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.5rem;    /* 8px */
    --radius-lg: 0.75rem;   /* 12px */
    --radius-xl: 1rem;      /* 16px */
    --radius-full: 9999px;  /* Vollrund */
    
    /* === SHADOWS === */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* Brand Shadows mit Grün-Ton */
    --shadow-brand: 0 4px 6px -1px rgba(52, 98, 63, 0.1), 0 2px 4px -1px rgba(52, 98, 63, 0.06);
    --shadow-brand-lg: 0 10px 15px -3px rgba(52, 98, 63, 0.1), 0 4px 6px -2px rgba(52, 98, 63, 0.05);
    
    /* === TRANSITIONS === */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* === Z-INDEX === */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
    
    /* === HEADER SPECIFIC === */
    --header-height-mobile: 50px;
    --header-height-desktop: 80px;
    --bottom-nav-height: 70px;
  }
  
  /* === RESPONSIVE DESIGN SYSTEM === */
  /* Media Query Mixins als CSS Custom Properties */
  @media (min-width: 576px) {
    :root {
      /* Tablet Adjustments */
      --text-base: 1.125rem;   /* 18px */
      --text-lg: 1.25rem;     /* 20px */
      --text-xl: 1.375rem;    /* 22px */
      --text-2xl: 1.625rem;   /* 26px */
      --text-3xl: 2rem;       /* 32px */
      --text-4xl: 2.5rem;     /* 40px */
    }
  }
  
  @media (min-width: 768px) {
    :root {
      /* Desktop Typography */
      --text-base: 1.125rem;   /* 18px */
      --text-lg: 1.375rem;    /* 22px */
      --text-xl: 1.5rem;      /* 24px */
      --text-2xl: 1.75rem;    /* 28px */
      --text-3xl: 2.25rem;    /* 36px */
      --text-4xl: 3rem;       /* 48px */
      --text-5xl: 3.75rem;    /* 60px */
    }
  }
  
  /* === UTILITY CLASSES === */
  /* Diese werden in den Komponenten wiederverwendet */
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  .container {
    width: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-4);
  }
  
  @media (min-width: 576px) {
    .container {
      padding: 0 var(--space-6);
    }
  }
  
  @media (min-width: 768px) {
    .container {
      padding: 0 var(--space-8);
    }
  }

  /* === UTILITY CLASSES === */
/* Text Alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.mx-auto { margin-left: auto; margin-right: auto; }

/* Display Utilities */
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-block { display: block; }

/* Flex Utilities */
.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }

/* Width Utilities */
.w-100 { width: 100%; }
.w-auto { width: auto; }
.max-w-400 { max-width: 400px; }  