/* =========================================================
   GESCHICHTE
   Eigene Styles für geschichte.html
========================================================= */


/* =========================================================
   HERO
========================================================= */

.history-page-hero {

    position: relative;

    min-height: 78vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 12% 30%,
            rgba(95,139,91,0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 88% 72%,
            rgba(166,198,106,0.11),
            transparent 30%
        ),
        rgba(16,21,16,0.80);

    border-bottom:
        1px solid
        rgba(255,255,255,0.07);
}


.history-page-hero::before {

    content: "";

    position: absolute;

    width: 600px;
    height: 600px;

    right: -250px;
    top: -250px;

    border-radius: 50%;

    background:
        rgba(166,198,106,0.08);

    filter:
        blur(100px);

    pointer-events: none;
}


.history-page-hero::after {

    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -150px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(95,139,91,0.10);

    filter:
        blur(75px);

    pointer-events: none;
}


.history-hero-content {

    position: relative;

    z-index: 2;

    max-width: 900px;

    padding-top: 80px;
}


.history-page-hero h1 {

    margin:
        20px 0 25px;

    font-family:
        "Archivo Black",
        sans-serif;

    font-size:
        clamp(55px,9vw,120px);

    line-height:
        0.94;

    letter-spacing:
        -0.045em;

    color:
        #ffffff;
}


.history-page-hero h1 span {

    color:
        var(--lime);
}


.history-hero-text {

    max-width: 720px;

    margin: 0;

    color:
        rgba(255,255,255,0.70);

    font-size:
        clamp(17px,2vw,22px);

    line-height:
        1.7;
}


.history-meta {

    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 12px;

    margin-top: 35px;

    color:
        rgba(255,255,255,0.42);

    font-size: 11px;

    font-weight: 700;

    letter-spacing:
        0.12em;
}


.history-dot {

    color:
        var(--lime);
}


.history-scroll-indicator {

    position: absolute;

    left: 50%;

    bottom: 35px;

    transform:
        translateX(-50%);

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 10px;

    color:
        rgba(255,255,255,0.40);

    font-size: 9px;

    font-weight: 700;

    letter-spacing:
        0.14em;

    text-transform:
        uppercase;
}


.history-scroll-line {

    width: 1px;

    height: 42px;

    background:
        linear-gradient(
            to bottom,
            var(--lime),
            transparent
        );
}



/* =========================================================
   INTRODUCTION
========================================================= */

.history-introduction {

    position: relative;

    background:
        rgba(16,21,16,0.68);
}


.history-introduction-grid {

    display: grid;

    grid-template-columns:
        minmax(280px,0.8fr)
        minmax(400px,1.2fr);

    gap: 100px;

    align-items: start;
}


.history-introduction-content {

    padding-top: 10px;
}


.history-introduction-content .text {

    margin:
        0 0 25px;

    color:
        var(--muted);

    line-height:
        1.85;
}


.history-introduction-content .text:last-child {

    margin-bottom: 0;
}



/* =========================================================
   TIMELINE SECTION
========================================================= */

.history-timeline-section {

    position: relative;

    background:
        radial-gradient(
            circle at 90% 15%,
            rgba(95,139,91,0.12),
            transparent 32%
        ),
        rgba(255,255,255,0.025);
}


.history-timeline-section .section-heading {

    max-width: 720px;

    margin-bottom: 70px;
}



/* =========================================================
   TIMELINE
========================================================= */

.history-timeline {

    position: relative;

    max-width: 1050px;

    margin: 0 auto;

    padding-left: 95px;
}


.history-timeline::before {

    content: "";

    position: absolute;

    left: 29px;

    top: 0;

    bottom: 0;

    width: 1px;

    background:
        linear-gradient(
            to bottom,
            transparent,
            rgba(166,198,106,0.35) 7%,
            rgba(166,198,106,0.35) 93%,
            transparent
        );
}


.history-timeline-item {

    position: relative;

    padding-bottom: 28px;
}


.history-timeline-item:last-child {

    padding-bottom: 0;
}


.history-timeline-number {

    position: absolute;

    left: -95px;

    top: 30px;

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    border:
        1px solid
        rgba(166,198,106,0.30);

    border-radius: 50%;

    background:
        #101510;

    color:
        var(--lime);

    font-size: 11px;

    font-weight: 700;

    letter-spacing:
        0.10em;

    z-index: 2;
}


.history-timeline-card {

    padding:
        35px 40px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.018)
        );

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


.history-timeline-card:hover {

    transform:
        translateX(8px);

    border-color:
        rgba(166,198,106,0.30);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,0.25);
}


.history-period {

    display: inline-block;

    margin-bottom: 14px;

    color:
        var(--lime);

    font-size: 9px;

    font-weight: 700;

    letter-spacing:
        0.16em;
}


.history-timeline-card h3 {

    margin:
        0 0 16px;

    color:
        #ffffff;

    font-size:
        clamp(22px,3vw,30px);

    line-height:
        1.2;
}


.history-timeline-card p {

    max-width: 780px;

    margin:
        0 0 14px;

    color:
        var(--muted);

    font-size: 14px;

    line-height:
        1.8;
}


.history-timeline-card p:last-of-type {

    margin-bottom: 0;
}


.history-tags {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 25px;
}


.history-tags span {

    padding:
        7px 11px;

    border:
        1px solid
        rgba(166,198,106,0.16);

    border-radius:
        50px;

    background:
        rgba(166,198,106,0.06);

    color:
        rgba(255,255,255,0.55);

    font-size: 9px;

    font-weight: 700;

    letter-spacing:
        0.08em;

    text-transform:
        uppercase;
}



/* =========================================================
   HISTORICAL USE
========================================================= */

.history-uses {

    background:
        rgba(16,21,16,0.76);
}


.history-uses .section-heading {

    max-width: 720px;

    margin-bottom: 60px;
}


.history-uses-grid {

    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 18px;
}


.history-use-card {

    position: relative;

    min-height: 290px;

    padding: 30px;

    overflow: hidden;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.06),
            rgba(255,255,255,0.02)
        );

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}


.history-use-card::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    right: -110px;
    bottom: -110px;

    border-radius: 50%;

    background:
        rgba(166,198,106,0.11);

    filter:
        blur(45px);

    transition:
        transform 0.5s ease;
}


.history-use-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(166,198,106,0.30);

    box-shadow:
        0 20px 50px
        rgba(0,0,0,0.25);
}


.history-use-card:hover::before {

    transform:
        scale(1.7);
}


.history-use-number {

    position: absolute;

    top: 25px;
    right: 25px;

    color:
        rgba(255,255,255,0.25);

    font-size: 11px;

    font-weight: 700;

    letter-spacing:
        0.12em;
}


.history-use-icon {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    margin-bottom: 35px;

    border:
        1px solid
        rgba(166,198,106,0.20);

    border-radius: 16px;

    background:
        rgba(166,198,106,0.08);

    color:
        var(--lime);

    font-family:
        "Archivo Black",
        sans-serif;

    font-size: 18px;
}


.history-use-card h3 {

    position: relative;

    margin:
        0 0 14px;

    color:
        #ffffff;

    font-size: 21px;
}


.history-use-card p {

    position: relative;

    margin: 0;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.75;
}



/* =========================================================
   MATERIALS
========================================================= */

.history-materials {

    position: relative;

    background:
        radial-gradient(
            circle at 10% 60%,
            rgba(95,139,91,0.12),
            transparent 30%
        ),
        rgba(255,255,255,0.025);
}


.history-materials-grid {

    display: grid;

    grid-template-columns:
        minmax(280px,0.75fr)
        minmax(400px,1.25fr);

    gap: 100px;

    align-items: start;
}


.history-materials-content {

    padding-top: 10px;
}


.history-materials-content .text {

    margin:
        0 0 25px;

    color:
        var(--muted);

    line-height:
        1.85;
}


.history-materials-content .text:last-child {

    margin-bottom: 0;
}



/* =========================================================
   CULTURAL CHANGE
========================================================= */

.history-change {

    background:
        rgba(16,21,16,0.80);
}


.history-change .section-heading {

    max-width: 750px;

    margin-bottom: 60px;
}


.history-change-grid {

    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 18px;
}


.history-change-card {

    min-height: 270px;

    padding: 30px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius:
        var(--radius);

    background:
        rgba(255,255,255,0.035);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;
}


.history-change-card:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(166,198,106,0.28);
}


.history-change-card > span {

    display: block;

    margin-bottom: 35px;

    color:
        var(--lime);

    font-size: 9px;

    font-weight: 700;

    letter-spacing:
        0.15em;
}


.history-change-card h3 {

    margin:
        0 0 14px;

    color:
        #ffffff;

    font-size: 20px;

    line-height: 1.25;
}


.history-change-card p {

    margin: 0;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.75;
}



/* =========================================================
   FACTS
========================================================= */

.history-facts {

    background:
        rgba(16,21,16,0.74);
}


.history-facts .section-heading {

    max-width: 650px;

    margin-bottom: 55px;
}


.history-facts-grid {

    display: grid;

    grid-template-columns:
        repeat(4,minmax(0,1fr));

    gap: 18px;
}


.history-fact {

    min-height: 245px;

    padding: 30px;

    border:
        1px solid
        rgba(255,255,255,0.08);

    border-radius:
        var(--radius);

    background:
        rgba(255,255,255,0.035);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease;
}


.history-fact:hover {

    transform:
        translateY(-7px);

    border-color:
        rgba(166,198,106,0.28);
}


.history-fact strong {

    display: block;

    margin-bottom: 35px;

    color:
        var(--lime);

    font-size: 11px;

    font-weight: 700;

    letter-spacing:
        0.14em;
}


.history-fact h3 {

    margin:
        0 0 14px;

    color:
        #ffffff;

    font-size: 20px;
}


.history-fact p {

    margin: 0;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.75;
}



/* =========================================================
   NOTE
========================================================= */

.history-note {

    background:
        radial-gradient(
            circle at 90% 40%,
            rgba(166,198,106,0.09),
            transparent 30%
        ),
        rgba(255,255,255,0.025);
}


.history-note-box {

    position: relative;

    max-width: 1000px;

    margin: 0 auto;

    padding: 55px;

    border:
        1px solid
        rgba(166,198,106,0.18);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            145deg,
            rgba(166,198,106,0.075),
            rgba(255,255,255,0.025)
        );
}


.history-note-box::before {

    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    border-radius:
        3px 0 0 3px;

    background:
        var(--lime);
}


.history-note-box h2 {

    margin:
        20px 0;

    color:
        #ffffff;

    font-size:
        clamp(30px,4vw,48px);

    line-height:
        1.1;
}


.history-note-box h2 span {

    color:
        var(--lime);
}


.history-note-box p {

    max-width: 800px;

    margin:
        0 0 18px;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


.history-note-box p:last-child {

    margin-bottom: 0;
}



/* =========================================================
   NAVIGATION
========================================================= */

.history-navigation {

    background:
        rgba(255,255,255,0.025);
}


.history-navigation .section-heading {

    margin-bottom: 50px;
}


.history-navigation-grid {

    display: grid;

    grid-template-columns:
        repeat(3,minmax(0,1fr));

    gap: 18px;
}


.history-navigation-card {

    position: relative;

    display: flex;

    flex-direction: column;

    min-height: 280px;

    padding: 30px;

    color: inherit;

    text-decoration: none;

    border:
        1px solid
        rgba(255,255,255,0.09);

    border-radius:
        var(--radius);

    background:
        rgba(255,255,255,0.035);

    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        background 0.4s ease;
}


.history-navigation-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(166,198,106,0.32);

    background:
        rgba(255,255,255,0.06);
}


.history-navigation-card > span {

    margin-bottom: 35px;

    color:
        rgba(255,255,255,0.28);

    font-size: 11px;

    font-weight: 700;

    letter-spacing:
        0.12em;
}


.history-navigation-card h3 {

    margin:
        0 0 14px;

    color:
        #ffffff;

    font-size: 22px;
}


.history-navigation-card p {

    margin: 0;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.7;
}


.history-navigation-card strong {

    margin-top: auto;

    padding-top: 25px;

    color:
        var(--lime);

    font-size: 12px;

    transition:
        transform 0.3s ease;
}


.history-navigation-card:hover strong {

    transform:
        translateX(5px);
}


.history-back {

    margin-top: 50px;

    text-align: center;
}



/* =========================================================
   TABLET / LAPTOP
========================================================= */

@media (max-width: 1100px) {

    .history-uses-grid,
    .history-change-grid,
    .history-facts-grid {

        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}



/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

    .history-introduction-grid,
    .history-materials-grid {

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .history-timeline {

        padding-left: 75px;
    }


    .history-timeline-number {

        left: -75px;
    }


    .history-timeline::before {

        left: 29px;
    }


    .history-navigation-grid {

        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

}



/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

    .history-page-hero {

        min-height: 75vh;
    }


    .history-hero-content {

        padding-top: 70px;
    }


    .history-page-hero h1 {

        font-size:
            clamp(48px,15vw,75px);
    }


    .history-hero-text {

        font-size: 16px;
    }


    .history-meta {

        gap: 8px;
    }


    .history-introduction-grid,
    .history-materials-grid {

        gap: 35px;
    }


    .history-timeline {

        padding-left: 0;
    }


    .history-timeline::before {

        display: none;
    }


    .history-timeline-item {

        padding-bottom: 25px;
    }


    .history-timeline-number {

        position: static;

        width: 45px;
        height: 45px;

        margin-bottom: 15px;
    }


    .history-timeline-card {

        padding:
            27px;
    }


    .history-timeline-card:hover {

        transform: none;
    }


    .history-timeline-card h3 {

        font-size: 21px;
    }


    .history-timeline-card p {

        font-size: 13px;
    }


    .history-uses-grid,
    .history-change-grid,
    .history-facts-grid {

        grid-template-columns: 1fr;
    }


    .history-use-card {

        min-height: auto;

        padding: 27px;
    }


    .history-change-card {

        min-height: auto;

        padding: 27px;
    }


    .history-fact {

        min-height: auto;

        padding: 27px;
    }


    .history-note-box {

        padding:
            35px 28px;
    }


    .history-navigation-grid {

        grid-template-columns: 1fr;
    }


    .history-navigation-card {

        min-height: 240px;
    }


    .history-scroll-indicator {

        display: none;
    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .history-page-hero *,
    .history-timeline-card,
    .history-use-card,
    .history-change-card,
    .history-fact,
    .history-navigation-card {

        transition:
            none !important;
    }

}