/* ============================================================
   Beutter Küchen — Frontend Portfolio-Grid
   Shortcode [bk_kuechen] + kuechen-grid.html (identisch)
   ============================================================ */

/* ── WRAPPER ──────────────────────────────────────────────── */
.bkg-wrap {
    background: #E1D9CE;
    padding: 0 clamp(24px, 5vw, 80px) 80px;
}

/* ── FILTER BAR ───────────────────────────────────────────── */
.bkg-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 28px;
    padding: 48px 0 40px;
    border-bottom: 1px solid rgba(119, 87, 85, 0.15);
    margin-bottom: 48px;
}

.bkg-fbtn {
    background: #662A27;
    border: none;
    cursor: pointer;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 300;
    font-size: clamp(12px, 1.1vw, 14px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #E1D9CE;
    padding: 10px 16px;
    position: relative;
    transition: all 0.25s ease;
    border-radius: 4px;
}

.bkg-fbtn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #F6F6F6;
    transform: scaleX(0);
    transition: transform 0.28s ease;
    transform-origin: center;
}

.bkg-fbtn:hover,
.bkg-fbtn--active {
    background-color: #2A2422;
    color: #F6F6F6;
}

.bkg-fbtn--active::after,
.bkg-fbtn:hover::after {
    transform: scaleX(1);
}

/* ── GRID ─────────────────────────────────────────────────── */
.bkg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 44px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

/* ── KARTE ────────────────────────────────────────────────── */
.bkg-card {
    cursor: pointer;
}

.bkg-card--hidden {
    display: none;
}

.bkg-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Bild-Container */
.bkg-img-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: transparent;
}

.bkg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.bkg-card:hover .bkg-img {
    transform: scale(1.04);
}

/* Platzhalter ohne Bild */
.bkg-img-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #B39391;
    text-transform: uppercase;
    pointer-events: none;
}

.bkg-img-wrap:has(.bkg-img[src]:not([src=""])) .bkg-img-ph {
    display: none;
}

/* ── KARTEN-TEXT ──────────────────────────────────────────── */
.bkg-card-body {
    padding: 12px 2px 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.bkg-card-title {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.15vw, 16px);
    letter-spacing: 0.04em;
    color: #2A2422;
    margin: 0;
    line-height: 1.35;
}

.bkg-card-meta {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #7A6A65;
    letter-spacing: 0.06em;
}

/* ── LEER-STATE ───────────────────────────────────────────── */
.bk-no-results {
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 300;
    color: #7A6A65;
    text-align: center;
    padding: 60px 0;
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .bkg-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
}

@media (max-width: 560px) {
    .bkg-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .bkg-filter {
        gap: 8px 16px;
        padding: 36px 0 28px;
    }
}
