/* Leistungsseiten (Vorlage page-leistung.php, Inhalt von agentur-runde-2026-11-21/arbeit/leistungen/leistungen-bauen.php).
   Kleine Schwester der Startseite: Haarlinien, kleine Nummern, orange Punkte, Überschriften „weiß + dünn-grau“.
   Bausteine aus style.css, die hier mitbenutzt werden: .sleek-h1-ort, .sleek-ziele, .sl-fall, .sl-nr, .sleek-ablauf, .sa-knopf,
   .sa-fuss, .sleek-fragen, .sleek-seide/.sleek-punkte (der Kopf trägt die Klasse elementor-element-b4499db für assets/sleek-seide.js). */

.sleek-leistung {
	--sl-breite: 1200px;
	--sl-gutter: 30px;
	--sl-abstand: clamp(64px, 8vw, 112px);
	--sl-linie: var(--jkd-border);
	--sl-nav: calc(var(--jkd-nav-height, 80px) + var(--jkd-admin-bar, 0px));
	display: block;
}

.sleek-leistung [id] {
	scroll-margin-top: 110px;
}

.sleek-leistung .sl-innen,
.sleek-leistung .sl-kopf-innen {
	width: min(var(--sl-breite), calc(100% - 2 * var(--sl-gutter)));
	margin-inline: auto;
}

/* ---------- Kopf ---------- */
.sleek-leistung .sl-kopf {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	min-height: min(82vh, 760px);
	margin-top: calc(-1 * var(--sl-nav));
	padding: calc(var(--sl-nav) + 72px) 0 110px;
}

.sl-rahmen {
	position: absolute;
	inset: 0 50px 48px;
	z-index: 0;
	border-right: 1px solid var(--sl-linie);
	border-bottom: 1px solid var(--sl-linie);
	border-left: 1px solid var(--sl-linie);
	pointer-events: none;
}

.sl-knoten {
	position: absolute;
	bottom: -3px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: rgb(var(--jkd-accent-rgb));
	box-shadow: 0 0 8px rgba(var(--jkd-accent-rgb), 0.7);
	animation: sleek-knoten 5s ease-in-out infinite;
}

.sl-knoten-l {
	left: -3px;
}

.sl-knoten-r {
	right: -3px;
	animation-delay: -2.5s;
}

.sleek-leistung .sl-kopf-innen {
	position: relative;
	z-index: 1;
}

.sl-kopf-innen > * {
	max-width: 760px;
}

.sl-brotkrume ol {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 8px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
	font-size: 13px;
	line-height: 1.4;
	color: var(--jkd-text);
}

.sl-brotkrume li + li::before {
	content: "›";
	margin-right: 8px;
	opacity: 0.6;
}

.sl-brotkrume a {
	color: var(--jkd-text);
	text-decoration: none;
	transition: color 0.25s ease;
}

.sl-brotkrume a:hover,
.sl-brotkrume a:focus-visible {
	color: var(--jkd-heading);
}

.sl-brotkrume [aria-current] {
	color: var(--jkd-heading);
}

.sl-status {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 26px;
	font-size: 13px;
	line-height: 1.3;
	letter-spacing: 1.25px;
	text-transform: uppercase;
	color: var(--jkd-text);
}

.sl-status strong {
	font-weight: var(--jkd-m-fw, 500);
	color: var(--jkd-heading);
}

.sl-status-punkt {
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: rgb(var(--jkd-accent-rgb));
	box-shadow: 0 0 10px rgba(var(--jkd-accent-rgb), 0.6);
}

.sleek-leistung .sl-kopf h1 {
	margin: 0 0 26px;
	font-size: clamp(40px, 4.6vw, 64px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: var(--jkd-heading);
}

.sleek-leistung .sl-kopf h1 .muted {
	display: block;
}

.sleek-leistung .sl-kopf h1 .sleek-h1-ort {
	font-size: max(15px, 0.34em);
	letter-spacing: 0;
}

.sl-lead {
	max-width: 620px !important;
	margin: 0 0 32px;
	font-size: 18px;
	line-height: 1.5;
	color: var(--jkd-text);
}

.sl-knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.sl-knopf-umriss {
	display: inline-flex;
	align-items: center;
	padding: 13px 20px;
	border: 1px solid var(--sl-linie);
	border-radius: 8px;
	font-size: 16px;
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.2;
	color: var(--jkd-heading);
	text-decoration: none;
	transition: border-color 0.25s ease, color 0.25s ease;
}

.sl-knopf-umriss:hover,
.sl-knopf-umriss:focus-visible {
	border-color: rgba(var(--jkd-accent-rgb), 0.7);
	color: var(--jkd-heading);
}

.sleek-leistung .sl-inhalt {
	margin-top: 40px;
}

/* ---------- Abschnitte ---------- */
.sl-abschnitt {
	padding-top: var(--sl-abstand);
}

.sl-marke {
	display: inline-block;
	margin: 0 0 22px;
	padding: 4px 15px;
	border: 1px solid var(--sl-linie);
	border-radius: 50px;
	font-size: 13px;
	line-height: 1.35;
	letter-spacing: 1.25px;
	text-transform: uppercase;
	color: var(--jkd-heading);
}

.sleek-leistung .sl-titel {
	max-width: 900px;
	margin: 0 0 clamp(32px, 4vw, 56px);
	font-size: clamp(32px, 3.4vw, 48px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: var(--jkd-heading);
}

.sleek-leistung .sl-titel .muted {
	color: var(--jkd-text);
}

/* Einstiegssatz */
.sl-satz {
	max-width: 1000px;
	margin: 0;
	font-size: clamp(26px, 2.9vw, 40px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.22;
	letter-spacing: -0.015em;
	color: var(--jkd-heading);
}

.sl-satz .muted {
	color: var(--jkd-text);
}

/* Umfang: 3 × 2 Felder mit Haarlinien */
.sl-umfang {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--sl-linie);
}

.sl-punkt {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 30px 30px 34px 0;
	border-bottom: 1px solid var(--sl-linie);
}

.sl-punkt:not(:nth-child(3n + 1)) {
	padding-left: 30px;
	border-left: 1px solid var(--sl-linie);
}

.sl-punkt h3,
.sl-spezial .sl-fall h3,
.sl-ablauf h3 {
	margin: 0;
	font-size: clamp(21px, 1.8vw, 26px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.18;
	letter-spacing: -0.01em;
	color: var(--jkd-heading);
}

.sl-punkt p {
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: var(--jkd-text);
}

/* Langtext: Überschrift links, Text rechts */
.sl-text-raster {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 32px 80px;
	align-items: start;
}

.sl-text-kopf .sl-titel {
	margin-bottom: 0;
}

.sl-text {
	padding-top: 6px;
}

.sl-text p {
	max-width: 680px;
	margin: 0 0 1.1em;
	font-size: 17px;
	line-height: 1.62;
	color: var(--jkd-text);
}

.sl-text p:first-child {
	font-size: 19px;
	line-height: 1.55;
	color: var(--jkd-heading);
}

.sl-text p:last-child {
	margin-bottom: 0;
}

.sl-text a {
	color: var(--jkd-heading);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Karten: Projekte und Websites */
.sl-karten {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 24px;
}

.sl-karte {
	display: flex;
	flex-direction: column;
	gap: 16px;
	color: inherit;
	text-decoration: none;
}

.sl-karte-bild {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	border: 1px solid var(--sl-linie);
	border-radius: 14px;
	background: color-mix(in srgb, var(--jkd-heading) 4%, transparent);
}

.sl-karte-bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.sl-karte:hover .sl-karte-bild img,
.sl-karte:focus-visible .sl-karte-bild img {
	transform: scale(1.04);
}

.sl-karte-web .sl-karte-bild {
	display: flex;
	flex-direction: column;
	aspect-ratio: 16 / 10.6;
}

.sl-karte-web .sl-karte-bild img {
	flex: 1 1 auto;
	min-height: 0;
	object-position: top center;
}

.sl-leiste {
	display: flex;
	flex: 0 0 28px;
	align-items: center;
	gap: 6px;
	padding: 0 12px;
	border-bottom: 1px solid var(--sl-linie);
	background: color-mix(in srgb, var(--jkd-heading) 6%, transparent);
	font-size: 11px;
	color: var(--jkd-text);
}

.sl-leiste i {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--jkd-heading) 20%, transparent);
}

.sl-leiste span {
	margin-left: 10px;
}

.sl-nw {
	white-space: nowrap;
}

.sl-karte-text {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.sl-karte-branche {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--jkd-text);
}

.sl-karte-name {
	display: block;
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.2;
	color: var(--jkd-heading);
	transition: color 0.25s ease;
}

.sl-karte-name svg {
	display: inline-block;
	width: 11px;
	height: 11px;
	margin-left: 6px;
	vertical-align: 0.12em;
	transition: transform 0.25s ease;
}

.sl-alle svg,
.sl-zeile .sl-mehr svg {
	flex: 0 0 11px;
	width: 11px;
	height: 11px;
	transition: transform 0.25s ease;
}

.sl-karte:hover .sl-karte-name,
.sl-karte:focus-visible .sl-karte-name {
	color: rgb(var(--jkd-accent-rgb));
}

.sl-karte:hover .sl-karte-name svg,
.sl-alle a:hover svg,
.sl-zeile .sl-mehr:hover svg {
	transform: translate(2px, -2px);
}

.sl-alle {
	margin: 32px 0 0;
}

.sl-alle a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: var(--jkd-m-fw, 500);
	color: var(--jkd-heading);
	text-decoration: none;
	transition: color 0.25s ease;
}

.sl-alle a:hover,
.sl-alle a:focus-visible {
	color: rgb(var(--jkd-accent-rgb));
}

/* Spezialgebiete: Bausteine der Ausgangslage (.sl-fall) */
.sl-spezial {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid var(--sl-linie);
	border-bottom: 1px solid var(--sl-linie);
}

.sl-spezial.sl-spalten-1 {
	grid-template-columns: 1fr;
}

.sl-spezial.sl-spalten-1 .sl-fall p {
	max-width: 620px;
}

.sl-spezial.sl-spalten-2 {
	grid-template-columns: repeat(2, 1fr);
}

.sl-spezial .sl-fall p {
	font-size: 16px;
}

/* Ablauf mit vier Schritten */
@media (min-width: 1024px) {
	.sl-ablauf-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* Fragen: Überschrift in der Zeile übernimmt die Schrift der Zeile */
.sl-fragen summary h3 {
	margin: 0;
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
}

/* Passt dazu: Zeile mit Nummern über die ganze Breite */
.sleek-leistung .sl-passt {
	max-width: none;
	margin-top: 0;
	border-bottom: 1px solid var(--sl-linie);
}

.sleek-leistung .sl-passt a {
	flex: 1 1 0;
	padding: 22px 20px 22px 0;
	white-space: normal;
	font-size: clamp(17px, 1.4vw, 20px);
}

.sleek-leistung .sl-passt a + a {
	padding-left: 20px;
}

.sleek-leistung .sl-passt .nr {
	font-size: 12px;
}

/* Übersicht: Bereiche mit offenen Zeilen */
.sl-gruppe-raster {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: 32px 80px;
	align-items: start;
}

.sl-gruppe-kopf .sl-titel {
	margin-bottom: 18px;
}

.sl-gruppe-text {
	max-width: 380px;
	margin: 0;
	font-size: 17px;
	line-height: 1.5;
	color: var(--jkd-text);
}

.sl-zeilen {
	border-top: 1px solid var(--sl-linie);
}

.sl-zeile {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	gap: 8px 24px;
	align-items: baseline;
	padding: 24px 0;
	border-bottom: 1px solid var(--sl-linie);
}

.sl-zeile h3 {
	margin: 0 0 8px;
	font-size: clamp(20px, 1.7vw, 24px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.sl-zeile h3 a {
	color: var(--jkd-heading);
	text-decoration: none;
	transition: color 0.25s ease;
}

.sl-zeile h3 a:hover,
.sl-zeile h3 a:focus-visible {
	color: rgb(var(--jkd-accent-rgb));
}

.sl-zeile p {
	max-width: 620px;
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--jkd-text);
}

.sl-zeile .sl-mehr {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
	font-size: 14px;
	font-weight: var(--jkd-m-fw, 500);
	color: var(--jkd-heading);
	text-decoration: none;
	transition: color 0.25s ease;
}

.sl-zeile .sl-mehr:hover,
.sl-zeile .sl-mehr:focus-visible {
	color: rgb(var(--jkd-accent-rgb));
}

/* Anfrage am Ende */
.sl-schluss-w {
	padding-bottom: var(--sl-abstand);
}

.sl-schluss {
	padding: clamp(32px, 5vw, 64px);
	border: 1px solid rgba(var(--jkd-accent-rgb), 0.55);
	border-radius: 14px;
	background: linear-gradient(160deg, rgba(var(--jkd-accent-rgb), 0.1), rgba(var(--jkd-accent-rgb), 0) 55%);
}

.sl-schluss .sl-titel {
	margin-bottom: 16px;
}

.sl-schluss-text {
	max-width: 620px;
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	color: var(--jkd-text);
}

.sl-schluss .sa-fuss {
	margin-top: 32px;
}

.sl-mail {
	color: var(--jkd-heading);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.sl-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Auf den Leistungsseiten ist der Anfrage-Block oben (.sl-schluss) seitenbezogen; der allgemeine Schlussbanner
   (Vorlage 1966, direkt nach dem Artikel) würde ihn wiederholen und bleibt hier ausgeblendet. Zum Zurückstellen diese Regel löschen. */
.sleek-leistung + .jkd-before-footer-template[data-template-id="1966"] {
	display: none;
}

/* ---------- Fotobox-Seite (/fotobox-mieten-kaernten/) ---------- */
/* Kopf mit rechter Spalte: links Text, rechts die Säule der Fotobox mit ihrem Bildschirm-Loop */
.sleek-leistung .sl-kopf.mit-rechts .sl-kopf-innen {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 40px 64px;
	align-items: center;
}

.sl-kopf.mit-rechts .sl-kopf-innen > * {
	max-width: none;
}

.sl-kopf-text > * {
	max-width: 760px;
}

.sl-kopf button.sl-knopf-umriss {
	background: none;
	font-family: inherit;
	cursor: pointer;
}

.sl-fb {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-right: clamp(0px, 4vw, 70px);
}

.sl-saeule {
	position: relative;
	padding: 10px;
	border: 1px solid var(--sl-linie);
	border-radius: 22px;
	background: linear-gradient(180deg, #232323, #121212);
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 70px rgba(var(--jkd-accent-rgb), 0.12);
}

.sl-saeule-schirm {
	position: relative;
	overflow: hidden;
	height: clamp(420px, 64vh, 600px);
	aspect-ratio: 540 / 1920;
	border-radius: 13px;
	background: #0e0c0a;
}

.sl-saeule-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sl-saeule-fuss {
	display: block;
	width: 64%;
	height: 16px;
	border: 1px solid var(--sl-linie);
	border-top: 0;
	border-radius: 0 0 12px 12px;
	background: linear-gradient(180deg, #1a1a1a, #101010);
}

/* 3D-Modell der Fotobox (assets/sleek-fotobox.js). Bis das Modell steht und ohne WebGL zeigt die Bühne den Säulenbildschirm. */
.sl-fb3d {
	position: relative;
	display: grid;
	place-items: center;
	width: clamp(340px, 38vw, 560px);
	aspect-ratio: 1 / 1.12;
	margin-right: -30px;
}

.sl-fb3d-gl {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
	cursor: grab;
	touch-action: pan-y;
	transition: opacity 1.2s ease;
	outline: none;
}

.sl-fb3d-gl:focus-visible {
	box-shadow: 0 0 0 2px rgba(var(--jkd-accent-rgb), 0.7);
	border-radius: 14px;
}

.sl-fb3d.dreht .sl-fb3d-gl {
	cursor: grabbing;
}

.sl-fb3d.mit-gl .sl-fb3d-gl {
	opacity: 1;
}

.sl-fb3d.mit-gl .sl-saeule {
	display: none;
}

.sl-fb3d-quelle {
	position: absolute;
	top: 0;
	left: 0;
	width: 40px;
	height: 142px;
	opacity: 0;
	pointer-events: none;
}

.sl-fb3d-start {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.sl-fb3d-blitz {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: 14px;
	background: radial-gradient(circle at 55% 30%, #fff, rgba(255, 255, 255, 0.6) 60%, rgba(255, 255, 255, 0) 100%);
	opacity: 0;
	pointer-events: none;
}

.sl-fb3d-foto {
	position: absolute;
	right: 2%;
	bottom: 10%;
	z-index: 3;
	width: min(34%, 180px);
	margin: 0;
	padding: 8px 8px 0;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 30px 50px -25px rgba(0, 0, 0, 0.6);
	opacity: 0;
	pointer-events: none;
}

.sl-fb3d-foto canvas {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	background: #eee;
}

.sl-fb3d-foto figcaption {
	display: flex;
	justify-content: space-between;
	gap: 6px;
	padding: 8px 2px 9px;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #555;
}

.sl-nur-gl {
	display: none;
}

.sl-fb3d.mit-gl ~ .sl-fb-hinweis .sl-nur-gl {
	display: inline;
}

.sl-zusatz {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: -10px 0 30px;
	font-size: 17px;
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.4;
	color: var(--jkd-heading);
}

.sl-stress-fuss {
	margin: 34px 0 0;
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: var(--jkd-m-fw, 500);
	color: var(--jkd-heading);
}

/* Countdown und Blitz: laufen einmal, wenn die Klasse ist-aus gesetzt wird (Knopf „Auslösen“) */
.sl-cd {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.sl-cd::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(10, 8, 6, 0.55);
	opacity: 0;
}

.sl-cd span {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: clamp(64px, 7vw, 92px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1;
	color: #fff;
	text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
	opacity: 0;
}

.sl-cd .sl-cd-text {
	padding: 0 12px;
	font-size: 22px;
	text-align: center;
	letter-spacing: 0.02em;
}

.sl-blitz {
	position: absolute;
	inset: 0;
	background: #fff;
	opacity: 0;
	pointer-events: none;
}

.sl-saeule.ist-aus .sl-cd::before {
	animation: sl-dimmen 5s ease both;
}

.sl-saeule.ist-aus .sl-cd span:nth-child(1) {
	animation: sl-zahl 0.8s ease 0s both;
}

.sl-saeule.ist-aus .sl-cd span:nth-child(2) {
	animation: sl-zahl 0.8s ease 0.8s both;
}

.sl-saeule.ist-aus .sl-cd span:nth-child(3) {
	animation: sl-zahl 0.8s ease 1.6s both;
}

.sl-saeule.ist-aus .sl-cd .sl-cd-text {
	animation: sl-laecheln 2.4s ease 2.5s both;
}

.sl-saeule.ist-aus .sl-blitz {
	animation: sl-blitz 0.5s ease-out 2.4s both;
}

@keyframes sl-zahl {
	0% { opacity: 0; transform: scale(1.12); }
	18% { opacity: 1; transform: scale(1); }
	78% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes sl-laecheln {
	0% { opacity: 0; }
	12% { opacity: 1; }
	85% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes sl-dimmen {
	0% { opacity: 0; }
	6% { opacity: 1; }
	88% { opacity: 1; }
	100% { opacity: 0; }
}

/* ein einziges kurzes Aufhellen, kein Flackern */
@keyframes sl-blitz {
	0% { opacity: 0; }
	14% { opacity: 0.8; }
	100% { opacity: 0; }
}

.sl-ausloeser {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
	padding: 8px 18px 8px 8px;
	border: 1px solid var(--sl-linie);
	border-radius: 40px;
	background: none;
	font-family: inherit;
	font-size: 15px;
	font-weight: var(--jkd-m-fw, 500);
	color: var(--jkd-heading);
	cursor: pointer;
	transition: border-color 0.25s ease;
}

.sl-ausloeser i {
	position: relative;
	width: 24px;
	height: 24px;
	border: 1px solid rgba(var(--jkd-accent-rgb), 0.8);
	border-radius: 50%;
}

.sl-ausloeser i::after {
	content: "";
	position: absolute;
	inset: 5px;
	border-radius: 50%;
	background: rgb(var(--jkd-accent-rgb));
}

.sl-ausloeser:hover,
.sl-ausloeser:focus-visible {
	border-color: rgba(var(--jkd-accent-rgb), 0.7);
}

.sl-fb-hinweis {
	max-width: 340px;
	margin: 12px 0 0;
	font-size: 13px;
	color: var(--jkd-text);
	text-align: center;
}

/* Anlässe als 2 × 2 */
.sl-spezial.sl-raster-2x2 .sl-fall:nth-child(odd) {
	padding-left: 0;
	border-left: 0;
}

.sl-spezial.sl-raster-2x2 .sl-fall:nth-child(even) {
	padding-left: 30px;
	border-left: 1px solid var(--sl-linie);
}

.sl-spezial.sl-raster-2x2 .sl-fall:nth-child(n + 3) {
	border-top: 1px solid var(--sl-linie);
}

/* Orte */
.sl-orte {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.sl-orte li {
	padding: 6px 14px;
	border: 1px solid var(--sl-linie);
	border-radius: 40px;
	font-size: 14px;
	color: var(--jkd-heading);
}

/* Platzhalter für Marios eigene Fotos (nur für eingeloggte Admins ausgegeben) */
.sl-platzhalter {
	padding: clamp(28px, 4vw, 48px);
	border: 2px dashed rgba(var(--jkd-accent-rgb), 0.7);
	border-radius: 14px;
	background: repeating-linear-gradient(135deg, rgba(var(--jkd-accent-rgb), 0.06) 0 14px, transparent 14px 28px);
}

.sl-platzhalter .sl-platzhalter-titel {
	margin: 0 0 14px;
	font-size: clamp(26px, 2.6vw, 36px);
	font-weight: var(--jkd-m-fw, 500);
	line-height: 1.15;
	color: var(--jkd-heading);
}

.sl-platzhalter p,
.sl-platzhalter li {
	font-size: 16px;
	line-height: 1.5;
	color: var(--jkd-text);
}

.sl-platzhalter ul {
	margin: 14px 0 0;
	padding-left: 20px;
	list-style: disc;
}

.sl-platzhalter li::marker {
	color: rgb(var(--jkd-accent-rgb));
}

@media (max-width: 1023px) {
	.sleek-leistung .sl-kopf.mit-rechts .sl-kopf-innen {
		grid-template-columns: 1fr;
	}

	.sl-fb {
		margin: 10px 0 0;
	}

	.sl-fb3d {
		width: min(100%, 520px);
		margin-right: 0;
	}

	.sl-spezial.sl-raster-2x2 .sl-fall:nth-child(even) {
		padding-left: 0;
		border-left: 0;
	}

	.sl-spezial.sl-raster-2x2 .sl-fall + .sl-fall {
		border-top: 1px solid var(--sl-linie);
	}
}

@media (max-width: 767px) {
	.sl-saeule-schirm {
		height: 440px;
	}
}

/* Bewegung reduzieren: kein Blitz, kein Countdown, nur ruhig „Bitte lächeln“ (der Knopf nimmt die Klasse nach 5 s wieder weg) */
@media (prefers-reduced-motion: reduce) {
	.sl-saeule.ist-aus .sl-blitz,
	.sl-saeule.ist-aus .sl-cd span {
		animation: none !important;
		opacity: 0;
	}

	.sl-saeule.ist-aus .sl-cd::before,
	.sl-saeule.ist-aus .sl-cd .sl-cd-text {
		animation: none !important;
		opacity: 1;
	}
}

/* ---------- helles Farbschema ---------- */
html[data-color-scheme="light"] .sl-knoten,
html[data-color-scheme="light"] .sl-status-punkt {
	background: var(--sleek-akzent-tief);
	box-shadow: none;
}

html[data-color-scheme="light"] .sl-karte:hover .sl-karte-name,
html[data-color-scheme="light"] .sl-alle a:hover,
html[data-color-scheme="light"] .sl-zeile h3 a:hover,
html[data-color-scheme="light"] .sl-zeile .sl-mehr:hover {
	color: var(--sleek-akzent-tief);
}

/* ---------- Tablet ---------- */
@media (max-width: 1023px) {
	.sleek-leistung .sl-kopf {
		min-height: 0;
		padding-bottom: 90px;
	}

	.sl-umfang {
		grid-template-columns: repeat(2, 1fr);
	}

	.sl-punkt:not(:nth-child(3n + 1)) {
		padding-left: 0;
		border-left: 0;
	}

	.sl-punkt:nth-child(2n) {
		padding-left: 26px;
		border-left: 1px solid var(--sl-linie);
	}

	.sl-text-raster,
	.sl-gruppe-raster {
		grid-template-columns: 1fr;
	}

	.sl-spezial,
	.sl-spezial.sl-spalten-1,
	.sl-spezial.sl-spalten-2 {
		grid-template-columns: 1fr;
	}

	.sl-karten {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* ---------- Handy ---------- */
@media (max-width: 767px) {
	.sleek-leistung {
		--sl-gutter: 20px;
		--sl-abstand: 64px;
	}

	.sleek-leistung .sl-kopf {
		padding: calc(var(--sl-nav) + 60px) 0 64px;
	}

	.sl-rahmen {
		inset: 0 10px 30px;
	}

	.sl-brotkrume ol {
		margin-bottom: 26px;
		font-size: 12px;
	}

	.sl-status {
		margin-bottom: 20px;
		font-size: 12px;
	}

	.sleek-leistung .sl-kopf h1 {
		font-size: clamp(34px, 9.6vw, 42px);
	}

	.sl-lead {
		font-size: 17px;
	}

	.sl-knoepfe a {
		flex: 1 1 auto;
		justify-content: center;
	}

	.sleek-leistung .sl-inhalt {
		margin-top: 30px;
	}

	.sl-satz {
		font-size: 25px;
	}

	.sl-umfang {
		grid-template-columns: 1fr;
	}

	.sl-punkt,
	.sl-punkt:nth-child(2n),
	.sl-punkt:not(:nth-child(3n + 1)) {
		padding: 24px 0;
		border-left: 0;
	}

	.sl-punkt p,
	.sl-text p {
		font-size: 16px;
	}

	.sl-text p:first-child {
		font-size: 18px;
	}

	.sl-karten {
		grid-template-columns: 1fr;
	}

	.sleek-leistung .sl-passt {
		flex-direction: column;
		border-bottom: 0;
	}

	.sleek-leistung .sl-passt a,
	.sleek-leistung .sl-passt a + a {
		padding: 16px 0;
		border-left: 0;
		border-bottom: 1px solid var(--sl-linie);
	}

	.sl-zeile {
		grid-template-columns: 34px minmax(0, 1fr);
	}

	.sl-zeile .sl-mehr {
		grid-column: 2;
	}

	.sl-schluss .sa-fuss {
		flex-direction: column;
		align-items: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sl-knoten {
		animation: none;
	}

	.sl-karte-bild img {
		transition: none;
	}
}
