@media (max-width: 767px) {
                body > * {
                    order: 999!important;
                }
            }
            
            .form-control {
                padding: .75rem !important;
            }
            
            .sidebar-leistungen {
                background: var(--gradient-green-light);
                border-radius: 15px;
                padding: 2rem;
                position: sticky;
                top: 100px;
                box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
            }
            
            .sidebar-leistungen h3 {
                font-size: 22px;
                font-weight: 700;
                margin-bottom: 1.5rem;
                color: var(--color-grey);
                text-transform: uppercase;
            }
            
            .sidebar-leistungen .list-group-item {
                border: none;
                border-left: 3px solid transparent;
                padding: 0.75rem 1rem;
                margin-bottom: 0.5rem;
                background: white;
                transition: all 0.3s ease;
                border-radius: 8px;
                color: var(--color-grey);
                font-size: 16px;
                font-weight: 600;
                text-decoration: none;
            }
            
            .sidebar-leistungen .list-group-item:hover {
                background: white;
                transform: translateX(5px);
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            }
            
            .sidebar-leistungen .list-group-item.active {
                background: white;
                font-weight: 700;
                color: var(--color-green);
            }
            
            .sidebar-leistungen .list-group-item i {
                color: var(--color-red);
                margin-right: 0.5rem;
                font-size: 14px;
            }
            
            .content-section {
                background: white;
                border-radius: 15px;
                padding: 2.5rem;
                margin-bottom: 2rem;
                box-shadow: rgba(149, 157, 165, 0.1) 0px 8px 24px;
                transition: transform 0.3s ease, box-shadow 0.3s ease;
            }
            
            .content-section:hover {
                transform: translateY(-5px);
                box-shadow: rgba(149, 157, 165, 0.2) 0px 12px 32px;
            }
            
            .accordion-button:not(.collapsed) {
                background: var(--gradient-green);
                color: white;
            }
            
            .accordion-button {
                font-weight: 700;
                font-size: 16px;
                padding: 1.25rem 1.5rem;
                border-radius: 8px !important;
            }
            
            .accordion-button:focus {
                box-shadow: none;
                border-color: rgba(0,0,0,.125);
            }
            
            .accordion-item {
                border: 1px solid #e0e0e0!important;
                border-radius: 8px !important;
                margin-bottom: 0.5rem;;
                overflow: hidden;
            }
            
            .accordion-body {
                padding: 1.5rem;
                color: var(--color-grey);
                font-size: 16px;
                font-weight: 500;
            }
            
            /* Galerie-Container */
#galerie .row.gallery {
    display: flex;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Einzelne Galerie-Items */
.thumb-box {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thumb-box:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Overlay mit Lupe */
.thumb-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    background: rgba(0,0,0,0.4);
    transition: opacity 0.3s ease;
}

.thumb-box:hover .thumb-box-overlay {
    opacity: 1;
}

.thumb-box-overlay .fa-stack {
    color: #fff;
}

/* Bilder */
.thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.thumb-box:hover img {
    transform: scale(1.1);
}

/* Responsive Anpassungen */
@media (max-width: 991px) {
    .thumb-box {
        flex: 1 1 calc(50% - 1rem); /* 2 Spalten auf Tablets */
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 767px) {
    .thumb-box {
        flex: 1 1 100%; /* 1 Spalte auf Handys */
        max-width: 100%;
    }
}

/* Vertikale Social-Box (optional) */
.vertical-social-box {
    margin-top: 0.5rem;
}

            
            
            @media (max-width: 991px) {
                .sidebar-leistungen {
                    position: relative;
                    top: 0;
                    margin-bottom: 2rem;
                }
            }
            
            .accordion-header {
    display: block;
}

.accordion-button {
    width: 100% !important;
    text-align: left;
}

.accordion-button {
    width: 100% !important;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    padding: 1.25rem 1.5rem;
    border-radius: 8px !important;
}

/* Chevron-Farbe */
.accordion-button::after {
    content: "";
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

/* Weiß wenn offen */
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

