/* Resetting default styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and General Styles */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
}

/* Logo */


/* Header */
header {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
}

header nav ul {
    list-style: none;
    padding: 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background-image: url('titelbild.jpg');
    background-size: cover;
    color: black;
    padding: 80px 20px;
    text-align: center;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.5rem;
}

/* Section Styles */
.section {
    padding: 40px 20px;
    text-align: center;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

/* Image Gallery Styles */
.image-gallery {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;  /* Damit die Bilder umgebrochen werden, wenn der Bildschirm schmaler wird */
}

.image-gallery img {
    width: 30%;  /* Standardbreite für größere Bildschirme */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    object-fit: cover;  /* Damit die Bilder schön skaliert werden */
}

/* Media Query für kleinere Bildschirme (Smartphones) */
@media (max-width: 768px) {
    .image-gallery img {
        width: 45%;  /* Bilder nehmen nun 45% der Breite ein */
    }
}

/* Media Query für sehr kleine Bildschirme (z. B. mobile Portrait-Ansicht) */
@media (max-width: 480px) {
    .image-gallery img {
        width: 90%;  /* Bilder nehmen nun 90% der Breite ein, sodass nur 1 Bild pro Zeile angezeigt wird */
    }
}

/* Prices Table */
table {
    width: 60%;
    margin: 0 auto;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: center;
}

th {
    background-color: #333;
    color: white;
}

/* Button */
button {
    background-color: #333;
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-top: 20px;
}

button a {
    color: white;
    text-decoration: none;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px;
}

footer nav ul {
    list-style: none;
    padding: 0;
}

footer nav ul li {
    display: inline;
    margin: 0 15px;
}

footer nav ul li a {
    color: white;
    text-decoration: none;
}

/* Form */
form {
    text-align: left;
    max-width: 500px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form label {
    font-weight: bold;
    margin-top: 10px;
}

form input, form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

form button {
    background-color: #333;
    color: white;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    margin-top: 20px;
}

form button:hover {
    background-color: #555;
}
