.main-div {
    background-color: #142E42;
    transition: background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;
    padding: 50px 0px 0px 0px;
}
.second-div {
    max-width: 1200px;
    align-items: center;
    display: flex;
    margin-inline: auto;
    position: relative;
}
.third-div {
    width: 100%;
    display: flex;
}
.width_footer30{
    width: 30%;
}
.width_footer22{
    width: 22%;
    color: white;
}
.padding-left{
    padding-left: 0px;
}
.text-color-white {
    color: white!important;
    line-height: 1.7em;
}
.div-grid {
    display: grid;
    vertical-align: middle;
    padding-left: 85px;
}
.margin-buttom20 {
    margin-bottom: 20px;
}
.no-list-style {
    list-style: none;
}
.footer-copyright {
    text-align: end;
    padding: 10px;
    font-size: 17px;
    display: block;
    color: white;
    width: 95%;
}
.separator-style-footer {
    margin-top: 45px;
    width: 89%;
}

.logo_footer {
    max-width: 120px;
}
.corp-title {
    font-size: 20px;
    line-height: 1.3em;
    color: #B28B15;
    padding-top: 20px;
    margin-left: -34px;
    font-weight: 750;
}
.h2_element {}
@media (max-width: 787px) {
    .third-div {
        max-width: 787px;
        align-content: center;
        flex-wrap: wrap;
    }
    .width_footer30{
        width: 100%;
        justify-content: center;
        margin-bottom: 35px;
    }
    .width_footer22 {
        width: 100%;
        margin-bottom: 35px;
    }
    .h2_element {
        width: 100%;
        justify-content: center;
        display: flex;
        color: white;
    }
    .corp-title {
        margin-left: 0;
    }
    .logo_footer{
        margin-left: 50px;
        margin-bottom: 10px;
    }
    .margin-block-end{
        margin-block-end: 20px;
    }
    .div-grid {
        padding-left: 0;
    }
    li.no {
        width: 100%;
        text-align: center;
    }
}

/* 1. Ändert alle allgemeinen Texte im Footer auf Montserrat */
.main-div, 
.main-div *,
.main-div .ui-widget {
    font-family: 'Montserrat', sans-serif !important;
}

/* 2. Holt die h2-Überschriften (Kontakt, Sprachen) zurück zu brygada-1918 */
.main-div h2,
.main-div .h2_element,
.main-div h2.h2_element,
.main-div .ui-widget h2,
.main-div .corp-title,
.main-div h2.corp-title {
    font-family: "brygada-1918", serif !important; /* Greift jetzt  durch die tnh.css-Korrektur */
}
