@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
        url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Italic.woff2') format('woff2'),
        url('../fonts/Montserrat-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
        url('../fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBoldItalic.woff2') format('woff2'),
        url('../fonts/Montserrat-SemiBoldItalic.woff') format('woff');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'),
        url('../fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-BoldItalic.woff2') format('woff2'),
        url('../fonts/Montserrat-BoldItalic.woff') format('woff');
    font-weight: bold;
    font-style: italic;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #3a3a39;
    color: #FFFFFF;
    font-family: 'Montserrat', sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media only screen and (max-width: 640px) {
    html {
        font-size: 80%;
    }
}


:focus {
    outline: 2px dashed #FFFFFF;
    outline-offset: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}

.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    padding: 20px;
    text-align: center;
}

.logo-wrapper {
    width: 100%;
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
}

.logo-placeholder {
    width: 100%;
    max-width: 400px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.content {
    width: 100%;
    margin: 20px 0 40px 0;
}

h1 {
    font-size: 1.4rem;
    margin: 0 0 25px 0;
    color: #c6a782;
    font-weight: bold;
}

h1 span {
    display: block;
    color: #FFFFFF;
    font-size: 1.2rem;
    font-weight: normal;
}

p {
    line-height: 1.4rem;
    margin: 0 0 1rem 0;
}

address.contact-info {
    font-style: normal;
    line-height: 1.8;
    font-size: 1.1rem;
}

.contact-info a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.spacer {
    display: block;
    height: 20px;
}

footer {
    width: 100%;
    padding: 25px 0;
    margin: 0 auto 10px auto;
    border-top: 1px solid #424240;
    display: flex;
    justify-content: center;
}

.link-button {
    background: transparent;
    border: none;
    color: #FFF;
    font-family: inherit;
    font-size: 0.8rem;
    margin: 0 15px;
    padding: 0;
    opacity: 0.7;
    cursor: pointer;
    letter-spacing: 1px;
    text-decoration: none;
}

.link-button:hover,
.link-button:focus-visible {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    padding: 20px;
    box-sizing: border-box;
    /* Zentrierung immer aktiv halten, wenn display nicht none ist */
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #FFFFFF;
    color: #222222;
    padding: 40px 30px;
    border-radius: 4px;
    width: 100%;
    max-width: 500px;
    position: relative;
    text-align: left;
    transform: scale(0.9);
    transition: transform 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.modal.show .modal-content {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
}

.close-btn:hover {
    color: #000;
}

@media (max-height: 450px) and (orientation: landscape) {
    body {
        display: flex;
        height: auto;
    }

    .container {
        flex: none;
        min-height: auto;
        padding: 40px 20px;
    }

    footer {
        margin: 20px auto;
        position: relative;
    }
}

.btn {
    padding: 15px 10px;
    border: 1px solid #FFF;
    color: #FFF;
    text-decoration: none;
    border-radius: 6px;
    transition: all .3s ease;
}

.btn:hover {
    background-color: #FFF;
    color: #3a3a39;
}