/* SCL Website – Blockgestaltung
   Alle Farben, Radien und Schriften kommen aus den CSS-Variablen, die
   class-scl-site-assets.php aus den Einstellungen erzeugt. In dieser Datei
   stehen keine festen Markenfarben. */

.scl-b {
	--scl-pad: clamp(20px, 3.2vw, 34px);

	box-sizing: border-box;
	font-family: var(--scl-font-body, inherit);
	line-height: 1.6;
}

.scl-b *,
.scl-b *::before,
.scl-b *::after {
	box-sizing: border-box;
}

.scl-b--dark {
	--b-bg: var(--scl-panel, #141a21);
	--b-bg2: var(--scl-ink, #0b0f14);
	--b-line: var(--scl-line, #2a333d);
	--b-text: var(--scl-text, #e9eef3);
	--b-muted: var(--scl-muted, #97a3ae);
}

.scl-b--light {
	--b-bg: #ffffff;
	--b-bg2: #f4f7f9;
	--b-line: #dde3e9;
	--b-text: var(--scl-ink-light, #16202a);
	--b-muted: #5d6b78;
}

/* ------------------------------------------------------------- Blockkopf */

.scl-b__head {
	margin-bottom: clamp(18px, 2.6vw, 28px);
}

.scl-b__eyebrow {
	margin: 0 0 8px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--scl-orange, #f5871f);
}

.scl-b__title {
	margin: 0;
	color: var(--b-text);
	font-family: var(--scl-font-head, inherit);
	font-size: clamp(1.55rem, 3.4vw, 2.5rem);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -.005em;
	text-transform: var(--scl-head-case, none);
}

.scl-b__title .scl-hl {
	color: var(--scl-orange, #f5871f);
}

.scl-b__lead {
	margin: 14px 0 0;
	max-width: 62ch;
	color: var(--b-muted);
	font-size: 1.02rem;
}

.scl-icon {
	display: block;
	flex: 0 0 auto;
}

/* ---------------------------------------------------------------- Vorteile */

.scl-usp {
	background: var(--b-bg);
	border: 1px solid var(--b-line);
	border-radius: var(--scl-radius, 16px);
	padding: var(--scl-pad);
	color: var(--b-text);
}

.scl-usp__list {
	display: grid;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.scl-usp--cols-2 .scl-usp__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 4px 26px;
}

.scl-usp--cols-3 .scl-usp__list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 4px 26px;
}

.scl-usp__item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
	padding: 16px 0;
	border-bottom: 1px solid var(--b-line);
}

.scl-usp--cols-1 .scl-usp__item:last-child,
.scl-usp__item:last-child {
	border-bottom: 0;
}

.scl-usp__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 1px solid var(--scl-orange, #f5871f);
	border-radius: 50%;
	color: var(--scl-orange, #f5871f);
}

.scl-usp__title {
	margin: 2px 0 4px;
	font-family: var(--scl-font-head, inherit);
	font-size: 1.02rem;
	font-weight: 800;
	line-height: 1.25;
	text-transform: var(--scl-head-case, none);
	color: var(--b-text);
}

.scl-usp__text {
	margin: 0;
	font-size: .93rem;
	color: var(--b-muted);
}

/* ------------------------------------------------------------- Technikkarten */

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

.scl-tech__card {
	display: flex;
	flex-direction: column;
	padding: 20px;
	background: var(--b-bg);
	border: 1px solid var(--b-line);
	border-top: 3px solid var(--scl-orange, #f5871f);
	border-radius: var(--scl-radius, 16px);
	color: var(--b-text);
}

.scl-tech__media {
	display: grid;
	place-items: center;
	height: 150px;
	margin-bottom: 16px;
}

.scl-tech__media img {
	max-width: 100%;
	max-height: 150px;
	height: auto;
	object-fit: contain;
}

.scl-tech__name {
	margin: 0;
	font-family: var(--scl-font-head, inherit);
	font-size: 1.22rem;
	font-weight: 800;
	line-height: 1.15;
	text-transform: var(--scl-head-case, none);
	color: var(--scl-orange, #f5871f);
}

.scl-tech__subtitle {
	margin: 2px 0 14px;
	font-family: var(--scl-font-head, inherit);
	font-size: 1.02rem;
	font-weight: 700;
	text-transform: var(--scl-head-case, none);
	color: var(--b-text);
}

.scl-tech__features {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 9px;
}

.scl-tech__features li {
	display: flex;
	gap: 9px;
	align-items: flex-start;
	font-size: .9rem;
	color: var(--b-muted);
}

.scl-tech__features .scl-icon {
	margin-top: 3px;
	color: var(--scl-orange, #f5871f);
}

/* ---------------------------------------------------------------- Checkliste */

.scl-check {
	padding: var(--scl-pad);
	background:
		radial-gradient(120% 120% at 100% 0%, color-mix(in srgb, var(--scl-orange, #f5871f) 14%, transparent) 0%, transparent 55%),
		var(--b-bg2);
	border: 1px solid var(--b-line);
	border-radius: var(--scl-radius, 16px);
	color: var(--b-text);
}

.scl-check__inner {
	display: flex;
	gap: 26px;
	align-items: center;
	justify-content: space-between;
}

.scl-check__content {
	flex: 1 1 auto;
	min-width: 0;
}

.scl-check__list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.scl-check__list li {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: 1.02rem;
	font-weight: 600;
}

.scl-check__list .scl-icon {
	padding: 3px;
	border-radius: 5px;
	background: var(--scl-orange, #f5871f);
	color: #10161c;
}

.scl-check__mark {
	flex: 0 0 auto;
	color: var(--scl-orange, #f5871f);
	opacity: .55;
}

/* -------------------------------------------------------------------- Ablauf */

.scl-steps__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: none;
}

.scl-steps__item {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 20px;
	background: var(--b-bg);
	border: 1px solid var(--b-line);
	border-radius: var(--scl-radius, 16px);
}

.scl-steps__num {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--scl-orange, #f5871f);
	color: #10161c;
	font-family: var(--scl-font-head, inherit);
	font-size: 1.15rem;
	font-weight: 800;
}

.scl-steps__title {
	margin: 6px 0 5px;
	font-family: var(--scl-font-head, inherit);
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.2;
	text-transform: var(--scl-head-case, none);
	color: var(--b-text);
}

.scl-steps__text {
	margin: 0;
	font-size: .92rem;
	color: var(--b-muted);
}

/* ------------------------------------------------------------ Vorher/Nachher */

.scl-ba__frame {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--b-line);
	border-radius: var(--scl-radius, 16px);
	line-height: 0;
	touch-action: pan-y;
	cursor: ew-resize;
}

.scl-ba__img {
	display: block;
	width: 100%;
	height: auto;
}

.scl-ba__clip {
	position: absolute;
	inset: 0;
	width: var(--scl-ba-pos, 50%);
	overflow: hidden;
}

.scl-ba__clip .scl-ba__img {
	position: absolute;
	top: 0;
	left: 0;
	width: max(100%, 1px);
	height: 100%;
	object-fit: cover;
}

/* Ohne JavaScript bleibt der Regler bedienbar, daher kein display:none. */
.scl-ba__handle {
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--scl-ba-pos, 50%);
	width: 3px;
	margin-left: -1.5px;
	background: var(--scl-orange, #f5871f);
	pointer-events: none;
}

.scl-ba__handle::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 40px;
	height: 40px;
	transform: translate(-50%, -50%);
	border: 3px solid var(--scl-orange, #f5871f);
	border-radius: 50%;
	background: rgba(0, 0, 0, .35);
	backdrop-filter: blur(2px);
}

.scl-ba__tag {
	position: absolute;
	top: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: rgba(11, 15, 20, .78);
	color: #fff;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
	pointer-events: none;
}

.scl-ba__tag--left {
	left: 14px;
}

.scl-ba__tag--right {
	right: 14px;
}

.scl-ba__srlabel {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}

.scl-ba__range {
	position: absolute;
	left: 5%;
	bottom: 14px;
	width: 90%;
	margin: 0;
	accent-color: var(--scl-orange, #f5871f);
}

/* -------------------------------------------------------- Vertrauensleiste */

.scl-trust {
	padding: clamp(18px, 2.4vw, 26px) var(--scl-pad);
	background: linear-gradient(180deg, var(--scl-orange-soft, #ff9d2e), var(--scl-orange, #f5871f));
	border-radius: var(--scl-radius, 16px);
	color: #10161c;
}

.scl-trust__claim {
	margin: 0 0 16px;
	font-family: var(--scl-font-head, inherit);
	font-size: clamp(1.1rem, 2.2vw, 1.5rem);
	font-weight: 800;
	line-height: 1.15;
	text-transform: var(--scl-head-case, none);
}

.scl-trust__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.scl-trust__item {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.scl-trust__icon {
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border: 1.5px solid rgba(16, 22, 28, .55);
	border-radius: 50%;
}

.scl-trust__item strong {
	display: block;
	font-family: var(--scl-font-head, inherit);
	font-size: .92rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	line-height: 1.25;
}

.scl-trust__item span {
	display: block;
	margin-top: 3px;
	font-size: .86rem;
	opacity: .82;
}

/* -------------------------------------------------------------- Einsatzgebiet */

.scl-area {
	padding: var(--scl-pad);
	background: var(--b-bg);
	border: 1px solid var(--b-line);
	border-radius: var(--scl-radius, 16px);
	color: var(--b-text);
}

.scl-area__list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 22px;
	padding: 0;
	list-style: none;
}

.scl-area__list li {
	display: inline-flex;
	gap: 7px;
	align-items: center;
	padding: 8px 14px;
	background: var(--b-bg2);
	border: 1px solid var(--b-line);
	border-radius: 999px;
	font-size: .9rem;
	font-weight: 600;
}

.scl-area__list .scl-icon {
	color: var(--scl-orange, #f5871f);
}

.scl-area__contact {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.scl-area__link {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	padding: 12px 18px;
	border: 1px solid var(--scl-orange, #f5871f);
	border-radius: 12px;
	color: var(--b-text) !important;
	text-decoration: none !important;
	font-weight: 700;
}

.scl-area__link:hover,
.scl-area__link:focus {
	background: var(--scl-orange, #f5871f);
	color: #10161c !important;
}

/* ------------------------------------------------------------------------ FAQ */

.scl-faq__list {
	display: grid;
	gap: 12px;
}

.scl-faq__item {
	background: var(--b-bg);
	border: 1px solid var(--b-line);
	border-radius: var(--scl-radius, 16px);
	overflow: hidden;
}

.scl-faq__q {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 16px 20px;
	cursor: pointer;
	font-family: var(--scl-font-head, inherit);
	font-size: 1.04rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--b-text);
	list-style: none;
}

.scl-faq__q::-webkit-details-marker {
	display: none;
}

.scl-faq__q::before {
	content: "+";
	display: grid;
	place-items: center;
	flex: 0 0 auto;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--scl-orange, #f5871f);
	color: #10161c;
	font-size: 1.05rem;
	line-height: 1;
}

.scl-faq__item[open] .scl-faq__q::before {
	content: "–";
}

.scl-faq__a {
	padding: 0 20px 18px 58px;
	color: var(--b-muted);
	font-size: .95rem;
}

.scl-faq__a p {
	margin: 0 0 10px;
}

.scl-faq__a p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------ Mobil */

@media (max-width: 780px) {
	.scl-usp--cols-2 .scl-usp__list,
	.scl-usp--cols-3 .scl-usp__list {
		grid-template-columns: 1fr;
	}

	.scl-check__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.scl-check__mark {
		align-self: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.scl-b * {
		transition: none !important;
	}
}
