body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}
/* Basis-Stile bleiben unverändert */

.top-bar {
    background-color: #ffcc00;
    color: #000;
    text-align: center;
    padding: 20px 0;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

 .phone-link {
            color: #000;
            font-weight: bold;
            text-decoration: none;
        }
		
.phone-icon {
    color: blue;
}

header {
    background-color: #000;
    color: #fff;
    padding: 20px 40px; /* Vergrößerte Polsterung */
    display: flex;
    justify-content: space-between; /* Platz für das Hamburger-Menü */
    align-items: center;
    position: fixed;
    width: 100%;
    top: 60px; /* Höhe der Top-Bar berücksichtigen */
    z-index: 999;
}

.menu-icon {
    display: none;
    font-size: 2em;
    cursor: pointer;
}

nav {
    display: flex;
    justify-content: center; /* Zentriert das Menü */
    width: 100%;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap; /* Ermöglicht Zeilenumbruch bei kleineren Bildschirmen */
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em; /* Einheitliche Schriftgröße für alle Menüeinträge */
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #ffcc00; /* Hover-Farbe */
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
    padding-top: 140px; /* Höhe der fixierten Elemente berücksichtigen */
}

.hero {
    background-color: #f0f0f0;
    text-align: center;
    padding: 50px 20px;
}

.hero h1 {
    color: #000;
}

.hero button {
    background-color: #ffcc00;
    color: #000;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

section {
    padding: 40px 20px; /* Mehr Whitespace */
    max-width: 1200px; /* Begrenzte Breite für bessere Lesbarkeit */
    margin: 0 auto; /* Zentriert den Inhalt */
}

.whatsapp-button {
    position: fixed;
    top: 5%;
    right: 0px;
    transform: translateY(-50%);
    z-index: 1000;
}

.whatsapp-button img {
    width: 70px;
    height: 70px;
}

.about-us {
    text-align: center;
    padding: 20px;
}

.about-us p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.car-photos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.car-photos img {
    width: 150px;
    height: auto;
    border-radius: 10px;
}

  .container {
            max-width: 800px;
            margin: auto;
            padding: 20px;
            border: 1px solid #ccc;
            border-radius: 10px;
            background-color: #f9f9f9;
        }
        h1 {
            color: #c91836;
        }
        .contact-info {
            margin-top: 20px;
        }
        .contact-info p {
            margin: 5px 0;
        }
        .link a {
            color: #374bcc;
            text-decoration: none;
        }
         a:hover {
            text-decoration: underline;
        }
  .photo-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
            margin-top: 20px;
        }
        .photo-grid img {
            max-width: 48%;
            border-radius: 10px;
        }		

.service {
    background-color: #FFFFE0;
    margin: 20px 0; /* Mehr Whitespace */
    padding: 20px; /* Mehr Whitespace */
    display: flex;
    flex-direction: column;
    align-items: center;
}

form {
    display: flex;
    flex-direction: column;
    max-width: 600px; /* Begrenzte Breite für bessere Lesbarkeit */
    margin: 0 auto; /* Zentriert das Formular */
}

form label {
    margin-top: 10px;
}

form input, form textarea {
    padding: 10px;
    margin-top: 5px;
}

form button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px;
    margin-top: 10px;
    cursor: pointer;
}

+#home {
    background-image: url('Bilder/landshut.jpg');
    background-size: cover; /* Passt das Bild an die Größe des Containers an */
    background-position: center; /* Zentriert das Bild */
    background-repeat: no-repeat; /* Verhindert das Wiederholen des Bildes */
}


/* Boxen für Dienstleistungen */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.service-box {
    background-color: #f9f9a1; /* Dezentes Gelb */
    border: 1px solid #ccc;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    margin: 20px;
    padding: 20px;
    flex: 1 1 calc(33% - 40px); /* Drei Boxen pro Reihe mit Abstand */
    box-sizing: border-box;
    transition: transform 0.3s ease-in-out;
}
   .service-box h3 {
            color: blue;
            margin-bottom: 5px;
        }
		
.service-box:hover {
    transform: scale(1.05);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .service-box {
        flex: 1 1 calc(50% - 40px); /* Zwei Boxen pro Reihe */
    }
}

@media (max-width: 480px) {
    .service-box {
        flex: 1 1 100%; /* Eine Box pro Reihe */
    }
}

/* Basis-Stile bleiben unverändert */

.logo-container {
    text-align: center;
    margin: 20px 0;
}

.company-logo {
    max-width: 200px;
    height: auto;
}

.contact-info {
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.contact-info img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    vertical-align: middle;
}

.contact-info p {
    margin: 10px 0;
}

.contact-info a {
    color: #000;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.hr-3d {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #ccc, #333, #ccc);
    margin: 20px 0;
}

.gradient-line {
    height: 2px;
    background: linear-gradient(to right, #ff7e5f, #feb47b);
    margin: 20px 30px;
}


/* Modal-Fenster zentrieren und responsiv gestalten */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
    padding-top: 60px; /* Platz für den Sticky Header */
}

.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Breite für mobile Geräte */
    max-width: 600px; /* Maximale Breite für größere Bildschirme */
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    max-height: 70vh; /* Maximale Höhe auf 70% der Viewport-Höhe begrenzen */
    overflow-y: auto; /* Scrollen ermöglichen, falls der Inhalt zu groß ist */
}

body.modal2-open {
    overflow: hidden;
}

.modal2 {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    overflow: hidden;
	padding-top: 60px;
}

.modal2-content {
    background-color: #708090;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    border-radius: 10px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal2-content {
        width: 90%;
        margin: 20% auto;
    }
}


/* Responsive Design */
@media (max-width: 600px) {
    .modal2-content {
        width: 90%;
        margin: 20% auto;
    }
}



/* Responsive Anpassungen */
@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%; /* Breitere Darstellung auf kleinen Bildschirmen */
        max-height: 80vh; /* Maximale Höhe auf 80% der Viewport-Höhe begrenzen */
    }
}

/* Flexbox-Layout für die Formulargruppen */
.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Bezeichnungen links neben den Eingabefeldern */
.form-group label {
    flex: 1;
    margin-right: 10px;
}

/* Eingabefelder kleiner machen */
.form-group input,
.form-group textarea {
    flex: 2;
    padding: 5px;
    width: 100%; /* Eingabefelder auf die verfügbare Breite anpassen */
}

/* Eingabefelder für kleinere Bildschirme anpassen */
@media screen and (max-width: 600px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-group label {
        margin-bottom: 5px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
    }
}

/* Responsive Anpassungen */
@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%; /* Breitere Darstellung auf kleinen Bildschirmen */
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }

    nav ul li {
        margin: 10px 0;
    }

    nav ul.show {
        display: flex;
    }
}

/* Responsive Anpassungen für die Tarif-Liste */
@media (max-width: 480px) {
    .tarif-list ul {
        padding-left: 20px; /* Einrückung für Unterlisten */
    }

    .tarif-list li {
        margin-bottom: 10px; /* Abstand zwischen den Listenelementen */
    }
}

/* Box für Tarife */
.tarif-box {
    background-color: #f9f9a1; /* Dezentes Gelb */
    border: 1px solid #ccc;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3);
    margin: 20px auto; /* Zentriert die Box */
    padding: 20px;
    box-sizing: border-box;
    max-width: 600px; /* Begrenzte Breite für bessere Lesbarkeit */
}

.tarif-content ul {
    line-height: 1.8;
    padding-left: 20px; /* Einrückung für Unterlisten */
}

.tarif-content li {
    margin-bottom: 10px; /* Abstand zwischen den Listenelementen */
}

/* Responsive Anpassungen für die Tarif-Box */
@media (max-width: 480px) {
    .tarif-box {
        padding: 10px;
    }

    .tarif-content ul {
        padding-left: 10px; /* Ein