/* ═══════════════════════════════════════════════════════════
   AUFGABENSTRAHL (Task Progress Bar)
   ═══════════════════════════════════════════════════════════ */

.strahl-container {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 60%;
    height: 10px;
    z-index: 10000;
    pointer-events: auto;
}

.strahl-basis {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px) saturate(160%);
    -webkit-backdrop-filter: blur(10px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.strahl-markierung {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    z-index: 20;
    padding: 20px 8px;
    cursor: pointer;
}

.markierung-strich {
    width: 2.5px;
    height: 16px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.strahl-markierung:hover .markierung-strich {
    height: 20px;
    width: 3px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Active State (aktuelle Aufgabe) */
.strahl-markierung.is-active .markierung-strich {
    background: var(--trenner-titel-color, #00ffcc);
    height: 22px;
    width: 3.5px;
    box-shadow: 0 0 20px var(--trenner-titel-color, #00ffcc);
    animation: pulse-strahl 2s infinite ease-in-out;
}

@keyframes pulse-strahl {
    0%, 100% { 
        transform: scaleY(1);
        opacity: 1;
    }
    50% { 
        transform: scaleY(1.15);
        opacity: 0.8;
    }
}

/* ═══════════════════════════════════════════════════════════
   TOOLTIP (Custom, nicht Browser-Standard)
   ═══════════════════════════════════════════════════════════ */

.strahl-markierung::after {
    content: attr(data-tooltip);
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(25px);
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 30;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.strahl-markierung:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(20px);
}

/* ID-Box ausblenden (nicht mehr benötigt) */
.markierung-info {
    display: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .strahl-container {
        width: 80%;
    }
    
    .strahl-markierung::after {
        font-size: 11px;
        padding: 6px 10px;
    }
}