/* Seite „Über Leipzig im“ */

/* --------------------------------------------------------------------------
   Grundlayout
   -------------------------------------------------------------------------- */
.li-ueber {
    width: min(1180px,calc(100% - 32px));
    margin: 0 auto 60px;
    color: #294252;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.li-ueber-hero {
    position: relative;
    min-height: clamp(340px,46vw,560px);
    margin: 20px 0 42px;
    overflow: hidden;
    border-radius: 22px;
    background: #17384e;
}
.li-ueber-hero>img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.li-ueber-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,rgba(10,34,51,.82) 0%,rgba(10,34,51,.54) 42%,rgba(10,34,51,.1) 75%);
}
.li-ueber-hero-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: min(620px,calc(100% - 48px));
    min-height: inherit;
    padding: clamp(30px,6vw,64px);
    box-sizing: border-box;
    color: #fff;
}
.li-ueber-kicker {
    margin: 0 0 8px;
    color: #2c6b96;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}
.li-ueber-hero .li-ueber-kicker {
    color: #f2c15c;
}
.li-ueber-hero h1 {
    margin: 0 0 14px;
    color: #fff;
    font-size: clamp(2.2rem,6vw,4.6rem);
    line-height: 1.02;
}
.li-ueber-hero-overlay>p:last-child {
    max-width: 560px;
    margin: 0;
    font-size: clamp(1.05rem,2vw,1.35rem);
    line-height: 1.55;
}
.li-ueber-abschnitt {
    margin: 0 0 42px;
    padding: clamp(26px,5vw,48px);
    border: 1px solid #dce5ea;
    border-radius: 18px;
    background: #fff;
    box-sizing: border-box;
}
.li-ueber-abschnitt h2,.li-ueber-cta h2 {
    margin: 0 0 18px;
    color: #173b54;
    font-size: clamp(1.55rem,3vw,2.25rem);
    line-height: 1.2;
}
.li-ueber-abschnitt p,.li-ueber-cta p {
    color: #4e6675;
    line-height: 1.72;
}

/* --------------------------------------------------------------------------
   Ursprung und Titelseiten
   -------------------------------------------------------------------------- */
.li-ueber-ursprung {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(360px, 430px);
    justify-content: space-between;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}
.li-ueber-ursprung .li-ueber-text {
    max-width: 600px;
}
.li-ueber-ursprung .li-ueber-text p {
    max-width: 62ch;
}
.li-ueber-text p:last-child {
    margin-bottom: 0;
}
.li-ueber-print {
    width: min(100%, 430px);
    margin: 0 auto;
}
.li-ueber-titelfaecher {
    position: relative;
    width: 100%;
    height: 440px;
    margin: 0 auto;
}
.li-ueber-titel {
    position: absolute;
    bottom: 18px;
    left: 50%;
    display: block;
    width: 170px;
    height: auto;
    border: 1px solid rgba(25, 48, 64, 0.14);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 16px 30px rgba(24, 43, 56, 0.22);
    transform-origin: center bottom;
    transition: transform 0.25s ease,
        box-shadow 0.25s ease,
        z-index 0s;
}
.li-ueber-titel-1 {
    z-index: 1;
    transform: translateX(-112%) rotate(-14deg);
}
.li-ueber-titel-2 {
    z-index: 2;
    transform: translateX(-82%) rotate(-7deg);
}
.li-ueber-titel-3 {
    z-index: 5;
    transform: translateX(-50%);
}
.li-ueber-titel-4 {
    z-index: 3;
    transform: translateX(-18%) rotate(7deg);
}
.li-ueber-titel-5 {
    z-index: 2;
    transform: translateX(12%) rotate(14deg);
}
.li-ueber-print figcaption {
    margin-top: 13px;
    color: #677b87;
    font-size: .84rem;
    line-height: 1.5;
    text-align: center;
}
.li-ueber-kopf {
    max-width: 760px;
    margin-bottom: 28px;
}

/* --------------------------------------------------------------------------
   Zeitleiste
   -------------------------------------------------------------------------- */
.li-ueber-zeitstrahl {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 18px;
}
.li-ueber-zeitstrahl::before {
    content: "";
    position: absolute;
    top: 30px;
    right: 8%;
    left: 8%;
    height: 2px;
    background: #cfdae1;
}
.li-ueber-station {
    position: relative;
    z-index: 1;
    padding: 0 8px;
}
.li-ueber-jahr {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    padding: 5px 13px;
    border-radius: 999px;
    background: #225f88;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    white-space: nowrap;
}
.li-ueber-station h3 {
    margin: 0 0 9px;
    color: #23475e;
    font-size: 1.02rem;
}
.li-ueber-station p {
    margin: 0;
    font-size: .93rem;
}

/* --------------------------------------------------------------------------
   Leipzig im heute
   -------------------------------------------------------------------------- */
.li-ueber-heute {
    background: #f3f7f9;
}
.li-ueber-heute-raster {
    display: grid;
    grid-template-columns: minmax(0,1.45fr) minmax(260px,.55fr);
    gap: clamp(28px,5vw,58px);
    align-items: center;
}
.li-ueber-heute blockquote {
    margin: 0;
    padding: 24px;
    border-left: 5px solid #d79a28;
    border-radius: 0 12px 12px 0;
    background: #fff;
}
.li-ueber-heute blockquote p {
    margin: 0 0 8px;
    color: #173b54;
    font-size: 1.3rem;
    font-weight: 700;
}
.li-ueber-heute blockquote footer {
    color: #677b87;
    font-size: .86rem;
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Redaktion und Kontakt
   -------------------------------------------------------------------------- */
.li-ueber-redaktion {
    display: grid;
    grid-template-columns: minmax(220px,.45fr) minmax(0,1.55fr);
    gap: clamp(30px,6vw,70px);
    align-items: center;
}
.li-ueber-redaktion-bild {
    max-width: 320px;
    margin: 0 auto;
}
.li-ueber-redaktion-bild img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
}
.li-ueber-kontakt {
    display: grid;
    gap: 6px;
    margin-top: 24px;
    padding: 20px;
    border-radius: 12px;
    background: #f2f6f8;
    color: #435d6d;
    font-style: normal;
}
.li-ueber-kontakt span,.li-ueber-kontakt a {
    display: block;
}
.li-ueber-kontakt a {
    color: #155b8c;
    text-decoration: none;
}
.li-ueber-kontakt a:hover,.li-ueber-kontakt a:focus-visible {
    color: #c47700;
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.li-ueber-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(28px,5vw,46px);
    border-radius: 18px;
    background: #173e5c;
    color: #fff;
}
.li-ueber-cta .li-ueber-kicker {
    color: #f2c15c;
}
.li-ueber-cta h2 {
    color: #fff;
}
.li-ueber-cta p {
    max-width: 740px;
    margin-bottom: 0;
    color: #dce7ee;
}
.li-ueber-button {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: 8px;
    background: #fff;
    color: #173e5c;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.li-ueber-button:hover,.li-ueber-button:focus-visible {
    background: #f2c15c;
    color: #173e5c;
    text-decoration: none;
}

@media (max-width:900px) {
    .li-ueber-zeitstrahl {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 30px 20px;
    }
    .li-ueber-zeitstrahl::before {
        display: none;
    }
    .li-ueber-heute-raster {
        grid-template-columns: 1fr;
    }
    .li-ueber-ursprung {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 390px);
    gap: 34px;
}
}


@media (max-width:720px) {
    .li-ueber-hero {
        min-height: 420px;
    }
    .li-ueber-hero::after {
        background: linear-gradient(0deg,rgba(10,34,51,.88) 0%,rgba(10,34,51,.42) 68%,rgba(10,34,51,.12) 100%);
    }
    .li-ueber-hero-overlay {
        width: 100%;
        padding: 28px;
    }
    .li-ueber-ursprung,.li-ueber-redaktion {
        grid-template-columns: 1fr;
    }
    .li-ueber-print {
        width: min(100%,390px);
    }
    .li-ueber-titelfaecher {
        height: 390px;
    }
    .li-ueber-titel {
        width: 145px;
    }
    .li-ueber-redaktion-bild {
        width: min(72%,300px);
    }
    .li-ueber-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width:520px) {
    .li-ueber {
        width: min(100% - 20px,1180px);
    }
    .li-ueber-hero {
        margin-top: 12px;
        border-radius: 15px;
    }
    .li-ueber-abschnitt,.li-ueber-cta {
        padding: 23px 19px;
        border-radius: 14px;
    }
    .li-ueber-zeitstrahl {
        grid-template-columns: 1fr;
    }
    .li-ueber-station {
        padding: 0;
    }
    .li-ueber-jahr {
        margin-bottom: 12px;
    }
    .li-ueber-button {
        width: 100%;
        box-sizing: border-box;
    }
}

/* --------------------------------------------------------------------------
   Was Leipzig im besonders macht
   -------------------------------------------------------------------------- */
.li-ueber-vorteile {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(230px,1fr));
    gap: 24px;
    margin-top: 24px;
}
.li-ueber-vorteile article {
    padding: 24px;
    border-radius: 14px;
    background: #f3f7f9;
    border: 1px solid #dde5ea;
}
.li-ueber-vorteile h3 {
    margin: 0 0 12px;
    color: #173b54;
    font-size: 1.05rem;
}
.li-ueber-vorteile p {
    margin: 0;
}

/* --------------------------------------------------------------------------
   Schlusssatz
   -------------------------------------------------------------------------- */
.li-ueber-schluss {
    margin: 70px 0 20px;
    text-align: center;
}
.li-ueber-schluss p {
    margin: 0;
    color: #173b54;
    font-size: clamp(1.35rem,3vw,2rem);
    font-weight: 700;
    letter-spacing: .02em;
}
.li-ueber-titel-1:hover,
.li-ueber-titel-1:focus {
    z-index: 10;
    transform: translateX(-112%) translateY(-12px) rotate(-14deg) scale(1.06);
}
.li-ueber-titel-2:hover,
.li-ueber-titel-2:focus {
    z-index: 10;
    transform: translateX(-82%) translateY(-12px) rotate(-7deg) scale(1.06);
}
.li-ueber-titel-3:hover,
.li-ueber-titel-3:focus {
    z-index: 10;
    transform: translateX(-50%) translateY(-12px) scale(1.06);
}
.li-ueber-titel-4:hover,
.li-ueber-titel-4:focus {
    z-index: 10;
    transform: translateX(-18%) translateY(-12px) rotate(7deg) scale(1.06);
}
.li-ueber-titel-5:hover,
.li-ueber-titel-5:focus {
    z-index: 10;
    transform: translateX(12%) translateY(-12px) rotate(14deg) scale(1.06);
}
.li-ueber-titel:hover,
.li-ueber-titel:focus {
    box-shadow: 0 22px 40px rgba(24, 43, 56, 0.30);
}

/* Zusätzliche mobile Anpassung des Titelfächers */
@media (max-width: 520px) {
    .li-ueber-titelfaecher {
        height: 340px;
    }

    .li-ueber-titel {
        width: 126px;
    }

    .li-ueber-titel-1 {
        transform: translateX(-108%) rotate(-12deg);
    }

    .li-ueber-titel-2 {
        transform: translateX(-78%) rotate(-6deg);
    }

    .li-ueber-titel-3 {
        transform: translateX(-50%);
    }

    .li-ueber-titel-4 {
        transform: translateX(-22%) rotate(6deg);
    }

    .li-ueber-titel-5 {
        transform: translateX(8%) rotate(12deg);
    }
}
