/* ===========================
   Lokaler / Project status page
   =========================== */

/* Hero */
.lokaler-hero {
    padding: 6rem 0 4rem 0;
    text-align: center;
    background: #ffffff;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-green);
    margin-bottom: 1.2rem;
    padding: 0.4rem 1rem;
    background: rgba(40, 167, 69, 0.08);
    border-radius: 20px;
}

.lokaler-hero h1 {
    font-size: 2.8rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    letter-spacing: 1px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.lokaler-hero p {
    font-size: 1.15rem;
    color: #555;
    font-weight: 300;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* Intro */
.status-intro-section {
    padding: 5rem 0 4rem 0;
}

.status-intro h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.status-intro p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
}

/* ===========================
   Timeline
   =========================== */
.timeline-section {
    padding: 6rem 0;
}

.timeline-title {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-bottom: 3.5rem;
    letter-spacing: 0.5px;
    text-align: center;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 1rem;
}

/* Vertical line behind all markers */
.timeline::before {
    content: "";
    position: absolute;
    left: 27px;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: #d0d4d8;
}

.timeline-item {
    position: relative;
    padding-left: 4.5rem;
    padding-bottom: 3rem;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Marker base */
.timeline-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #d0d4d8;
    z-index: 2;
}

/* Completed */
.timeline-item.completed .timeline-marker {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.timeline-item.completed .marker-icon {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    line-height: 1;
}

/* Current - pulsing dot */
.timeline-item.current .timeline-marker {
    background: white;
    border-color: var(--primary-green);
    border-width: 3px;
    box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.15);
}

.marker-pulse {
    width: 16px;
    height: 16px;
    background: var(--primary-green);
    border-radius: 50%;
    position: relative;
}

.marker-pulse::before,
.marker-pulse::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary-green);
    transform: translate(-50%, -50%);
    opacity: 0.6;
    animation: pulse 2s ease-out infinite;
}

.marker-pulse::after {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

/* Upcoming */
.timeline-item.upcoming .timeline-marker {
    background: #f5f6f7;
    border-color: #d0d4d8;
}

.marker-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: #888;
}

/* Timeline content card */
.timeline-content {
    background: white;
    border-radius: 10px;
    padding: 1.8rem 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item.current .timeline-content {
    box-shadow: 0 6px 25px rgba(40, 167, 69, 0.12);
    border-left: 4px solid var(--primary-green);
}

.timeline-item.upcoming .timeline-content {
    background: #fbfbfc;
}

.timeline-content:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.phase-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.6rem;
}

.phase-number {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #999;
}

.phase-status {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.7rem;
    border-radius: 12px;
    text-transform: uppercase;
}

.timeline-item.completed .phase-status {
    background: rgba(40, 167, 69, 0.12);
    color: var(--dark-green);
}

.timeline-item.current .phase-status {
    background: var(--primary-green);
    color: white;
}

.timeline-item.upcoming .phase-status {
    background: #eef0f2;
    color: #888;
}

.timeline-content h3 {
    font-size: 1.35rem;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 0.7rem;
}

.timeline-item.upcoming .timeline-content h3 {
    color: #555;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

.timeline-item.upcoming .timeline-content p {
    color: #777;
}

/* ===========================
   CTA section
   =========================== */
.cta-section {
    padding: 5rem 0 7rem 0;
}

.cta-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 4rem 3rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.cta-box h2 {
    font-size: 2rem;
    font-weight: 300;
    color: var(--primary-blue);
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.cta-box p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #555;
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.cta-box .portal-btn {
    margin-bottom: 0.5rem;
}

.cta-box .cta-subtext {
    margin-top: 1.2rem;
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 0;
}

/* ===========================
   Responsive
   =========================== */
@media (max-width: 768px) {
    .lokaler-hero {
        padding: 4rem 0 3rem 0;
    }

    .lokaler-hero h1 {
        font-size: 2rem;
    }

    .lokaler-hero p {
        font-size: 1rem;
    }

    .timeline-section {
        padding: 4rem 0;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 23px;
    }

    .timeline-item {
        padding-left: 4rem;
        padding-bottom: 2.5rem;
    }

    .timeline-marker {
        width: 48px;
        height: 48px;
    }

    .timeline-content {
        padding: 1.4rem 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.2rem;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .lokaler-hero h1 {
        font-size: 1.7rem;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
    }

    .phase-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
}
