body { 
	font-family: 'Inter', sans-serif; background-color: #f8f9fa; 
}
    .group:hover .group-hover\:block { display: block; }
	
/* bauzeitplaner.css - Styles für den Bauzeitplaner */
/* Modal Overlay - FIXED für echtes Overlay */
.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.6) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important; /* Sehr hoher z-index */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Modal ist sichtbar wenn die 'hidden' Klasse NICHT vorhanden ist */
.modal-overlay:not(.hidden) {
    visibility: visible !important;
    opacity: 1 !important;
}

/* Alternative: Modal ist sichtbar wenn die 'active' Klasse vorhanden ist */
.modal-overlay.active {
    visibility: visible !important;
    opacity: 1 !important;
}

.modal-content {
    background: white !important;
    padding: 2rem !important;
    border-radius: 0.5rem !important;
    max-width: 500px !important;
    width: 90% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
    transform: translateY(-10px);
    transition: transform 0.3s ease;
    position: relative !important;
    z-index: 10000 !important;
}

.modal-overlay:not(.hidden) .modal-content,
.modal-overlay.active .modal-content {
    transform: translateY(0) !important;
}

/* Verhindere Body-Scrolling wenn Modal offen ist */
body.modal-open {
    overflow: hidden !important;
}

.modal-title {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    margin-bottom: 1.5rem !important;
    color: #1f2937 !important;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem !important;
}

.form-label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: #374151 !important;
}

.form-input {
    width: 100% !important;
    padding: 0.75rem !important;
    border: 2px solid #d1d5db !important;
    border-radius: 0.375rem !important;
    font-size: 1rem !important;
    transition: border-color 0.2s ease !important;
    box-sizing: border-box !important;
}

.form-input:focus {
    outline: none !important;
    border-color: #4f46e5 !important;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
}

.form-checkbox {
    width: 1.25rem !important;
    height: 1.25rem !important;
    margin-right: 0.75rem !important;
}

.btn {
    padding: 0.75rem 1.5rem !important;
    border-radius: 0.375rem !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    border: none !important;
    min-width: 100px !important;
}

.btn-primary {
    background: #4f46e5 !important;
    color: white !important;
}

.btn-primary:hover {
    background: #4338ca !important;
    transform: translateY(-1px) !important;
}

.btn-secondary {
    background: #f3f4f6 !important;
    color: #374151 !important;
    border: 2px solid #d1d5db !important;
}

.btn-secondary:hover {
    background: #e5e7eb !important;
    transform: translateY(-1px) !important;
}

/* Button-Container */
.modal-buttons {
    display: flex !important;
    justify-content: space-between !important;
    gap: 1rem !important;
    margin-top: 2rem !important;
}

/* Timeline spezifische Styles bleiben unverändert */
#timeline {
    position: relative;
    overflow-x: auto;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

#timeline-chart {
    width: 100% !important;
    height: auto !important;
}

.timeline-body {
    position: relative;
    overflow: auto;
}

.timeline-today {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #ef4444;
    z-index: 10;
    opacity: 0.8;
}

.timeline-today::before {
    content: 'Heute';
    position: absolute;
    top: -20px;
    left: -20px;
    background: #ef4444;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}