/* =========================================================
   VOLKSSCHULE MONDWEG
   ZENTRALES NEUES SEITENLAYOUT
   ========================================================= */


/* =========================================================
   GRUNDLAGE
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    box-sizing: border-box;
}


/* =========================================================
   KOPF + NAVIGATION
   ========================================================= */

.layout-neu-kopf {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   SEITENKOPF
   ========================================================= */

.layout-neu-seitenkopf {
    width: 100%;
    margin: 0;
    padding: 0;
}


/* =========================================================
   GEMEINSAMER INHALTSBEREICH

   Desktop:
   Inhalt maximal 1200 px breit.
   Bei sehr großen Bildschirmen entstehen automatisch
   gleich große Ränder links und rechts.
   ========================================================= */

.layout-neu-inhalt {
    width: 76%;
    max-width: none;

    margin-left: auto;
    margin-right: auto;

    padding-top: 45px;
    padding-bottom: 55px;

    box-sizing: border-box;
}

/* =========================================================
   FOOTER – GRUNDLAGE
   gilt für alle Ansichten
   ========================================================= */

.layout-neu-footer {
    width: 100%;
    margin: 0;
    padding: 0;
}

.mobile-footer-container {
    width: 100%;
    margin: 60px 0 0 0;
    padding: 0;
    box-sizing: border-box;
}

.mobile-footer {
    width: 100%;
    box-sizing: border-box;
    padding: 38px 8% 28px 8%;
    background: #f1f6fb;

    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    text-align: center;
}


/* Gütesiegel */

.mobile-footer-guetesiegel {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 20px auto;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;

    box-sizing: border-box;
}

.mobile-footer-guetesiegel a {
    display: block;
    flex: 0 1 190px;
}

.mobile-footer-guetesiegel img {
    display: block;
    width: 100%;
    max-width: 190px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto;
}


/* mondweg.at */

.mobile-footer-domain {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #666666;
}

.mobile-footer-domain a {
    color: #666666;
    text-decoration: none;
}


/* Impressum + Datenschutz */

.mobile-footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;

    margin: 0;

    font-size: 14px;
    line-height: 1.4;
}

.mobile-footer-links a {
    color: #555555;
    text-decoration: none;
}

.mobile-footer-links a:hover {
    color: #315f9f;
    text-decoration: underline;
}


/* =========================================================
   INHALT – MITTLERE ANSICHT
   1000 bis 1299 px
   ========================================================= */

@media screen and (min-width: 1000px) and (max-width: 1299px) {

    .layout-neu-inhalt {
        width: calc(100% - 80px);
        padding-top: 40px;
        padding-bottom: 50px;
    }

}


/* =========================================================
   INHALT – MOBIL
   unter 1000 px
   ========================================================= */

@media screen and (max-width: 999px) {

    .layout-neu-inhalt {
        width: calc(100% - 32px);
        padding-top: 28px;
        padding-bottom: 40px;
    }

}
/* =========================================================
   FOOTER – MOBIL
   unter 1000 px
   ========================================================= */

@media screen and (max-width: 999px) {

    .layout-neu-footer {
        width: 100%;
    }

    .mobile-footer-container {
        width: 100%;
        margin: 40px 0 0 0;
    }

    .mobile-footer {
        width: 100%;
        box-sizing: border-box;
        padding: 20px 16px 16px 16px;
    }

    .mobile-footer-guetesiegel {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;

        width: 100%;
        gap: 14px;

        margin-bottom: 10px;
    }

    .mobile-footer-guetesiegel a {
        display: block;
        width: 21%;
        max-width: 90px;
    }

    .mobile-footer-guetesiegel img {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    .mobile-footer-domain {
        margin: 0 0 8px 0;
        font-size: 17px;
        color: #666666;
    }

    .mobile-footer-domain a {
        color: #666666;
        text-decoration: none;
    }

    .mobile-footer-links {
        margin-top: 0;
    }

}




/* =========================================================
   KOPF – MITTLERE ANSICHT
   1000 bis 1299 px
   ========================================================= */

@media screen and (min-width: 1000px) and (max-width: 1299px) {

    .desktop-neu-gesamt {
        width: 100%;
        box-sizing: border-box;
    }

    .desktop-kopf-neu-container {
        width: 100%;
        box-sizing: border-box;
    }

    .desktop-navigation-zeile-neu {
        width: 100%;
        box-sizing: border-box;

        display: flex;
        justify-content: center;
        align-items: center;

        padding-left: 20px;
        padding-right: 20px;
    }

    .desktop-navigation-neu-container {
        width: auto;
        min-width: 0;
    }

    .desktop-navigation-buttons-neu {
        flex-shrink: 0;
    }

}
/* =========================================================
   ZENTRALE UMSCHALTUNG KOPF
   ========================================================= */


/* Desktop + mittlere Ansicht: Desktop-Kopf zeigen */
@media screen and (min-width: 1000px) {

    .desktop-neu-gesamt {
        display: block;
    }

    .mobile-neu-test-container {
        display: none;
    }

}


/* Mobil: mobilen Kopf zeigen */
@media screen and (max-width: 999px) {

    .desktop-neu-gesamt {
        display: none !important;
    }

    .mobile-neu-test-container {
        display: block !important;
    }

}
/* =========================================
   NACH-OBEN-BUTTON
   ========================================= */

.nach-oben-button {
    position: fixed;
    right: 28px;
    bottom: 28px;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    background: #2868ad;
    border-radius: 50%;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.nach-oben-pfeil {
    display: block;

    width: 10px;
    height: 10px;

    border-top: 2px solid #ffffff;
    border-left: 2px solid #ffffff;

    transform: rotate(45deg) translate(2px, 2px);
}

.nach-oben-button:hover {
    background: #1f5b99;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
}


/* Mobil */
@media (max-width: 999px) {

    .nach-oben-button {
        right: 16px;
        bottom: 18px;

        width: 44px;
        height: 44px;
    }

    .nach-oben-pfeil {
        width: 9px;
        height: 9px;
    }
}
html {
    scroll-behavior: smooth;
}