/* =========================================================================
   Branche Template Improvements - Mobile First
   ========================================================================= */

/* Indie Flower Font für Titel */
.indie-font {
    font-family: "Indie Flower", cursive !important;
    font-style: normal;
}

/* GAP FIX */
.dienstleister-grid .dienstleister-content {
	gap:0!important;
}

.premium-silber-grid .dienstleister-content {
	gap:0!important;
}

/* Premium Title Links */
.premium-title a,
.dienstleister-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.premium-title a:hover,
.dienstleister-title a:hover {
    color: #7a3a77;
    text-decoration: none;
}

/* Premium Logo Links */
.premium-logo a {
    display: block;
    transition: opacity 0.2s ease;
}

.premium-logo a:hover {
    opacity: 0.8;
}

/* Gold Premium Gallery */
.premium-gallery {
    margin-bottom: 1.5rem;
}

.gallery-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Premium Actions Reorganization */
.premium-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.primary-actions {
    justify-content: flex-start;
}

.social-actions {
    justify-content: flex-start;
    margin-top: 0.25rem;
}

/* Silver Premium Single Column Layout */
.silber-premium {
    display: flex;
    flex-direction: column;
}

.silber-premium .dienstleister-content {
    order: 1;
}

.silber-premium .dienstleister-footer {
    order: 2;
}

/* Silver Grid - Single Column on Mobile */
.premium-silber-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Improved Spacing */
.branche-intro {
    margin: 2rem 0;
    padding: 0 1rem;
}

.branche-intro .content-wrapper {
    max-width: 800px;
}

.dienstleister-section {
    margin: 2rem 0;
}

.dienstleister-section h2 {
    margin: 1rem 0;
}

/* Section Badges */
.section-badge {
    text-align: center;
    margin-bottom: 2rem;
}

.section-badge .badge-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

/* Responsive Improvements */
@media (min-width: 768px) {
    .gallery-image img {
        height: 250px;
    }
    
    .premium-silber-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .branche-intro {
        margin: 3rem 0;
    }
    
    .dienstleister-section {
        margin: 3rem 0;
    }
}

@media (min-width: 1024px) {
    .gallery-image img {
        height: 300px;
    }
    
    .premium-silber-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Text Spacing Improvements */
.branche-intro p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.branche-intro p:last-child {
    margin-bottom: 0;
}

/* Footer Text Spacing */
.branche-footer-content {
    margin: 3rem 0;
    padding: 0 1rem;
}

.branche-footer-content .content-wrapper {
    max-width: 800px;
}

.branche-footer-content p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.branche-footer-content p:last-child {
    margin-bottom: 0;
}



/* Bildergalerie im Content-Bereich (Gold Premium) */
.premium-content .premium-gallery {
    margin: 1.5rem 0;
    width: 100%;
}

.premium-content .gallery-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.premium-content .gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
    .premium-content .gallery-image img {
        height: 300px;
    }
}