/* WPBakery Background Image Text Plugin Styles */

.bg-image-text-container {
    box-sizing: border-box;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-image-text-container .bg-overlay-image {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    transition: all 0.3s ease;
    max-width: 100%;
    height: auto;
    pointer-events: none;
}

.bg-image-text-container .bg-text-content {
    max-width: 100%;
    word-wrap: break-word;
}

.bg-image-text-container .bg-text-content h1,
.bg-image-text-container .bg-text-content h2,
.bg-image-text-container .bg-text-content h3,
.bg-image-text-container .bg-text-content h4,
.bg-image-text-container .bg-text-content h5,
.bg-image-text-container .bg-text-content h6 {
    margin-top: 0;
    margin-bottom: 0.5em;
    line-height: 1.3;
}

.bg-image-text-container .bg-text-content p {
    margin-bottom: 1em;
}

.bg-image-text-container .bg-text-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .bg-image-text-container {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .bg-image-text-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }
    
    .bg-image-text-container .bg-overlay-image {
        position: static !important;
        transform: none !important;
        margin-bottom: 20px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .bg-image-text-container .bg-text-content {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bg-image-text-container {
        min-height: 200px;
        padding: 10px;
    }
    
    .bg-image-text-container .bg-text-content {
        font-size: 12px;
    }
}