.project-grid {
    flex: 1;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    min-height: 0;
}

.project-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255,255,255,0.05);
}

.project-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.08);
}

.project-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
    transition: width 0.3s cubic-bezier(0.2, 0, 0, 1);
}

.project-card:hover::before {
    width: 6px;
}

/* Status-spezifische Akzente mit Glow-Effekt */
.project-card.status-neu::before { background: var(--status-neu); box-shadow: 4px 0 15px rgba(100, 116, 139, 0.4); }
.project-card.status-bearbeitung::before { background: var(--status-bearbeitung); box-shadow: 4px 0 15px rgba(245, 158, 11, 0.4); }
.project-card.status-erledigt::before { background: var(--status-erledigt); box-shadow: 4px 0 15px rgba(34, 197, 94, 0.4); }
.project-card.status-nacharbeiten::before { background: var(--status-nacharbeiten); box-shadow: 4px 0 15px rgba(236, 72, 153, 0.4); }
.project-card.status-wichtig::before {
    background: linear-gradient(to bottom, #ef4444, #f59e0b);
    box-shadow: 4px 0 20px rgba(239, 68, 68, 0.5);
}

/* Subtile Hintergrund-Einfärbung passend zum Status */
.project-card.status-neu { background: rgba(100, 116, 139, 0.15); }
.project-card.status-bearbeitung { background: rgba(245, 158, 11, 0.12); }
.project-card.status-erledigt { background: rgba(34, 197, 94, 0.12); }
.project-card.status-nacharbeiten { background: rgba(236, 72, 153, 0.12); }
.project-card.status-wichtig {
    border: 1px solid rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.1);
}

.project-card h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 500;
    color: white;
    letter-spacing: -0.2px;
}

.project-card p {
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.project-assignment-info {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9); /* Jetzt in Weiß (leicht transparent) */
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-assignment-info::before {
    content: '👤';
    font-size: 13px;
    opacity: 0.8;
}

@media (min-width: 769px) {
    .project-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        flex-direction: row;
        align-content: start;
        gap: 20px;
    }
}

.fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    font-size: 32px;
    font-weight: 300;
    line-height: 1;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.fab:hover {
    transform: scale(1.05);
    background-color: var(--primary-hover, #2c3e50);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.fab:active {
    transform: scale(0.95);
}

.fab.hidden {
    display: none !important;
}
