.solutions-section {
    position: relative;
    padding: 120px 0;
    background-color: var(--primary-color);
}

.solutions-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/assets/images/bg-pattern.jpg') center/cover fixed no-repeat;
    opacity: 0.08;
    z-index: 0;
}

.solutions-section .container {
    position: relative;
    z-index: 1;
}

/* Tab Navigation */
.solutions-tabs-container {
    margin-bottom: 40px;
}

.tabs-navigation {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
    justify-items: center;
    scroll-behavior: smooth; /* Für sanftes Scrollen */
    -webkit-overflow-scrolling: touch; /* Für besseres Scroll-Verhalten auf iOS */
    padding-bottom: 5px; /* Mehr Platz für den Scrollbalken */
}

.tabs-navigation::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 25px;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: var(--accent-color);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-btn:hover {
    color: var(--accent-color);
}

/* Tab Content */
.tab-panel {
    display: none;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, transform;
}

.tab-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.6s ease-out forwards;
}

.solution-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.solution-image {
    flex: 0 0 45%;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.solution-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.solution-content:hover .solution-image img {
    transform: scale(1.05);
}

.solution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(40, 40, 48, 0.2), rgba(26, 26, 30, 0.8));
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
}

.solution-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.solution-badge i {
    font-size: 0.8rem;
}

.solution-info {
    flex: 1;
}

.solution-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-color);
}

.solution-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.solution-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: rgba(208, 197, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--accent-color);
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.solution-cta {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 30px;
}

.btn-minimal {
    background: transparent;
    color: var(--accent-color);
    padding: 0;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.btn-minimal:hover {
    border-bottom: 1px solid var(--accent-color);
}

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-minimal:hover .btn-arrow {
    transform: translateX(5px);
}

.solution-testimonial {
    background-color: rgba(40, 40, 48, 0.6);
    border-radius: 12px;
    padding: 20px;
    border-left: 3px solid var(--accent-color);
}

.testimonial-quote {
    position: relative;
    padding-left: 30px;
}

.testimonial-quote i {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
    opacity: 0.8;
}

.testimonial-quote p {
    font-style: italic;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.author-rating {
    display: flex;
    gap: 2px;
}

.author-rating i {
    color: var(--accent-color);
    font-size: 0.8rem;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Anpassungen */
@media (max-width: 992px) {
    .solution-content {
        flex-direction: column;
    }
    
    .solution-image {
        flex: 0 0 100%;
        margin-bottom: 30px;
    }
    
    .solution-image img {
        height: 350px;
    }
    
    .solution-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .solutions-section {
        padding: 80px 0;
    }
    
    .tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
        font-weight: 700;
    }
    
    .solution-image img {
        height: 250px;
    }
    
    .solution-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .solution-title {
        font-size: 1.8rem;
    }
    
    .solution-description {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .solutions-section {
        padding: 60px 0;
    }
    
    .tabs-navigation {
        padding-bottom: 5px;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
    
    .feature-content h4 {
        font-size: 1rem;
    }
    
    .feature-content p {
        font-size: 0.9rem;
    }
    
    .solution-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .solution-title {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
}