/* ================================================
   SuchyConsulting - services.css
   Service-Seiten spezifische Styles
   Version: 1.0
   ================================================ */

/* Service Hero Section */
.service-hero {
    padding: 8rem 2rem 4rem;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: white;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb .current {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* Service Hero Content */
.service-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.service-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Service Overview Section */
.service-overview {
    padding: 5rem 2rem;
    background: #f9fafb;
}

.overview-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.overview-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.overview-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

/* Benefits List */
.benefits-list {
    margin-top: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.benefits-list h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
}

.benefits-list ul {
    list-style: none;
}

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-gray);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li::before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 24px;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.benefits-list strong {
    display: block;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

/* Stats Grid */
.overview-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-color);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Services Detail Section */
.services-detail {
    padding: 5rem 2rem;
    background: white;
}

/* Accordion */
.services-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.accordion-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.accordion-item.active {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.accordion-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    user-select: none;
}

.accordion-header:hover {
    background: var(--light-gray);
}

.accordion-header h3 {
    font-size: 1.25rem;
    margin: 0;
    color: var(--dark-color);
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 0 2rem 2rem;
    animation: slideDown 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.content-text p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.content-text ul {
    list-style: none;
    margin-top: 1rem;
}

.content-text li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.content-text li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.content-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Methodology Section */
.methodology {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

/* Process Timeline */
.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: var(--border-gray);
    z-index: 0;
}

.timeline-item {
    text-align: center;
    position: relative;
}

.timeline-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-number {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(30, 64, 175, 0.3);
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.timeline-content p {
    font-size: 0.875rem;
    color: var(--text-color);
    line-height: 1.6;
}

/* Case Studies Section */
.case-studies {
    padding: 5rem 2rem;
    background: white;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-gray);
    transition: all 0.3s ease;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.case-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.case-industry,
.case-type {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: var(--light-gray);
    color: var(--text-color);
}

.case-industry {
    background: #dbeafe;
    color: #1e40af;
}

.case-type {
    background: #f3e8ff;
    color: #6b21a8;
}

.case-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.case-card p {
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.case-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-gray);
}

.result-item {
    text-align: center;
}

.result-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.result-item span {
    font-size: 0.75rem;
    color: var(--text-color);
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.cta-box {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Contact Section for Services */
.contact-section {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.info-items {
    margin: 2rem 0;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-item strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
    font-weight: 600;
}

.info-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.info-item a:hover {
    text-decoration: underline;
}

.trust-indicators {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-gray);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-item .icon {
    color: var(--accent-color);
    flex-shrink: 0;
}

/* Icon Styles */
.icon {
    display: inline-block;
    vertical-align: middle;
}

.icon-arrow {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn-secondary:hover .icon-arrow {
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 6rem 1.5rem 3rem;
    }
    
    .service-hero-content h1 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-image {
        margin-top: 1rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .case-results {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .result-item {
        display: flex;
        align-items: center;
        gap: 1rem;
        text-align: left;
    }
    
    .result-item strong {
        font-size: 1.25rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .cta-box h2 {
        font-size: 1.875rem;
    }
    
    .cta-box p {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .accordion-header {
        padding: 1rem 1.5rem;
    }
    
    .accordion-header h3 {
        font-size: 1.125rem;
    }
    
    .accordion-content {
        padding: 0 1.5rem 1.5rem;
    }
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.service-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.service-loading::after {
    content: '';
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-gray);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Print Styles */
@media print {
    .service-hero {
        background: none;
        color: black;
        padding: 2rem 0;
    }
    
    .breadcrumb,
    .hero-ctas,
    .cta-section {
        display: none;
    }
    
    .accordion-item {
        border: 1px solid #ddd;
        margin-bottom: 1rem;
    }
    
    .accordion-content {
        display: block !important;
    }
    
    .accordion-icon {
        display: none;
    }
}.learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto; /* Push to bottom of card */
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

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

.learn-more:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.learn-more:hover::before {
    opacity: 1;
}

.learn-more:active {
    transform: translateX(3px) scale(0.98);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .service-card {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .service-card {
        min-height: auto; /* Allow natural height on mobile */
        padding: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .learn-more {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        padding: 1.25rem;
    }
    
    .service-features li {
        font-size: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .service-card {
        overflow: visible;
        min-height: auto;
        page-break-inside: avoid;
    }
    
    .learn-more {
        display: none;
    }
}


/* Seminare Section */
.seminare {
    padding: 5rem 2rem;
    background: var(--light-gray);
}

.seminar-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: white;
}

.seminar-content {
    display: none;
}

.seminar-content.active {
    display: block;
}

.seminar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.seminar-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.seminar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.seminar-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
}

.seminar-header h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.seminar-duration {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.seminar-body {
    padding: 1.5rem;
}

.seminar-description {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.seminar-topics {
    list-style: none;
    margin-bottom: 1.5rem;
}

.seminar-topics li {
    padding: 0.5rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;

/* ============================================
   FIX: Learn More Buttons - Added 2025-11-20
   ============================================ */

.learn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #1e40af 0%, #3730a3 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.learn-more:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    background: linear-gradient(135deg, #1e3a8a 0%, #312e81 100%);
}

/* Service Card Fix */
.service-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    min-height: 500px !important;
}

@media (max-width: 768px) {
    .learn-more {
        width: 100%;
        text-align: center;
    }
    
    .service-card {
        min-height: 450px !important;
    }
}
