:root{color-scheme:light}

/* Heller, moderner Studio-Look */
body:not(.dark-mode){background:#f4f6fb}
body:not(.dark-mode) .sidebar,body:not(.dark-mode) .topbar{background:rgba(255,255,255,.94);border-color:#e8ebf3}
body:not(.dark-mode) .topbar{box-shadow:0 3px 18px rgba(45,55,90,.035)}
body:not(.dark-mode) .panel,body:not(.dark-mode) .stat-card,body:not(.dark-mode) .project-card,body:not(.dark-mode) .detail-hero{border-color:#e9ebf2;box-shadow:0 10px 28px rgba(62,72,110,.055)}
body:not(.dark-mode) .panel:hover,body:not(.dark-mode) .stat-card:hover{box-shadow:0 13px 32px rgba(62,72,110,.09)}
body:not(.dark-mode) .workspace-switcher{background:#fbfcff;border-color:#e7eaf2}
body:not(.dark-mode) .nav-item{color:#737789}
body:not(.dark-mode) .nav-item:hover{background:#f5f6fb;color:#5145bb}
body:not(.dark-mode) .nav-item.active{background:linear-gradient(135deg,#f0efff,#f5f3ff);color:#5d50c8;box-shadow:inset 3px 0 #6654d9}
body:not(.dark-mode) .brand-mark{box-shadow:0 5px 13px rgba(102,84,217,.2)}
body:not(.dark-mode) .stat-icon{box-shadow:0 4px 10px rgba(56,65,100,.05)}
body:not(.dark-mode) .primary-button{background:linear-gradient(135deg,#7061e2,#5b4bca);box-shadow:0 7px 15px rgba(102,84,217,.22)}
body:not(.dark-mode) .primary-button:hover{background:linear-gradient(135deg,#7b6ced,#5141c0);transform:translateY(-1px)}
body:not(.dark-mode) .project-card.selected{border-color:#a9a0f0;background:linear-gradient(180deg,#fff,#fdfcff)}
body:not(.dark-mode) .date-box,body:not(.dark-mode) .day-date{background:linear-gradient(145deg,#f1f0ff,#faf9ff)}
body:not(.dark-mode) .progress{background:#e9ebf2}
body:not(.dark-mode) .progress i{background:linear-gradient(90deg,#7868e4,#a093f2)}
body:not(.dark-mode) .detail-tabs button.active{color:#5c4fc7}
body:not(.dark-mode) .secondary-button{border-color:#dcd9f4;background:#fff;color:#5d50c8}
body:not(.dark-mode) .help-card{background:linear-gradient(135deg,#f7f6ff,#fbfaff);border:1px solid #eceafd}

/* Ruhiger, kontrastreicher Produktionsmodus für dunkle Umgebungen */
.dark-mode{--bg:#101117;--surface:#1b1d27;--text:#f5f4fa;--muted:#a7a9b8;--line:#303342;--shadow:0 12px 32px rgba(0,0,0,.24);color-scheme:dark;background:var(--bg)}
.dark-mode .sidebar,.dark-mode .topbar,.dark-mode .panel,.dark-mode .stat-card,.dark-mode .project-card,.dark-mode .detail-hero{background:#1b1d27;border-color:#303342}
.dark-mode .sidebar{box-shadow:8px 0 28px rgba(0,0,0,.1)}
.dark-mode .topbar{box-shadow:0 3px 18px rgba(0,0,0,.12)}
.dark-mode .workspace-switcher{background:#242733;border-color:#3a3d4d}
.dark-mode .help-card{background:#24233a;border:1px solid #3b3861}
.dark-mode .help-icon{background:#403b70;color:#d2ccff}
.dark-mode .nav-label,.dark-mode .breadcrumbs,.dark-mode .project-info>p,.dark-mode .panel-header p,.dark-mode .subheading,.dark-mode .eyebrow,.dark-mode .stat-card span,.dark-mode .stat-card small,.dark-mode .project-meta span,.dark-mode .event p,.dark-mode .task-item small,.dark-mode .activity p,.dark-mode .activity small,.dark-mode .department small,.dark-mode .file-row small{color:#a7a9b8}
.dark-mode .nav-item{color:#b8bac7}.dark-mode .nav-item:hover{background:#262936;color:#fff}.dark-mode .nav-item.active{background:#393463;color:#d1cbff}.dark-mode .nav-item em{background:#302e52;color:#c8c1ff}.dark-mode .nav-item em.orange{background:#4a3428;color:#ffc391}
.dark-mode .breadcrumbs span{color:#565968}.dark-mode .breadcrumbs b,.dark-mode .profile-button{color:#f2f1f7}.dark-mode .icon-button{color:#c0c1cc}.dark-mode .mobile-menu{color:#f2f1f7}
.dark-mode .panel h2,.dark-mode .project-card-content h2,.dark-mode .title-line h3,.dark-mode .stat-card strong,.dark-mode .event h3,.dark-mode .task-item b,.dark-mode .activity p,.dark-mode .department b,.dark-mode .file-row b,.dark-mode .project-meta b{color:#f5f4fa}
.dark-mode .production-list,.dark-mode .calendar-date,.dark-mode .event,.dark-mode .production-row,.dark-mode .task-item,.dark-mode .department,.dark-mode .file-row,.dark-mode .detail-tabs{border-color:#303342}
.dark-mode .progress{background:#363846}.dark-mode .date-box,.dark-mode .day-date{background:#302c55}.dark-mode .date-box b,.dark-mode .day-date b{color:#d0caff}.dark-mode .calendar-date strong{color:#f5f4fa}.dark-mode .calendar-date button,.dark-mode .row-more{color:#aeb0bd}
.dark-mode .detail-tabs button{color:#a7a9b8}.dark-mode .detail-tabs button.active{color:#c9c2ff}.dark-mode .detail-kpi{border-color:#303342}.dark-mode .detail-kpi span{color:#a7a9b8}.dark-mode .detail-kpi strong{color:#f5f4fa}
.dark-mode .status-pill.filming{background:#1d483d;color:#8ce0bd}.dark-mode .status-pill.prep{background:#4b3325;color:#ffc18b}.dark-mode .status-pill.post{background:#373263;color:#c9c1ff}.dark-mode .priority.high{background:#4a2929;color:#ffaaa0}.dark-mode .priority.medium{background:#4b3d23;color:#ffd58a}
.dark-mode .checkmark{border-color:#55586a}.dark-mode .task-item input:checked+.checkmark{background:#7565e2;border-color:#7565e2}.dark-mode .team-stack i{border-color:#1b1d27;background:#373263;color:#d2ccff}.dark-mode .file-size{color:#a7a9b8}
.dark-mode .secondary-button,.dark-mode .add-card{background:#242733;color:#cbc5ff;border-color:#4c4875}.dark-mode .add-card h2{color:#e0ddf2}.dark-mode .add-project-icon{background:#373263;color:#d3ccff}.dark-mode .project-card:hover,.dark-mode .project-card.selected{border-color:#7568df;box-shadow:0 12px 28px rgba(0,0,0,.3)}.dark-mode .project-card-cover{filter:saturate(.75) brightness(.72)}
