/**
 * Leistungen page — CPT overview + FAQ
 */

.site-main--leistungen,
.site-main--bereiche {
	background: var(--wc-color-bg);
}

.leistungen-page__hero {
	padding: clamp(3rem, 8vw, 5rem) var(--wc-section-padding-x) clamp(2rem, 5vw, 3rem);
	text-align: center;
}

.leistungen-page__title {
	margin: 0;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-heading-page-split);
	font-weight: var(--wc-font-weight-bold);
	line-height: 1.05;
	letter-spacing: -0.03em;
	text-transform: uppercase;
}

.leistungen-page__title-part {
	display: block;
	color: var(--wc-color-black);
}

.leistungen-page__title-part--accent {
	color: var(--wc-color-brand);
}

.leistungen-page__list {
	display: flex;
	flex-direction: column;
	gap: clamp(2rem, 5vw, 3.5rem);
	max-width: var(--wc-container-max);
	margin: 0 auto;
	padding: 0 var(--wc-section-padding-x) clamp(4rem, 10vw, 6rem);
}

.leistungen-page__item {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: stretch;
}

.leistungen-page__media {
	min-width: 0;
	overflow: hidden;
	border-radius: 1.75rem;
}

.leistungen-page__media-link {
	display: block;
	height: 100%;
}

.leistungen-page__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 18rem;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.5s var(--wc-ease-smooth);
	will-change: transform;
}

.leistungen-page__image--placeholder {
	min-height: 18rem;
	background: var(--wc-color-bg-muted);
	border-radius: 0;
	transition: transform 0.5s var(--wc-ease-smooth);
}

@media (hover: hover) {
	.leistungen-page__item:hover .leistungen-page__image,
	.leistungen-page__item:hover .leistungen-page__image--placeholder {
		transform: scale(1.08);
	}
}

@media (prefers-reduced-motion: reduce) {
	.leistungen-page__image,
	.leistungen-page__image--placeholder {
		transition: none;
		will-change: auto;
	}

	.leistungen-page__item:hover .leistungen-page__image,
	.leistungen-page__item:hover .leistungen-page__image--placeholder {
		transform: none;
	}
}

.leistungen-page__card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 18rem;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	border-radius: 1.75rem;
}

.leistungen-page__card--black {
	color: var(--wc-color-text-inverse);
	background: var(--wc-color-black);
}

.leistungen-page__card--red {
	color: var(--wc-color-text-inverse);
	background: var(--wc-color-brand);
}

.leistungen-page__card--white {
	color: var(--wc-color-black);
	background: var(--wc-color-bg);
	border: 1px solid var(--wc-color-border);
}

.leistungen-page__card-title {
	margin: 0 0 1.25rem;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-heading-card-fluid);
	font-weight: var(--wc-font-weight-bold);
	line-height: var(--wc-line-height-snug);
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

.leistungen-page__card-text {
	flex: 1;
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-sm);
	line-height: var(--wc-line-height-normal);
}

.leistungen-page__card-text p {
	margin: 0 0 0.5rem;
}

.leistungen-page__card--black .leistungen-page__card-text,
.leistungen-page__card--red .leistungen-page__card-text {
	color: var(--wc-text-on-dark-soft);
}

.leistungen-page__link {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	align-self: flex-end;
	margin-top: 1.5rem;
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-sm);
	font-weight: var(--wc-font-weight-medium);
	text-decoration: none;
	color: inherit;
	transition: color var(--wc-transition);
}

/* Hover-Kontrast je nach Kartenhintergrund */
.leistungen-page__card--black .leistungen-page__link:hover,
.leistungen-page__card--black .leistungen-page__link:focus-visible {
	color: var(--wc-color-brand);
}

.leistungen-page__card--red .leistungen-page__link:hover,
.leistungen-page__card--red .leistungen-page__link:focus-visible {
	color: var(--wc-color-black);
}

.leistungen-page__card--white .leistungen-page__link:hover,
.leistungen-page__card--white .leistungen-page__link:focus-visible {
	color: var(--wc-color-brand);
}

.leistungen-page__link-arrow {
	display: inline-flex;
	flex: 1 1 auto;
	max-width: 12rem;
}

.leistungen-page__link-arrow svg {
	width: 100%;
	height: auto;
}

.leistungen-page__empty {
	padding: 2rem var(--wc-section-padding-x) 4rem;
	text-align: center;
	color: var(--wc-color-text-muted);
}

.site-main--leistungen .faq,
.site-main--bereiche .faq {
	background: var(--wc-color-bg-cta);
}

@media (max-width: 900px) {
	.leistungen-page__item {
		grid-template-columns: 1fr;
	}

	.leistungen-page__image,
	.leistungen-page__image--placeholder {
		min-height: 14rem;
	}

	.leistungen-page__card {
		min-height: auto;
	}
}

@media (min-width: 901px) {
	.faq__layout {
		grid-template-columns: minmax(12rem, 1fr) minmax(0, 1.4fr);
		gap: 3rem;
	}
}

/* —— Single Leistung (Unterseite) —— */
.site-main--leistung-single {
	background: var(--wc-color-bg);
}

.leistung-single__shell {
	max-width: var(--wc-container-max);
	margin: 0 auto;
	padding: 4rem var(--wc-section-padding-x) 0;
}

.leistung-single__top {
	margin-bottom: 1.5rem;
}

.leistung-single__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-sm);
	font-weight: var(--wc-font-weight-medium);
	text-decoration: none;
	color: var(--wc-color-text-muted);
	transition: color var(--wc-transition);
}

.leistung-single__back:hover,
.leistung-single__back:focus {
	color: var(--wc-color-brand);
}

.leistung-single__intro {
	margin-bottom: clamp(3rem, 8vw, 5rem);
}

.leistung-single__title {
	margin: 0 0 clamp(2rem, 5vw, 3rem);
	font-family: var(--wc-font-heading);
	font-size: var(--wc-heading-single);
	font-weight: var(--wc-font-weight-bold);
	line-height: var(--wc-line-height-tight);
	letter-spacing: -0.02em;
	text-align: center;
	text-transform: uppercase;
	color: var(--wc-color-black);
}

.leistung-single__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: clamp(1.25rem, 3vw, 2rem);
	align-items: stretch;
}

.leistung-single__hero-image {
	display: block;
	width: 100%;
	min-height: 24rem;
	object-fit: cover;
	border-radius: 1.25rem;
	box-shadow: var(--wc-shadow-lg);
}

.leistung-single__hero-image--placeholder {
	min-height: 24rem;
	background: var(--wc-color-bg-muted);
	border-radius: 1.25rem;
}

.leistung-single__features {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.leistung-single__feature-card {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding: 1.25rem 1.35rem;
	background: var(--wc-color-bg);
	border: 1px solid var(--wc-color-border);
	border-radius: 1.25rem;
	box-shadow: var(--wc-shadow-card-sm);
}

.leistung-single__feature-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	color: var(--wc-color-brand);
	background: var(--wc-color-brand-muted);
	border-radius: 0.75rem;
}

.leistung-single__feature-title {
	margin: 0;
	font-family: var(--wc-font-heading);
	font-size: calc(var(--wc-font-size-base) * 1.1);
	font-weight: var(--wc-font-weight-bold);
	line-height: var(--wc-line-height-snug);
	color: var(--wc-color-black);
}

.leistung-single__feature-text {
	margin: 0;
	font-family: var(--wc-font-body);
	font-size: calc(var(--wc-font-size-sm) * 1.1);
	line-height: var(--wc-line-height-normal);
	color: var(--wc-color-text-muted);
}

/* About */
.leistung-single__about {
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-inline: calc(50% - 50vw);
	padding: clamp(10rem, 10vw, 16rem) var(--wc-section-padding-x) clamp(3rem, 8vw, 5rem);
	background: var(--wc-color-bg-cta);
	overflow: hidden;
}

.leistung-single__about-banner-track {
	position: absolute;
	top: clamp(1.25rem, 4vw, 3rem);
	right: 0;
	left: 0;
	z-index: 0;
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.leistung-single__about-banner-track::-webkit-scrollbar {
	display: none;
}

.leistung-single__about-banner-track:focus {
	outline: none;
}

.leistung-single__about-banner-track:focus-visible {
	outline: 2px solid var(--wc-color-brand);
	outline-offset: 4px;
}

.leistung-single__about-banner {
	display: block;
	width: max-content;
	min-width: 100%;
	margin: 0;
	padding: 0 clamp(1rem, 4vw, 3rem);
	box-sizing: border-box;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-heading-leistung-band-max, 7.5rem);
	font-weight: var(--wc-font-weight-bold);
	line-height: 1;
	letter-spacing: -0.02em;
	text-align: center;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--wc-color-black);
	opacity: 0.1;
	pointer-events: none;
	user-select: none;
}

@media (min-width: 768px) {
	.leistung-single__about-banner {
		font-size: var(--wc-heading-leistung-band);
	}
}

.leistung-single__about-inner {
	position: relative;
	z-index: 1;
	max-width: var(--wc-container-max);
	margin: 0 auto;
	padding-top: 0;
}

.leistung-single__about-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: clamp(1.5rem, 4vw, 3rem);
	margin-top: clamp(2.5rem, 7vw, 5rem);
	margin-bottom: 2.5rem;
}

.leistung-single__eyebrow {
	flex: 0 1 auto;
	max-width: min(14rem, 35%);
	margin: 0;
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-xs, 0.75rem);
	font-weight: var(--wc-font-weight-bold);
	line-height: 1.4;
	letter-spacing: 0.12em;
	text-align: left;
	text-transform: uppercase;
	color: var(--wc-color-text-muted);
}

.leistung-single__about-heading {
	flex: 1 1 auto;
	max-width: min(32rem, 58%);
	margin: 0;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-heading-subsection);
	font-weight: var(--wc-font-weight-bold);
	line-height: var(--wc-line-height-snug);
	text-align: right;
	color: var(--wc-color-black);
}

/* Galerie: 3 Bilder — Reihenfolge 1 → 2 → 3, gestaffelt */
.leistung-single__gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.25rem);
	align-items: start;
	width: 100%;
	margin-bottom: 2.5rem;
}

.leistung-single__gallery-item {
	margin: 0;
	overflow: hidden;
	border-radius: 1.25rem;
	box-shadow: var(--wc-shadow-card);
}

.leistung-single__gallery-item--1 {
	grid-column: 1;
	margin-top: 0;
}

.leistung-single__gallery-item--2 {
	grid-column: 2;
	margin-top: clamp(1.5rem, 4vw, 3rem);
}

.leistung-single__gallery-item--3 {
	grid-column: 3;
	margin-top: clamp(3rem, 8vw, 5.5rem);
}

.leistung-single__gallery-item img {
	display: block;
	width: 100%;
	height: clamp(11rem, 22vw, 17rem);
	object-fit: cover;
}

.leistung-single__gallery-item--2 img {
	height: clamp(12rem, 24vw, 18rem);
}

.leistung-single__gallery-item--3 img {
	height: clamp(13rem, 26vw, 19rem);
}

.leistung-single__content {
	margin-top: clamp(2rem, 5vw, 3rem);
}

.leistung-single__body {
	max-width: none;
	padding: clamp(1.75rem, 4vw, 2.75rem);
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-base);
	line-height: var(--wc-line-height-normal);
	color: var(--wc-color-text);
	background: var(--wc-color-bg);
	border: 1px solid var(--wc-color-border);
	border-radius: 1.25rem;
	box-shadow: var(--wc-shadow-card-sm);
}

.leistung-single__body > :first-child {
	margin-top: 0;
}

.leistung-single__body > :last-child {
	margin-bottom: 0;
}

.leistung-single__body p {
	margin: 0 0 1.125rem;
}

.leistung-single__body p:last-child {
	margin-bottom: 0;
}

.leistung-single__body h2,
.leistung-single__body h3,
.leistung-single__body h4,
.leistung-single__body .wp-block-heading {
	margin: 2rem 0 0.875rem;
	font-family: var(--wc-font-heading);
	font-weight: var(--wc-font-weight-bold);
	line-height: var(--wc-line-height-snug);
	color: var(--wc-color-black);
}

.leistung-single__body h2,
.leistung-single__body .wp-block-heading.has-large-font-size,
.leistung-single__body .has-large-font-size {
	font-size: var(--wc-heading-card);
}

.leistung-single__body h3 {
	font-size: var(--wc-font-size-lg);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.leistung-single__body h4 {
	font-size: var(--wc-font-size-base);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.leistung-single__body h2:first-child,
.leistung-single__body h3:first-child,
.leistung-single__body h4:first-child {
	margin-top: 0;
}

.leistung-single__body a {
	font-weight: var(--wc-font-weight-medium);
	text-decoration: underline;
	text-underline-offset: 0.18em;
	text-decoration-color: rgba(230, 40, 42, 0.35);
	color: var(--wc-color-brand);
	transition: color var(--wc-transition), text-decoration-color var(--wc-transition);
}

.leistung-single__body a:hover,
.leistung-single__body a:focus-visible {
	color: var(--wc-color-black);
	text-decoration-color: currentColor;
}

.leistung-single__body strong,
.leistung-single__body b {
	font-weight: var(--wc-font-weight-bold);
	color: var(--wc-color-black);
}

.leistung-single__body ul,
.leistung-single__body ol,
.leistung-single__body .wp-block-list {
	margin: 0 0 1.25rem;
	padding-left: 1.35rem;
}

.leistung-single__body li {
	margin-bottom: 0.5rem;
	padding-left: 0.25rem;
}

.leistung-single__body li::marker {
	color: var(--wc-color-brand);
}

.leistung-single__body ul ul,
.leistung-single__body ol ol,
.leistung-single__body ul ol,
.leistung-single__body ol ul {
	margin-top: 0.5rem;
	margin-bottom: 0;
}

.leistung-single__body blockquote,
.leistung-single__body .wp-block-quote {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	font-size: var(--wc-font-size-lg);
	font-style: normal;
	line-height: var(--wc-line-height-snug);
	color: var(--wc-color-black);
	background: var(--wc-color-brand-muted);
	border: none;
	border-left: 4px solid var(--wc-color-brand);
	border-radius: 0 0.75rem 0.75rem 0;
}

.leistung-single__body blockquote p:last-child,
.leistung-single__body .wp-block-quote p:last-child {
	margin-bottom: 0;
}

.leistung-single__body hr,
.leistung-single__body .wp-block-separator {
	margin: 2rem 0;
	border: 0;
	border-top: 1px solid var(--wc-color-border);
	opacity: 1;
}

.leistung-single__body img,
.leistung-single__body .wp-block-image img {
	display: block;
	max-width: 100%;
	height: auto;
	border-radius: 1rem;
	box-shadow: var(--wc-shadow-card);
}

.leistung-single__body figure,
.leistung-single__body .wp-block-image {
	margin: 1.75rem 0;
}

.leistung-single__body figcaption,
.leistung-single__body .wp-block-image figcaption {
	margin-top: 0.65rem;
	font-size: var(--wc-font-size-sm);
	line-height: var(--wc-line-height-normal);
	text-align: center;
	color: var(--wc-color-text-muted);
}

.leistung-single__body .wp-block-columns {
	gap: 1.25rem;
	margin-bottom: 1.25rem;
}

.leistung-single__body .wp-block-column > :first-child {
	margin-top: 0;
}

.leistung-single__body .wp-block-column > :last-child {
	margin-bottom: 0;
}

.leistung-single__body table {
	width: 100%;
	margin: 1.5rem 0;
	border-collapse: collapse;
	font-size: var(--wc-font-size-sm);
}

.leistung-single__body th,
.leistung-single__body td {
	padding: 0.75rem 1rem;
	text-align: left;
	border-bottom: 1px solid var(--wc-color-border);
}

.leistung-single__body th {
	font-family: var(--wc-font-heading);
	font-weight: var(--wc-font-weight-bold);
	color: var(--wc-color-black);
	background: var(--wc-color-bg-muted);
}

.leistung-single__body .alignwide,
.leistung-single__body .alignfull {
	max-width: none;
}

.leistung-single__body .aligncenter {
	margin-inline: auto;
	text-align: center;
}

.leistung-single__body .alignleft {
	float: left;
	margin: 0.25rem 1.5rem 1rem 0;
}

.leistung-single__body .alignright {
	float: right;
	margin: 0.25rem 0 1rem 1.5rem;
}

.leistung-single__body::after {
	content: "";
	display: table;
	clear: both;
}

/* Details list */
.leistung-single__details {
	padding: clamp(3rem, 8vw, 5rem) 0;
	background: var(--wc-color-bg);
}

.leistung-single__details-inner {
	width: 100%;
	max-width: var(--wc-container-max);
	margin-inline: auto;
	padding-inline: var(--wc-section-padding-x);
	box-sizing: border-box;
}

.leistung-single__details-heading {
	margin: 0 0 2rem;
	max-width: 28rem;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-heading-subsection);
	font-weight: var(--wc-font-weight-bold);
	line-height: var(--wc-line-height-snug);
	color: var(--wc-color-black);
	text-wrap: balance;
}

.leistung-single__details-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.leistung-single__detail-row {
	display: grid;
	grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
	gap: 1.5rem 2rem;
	align-items: start;
	width: 100%;
	box-sizing: border-box;
	padding: 1.5rem 1.75rem;
	background: var(--wc-color-bg);
	border: 1px solid var(--wc-color-border);
	border-radius: 1.25rem;
}

.leistung-single__detail-title {
	margin: 0;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-font-size-lg);
	font-weight: var(--wc-font-weight-bold);
	text-transform: uppercase;
	color: var(--wc-color-black);
}

.leistung-single__detail-text {
	margin: 0;
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-sm);
	line-height: var(--wc-line-height-normal);
	color: var(--wc-color-text-muted);
}

/* Projekte */
.leistung-single__projects {
	padding: clamp(3rem, 8vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
}

.leistung-single__projects-inner {
	max-width: var(--wc-container-max);
	margin: 0 auto;
}

.leistung-single__projects-title {
	margin: 0 0 clamp(2rem, 5vw, 3rem);
	text-align: center;
}

.leistung-single__projects-line {
	display: block;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-heading-subsection);
	font-weight: var(--wc-font-weight-bold);
	line-height: 1.2;
	text-transform: uppercase;
	letter-spacing: -0.01em;
	color: var(--wc-color-black);
}

.leistung-single__projects-line--accent {
	color: var(--wc-color-brand);
}

.leistung-single__projects-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 1.75rem);
}

.leistung-single__project-link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.leistung-single__project-image {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 1.25rem;
}

.leistung-single__project-image--placeholder {
	aspect-ratio: 4 / 3;
	background: var(--wc-color-bg-muted);
	border-radius: 1.25rem;
}

.leistung-single__project-label {
	margin: 0.85rem 0 0.35rem;
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-xs, 0.75rem);
	font-weight: var(--wc-font-weight-bold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wc-color-brand);
}

.leistung-single__project-title {
	margin: 0 0 0.35rem;
	font-family: var(--wc-font-heading);
	font-size: var(--wc-font-size-base);
	font-weight: var(--wc-font-weight-bold);
	text-transform: uppercase;
	color: var(--wc-color-black);
}

.leistung-single__project-meta {
	margin: 0;
	font-family: var(--wc-font-body);
	font-size: var(--wc-font-size-sm);
	color: var(--wc-color-text-muted);
}

@media (max-width: 1024px) {
	.leistung-single__hero-grid {
		grid-template-columns: 1fr;
	}

	.leistung-single__hero-image,
	.leistung-single__hero-image--placeholder {
		min-height: 16rem;
	}

	.leistung-single__projects-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Gallery-Band (section-gallery) auf Single Leistung */
.leistung-single__gallery-band {
	margin-top: 0;
}

.leistung-single__gallery-band .gallery-section--leistung-single {
	padding: clamp(4rem, 10vw, 6rem) var(--wc-section-padding-x);
	background: var(--wc-color-bg);
	border-top: 1px solid var(--wc-color-border);
}

.leistung-single__gallery-band .gallery-section__inner {
	max-width: var(--wc-container-max);
}

.leistung-single__gallery-band .gallery-section__headline {
	margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.leistung-single__gallery-band .gallery-section__title {
	font-size: var(--wc-heading-section);
	line-height: 1.25;
	color: var(--wc-color-black);
}

.leistung-single__gallery-band .gallery-section__highlight {
	text-decoration-color: var(--wc-color-brand);
	color: var(--wc-color-black);
}

.leistung-single__gallery-band .gallery-section__grid {
	gap: clamp(1rem, 3vw, 1.5rem);
}

.leistung-single__gallery-band .gallery-section__media {
	border-radius: 1.25rem;
	box-shadow: var(--wc-shadow-card-lg);
}

.leistung-single__gallery-band .gallery-section__media img,
.leistung-single__gallery-band .gallery-section__media-placeholder {
	height: clamp(14rem, 32vw, 22rem);
}

.leistung-single__gallery-band .gallery-section__card--center .gallery-section__media img,
.leistung-single__gallery-band .gallery-section__card--center .gallery-section__media-placeholder {
	height: calc(clamp(14rem, 32vw, 22rem) + 2rem);
}

.leistung-single__gallery-band .gallery-section__card-title {
	font-size: var(--wc-font-size-base);
}

@media (max-width: 1024px) {
	.leistung-single__detail-row {
		grid-template-columns: 1fr;
		gap: 0.65rem;
	}
}

@media (max-width: 768px) {
	.leistung-single__shell {
		padding-top: 1rem;
	}

	.leistung-single__details {
		padding-block: clamp(2.5rem, 8vw, 3.5rem);
	}

	.leistung-single__details-heading {
		max-width: none;
		margin-bottom: 1.5rem;
		font-size: clamp(1.35rem, 5.5vw, 1.85rem);
		line-height: 1.2;
	}

	.leistung-single__details-list {
		gap: 0.875rem;
	}

	.leistung-single__detail-row {
		padding: 1.25rem 1.25rem;
	}

	.leistung-single__detail-title {
		font-size: var(--wc-font-size-base);
		line-height: var(--wc-line-height-snug);
	}

	.leistung-single__detail-text {
		font-size: var(--wc-font-size-base);
	}

	.leistung-single__features {
		grid-template-columns: 1fr;
	}

	.leistung-single__gallery-band .gallery-section--leistung-single {
		padding-top: 3rem;
		padding-bottom: 3rem;
	}

	.leistung-single__gallery {
		display: flex;
		flex-direction: column;
		gap: 1rem;
	}

	.leistung-single__gallery-item,
	.leistung-single__gallery-item--1,
	.leistung-single__gallery-item--2,
	.leistung-single__gallery-item--3 {
		grid-column: auto;
		padding-top: 0;
		max-width: none;
	}

	.leistung-single__gallery-item img,
	.leistung-single__gallery-item--2 img,
	.leistung-single__gallery-item--3 img {
		height: clamp(12rem, 45vw, 16rem);
	}

	.leistung-single__projects-grid {
		grid-template-columns: 1fr;
	}

	.leistung-single__about-head {
		flex-direction: column;
		align-items: flex-start;
		margin-top: 2rem;
	}

	.leistung-single__eyebrow,
	.leistung-single__about-heading {
		max-width: none;
		text-align: left;
	}

	.leistung-single__body {
		padding: 1.5rem 1.25rem;
	}

	.leistung-single__body .alignleft,
	.leistung-single__body .alignright {
		float: none;
		display: block;
		margin: 0 0 1rem;
	}
}
