/* Global Fullscreen Fixes for All Slides */

/* Base fullscreen settings for all slides */
.slide {
    height: 100vh;
    overflow: hidden;
}

.slide .content {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* ========== SLIDE 5: Die Herausforderung ========== */
#slide-5 {
    overflow: hidden;
}

#slide-5 .content {
    padding: 40px 30px;
}

#slide-5 .section-title {
    font-size: 48px;
    margin-bottom: 30px;
}

#slide-5 .challenge-redesign {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

#slide-5 .klinik-facts {
    padding: 30px;
}

#slide-5 .facts-title {
    font-size: 24px;
}

#slide-5 .fact-icon {
    font-size: 28px;
}

#slide-5 .fact-number {
    font-size: 24px;
}

#slide-5 .challenge-cards {
    gap: 16px;
}

#slide-5 .challenge-card {
    padding: 20px;
}

#slide-5 .challenge-statement {
    padding: 24px;
    margin-top: 30px;
}

#slide-5 .statement-icon {
    font-size: 36px;
}

#slide-5 .statement-text {
    font-size: 18px;
}

/* ========== SLIDE 16: Entscheidungsmatrix ========== */
#slide-16 {
    overflow: hidden;
}

#slide-16 .content {
    padding: 40px 30px;
}

#slide-16 .section-title {
    font-size: 48px;
    margin-bottom: 30px;
}

#slide-16 .apple-comparison-grid {
    margin-top: 30px;
}

#slide-16 .comparison-solutions {
    margin-bottom: 30px;
}

#slide-16 .solution-comparison-card {
    padding: 24px 20px;
    min-height: 200px;
}

#slide-16 .solution-icon-large {
    font-size: 48px;
}

#slide-16 .solution-comparison-card h3 {
    font-size: 20px;
}

#slide-16 .metric-row {
    padding: 16px 0;
}

#slide-16 .metric-label {
    font-size: 14px;
}

#slide-16 .progress-indicator {
    height: 6px;
    max-width: 120px;
}

#slide-16 .roi-indicator {
    padding: 10px 16px;
}

#slide-16 .roi-value {
    font-size: 24px;
}

/* ========== SLIDE 17: KI-Power Tools ========== */
#slide-17 {
    overflow: hidden;
}

#slide-17 .content {
    padding: 40px 30px;
    max-width: 1400px;
}

#slide-17 .section-title {
    font-size: 48px;
    margin-bottom: 30px;
}

#slide-17 .tech-categories-main {
    gap: 24px;
    margin-bottom: 30px;
}

#slide-17 .tech-category-detailed {
    padding: 24px;
}

#slide-17 .tech-icon-large {
    font-size: 40px;
}

#slide-17 .tech-category-title h4 {
    font-size: 20px;
}

#slide-17 .tool-item {
    padding: 10px 12px;
}

#slide-17 .tool-logo {
    width: 28px;
    height: 28px;
    font-size: 16px;
}

#slide-17 .tool-name {
    font-size: 14px;
}

#slide-17 .tool-description {
    font-size: 12px;
}

#slide-17 .ai-speed-highlight {
    padding: 24px;
    margin-top: 30px;
}

#slide-17 .speed-number {
    font-size: 36px;
}

/* ========== SLIDE 18: Unser Prozess ========== */
#slide-18 {
    overflow: hidden;
}

#slide-18 .content {
    padding: 40px 30px;
}

#slide-18 .section-title {
    font-size: 48px;
    margin-bottom: 30px;
}

#slide-18 .process-timeline-modern {
    margin-top: 30px;
}

#slide-18 .timeline-phases {
    gap: 30px;
    margin-bottom: 40px;
}

#slide-18 .phase-card {
    padding: 24px;
    min-height: 160px;
}

#slide-18 .phase-time {
    font-size: 12px;
}

#slide-18 .phase-title {
    font-size: 18px;
}

#slide-18 .phase-activities {
    font-size: 13px;
}

#slide-18 .phase-activities li {
    padding: 6px 0;
    margin-bottom: 6px;
}

#slide-18 .ai-tools-highlight {
    padding: 28px;
    margin-top: 30px;
}

#slide-18 .ai-tools-title {
    font-size: 24px;
}

#slide-18 .ai-tools-description {
    font-size: 16px;
}

#slide-18 .speed-metrics {
    margin-top: 20px;
}

#slide-18 .speed-number {
    font-size: 32px;
}

/* ========== SLIDE 20: Therapie der Zukunft ========== */
#slide-20 {
    overflow: hidden;
}

#slide-20 .future-content {
    padding: 40px 30px;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

#slide-20 .future-header {
    margin-bottom: 30px;
}

#slide-20 .future-title {
    font-size: 48px;
}

#slide-20 .future-subtitle {
    font-size: 20px;
}

#slide-20 .future-concepts {
    gap: 24px;
    margin-bottom: 30px;
}

#slide-20 .future-concept {
    padding: 28px;
}

#slide-20 .concept-icon {
    width: 60px;
    height: 60px;
    font-size: 32px;
    margin-bottom: 16px;
}

#slide-20 .concept-title {
    font-size: 20px;
    margin-bottom: 8px;
}

#slide-20 .concept-description {
    font-size: 14px;
    margin-bottom: 16px;
}

#slide-20 .feature-tag {
    font-size: 11px;
    padding: 4px 10px;
}

#slide-20 .future-timeline {
    padding: 28px;
}

#slide-20 .timeline-title {
    font-size: 24px;
    margin-bottom: 24px;
}

#slide-20 .ethics-focus {
    margin-top: 30px;
    padding: 28px;
}

#slide-20 .ethics-title {
    font-size: 24px;
    margin-bottom: 20px;
}

#slide-20 .principle-icon {
    font-size: 24px;
}

#slide-20 .principle-text {
    font-size: 12px;
}

/* ========== SLIDE 8, 11, 14: Mockup Slides ========== */
#slide-8 .content,
#slide-11 .content,
#slide-14 .content {
    padding: 40px 30px;
}

#slide-8 .ipad-mockup,
#slide-11 .desktop-mockup {
    max-height: 50vh;
    margin: 20px auto;
}

#slide-14 .mobile-showcase {
    gap: 20px;
}

#slide-14 .phone-container {
    max-height: 50vh;
}

/* Emergency Mode for Very Small Heights */
@media (max-height: 720px) {
    .section-title {
        font-size: 36px !important;
        margin-bottom: 20px !important;
    }
    
    /* Hide less critical elements */
    .ethics-footnote,
    .phase-progress,
    .tool-badges,
    .approach-subtitle,
    .org-section-subtitle {
        display: none !important;
    }
    
    /* Reduce all paddings */
    .slide .content {
        padding: 30px 20px !important;
    }
    
    /* Smaller gaps */
    .tech-categories-main,
    .future-concepts,
    .timeline-phases {
        gap: 16px !important;
    }
}

/* 16:9 Aspect Ratio Optimization */
@media (aspect-ratio: 16/9) {
    .slide .content {
        max-width: 1600px;
        margin: 0 auto;
    }
}