
/* Process number + about section */


/* Animation Keyframes */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default State for Animation
.process-number .item,
.about .content,
.about .item img {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Active State */
.process-number .item.active,
.about .content.active,
.about .item img.active {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Transition for Each Item */
.process-number .item:nth-child(1),
.about .content {
    transition-delay: 0.1s;
}

.process-number .item:nth-child(2),
.about .item img {
    transition-delay: 0.3s;
}

.process-number .item:nth-child(3) {
    transition-delay: 0.5s;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .process-number .item,
    .about .content,
    .about .item img {
        transform: translateY(30px); /* Smaller animation distance */
    }
}
/* FEATURES CARS  */


/* General Styles */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

.cars1 {
    padding: 60px 15px;
}

/* Cars Grid */
.cars-grid {
    display: flex;
    gap: 30px; /* Space between cards */
    justify-content: center; /* Center the cards */
    flex-wrap: wrap; /* Ensure wrapping on smaller screens */
}

.car-item {
    background-color: #2b2b2b;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 30%; /* Each card takes 30% of the container */
    transition: transform 0.3s ease-in-out;
}

.car-item:hover {
    transform: scale(1.05);
}

.car-image img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.car-details h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 0.9rem;
    color: #bbb;
}

.car-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f5b854;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cars-grid {
        flex-direction: column;
        align-items: center;
    }

    .car-item {
        width: 80%; /* Full width for smaller screens */
    }
}



/* Mietbedigungen*/ 


       .mietbedingungen .creative-image {
        border-radius: 20px;
        width: 90%;
        max-width: 450px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
        transform: rotate(-2deg);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .mietbedingungen .creative-image:hover {
        transform: rotate(0) scale(1.05);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    }

    .list {
        margin: 20px 0;
    }

    .list li {
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        opacity: 0;
        transform: translateX(-30px);
        animation: fadeInLeft 1s ease forwards;
    }

    .list-icon {
        margin-right: 15px;
        font-size: 1.2rem;
    }

    .list-text p {
        margin: 0;
        font-size: 1rem;
    }

    /* Fade-in Animation */
    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(-30px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .fade-in-left:nth-child(1) {
        animation-delay: 0.3s;
    }

    .fade-in-left:nth-child(2) {
        animation-delay: 0.5s;
    }

    .fade-in-left:nth-child(3) {
        animation-delay: 0.7s;
    }

    .fade-in-left:nth-child(4) {
        animation-delay: 0.9s;
    }

    .button-1:hover {
        background-color: #ffd27f;
        color: #1b1b1b;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .creative-image {
            width: 100%;
        }
        .section-title {
            font-size: 1.5rem;
        }
    }
    
    
    
        /* FOOTER */
    
    
          .fade-in-scroll {
        opacity: 0;
        transform: translateY(50px);
        transition: opacity 1.5s ease, transform 1.5s ease;
    }

    .fade-in-scroll.visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Add staggered animation delays */
    .first-footer {
        transition-delay: 0.2s;
    }

    .second-footer {
        transition-delay: 0.4s;
    }

    .bottom-footer-text {
        transition-delay: 0.6s;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .footer-logo img {
            max-width: 150px;
        }

        .widget-title {
            font-size: 1.2rem;
        }
    }
    
    /* CARS 2 */
    /* Fade-in animation */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* Add this class to elements you want to fade in */
.fade-in {
    animation: fadeIn 1s ease-in-out forwards; /* Adjust timing as needed */
}

