/* Section Separator Styles */
.section-separator {
    overflow: hidden;
    max-height: 600px;
    position: relative;
}

.section-separator img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.section-separator:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .section-separator {
        max-height: 400px;
    }

    .section-separator img {
        height: 400px;
    }
}

/* Custom CSS */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hero Bereich mit Overlay */
.hero-section {
    position: relative;
    color: white;
}

.hero-overlay {
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 15px;
    bottom: 1px;
    position: absolute;
}

/* Karten mit Hover-Effekt */
.card {
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Counter Styling */
.counter-item {
    text-align: center;
    margin-bottom: 30px;
}

.counter-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bff;
    margin-bottom: 5px;
}

/* Button Effekte */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Pulsierender CTA Button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0);
    }
}

.btn-pulse {
    animation: pulse 2s infinite;
}

/* Zum Seitenanfang Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background-color: #007bff;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    background-color: #0069d9;
}

/* Responsive styles for FAQ section */
#accordion .card-header button {
    white-space: normal;
    word-wrap: break-word;
}

@media screen and (max-width: 576px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }

    .nav-tabs {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 12px;
        padding: 5px 8px;
    }

    .tab-content {
        padding: 10px;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .btn {
        font-size: 14px;
        padding: 8px 12px;
    }

    .modal-content {
        padding: 1rem;
    }

    .modal-footer {
        flex-direction: column;
        gap: 0.5rem;
    }
    #accordion .card-header h5 {
        margin-bottom: 0;
        font-size: 0.95rem;
    }

    #accordion .card-header button {
        padding: 0.5rem 0.75rem;
    }

    #accordion .card-header button .fa-question-circle {
        display: none;
    }

    /* Reviews section responsive styles */
    #reviews .card {
        margin-bottom: 1.5rem;
    }

    #reviews .card-text {
        font-size: 0.9rem;
    }
}
