/* Feature Timeline Section */
.feature-display {
    padding: 5rem 0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* Zentrale Timeline-Linie */
.feature-display::after {
    content: '';
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, var(--gradient-start), var(--gradient-end));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(26, 188, 156, 0.3);
}

.feature-item {
    margin-bottom: 4rem;
    position: relative;
    width: 100%;
    display: flex;
}

/* Abwechselnde Anordnung (links/rechts) */
.feature-item:nth-child(odd) {
    justify-content: flex-start;
    padding-right: calc(50% + 30px);
}

.feature-item:nth-child(even) {
    justify-content: flex-end;
    padding-left: calc(50% + 30px);
}

/* Kreis-Element am Timeline-Punkt */
.feature-item::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #1e2c3a;
    border-radius: 50%;
    top: 30px;
    z-index: 10;
    box-shadow: 0 0 0 4px rgba(26, 188, 156, 0.3);
    transition: all 0.4s ease;
}

.feature-item:nth-child(odd)::before {
    right: calc(50% - 10px);
}

.feature-item:nth-child(even)::before {
    left: calc(50% - 10px);
}

.feature-item:hover::before {
    background-color: var(--primary-color);
    box-shadow: 0 0 0 6px rgba(52, 152, 219, 0.3);
    transform: scale(1.2);
}

/* Feature Card-Design */
.feature-content {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-item:hover .feature-content {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.feature-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background-color: rgba(26, 188, 156, 0.05);
    overflow: hidden;
}

.feature-image img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.feature-item:hover .feature-image img {
    transform: scale(1.05);
}

.feature-text {
    padding: 1.5rem 2rem 2rem;
}

.feature-text h2 {
    color: var(--white-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    text-align: left;
}

.feature-text h2::after {
    margin: 0.5rem 0 0;
    width: 40px;
}

.feature-text p {
    color: var(--text-color);
    line-height: 1.7;
    opacity: 0.9;
}

/* Responsive Design für kleinere Bildschirme */
@media (max-width: 768px) {
    .feature-display::after {
        left: 30px;
    }
    
    .feature-item:nth-child(odd),
    .feature-item:nth-child(even) {
        justify-content: flex-start;
        padding-left: 60px;
        padding-right: 20px;
    }
    
    .feature-item:nth-child(odd)::before,
    .feature-item:nth-child(even)::before {
        left: 20px;
        right: auto;
    }
}