/* KI Workshop Hero - Premium Centered Design */

.hero-workshop {
    position: relative;
    overflow: visible !important; /* Fix: Kein Clipping */
}

.hero-workshop-overlay {
    background: rgba(0, 0, 0, 0.72) !important;
}

.hero-workshop-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px; /* Deutlich breiter */
    margin: 0 auto;
    padding: 7rem 3rem 5rem; /* Noch mehr seitliches Padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: visible !important; /* Fix: Kein Clipping */
}

.hero-workshop-container > * {
    text-align: center;
    overflow: visible; /* Fix: Kein Clipping */
}

.hero-workshop-title {
    max-width: 1250px; /* Deutlich breiter für zweite Zeile */
    margin: 1.25rem auto 1.5rem;
    line-height: 1.12; /* Noch mehr vertikaler Raum */
    letter-spacing: 0.01em; /* Leicht positives Spacing - extra Luft */
    font-size: clamp(2.5rem, 4.5vw, 4.6rem); /* Deutlich kleiner */
    font-weight: 900;
    text-align: center;
    overflow: visible !important; /* Fix: Kein Clipping */
    text-wrap: balance;
}

.hero-workshop-title .hero-line-1,
.hero-workshop-title .hero-line-2 {
    display: block;
    overflow: visible !important; /* Fix: Kein Clipping */
}

.hero-workshop-title .hero-line-2 {
    margin-top: 0.15em;
}

.hero-workshop-subtitle {
    max-width: 720px;
    margin: 0 auto 2rem;
    font-size: clamp(1.05rem, 1.6vw, 1.5rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.hero-workshop-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 0 auto 2.25rem;
}

.hero-workshop-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
    margin: 0 auto 1rem;
    width: 100%;
    max-width: 760px;
}

.hero-workshop-stats .stat {
    min-width: 150px;
}

.hero-note {
    margin: 0;
    max-width: 620px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 991px) {
    .hero-workshop-container {
        padding-top: 6rem;
        padding-bottom: 4rem;
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    
    .hero-workshop-title {
        max-width: 95%; /* Fast volle Breite */
        font-size: clamp(2.4rem, 6vw, 4.2rem);
        letter-spacing: 0.01em; /* Auch auf Tablet positiv */
    }
    
    .hero-workshop-subtitle {
        max-width: 680px;
    }
    
    .hero-workshop-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-workshop-container {
        padding: 5.5rem 2rem 3.5rem;
    }
    
    .hero-workshop-title {
        max-width: 100%;
        line-height: 1.15; /* Maximale Luft auf Mobile */
        font-size: clamp(2.1rem, 8.5vw, 3.6rem);
        margin: 1rem auto 1.25rem;
        letter-spacing: 0.01em; /* Auch Mobile positiv */
    }
    
    .hero-workshop-subtitle {
        max-width: 100%;
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.75rem;
    }
    
    .hero-workshop-actions {
        width: 100%;
        gap: 0.875rem;
        margin-bottom: 1.75rem;
    }
    
    .hero-workshop-actions .btn-hero-primary,
    .hero-workshop-actions .btn-hero-secondary {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
    
    .hero-workshop-stats {
        gap: 1rem;
        max-width: 100%;
    }
    
    .hero-workshop-stats .stat {
        min-width: 120px;
    }
    
    .hero-note {
        font-size: 0.72rem;
    }
}

@media (max-width: 480px) {
    .hero-workshop-container {
        padding-top: 5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    .hero-workshop-title {
        font-size: clamp(1.9rem, 9.5vw, 2.9rem);
        line-height: 1.18; /* Maximum vertikaler Raum */
        letter-spacing: 0.01em;
    }
    
    .hero-workshop-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-workshop-stats .stat {
        min-width: auto;
        width: 100%;
        max-width: 220px;
    }
}

/* ========================================
   PROCESS TIMELINE - CENTERED
   ======================================== */

.section-process .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 991px) {
    .section-process .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-process .process-timeline {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

/* ========================================
   CALENDLY BOOKING SECTION
   ======================================== */

.booking-section {
    background: #f8fafc;
    padding: 4rem 0;
    scroll-margin-top: 80px; /* Desktop offset */
}

.booking-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.booking-head {
    text-align: center;
    margin-bottom: 2rem;
}

.calendly-inline-widget {
    width: 100%;
    min-width: 320px;
    height: 1100px;
    border-radius: 12px;
    overflow: hidden;
}

.calendly-inline-widget iframe {
    height: 1100px !important;
}

@media (max-width: 1024px) {
    .calendly-inline-widget {
        height: 1000px;
    }
    
    .calendly-inline-widget iframe {
        height: 1000px !important;
    }
}

@media (max-width: 768px) {
    .booking-section {
        padding: 3rem 0;
        scroll-margin-top: 100px; /* Mobile: mehr Offset wegen Nav */
    }
    
    .calendly-inline-widget {
        height: 950px;
    }
    
    .calendly-inline-widget iframe {
        height: 950px !important;
    }
}

@media (max-width: 480px) {
    .booking-section {
        scroll-margin-top: 120px; /* Kleine Screens: noch mehr Offset */
    }
    
    .calendly-inline-widget {
        height: 1000px;
    }
    
    .calendly-inline-widget iframe {
        height: 1000px !important;
    }
}
