/* KB Media · Luminous Dark · Galerie
   Lichttisch: großer Kopf, schwebende Filterleiste (aus portfolio.css), Mauerwerk in echten Seitenverhältnissen.
   Jedes Foto ist ein Button und öffnet das Vollbild (Gestaltung .lx-lb aus artists.css). */

.lx-gal__head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: var(--lx-s4) var(--lx-s7); margin-bottom: var(--lx-s6); }
.lx-gal__intro .lx-eyebrow { margin: 0 0 var(--lx-s3); }
.lx-page .lx-gal .lx-gal__title { margin: 0; font-size: clamp(4rem, 10vw, 11rem); line-height: 0.88; }
.lx-gal__side { display: grid; gap: var(--lx-s3); padding-bottom: 0.6em; }
.lx-gal__total { display: flex; align-items: baseline; gap: 12px; margin: 0; font-size: var(--lx-fs-label); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lx-text-3); }
.lx-gal__total span {
	font-family: var(--lx-font-display); font-size: clamp(3.4rem, 5vw, 5.4rem); line-height: 0.8; letter-spacing: 0; color: transparent;
	background: linear-gradient(120deg, var(--lx-text) 20%, var(--lx-accent) 60%, #B892FF 100%); -webkit-background-clip: text; background-clip: text;
}
.lx-page .lx-gal__lead { margin: 0; max-width: 42ch; }
.lx-page .lx-gal__note { margin: 0; color: var(--lx-text-3); }

/* Mauerwerk */
.lx-gal__grid { list-style: none; margin: 0; padding: 0; columns: 4 260px; column-gap: clamp(12px, 1.4vw, 20px); }
.lx-gal__item { break-inside: avoid; margin: 0 0 clamp(12px, 1.4vw, 20px); }
.lx-gal__item[hidden] { display: none; }
.lx-page .lx-gal__open {
	position: relative; display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: var(--lx-r-m); overflow: hidden; isolation: isolate;
	background: var(--lx-surface); color: var(--lx-text); cursor: zoom-in; box-shadow: 0 0 0 1px rgba(241, 245, 249, 0.06), var(--lx-shadow-1);
	transition: box-shadow var(--lx-d3) var(--lx-ease), transform var(--lx-d3) var(--lx-ease);
}
.lx-page .lx-gal__open:hover, .lx-page .lx-gal__open:focus { background: var(--lx-surface); color: var(--lx-text); }
.lx-page .lx-gal__open:focus-visible { outline: 2px solid var(--lx-accent); outline-offset: 4px; }
.lx-gal__open img { display: block; width: 100%; height: auto; transition: transform 1200ms var(--lx-ease), filter var(--lx-d3); filter: saturate(0.92); }
.lx-gal__open::after {
	content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
	background: linear-gradient(180deg, rgba(7, 9, 13, 0) 55%, rgba(7, 9, 13, 0.85) 100%);
	transition: opacity var(--lx-d3) var(--lx-ease);
}
.lx-gal__label {
	position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px;
	font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: left; color: var(--lx-text);
	opacity: 0; transform: translateY(6px); transition: opacity var(--lx-d3) var(--lx-ease), transform var(--lx-d3) var(--lx-ease);
}
@media (hover: hover) {
	.lx-page .lx-gal__open:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px rgba(241, 245, 249, 0.14), 0 30px 60px -30px var(--lx-cat-glow, rgba(0, 221, 245, 0.5)); }
	.lx-gal__open:hover img { transform: scale(1.04); filter: saturate(1.05); }
}
.lx-gal__open:hover::after, .lx-gal__open:focus-visible::after { opacity: 1; }
.lx-gal__open:hover .lx-gal__label, .lx-gal__open:focus-visible .lx-gal__label { opacity: 1; transform: none; }

/* Touch-Geräte: Bereich dezent immer sichtbar */
@media (hover: none) {
	.lx-gal__open::after { opacity: 0.8; }
	.lx-gal__label { opacity: 1; transform: none; font-size: 0.6875rem; }
}

@media (max-width: 1023px) {
	.lx-gal__head { grid-template-columns: 1fr; align-items: start; }
	.lx-gal__side { padding-bottom: 0; }
}
@media (max-width: 767px) {
	.lx-gal__grid { columns: 2; column-gap: 10px; }
	.lx-gal__item { margin-bottom: 10px; }
	.lx-gal__label { left: 10px; right: 10px; bottom: 8px; }
	.lx-gal .lx-folio__bar { border-radius: var(--lx-r-l); }
}
@media (prefers-reduced-motion: reduce) {
	.lx-page .lx-gal__open, .lx-gal__open img, .lx-gal__label { transition: none; }
	.lx-page .lx-gal__open:hover { transform: none; }
	.lx-gal__open:hover img { transform: none; }
}
