:root {
    --primary-color: #042255;
    --primary-color-2: #042255;
}


* {
    font-family: 'Open Sans', sans-serif;
}

html,
body {
    color: var(--primary-color);
}



/* -------- LOGO -------- */
.wmf-logo {
    position: absolute;
    width: 100%;
    max-width: 400px;
}

.wmf-logo__background {
    display: block;
    width: 100%;
    height: auto;
}

.wmf-logo__foreground {
    position: absolute;
    left: 61%;
    top: 50%;
    width: 40%;
    height: auto;
    transform: translate(-50%, -50%);
}
.wmf-logo,
.wmf-logo * {
    user-select: none;
    -webkit-user-drag: none;
}
/* ---------------------- */

.header > .inner {
    position: relative;
    padding-top: 50px;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}
.wmf-logo {
    top: 0;
    left: -120px;
}
.header-image {
    border-top: 70px solid #fdf53d;
    overflow: hidden;
    height: 360px;
    box-sizing: border-box;
    background: url("header.png") bottom center no-repeat;


}
.header-image h1 {
    font-family: "Aribau Rounded", sans-serif;
    font-weight: 700;
    color: white;
    position: absolute;
    bottom: 50px;
    left: 15px;
}
@media (min-width: 400px) {
    .header-image h1 {
        left: 50px;
    }
}

/* -------- Footer -------- */
.container.footer {
    max-width: 1200px;
    margin-top: 50px;
    margin-bottom: 0;
    background: #f00551;
    border: none;
}
.container.footer a {
    color: white;
    text-decoration: none;
}
.container.footer a:hover {
    text-decoration: underline;
}

/* -------- buttons -------- */

button,
.button {
    /* Reset */
    appearance: none;
    -webkit-appearance: none;
    box-sizing: border-box;

    margin: 0;
    border: 0;
    outline: 0;

    background: none;
    box-shadow: none;

    font: inherit;
    font-family: inherit;
    text-decoration: none;

    /* Darstellung */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;
    padding: 7px 28px;

    background-color: #fdea10;
    color: #111;

    border-radius: 15px;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;

    white-space: nowrap;
    cursor: pointer;

    transition:
            background-color 0.18s ease,
            transform 0.18s ease;
}
.button.button-color-2 {
    background: #f00551;
    color: white;
}
.button.button-color-2:hover {
    background-color: #ca0846;
}

button:hover,
.button:hover {
    background-color: #f2cc00;
    background-color: #f9e501;
}

button:focus-visible,
.button:focus-visible {
    outline: 3px solid #111;
    outline-offset: 3px;
}

button:active,
.button:active {
    transform: translateY(1px);
}

button:disabled,
.button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}





/* =========================================================
   Formularfelder im türkis/hellblauen Stil
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="url"],
input[type="search"],
select,
textarea {
    appearance: none;
    -webkit-appearance: none;

    box-sizing: border-box;

    width: 100%;
    min-height: 56px;

    margin: 0;
    padding: 12px 18px;

    border: 5px solid #22b8cf;
    border-radius: 24px;

    background-color: #eefaff;
    color: #111;

    font: inherit;
    font-size: 18px;
    line-height: 1.2;

    outline: none;
    box-shadow: none;

    transition:
            border-color 0.15s ease,
            box-shadow 0.15s ease,
            background-color 0.15s ease;
}


/* ---------------------------------------------------------
   Fokus
   --------------------------------------------------------- */

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
select:focus,
textarea:focus {
    border-color: #18a9c1;
    background-color: #f4fcff;

    box-shadow:
            0 0 0 2px rgba(34, 184, 207, 0.15);
}


/* ---------------------------------------------------------
   Placeholder
   --------------------------------------------------------- */

input::placeholder,
textarea::placeholder {
    color: #777;
    opacity: 1;
}


/* ---------------------------------------------------------
   Select
   eigener Pfeil
   --------------------------------------------------------- */

select {
    padding-right: 33px;

    background-image:
            linear-gradient(45deg, transparent 50%, #22b8cf 50%),
            linear-gradient(135deg, #22b8cf 50%, transparent 50%);

    background-position:
            calc(100% - 24px) 50%,
            calc(100% - 17px) 50%;

    background-size:
            8px 8px,
            8px 8px;

    background-repeat: no-repeat;

    cursor: pointer;
}


/* Firefox: nativen Pfeil entfernen */
select::-ms-expand {
    display: none;
}


/* ---------------------------------------------------------
   Textarea
   --------------------------------------------------------- */

textarea {
    min-height: 140px;

    padding-top: 16px;
    padding-bottom: 16px;

    resize: vertical;
}


/* ---------------------------------------------------------
   Disabled
   --------------------------------------------------------- */

input:disabled,
select:disabled,
textarea:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* ---------------------------------------------------------
   Readonly
   --------------------------------------------------------- */

input[readonly],
textarea[readonly] {
    background-color: #e8f4f8;
    cursor: default;
}


/* ---------------------------------------------------------
   Autofill Chrome / Safari
   --------------------------------------------------------- */

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
    -webkit-text-fill-color: #111;

    -webkit-box-shadow:
            0 0 0 1000px #eefaff inset;

    transition:
            background-color 9999s ease-in-out 0s;
}


/* ---------------------------------------------------------
   Optional: einheitlicher Abstand
   --------------------------------------------------------- */

.form-field {
    margin-bottom: 20px;
}


/* ---------------------------------------------------------
   Optional: Label
   --------------------------------------------------------- */

label {
    display: block;

    margin-bottom: 8px;

    color: #111;

    font: inherit;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}



/* ----- */

.login-form fieldset {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, 1fr);
}

.login-form button {
    margin-top: 20px;
}


@media (min-width: 860px) {
    body.site-anmelden .container.main {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 50px;
        margin-top: 50px;
    }
    body.site-anmelden .container.main form {
        margin-top: 0;
    }
    body.site-anmelden .container.main > div {
        grid-row: span 2;
    }
    body.site-anmelden .container.main p:first-child {
        margin-top: 0;
    }
}


/* --------- */

.messages_errors {
    margin: 16px 0;
    margin-top: 0;
    padding: 0;
    list-style: none;
}

.messages_errors li {
    position: relative;

    padding: 14px 18px 14px 46px;

    border: 2px solid #d64545;
    border-radius: 14px;

    background-color: #fff2f2;
    color: #9f1f1f;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.messages_errors li::before {
    content: "!";

    position: absolute;
    left: 16px;
    top: 50%;

    width: 20px;
    height: 20px;

    transform: translateY(-50%);

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

    border-radius: 50%;

    background-color: #d64545;
    color: #fff;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
}

.messages_errors li + li {
    margin-top: 10px;
}


.footer a {
    margin-right: 2rem;
}
.footer a:last-child {
    margin-right: 0;
}

/* ------- IMAGE SELECTOR -------- */

@media (min-width: 600px) {
    .image-selector {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 20px;
    }
    .image-selector svg {
        width: 130px;
        top: 70px;
        left: calc(33%);
        right: auto;
        transform: translateX(-50%);
    }
}


/*
.image-selector {
    width: 80%;
    max-width: 350px;
    margin: 0 auto;
}

.image-selector .image-selector-image-container {
    padding-top: 100%;
}

.image-selector svg {
    top: calc(57% - 172px);
}
*/