/* Zusätzliche Styles für die neuen Slides */

/* Video slide styles */
.video-slide {
    padding: 0;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.fullscreen-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 100px;
    background: linear-gradient(to bottom, transparent 70%, rgba(0,0,0,0.7) 100%);
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.video-overlay:hover {
    opacity: 0.8;
}

.skip-hint {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Date styling */
.date {
    font-size: 16px; /* Etwas kleiner für bessere Hierarchie */
    color: var(--text-secondary);
    margin-top: 16px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Company intro styles */
.company-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.company-name {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.company-tagline {
    font-size: 28px;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.company-description {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
}

.company-description p {
    margin-bottom: 20px;
}

/* Enhanced team grid */
.team-grid.detailed {
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto 60px;
}

.team-member.featured {
    padding: 50px;
}

.team-member .role {
    font-size: 20px;
    color: var(--accent-blue);
    margin-bottom: 12px;
}

.team-member .bio {
    font-size: 16px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-top: 12px;
}

.member-icon.gradient {
    background: var(--gradient-blue);
    color: white;
}

/* Extended team */
.extended-team {
    margin-top: 60px;
    padding: 40px;
    background: var(--background-secondary);
    border-radius: 20px;
}

.extended-team h4 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.expert-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.expert {
    text-align: center;
    padding: 20px;
    background: var(--primary-white);
    border-radius: 12px;
}

.expert strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.expert span {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Experience showcase */
.experience-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.project-highlight {
    background: var(--background-secondary);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.project-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.project-highlight h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.project-highlight p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.project-highlight .result {
    font-weight: 600;
    color: var(--accent-green);
    margin-top: 20px;
}

/* Vision statement enhanced */
.vision-statement {
    margin: 60px 0;
}

.large-text {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.medium-text {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* AI description */
.ai-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: 40px;
}

/* Journey description */
.journey-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: 40px;
}

/* Hover effects */
.expert:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-blue);
}

.team-member.featured:hover {
    border-color: var(--accent-blue);
}

/* Better focus states */
button:focus,
.solution-card:focus,
.nav-button:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Improved readability */
p {
    line-height: 1.6;
}

/* Enhanced gradients */
.gradient-text {
    background: var(--gradient-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive updates */
@media (max-width: 768px) {
    .team-grid.detailed {
        grid-template-columns: 1fr;
    }
    
    .expert-grid {
        grid-template-columns: 1fr;
    }
    
    .experience-showcase {
        grid-template-columns: 1fr;
    }
}

/* Fullscreen Button */
.fullscreen-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 20px;
}

.fullscreen-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

/* Artemed Logo on Start Slide */
.artemed-logo {
    position: relative;
    margin-top: 48px; /* Harmonisierter Abstand */
    text-align: center;
    opacity: 1;
    z-index: 10;
}

.artemed-logo img {
    height: 120px; /* Vergrößert um 150% von 80px */
    width: auto;
    display: inline-block;
    /* Removed filter that was making logo white on white background */
    opacity: 0.9;
}

/* Animation for logo */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide 1 with white background - keep original logo colors */
#slide-1 {
    background: white;
}

#slide-1 .hero-title,
#slide-1 .hero-subtitle,
#slide-1 .date {
    color: var(--text-primary);
}

/* Show logo in original colors on white background */
#slide-1 .artemed-logo img {
    /* No filter - show original logo colors */
    opacity: 1;
}

/* Powered by RequestChange - Bottom Right */
.powered-by {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px; /* Dezenter */
    color: var(--text-secondary);
    opacity: 0.5; /* Subtiler */
    transition: opacity 0.3s ease;
}

.powered-by:hover {
    opacity: 0.8; /* Nicht zu dominant beim Hover */
}

.powered-by .rc-logo {
    height: 20px; /* Kleiner für Dezenz */
    width: auto;
}

.powered-by span {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Auto-hiding navigation */
.navigation {
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.navigation.visible {
    opacity: 1;
    pointer-events: all;
}

/* Show navigation on mouse movement */
.presentation-container {
    position: relative;
}

/* Show navigation when mouse is in bottom 100px */
.navigation-trigger {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 999;
}

/* Keep navigation visible for a moment after interaction */
.navigation.active {
    opacity: 1;
    pointer-events: all;
}

/* Slide 2 - Redesigned to match overall style */
.intro-header {
    text-align: center;
    margin-bottom: 80px;
}

.intro-title {
    font-size: 120px;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7ba7cc 0%, #a3c4e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-subtitle {
    font-size: 28px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    letter-spacing: 1px;
}

/* Philosophy Grid */
.team-philosophy {
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.philosophy-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: translateY(30px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.philosophy-card.animate-card {
    animation: slideInUp 0.8s ease forwards;
}

.philosophy-card.delay-1 {
    animation-delay: 0.2s;
}

.philosophy-card.delay-2 {
    animation-delay: 0.4s;
}

.philosophy-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.card-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: saturate(1.5);
}

.philosophy-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.philosophy-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
}

/* Team Statement */
.team-statement {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2) 0%, rgba(247, 147, 30, 0.2) 100%);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.team-statement blockquote {
    font-size: 36px;
    font-weight: 300;
    line-height: 1.4;
    margin: 0 0 30px 0;
    color: white;
}

.team-statement .highlight {
    font-weight: 600;
    background: linear-gradient(135deg, #7ba7cc 0%, #a3c4e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.statement-detail {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 1px;
    font-weight: 400;
}

/* Animations */
@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger text animation */
.stagger-text {
    overflow: hidden;
}

.stagger-text span {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    animation: revealText 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .intro-title {
        font-size: 80px;
    }
}

@media (max-width: 768px) {
    .intro-title {
        font-size: 60px;
    }
    
    .team-statement blockquote {
        font-size: 28px;
    }
}

/* Slide 2 - Complete Redesign */
.company-intro-new {
    max-width: 1100px;
    margin: -20px auto 0;
    padding: 0 40px;
}

.company-header {
    text-align: center;
    margin-bottom: 40px;
}

.company-name-styled {
    font-size: 72px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -2px;
}

.company-tagline-styled {
    font-size: 24px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Expertise Grid - Matching other slides */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.expertise-item {
    background: var(--background-secondary);
    padding: 35px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-blue);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #7ba7cc 0%, #a3c4e0 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-text {
    font-size: 32px;
    font-weight: 700;
    color: white;
    letter-spacing: -1px;
}

.expertise-item h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.expertise-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Value Proposition */
.value-proposition {
    background: var(--background-secondary);
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--border-color);
    margin: 0 auto;
    max-width: 1000px;
}

.proposition-text {
    font-size: 26px;
    line-height: 1.6;
    margin-bottom: 35px;
    color: var(--text-primary);
}

.highlight-blue {
    color: #7ba7cc;
    font-weight: 600;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
}

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

.stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: #7ba7cc;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-secondary);
}

/* Responsive for new design */
@media (max-width: 1024px) {
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-row {
        gap: 40px;
    }
    
    .company-name-styled {
        font-size: 56px;
    }
}

@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        gap: 30px;
    }
    
    .proposition-text {
        font-size: 22px;
    }
    
    .value-proposition {
        padding: 40px 30px;
    }
}

/* iPad Dashboard Mock-up for Digital Onboarding */
.ipad-mockup {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ipad-mockup.landscape {
    grid-column: 1;
}

/* Realistic iPad Device */
.ipad-device {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.ipad-bezel {
    background: #2c2c2e;
    border-radius: 36px;
    padding: 24px;
    box-shadow: 
        0 0 0 2px #1a1a1c,
        0 0 0 3px #3a3a3c,
        0 30px 60px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Front Camera */
.ipad-camera {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #1a1a1c;
    border-radius: 50%;
    box-shadow: 
        0 0 0 2px #2c2c2e,
        0 0 0 3px #3a3a3c;
}

/* Home Button */
.ipad-home-button {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #3a3a3c;
    border-radius: 50%;
    box-shadow: 
        inset 0 0 10px rgba(0, 0, 0, 0.5),
        0 2px 5px rgba(0, 0, 0, 0.3);
    display: none; /* Hidden for newer iPads */
}

.ipad-screen {
    background: #ffffff;
    border-radius: 16px;
    padding: 0;
    min-height: 600px;
    overflow: hidden;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Screen Content Adjustments */
.ipad-screen .dashboard-header {
    background: #f8f9fa;
    padding: 24px 32px;
    margin: 0;
}

.ipad-screen .dashboard-grid {
    padding: 24px 32px;
}

/* Make dashboard responsive within iPad */

@media (max-width: 768px) {
    .ipad-bezel {
        padding: 16px;
        border-radius: 24px;
    }
    
    .ipad-screen {
        min-height: 400px;
    }
}

/* Dashboard Header */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.user-welcome h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.user-welcome p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.progress-overview {
    text-align: center;
}

.progress-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7ba7cc 0%, #a3c4e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 12px rgba(123, 167, 204, 0.3);
}

.progress-circle::before {
    content: '';
    position: absolute;
    width: 64px;
    height: 64px;
    background: #f8f9fa;
    border-radius: 50%;
    top: 8px;
    left: 8px;
}

.progress-percent {
    font-size: 24px;
    font-weight: 700;
    color: #7ba7cc;
    position: relative;
    z-index: 1;
}

/* Artemed Logo in Dashboard */
.artemed-logo-dashboard {
    opacity: 0.8;
}

.artemed-logo-dashboard img {
    height: 50px;
    width: auto;
    display: block;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.dashboard-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Today's Modules */
.today-modules {
    grid-row: span 2;
}

.dashboard-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

.module-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.module-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.module-item.active {
    border-color: #7ba7cc;
    background: rgba(123, 167, 204, 0.05);
}

.module-item.completed {
    opacity: 0.7;
}

.module-icon {
    font-size: 32px;
    margin-right: 16px;
}

.module-info {
    flex: 1;
}

.module-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.module-info p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.module-progress {
    font-size: 18px;
    font-weight: 600;
    color: #7ba7cc;
}

/* Progress Timeline */
.timeline-days {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.day {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.day.completed {
    background: #73c088;
    color: white;
}

.day.active {
    background: #7ba7cc;
    color: white;
    box-shadow: 0 0 0 3px rgba(123, 167, 204, 0.2);
}

.achievements {
    background: rgba(123, 167, 204, 0.1);
    padding: 12px;
    border-radius: 8px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #333;
}

.badge {
    font-size: 20px;
}

/* Quick Links */
.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.quick-link:hover {
    background: rgba(123, 167, 204, 0.05);
    border-color: #7ba7cc;
    transform: translateY(-2px);
}

.link-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.quick-link span:last-child {
    font-size: 12px;
    color: #666;
}

/* KlinikFlow Dashboard Styles */
.klinikflow-dashboard {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-frame {
    background: #2c3e50;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.dashboard-screen {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 32px;
    min-height: 600px;
}

/* Control Center Header */
.control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #e0e0e0;
}

.control-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0 0 4px 0;
}

.control-title p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

.ai-status {
    background: rgba(123, 167, 204, 0.1);
    padding: 12px 20px;
    border-radius: 24px;
    border: 1px solid rgba(123, 167, 204, 0.3);
}

.ai-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #7ba7cc;
    font-weight: 600;
}

.ai-dot {
    width: 10px;
    height: 10px;
    background: #7ba7cc;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

/* Control Grid Layout */
.control-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
}

.control-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e0e0;
}

.control-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
}

/* Resource Overview */
.resource-overview {
    grid-column: 1;
}

.resource-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.resource-item.optimized {
    background: rgba(123, 167, 204, 0.05);
    border-color: rgba(123, 167, 204, 0.3);
}

.resource-icon {
    font-size: 32px;
}

.resource-info {
    flex: 1;
}

.resource-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.resource-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-top: 2px;
}

.resource-chart {
    width: 100px;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.chart-bar {
    height: 100%;
    background: #7ba7cc;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.chart-bar.success {
    background: #73c088;
}

/* Schedule Matrix */
.schedule-matrix {
    grid-column: 2;
    grid-row: span 2;
}

.matrix-grid {
    font-size: 13px;
}

.matrix-header {
    display: grid;
    grid-template-columns: 80px repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.time-slot {
    text-align: center;
    font-weight: 600;
    color: #666;
    padding: 8px;
}

.matrix-row {
    display: grid;
    grid-template-columns: 80px repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.room-label {
    font-weight: 600;
    color: #333;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: center;
}

.slot {
    padding: 8px;
    border-radius: 6px;
    text-align: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.slot.occupied {
    background: rgba(123, 167, 204, 0.2);
    color: #5a7fa3;
    border: 1px solid rgba(123, 167, 204, 0.3);
}

.slot.available {
    background: rgba(115, 192, 136, 0.1);
    color: #5fa871;
    border: 1px solid rgba(115, 192, 136, 0.3);
    cursor: pointer;
}

.slot.available:hover {
    background: rgba(115, 192, 136, 0.2);
    transform: scale(1.02);
}

.ai-suggestion {
    margin-top: 16px;
    padding: 12px;
    background: rgba(255, 183, 77, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 183, 77, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #f39c12;
}

.suggestion-icon {
    font-size: 16px;
}

/* AI Insights */
.ai-insights {
    grid-column: 1;
    grid-row: 2;
}

.insight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.insight-icon {
    font-size: 24px;
    padding: 8px;
    border-radius: 8px;
}

.insight-icon.prediction {
    background: rgba(155, 89, 182, 0.1);
}

.insight-icon.optimization {
    background: rgba(52, 152, 219, 0.1);
}

.insight-icon.alert {
    background: rgba(241, 196, 15, 0.1);
}

.insight-content h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.insight-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* Quick Actions */
.quick-actions {
    grid-column: span 2;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    color: #666;
}

.action-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn.primary {
    background: #7ba7cc;
    color: white;
    border-color: #7ba7cc;
}

.action-btn.primary:hover {
    background: #5a7fa3;
    border-color: #5a7fa3;
}

.btn-icon {
    font-size: 24px;
}

/* Responsive */
@media (max-width: 1024px) {
    .control-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-matrix {
        grid-column: 1;
        grid-row: auto;
    }
    
    .quick-actions {
        grid-column: 1;
    }
    
    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* PatientenPlus App Showcase Styles */
.patient-app-showcase {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.app-device-trio {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin: 40px 0;
}

.app-device {
    position: relative;
    transition: all 0.3s ease;
}

.app-device:hover {
    transform: translateY(-10px);
}

.app-device.active {
    transform: scale(1.1);
}

.device-frame {
    width: 300px;
    background: #1a1a1a;
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.device-screen {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    min-height: 600px;
}

/* Status Bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 20px;
    background: #f8f9fa;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.status-icons {
    display: flex;
    gap: 8px;
}

/* App Header */
.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.app-header h4 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #7ba7cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.progress-badge {
    background: #7ba7cc;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
}

.days-counter {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* App Body */
.app-body {
    padding: 20px;
}

/* Welcome Card */
.welcome-card {
    background: linear-gradient(135deg, #7ba7cc 0%, #a3c4e0 100%);
    color: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.welcome-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.welcome-card p {
    font-size: 14px;
    margin: 0 0 16px 0;
    opacity: 0.9;
}

.countdown-circle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    justify-content: center;
}

.countdown-number {
    font-size: 32px;
    font-weight: 700;
}

.countdown-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Checklist */
.prep-checklist {
    margin-bottom: 20px;
}

.prep-checklist h6 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
    transition: all 0.2s ease;
}

.checklist-item.completed {
    background: rgba(115, 192, 136, 0.1);
    color: #333;
}

.checklist-item.active {
    background: rgba(123, 167, 204, 0.1);
    border: 1px solid rgba(123, 167, 204, 0.3);
    color: #333;
}

.check {
    font-size: 16px;
    color: #73c088;
}

/* Action Button */
.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #7ba7cc;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-button:hover {
    background: #5a7fa3;
    transform: scale(1.02);
}

/* Daily Schedule */
.daily-schedule {
    margin-bottom: 20px;
}

.schedule-header {
    margin-bottom: 16px;
}

.schedule-header h5 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.schedule-header p {
    font-size: 14px;
    color: #666;
    margin: 4px 0 0 0;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 8px;
    width: 10px;
    height: 10px;
    background: #e0e0e0;
    border-radius: 50%;
}

.timeline-item.completed::before {
    background: #73c088;
}

.timeline-item.current::before {
    background: #7ba7cc;
    box-shadow: 0 0 0 3px rgba(123, 167, 204, 0.2);
}

.timeline-time {
    min-width: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
}

.timeline-content {
    flex: 1;
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
}

.timeline-content h6 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}

.timeline-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.status-badge {
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.status-badge.done {
    background: rgba(115, 192, 136, 0.1);
    color: #73c088;
}

.status-badge.now {
    background: rgba(123, 167, 204, 0.1);
    color: #7ba7cc;
}

/* Mood Tracker */
.mood-tracker {
    text-align: center;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.mood-tracker h6 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
}

.mood-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.mood {
    font-size: 32px;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.mood:hover,
.mood.active {
    opacity: 1;
    transform: scale(1.1);
}

/* Progress Overview */
.progress-overview {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.progress-ring {
    position: relative;
    width: 150px;
    height: 150px;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.percentage {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.label {
    display: block;
    font-size: 14px;
    color: #666;
}

/* Aftercare Modules */
.aftercare-modules {
    margin-bottom: 20px;
}

.module-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.module-card:hover {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.module-card.highlight {
    background: rgba(123, 167, 204, 0.1);
    border: 1px solid rgba(123, 167, 204, 0.3);
}

.module-icon {
    font-size: 24px;
}

.module-content h6 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin: 0 0 2px 0;
}

.module-content p {
    font-size: 13px;
    color: #666;
    margin: 0;
}

/* SOS Button */
.sos-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    background: #ff6b6b;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sos-button:hover {
    background: #ff5252;
    transform: scale(1.02);
}

/* Device Labels */
.device-label {
    text-align: center;
    margin-top: 20px;
    font-size: 16px;
    color: #666;
    font-weight: 500;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.device-label.active {
    font-size: 18px;
    color: #7ba7cc;
    font-weight: 600;
    opacity: 1;
}

/* Responsive */
@media (max-width: 1024px) {
    .app-device-trio {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
    
    .app-device.active {
        transform: scale(1);
    }
}

/* Problem Showcase Styles - Clean and Clear */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto;
}

.problem-card {
    background: var(--background-card);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: var(--border-light);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

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

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.problem-card h3 {
    font-size: 36px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Problem Details */
.problem-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.detail-card {
    background: var(--background-secondary);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
}

.detail-card h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.detail-card li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 20px;
}

.detail-card.highlight {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    border: 1px solid rgba(255, 107, 107, 0.2);
}

.impact-text {
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
    font-weight: 500;
}

/* Data Source */
.data-source {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--gray-200);
}

.data-source p {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Responsive */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .problem-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Impact & ROI Styles */
.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 60px auto;
}

.impact-card {
    background: var(--background-card);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: var(--border-light);
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.impact-card.positive {
    border-color: var(--accent-green);
}

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

.impact-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.impact-card h3 {
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #73c088 0%, #5fa871 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.impact-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Implementation Details */
.implementation-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.detail-box {
    background: var(--background-secondary);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-subtle);
}

.detail-box h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-200);
}

.timeline-item:last-child {
    border-bottom: none;
}

.timeline-label {
    font-weight: 600;
    color: var(--text-primary);
}

.timeline-value {
    color: var(--text-secondary);
}

/* ROI Visual */
.detail-box.roi {
    background: linear-gradient(135deg, rgba(123, 167, 204, 0.05) 0%, rgba(123, 167, 204, 0.1) 100%);
}

.roi-visual {
    text-align: center;
}

.roi-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #7ba7cc 0%, #a3c4e0 100%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 30px rgba(123, 167, 204, 0.3);
}

.roi-time {
    font-size: 48px;
    font-weight: 700;
    color: white;
}

.roi-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.roi-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .implementation-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Desktop Mockup for KlinikFlow */
.desktop-mockup {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.desktop-frame {
    position: relative;
    width: 100%;
    max-width: 900px;
}

.desktop-screen {
    background: #1a1a1c;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 
        0 0 0 2px #2a2a2c,
        0 30px 60px rgba(0, 0, 0, 0.4);
}

.desktop-screen::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 20px;
    background: #1a1a1c;
    border-radius: 0 0 10px 10px;
}

.desktop-stand {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: #2a2a2c;
    border-radius: 0 0 40px 40px;
    z-index: -1;
}

/* KlinikFlow Dashboard Simplified */
.klinikflow-header {
    background: #f8f9fa;
    padding: 20px 24px;
    border-radius: 8px 8px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}

.kf-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin: 0 0 2px 0;
}

.kf-title p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.kf-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #7ba7cc;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #7ba7cc;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Main Grid */
.kf-main-grid {
    background: white;
    padding: 24px;
    border-radius: 0 0 8px 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    min-height: 400px;
}

.kf-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.kf-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 16px 0;
}

/* Overview Card */
.kf-card.overview {
    grid-column: 1;
}

.overview-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 13px;
    color: #666;
}

.progress-bar {
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 4px;
}

.progress {
    height: 100%;
    background: #7ba7cc;
    border-radius: 3px;
}

.stat.highlight .stat-value {
    color: #73c088;
}

/* Schedule Card */
.kf-card.schedule {
    grid-column: 2;
    grid-row: span 2;
}

.time-blocks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.block {
    padding: 10px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.block.occupied {
    background: rgba(123, 167, 204, 0.2);
    color: #5a7fa3;
    border: 1px solid rgba(123, 167, 204, 0.3);
}

.block.available {
    background: rgba(115, 192, 136, 0.1);
    color: #5fa871;
    border: 1px solid rgba(115, 192, 136, 0.3);
}

.ai-hint {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 183, 77, 0.1);
    border-radius: 6px;
    font-size: 12px;
    color: #f39c12;
}

/* Insights Card */
.kf-card.insights {
    grid-column: 1;
}

.insight-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.insight {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.insight .icon {
    font-size: 20px;
}
