/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PT Serif', serif;
    background-color: #f9f9f9;
    color: #000;
    line-height: 1.6;
    margin-top: 80px;
    /* Höhe der Navbar */
}

h1,
h2,
h3 {
    font-family: 'PT Serif', serif;
}

.partner-hr {
    border: none;
    border-top: 3px solid #333;
    /* Dicker Strich */
    margin: 20px auto;
    width: 80%;
    /* Optional: Breite des Strichs */
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    /* Fixiert die Navigation */
    top: 0;
    /* Oben auf der Seite platzieren */
    left: 0;
    width: 100%;
    /* Breite auf die gesamte Seite setzen */
    z-index: 100;
    /* Über anderen Elementen platzieren */
}


.navbar .logo img {
    height: 50px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.navbar ul li a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

.hero {
    text-align: center;
    padding: 2rem 0;
    background-color: transparent;
    margin: 1rem;
    border-radius: 50px;
    box-shadow: none;
}

.hero img {
    width: 100%;
    max-width: 800px;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.hero video {
    width: 100%;
    max-width: 800px;
    border-radius: 50px;
    margin-bottom: 1rem;
}


.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: #000;
}

.section {
    text-align: center;
    padding: 2rem 0;
    margin: 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.section-slide {
    opacity: 0;
    /* Make the section invisible initially */
    transform: translateY(50px);
    /* Move the section down */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    text-align: center;
    padding: 2rem 0;
    margin: 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.section-slide.visible {
    opacity: 1;
    /* Fade in */
    transform: translateY(0);
    /* Slide up */
}

.section-slide h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
    font-family: 'PT Serif', serif;
}

.section-slide img {
    width: 80%;
    max-width: 600px;
    border-radius: 50px;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
    font-family: 'PT Serif', serif;
}

.section img {
    width: 80%;
    max-width: 600px;
    border-radius: 50px;
}

.section-partner {
    text-align: center;
    padding: 2rem 0;
    margin: 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    max-width: 800px;
    margin-right: auto;
    margin-left: auto;
}

.section-partner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #000;
    font-family: 'PT Serif', serif;
}

.section-partner img {
    width: 80%;
    max-width: 400px;
    border-radius: 0px;
}


/* Reviews Bereich */
.reviews {
    max-width: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.review-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #000;
}

.review-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 1000px;
    /* Begrenze die Breite des Containers */
    justify-content: center;
}

.review-card {
    background: #f8f8f8;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    width: 300px;
    /* Feste Breite für die Karten */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-card h3 {
    margin: 0.5rem 0;
    font-size: 1.25rem;
    color: #000;
}

.review-card p {
    font-size: 0.9rem;
    color: #666;
}

.review-date {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 0.5rem;
}

/* Footer Bereich */
.site-footer {
    background-color: #f0f0f0;
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    font-size: 0.9rem;
    color: #000;
}

.footer-links a {
    text-decoration: none;
    color: #000;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: #fce300;
}

.footer-logo img {
    max-width: 150px;
    height: auto;
}

.footer-contact {
    font-size: 0.9rem;
    color: #000;
}

.footer-contact a {
    text-decoration: none;
    color: #000;
}

.footer-contact i {
    margin-right: 0.5rem;
}

.footer-credits {
    font-size: 0.8rem;
    color: #666;
}

.footer-credits a {
    text-decoration: none;
    color: #007BFF;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {

    /* Bewertungen untereinander anordnen auf kleineren Bildschirmen */
    .review-container {
        flex-direction: column;
        /* Bewertungen untereinander anordnen */
        align-items: center;
    }

    .review-card {
        width: 100%;
        /* Bewertungen nehmen auf kleinen Bildschirmen die volle Breite ein */
        max-width: 100%;
        /* Verhindert, dass die Bewertungen größer als der Bildschirm werden */
    }

    /* Footer Kontakt auf kleinen Bildschirmen */
    .footer-contact p {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Footer Inhalt zentrieren und besser darstellen */
    .footer-content {
        padding: 0 1rem;
    }
}

/* Modal Hintergrund */
.modal {
    display: none;
    /* Modal ist standardmäßig unsichtbar */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}

/* Modal Inhalt */
.modal-content {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
    max-height: 80%;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Schließen Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Inhalt des Modals */
.modal-content ul {
    list-style-type: none;
    padding: 0;
    margin-top: 1rem;
}

.modal-content li {
    margin-bottom: 0.5rem;
}

.modal-content hr {
    margin: 1rem 0;
    border: none;
    border-top: 1px solid #000;
}

.modal-content p {
    margin: 1rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
    text-align: center;
}

.modal-content strong {
    font-weight: bold;
}

.modal-content a {
    color: #FCE300;
    text-decoration: none;
    display: block;
    margin: 1rem 0;
    text-align: center;
}

.modal-content a:hover {
    text-decoration: underline;
}

.fahrstunden-details p {
    margin: 1rem 0;
    font-size: 1.2rem;
    text-align: center;
    color: #000;
}

.fahrstunden-details h3 {
    font-size: 1.2rem;
    margin: 1rem 0;
    text-align: center;
}

.fahrstunden-details a {
    color: #FCE300;
    text-decoration: none;
    display: block;
    margin: 1rem 0;
    text-align: center;
}

.fahrstunden-details a:hover {
    text-decoration: underline;
}

/* Teammitglied Stil */
.team-member {
    text-align: center;
    margin-bottom: 2rem;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.team-member h3 {
    font-size: 1.5rem;
    color: #000;
}

.team-member p {
    font-size: 1rem;
    color: #666;
}

.contact-icons a {
    color: #000;
    /* Einheitliche Farbe für alle Icons (z. B. Schwarz) */
    font-size: 1.2rem;
    transition: color 0.2s;
}

.contact-icons a:hover {
    color: #FCE300;
    /* Ändert die Farbe beim Hover auf Blau */
}

/* Social icons styling */
.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: #000;
    /* Icon color */
    font-size: 1.5rem;
}

.social-icons a:hover {
    color: #FCE300;
    /* Hover color */
}

/* Burger-Menü Button */
.burger-menu {
    display: none;
    /* Standardmäßig ausgeblendet */
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: black;
    border: none;
    cursor: pointer;
    z-index: 1000;
    /* Sicherstellen, dass es über anderen Inhalten liegt */
    position: absolute;
    top: 20px;
    /* Abstand vom oberen Rand */
    right: 20px;
    /* Abstand vom rechten Rand */
    border-radius: 8px;
    /* Rounded corners */
    padding: 5px;
    /* Adds padding to increase background size */
}

.burger-menu span {
    width: 100%;
    height: 3px;
    background-color: #FCE300;
    border-radius: 2px;
    transition: all 0.3s;
}

/* Zeige das Burger-Menü auf Tablet- und Handy-Bildschirmen */
@media (max-width: 1600px) {
    .burger-menu {
        display: flex;
    }

    /* Verstecke die Navigation standardmäßig auf Tablet- und Handy-Bildschirmen */
    .navbar ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        /* Unter dem Header */
        right: 0;
        width: 50%;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    /* Navigation sichtbar machen, wenn aktiv */
    .navbar ul.active {
        display: flex;
    }

    .navbar ul li {
        text-align: center;
        margin: 1rem 0;
    }
}

/* Weg zum Führerschein */
.fuhrerschein-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    gap: 1.5rem;
}

.step {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.step i {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #000;
}

.step ul {
    list-style-type: none;
    padding: 0;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.step li {
    margin: 0.5rem 0;
}

.btn-yellow {
    background-color: #FCE300;
    color: #000;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.btn-yellow:hover {
    background-color: #fce300;
}

hr {
    width: 100%;
    border: 0;
    border-top: 1px solid #ddd;
    margin: 1.5rem 0;
}

/* Team Section */
#team {
    text-align: center;
    padding: 2rem 0;
}

.team-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

.team-member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.team-member h3 {
    font-size: 1.5rem;
    margin: 0.5rem 0;
    color: #000;
}

.team-member p {
    font-size: 0.9rem;
    color: #666;
    margin: 0.2rem 0;
}

.contact-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.contact-icons a {
    color: #000;
    font-size: 1.2rem;
}

.contact-icons a:hover {
    color: #FCE300;
}

/* Fahrzeug Section */
#fahrzeuge {
    text-align: center;
    padding: 2rem 0;
}

.vehicle-card {
    background-color: #f9f9f9;
    margin: 2rem auto;
    padding: 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    text-align: center;
}

.vehicle-card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #000;
}

.vehicle-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.vehicle-card img {
    width: 100%;
    border-radius: 50px;
    /* Abrundung der Ecken */
    margin-bottom: 1rem;
    object-fit: cover;
    /* Sorgt dafür, dass das Bild den Container gleichmäßig füllt */
}

/* Preise Section */
#preise {
    text-align: center;
    padding: 2rem 0;
}

.accordion {
    max-width: 600px;
    width: 80%;
    margin: 0 auto;
    text-align: left;
}

.accordion-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    width: 100%;
    background-color: #f0f0f0;
    padding: 1rem;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.accordion-content {
    display: none;
    padding: 1rem;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.price {
    font-weight: bold;
    margin-left: 1rem;
}

/* Kontakt Section */
#kontakt {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
}

#kontakt form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

#kontakt input,
#kontakt textarea {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
}

#kontakt button {
    padding: 0.75rem;
    font-size: 1rem;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#kontakt button:hover {
    background-color: #fce300;
}

.qr-code {
    margin-top: 2rem;
    text-align: center;
}

.qr-code img {
    width: 80%;
    max-width: 500px;
    height: auto;
    border-radius: 0;
}

/* AGB Section */
#agb {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    padding: 2rem;
    line-height: 1.6;
    font-size: 0.9rem;
}

#agb h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

#agb h3 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

#agb p {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

#agb ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
}

#agb li {
    margin-bottom: 1rem;
}

/* Impressum Section */
#impressum {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    line-height: 1.8;
    font-size: 1rem;
}

#impressum h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

#impressum p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

#impressum a {
    color: #FCE300;
    /* Gelbe Farbe */
    text-decoration: none;
}

#impressum a:hover {
    text-decoration: underline;
}

.message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Kontaktformular-Container */
.contact-form {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Allgemeine Eingabefelder */
.contact-form input,
.contact-form textarea,
.contact-form button {
    width: 100%;
    padding: 10px 15px;
    margin: 10px 0;
    font-size: 16px;
    font-family: 'PT Serif', serif;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Fokus auf Eingabefelder */
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Textarea (für die Nachricht) */
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Button-Styling */
.contact-form button {
    background-color: #007bff;
    color: #fff;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #0056b3;
}

/* Fehlermeldung */
.error-message {
    color: #e63946;
    background-color: #ffe5e5;
    border: 1px solid #e63946;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

/* Erfolgsmeldung */
.success-message {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px;
    border-radius: 5px;
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

/* Label-Styling */
.contact-form label {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
}

/* Responsive Anpassung */
/* FAQ Styles */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 1rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f8f8;
}

.faq-question h2 {
    font-size: 1.3rem;
    margin: 0;
    color: #333;
    font-family: 'PT Serif', serif;
    font-weight: bold;
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    transition: transform 0.3s ease;
    min-width: 30px;
    text-align: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.contact-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.cta-button {
    display: inline-block;
    background-color: #FCE300;
    color: #000;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #fce300;
}

@media (max-width: 768px) {
    .faq-item {
        margin: 1rem;
        padding: 1rem;
    }
    
    .faq-item h2 {
        font-size: 1.1rem;
    }
    
    .contact-cta {
        margin: 1rem;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-form {
        padding: 15px;
    }

    .contact-form input,
    .contact-form textarea,
    .contact-form button {
        font-size: 14px;
    }
}