/* =========================================
   Info Page Styles (ueber-uns.php / ueber-mich)
   ========================================= */

/* --- Hero Section --- */
.info-hero {
    position: relative;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 8rem 2rem 6rem;
    /* Top padding for fixed nav */
    overflow: hidden;
}

.info-hero .container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.info-hero h1 {
    font-family: 'Gloria Hallelujah', cursive;
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 4rem;
    text-align: left;
}

.hero-content-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-text {
    flex: 1;
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: left;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image {
    width: 500px;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    border: 5px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =================================================================== */
/* ====== ZEITSTRAHL / LEBENSLAUF (Optimierte Version) ====== */
/* =================================================================== */
.timeline-section {
    background-color: var(--white);
    padding: 4rem 2rem;
    overflow: hidden;
}

.timeline-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Die vertikale Linie des Zeitstrahls */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-red);
    /* Farbe angepasst */
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    box-sizing: border-box;
    /* KORREKTUR: Geringerer Abstand zwischen den Stationen */
    margin-bottom: 20px;
}

/* Positionierung der Boxen links und rechts */
.timeline-item.left {
    left: 0;
    padding-right: 30px;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    padding-left: 30px;
    text-align: left;
}

/* Die Punkte auf der Linie */
.timeline-dot {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-red);
    /* Punktfarbe angepasst */
    border-radius: 50%;
    top: 5px;
    /* Position des Punktes angepasst */
    z-index: 10;
    transition: transform 0.3s ease;
}

.timeline-item.left .timeline-dot {
    right: -10px;
}

.timeline-item.right .timeline-dot {
    left: -10px;
}

/* Die Textboxen für die Stationen */
.timeline-content {
    /* KORREKTUR: Hintergrund entfernt */
    background: transparent;
    padding: 10px 0;
    transition: transform 0.3s ease;
}

/* Hover-Effekt wurde entfernt */

.timeline-content h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-family: var(--font-headline);
    /* Schriftart aus Variable */
    color: var(--primary-red);
    /* Farbe angepasst (war Weiß, ist jetzt Rot für Sichtbarkeit auf Weiß) */
    font-weight: bold;
}

.timeline-content p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-color);
    /* Farbe angepasst auf Dunkel, da Hintergrund Weiß ist */
}

.timeline-subtext {
    font-size: 0.9rem;
    font-style: italic;
    color: #666;
    /* Untertext etwas dezenter */
    margin-top: 5px;
}

/* =================================================================== */
/* ====== RESPONSIVE ANPASSUNGEN ====== */
/* =================================================================== */

@media (max-width: 768px) {

    .member-intro,
    .member-text {
        text-align: center;
    }

    .timeline::before {
        left: 10px;
    }

    /* Alle Timeline-Elemente auf Mobilgeräten linksbündig ausrichten */
    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        width: 100%;
        left: 0;
        padding-left: 50px;
        padding-right: 15px;
        text-align: left;
    }

    .timeline-item.left .timeline-dot,
    .timeline-item.right .timeline-dot {
        left: 0;
    }
}


/* --- Partner Section --- */
.partner-section {
    background-color: var(--white);
    padding: 6rem 2rem;
    border-top: 1px solid #eee;
}

.partner-section h2 {
    font-family: 'Gloria Hallelujah', cursive;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    color: var(--text-dark);
}

.partner-card {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: #fdfdfd;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.partner-logo {
    flex: 0 0 25%;
    display: flex;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    max-height: 300px;
}

.partner-info {
    flex: 1;
}

.partner-info h3 {
    font-family: 'WinkySans Bold', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--primary-red);
    text-align: left;
}

.partner-info p {
    margin-bottom: 0.5rem;
    text-align: left;
}

/* Partner Button */
.partner-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background-color: var(--primary-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-family: var(--font-main);
    font-weight: bold;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

.partner-button:hover {
    background-color: var(--dark-red);
    border-color: var(--dark-red);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(155, 21, 66, 0.3);
}

/* =========================================
   Responsive Styles
   ========================================= */

/* Mobile & Tablet Portrait */
@media (max-width: 768px) {

    /* Hero */
    .hero-content-wrapper {
        flex-direction: column-reverse;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        width: 300px;
        height: 300px;
    }

    /* Partner */
    .partner-card {
        flex-direction: column;
        text-align: center;
    }
}