/* General Styles */
.availability-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f9f9f9, #e0e0e0);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: rgb(102, 166, 255); /* Blaue Farbe */
    position: relative;
    animation: fadeInDown 1s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: rgb(102, 166, 255); /* Blaue Farbe */
    margin: 10px auto 0;
    animation: scaleIn 0.5s ease;
}

/* Availability Grid */
.availability-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Availability Card */
.availability-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease;
}

.availability-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(102, 166, 255, 0.1), rgba(102, 166, 255, 0.05)); /* Blaue Farbe */
    transform: rotate(45deg);
    transition: opacity 0.5s ease;
    opacity: 0;
}

.availability-card:hover::before {
    opacity: 1;
}

.availability-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.availability-icon {
    font-size: 2.5rem;
    color: rgb(17, 209, 232); /* Türkis für das Icon */
    margin-bottom: 1rem;
    animation: bounceIn 1s ease;
}

.availability-title {
    font-size: 1.5rem;
    color: rgb(102, 166, 255); /* Blaue Farbe */
    margin-bottom: 1rem;
    position: relative;
    animation: fadeIn 1s ease;
}

.availability-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: rgb(102, 166, 255); /* Blaue Farbe */
    margin: 10px auto 0;
    animation: scaleIn 0.5s ease;
}

.availability-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    animation: fadeIn 1s ease;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .availability-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .availability-card {
        padding: 1.5rem;
    }
}