/* ============================================================================
   BASE CSS - höchstmass staff GmbH
   ============================================================================
   
   Design System für alle Seiten
   - CSS Custom Properties (Variables)
   - Reset & Basis-Styles
   - Typography
   - Container & Layout Utilities
   - Button Styles
   
   ============================================================================ */

:root {
    /* Primary Colors */
    --primary: #1e3a5f;
    --primary-light: #2c4a6e;
    --primary-dark: #152840;
    
    /* Accent Colors */
    --accent: #e67e22;
    --accent-light: #f39c12;
    --accent-dark: #d35400;

     /* Accent Shadow (for buttons etc.)
         Default = orange brand accent; can be overridden per page/theme */
     --accent-shadow: 0 4px 14px rgba(230, 126, 34, 0.3);
     --accent-shadow-hover: 0 6px 20px rgba(230, 126, 34, 0.4);
    
    /* Neutral Colors */
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Success/Trust */
    --success: #10b981;
    --success-light: #d1fae5;
    
    /* Bereichsfarben - Aushilfen & Leiharbeiter (Petrol/Teal) */
    --teal: #0d9488;
    --teal-light: #14b8a6;
    --teal-dark: #0f766e;
    --teal-bg: rgba(13, 148, 136, 0.08);
    
    /* Bereichsfarben - Messe & Event (Fuchsia/Magenta) */
    --fuchsia: #c026d3;
    --fuchsia-light: #d946ef;
    --fuchsia-dark: #a21caf;
    --fuchsia-bg: rgba(192, 38, 211, 0.08);
    
    /* Bereichsfarben - Professionals (Royalblau) */
    --royal: #2563eb;
    --royal-light: #3b82f6;
    --royal-dark: #1d4ed8;
    --royal-bg: rgba(37, 99, 235, 0.08);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --section-padding: 100px 0;
    --container-max: 1200px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ============================================
   RENDER PERFORMANCE — skip layout/paint for off-screen sections
============================================ */
.benefits-section,
.testimonials-section,
.webapp-section,
.comparison-section,
.faq-section,
.final-cta,
.ratgeber-section {
    content-visibility: auto;
    contain-intrinsic-size: auto 600px;
}

/* ============================================
   RESET & BASE
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    overflow-x: hidden;
}

/* ============================================
   CONTAINER
============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   TYPOGRAPHY
============================================ */
h1, h2, h3, h4, h5, h6 {
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 56px;
}

h2 {
    font-size: 44px;
}

h3 {
    font-size: 28px;
}

h4 {
    font-size: 20px;
}

p {
    margin-bottom: 1em;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-dark);
}

/* ============================================
   SECTION UTILITIES
============================================ */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 70px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(230, 126, 34, 0.1);
    color: var(--accent);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 20px;
    line-height: 1.15;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ============================================
   BUTTONS
============================================ */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    box-shadow: var(--accent-shadow);
}

.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: var(--accent-shadow-hover);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--gray-200);
}

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

/* Button Varianten */
.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}

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

.btn-white:hover {
    background: var(--gray-100);
}

/* ============================================
   LINK STYLES
============================================ */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.2s;
}

.link-arrow:hover {
    gap: 12px;
    color: var(--accent-dark);
}

/* ============================================
   RESPONSIVE BASE
============================================ */
@media (max-width: 1024px) {
    .section-title {
        font-size: 36px;
    }
    
    h1 {
        font-size: 44px;
    }
    
    h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 30px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 16px 28px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    h1 {
        font-size: 34px;
    }
}
