@charset "utf-8";
/* CSS Document */


/* =========================================================
   Lokale Webfonts
   ========================================================= */

/* Montserrat SemiBold – 600 */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/montserrat-v31-latin-600.woff2') format('woff2');
}

/* Montserrat Bold – 700 */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/montserrat-v31-latin-700.woff2') format('woff2');
}

/* Source Sans 3 Regular – 400 */
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/source-sans-3-v19-latin-regular.woff2') format('woff2');
}

/* Source Sans 3 SemiBold – 600 */
@font-face {
    font-display: swap;
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/source-sans-3-v19-latin-600.woff2') format('woff2');
}

/* Caveat SemiBold – 600 */
@font-face {
    font-display: swap;
    font-family: 'Caveat';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/caveat-v23-latin-600.woff2') format('woff2');
}


/* =========================================================
   Globale Template-Grundlagen
   ========================================================= */

:root {
    --rwe-blue: #12304A;
    --rwe-green: #315F43;
    --rwe-hover-blue: #EAF3F8;
    --rwe-line: #D9E1DC;
    --rwe-white: #FFFFFF;
    --rwe-muted: #6A7479;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans 3', Arial, sans-serif;
    background: var(--rwe-white);
}


/* =========================================================
   Header
   Bleibt beim Scrollen am oberen Bildschirmrand stehen
   ========================================================= */

.rwe-header {
    position: sticky;
    top: 0;
    z-index: 5000;

    width: 100%;

    background: var(--rwe-white);
}

.rwe-header__inner {
    width: min(calc(100% - 40px), 1480px);
    min-height: 190px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 360px 1fr;
    align-items: center;

    column-gap: 24px;
}


/* =========================================================
   Logo und Slogan
   ========================================================= */

.rwe-brand {
    width: 350px;

    display: flex;
    flex-direction: column;
    align-items: center;

    text-decoration: none;
}

.rwe-brand__logo {
    display: block;

    width: 350px;
    max-width: 100%;
    height: auto;
}

.rwe-brand__slogan {
    width: 100%;

    margin-top: 18px;

    color: var(--rwe-green);

    font-family: 'Caveat', cursive;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;

    text-align: center;
    white-space: nowrap;
}


/* =========================================================
   Rechter Headerbereich
   ========================================================= */

.rwe-header__content {
    min-width: 0;

    display: flex;
    align-items: center;
    justify-content: flex-start;

    gap: 24px;
}


/* =========================================================
   Hauptnavigation
   ========================================================= */

.rwe-mainnav {
    display: flex;
    align-items: center;

    gap: 22px;
}

.rwe-navlink {
    display: inline-flex;
    align-items: center;

    min-height: 44px;

    padding: 0 10px;

    border-radius: 6px;

    color: var(--rwe-blue);

    text-decoration: none;

    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;

    transition: background-color 0.18s ease;
}

.rwe-navlink:hover,
.rwe-navlink:focus-visible {
    background: var(--rwe-hover-blue);
    outline: none;
}


/* =========================================================
   Kontakt
   ========================================================= */

.rwe-contact {
    display: flex;
    align-items: center;

    gap: 18px;

    margin-left: 2px;
}

.rwe-contact__link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--rwe-blue);

    text-decoration: none;

    font-family: 'Source Sans 3', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;

    white-space: nowrap;
}


/* Nur echte Links reagieren auf Hover */

a.rwe-contact__link:hover,
a.rwe-contact__link:focus-visible {
    color: var(--rwe-green);
    outline: none;
}


/* Telefonnummer ist bewusst kein Link */

.rwe-contact__phone {
    cursor: default;
}


/* =========================================================
   Icons
   ========================================================= */

.rwe-icon {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   Sprachauswahl
   ========================================================= */

.rwe-language {
    margin-left: auto;

    padding-left: 18px;

    border-left: 1px solid var(--rwe-line);

    display: flex;
    align-items: center;

    gap: 8px;

    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
}

.rwe-language a {
    padding: 5px 2px;

    color: var(--rwe-muted);

    text-decoration: none;
}

.rwe-language a.is-active {
    color: var(--rwe-blue);

    border-bottom: 2px solid var(--rwe-green);
}

.rwe-language span {
    color: #B8C0BC;

    font-weight: 400;
}


/* =========================================================
   Header – Tablet
   ========================================================= */

@media (max-width: 1180px) {

    .rwe-header__inner {
        grid-template-columns: 320px 1fr;
    }

    .rwe-brand {
        width: 310px;
    }

    .rwe-brand__logo {
        width: 310px;
    }

    .rwe-header__content {
        flex-wrap: wrap;

        gap: 10px 18px;
    }

    .rwe-language {
        margin-left: 0;
    }

}


/* =========================================================
   Header – Smartphone
   ========================================================= */

@media (max-width: 760px) {

    .rwe-header__inner {
        width: min(calc(100% - 28px), 720px);
        min-height: auto;

        padding: 14px 0 16px;

        display: flex;
        flex-direction: column;
        align-items: stretch;

        gap: 16px;
    }

    .rwe-brand {
        width: min(100%, 330px);

        margin: 0 auto;
    }

    .rwe-brand__logo {
        width: 100%;
    }

    .rwe-brand__slogan {
        margin-top: 14px;

        font-size: 22px;

        white-space: normal;
    }

    .rwe-header__content {
        flex-direction: column;
        align-items: stretch;

        gap: 8px;
    }

    .rwe-mainnav {
        flex-direction: column;
        align-items: stretch;

        gap: 2px;
    }

    .rwe-navlink {
        width: 100%;
        min-height: 46px;

        justify-content: center;
    }

    .rwe-contact {
        justify-content: center;
        flex-wrap: wrap;

        gap: 10px 18px;

        padding-top: 5px;
    }

    .rwe-language {
        justify-content: center;

        margin-left: 0;

        padding: 10px 0 0;

        border-left: 0;
        border-top: 1px solid var(--rwe-line);
    }

}


/* =========================================================
   Footer
   ========================================================= */

.rwe-footer {
    width: 100%;

    background: #315F43;
    color: #ffffff;
}

.rwe-footer__inner {
    width: min(calc(100% - 40px), 1480px);

    margin: 0 auto;

    padding: 28px 0;
}

.rwe-footer__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;

    color: #ffffff;

    font-family: 'Source Sans 3', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;

    text-align: center;
}

.rwe-footer__nav a {
    color: #ffffff;

    text-decoration: none;

    transition: color 0.18s ease;
}

.rwe-footer__nav a:visited {
    color: #ffffff;
}

.rwe-footer__nav a:hover,
.rwe-footer__nav a:focus-visible {
    color: #EAF3F8;

    text-decoration: underline;
    text-underline-offset: 3px;

    outline: none;
}

.rwe-footer__separator {
    color: #ffffff;

    opacity: 0.8;
}


/* =========================================================
   Footer – Smartphone
   ========================================================= */

@media (max-width: 700px) {

    .rwe-footer__inner {
        width: min(calc(100% - 28px), 700px);

        padding: 24px 0;
    }

    .rwe-footer__nav {
        gap: 6px;

        font-size: 15px;
        line-height: 1.7;
    }

}