body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    line-height: 1.6;
}
header {
    background: url('bilder/20200621_085029.jpg') no-repeat center center/cover;
    color: white;
    padding: 100px 20px;
    text-align: center;
}
header h1 {
    font-size: 3rem;
    margin: 0;
}

.header {
    background-color: rgba(39, 39, 39, 0.8);
    width: 80%;
    display: inline-block;
    padding: 20px;
}

nav {
    display: flex;
    justify-content: center;
    background: #333;
    padding: 10px 0;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1.1rem;
}
nav a:hover {
    text-decoration: underline;
}
section {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
}
.image-placeholder {
    width: 100%;
    height: 300px;
    background: url('bilder/20200621_085029.jpg') no-repeat center center/cover;
    margin-bottom: 20px;
}

.angebot-container {
    display: flex;
    align-items: center;
    gap: 20px; /* Abstand zwischen Text und Bild */
}

.text {
    flex: 1;
    width: 50%;
}

.image-text {
    flex: 1;
    width: 50%;
    max-height: 350px;
}

.image-text img{
    width: 100%; /* Bild nimmt die volle Breite seines Containers ein */
    height: 300px; /* Maximale Höhe von 350px */
    object-fit: cover; /* Schneidet das Bild zu, anstatt es zu verzerren */
    display: block;
    border-radius: 10px; /* Optional: Ecken abrunden */
}

.boot {
    background-color: #333;
    color: #fff;
}

/* Obere zwei Bilder nebeneinander */
.boot-images {
    display: flex;
    gap: 10px;
}

.boot-images img {
    width: 50%; /* Beide Bilder nehmen je 50% */
    height: 300px; /* Höhe begrenzen */
    object-fit: cover; /* Bildausschnitt passend zuschneiden */
    border-radius: 10px;
}

/* Unterer Bereich mit Text links & Bild rechts */
.boot-content {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.boot-text {
    width: 50%;
}

.boot-image {
    width: 50%;
}

.boot-image img {
    width: 100%;
    height: 350px; /* Maximale Höhe */
    object-fit: cover; /* Bild zuschneiden statt verzerren */
    border-radius: 10px;
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}
.prices-table th, .prices-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}
.prices-table th {
    background: #f4f4f4;
}
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    margin-top: 40px;
}
footer a{
    color: #fff;
}

@media (max-width: 600px) {
    /* Angebot: Text und Bild untereinander */
    .angebot-container {
        flex-direction: column;
    }

    .text, .image-text {
        width: 100%; /* Beide nehmen die volle Breite */
    }

    .image-text img {
        width: 100%;
        height: auto; /* Bild wird proportional angepasst */
    }

    /* Boot: Bilder und Text untereinander */
    .boot-images {
        flex-direction: column;
    }

    .boot-images img {
        width: 100%; /* Volle Breite */
        height: auto;
    }

    .boot-content {
        flex-direction: column;
    }

    .boot-text, .boot-image {
        width: 100%; /* Beide nehmen die volle Breite */
    }

    .boot-image img {
        width: 100%;
        height: auto; /* Bildhöhe anpassen */
    }
}
