.mobilebestand {
	color: #1f2933;
	margin-top: -100px;
}

.mobilebestand-head,
.mobilebestand-detail-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid #e5e7eb;
	padding-bottom: 18px;
}

.mobilebestand-head h1,
.mobilebestand-detail-head h1 {
	margin: 0;
	font-size: 2rem;
	line-height: 1.2;
}

.mobilebestand-head p {
	margin: 0;
	color: #64748b;
}

.mobilebestand-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.mobilebestand-card {
	display: flex;
	flex-direction: column;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.mobilebestand-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.mobilebestand-card-image {
	display: block;
	aspect-ratio: 4 / 3;
	background: #eef2f6;
	overflow: hidden;
}

.mobilebestand-card-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mobilebestand-card-image-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	font-weight: 600;
}

.mobilebestand-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 16px;
}

.mobilebestand-card h2 {
	margin: 0 0 10px;
	font-size: 1.15rem;
	line-height: 1.35;
}

.mobilebestand-card h2 a {
	color: #111827;
	text-decoration: none;
}

.mobilebestand-price {
	margin: 0;
	color: #0f172a;
	font-size: 1.35rem;
	font-weight: 700;
}

.mobilebestand-facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 14px 0 18px;
	padding: 0;
	list-style: none;
	color: #475569;
	font-size: 0.95rem;
}

.mobilebestand-facts li {
	position: relative;
}

.mobilebestand-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: auto;
	border-radius: 6px;
	background: #1f2937;
	padding: 10px 14px;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.mobilebestand-button:hover,
.mobilebestand-button:focus {
	background: #111827;
	color: #fff;
	text-decoration: none;
}

.mobilebestand-back {
	color: #475569;
	text-decoration: none;
}

.mobilebestand-back-row {
	margin: 0 0 16px;
}

.mobilebestand-back-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border: 1px solid #d5dbe3;
	border-radius: 6px;
	background: #fff;
	padding: 10px 14px;
	color: #1f2937;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

a.mobilebestand-back-button,
a.mobilebestand-back-button:visited {
	color: #1f2937;
	text-decoration: none;
}

.mobilebestand-back-button::before {
	content: "";
	width: 9px;
	height: 9px;
	border-bottom: 2px solid currentColor;
	border-left: 2px solid currentColor;
	transform: rotate(45deg);
}

.mobilebestand-back-button:hover,
.mobilebestand-back-button:focus {
	border-color: #1f2937;
	background: #1f2937;
	color: #fff;
	text-decoration: none;
}

.mobilebestand-detail-hero {
	display: grid;
	align-items: start;
	gap: 28px;
	grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
	margin-bottom: 34px;
}

.mobilebestand-detail-media,
.mobilebestand-summary,
.mobilebestand-description-section {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.mobilebestand-detail-media {
	overflow: hidden;
}

.mobilebestand-summary {
	position: sticky;
	top: 20px;
	padding: 24px;
}

.mobilebestand-summary h1 {
	margin: 0 0 16px;
	font-size: 1.7rem;
	line-height: 1.25;
}

.mobilebestand-keyfacts {
	display: grid;
	gap: 0;
	margin: 22px 0 0;
}

.mobilebestand-keyfacts div {
	display: grid;
	gap: 8px;
	grid-template-columns: 120px minmax(0, 1fr);
	border-top: 1px solid #edf0f3;
	padding: 12px 0;
}

.mobilebestand-keyfacts dt {
	color: #64748b;
	font-size: 0.9rem;
}

.mobilebestand-keyfacts dd {
	margin: 0;
	color: #111827;
	font-weight: 700;
}

.mobilebestand-gallery {
	margin-bottom: 0;
}

.mobilebestand-gallery-main {
	position: relative;
	overflow: hidden;
	background: #eef2f6;
}

.mobilebestand-gallery-main > img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	max-height: 620px;
	object-fit: contain;
}

.mobilebestand-gallery-open {
	display: block;
	width: 100%;
	border: 0;
	background: transparent;
	padding: 0;
	touch-action: manipulation;
	cursor: zoom-in;
}

.mobilebestand-gallery-open img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	max-height: 620px;
	object-fit: contain;
}

.mobilebestand-gallery-nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: rgba(17, 24, 39, 0.72);
	color: transparent;
	font-size: 0;
	line-height: 0;
	padding: 0;
	transform: translateY(-50%);
	cursor: pointer;
}

.mobilebestand-gallery-nav::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
}

.mobilebestand-gallery-prev {
	left: 14px;
}

.mobilebestand-gallery-prev::before {
	transform: translateX(2px) rotate(-135deg);
}

.mobilebestand-gallery-next {
	right: 14px;
}

.mobilebestand-gallery-next::before {
	transform: translateX(-2px) rotate(45deg);
}

.mobilebestand-thumbs {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
	padding: 14px;
}

.mobilebestand-thumb {
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 0;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
}

.mobilebestand-thumb.is-active {
	border-color: #1f2937;
}

.mobilebestand-thumb img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mobilebestand-description {
	margin-top: 28px;
	border-top: 1px solid #e5e7eb;
	padding-top: 22px;
}

.mobilebestand-description h2 {
	margin: 0 0 18px;
	font-size: 1.55rem;
}

.mobilebestand-description-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.mobilebestand-description-section {
	padding: 20px;
}

.mobilebestand-description-section h3 {
	margin: 0 0 10px;
	font-size: 1.08rem;
	font-weight: 700;
	color: #111827;
}

.mobilebestand-description p {
	max-width: 78ch;
	margin: 0 0 14px;
	line-height: 1.7;
}

.mobilebestand-description-notice {
	margin: 18px 0 0;
	max-width: 78ch;
	color: #6b7280;
	font-size: 0.92rem;
	line-height: 1.55;
}

.mobilebestand-description ul {
	display: grid;
	gap: 10px 22px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobilebestand-description li {
	position: relative;
	padding-left: 18px;
	line-height: 1.5;
}

.mobilebestand-description li::before {
	content: "";
	position: absolute;
	top: 0.72em;
	left: 0;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #1f2937;
}

.mobilebestand-lightbox-active {
	overflow: hidden;
}

.mobilebestand-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(8, 13, 22, 0.94);
	padding: 58px 76px;
	box-sizing: border-box;
	-webkit-tap-highlight-color: transparent;
}

.mobilebestand-lightbox[hidden] {
	display: none;
}

.mobilebestand-lightbox.is-open {
	display: flex;
}

.mobilebestand-lightbox img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.mobilebestand-lightbox-close,
.mobilebestand-lightbox-nav {
	position: absolute;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	cursor: pointer;
}

.mobilebestand-lightbox-close {
	top: 20px;
	right: 20px;
	width: 44px;
	height: 44px;
}

.mobilebestand-lightbox-close::before,
.mobilebestand-lightbox-close::after {
	content: "";
	position: absolute;
	top: 21px;
	left: 12px;
	width: 20px;
	height: 2px;
	background: #fff;
}

.mobilebestand-lightbox-close::before {
	transform: rotate(45deg);
}

.mobilebestand-lightbox-close::after {
	transform: rotate(-45deg);
}

.mobilebestand-lightbox-nav {
	top: 50%;
	width: 52px;
	height: 52px;
	transform: translateY(-50%);
}

.mobilebestand-lightbox-nav::before {
	content: "";
	display: block;
	width: 15px;
	height: 15px;
	border-top: 3px solid #fff;
	border-right: 3px solid #fff;
}

.mobilebestand-lightbox-prev {
	left: 20px;
}

.mobilebestand-lightbox-prev::before {
	transform: translateX(3px) rotate(-135deg);
}

.mobilebestand-lightbox-next {
	right: 20px;
}

.mobilebestand-lightbox-next::before {
	transform: translateX(-3px) rotate(45deg);
}

.mobilebestand-lightbox-count {
	position: absolute;
	right: 22px;
	bottom: 20px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.16);
	padding: 7px 12px;
	color: #fff;
	font-weight: 700;
}

@media (max-width: 767px) {
	.mobilebestand-back-row {
		margin: 0 0 16px;
	}

	.mobilebestand p:has(> .mobilebestand-back-button) {
		margin: 0 0 16px;
	}

	.mobilebestand a.mobilebestand-back-button,
	.mobilebestand a.mobilebestand-back-button:visited {
		display: flex !important;
		align-items: center !important;
		justify-content: center;
		width: 100% !important;
		margin: 0 0 16px;
		padding: 12px 14px;
		border: 1px solid #1f2937;
		border-radius: 6px;
		background: #1f2937;
		color: #fff !important;
		text-align: center;
		text-decoration: none !important;
		line-height: 1.25;
		white-space: normal;
		box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
		box-sizing: border-box;
		-webkit-appearance: none;
		appearance: none;
	}

	.mobilebestand-head,
	.mobilebestand-detail-head {
		display: block;
	}

	.mobilebestand-head h1,
	.mobilebestand-detail-head h1 {
		font-size: 1.6rem;
	}

	.mobilebestand-gallery-nav {
		width: 38px;
		height: 38px;
		font-size: 1.6rem;
	}

	.mobilebestand-detail-hero {
		display: block;
	}

	.mobilebestand-summary {
		position: static;
		margin-top: 18px;
	}

	.mobilebestand-keyfacts div {
		grid-template-columns: 1fr;
	}

	.mobilebestand-description-grid {
		grid-template-columns: 1fr;
	}

	.mobilebestand-lightbox {
		align-items: center;
		width: 100vw;
		height: 100vh;
		height: 100dvh;
		padding: 64px 12px 56px;
	}

	.mobilebestand-lightbox img {
		max-width: calc(100vw - 24px);
		max-height: calc(100vh - 132px);
		max-height: calc(100dvh - 132px);
	}

	.mobilebestand-lightbox-nav {
		top: auto;
		bottom: 12px;
		width: 44px;
		height: 44px;
		transform: none;
	}

	.mobilebestand-lightbox-prev {
		left: calc(50% - 58px);
	}

	.mobilebestand-lightbox-next {
		right: calc(50% - 58px);
	}

	.mobilebestand-lightbox-close {
		top: 12px;
		right: 12px;
	}

	.mobilebestand-lightbox-count {
		right: auto;
		left: 12px;
		bottom: 18px;
	}
}
