body {
    background-image: url("bg.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    /* Optional: Bild bleibt beim Scrollen fixiert */
    height: 100vh;
    /* Höhe des Viewports */
    margin: 0;
    font-family: Verdana, Arial, Helvetica, sans-serif;
}

#masthead {
    margin: 5px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #dcdcdc;
    border-right: 1px solid #a9a9a9;
    border-bottom: 1px solid #808080;
    border-left: 1px solid #a9a9a9;
    border-radius: 15px;
    background-color: #0EA534;
    font-size: 200%;
    font-weight: bolder;
    color: #fff !important;
    text-decoration: none !important;
    line-height: 1.4em;
}

#masthead h1 {
    color: #fff;
}

#masthead h3 {
    color: #fff;
}

.outer {
    margin: 2em auto;
    padding: 1em;
    max-width: 800px;
    max-height: 800px;
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: auto auto;
    grid-gap: 1em;
}

.button {
    position: relative;
    width: 100%;
}

.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
    border-radius: 15px;
}

.middle {
    transition: .5s ease;
    opacity: 0.8;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}

.button:hover .image {
    opacity: 0.8;
    width: 98%;
    margin: 1%;
    height: auto;
}

.button:hover .middle {
    opacity: 1;
}

.text {
    background-color: #0EA534;
    color: white;
    font-size: 16px;
    border-radius: 10px;
    padding: 16px 32px;
}

.button:active .middle {
    transition: none;
    opacity: 0.5;
}

#hohm, #malv, #malm {
    pointer-events: none;
    .text {
        background-color: #606060;
        color: white;
        font-size: 16px;
        border-radius: 10px;
        padding: 16px 32px;
    }
}