/* Geschichtsseite – derselbe grafische Duktus wie die Startseite. */
.history-hero {
    min-height: 690px;
    grid-template-columns: 1.02fr .98fr;
    border-bottom: 1px solid rgba(199, 164, 91, .5);
}

.history-hero > div {
    position: relative;
    z-index: 1;
    padding-top: 120px;
    padding-bottom: 120px;
}

.history-hero > div:after {
    content: "250";
    position: absolute;
    right: 4%;
    bottom: 3%;
    color: rgba(255, 255, 255, .035);
    font: 400 185px/1 var(--display);
    pointer-events: none;
}

.history-hero h1 {
    max-width: 680px;
    font-size: clamp(52px, 5.6vw, 84px);
    line-height: 1.05;
}

.history-hero figure {
    position: relative;
    display: block;
    min-height: 690px;
    overflow: hidden;
    background: #0b255f;
}

.history-hero figure:before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 34px;
    border: 3px solid var(--gold);
    pointer-events: none;
}

.history-hero figure:after {
    content: "";
    position: absolute;
    display: block;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(7, 27, 78, .34), transparent 52%), linear-gradient(0deg, rgba(7, 27, 78, .28), transparent 42%);
    pointer-events: none;
}

.history-hero img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 690px;
    object-fit: cover;
    filter: sepia(.12) saturate(.72) contrast(1.05);
    transform: scale(1.015);
}

.history-hero figcaption {
    position: absolute;
    z-index: 3;
    left: 34px;
    right: auto;
    bottom: 34px;
    max-width: calc(100% - 68px);
    padding: 10px 14px;
    background: var(--blue);
    color: #f0d187;
    font: 500 11px/1.35 var(--sans);
    letter-spacing: .025em;
    text-align: left;
    text-transform: none;
}

.history-intro {
    position: relative;
    grid-template-columns: minmax(190px, .52fr) minmax(0, 1.48fr);
    gap: 40px;
    min-height: 540px;
    align-items: center;
    padding-top: 95px;
    padding-bottom: 95px;
    border-top: 1px solid rgba(154, 119, 61, .25);
    border-bottom: 1px solid rgba(154, 119, 61, .32);
}

.history-intro > .eyebrow {
    align-self: start;
    width: calc(100% + 34px);
    margin: 32px 0 0;
    padding-top: 28px;
    border-top: 1px solid var(--gold);
}

.history-intro > p:last-child {
    position: relative;
    max-width: 920px;
    padding: 24px 0 24px clamp(35px, 4vw, 66px);
    border-left: 2px solid var(--gold);
    font-size: clamp(30px, 3.35vw, 50px);
    line-height: 1.34;
    letter-spacing: .018em;
}

.history-intro > p:last-child:before {
    display: none;
}

.history-timeline {
    position: relative;
    overflow: hidden;
    padding-top: 112px;
    padding-bottom: 118px;
    background-color: #e9e4d9;
    background-image: radial-gradient(rgba(12, 40, 106, .07) .8px, transparent .8px);
    background-size: 9px 9px;
}

.history-timeline:after {
    content: "1776";
    position: absolute;
    right: -45px;
    top: 10px;
    color: rgba(7, 27, 78, .032);
    font: 400 210px/1 var(--display);
    pointer-events: none;
}

.history-timeline__heading {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(190px, .52fr) minmax(0, 1.48fr);
    gap: 40px;
    align-items: end;
    padding-bottom: 62px;
}

.history-timeline h2 {
    max-width: 760px;
    font-size: clamp(40px, 4.25vw, 62px);
    line-height: 1.08;
    letter-spacing: .025em;
}

.history-timeline ol {
    position: relative;
    z-index: 1;
    border-top: 2px solid var(--gold);
}

.history-timeline li {
    grid-template-columns: minmax(190px, .52fr) minmax(0, 1.48fr);
    gap: 40px;
    padding: 39px 0 42px;
    border-bottom-color: rgba(16, 32, 74, .17);
}

.history-timeline__year {
    color: #927036;
    font: 400 clamp(25px, 2.4vw, 35px)/1 var(--display);
    letter-spacing: .045em;
}

.history-timeline li > div {
    max-width: 790px;
    padding-left: clamp(25px, 3vw, 45px);
    border-left: 1px solid rgba(154, 119, 61, .55);
}

.history-timeline h3 {
    margin-bottom: 15px;
    font-size: clamp(27px, 2.6vw, 38px);
    line-height: 1.12;
    letter-spacing: .02em;
}

.history-timeline li div > p:not(.history-citations) {
    max-width: 720px;
    font-size: 16px;
    line-height: 1.82;
}

.history-gallery {
    position: relative;
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 120px;
    border-top: 1px solid rgba(199, 164, 91, .55);
}

.history-gallery:after {
    content: "B";
    position: absolute;
    right: -10px;
    bottom: -65px;
    color: rgba(255, 255, 255, .025);
    font: 400 300px/1 var(--display);
    pointer-events: none;
}

.history-gallery__heading {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(190px, .52fr) minmax(0, 1.48fr);
    gap: 40px;
    align-items: end;
    margin-bottom: 52px;
}

.history-gallery h2 {
    max-width: 760px;
    font-size: clamp(40px, 4.25vw, 62px);
    line-height: 1.08;
    letter-spacing: .025em;
}

.history-gallery__grid {
    position: relative;
    z-index: 1;
    grid-template-columns: .78fr 1.12fr 1fr;
    gap: 24px;
    background: transparent;
}

.history-gallery figure {
    background: rgba(11, 37, 95, .72);
}

.history-gallery figure > a {
    position: relative;
    display: block;
    overflow: hidden;
}

.history-gallery figure > a:after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 3px solid var(--gold);
    pointer-events: none;
}

.history-gallery img,
.history-gallery figure:first-child img {
    display: block;
    width: 100%;
    aspect-ratio: 1.08;
    padding: 0;
    background: #ddd8cc;
    object-fit: cover;
    filter: sepia(.08) saturate(.78) contrast(1.04);
    transition: transform .55s ease, filter .55s ease;
}

.history-gallery figure:first-child img {
    object-fit: contain;
    padding: 25px;
}

.history-gallery figure:hover img {
    filter: sepia(0) saturate(.95) contrast(1.03);
    transform: scale(1.025);
}

.history-gallery figcaption {
    padding: 22px 18px 25px;
}

.history-gallery figcaption strong {
    margin-bottom: 10px;
    color: var(--chalk);
    font-size: 17px;
    line-height: 1.38;
}

.history-gallery figcaption span {
    color: #b9c5df;
    font-size: 10px;
}

.history-sources {
    padding-top: 105px;
    padding-bottom: 110px;
    border-top: 1px solid rgba(154, 119, 61, .28);
}

.history-sources h2 {
    max-width: 820px;
    font-size: clamp(39px, 4vw, 58px);
    line-height: 1.1;
    letter-spacing: .025em;
}

.history-sources ol {
    border-top: 2px solid var(--gold);
}

@media (max-width: 780px) {
    .history-hero {
        min-height: 0;
        grid-template-columns: 1fr;
    }

    .history-hero > div {
        padding: 76px 24px 70px;
    }

    .history-hero > div:after {
        font-size: 105px;
    }

    .history-hero h1 {
        font-size: clamp(44px, 13vw, 59px);
    }

    .history-hero figure,
    .history-hero img {
        min-height: 390px;
        height: 390px;
    }

    .history-hero figure:before {
        inset: 14px;
    }

    .history-hero figcaption {
        left: 14px;
        bottom: 14px;
        max-width: calc(100% - 28px);
    }

    .history-intro {
        display: block;
        min-height: 0;
        padding: 70px 24px 78px;
    }

    .history-intro > .eyebrow {
        width: 100%;
        margin: 0 0 37px;
        padding-top: 18px;
    }

    .history-intro > p:last-child {
        padding: 27px 0 0;
        border-top: 2px solid var(--gold);
        border-left: 0;
        /* „Vierteljahrtausend“ muss ab 320 px Breite in eine Zeile passen. */
        font-size: clamp(22px, 7.4vw, 38px);
    }

    .history-intro > p:last-child:before {
        left: 0;
        top: 0;
        transform: translate(-50%, -50%);
    }

    .history-timeline,
    .history-gallery,
    .history-sources {
        padding: 72px 24px 78px;
    }

    .history-timeline__heading,
    .history-gallery__heading {
        display: block;
        padding-bottom: 38px;
        margin-bottom: 0;
    }

    .history-timeline__heading .eyebrow,
    .history-gallery__heading .eyebrow {
        margin-bottom: 17px;
    }

    .history-timeline li {
        display: block;
        padding: 29px 0 34px;
    }

    .history-timeline__year {
        margin-bottom: 20px;
    }

    .history-timeline li > div {
        padding-left: 18px;
    }

    .history-gallery__grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .history-gallery img,
    .history-gallery figure:first-child img {
        aspect-ratio: 1.2;
    }
}
