/* Grundlegende Stilsetzung */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: #fff;
}

.logo {
    max-width: 250px;
    height: auto;
}

/* Hauptinhalt und Banner */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.overlay {
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    padding: 20px 40px;
    border-radius: 10px;
    max-width: 90%;
}

.overlay h1 {
    font-size: 2em;
    color: #fff;
    margin-bottom: 20px;
}

.visit-button {
    display: inline-block;
    padding: 15px 30px;
    color: #fff;
    background-color: #c8102e;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.visit-button:hover {
    background-color: #a00;
    transform: scale(1.05);
}

/* Anpassungen für Mobilgeräte */
@media (max-width: 768px) {
    .overlay h1 {
        font-size: 1.5em;
    }

    .visit-button {
        padding: 12px 20px;
    }

    /* Zentrieren des Hintergrundbilds in mobiler Ansicht */
    .background-image {
        object-position: center;
    }
}

@media (max-width: 480px) {
    .overlay h1 {
        font-size: 1.2em;
    }

    .visit-button {
        padding: 10px 18px;
    }
}

/* Responsiver Footer */
.footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px;
    font-size: 1.1em;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .footer {
        padding: 15px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 10px;
        font-size: 0.9em;
    }
}
