/* ============================================
   UHL IT - Main Stylesheet
   Modern, Clean, Performance-Focused Design
   ============================================ */

/* CSS Custom Properties / Design Tokens */
:root {
    /* Colors - Dark Gaming Theme (Default) */
    --color-bg-primary: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-tertiary: #1a1a25;
    --color-bg-card: #15151f;
    --color-bg-hover: #1e1e2a;
    
    /* Accent Colors */
    --color-accent-primary: #6366f1;
    --color-accent-secondary: #8b5cf6;
    --color-accent-gradient: linear-gradient(135deg, #6366f1, #8b5cf6);
    --color-accent-glow: rgba(99, 102, 241, 0.3);
    
    /* Gaming RGB Accents */
    --color-gaming-red: #ef4444;
    --color-gaming-green: #22c55e;
    --color-gaming-blue: #3b82f6;
    --color-gaming-cyan: #06b6d4;
    
    /* Text Colors */
    --color-text-primary: #f8fafc;
    --color-text-secondary: #94a3b8;
    --color-text-muted: #64748b;
    --color-text-accent: #a5b4fc;
    
    /* Borders */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(255, 255, 255, 0.15);
    
    /* Status Colors */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Font Sizes - Fluid Typography */
    --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
    --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
    --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
    --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
    --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.5rem, 1.25rem + 1.25vw, 2rem);
    --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 2.5rem);
    --text-4xl: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem);
    --text-5xl: clamp(3rem, 2rem + 5vw, 5rem);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Layout */
    --container-max: 1280px;
    --container-padding: clamp(1rem, 5vw, 2rem);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px var(--color-accent-glow);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-popover: 500;
    --z-tooltip: 600;
}

/* ============================================
   Light Mode Theme
   ============================================ */
[data-theme="light"] {
    --color-bg-primary: #ffffff;
    --color-bg-secondary: #f8fafc;
    --color-bg-tertiary: #f1f5f9;
    --color-bg-card: #ffffff;
    --color-bg-hover: #e2e8f0;
    
    --color-accent-primary: #4f46e5;
    --color-accent-secondary: #7c3aed;
    --color-accent-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
    --color-accent-glow: rgba(79, 70, 229, 0.2);
    
    --color-text-primary: #0f172a;
    --color-text-secondary: #475569;
    --color-text-muted: #64748b;
    --color-text-accent: #4f46e5;
    
    --color-border: rgba(0, 0, 0, 0.1);
    --color-border-hover: rgba(0, 0, 0, 0.2);
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px var(--color-accent-glow);
}

/* ============================================
   High Contrast Mode (Accessibility)
   ============================================ */
[data-theme="contrast"] {
    --color-bg-primary: #000000;
    --color-bg-secondary: #0a0a0a;
    --color-bg-tertiary: #141414;
    --color-bg-card: #0a0a0a;
    --color-bg-hover: #1a1a1a;
    
    --color-accent-primary: #00ffff;
    --color-accent-secondary: #ffff00;
    --color-accent-gradient: linear-gradient(135deg, #00ffff, #00ff00);
    --color-accent-glow: rgba(0, 255, 255, 0.4);
    
    --color-text-primary: #ffffff;
    --color-text-secondary: #e0e0e0;
    --color-text-muted: #b0b0b0;
    --color-text-accent: #00ffff;
    
    --color-border: rgba(255, 255, 255, 0.3);
    --color-border-hover: rgba(255, 255, 255, 0.5);
    
    --color-success: #00ff00;
    --color-warning: #ffff00;
    --color-error: #ff0000;
    
    --shadow-glow: 0 0 20px var(--color-accent-glow);
}

/* High Contrast specific overrides */
[data-theme="contrast"] .btn-primary {
    background: var(--color-accent-primary);
    color: #000000;
    font-weight: 700;
}

[data-theme="contrast"] .btn-primary:hover {
    background: #ffffff;
}

[data-theme="contrast"] a {
    text-decoration: underline;
}

[data-theme="contrast"] .card {
    border-width: 2px;
}

[data-theme="contrast"] *:focus {
    outline: 3px solid var(--color-accent-primary) !important;
    outline-offset: 3px !important;
}

/* ============================================
   CSS Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

:focus-visible {
    outline: 2px solid var(--color-accent-primary);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--color-accent-primary);
    color: white;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    z-index: var(--z-tooltip);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: var(--space-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text-primary);
}

h1 { font-size: var(--text-4xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
}

a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-secondary);
}

strong { font-weight: 600; }

/* Layout Components */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-header h2 {
    margin-bottom: var(--space-md);
}

.section-header p {
    font-size: var(--text-lg);
}

/* Header & Navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    z-index: var(--z-fixed);
    padding: var(--space-md) 0;
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.9);
}

[data-theme="contrast"] .site-header {
    background: rgba(0, 0, 0, 0.95);
    border-bottom-width: 2px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

@media (max-width: 900px) {
    .header-inner {
        gap: var(--space-sm);
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-text-primary);
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: var(--color-text-primary);
}

.logo-icon {
    font-size: 1.5em;
}

.logo-accent {
    background: var(--color-accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    list-style: none;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-text-primary);
    background: var(--color-bg-hover);
}

.nav-list a.nav-cta {
    background: var(--color-accent-gradient);
    color: white;
    padding: var(--space-sm) var(--space-lg);
}

.nav-list a.nav-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.has-dropdown {
    position: relative;
}

.dropdown-arrow {
    transition: transform var(--transition-fast);
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
    list-style: none;
    box-shadow: var(--shadow-lg);
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
}

/* Theme Switcher */
.theme-switcher {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs);
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
    color: var(--color-text-muted);
}

.theme-toggle:hover {
    background: var(--color-bg-hover);
    color: var(--color-text-primary);
}

.theme-toggle.active {
    background: var(--color-accent-gradient);
    color: white;
}

/* Mobile: Theme Switcher im Header kleiner */
@media (max-width: 900px) {
    .theme-switcher {
        order: 2;
        padding: 2px;
    }
    
    .theme-toggle {
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    order: 3;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text-primary);
    position: relative;
    transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-text-primary);
    transition: transform var(--transition-fast);
}

.hamburger::before { top: -8px; }
.hamburger::after { bottom: -8px; }

/* ============================================
   Mobile Navigation (max-width: 900px)
   ============================================ */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-bg-secondary);
        padding: calc(70px + var(--space-lg)) var(--space-lg) var(--space-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
        z-index: var(--z-fixed);
        overflow-y: auto;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }
    
    [data-theme="light"] .main-nav {
        background: #ffffff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }
    
    [data-theme="contrast"] .main-nav {
        background: #000;
        border-left: 3px solid var(--color-accent-primary);
    }
    
    .main-nav.is-open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-xs);
    }
    
    .nav-list > li {
        border-bottom: 1px solid var(--color-border);
    }
    
    .nav-list > li:last-child {
        border-bottom: none;
    }
    
    .nav-list a {
        display: block;
        padding: var(--space-md) var(--space-sm);
        font-size: var(--text-base);
        color: var(--color-text-primary);
        border-radius: 0;
    }
    
    .nav-list a:hover,
    .nav-list a.active {
        background: transparent;
        color: var(--color-accent-primary);
    }
    
    .nav-list a.nav-cta {
        margin-top: var(--space-lg);
        padding: var(--space-md);
        text-align: center;
        border-radius: var(--radius-md);
        background: var(--color-accent-gradient);
        color: white;
    }
    
    /* Dropdown on Mobile */
    .has-dropdown > a {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-arrow {
        transition: transform var(--transition-fast);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: var(--color-bg-tertiary);
        margin: 0;
        padding: var(--space-sm) 0;
        border-radius: 0;
        box-shadow: none;
        border: none;
        display: none;
    }
    
    .has-dropdown.is-open .dropdown-menu {
        display: block;
    }
    
    .has-dropdown.is-open .dropdown-arrow {
        transform: rotate(180deg);
    }
    
    .dropdown-menu li {
        border-bottom: none;
    }
    
    .dropdown-menu a {
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-sm);
        color: var(--color-text-secondary);
    }
    
    .dropdown-menu a:hover {
        color: var(--color-accent-primary);
    }
    
    /* Hamburger Animation */
    .mobile-menu-toggle[aria-expanded="true"] .hamburger {
        background: transparent;
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger::before {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-menu-toggle[aria-expanded="true"] .hamburger::after {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    /* Overlay when menu is open */
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: calc(var(--z-fixed) - 1);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-primary {
    background: var(--color-accent-gradient);
    color: white;
    box-shadow: 0 4px 15px var(--color-accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--color-accent-glow);
    color: white;
}

.btn-secondary {
    background: var(--color-bg-tertiary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-bg-hover);
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent-primary);
    border: 1px solid var(--color-accent-primary);
}

.btn-outline:hover {
    background: var(--color-accent-primary);
    color: white;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--text-base);
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--text-xs);
}

/* Cards */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    margin-bottom: var(--space-lg);
}

.card-title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-sm);
}

.card-subtitle {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.pricing-card {
    position: relative;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-glow);
}

.pricing-card.featured::before {
    content: 'Beliebt';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-gradient);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
}

.pricing-price {
    font-size: var(--text-4xl);
    font-weight: 800;
    margin: var(--space-lg) 0;
}

.pricing-price span {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--color-text-muted);
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: var(--space-xl) 0;
    padding: 0;
}

.pricing-features li {
    position: relative;
    padding: var(--space-sm) 0;
    padding-left: var(--space-xl);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
    border-bottom: 1px solid var(--color-border);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-success);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 10px;
    background-repeat: no-repeat;
    background-position: center;
}

.pricing-note {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: calc(var(--space-md) * -1);
    margin-bottom: var(--space-lg);
}

.pricing-target {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-md);
    text-align: left;
}

.pricing-target strong {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.pricing-target p {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin: 0;
    line-height: 1.6;
}

.card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent-gradient);
    color: white;
    font-size: var(--text-xs);
    font-weight: 600;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
}

/* Forms */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    font-size: var(--text-base);
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-accent-primary);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--color-text-muted);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-hint {
    margin-top: var(--space-xs);
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.form-error {
    color: var(--color-error);
}

/* ============================================
   Global List Styles
   ============================================ */

/* Standard list inside cards/content */
.card ul:not(.pricing-features):not(.nav-list):not(.footer-links),
.legal-section ul,
.skill-list,
.teaser-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.card ul:not(.pricing-features):not(.nav-list):not(.footer-links) li,
.legal-section ul li,
.skill-list li,
.teaser-list li {
    position: relative;
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.card ul:not(.pricing-features):not(.nav-list):not(.footer-links) li::before,
.legal-section ul li::before,
.skill-list li::before,
.teaser-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--color-accent-primary);
    border-radius: 50%;
}

/* Arrow style lists (for navigation/action items) */
.arrow-list li::before {
    content: '?' !important;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    color: var(--color-accent-primary);
    font-weight: 600;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-lg);
    z-index: var(--z-modal);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.cookie-banner.is-visible {
    transform: translateY(0);
}

.cookie-banner[aria-hidden="false"] {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.cookie-text h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-sm);
}

.cookie-text p {
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
}

.cookie-link {
    font-size: var(--text-sm);
}

.cookie-actions {
    display: flex;
    gap: var(--space-md);
}

@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Footer */
.site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-4xl) 0 var(--space-xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-section h3 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-text-primary);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-lg);
}

.footer-badges {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--color-bg-tertiary);
    border-radius: var(--radius-sm);
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--color-text-secondary);
    font-size: var(--text-sm);
}

.footer-links a:hover {
    color: var(--color-text-primary);
}

.footer-contact {
    margin-top: var(--space-lg);
}

.footer-contact p {
    margin-bottom: var(--space-xs);
    font-size: var(--text-sm);
}

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.footer-legal {
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    font-size: var(--text-xs) !important;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--color-accent-primary); }
.text-muted { color: var(--color-text-muted); }
.text-success { color: var(--color-success); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease forwards;
}

.animate-slide-up {
    animation: slideUp var(--transition-slow) ease forwards;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

@media print {
    .site-header,
    .site-footer,
    .cookie-banner,
    .btn {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
}

/* ============================================
   Mobile Responsive Improvements
   ============================================ */

@media (max-width: 600px) {
    /* Smaller padding on mobile */
    .section {
        padding: var(--space-2xl) 0;
    }
    
    /* Stack buttons on mobile */
    .cta-actions,
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-actions .btn,
    .hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Smaller cards padding */
    .card {
        padding: var(--space-lg);
    }
    
    /* Pricing cards */
    .pricing-card {
        padding: var(--space-lg);
    }
    
    .pricing-price {
        font-size: var(--text-3xl);
    }
    
    /* Footer */
    .footer-grid {
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Cookie Banner Mobile */
@media (max-width: 600px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-actions {
        width: 100%;
    }
    
    .cookie-actions .btn {
        width: 100%;
    }
}

/* Tables on Mobile */
@media (max-width: 700px) {
    .services-table th,
    .services-table td {
        padding: var(--space-md) var(--space-sm);
        font-size: var(--text-sm);
    }
    
    .services-table th:first-child,
    .services-table td:first-child {
        min-width: 100px;
    }
}

