/* Allgemeine Stile */
body {
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #444;
    font-weight: bold;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #ff7e5f, #feb47b);
    color: white;
    padding: 12px 25px;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

/* Header */
.header {
    background: #2d3436;
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em;
    font-weight: bold;
    color: #ff7e5f;
}

.nav a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
    font-size: 1em;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #ff7e5f;
}

/* Facebook Banner */
.facebook-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    background-color: #4267B2; /* Facebook-Blau für besseren Kontrast */
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 1em;
    font-weight: bold;
}

.facebook-banner:hover {
    transform: scale(1.05); /* Interaktiver Hover-Effekt */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.facebook-banner img {
    width: 24px; /* Größer gemacht für bessere Sichtbarkeit */
    height: 24px;
    filter: brightness(0) invert(1); /* Weißes Icon auf dunklem Hintergrund */
}

.facebook-banner span {
    font-size: 16px; /* Lesbare Textgröße */
    font-weight: 700;
}

/* Hero Section */
.hero {
    background: url('Auto.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6); /* Hellere Überlagerung */
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #333; /* Dunklerer Text für Kontrast */
    font-weight: bold;
}

.hero-text {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #555; /* Kontrastreiche Farbe */
}

/* Über mich */
.about {
    background: #2d3436;
    padding: 60px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(244, 244, 244, 0.1);
    margin: 30px 0;
    margin-top: -40px; 
    padding-top: 40px;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #f4f4f9;
}

.about-image {
    width: 50%;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#about .section-title {
    color: #ff7e5f;
}


/* Leistungen - Kachel Flip Effekt */
.service-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    margin-bottom: 60px; /* Abstand zum nächsten Bereich */
}

.service-card {
    perspective: 1000px;
    cursor: pointer;
    width: 100%;
    height: 300px;
    position: relative;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.is-flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: #333;
}

.card-front {
    background: #fdfdfd; /* Sanftes Weiß für Kontrast zum Hintergrund */
    border: 1px solid #ddd;
}

.card-back {
    transform: rotateY(180deg);
    background: #ff7e5f; /* Kräftiges Orange für Rückseite */
    color: white;
}


/* Testimonials
.testimonials {
    background: #2d3436;
    color: white;
    padding: 60px 20px;
}

.testimonial {
    background: #444;
    border-radius: 15px;
    padding: 20px;
    margin-top: 80px; 
    margin-bottom: 20px;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.testimonial p {
    font-size: 1.2em;
    color: #f4f4f9;
}

.quote {
    font-size: 2.5em;
    color: #ff7e5f;
    margin-right: 10px;
}

.author {
    font-weight: bold;
    color: #feb47b;
}

.section-title {
    color: #ff7e5f;
}
 */

/* Kontaktbereich */
.contact {
    background: white;
    padding: 60px 20px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
    text-align: center;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.contact-item {
    background: #f4f4f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 1 1 250px;
    text-align: center;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}

.contact-item h3 {
    font-size: 1.5em;
    color: #444;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.2em;
    color: #555;
}

.contact-item a {
    text-decoration: none;
    color: #ff7e5f;
    font-weight: bold;
}

.contact-item a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #2d3436;
    color: white;
    text-align: center;
    padding: 20px 0;
}

.footer a {
    color: #ff7e5f;
    text-decoration: none;
    font-weight: bold;
}

.footer a:hover {
    text-decoration: underline;
}

/* Mobile Menü Optimierung */
@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-container {
        flex-wrap: wrap;
        position: relative;
    }

    .logo {
        font-size: 1.6em;
        flex: 1 1 auto;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 20px;
        background: none;
        border: none;
        color: white;
        font-size: 2em;
        cursor: pointer;
        z-index: 1000;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background: #2d3436;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 0;
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        margin: 10px 0;
        font-size: 1.2em;
    }

    .cta-button, .facebook-banner {
        margin-top: 60px;
        width: 100%;
        text-align: center;
    }
}


