/* =========================================================
   MEINE GESCHICHTE
   ========================================================= */

.about-story {

    padding: 85px 65px;

    background: var(--light-lilac);
      background-image:
            url("../images/uebermich1.svg");

    background-repeat: no-repeat;

    background-position: top center;

    background-size: 100% auto;

}

.about-story-grid {

    display: grid;

    grid-template-columns: 1.4fr 0.85fr;

    align-items: start;

    gap: 60px;

}

.about-story-text {

    max-width: 640px;

}

.about-story-text h2 {

    margin-bottom: 20px;

}

.about-story-text h2 span {

    color: var(--pink);

}

.about-story-text p {

    margin-bottom: 14px;

    color: var(--soft-dark);

    font-size: 0.92rem;

    line-height: 1.75;

}

.about-story-text p:last-child {

    margin-bottom: 0;

}

/* FOTO MIT ILLUSTRATIONS-CLUSTER DRUMHERUM */

.about-story-visual {

    position: relative;

    min-height: 440px;

    display: flex;

    align-items: center;

    justify-content: center;

}

.story-photo {

    position: relative;

    z-index: 1;

    width: 400px;
    height: 400px;

    border-radius: 50%;

    background: var(--light-lilac);

    border: 8px solid var(--pink);

    box-shadow: var(--shadow-soft);

    overflow: hidden;

}

.story-photo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}

/* =========================================================
   ZAHLEN, DIE FÜR SICH SPRECHEN
   ========================================================= */

.about-stats {

    padding: 60px 65px;

    background: var(--dark);

}

.stats-grid {

    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 20px;

    max-width: var(--page-width);

    margin: 0 auto;

}

.stat-card {

    text-align: center;

}

.stat-number {

    display: block;

    margin-bottom: 6px;

    color: var(--pink);

    font-family: "Elfarg", serif;

    font-size: clamp(2rem, 4vw, 2.6rem);

    line-height: 1;

}

.stat-label {

    color: rgba(255,255,255,0.65);

    font-size: 0.72rem;

    text-transform: uppercase;

    letter-spacing: 0.07em;

}

/* =========================================================
   MEIN WEG (ZEITLEISTE)
   ========================================================= */

.about-timeline {

    background: var(--cream);
background-image:
            url("../images/uebermich2.svg");

background-repeat: no-repeat;

background-position: top center;

background-size: 100% auto;

}

.timeline {

    position: relative;

    max-width: 720px;

    margin: 0 auto;

}

.timeline::before {

    content: "";

    position: absolute;

    left: 21px;
    top: 8px;
    bottom: 8px;

    width: 3px;

    border-radius: 100px;

    background: var(--light-lilac);

}

.timeline-item {

    position: relative;

    padding-left: 62px;

    margin-bottom: 30px;

}

.timeline-item:last-child {

    margin-bottom: 0;

}

.timeline-item-featured {

    position: relative;

}

.timeline-dot {

    position: absolute;

    left: 4px;
    top: 2px;

    width: 36px;
    height: 36px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: var(--white);

    box-shadow: var(--shadow-soft);

    font-size: 1rem;

}

.timeline-item:nth-child(1) .timeline-dot {

    background: var(--mint);

}

.timeline-item:nth-child(2) .timeline-dot {

    background: var(--blue);

}

.timeline-item:nth-child(3) .timeline-dot {

    background: var(--pink);

}

.timeline-item:nth-child(4) .timeline-dot {

    background: var(--yellow);

}

.timeline-content {

    padding: 20px 24px;

    border-radius: 20px;

    background: var(--white);

    box-shadow: var(--shadow-soft);

}

.timeline-content strong {

    display: block;

    margin-bottom: 4px;

    color: var(--pink);

    font-size: 0.68rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 0.08em;

}

.timeline-content p {

    margin: 0;

    color: var(--soft-dark);

    font-size: 0.85rem;

    line-height: 1.6;

}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 950px) {

    .about-story {

        padding: 65px 40px;

        background-image:
            url("../images/uebermich1-tablet.svg");

    }

    .about-story-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }

    .about-story-text {

        margin: 0 auto;

        text-align: center;

    }

    .about-story-visual {

        min-height: 300px;

    }

    .about-timeline {

        padding-left: 40px;

        padding-right: 40px;

    }

    .about-timeline {

        background-image:
            url("../images/uebermich2-tablet.svg");

    }

    .about-stats {

        padding: 50px 40px;
    }

    .stats-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 30px;

    }

}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .about-story {

        padding: 55px 20px;

        background-image:
            url("../images/uebermich1-mobil.svg");

    }

    .about-story-visual {

        min-height: 260px;
    }

    .story-photo {

        width: 220px;
        height: 220px;
    }

    .about-timeline {

        padding: 55px 20px;
    }

    .about-timeline {

        background-image:
            url("../images/uebermich2-mobil.svg");
    }

    .about-stats {

        padding: 45px 20px;
    }

    .stats-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 25px;
    }

    .timeline::before {

        left: 17px;
    }

    .timeline-item {

        padding-left: 52px;
    }

    .timeline-dot {

        width: 32px;
        height: 32px;

        font-size: 0.9rem;
    }

   .about-story {

       padding: 90px 20px 70px;
       background-image:
            url("../images/uebermich1-mobil.svg");

    }

    .about-story-grid {

        display: grid;

        grid-template-columns: 1fr;

        gap: 0;

    }

    .about-story-text {

        display: contents;

    }

    .about-story-text .small-title {

        order: 1;

        text-align: center;

    }

    .about-story-text h2 {

        order: 2;

        text-align: center;

        margin-bottom: 25px;

    }

    .about-story-visual {

        order: 3;

        width: 100%;

        min-height: auto;

        margin-bottom: 30px;

        display: flex;

        align-items: center;

        justify-content: center;

    }

    .story-photo {

        width: 220px;

        height: 220px;

        margin: 0 auto;

    }

    .about-story-text p:not(.small-title) {

        order: 4;

        text-align: left;

    }
}

/* =========================================================
   SEHR KLEINE HANDYS
   ========================================================= */

@media (max-width: 420px) {

    .stats-grid {

        grid-template-columns: 1fr;
    }

}
