/* Modern Service Pages - 2025 Design */

/* Service Hero Section - Modern Design */
.service-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #fafbfc 0%, #f5f8fa 100%);
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 50%;
    height: 200%;
    background: linear-gradient(45deg, rgba(0, 167, 196, 0.04), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.service-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 40%;
    height: 160%;
    background: linear-gradient(-45deg, rgba(0, 167, 196, 0.02), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

/* Modern Breadcrumb */
.service-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 167, 196, 0.1);
    position: relative;
    z-index: 2;
}

.service-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-breadcrumb a:hover {
    color: var(--primary-dark);
}

.service-breadcrumb i {
    color: var(--text-muted);
    font-size: 12px;
    opacity: 0.6;
}

.service-breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

/* Modern Hero Title */
.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.title-highlight {
    display: block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-top: 8px;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
    opacity: 0.3;
}

/* Hero Section uses modern title styling */
.service-hero .section-title-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.service-hero .highlight-text {
    display: block;
    margin-top: 8px;
}

/* Modern Hero Description */
.hero-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 90%;
    position: relative;
    z-index: 2;
}

/* Modern Feature Badges */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
    position: relative;
    z-index: 2;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 167, 196, 0.15);
    padding: 14px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.feature-badge:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 12px 35px rgba(0, 167, 196, 0.15);
    background: rgba(0, 167, 196, 0.02);
}

.feature-badge i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Modern Hero Actions */
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 8px 25px rgba(0, 167, 196, 0.3);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 167, 196, 0.4);
    color: white;
    text-decoration: none;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary span,
.btn-primary i {
    position: relative;
    z-index: 2;
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 167, 196, 0.25);
    text-decoration: none;
}

/* Modern Hero Visual */
.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.hero-image-stack {
    position: relative;
    width: 100%;
    height: 400px;
}

.hero-image {
    position: absolute;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-image.primary {
    width: 80%;
    height: 85%;
    top: 0;
    left: 0;
    z-index: 2;
}

.hero-image:hover {
    transform: scale(1.02) rotate(-1deg);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.hero-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 167, 196, 0.1), rgba(0, 140, 163, 0.2));
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-image:hover .image-overlay {
    opacity: 1;
}

/* Hero Stats Card */
.hero-stats-card {
    position: absolute;
    bottom: 20px;
    right: 10%;
    background: white;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    z-index: 3;
}

.hero-stats-card .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Modern Expertise Section */
.expertise-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.expertise-section::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 60%;
    height: 160%;
    background: linear-gradient(45deg, rgba(0, 167, 196, 0.03), transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

/* Modern Section Headers */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(0, 167, 196, 0.25);
    position: relative;
}

.section-badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
}

/* Modern Badge Design - matching aboutus/leitgedanken */
.section-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
    box-shadow: 0 8px 25px rgba(0, 167, 196, 0.25);
    position: relative;
}

.section-badge-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    opacity: 0.3;
}

.section-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
}

/* Modern Title Design - matching aboutus/leitgedanken */
.section-title-modern {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 80px;
}

/* Modern Subtitle Design - matching aboutus/leitgedanken */
.section-subtitle-modern {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 80px;
}

/* Highlight Text - matching aboutus/leitgedanken */
.highlight-text {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    border-radius: 2px;
    opacity: 0.3;
}

/* Modern Expertise Grid */
.expertise-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.expertise-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    gap: 24px;
    align-items: flex-start;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(230, 230, 230, 0.6);
    position: relative;
    overflow: hidden;
}

.expertise-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 167, 196, 0.02), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.expertise-card:hover::before {
    opacity: 1;
}

.expertise-card.featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    border: none;
}

.expertise-card.featured .card-icon {
    background: rgba(255, 255, 255, 0.2);
}

.expertise-card.featured h3,
.expertise-card.featured h4,
.expertise-card.featured p {
    color: white;
}

.expertise-card .card-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 167, 196, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.expertise-card:hover .card-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.expertise-card .card-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.expertise-card:hover .card-icon i {
    color: white;
}

.expertise-card.featured .card-icon i {
    color: white;
}

.card-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.card-content h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.card-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin: 0;
}

/* Modern Solution Promise */
.solution-promise {
    background: linear-gradient(135deg, rgba(0, 167, 196, 0.05), rgba(0, 167, 196, 0.02));
    border: 1px solid rgba(0, 167, 196, 0.15);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.solution-promise::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 167, 196, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.promise-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 12px 30px rgba(0, 167, 196, 0.3);
    position: relative;
    z-index: 2;
}

.promise-icon i {
    font-size: 32px;
    color: white;
}

.solution-promise h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    position: relative;
    z-index: 2;
}

.solution-promise p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 32px;
    position: relative;
    z-index: 2;
}

.promise-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.promise-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

.promise-feature i {
    color: var(--primary-color);
    font-size: 16px;
}

/* Modern Services Detail Section */
.services-detail-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    position: relative;
}

.services-detail-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="service-grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23000" opacity="0.015"/><circle cx="80" cy="80" r="0.5" fill="%23000" opacity="0.015"/></pattern></defs><rect width="100" height="100" fill="url(%23service-grain)"/></svg>');
    pointer-events: none;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.service-detail-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(230, 230, 230, 0.6);
    position: relative;
    overflow: hidden;
}

.service-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 167, 196, 0.02), transparent);
    opacity: 0;
    transition: all 0.3s ease;
}

.service-detail-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-detail-card:hover::before {
    opacity: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.service-detail-card .card-icon {
    width: 54px;
    height: 54px;
    background: rgba(0, 167, 196, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-detail-card:hover .card-icon {
    background: var(--primary-color);
    transform: scale(1.1);
}

.service-detail-card .card-icon i {
    font-size: 20px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.service-detail-card:hover .card-icon i {
    color: white;
}

.card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 14px;
    width: 16px;
    flex-shrink: 0;
}

.card-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(230, 230, 230, 0.6);
    position: relative;
    z-index: 2;
}

.card-footer p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
    font-style: italic;
}

/* Modern Contact CTA Section */
.contact-cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23fff" opacity="0.03"/><circle cx="10" cy="40" r="0.7" fill="%23fff" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    pointer-events: none;
}

.contact-cta-content {
    position: relative;
    z-index: 2;
}

.contact-cta-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: white;
}

.contact-cta-section p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.btn-cta-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: white;
    color: var(--primary-color);
    padding: 20px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-cta-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 167, 196, 0.1), rgba(0, 140, 163, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-cta-large:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-cta-large:hover::before {
    opacity: 1;
}

.btn-cta-large span,
.btn-cta-large i {
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .service-hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .expertise-section,
    .services-detail-section {
        padding: 80px 0;
    }
}

@media (max-width: 991px) {
    .service-hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-visual {
        margin-top: 50px;
    }
    
    .hero-image-stack {
        height: 300px;
    }
    
    .expertise-grid {
        margin-bottom: 40px;
    }
    
    .services-detail-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .contact-cta-section {
        padding: 60px 0;
        text-align: center;
    }
    
    .contact-cta-section h2 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 60px 0 30px;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 16px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .expertise-card {
        padding: 24px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .service-detail-card {
        padding: 24px;
    }
    
    .card-header {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .solution-promise {
        padding: 30px;
    }
    
    .hero-image-stack {
        height: 250px;
    }
    
    .hero-stats-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        align-self: center;
    }
}

@media (max-width: 576px) {
    .service-breadcrumb {
        padding: 10px 16px;
        font-size: 13px;
        flex-wrap: wrap;
    }
    
    .feature-badge {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .section-badge {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .expertise-card .card-icon,
    .service-detail-card .card-icon {
        width: 48px;
        height: 48px;
    }
    
    .expertise-card .card-icon i,
    .service-detail-card .card-icon i {
        font-size: 18px;
    }
    
    .promise-icon {
        width: 60px;
        height: 60px;
        border-radius: 18px;
    }
    
    .promise-icon i {
        font-size: 24px;
    }
    
    .btn-cta-large {
        padding: 16px 32px;
        font-size: 15px;
    }
    
    .services-detail-grid {
        grid-template-columns: 1fr;
    }
} 