/* ===== GESCHICHTE SEITE - ZEITSTRAHL ===== */

/* Intro Section */
.geschichte-content {
    margin-top: 2rem;
}

.intro-section {
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    text-align: center;
}

.intro-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.intro-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin: 0 auto;
    max-width: 800px;
}

/* Timeline Section */
.timeline-section {
    padding: 4rem 1rem;
    background: white;
}

.timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Vertikale Linie in der Mitte */
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: linear-gradient(to bottom, #d32f2f, #ff6b6b);
    box-shadow: 0 0 10px rgba(211, 47, 47, 0.3);
}

/* Timeline Item */
.timeline-item {
    position: relative;
    width: 50%;
    padding: 2rem 3rem;
    box-sizing: border-box;
    margin-bottom: 3rem;
}

/* Linke Items */
.timeline-item.left {
    left: 0;
    text-align: right;
    padding-right: 4rem;
}

/* Rechte Items */
.timeline-item.right {
    left: 50%;
    text-align: left;
    padding-left: 4rem;
}

/* Marker (Punkt auf der Linie) */
.timeline-marker {
    position: absolute;
    top: 2rem;
    width: 24px;
    height: 24px;
    background: #d32f2f;
    border: 4px solid white;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.2);
    z-index: 2;
}

.timeline-item.left .timeline-marker {
    right: -12px;
}

.timeline-item.right .timeline-marker {
    left: -12px;
}

/* Highlight Items (größerer Marker) */
.timeline-item.highlight .timeline-marker {
    width: 32px;
    height: 32px;
    background: #ffa500;
    box-shadow: 0 0 0 6px rgba(255, 165, 0, 0.3);
}

.timeline-item.highlight.left .timeline-marker {
    right: -16px;
}

.timeline-item.highlight.right .timeline-marker {
    left: -16px;
}

/* Timeline Content Box */
.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.timeline-item.highlight .timeline-content {
    background: linear-gradient(135deg, #fff9e6 0%, #fffbf0 100%);
    border-color: rgba(218, 165, 32, 0.4);
    box-shadow: 0 4px 20px rgba(218, 165, 32, 0.2);
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Timeline Year Badge */
.timeline-year {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.3);
}

.timeline-item.highlight .timeline-year {
    background: linear-gradient(135deg, #daa520 0%, #ffd700 100%);
    color: #2d2d2d;
    font-size: 1.3rem;
    padding: 0.7rem 2rem;
    box-shadow: 0 2px 8px rgba(218, 165, 32, 0.4);
}

/* Timeline Title */
.timeline-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.timeline-item.highlight .timeline-title {
    font-size: 1.7rem;
}

/* Timeline Description */
.timeline-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

/* Timeline Image */
.timeline-image {
    margin-top: 1.5rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.timeline-image img:hover {
    transform: scale(1.05);
}

/* Call-to-Action Section */
.cta-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 1rem;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background: #d32f2f;
    color: white;
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4);
}

.cta-button:hover {
    background: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.6);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet */
@media (max-width: 1000px) {
    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 5rem;
        padding-right: 1rem;
    }

    .timeline-marker,
    .timeline-item.left .timeline-marker,
    .timeline-item.right .timeline-marker {
        left: 18px;
        right: auto;
    }

    .timeline-item.highlight .timeline-marker,
    .timeline-item.highlight.left .timeline-marker,
    .timeline-item.highlight.right .timeline-marker {
        left: 14px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .intro-section h2 {
        font-size: 1.8rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        padding-left: 4rem;
        padding-right: 0.5rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-year {
        font-size: 0.95rem;
        padding: 0.4rem 1rem;
    }

    .timeline-item.highlight .timeline-year {
        font-size: 1.1rem;
        padding: 0.5rem 1.5rem;
    }

    .timeline-title {
        font-size: 1.3rem;
    }

    .timeline-item.highlight .timeline-title {
        font-size: 1.6rem;
    }

    .timeline-description {
        font-size: 1rem;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .cta-section p {
        font-size: 1.1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 1.1rem;
    }
}
