/* =====================================================
   HEADER
===================================================== */

header {
    position: relative;

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

    height: 180px;
    overflow: hidden;

    background: linear-gradient(
        to bottom,
        #4aa3ff 0%,
        #bfe6ff 45%,
        #ffffff 100%
    );

    border-bottom: 6px solid #205070;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* Eckverzierungen */

.eckelinksoben,
.eckerechtsoben {
    position: absolute;
    top: 0;

    height: 100%;
    width: auto;

    object-fit: contain;

    opacity: 0.9;

    z-index: 1;
}

.eckelinksoben {
    left: 0;
}

.eckerechtsoben {
    right: 0;
}

/* Linker und rechter Headerbereich */

.header-links,
.header-rechts {
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    align-items: center;
}

/* Jubiläum mittig über linker innerer Spaltenkante */

.header-links {
    justify-content: flex-end;
}

.header-jubilaeum {
    height: 165px;
    width: auto;

    transform: translateX(50%);
}

/* Logo mittig über rechter innerer Spaltenkante */

.header-rechts {
    justify-content: flex-start;
}

.logo {
    height: 135px;
    width: auto;

    transform: translateX(-50%);

    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.25));
}

/* Header-Mitte */

.header-mitte {
    position: relative;
    z-index: 2;

    text-align: center;
}

.header-mitte h1 {
    font-family: "Merriweather", serif;

    font-size: 3rem;

    margin: 0;

    letter-spacing: 2px;

    color: #205070;

    text-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

.header-mitte p {
    font-family: "Merriweather", serif;

    font-size: 2.2rem;
    font-weight: 700;

    margin-top: 5px;

    color: #205070;
}

.header-untertitel {
    display: block;

    font-size: 1rem;

    margin-top: 5px;

    color: #205070;
}

/* =====================================================
   HEADER MOBIL / TABLET
===================================================== */

@media (max-width: 900px) {

    header {
        display: grid;
        grid-template-columns: 70px 1fr 70px;
        grid-template-areas: "jubilaeum mitte logo";
        align-items: center;

        height: auto;
        min-height: 120px;

        padding: 15px 10px;
        text-align: center;
    }

    .eckelinksoben,
    .eckerechtsoben {
        height: 65px;
        opacity: 0.75;
    }

    .header-links {
        grid-area: jubilaeum;
        width: auto;
        min-width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-mitte {
        grid-area: mitte;
        width: 100%;
        text-align: center;
    }

    .header-rechts {
        grid-area: logo;
        width: auto;
        min-width: auto;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .header-jubilaeum {
        height: 65px;
        width: auto;
        transform: none;
    }

    .logo {
        height: 58px;
        width: auto;
        transform: none;
    }

    .header-mitte h1 {
        font-size: 1.35rem;
        line-height: 1.15;
        letter-spacing: 0;
        white-space: normal;
    }

    .header-mitte p {
        font-size: 1rem;
        line-height: 1.15;
        white-space: normal;
    }

    .header-untertitel {
        font-size: 0.75rem;
        margin-top: 4px;
    }
}