/* Galerie (Vorher/Nachher) */
.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-proof {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 24px auto 0;
}

.gallery-proof span {
    background: var(--primary-color);
    border-radius: 999px;
    color: var(--secondary-color);
    font-weight: 900;
    padding: 8px 14px;
}

.gallery-item {
    background: white;
    padding: 16px;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(44, 48, 58, 0.10);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--secondary-color);
}

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

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    margin-bottom: 15px;
}

.gallery-caption {
    font-family: var(--font-heading);
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Galerie Kategorien (Tabs) */
.gallery-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.gallery-tab {
    background-color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--primary-color);
    padding: 10px 25px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.gallery-tab:hover, .gallery-tab.active {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.gallery-empty {
    background:
        radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 32%),
        #fff;
    border: 1px dashed rgba(212, 175, 55, 0.48);
    border-radius: 24px;
    color: var(--atelier-ink-soft, #68717d);
    display: grid;
    gap: 10px;
    margin: 28px auto 0;
    max-width: 740px;
    padding: 32px;
    text-align: center;
}

.gallery-empty strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.55rem;
}

.gallery-empty a {
    color: var(--secondary-color);
    font-weight: 900;
    text-decoration: none;
}
