/* Fester Hauptrahmen für Joomla (Exakt 1200 x 1000) */
.joomla-fixed-layout {
    width: 1200px;
    height: 1000px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0 auto;
    padding: 15px;
    box-sizing: border-box;
    background-color: #1a1a1a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* --- HEADER BEREICH --- */
.j-fixed-header {
    width: 100%;
    text-align: center;
    padding: 0 10px 15px 10px;
    border-bottom: 1px solid #333;
    color: #ffffff;
}

.j-fixed-header h1 {
    font-size: 1.8rem !important;
    color: #ffffff !important;
    margin: 0 0 5px 0 !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.j-fixed-header p {
    font-size: 0.95rem !important;
    color: #aaaaaa !important;
    margin: 0 !important;
    font-weight: 300;
}

/* --- RASTER FÜR DIE PRODUKTE --- */
.j-grid-fixed-container {
    flex-grow: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    margin: 15px 0;
}

/* Einzelne Produkt-Kachel */
.j-fixed-card {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    background-color: #000;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid #2d2d2d;
}

/* Hintergrundbild */
.j-fixed-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0;
    left: 0;
    z-index: 1;
    filter: brightness(0.6);
    margin: 0 !important;
    padding: 0 !important;
    transition: transform 0.4s ease;
}

/* Zoom-Effekt beim Hover */
.j-fixed-card:hover .j-fixed-image {
    transform: scale(1.04);
}

/* Kompaktes Text-Overlay */
.j-fixed-info {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff !important;
    padding: 10px 15px;
    width: 92%;
    margin-bottom: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.j-fixed-title {
    font-size: 1.15rem !important;
    color: #ffffff !important;
    margin: 0 0 2px 0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.j-fixed-description {
    font-size: 0.8rem !important;
    color: #cccccc !important;
    line-height: 1.3 !important;
    margin: 0 0 6px 0 !important;
    font-weight: 300;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.j-fixed-price {
    font-size: 1rem !important;
    font-weight: bold !important;
    color: #00ffcc !important;
    background: rgba(0, 255, 204, 0.15);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 50px;
}

/* Platzhalter-Box */
.j-placeholder-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #222;
    border: 2px dashed #444;
    border-radius: 8px;
    color: #666;
    text-align: center;
}

.j-placeholder-icon {
    font-size: 1.8rem;
    margin-bottom: 4px;
}

.j-placeholder-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- FOOTER BEREICH --- */
.j-fixed-footer {
    width: 100%;
    text-align: center;
    padding: 12px 10px 0 10px;
    border-top: 1px solid #333;
    color: #888888;
    font-size: 0.85rem !important;
    font-weight: 300;
}

/* Responsive Deaktivierung */
@media (max-width: 1200px) {
    .joomla-fixed-layout { width: 100%; height: auto; overflow: auto; }
    .j-grid-fixed-container { display: flex; flex-direction: column; height: auto; }
    .j-fixed-card { height: 260px; }
    .j-placeholder-card { display: none; }
}
