/* CSS Variables */
:root {
    --primary-color: #111111;
    --secondary-color: #222222;
    --accent-color: #FF6B00;
    --background-color: #FFFFFF;
    --text-color: #FFFFFF;
    --card-background: #222222;
    --text-dark: #333333;
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-color);
}

h1, h2, h3, h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* HEADER */
.header {
    background: linear-gradient(135deg, #111111, #FF6B00);
    color: var(--text-color);
    padding: 20px 0;
    position: relative;
    z-index: 1000;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color);
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-color);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--text-color);
}

.btn-secondary:hover {
    background: var(--text-color);
    color: var(--primary-color);
}

.hero-visual {
    position: relative;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zahnrad {
    position: absolute;
    width: 80px;
    height: 80px;
    border: 8px solid var(--accent-color);
    border-radius: 50%;
    animation: rotate 10s linear infinite;
}

.zahnrad::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: var(--accent-color);
    border-radius: 50%;
}

.zahnrad-1 {
    top: 20px;
    right: 20px;
}

.zahnrad-2 {
    bottom: 20px;
    left: 20px;
    animation-direction: reverse;
}

.car-3d {
    width: 300px;
    height: 180px;
    background: linear-gradient(135deg, #333, #555);
    border-radius: 20px;
    transform: rotate3d(0, 1, 0, 15deg);
    perspective: 1000px;
    animation: float 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
}

/* Animations */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate3d(0, 1, 0, 15deg); }
    50% { transform: translateY(-10px) rotate3d(0, 1, 0, 15deg); }
}

/* MAIN GRID */
.main-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* SERVICES SECTION */
.services-section {
    margin-bottom: 60px;
}

.services-section h2 {
    font-size: 48px;
    margin-bottom: 30px;
    text-align: center;
}

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

.service-card {
    background: var(--card-background);
    color: var(--text-color);
    padding: 30px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.service-card.large {
    grid-column: span 2;
}

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* HERO IMAGE SECTION */
.hero-image-section {
    height: 500px;
    background: linear-gradient(135deg, #111111, #FF6B00);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 60px;
    border-radius: var(--border-radius);
}

.car-3d-large {
    width: 500px;
    height: 300px;
    background: linear-gradient(135deg, #333, #555);
    border-radius: 30px;
    transform: rotate3d(0, 1, 0, 20deg);
    perspective: 1000px;
    animation: float 4s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 36px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* WHY US SECTION */
.why-us-section {
    margin-bottom: 60px;
}

.why-us-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

.why-icons {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
}

.icon-item {
    text-align: center;
    flex: 1;
    min-width: 150px;
}

.icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.icon-item .text {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

/* TEAM SECTION (Timeline) */
.team-section {
    margin-bottom: 60px;
}

.team-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

.team-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: var(--card-background);
    border-radius: var(--border-radius);
    border-left: 5px solid var(--accent-color);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateX(10px);
}

.timeline-item .year {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 120px;
    font-family: 'Bebas Neue', sans-serif;
}

.person-info {
    flex: 1;
}

.person {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 5px;
}

.role {
    font-size: 18px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* BEFORE-AFTER SECTION (Slider) */
.before-after-section {
    margin-bottom: 60px;
}

.before-after-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

.slider-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
}

.slider-item {
    flex: 0 0 350px;
    scroll-snap-align: center;
    background: var(--card-background);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.slider-item:hover {
    transform: scale(1.05);
}

.slider-image {
    height: 250px;
    background: linear-gradient(135deg, #333, #555);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 24px;
}

.slider-item.before .slider-image {
    background: linear-gradient(135deg, #555, #333);
}

.label {
    padding: 15px;
    text-align: center;
    color: var(--text-color);
    font-weight: 700;
    font-size: 18px;
}

.slider-item.before .label {
    background: #444;
}

.slider-item.after .label {
    background: var(--accent-color);
}

/* PACKAGES SECTION */
.packages-section {
    margin-bottom: 60px;
}

.packages-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

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

.package-card {
    background: var(--card-background);
    color: var(--text-color);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
}

.package-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-10px);
}

.package-card.featured {
    border-color: var(--accent-color);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-color);
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
}

.package-card h3 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.package-card p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.price {
    font-size: 48px;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 30px;
    font-family: 'Bebas Neue', sans-serif;
}

.package-features {
    text-align: left;
}

.package-features li {
    padding: 10px 0;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* LOCATION SECTION */
.location-section {
    margin-bottom: 60px;
}

.location-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.map-placeholder {
    height: 400px;
    background: var(--secondary-color);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--text-color);
}

.map-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.map-content p {
    font-size: 24px;
    margin-bottom: 10px;
}

.map-content small {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.location-info {
    background: var(--card-background);
    color: var(--text-color);
    padding: 40px;
    border-radius: var(--border-radius);
}

.location-info h3 {
    font-size: 32px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.location-info p {
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.9);
}

.contact-details {
    margin: 30px 0;
}

.contact-details p {
    margin-bottom: 10px;
}

/* FAQ SECTION (Accordion) */
.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    font-size: 48px;
    margin-bottom: 40px;
    text-align: center;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    margin-bottom: 15px;
}

.accordion-header {
    padding: 25px 30px;
    background: var(--card-background);
    color: var(--text-color);
    cursor: pointer;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 18px;
    transition: var(--transition);
    border: 2px solid transparent;
}

.accordion-header:hover {
    border-color: var(--accent-color);
    background: var(--secondary-color);
}

.accordion-content {
    padding: 0 30px;
    background: var(--secondary-color);
    color: var(--text-color);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.accordion-item:hover .accordion-content {
    max-height: 200px;
    padding: 25px 30px;
}

.accordion-content p {
    line-height: 1.8;
}

/* FOOTER */
.footer {
    background: var(--primary-color);
    color: var(--text-color);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 24px;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        height: 250px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .service-card.large {
        grid-column: span 1;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-container {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .why-icons {
        flex-direction: column;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .timeline-item .year {
        min-width: auto;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .services-section h2,
    .why-us-section h2,
    .team-section h2,
    .before-after-section h2,
    .packages-section h2,
    .location-section h2,
    .faq-section h2 {
        font-size: 32px;
    }

    .slider-item {
        flex: 0 0 280px;
    }
}

/* LEGAL PAGES STYLES */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.legal-container {
    background: var(--background-color);
    padding: 40px;
    border-radius: var(--border-radius);
}

.legal-container h1 {
    font-size: 56px;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-align: center;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--accent-color);
}

.legal-info {
    background: var(--secondary-color);
    color: var(--text-color);
    padding: 30px;
    border-radius: var(--border-radius);
    line-height: 1.8;
}

.legal-info p {
    margin-bottom: 15px;
}

.legal-info p:last-child {
    margin-bottom: 0;
}

.legal-info strong {
    color: var(--accent-color);
}

.legal-info a {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-info a:hover {
    color: var(--text-color);
}

/* RESPONSIVE FOR LEGAL PAGES */
@media (max-width: 768px) {
    .legal-container {
        padding: 20px;
    }

    .legal-container h1 {
        font-size: 36px;
    }

    .legal-section h2 {
        font-size: 24px;
    }

    .legal-info {
        padding: 20px;
    }
}
