/* ==========================================================================
   LIEPS COMPONENT – REFERENCE CARD HORIZONTAL
   Aus der bisherigen custom.css unverändert ausgelagert.
   ========================================================================== */

/* ==========================================================================
   REFERENCE CARD – Item2 / Bild links, Text rechts
   ========================================================================== */

.news-list-view--layout-2 .list-group,
.click-switch .news-list-view .list-group {
	gap: 1rem;
}

.reference-card-horizontal {
	padding: 0;
	border: 0;
	background: transparent;
}

.reference-card-horizontal article {
	width: 100%;
	margin-bottom: 1rem;
}

.reference-card-horizontal__link {
	display: block;
	width: 100%;
	color: inherit;
	text-decoration: none;
}

.reference-card-horizontal__inner {
	display: grid;
	grid-template-columns: minmax(0, 40%) minmax(0, 60%);
	width: 100%;
	min-height: 18rem;
	overflow: hidden;
	background: var(--bs-body-bg);
}

.reference-card-horizontal__image {
	position: relative;
	min-width: 0;
	overflow: hidden;
}

.reference-card-horizontal__image picture {
	display: block;
	width: 100%;
	height: 100%;
}

.reference-card-horizontal__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}

.reference-card-horizontal__content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-width: 0;
	padding: 1.5rem;
	background: var(--bs-secondary);
}

.reference-card-horizontal__title {
	margin-bottom: 1rem;
}

.reference-card-horizontal__teaser {
	margin-bottom: 1rem;
	font-weight: 700;
	line-height: 1.3;
}

.reference-card-horizontal__description {
	font-size: .9rem;
	line-height: 1.5;
}

.reference-card-horizontal__description p:last-child {
	margin-bottom: 0;
}

.reference-card-horizontal__footer {
	display: flex;
	justify-content: flex-end;
	margin-top: 1.5rem;
}

.reference-card-horizontal__more {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	font-weight: 700;
}

.reference-card-horizontal__more i {
	transition: transform .3s ease;
}
.reference-card-horizontal__link:hover
{
	color: rgba(var(--brand-color-mirage-light-rgb), 1);
	text-decoration: none;
}
.reference-card-horizontal__link:hover .reference-card-horizontal__img {
	transform: scale(1.04);
}

.reference-card-horizontal__link:hover .reference-card-horizontal__more i {
	transform: translateX(.35rem);
}

.reference-card-horizontal__link:focus {
	outline: none;
}

.reference-card-horizontal__link:focus-visible {
	outline: 3px solid var(--bs-primary);
	outline-offset: 4px;
}

/* Mobile */
@media (max-width: 767.98px) {
	.reference-card-horizontal__inner {
		grid-template-columns: 1fr;
	}

	.reference-card-horizontal__image {
		aspect-ratio: 16 / 10;
	}

	.reference-card-horizontal__content {
		padding: 1.25rem;
	}
}

