/**
 * Proces Digitalisering Page - Enhanced UX/UI Design
 * Mobile-First, Accessibility Focused, Performance Optimized
 */

/* ===== BASE RESET ===== */
.page-id-436 * {
    box-sizing: border-box;
}

/* ===== HERO SECTION - ENHANCED WITH BETTER CONTRAST ===== */
.page-id-436 .proces-hero-section {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%);
    position: relative;
    overflow: hidden;
    padding: 100px 20px 80px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
}

/* Dark overlay for text contrast */
.page-id-436 .hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-id-436 .proces-hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-id-436 .proces-hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.page-id-436 .hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.page-id-436 .hero-subtitle {
    font-size: clamp(16px, 3vw, 20px);
    color: #FFFFFF;
    max-width: 700px;
    margin: 0 auto 25px;
    line-height: 1.6;
    opacity: 0.95;
}

/* Trust badges above CTAs */
.page-id-436 .hero-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 25px 0 35px;
}

.page-id-436 .trust-badge {
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 18px;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: clamp(12px, 2vw, 14px);
    backdrop-filter: blur(10px);
}

/* Enhanced Hero Buttons */
.page-id-436 .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.page-id-436 .hero-btn-primary {
    background: #F39C12;
    color: #FFFFFF;
    padding: 16px 38px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 200px;
    text-align: center;
    display: inline-block;
}

.page-id-436 .hero-btn-primary:hover {
    background: #E67E22;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.5);
}

.page-id-436 .hero-btn-secondary {
    border: 2px solid #FFFFFF;
    background: transparent;
    color: #FFFFFF;
    padding: 14px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
    display: inline-block;
}

.page-id-436 .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #F39C12;
    color: #F39C12;
    backdrop-filter: blur(10px);
}

/* ===== STATS SECTION - ENHANCED VISUAL HIERARCHY ===== */
.page-id-436 .proces-stats {
    background-color: #F8F9FA;
    padding: 80px 20px;
    width: 100%;
    margin: 0;
}

.page-id-436 .proces-stats > div {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.page-id-436 .stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    width: 1200px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    align-items: stretch !important;
}

/* Hero stat spans 2 columns on desktop */
@media (min-width: 1024px) {
    .page-id-436 .stat-hero {
        grid-column: span 2 !important;
        grid-row: 1 !important;
    }
}

/* Hero stat - larger and featured */
.page-id-436 .stat-hero {
    background: linear-gradient(135deg, #2C3E50 0%, #3498DB 100%) !important;
    padding: 50px 30px !important;
    border-radius: 20px !important;
    text-align: center !important;
    color: white !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15) !important;
    position: relative !important;
    overflow: hidden !important;
    animation: float 6s ease-in-out infinite !important;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.page-id-436 .stat-item {
    background: white;
    padding: 35px 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-id-436 .stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.page-id-436 .stat-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.page-id-436 .stat-hero .stat-icon-wrapper {
    width: 100px !important;
    height: 100px !important;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    margin-bottom: 25px !important;
}

.page-id-436 .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #2C3E50;
    display: block;
    margin-bottom: 10px;
}

.page-id-436 .stat-hero .stat-number {
    font-size: 64px !important;
    font-weight: 800 !important;
    color: white !important;
    line-height: 1 !important;
    margin-bottom: 15px !important;
}

.page-id-436 .stat-label {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    display: block;
    margin-bottom: 8px;
}

.page-id-436 .stat-hero .stat-label {
    font-size: 22px !important;
    color: white !important;
    margin-bottom: 10px !important;
}

.page-id-436 .stat-description {
    color: #5A6C7D;
    font-size: 14px;
}

.page-id-436 .stat-hero .stat-description {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 15px !important;
    opacity: 0.9 !important;
}

/* ===== CLIENT LOGOS SECTION ===== */
.page-id-436 .client-logos-section {
    background: white;
    padding: 60px 20px;
    border-top: 1px solid #E1E8ED;
}

/* ===== FEATURES SECTION - PRIORITIZED CARDS ===== */
.page-id-436 .core-proces-features {
    padding: 80px 20px;
    background: white;
    width: 100%;
    margin: 0;
}

.page-id-436 .core-proces-features > div {
    max-width: 1200px;
    margin: 0 auto;
}

.page-id-436 .features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    width: 1200px !important;
    max-width: 1200px !important;
    margin: 0 auto 40px !important;
}

/* Hide empty paragraphs that break grid layout */
.page-id-436 .stats-grid > p,
.page-id-436 .features-grid > p,
.page-id-436 .process-timeline > p,
.page-id-436 .benefits-grid > p {
    display: none !important;
}

.page-id-436 .feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #E1E8ED;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-id-436 .feature-card:hover {
    transform: translateY(-8px);
}

/* Featured cards - top 3 priorities */
.page-id-436 .feature-card.featured {
    padding: 35px !important;
    border-radius: 16px !important;
    color: white !important;
    box-shadow: 0 15px 40px rgba(231, 76, 60, 0.3) !important;
    border: none !important;
}

.page-id-436 .feature-card.featured h3 {
    color: white !important;
}

.page-id-436 .feature-card.featured p,
.page-id-436 .feature-card.featured li {
    color: rgba(255, 255, 255, 0.95) !important;
}

.page-id-436 .feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 35px;
}

.page-id-436 .feature-card.featured .feature-icon {
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(10px) !important;
    margin-bottom: 25px !important;
}

/* ===== PROCESS TIMELINE - ENHANCED ===== */
.page-id-436 .process-section {
    background: linear-gradient(135deg, #2C3E50, #34495E);
    padding: 80px 20px;
    width: 100%;
    margin: 0;
}

.page-id-436 .process-section > div {
    max-width: 1200px;
    margin: 0 auto;
}

.page-id-436 .process-section h2,
.page-id-436 .process-section h3,
.page-id-436 .process-section p {
    color: white;
}

.page-id-436 .process-timeline {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
    width: 1200px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    position: relative;
}

/* Timeline connector line */
@media (min-width: 1024px) {
    .page-id-436 .process-timeline::before {
        content: '';
        position: absolute;
        top: 45px;
        left: 12%;
        right: 12%;
        height: 2px;
        background: linear-gradient(90deg, #F39C12 0%, #F39C12 33%, #F39C12 66%, #27AE60 100%);
        z-index: 0;
    }
}

.page-id-436 .process-step {
    position: relative;
    text-align: center;
}

.page-id-436 .step-badge {
    position: absolute;
    top: -10px;
    right: 10px;
    background: #F39C12;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
}

.page-id-436 .step-number {
    background: linear-gradient(135deg, #F39C12, #E67E22);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 36px;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(243, 156, 18, 0.4);
    transition: all 0.3s ease;
}

.page-id-436 .process-step:hover .step-number {
    transform: scale(1.1) rotate(5deg);
}

.page-id-436 .step-duration {
    background: rgba(243, 156, 18, 0.3);
    padding: 10px 20px;
    border-radius: 25px;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 600;
    display: inline-block;
    border: 2px solid #F39C12;
    margin-top: 15px;
}

/* ===== BENEFITS SECTION - WITH METRICS ===== */
.page-id-436 .benefits-section {
    padding: 80px 20px;
    background: #F8F9FA;
    width: 100%;
    margin: 0;
}

.page-id-436 .benefits-section > div {
    max-width: 1200px;
    margin: 0 auto;
}

.page-id-436 .benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 35px !important;
    width: 1200px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.page-id-436 .benefit-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-id-436 .benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* ===== TESTIMONIAL SECTION ===== */
.page-id-436 .testimonial-section {
    padding: 60px 20px;
    background: white;
    border-top: 1px solid #E1E8ED;
}

/* ===== CTA SECTION - ENHANCED ===== */
.page-id-436 .cta-section {
    background: linear-gradient(135deg, #2C3E50, #3498DB);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
    width: 100%;
    margin: 0;
}

.page-id-436 .cta-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.page-id-436 .cta-section h2 {
    color: #FFFFFF;
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.page-id-436 .cta-section p {
    color: rgba(255, 255, 255, 0.95);
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* CTA Button Styling */
.page-id-436 .cta-section .wp-block-buttons {
    display: none !important; /* Hide WordPress block buttons if duplicating */
}

.page-id-436 .cta-section .wp-block-button__link {
    padding: 18px 40px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 280px;
}

/* CTA Section - All Links/Buttons Styling - Force inline-block on ALL links */
.page-id-436 .cta-section a,
.page-id-436 .cta-section > div > div a,
.page-id-436 .cta-section div a {
    display: inline-block !important;
    vertical-align: top !important;
    padding: 16px 35px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    margin: 10px;
}

/* Primary CTA Button (first large button) */
.page-id-436 .cta-section a[href*="/contact"]:first-of-type,
.page-id-436 .cta-section .cta-buttons a:first-child {
    background: #F39C12 !important;
    color: #FFFFFF !important;
    border: 2px solid #F39C12 !important;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    display: inline-block !important;
    vertical-align: top !important;
}

.page-id-436 .cta-section a[href*="/contact"]:first-of-type:hover,
.page-id-436 .cta-section .cta-buttons a:first-child:hover {
    background: #E67E22 !important;
    border-color: #E67E22 !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(230, 126, 34, 0.5);
}

/* Secondary CTA Buttons (phone/call buttons) */
.page-id-436 .cta-section a[href^="tel"],
.page-id-436 .cta-section .cta-buttons a:not(:first-child) {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
    border: 2px solid rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(10px);
    display: inline-block !important;
    vertical-align: top !important;
}

.page-id-436 .cta-section a[href^="tel"]:hover,
.page-id-436 .cta-section .cta-buttons a:not(:first-child):hover {
    background: rgba(255, 255, 255, 0.95) !important;
    color: #2C3E50 !important;
    border-color: #FFFFFF !important;
    transform: translateY(-3px);
}

/* Hide empty links without text - target specific problematic links */
.page-id-436 .cta-section p a[href="/contact"]:not(:has(br)):not(:has(div)):not(:has(p)) {
    display: none !important;
}

.page-id-436 .cta-section p a[href^="tel:"]:not(:has(br)):not(:has(div)) {
    display: none !important;
}

/* Hide any CTA link with no visible text content */
.page-id-436 .cta-section a:not(:has(br)):not(:has(div)):not(:has(p)):not(:has(span)):not(:has(strong)) {
    min-height: 0 !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ===== MOBILE STICKY CTA ===== */
.page-id-436 .mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #F39C12, #E67E22);
    padding: 15px 20px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    z-index: 1000;
    display: none;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

/* ===== CONTAINER FIXES ===== */
.page-id-436 #content.site-content {
    width: 100%;
    display: block;
    padding: 0;
    margin: 0;
}

.page-id-436 .site-content .ast-container {
    max-width: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
}

.page-id-436 #main,
.page-id-436 article,
.page-id-436 .entry-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.page-id-436 .entry-content > * {
    margin-left: 0;
    margin-right: 0;
}

/* ===== ACCESSIBILITY ===== */
.page-id-436 a:focus,
.page-id-436 button:focus {
    outline: 3px solid #F39C12;
    outline-offset: 2px;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    .page-id-436 *,
    .page-id-436 *::before,
    .page-id-436 *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== RESPONSIVE - MOBILE FIRST ===== */

/* Large screens - ensure grids don't overflow */
@media (max-width: 1240px) {
    .page-id-436 .stats-grid,
    .page-id-436 .features-grid,
    .page-id-436 .process-timeline,
    .page-id-436 .benefits-grid {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .page-id-436 .proces-hero-section {
        padding: 60px 20px 50px !important;
        min-height: auto !important;
    }

    .page-id-436 .hero-title {
        font-size: 32px !important;
    }

    .page-id-436 .hero-subtitle {
        font-size: 16px !important;
    }

    .page-id-436 .hero-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }

    .page-id-436 .hero-buttons a {
        width: 100% !important;
        max-width: 100% !important;
    }

    .page-id-436 .hero-trust-badges {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .page-id-436 .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .page-id-436 .stat-hero {
        padding: 40px 25px !important;
        grid-column: auto !important;
    }

    .page-id-436 .features-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .page-id-436 .feature-card {
        padding: 25px !important;
    }

    .page-id-436 .process-timeline {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .page-id-436 .process-timeline::before {
        display: none !important;
    }

    .page-id-436 .benefits-grid {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }

    .page-id-436 .cta-section {
        padding: 60px 20px !important;
    }

    .page-id-436 .cta-section h2 {
        font-size: 28px !important;
    }

    .page-id-436 .cta-section .wp-block-buttons {
        flex-direction: column !important;
        width: 100% !important;
    }

    .page-id-436 .cta-section a {
        width: 100% !important;
        min-width: auto !important;
    }
}

/* Section headings - center aligned */
.page-id-436 .core-proces-features h2,
.page-id-436 .core-proces-features p,
.page-id-436 .process-section h2,
.page-id-436 .process-section > p,
.page-id-436 .benefits-section h2,
.page-id-436 .benefits-section > p {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1023px) {
    .page-id-436 .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .page-id-436 .stat-hero {
        grid-column: span 2 !important;
    }

    .page-id-436 .features-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .page-id-436 .process-timeline {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .page-id-436 .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== TOUCH TARGET OPTIMIZATION ===== */
@media (hover: none) and (pointer: coarse) {
    .page-id-436 a,
    .page-id-436 button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ===== PERFORMANCE ===== */
.page-id-436 .stat-item,
.page-id-436 .feature-card,
.page-id-436 .benefit-card,
.page-id-436 .process-step {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ===== PRINT STYLES ===== */
@media print {
    .page-id-436 .mobile-sticky-cta,
    .page-id-436 .hero-buttons,
    .page-id-436 .cta-section {
        display: none;
    }

    .page-id-436 .proces-hero-section,
    .page-id-436 .process-section {
        background: white;
        color: black;
    }

    .page-id-436 * {
        box-shadow: none;
    }
}
