/* =========================================
   HERZ FÜR ALLE
   ========================================= */

.herz-alle {
    width: 100%;
    padding-bottom: 70px;
    box-sizing: border-box;
    color: #243746;
}


/* ---------- Einleitung ---------- */

.herz-einleitung {
    max-width: 820px;
    margin: 45px 0 70px;
}

.herz-kicker,
.herz-ueberschrift > span {
    display: block;
    margin-bottom: 8px;
    color: #2468ad;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.herz-einleitung h1 {
    margin: 0 0 18px;
    color: #173e68;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.25;
}

.herz-einleitung p {
    max-width: 760px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
}


/* ---------- Bereiche ---------- */

.herz-bereich {
    margin-bottom: 75px;
}

.herz-ueberschrift {
    max-width: 760px;
    margin-bottom: 32px;
}

.herz-ueberschrift h2 {
    margin: 0 0 12px;
    color: #173e68;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.3;
}

.herz-ueberschrift p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}


/* ---------- Aktionskarten ---------- */

.herz-aktionen {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.herz-aktion {
    background: #fff;
    border: 1px solid #e1e8ee;
    border-radius: 14px;
    padding: 28px 25px;
    box-sizing: border-box;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
}

.herz-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #eef6fc;
    color: #2468ad;
    font-size: 23px;
    font-weight: 600;
}

.herz-aktion h3 {
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
    color: #2868ad;
}

.herz-aktion p {
    margin: 0;
    color: #4b5e6d;
    font-size: 15px;
    line-height: 1.65;
}


/* ---------- Tablet ---------- */

@media (max-width: 950px) {

    .herz-aktionen {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ---------- Handy ---------- */

@media (max-width: 600px) {

    .herz-alle {
        padding: 0 15px 50px;
    }

    .herz-einleitung {
        margin: 30px 0 55px;
    }

    .herz-einleitung h1 {
        font-size: 30px;
    }

    .herz-einleitung p {
        font-size: 16px;
    }

    .herz-ueberschrift h2 {
        font-size: 27px;
    }

    .herz-aktionen {
        grid-template-columns: 1fr;
    }

    .herz-aktion {
        padding: 25px 22px;
    }
}
.herz-alle,
.herz-alle h1,
.herz-alle h2,
.herz-alle h3,
.herz-alle p,
.herz-alle span {
    font-family: "Open Sans", Arial, sans-serif;
}
/* =========================================
   ANGLEICHUNG AN DIE NEUEN INHALTSSEITEN
   ========================================= */

.herz-alle {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 55px 0 60px;
    box-sizing: border-box;

    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #333333;
}

/* Einleitung */

.herz-einleitung {
    max-width: none;
    margin: 0 0 55px;
}

.herz-einleitung h1 {
    margin: 0 0 18px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    color: #2868ad;
}

.herz-einleitung p {
    max-width: none;
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

/* Weitere Bereiche */

.herz-ueberschrift {
    max-width: none;
    margin-bottom: 28px;
}

.herz-ueberschrift h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    color: #2868ad;
}

.herz-ueberschrift p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

@media screen and (max-width: 999px) {

    .herz-alle {
        width: calc(100% - 32px);
        padding: 35px 0 45px;
    }

    .herz-einleitung h1,
    .herz-ueberschrift h2 {
        font-size: 25px;
    }

    .herz-einleitung p,
    .herz-ueberschrift p {
        font-size: 16px;
    }
}
/* =====================================================
   ENGAGEMENT – SCHULJAHRE
   ===================================================== */

.herz-jahre {
    margin-top: 55px;
    padding-top: 35px;
    border-top: 1px solid #d9e4ef;
}

.herz-jahre h2 {
    margin: 0 0 14px;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 600;
    color: #2868ad;
}

.herz-jahre-einleitung {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
}


/* Aktionen des Schuljahres */

.herz-jahr-aktionen {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.herz-jahr-aktionen span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #d9e4ef;
    border-radius: 5px;
    background: #f5f8fc;

    font-size: 15px;
    line-height: 1.4;
    color: #333333;
}


/* Mobile */

@media screen and (max-width: 999px) {

    .herz-jahre {
        margin-top: 40px;
        padding-top: 28px;
    }

    .herz-jahre h2 {
        font-size: 25px;
    }

    .herz-jahre-einleitung {
        font-size: 15px;
    }

    .herz-jahr-aktionen span {
        font-size: 14px;
    }
}
/* Schuljahre */

.herz-jahr {
    margin-top: 28px;
}

.herz-jahr h3 {
    margin: 0 0 14px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 600;
    color: #2868ad;
}

.herz-jahr + .herz-jahr {
    margin-top: 30px;
}

@media screen and (max-width: 999px) {

    .herz-jahr h3 {
        font-size: 20px;
    }

}
/* ---------- Bilder in den Aktionskarten ---------- */

.herz-aktion-bild {
    width: 100%;
    height: 170px;
    margin: 0 0 20px 0;
    overflow: hidden;
    border-radius: 6px;
}

.herz-aktion-bild img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* =========================================
   Bilder in den Aktionskarten
   ========================================= */

.herz-aktion {
    overflow: hidden;
}

/* Bild oben bündig wie bei den Aktivitäten-Karten */
.herz-aktion-bild {
    display: block;
    width: calc(100% + 52px);
    height: 190px;
    margin: -26px -26px 22px -26px;
    object-fit: cover;
    border-radius: 0;
}