*{box-sizing:border-box;margin:0;padding:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.6;color:#333;background:#f5f5f5}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{background:linear-gradient(135deg,#e2001a,#b8001a);color:#fff;padding:2rem;text-align:center}.app-header h1{font-size:2rem;font-weight:600;margin-bottom:.5rem}.app-header .subtitle{opacity:.9;font-size:1.1rem}.app-main{flex:1;max-width:1400px;margin:0 auto;padding:2rem;width:100%}.filter-bar{display:flex;flex-wrap:wrap;gap:1rem;background:#fff;padding:1.5rem;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:1rem}.filter-group{display:flex;flex-direction:column;gap:.5rem;min-width:200px;flex:1}.filter-group label{font-weight:500;font-size:.875rem;color:#666}.filter-group select{padding:.75rem;border:1px solid #ddd;border-radius:4px;font-size:1rem;background:#fff;cursor:pointer}.filter-group select:focus{outline:none;border-color:#e2001a}.results-info{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;color:#666}.clear-filters{background:none;border:none;color:#e2001a;cursor:pointer;font-size:.875rem;text-decoration:underline}.clear-filters:hover{color:#b8001a}.project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}.no-projects{text-align:center;padding:3rem;color:#666}@keyframes shuffleIn{0%{opacity:0;transform:scale(.8) rotateY(-20deg) translateY(30px)}50%{opacity:.8;transform:scale(1.02) rotateY(5deg) translateY(-5px)}to{opacity:1;transform:scale(1) rotateY(0) translateY(0)}}@keyframes fadeOut{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.8) translateY(20px)}}.project-tile{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 8px #0000001a;cursor:pointer;transition:transform .2s,box-shadow .2s}.project-tile.entering{animation:shuffleIn .4s ease-out both}.project-tile.leaving{animation:fadeOut .3s ease-in both}.project-tile:hover:not(.leaving){transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.project-image{aspect-ratio:16 / 9;overflow:hidden;background:#eee}.project-image img{width:100%;height:100%;object-fit:cover}.project-content{padding:.75rem}.project-title{font-size:.95rem;font-weight:600;margin-bottom:.5rem;color:#222}.project-meta{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:.5rem}.badge{display:inline-block;padding:.15rem .5rem;border-radius:100px;font-size:.65rem;font-weight:500}.badge.semester{background:#e8f4fd;color:#1976d2}.badge.course{background:#e8f5e9;color:#388e3c}.badge.category{background:#fff3e0;color:#f57c00}.project-students{font-size:.75rem;color:#666;margin-bottom:.5rem}.project-tile .project-description{font-size:.8rem;color:#555;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.project-tile.expanded .project-description{max-height:none}.expand-toggle{background:none;border:none;color:#e2001a;cursor:pointer;font-size:.75rem;padding:.25rem 0;margin-top:.25rem}.expand-toggle:hover{text-decoration:underline}.project-detail{background:#fff;border-radius:8px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.back-button{display:inline-block;background:none;border:none;color:#e2001a;cursor:pointer;font-size:1rem;padding:1rem 1.5rem;transition:background .2s}.back-button:hover{background:#f5f5f5}.detail-content{padding:0 1.5rem 1.5rem}.detail-header{margin-bottom:1.5rem}.detail-header h1{font-size:1.75rem;font-weight:600;color:#222;margin-bottom:.75rem}.detail-meta{display:flex;flex-wrap:wrap;gap:.5rem}.detail-meta .badge{font-size:.8rem;padding:.25rem .75rem}.detail-video{aspect-ratio:16 / 9;margin-bottom:1.5rem;border-radius:8px;overflow:hidden;background:#000}.detail-video iframe{width:100%;height:100%}.detail-image{aspect-ratio:16 / 9;margin-bottom:1.5rem;border-radius:8px;overflow:hidden;background:#eee}.detail-image img{width:100%;height:100%;object-fit:cover}.detail-info{display:flex;flex-direction:column;gap:2rem;max-width:800px}.detail-students h3,.detail-description h3{font-size:1rem;font-weight:600;color:#444;margin-bottom:.75rem}.detail-students ul{list-style:none}.detail-students li{padding:.25rem 0;color:#555}.detail-description{font-size:1rem;line-height:1.7;color:#444}.detail-description p{margin-bottom:1rem}.detail-badges{display:flex;gap:.5rem;margin-bottom:.75rem}.detail-project-id{display:inline-block;font-size:.85rem;font-weight:600;color:#2e7d32;background:#e8f5e9;padding:.35rem .85rem;border-radius:6px;font-family:monospace;white-space:nowrap}.detail-semester{display:inline-block;font-size:.85rem;font-weight:600;color:#e65100;background:#fff3e0;padding:.35rem .85rem;border-radius:6px;white-space:nowrap}.detail-title{font-size:1.75rem;font-weight:700;color:#222;margin-bottom:.5rem}.detail-duration{font-size:1.1rem;color:#666;margin-bottom:1.5rem}.detail-section{padding-bottom:1.5rem;border-bottom:1px solid #eee}.detail-section:last-child{border-bottom:none}.detail-section>h3{font-size:1.4rem;font-weight:600;color:#333;margin-bottom:1rem}.detail-section.description div h2{font-size:1.15rem;font-weight:600;color:#444;margin-top:1.5rem;margin-bottom:.75rem}.detail-section.description div h3{font-size:1rem;font-weight:600;color:#555;margin-top:1.25rem;margin-bottom:.5rem}.detail-section.description div ul,.detail-section.description div ol{margin:.75rem 0;padding-left:1.25rem}.detail-section.description div li{font-size:1rem;margin-bottom:.5rem;line-height:1.6}.detail-section.description div li::marker{font-size:.9rem;color:#444}.quotes-list{display:flex;flex-direction:column;gap:1.5rem}.quote-item{display:flex;flex-direction:column;gap:.75rem;padding:1rem;background:#f9f9f9;border-radius:8px;border-left:4px solid #e2001a}.quote-photo{width:60px;height:60px;border-radius:50%;object-fit:cover}.quote-text{font-style:italic;color:#444;line-height:1.6}.quote-author{font-size:.9rem;color:#666}.quote-role{color:#888}.team-list{list-style:none;display:flex;flex-direction:column;gap:1rem}.team-member{padding:.75rem;background:#f9f9f9;border-radius:6px}.member-role{color:#666;font-weight:400}.member-contact{margin-top:.5rem;font-size:.9rem}.member-contact a{color:#e2001a;text-decoration:none}.member-contact a:hover{text-decoration:underline}.member-phone{margin-left:1rem;color:#666}.partners-list{display:flex;flex-direction:column;gap:1rem}.partner-item{display:flex;align-items:center;gap:1rem;padding:.75rem;background:#f9f9f9;border-radius:6px}.partner-logo{max-width:120px;max-height:60px;object-fit:contain}.partner-item a{color:#e2001a;text-decoration:none;font-weight:500}.partner-item a:hover{text-decoration:underline}.detail-section.funding p{color:#555;line-height:1.6}.detail-section.homepage a{color:#e2001a;text-decoration:none;word-break:break-all}.detail-section.homepage a:hover{text-decoration:underline}.social-links{display:flex;flex-wrap:wrap;gap:.75rem}.social-link{display:inline-block;padding:.5rem 1rem;background:#f0f0f0;border-radius:6px;color:#333;text-decoration:none;font-weight:500;transition:background .2s}.social-link:hover{background:#e2001a;color:#fff}.app-footer{background:#333;color:#fff;text-align:center;padding:1.5rem;margin-top:auto}.app-footer p{margin:0 0 1rem}.portal-links{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}.portal-links a{display:inline-flex;align-items:center;padding:.5rem 1.25rem;border-radius:6px;font-size:.9rem;font-weight:500;text-decoration:none;transition:all .2s}.student-portal-link{background:#1976d226;color:#90caf9;border:1px solid rgba(144,202,249,.3)}.student-portal-link:hover{background:#1976d240;color:#bbdefb}.professor-portal-link{background:#2e7d3226;color:#a5d6a7;border:1px solid rgba(165,214,167,.3)}.professor-portal-link:hover{background:#2e7d3240;color:#c8e6c9}@media(max-width:768px){.app-header h1{font-size:1.5rem}.app-main{padding:1rem}.filter-bar{flex-direction:column}.filter-group{min-width:100%}.project-grid{grid-template-columns:1fr}.detail-info{gap:1.5rem}.detail-header h1{font-size:1.35rem}}.project-form-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.project-form{background:#fff;border-radius:12px;width:100%;max-width:800px;max-height:90vh;display:flex;flex-direction:column;box-shadow:0 4px 20px #0003}.form-header{display:flex;justify-content:space-between;align-items:center;padding:1.5rem;border-bottom:1px solid #eee}.form-header h2{margin:0;font-size:1.5rem;color:#222}.close-button{background:none;border:none;font-size:1.75rem;cursor:pointer;color:#666;line-height:1;padding:.25rem}.close-button:hover{color:#e2001a}.form-progress{display:flex;padding:1rem 1.5rem;gap:.5rem;overflow-x:auto;border-bottom:1px solid #eee;background:#f9f9f9}.progress-step{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border-radius:6px;cursor:pointer;white-space:nowrap;font-size:.85rem;color:#666;transition:all .2s}.progress-step:hover{background:#eee}.progress-step.active{background:#e2001a;color:#fff}.progress-step.completed{color:#2e7d32}.step-number{width:24px;height:24px;border-radius:50%;background:#ddd;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:.75rem}.progress-step.active .step-number{background:#fff;color:#e2001a}.progress-step.completed .step-number{background:#e8f5e9;color:#2e7d32}.step-title{display:none}@media(min-width:768px){.step-title{display:inline}}.form-content{flex:1;overflow-y:auto;padding:1.5rem}.form-step h3{margin:0 0 1.5rem;font-size:1.25rem;color:#222}.form-step h4{margin:0 0 .75rem;font-size:1rem;color:#444}.form-hint{color:#666;font-size:.9rem;margin-bottom:1rem}.form-group{margin-bottom:1rem}.form-group label{display:block;font-weight:500;font-size:.9rem;color:#444;margin-bottom:.5rem}.form-group input,.form-group select,.form-group textarea{width:100%;padding:.75rem;border:1px solid #ddd;border-radius:6px;font-size:1rem;font-family:inherit}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{outline:none;border-color:#e2001a}.form-group textarea{resize:vertical;min-height:100px}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}@media(max-width:600px){.form-row{grid-template-columns:1fr}}.char-count{display:block;text-align:right;font-size:.8rem;color:#888;margin-top:.25rem}.category-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.5rem}.category-checkbox{display:flex;align-items:center;gap:.5rem;padding:.5rem;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .2s}.category-checkbox:hover{border-color:#e2001a}.category-checkbox input:checked+span{color:#e2001a;font-weight:500}.category-checkbox input:disabled+span{color:#999}.image-preview{margin-top:.5rem;max-width:200px;max-height:120px;border-radius:6px;object-fit:cover}.team-member-form,.partner-form,.quote-form,.social-form{padding:1rem;background:#f9f9f9;border-radius:8px;margin-bottom:1rem}.btn-add{display:block;width:100%;padding:.75rem;background:#f0f0f0;border:2px dashed #ccc;border-radius:6px;cursor:pointer;font-size:.95rem;color:#666;transition:all .2s}.btn-add:hover{background:#e8f5e9;border-color:#2e7d32;color:#2e7d32}.btn-remove{background:none;border:none;color:#e2001a;cursor:pointer;font-size:.85rem;padding:.25rem 0;margin-top:.5rem}.btn-remove:hover{text-decoration:underline}.form-navigation{display:flex;justify-content:space-between;padding:1rem 1.5rem;border-top:1px solid #eee;background:#f9f9f9;border-radius:0 0 12px 12px}.btn-primary{background:#e2001a;color:#fff;border:none;padding:.75rem 2rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.btn-primary:hover{background:#b8001a}.btn-secondary{background:#fff;color:#333;border:1px solid #ddd;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;cursor:pointer;transition:all .2s}.btn-secondary:hover{background:#f5f5f5;border-color:#ccc}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.preview-actions{display:flex;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}.markdown-preview{background:#f5f5f5;border:1px solid #ddd;border-radius:8px;padding:1rem;overflow-x:auto}.markdown-preview pre{margin:0;white-space:pre-wrap;word-break:break-word;font-size:.85rem;font-family:Courier New,monospace}.add-project-button{background:#e2001a;color:#fff;border:none;padding:.75rem 1.5rem;border-radius:6px;font-size:1rem;font-weight:500;cursor:pointer;transition:background .2s}.add-project-button:hover{background:#b8001a}.student-view .add-project-button{background:#1976d2}.student-view .add-project-button:hover{background:#1565c0}.student-view .btn-primary{background:#1976d2}.student-view .btn-primary:hover{background:#1565c0}.student-view .progress-step.active{background:#1976d2}.student-view .progress-step.active .step-number,.student-view .close-button:hover{color:#1976d2}.student-view .btn-next{background:#1976d2}.student-view .btn-next:hover{background:#1565c0}.student-view .btn-submit{background:#1976d2}.student-view .btn-submit:hover{background:#1565c0}.student-view .back-button{color:#1976d2}.student-view .back-button:hover{background:#e3f2fd}.results-info{display:flex;justify-content:space-between;align-items:center;padding:1rem 0;color:#666;flex-wrap:wrap;gap:1rem}.results-actions{display:flex;gap:1rem;align-items:center}.student-view .student-header{background:linear-gradient(135deg,#4a90d9,#2c5aa0)}.student-header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto;width:100%}.btn-logout{background:#fff3;color:#fff;border:1px solid rgba(255,255,255,.3);padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .2s}.btn-logout:hover{background:#ffffff4d}.student-footer{background:#2c3e50}.student-info-box{background:#e3f2fd;border:1px solid #bbdefb;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.student-info-box h3{color:#1565c0;margin:0 0 .5rem;font-size:1.1rem}.student-info-box p{color:#666;margin:0;line-height:1.6}.no-projects-student{text-align:center;padding:4rem 2rem;background:#f9f9f9;border-radius:12px;border:2px dashed #ddd}.no-projects-student p{color:#666;font-size:1.1rem;margin-bottom:1.5rem}.add-project-button.large{padding:1rem 2rem;font-size:1.1rem}.student-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}.student-project-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000001a;cursor:pointer;transition:transform .2s,box-shadow .2s}.student-project-card:hover{transform:translateY(-4px);box-shadow:0 4px 16px #00000026}.student-project-card .project-image{position:relative;aspect-ratio:16 / 9;overflow:hidden}.student-project-card .project-image img{width:100%;height:100%;object-fit:cover}.status-badge{position:absolute;top:.75rem;right:.75rem;padding:.25rem .75rem;border-radius:100px;font-size:.75rem;font-weight:600;text-transform:uppercase}.status-badge.status-entwurf{background:#fff3e0;color:#e65100}.status-badge.status-eingereicht{background:#e3f2fd;color:#1565c0}.status-badge.status-genehmigt{background:#e8f5e9;color:#2e7d32}.status-badge.status-abgelehnt{background:#ffebee;color:#c62828}.student-project-card .project-content{padding:1rem}.project-id-small{font-size:.75rem;font-family:monospace;color:#888;background:#f0f0f0;padding:.15rem .5rem;border-radius:4px}.student-project-card .project-title{font-size:1.1rem;font-weight:600;color:#222;margin:.5rem 0}.project-semester{font-size:.85rem;color:#666;margin:0 0 .5rem}.student-detail-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.btn-delete{background:#ffebee;color:#c62828;border:1px solid #ffcdd2;padding:.5rem 1rem;border-radius:6px;cursor:pointer;font-size:.9rem;transition:all .2s}.btn-delete:hover{background:#ffcdd2}.project-status{margin-top:1.5rem;padding:1rem;background:#f9f9f9;border-radius:8px;text-align:center}.project-status .status-badge{position:static;font-size:.9rem;padding:.5rem 1rem}.login-container{display:flex;justify-content:center;align-items:center;min-height:50vh}.login-box{background:#fff;padding:2.5rem;border-radius:12px;box-shadow:0 4px 20px #0000001a;width:100%;max-width:400px}.login-box h2{margin:0 0 .5rem;color:#222}.login-box>p{color:#666;margin:0 0 1.5rem}.btn-login{width:100%;margin-top:.5rem}.login-hint{margin-top:1.5rem;padding-top:1rem;border-top:1px solid #eee;font-size:.85rem;color:#888;text-align:center}.main-page-link{display:inline-block;margin-top:.75rem;color:#90caf9;text-decoration:none;font-size:.9rem;transition:color .2s}.main-page-link:hover{color:#bbdefb;text-decoration:underline}.professor-view .professor-header{background:linear-gradient(135deg,#2e7d32,#1b5e20)}.professor-header-content{display:flex;justify-content:space-between;align-items:center;max-width:1400px;margin:0 auto;width:100%}.professor-footer{background:#1b5e20}.professor-info-box{background:#e8f5e9;border:1px solid #c8e6c9;border-radius:8px;padding:1.5rem;margin-bottom:1.5rem}.professor-info-box h3{color:#2e7d32;margin:0 0 .5rem;font-size:1.1rem}.professor-info-box p{color:#666;margin:0;line-height:1.6}.no-projects-professor{text-align:center;padding:4rem 2rem;background:#f9f9f9;border-radius:12px;border:2px dashed #ddd}.project-section{margin-bottom:2rem}.section-title{font-size:1.2rem;color:#333;margin:0 0 1rem;padding-bottom:.5rem;border-bottom:2px solid #2e7d32}.professor-project-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}.professor-project-card{background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 2px 8px #0000001a;cursor:pointer;transition:transform .2s,box-shadow .2s}.professor-project-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #00000026}.professor-project-card .project-image{position:relative;aspect-ratio:16 / 9;overflow:hidden}.professor-project-card .project-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}.professor-project-card:hover .project-image img{transform:scale(1.05)}.professor-project-card .project-content{padding:1rem}.professor-project-card .project-student{font-size:.85rem;color:#666;margin:.25rem 0}.professor-detail-actions{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;flex-wrap:wrap;gap:1rem}.approval-buttons{display:flex;gap:.75rem;flex-wrap:wrap}.btn-approve{background:#2e7d32;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background .2s}.btn-approve:hover{background:#1b5e20}.btn-changes{background:#ff9800;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background .2s}.btn-changes:hover{background:#f57c00}.btn-reject{background:#c62828;color:#fff;border:none;padding:.6rem 1.2rem;border-radius:6px;cursor:pointer;font-size:.9rem;font-weight:500;transition:background .2s}.btn-reject:hover{background:#b71c1c}.project-meta-info{display:flex;gap:2rem;padding:1rem 1.5rem;background:#f5f5f5;border-radius:8px;margin-bottom:1rem;flex-wrap:wrap}.meta-item{font-size:.9rem;color:#666}.meta-item strong{color:#333}.status-summary{display:flex;gap:1rem}.status-count{font-size:.85rem;padding:.25rem .75rem;border-radius:20px}.status-count.pending{background:#fff3e0;color:#e65100}.status-count.approved{background:#e8f5e9;color:#2e7d32}.status-count.rejected{background:#ffebee;color:#c62828}.status-badge.status-freigegeben{background:#4caf50;color:#fff}.status-badge.status-abgelehnt{background:#f44336;color:#fff}.status-badge.status-änderungen-angefordert{background:#ff9800;color:#fff}.professor-view .add-project-button{background:#2e7d32}.professor-view .add-project-button:hover{background:#1b5e20}.professor-view .btn-primary{background:#2e7d32}.professor-view .btn-primary:hover{background:#1b5e20}.professor-view .back-button{color:#2e7d32}.professor-view .back-button:hover{background:#e8f5e9}
