
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #0d0d0d; 
    background-image: radial-gradient(#262626 2px, transparent 2px);
    background-size: 16px 16px;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

.site-wrapper {
    background-color: #f4f4f4; 
    width: 90%; 
    max-width: 1500px; 
    margin: 0 auto; 
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7); 
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


.main-header {
    background-color: #000;
    color: #fff;
    padding: 15px 50px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.main-logo a {
    display: inline-block;
}

.main-logo img {
    max-height: 65px; 
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.main-logo img:hover {
    transform: scale(1.03); 
}

.header-contact-block {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
}

.phone-row i {
    color: #ffcc00;
    font-size: 2rem;
}

.phone-row a {
    color: #ffcc00;
    font-size: 2.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.phone-row a:hover {
    color: #fff;
}

.subtitle-row {
    color: #ccc;
    font-size: 1rem;
    line-height: 1.3;
    text-align: right;
}


.hero-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/hero.jpg');
    background-size: cover;
    background-position: center;
    min-height: 530px;
    display: flex;
    align-items: center;
    padding: 0 50px;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.hero-content h1 {
    color: #fff;
    font-size: 3.5rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    font-weight: 900;
}

.slogan {
    color: #ffcc00;
    font-size: 1.6rem;
    margin-bottom: 35px;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.cta-button {
    background-color: #ffcc00;
    color: #000;
    padding: 15px 32px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: background 0.3s, transform 0.2s;
    margin-top: 10px;
}

.cta-button:hover {
    background-color: #e6b800;
    transform: translateY(-2px);
}


.services-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: -60px; 
    position: relative;
    z-index: 10;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    align-items: stretch; /* WICHTIG: Zwingt alle Kacheln in einer Reihe auf die gleiche Höhe */
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.3s, border 0.3s; 
    border-bottom: 4px solid transparent;
    
    /* Flexbox für den inneren Inhalt, damit Pfeil immer unten bleibt */
    display: flex;
    flex-direction: column;
    height: 100%; 
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.service-card.active {
    border-bottom: 4px solid #ffcc00;
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.18);
}

.service-icon {
    font-size: 2.3rem;
    color: #000;
    margin-bottom: 12px;
}

.service-card h3 {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #000;
    font-weight: bold;
}

.service-desc {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.4;
    flex-grow: 1; /* Nimmt den restlichen Platz ein, drückt den Pfeil nach unten */
}

.expand-arrow {
    color: #ffcc00;
    font-size: 1.2rem;
    margin-top: 15px; /* Abstand zum Text drüber */
    transition: transform 0.3s;
}

.service-card.active .expand-arrow {
    transform: rotate(180deg);
}


.fullwidth-tab {
    grid-column: 1 / -1; 
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-top: 4px solid #ffcc00;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 30px;
    margin-top: 0;
    transition: all 0.4s ease-out;
    display: none;
}

.fullwidth-tab.open {
    max-height: 800px;
    opacity: 1;
    padding: 40px 30px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.tab-content-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content-inner h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #000;
}

.tab-content-inner p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    margin-bottom: 25px;
}

.close-tab-btn {
    display: block;
    margin: 30px auto 0 auto;
    background: none;
    border: none;
    color: #888;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.close-tab-btn:hover {
    color: #000;
}


.info-section {
    max-width: 1200px;
    margin: 80px auto 60px auto;
    padding: 0 20px;
    width: 100%;
}

.info-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.info-column { flex: 1; }

.info-column h2 {
    font-size: 1.3rem;
    margin-bottom: 25px;
    border-bottom: 3px solid #ffcc00;
    padding-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Interaktive Fuhrpark-Bilder */
.fuhrpark-images {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.car-card {
    position: relative;
    flex: 1; 
    border-radius: 8px;
    overflow: hidden; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
}

.car-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease; 
}

.car-card:hover img {
    transform: scale(1.1);
}

.car-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(0,0,0,0.9)); 
    color: #fff;
    padding: 30px 15px 15px 15px;
    text-align: center;
    transform: translateY(100%); 
    transition: transform 0.4s ease;
}

.car-card:hover .car-overlay {
    transform: translateY(0); 
}

.car-overlay h4 {
    color: #ffcc00;
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.car-overlay p {
    font-size: 0.8rem;
    color: #ddd;
    line-height: 1.3;
}


.reviews-section {
    background-color: #fff;
    padding: 60px 20px;
    margin-bottom: 0;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #ffcc00;
    display: table;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 10px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.stars {
    color: #fbbc04; 
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 25px;
    flex-grow: 1; 
}

.reviewer {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}

.reviewer-initial {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: bold;
    color: #000;
    font-size: 0.95rem;
}

.review-source {
    font-size: 0.75rem;
    color: #777;
    margin-top: 2px;
}

.review-source i {
    color: #4285F4; 
}


.main-footer {
    background-color: #000;
    color: #fff;
    padding: 30px 50px;
    margin-top: auto; 
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    width: 100%;
}

.footer-logo {
    color: #ffcc00;
    font-weight: bold;
    font-style: italic;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.social-icon {
    color: #ffcc00;
    font-size: 1.3rem;
    margin-left: 15px;
    text-decoration: none;
}

.footer-right a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

.footer-right a:hover {
    color: #ffcc00;
    text-decoration: underline;
}


@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    body {
        background-image: none;
        background-color: #f4f4f4;
    }
    
    .site-wrapper {
        width: 100%;
        box-shadow: none;
    }

    .main-header { padding: 20px; }

    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-contact-block {
        align-items: center;
    }
    
    .subtitle-row {
        text-align: center;
    }

    .main-logo img {
        max-height: 50px; 
        margin: 0 auto;
    }
    
    .phone-row a { font-size: 1.8rem; }

    .hero-section {
        min-height: 420px;
        padding: 0 20px;
        text-align: center;
    }

    .hero-content h1 { font-size: 2.3rem; }
    .slogan { font-size: 1.2rem; }
    .services-section { margin-top: 20px; }
    
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .info-container { flex-direction: column; gap: 40px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .fuhrpark-images { flex-direction: column; }
}