﻿/*
 * Jans.App - Complete CSS Framework
 * Konsolidierte Styles für alle Razor-Seiten
 * Version: 2.1 - Vollständig responsive und modern (Overlays entfernt)
 */

/* ===== CSS CUSTOM PROPERTIES (DESIGN TOKENS) ===== */
:root {
    /* Colors - Primary Palette */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    /* Colors - Secondary Palette */
    --secondary-50: #f0f9ff;
    --secondary-100: #e0f2fe;
    --secondary-200: #bae6fd;
    --secondary-300: #7dd3fc;
    --secondary-400: #38bdf8;
    --secondary-500: #0ea5e9;
    --secondary-600: #0284c7;
    --secondary-700: #0369a1;
    --secondary-800: #075985;
    --secondary-900: #0c4a6e;
    /* Colors - Success Palette */
    --success-50: #f0fdf4;
    --success-100: #dcfce7;
    --success-200: #bbf7d0;
    --success-300: #86efac;
    --success-400: #4ade80;
    --success-500: #22c55e;
    --success-600: #16a34a;
    --success-700: #15803d;
    --success-800: #166534;
    --success-900: #14532d;
    /* Colors - Warning Palette */
    --warning-50: #fffbeb;
    --warning-100: #fef3c7;
    --warning-200: #fde68a;
    --warning-300: #fcd34d;
    --warning-400: #fbbf24;
    --warning-500: #f59e0b;
    --warning-600: #d97706;
    --warning-700: #b45309;
    --warning-800: #92400e;
    --warning-900: #78350f;
    /* Colors - Error Palette */
    --error-50: #fef2f2;
    --error-100: #fee2e2;
    --error-200: #fecaca;
    --error-300: #fca5a5;
    --error-400: #f87171;
    --error-500: #ef4444;
    --error-600: #dc2626;
    --error-700: #b91c1c;
    --error-800: #991b1b;
    --error-900: #7f1d1d;
    /* Colors - Neutral Palette */
    --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;
    /* Semantic Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;
    --border-color: #e5e7eb;
    --muted: #e5e7eb;
    /* Legacy Variables for Compatibility */
    --bg: var(--bg-secondary);
    --bg-strong: var(--bg-primary);
    --text: var(--text-primary);
    --text-soft: var(--text-secondary);
    --ok: var(--success-500);
    --brand-1: var(--primary-500);
    --brand-2: var(--secondary-500);
    /* Typography Scale */
    --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 */
    --text-6xl: 3.75rem; /* 60px */
    /* Spacing Scale */
    --space-xs: 0.25rem; /* 4px */
    --space-sm: 0.5rem; /* 8px */
    --space-md: 1rem; /* 16px */
    --space-lg: 1.5rem; /* 24px */
    --space-xl: 2rem; /* 32px */
    --space-2xl: 2.5rem; /* 40px */
    --space-3xl: 3rem; /* 48px */
    --space-4xl: 4rem; /* 64px */
    /* Border Radius */
    --radius-sm: 0.25rem; /* 4px */
    --radius-md: 0.375rem; /* 6px */
    --radius-lg: 0.5rem; /* 8px */
    --radius-xl: 0.75rem; /* 12px */
    --radius-2xl: 1rem; /* 16px */
    --radius: var(--radius-md);
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --card-shadow: var(--shadow-sm);
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-primary: #1f2937;
        --bg-secondary: #111827;
        --bg-tertiary: #0f172a;
        --text-primary: #f9fafb;
        --text-secondary: #d1d5db;
        --text-muted: #6b7280;
        --border-color: #374151;
        --muted: #374151;
        --bg: var(--bg-secondary);
        --bg-strong: var(--bg-primary);
        --text: var(--text-primary);
        --text-soft: var(--text-secondary);
    }
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    margin: 0;
    padding: 0;
}

/* ===== LAYOUT COMPONENTS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-md);
    }
}

.section {
    padding: var(--space-4xl) 0;
}

    .section h2 {
        font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
        font-weight: 800;
        margin-bottom: var(--space-xl);
        text-align: center;
        color: var(--text-primary);
    }

.section-intro {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto var(--space-3xl);
    line-height: 1.7;
}

/* ===== BUTTON SYSTEM ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-height: 48px;
    gap: var(--space-sm);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
    color: white;
    box-shadow: var(--shadow-md);
}

    .btn-primary:hover {
        background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline {
    background: transparent;
    color: var(--primary-600);
    border-color: var(--primary-300);
}

    .btn-outline:hover {
        background: var(--primary-50);
        border-color: var(--primary-500);
        color: var(--primary-700);
    }

.btn-light {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-700);
    backdrop-filter: blur(10px);
}

    .btn-light:hover {
        background: white;
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .btn-outline-light:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: white;
    }

/* ===== HERO SECTIONS ===== */
.hero, .hero-ki, .hero-ai, .hero-dev, .hero-consulting, .hero-interim, .hero-main {
    background-size: cover;
    background-position: center;
    color: white;
    padding: var(--space-4xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-ki {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(59, 130, 246, 0.9)), url('/image/4xc2nrbzDpE5.jpg');
}

.hero-ai {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(59, 130, 246, 0.9)), url('/image/4xc2nrbzDpE5.jpg');
}

.hero-dev {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(59, 130, 246, 0.9)), url('/image/A9ETcKCdZyAP.jpg');
}

.hero-consulting {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.9), rgba(59, 130, 246, 0.9)), url('/image/ULqJF1C4pdKp.jpg');
}

.hero-main {
    background: linear-gradient(135deg, rgba(34, 97, 94, 0.9), rgba(59, 130, 246, 0.9)), url('/image/ULqJF1C4pdKp.jpg');
}

.hero-interim {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.9), rgba(168, 85, 247, 0.9)), url('/image/AjbPn9t5IMJP.jpg');
}

    .hero h1, .hero-ai h1, .hero-ki h1, .hero-dev h1, .hero-consulting h1, .hero-interim h1, .hero-main h1 {
        font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
        font-weight: 900;
        margin-bottom: var(--space-lg);
        text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }

.title {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-6xl));
    font-weight: 900;
    margin-bottom: var(--space-lg);
    text-align: center;
}

.gradient {
    background: linear-gradient(135deg, var(--primary-400), var(--secondary-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lead {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.95;
}

.hero-subtitle {
    font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
    margin-bottom: var(--space-2xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.95;
}

.hero-stats, .stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) auto;
    max-width: 600px;
}

.stat-item, .stat {
    text-align: center;
    padding: var(--space-lg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

    .stat-number, .stat .n {
        display: block;
        font-size: var(--text-3xl);
        font-weight: 900;
        margin-bottom: var(--space-xs);
    }

    .stat-label, .stat div:not(.n) {
        font-size: var(--text-sm);
        opacity: 0.9;
    }

.hero-actions, .actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-2xl);
}

/* ===== PRODUCTS/SERVICES GRID ===== */
.products {
    padding: var(--space-4xl) 0;
}

.section-head {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.section-sub {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.row {
    display: flex;
    flex-direction: row;
    margin-top: var(--space-xl);
    --bs-gutter-x: none;
}
@media (max-width: 768px) {
    .row {
        flex-direction: column;
        margin-top: 0px;
    }
}

.card {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    margin-top: var(--space-md);
    margin-bottom: var(--space-md);
    margin-right: var(--space-md);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}
@media (max-width: 768px) {
    .card {
        background: var(--bg-primary);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        transition: all var(--transition-normal);
        border: 1px solid var(--border-color);
    }

}

.media {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: var(--space-md);
}

.bg-ki {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.8), rgba(59, 130, 246, 0.8)), url('/images/ai.png');
    background-size: cover;
    background-position: center;
}

.bg-interim {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.8), rgba(168, 85, 247, 0.8)), url('/images/A3Sek7NrG9hL.jpg');
    background-size: cover;
    background-position: center;
}

.bg-consulting {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(59, 130, 246, 0.8)), url('/images/consulting.png');
    background-size: cover;
    background-position: center;
}

.bg-warehouse {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(59, 130, 246, 0.8)), url('/images/Warehouse.jpeg');
    background-size: cover;
    background-position: center;
}

.bg-dev {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.8), rgba(59, 130, 246, 0.8)), url('/images/development.png');
    background-size: cover;
    background-position: center;
}

.badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.card-body {
    padding: var(--space-xl);
}

    .card-body h3 {
        font-size: var(--text-xl);
        font-weight: 700;
        margin-bottom: var(--space-md);
        color: var(--text-primary);
    }

    .card-body p {
        color: var(--text-secondary);
        margin-bottom: var(--space-lg);
        line-height: 1.6;
    }

.feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
}

.check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--success-500);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xs);
    flex-shrink: 0;
}

/* ===== BENEFITS SECTIONS ===== */
.benefits {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

    .benefits .row {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--space-xl);
    }

    .benefits .item {
        background: var(--bg-primary);
        padding: var(--space-2xl);
        border-radius: var(--radius-xl);
        text-align: center;
        box-shadow: var(--shadow-md);
        border: 1px solid var(--border-color);
        transition: all var(--transition-normal);
    }

        .benefits .item:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

    .benefits .icon {
        font-size: var(--text-4xl);
        margin-bottom: var(--space-lg);
    }

    .benefits .item h3 {
        font-size: var(--text-xl);
        font-weight: 700;
        margin-bottom: var(--space-md);
        color: var(--text-primary);
    }

    .benefits .item p {
        color: var(--text-secondary);
        line-height: 1.6;
    }

/* ===== CONTENT GRIDS ===== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.content-visual {
    text-align: center;
}

.feature-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.image-caption {
    margin-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: italic;
}

/* ===== STORY BOXES ===== */
.vision-story, .solution-story, .challenge-story, .problem-box, .solution-box {
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
}

.vision-story, .challenge-story, .problem-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-left: 4px solid #f59e0b;
}

.solution-story, .solution-box {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-left: 4px solid var(--primary-500);
}

.solution-box {
    background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    border-left: 4px solid var(--success-500);
}

/* ===== METRICS & STATISTICS ===== */
.success-metrics {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    margin-top: var(--space-lg);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.metric-item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
}

.metric-value {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--primary-600);
    margin-bottom: var(--space-xs);
}

.metric-label {
    font-size: var(--text-xs);
    color: var(--text-secondary);
}

/* ===== MARKET DATA SECTIONS ===== */
.market-data {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.market-stat {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

    .market-stat:hover {
        transform: translateY(-4px);
    }

.stat-icon {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
}

.stat-value {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--success-600);
    margin-bottom: var(--space-xs);
}

.stat-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.market-insight {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--success-500);
}

/* ===== PROCESS TIMELINES ===== */
.process-section {
    padding: var(--space-4xl) 0;
}

.process-diagram {
    text-align: center;
    margin: var(--space-3xl) 0;
}

.diagram-image, .chart-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
    position: relative;
}

    .timeline-item:not(:last-child)::after {
        content: '';
        position: absolute;
        left: 30px;
        top: 60px;
        bottom: -48px;
        width: 2px;
        background: var(--gray-300);
    }

.timeline-marker {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    font-weight: 900;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-content {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.timeline-duration {
    display: inline-block;
    background: var(--primary-50);
    color: var(--primary-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    align-items: center;
}

    .deliverables span:not(:first-child) {
        background: var(--gray-100);
        color: var(--gray-700);
        padding: var(--space-xs) var(--space-sm);
        border-radius: var(--radius-md);
        font-size: var(--text-xs);
    }

/* ===== TECHNOLOGY STACK SECTIONS ===== */
.tech-stack-section, .infrastructure-section {
    padding: var(--space-4xl) 0;
}

.tech-categories, .infrastructure-grid {
    display: grid;
    gap: var(--space-3xl);
}

.tech-category h3, .infra-category h3 {
    font-size: var(--text-2xl);
    font-weight: 700;
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--primary-600);
}

.tech-stack, .infra-items {
    display: grid;
    gap: var(--space-lg);
}

.tech-item, .infra-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-lg);
    align-items: center;
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-fast);
}

    .tech-item:hover, .infra-item:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.tech-logo {
    font-size: var(--text-3xl);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.tech-info h4, .infra-item h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.tech-info p, .infra-item p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.5;
}

.infra-category {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.infra-item {
    grid-template-columns: 1fr;
    text-align: center;
}

/* ===== SERVICE PACKAGES & PRICING ===== */
.services-packages, .pricing-section {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.packages-grid, .pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.package-card, .pricing-card {
    background: var(--bg-primary);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-normal);
}

    .package-card:hover, .pricing-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-300);
    }

    .package-card.featured, .pricing-card.featured {
        border-color: var(--primary-500);
        transform: scale(1.02);
    }

.package-badge, .pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-500);
    color: white;
    padding: var(--space-xs) var(--space-lg);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: 600;
}

.package-header, .pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

    .package-header h3, .pricing-header h3 {
        font-size: var(--text-xl);
        font-weight: 700;
        color: var(--text-primary);
    }

.package-price {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--primary-600);
}

.package-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.package-features, .pricing-features {
    margin: var(--space-lg) 0;
}

    .package-features ul, .pricing-features ul {
        list-style: none;
        padding: 0;
        margin: var(--space-lg) 0;
    }

    .package-features li, .pricing-features li {
        padding: var(--space-sm) 0;
        position: relative;
        padding-left: var(--space-lg);
        font-size: var(--text-sm);
    }

        .package-features li, .pricing-features li ::marker {
            list-style-type: none
        }

        .package-features li::before, .pricing-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--success-500);
            font-weight: bold;
        }

.package-pricing, .price {
    text-align: center;
    margin: var(--space-lg) 0;
    padding: var(--space-lg);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
}

.price-range, .price-amount {
    display: block;
    font-size: var(--text-2xl);
    font-weight: 900;
    color: var(--primary-600);
    margin-bottom: var(--space-xs);
}

.price-note, .price-period {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.package-timeline, .pricing-duration, .pricing-experience {
    background: var(--primary-50);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    font-size: var(--text-sm);
    color: var(--primary-700);
}

/* ===== SPECIALIZATIONS ===== */
.specializations-section {
    padding: var(--space-4xl) 0;
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.specialization-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-normal);
    position: relative;
}

    .specialization-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow-xl);
        border-color: var(--primary-300);
    }

    .specialization-card.featured {
        border-color: var(--primary-500);
        transform: scale(1.02);
    }

.spec-badge {
    position: absolute;
    top: -12px;
    right: var(--space-lg);
    background: var(--primary-500);
    color: white;
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    font-size: var(--text-xs);
    font-weight: 600;
}

.spec-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
}

.specialization-card h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.spec-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin: var(--space-lg) 0;
}

.benefit-tag {
    background: var(--success-50);
    color: var(--success-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
}

.spec-features ul {
    list-style: none;
    padding: 0;
    margin: var(--space-lg) 0;
}

.spec-features li {
    padding: var(--space-sm) 0;
    position: relative;
    padding-left: var(--space-lg);
    font-size: var(--text-sm);
}

    .spec-features li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--success-500);
        font-weight: bold;
    }

.spec-pricing {
    background: var(--primary-50);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    margin: var(--space-lg) 0;
    font-size: var(--text-lg);
    color: var(--primary-700);
}

/* ===== PATTERNS SECTION ===== */
.patterns-section {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.patterns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.pattern-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

    .pattern-card h3 {
        font-size: var(--text-lg);
        font-weight: 700;
        margin-bottom: var(--space-md);
        color: var(--primary-600);
    }

.pattern-code {
    background: var(--gray-900);
    color: var(--gray-100);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-family: 'Courier New', monospace;
    font-size: var(--text-sm);
    margin-top: var(--space-md);
    overflow-x: auto;
}

/* ===== SUCCESS STORIES ===== */
.success-stories {
    padding: var(--space-4xl) 0;
}

.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.story-card {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.story-header h3 {
    font-size: var(--text-lg);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.story-industry {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: italic;
}

.story-challenge, .story-solution, .story-results {
    margin: var(--space-lg) 0;
}

    .story-challenge h4, .story-solution h4, .story-results h4 {
        font-size: var(--text-base);
        font-weight: 600;
        margin-bottom: var(--space-sm);
        color: var(--text-primary);
    }

.result-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.metric {
    background: var(--success-50);
    color: var(--success-700);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    font-weight: 600;
}

.story-duration, .story-tech {
    background: var(--bg-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.results-chart {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ===== BENEFITS DIAGRAMS ===== */
.benefits-diagram {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.diagram-container {
    text-align: center;
    margin: var(--space-3xl) 0;
}

.benefits-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.benefits-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-3xl);
}

.benefit-detail {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

    .benefit-detail h3 {
        font-size: var(--text-lg);
        font-weight: 700;
        margin-bottom: var(--space-md);
        color: var(--primary-600);
    }

/* ===== WHY CHOOSE US SECTIONS ===== */
.why-choose-us, .why-us-section {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.why-grid, .why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.why-item, .why-us-item {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 1px solid var(--gray-200);
}

.why-icon {
    font-size: var(--text-4xl);
    margin-bottom: var(--space-lg);
}

.why-item h3, .why-us-item h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.why-proof {
    background: var(--bg-secondary);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-top: var(--space-lg);
    font-size: var(--text-sm);
    line-height: 1.8;
    text-align: left;
}

/* ===== PRICING DETAILS ===== */
.pricing-intro {
    text-align: center;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-3xl);
}

.pricing-details {
    background: var(--bg-primary);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    margin-top: var(--space-3xl);
}

    .pricing-details h3 {
        text-align: center;
        margin-bottom: var(--space-xl);
    }

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.condition-item {
    text-align: center;
    padding: var(--space-lg);
}

    .condition-item h4 {
        font-size: var(--text-base);
        font-weight: 600;
        margin-bottom: var(--space-sm);
        color: var(--primary-600);
    }

.pricing-note {
    background: var(--bg-secondary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    margin-top: var(--space-2xl);
}

/* ===== FAQ SECTIONS ===== */
.faq-section {
    background: var(--bg-secondary);
    padding: var(--space-4xl) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-xl);
}

.faq-item {
    background: var(--bg-primary);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-200);
}

    .faq-item h3 {
        font-size: var(--text-lg);
        font-weight: 600;
        margin-bottom: var(--space-md);
        color: var(--primary-600);
    }

/* ===== CALL-TO-ACTION SECTIONS ===== */
.cta {
    background: linear-gradient(90deg, var(--brand-1), var(--brand-2));
    color: #fff;
    text-align: center;
    padding: var(--space-4xl) 0;
}

    .cta h2 {
        font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
        margin: 0 0 var(--space-md);
        font-weight: 800;
    }

    .cta p {
        opacity: .9;
        max-width: 700px;
        margin: 0 auto var(--space-xl);
        font-size: var(--text-lg);
        line-height: 1.7;
    }

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-bottom: var(--space-2xl);
}

.cta-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

    .cta-outline:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: white;
    }

.cta-guarantee {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    font-size: var(--text-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: var(--space-lg);
}

/* ===== LEGACY COMPONENTS ===== */
.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xl);
    justify-content: center;
    margin-top: var(--space-2xl);
}

.benefit-item {
    background: var(--bg-strong);
    border: 1px solid var(--muted);
    border-radius: var(--radius);
    padding: var(--space-xl);
    flex: 1 1 260px;
    min-width: 260px;
    box-shadow: var(--card-shadow);
    text-align: left;
}

    .benefit-item h3 {
        font-size: var(--text-xl);
        margin-bottom: var(--space-sm);
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }

    .benefit-item p {
        font-size: var(--text-base);
        color: var(--text-soft);
        margin: 0;
    }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .content-grid {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

        .timeline-item::after {
            display: none;
        }

    .timeline-marker {
        margin: 0 auto var(--space-lg);
    }

    .tech-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-actions, .actions {
        flex-direction: column;
        align-items: center;
    }

        .hero-actions .btn, .actions .btn {
            width: 100%;
            max-width: 300px;
        }

    .pricing-card.featured, .specialization-card.featured {
        transform: none;
    }

    .package-card.featured {
        transform: none;
    }

    .benefits-explanation {
        grid-template-columns: 1fr;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }

        .cta-actions .btn {
            width: 100%;
            max-width: 300px;
        }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }

    .section {
        padding: var(--space-2xl) 0;
    }

    .hero, .hero-ki, .hero-dev, .hero-consulting, .hero-interim, .hero-main {
        padding: var(--space-2xl) 0;
        min-height: 60vh;
    }

    .hero-stats, .stats {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .packages-grid, .pricing-grid, .specializations-grid {
        grid-template-columns: 1fr;
    }

    .stories-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .hero, .hero-ki, .hero-dev, .hero-consulting, .hero-interim, .hero-main {
        background: var(--primary-600) !important;
        color: white !important;
        -webkit-print-color-adjust: exact;
    }

    .btn {
        border: 2px solid var(--primary-600) !important;
        -webkit-print-color-adjust: exact;
    }

    .cta {
        background: var(--primary-600) !important;
        -webkit-print-color-adjust: exact;
    }
}

/* ===== ACCESSIBILITY ENHANCEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Focus styles for keyboard navigation */
.btn:focus,
a:focus {
    outline: 2px solid var(--primary-500);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-500: #0000ff;
        --success-500: #008000;
        --error-500: #ff0000;
        --text-primary: #000000;
        --bg-primary: #ffffff;
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: var(--space-xs);
}

.mt-2 {
    margin-top: var(--space-sm);
}

.mt-3 {
    margin-top: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-lg);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: var(--space-xs);
}

.mb-2 {
    margin-bottom: var(--space-sm);
}

.mb-3 {
    margin-bottom: var(--space-md);
}

.mb-4 {
    margin-bottom: var(--space-lg);
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: var(--space-xs);
}

.p-2 {
    padding: var(--space-sm);
}

.p-3 {
    padding: var(--space-md);
}

.p-4 {
    padding: var(--space-lg);
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.inline {
    display: inline;
}

.inline-block {
    display: inline-block;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.rounded {
    border-radius: var(--radius-md);
}

.rounded-lg {
    border-radius: var(--radius-lg);
}

.rounded-xl {
    border-radius: var(--radius-xl);
}

.shadow {
    box-shadow: var(--shadow-md);
}

.shadow-lg {
    box-shadow: var(--shadow-lg);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.rz-layout {
    display: flex;
    flex-direction: column;
}

.rz-sidebar-expanded {
    min-width: 30vh;
    border-inline-end: 1px solid transparent;
}

.rz-sidebar-toggle {
    padding: 0.7rem;
}
.rz-sidebar {
    border-inline-end: none;
}