/* GRID COLUMNS –––––––––––––––––––––––––––––––––*/
.grid-home {
    display: grid;
    grid-template-columns: 1fr 2fr;
    /* abstand zum header: –––––––––––––––––––––––––––––––––*/
    padding-top: 1.2rem;
    gap: var(--column-gap);
    margin-bottom: 1rem;

}

/* LINKE SPALTE  –––––––––––––––––––––––––––––––––*/
.grid-home-1-1 {
    grid-column: 1/ span 1;
    grid-row: 1/ span 5;
    padding-bottom: 2vw;
    overflow: hidden;
    align-self: start;
    height: fit-content;
    margin-bottom: 0vw;
    position: sticky;
    top: var(--header-height);
    z-index: 0;
}


/* RECHTE SPALTE: soll normal scrollen und hinter dem Header verschwinden */
/* .news-img {
    width: 100%;
    height: auto;
} */

/* SCHRIFT –––––––––––––––––––––––––––––––––*/
.home-text {
    font-size: var(--font-size-sm);
    line-height: var(--line-height-m);
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: none;
    -ms-hyphens: auto;
    hyphens: none;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 6rem;
    scroll-behavior: smooth;
}

/*SCROLLBAR AUCH IN CHROME UND SAFARI UNSICHTBAR -------------------------*/
.grid-book-1-1::-webkit-scrollbar {
    display: none;
}

/* Abstand nach */
.home-text p {
    margin-bottom: 1.0rem;
}

.home-text:last-child {
    border-bottom: 0rem;

}

.home-text-headline {
    font-size: var(--font-size-m);
    line-height: var(--line-height-m);
    font-weight: var(--font-weight-normal);
    text-transform: uppercase;
    letter-spacing: 0.02rem;
    margin-top: 1rem;
    margin-bottom: 0rem;
}

hr {
    border: none;
    border-top: 1px solid var(--color-line);
    /* Abstand vor Linie (siehe index.css) */
    margin-top: 4rem;
    margin-bottom: 1rem;

}


/* NEWS LIST Linke Spalte –––––––––––––––––––––––––––––––––*/
.home-news-list {
    list-style: none;
    margin: 0;
    padding-bottom: 1rem;
}

.home-news-item {
    padding: 0.3rem;
    border-bottom: 1px solid var(--color-line);
}

/* .home-news-item:last-child {
    border-bottom: none;
} */

.home-news-item a {
    color: var(--color-text);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-m);
    transition: opacity 0.2s ease;
}

.home-news-item a:hover {
    color: var(--color-red);
    text-decoration: none;
}

.home-text::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

/* —————————————————————————————————————————————————— */
/* MOBILE 960px —————————————————————————————————————— */

@media only screen and (max-width:10px) {

    /* MOBILE GRID HOME –––––––––––––––––––––––––––––––––*/

    .grid-home {
        display: grid;
        grid-template-columns: auto;
        grid-template-rows: auto;
        height: auto;
        padding-top: 0;
        overflow: hidden;
        row-gap: 0;
    }

    /* MOBILE SWIPER –––––––––––––––––––––––––––––––––*/
    .grid-home-1-1 {
        grid-column: 1/ span 1;
        grid-row: 1/ span 1;
        /*Zeilennummern vertauscht*/
        padding-bottom: 1rem;
        overflow: hidden;
        height: auto;
        margin-bottom: 1.25vw;
        border-bottom: 1px solid var(--color-line);
    }

    /* MOBILE GRID KOLUMNENLINIEN –––––––––––––––––––––––––––––––––*/
    /* FRAGE: warum nur letzter Eintrag so formatiert (Linie pink 1px) ? –––––––––––––––––––––––––––––––––*/
    .home-text {
        font-size: var(--font-size-s);
        line-height: var(--line-height-s);
        font-weight: var(--font-weight-normal);
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--color-pink);
        margin-bottom: 1.25rem;
    }



}