/**
 * ZUKE Lösungen – Frontend-Styles (Navigator, Kacheln, Detailseite).
 *
 * Farben und Schriften laufen über --zkl-* Custom Properties, die auf die
 * Theme-Tokens der Hauptseite zeigen (avada-child: --zk-ink, --zk-line,
 * --zk-font-display …). Akzentfarbe ist das Logo-Grün #94c13a — bewusst
 * nicht --zk-lime-bright (Neon). Texte auf Weiß nutzen das dunklere
 * --zkl-accent-ink, damit der Kontrast reicht.
 *
 * Namespace durchgängig .zkl-* — keine Kollision mit den .zk-* Klassen.
 * Element-Regeln stehen unter .zkl, damit Avadas globale h2/h3/a/button-
 * Styles nicht durchschlagen.
 */

.zkl {
	--zkl-ink:          var(--zk-ink, #0a2010);
	--zkl-text:         var(--zk-text, #1a2e1a);
	--zkl-muted:        var(--zk-muted, #4b5563);
	--zkl-soft:         var(--zk-soft, #6b7280);
	--zkl-line:         var(--zk-line, #e5e7eb);
	--zkl-paper-2:      var(--zk-paper-2, #f8faf5);
	--zkl-green-900:    var(--zk-green-900, #0f2b0f);
	--zkl-green-800:    var(--zk-green-800, #1a4d1a);
	--zkl-accent:       #94c13a;
	--zkl-accent-hover: #a6cf52;
	--zkl-accent-soft:  #eef6e0;
	--zkl-accent-ink:   #3f5f12;
	/* v1.2.1: Buttons wie auf der übrigen Hauptseite — ZUKE-Grün, weiße Schrift. */
	--zkl-button:       var(--zk-lime, #8bc34a);
	--zkl-button-hover: var(--zk-lime-dark, #689f38);
	--zkl-radius:       6px;
	--zkl-shadow:       0 14px 30px rgba(10, 32, 16, 0.1);
	--zkl-font-display: var(--zk-font-display, 'Oswald', 'Helvetica Neue', Arial, sans-serif);
	--zkl-font-body:    var(--zk-font-body, 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif);

	font-family: var(--zkl-font-body);
	color: var(--zkl-text);
}

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

.zkl ul,
.zkl ol { list-style: none; margin: 0; padding: 0; }

.zkl img { max-width: 100%; height: auto; }

.zkl button { font: inherit; }

.zkl a:focus-visible,
.zkl button:focus-visible,
.zkl input:focus-visible,
.zkl summary:focus-visible {
	outline: 3px solid var(--zkl-accent);
	outline-offset: 2px;
}

.zkl .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ------------------------------------------------------------------------
   Suchfeld + Vorschläge
   ------------------------------------------------------------------------ */

.zkl .zkl-search {
	position: relative;
	display: flex;
	width: 100%;
}

.zkl .zkl-search__input {
	-webkit-appearance: none;
	appearance: none;
	flex: 1;
	min-width: 0;
	height: 54px;
	margin: 0;
	padding: 0 18px;
	border: 2px solid #d6e6bf;
	border-right: 0;
	border-radius: var(--zkl-radius) 0 0 var(--zkl-radius);
	background: #fff;
	color: var(--zkl-ink);
	font-size: 1rem;
	box-shadow: none;
}

.zkl .zkl-search__input::placeholder { color: var(--zkl-soft); }

.zkl .zkl-search__input:focus {
	outline: none;
	border-color: var(--zkl-accent);
	box-shadow: 0 0 0 3px rgba(148, 193, 58, 0.25);
}

.zkl .zkl-search__submit {
	flex: none;
	width: 58px;
	margin: 0;
	border: 0;
	border-radius: 0 var(--zkl-radius) var(--zkl-radius) 0;
	background: var(--zkl-green-900);
	color: #fff;
	font-size: 1.05rem;
	cursor: pointer;
	transition: background 0.2s ease;
}

.zkl .zkl-search__submit:hover { background: var(--zkl-green-800); }

.zkl .zkl-suggest {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	z-index: 60;
	max-height: 360px;
	overflow-y: auto;
	padding: 6px;
	border: 1px solid var(--zkl-line);
	border-radius: var(--zkl-radius);
	background: #fff;
	box-shadow: 0 16px 36px rgba(10, 32, 16, 0.16);
}

.zkl .zkl-suggest[hidden] { display: none; }

.zkl .zkl-suggest__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 12px;
	border-radius: 4px;
	color: var(--zkl-ink);
	cursor: pointer;
	line-height: 1.35;
}

.zkl .zkl-suggest__item:hover,
.zkl .zkl-suggest__item[aria-selected="true"] { background: var(--zkl-accent-soft); }

.zkl .zkl-suggest__label mark {
	padding: 0;
	background: none;
	color: inherit;
	font-weight: 700;
}

.zkl .zkl-suggest__type {
	flex: none;
	color: var(--zkl-soft);
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.zkl-searchbox { width: 100%; max-width: 560px; }

/* ------------------------------------------------------------------------
   Navigator
   ------------------------------------------------------------------------ */

/*
 * Der Navigator richtet sein Layout nach der eigenen Breite (Container
 * Queries), nicht nach dem Fenster — er kann in einer vollen oder einer
 * schmalen Avada-Spalte stehen. Die Fenster-Media-Queries unten bleiben als
 * Rückfall für Browser ohne Container Queries.
 */
.zkl-nav {
	container-type: inline-size;
	container-name: zkl-nav;
	scroll-margin-top: 120px;
}

.zkl .zkl-nav__search { margin: 0 0 28px; }

.zkl .zkl-nav__layout {
	display: grid;
	grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
	gap: 32px;
	align-items: start;
}

.zkl-nav--nofilter .zkl-nav__layout { grid-template-columns: minmax(0, 1fr); }

.zkl .zkl-nav__filters {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 26px;
	min-width: 0;
}

/* Grid-Kinder dürfen nie breiter als die Spalte werden (sonst Überlauf am Handy). */
.zkl .zkl-filter { min-width: 0; }

.zkl .zkl-filter__label {
	margin: 0 0 10px;
	color: var(--zkl-accent-ink);
	font-family: var(--zkl-font-display);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.zkl .zkl-kats { display: grid; gap: 6px; }

.zkl .zkl-kat {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	align-items: center;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 11px 12px;
	border: 1px solid var(--zkl-line);
	border-left: 4px solid var(--zkl-line);
	border-radius: var(--zkl-radius);
	background: #fff;
	color: var(--zkl-ink);
	font-size: 0.92rem;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.zkl .zkl-kat:hover:not(:disabled) {
	border-left-color: var(--zkl-accent);
	background: var(--zkl-paper-2);
}

.zkl .zkl-kat[aria-pressed="true"] {
	border-color: var(--zkl-accent);
	border-left-color: var(--zkl-accent);
	background: var(--zkl-accent-soft);
	font-weight: 600;
}

.zkl .zkl-kat:disabled { opacity: 0.45; cursor: default; }

.zkl .zkl-kat__icon {
	color: var(--zkl-accent-ink);
	font-size: 1.05rem;
	text-align: center;
}

.zkl .zkl-kat__count {
	min-width: 26px;
	padding: 2px 7px;
	border-radius: 999px;
	background: var(--zkl-paper-2);
	color: var(--zkl-soft);
	font-size: 0.75rem;
	font-weight: 600;
	text-align: center;
}

.zkl .zkl-kat[aria-pressed="true"] .zkl-kat__count {
	background: var(--zkl-accent);
	color: var(--zkl-green-900);
}

.zkl .zkl-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.zkl .zkl-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--zkl-line);
	border-radius: 999px;
	background: #fff;
	color: var(--zkl-ink);
	font-size: 0.85rem;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.zkl .zkl-chip:hover:not(:disabled) { border-color: var(--zkl-accent); }

.zkl .zkl-chip[aria-pressed="true"] {
	border-color: var(--zkl-accent);
	background: var(--zkl-accent);
	color: var(--zkl-green-900);
	font-weight: 600;
}

.zkl .zkl-chip:disabled { opacity: 0.45; cursor: default; }

.zkl .zkl-chip__count { color: inherit; font-size: 0.75rem; opacity: 0.75; }

.zkl .zkl-nav__status {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px 16px;
	margin: 0 0 14px;
}

.zkl .zkl-nav__count {
	margin: 0;
	color: var(--zkl-ink);
	font-family: var(--zkl-font-display);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0.02em;
}

.zkl .zkl-link-btn {
	padding: 0;
	border: 0;
	background: none;
	color: var(--zkl-accent-ink);
	font-size: 0.9rem;
	text-decoration: underline;
	cursor: pointer;
}

.zkl .zkl-link-btn[hidden] { display: none; }

.zkl .zkl-nav__info {
	margin: -2px 0 18px;
	padding: 10px 14px;
	border-left: 4px solid var(--zkl-accent);
	background: var(--zkl-paper-2);
	color: var(--zkl-muted);
	font-size: 0.92rem;
	line-height: 1.5;
}

.zkl .zkl-nav__info[hidden] { display: none; }

.zkl .zkl-empty {
	padding: 36px 24px;
	border: 1px dashed #cfdcbf;
	border-radius: var(--zkl-radius);
	background: var(--zkl-paper-2);
	text-align: center;
}

.zkl .zkl-empty[hidden] { display: none; }

.zkl .zkl-empty__title {
	margin: 0 0 6px;
	color: var(--zkl-ink);
	font-family: var(--zkl-font-display);
	font-size: 1.2rem;
}

.zkl .zkl-empty__text { margin: 0 0 16px; color: var(--zkl-muted); }

/* ------------------------------------------------------------------------
   Kacheln
   ------------------------------------------------------------------------ */

.zkl .zkl-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

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

.zkl .zkl-card { display: flex; }

.zkl .zkl-card[hidden] { display: none; }

.zkl a.zkl-card__link {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow: hidden;
	border: 1px solid var(--zkl-line);
	border-radius: var(--zkl-radius);
	background: #fff;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Akzentstreifen in Logo-Grün */
.zkl a.zkl-card__link::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	height: 4px;
	background: var(--zkl-accent);
}

.zkl a.zkl-card__link:hover {
	border-color: #d6e6bf;
	box-shadow: var(--zkl-shadow);
	transform: translateY(-3px);
}

/* Feste Logo-Fläche: Ohne min-height:0 würde ein quadratisches Logo die
   aspect-ratio-Fläche aufdrücken (auf Stage gesehen: J&J, Mölnlycke). */
.zkl .zkl-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	overflow: hidden;
	background: #fff;
}

.zkl .zkl-logo .zkl-logo__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
}

.zkl .zkl-logo__initials {
	color: var(--zkl-accent-ink);
	font-family: var(--zkl-font-display);
	font-size: 2rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.zkl .zkl-card__logo {
	aspect-ratio: 16 / 9;
	padding: 24px 30px;
	border-bottom: 1px solid var(--zkl-line);
}

.zkl .zkl-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
	padding: 18px 20px 20px;
}

.zkl .zkl-card__kat {
	display: flex;
	align-items: center;
	gap: 7px;
	color: var(--zkl-accent-ink);
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-transform: uppercase;
}

.zkl .zkl-card__more-kats {
	padding: 0 5px;
	border-radius: 3px;
	background: var(--zkl-accent-soft);
}

.zkl .zkl-card__title {
	margin: 0;
	padding: 0;
	color: var(--zkl-ink);
	font-family: var(--zkl-font-display);
	font-size: 1.16rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.25;
	text-transform: none;
	overflow-wrap: break-word;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.zkl .zkl-card__anbieter { color: var(--zkl-soft); font-size: 0.85rem; }

.zkl .zkl-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	color: var(--zkl-muted);
	font-size: 0.92rem;
	line-height: 1.55;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.zkl .zkl-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }

.zkl .zkl-badge {
	padding: 3px 8px;
	border-radius: 999px;
	background: var(--zkl-accent-soft);
	color: var(--zkl-green-900);
	font-size: 0.72rem;
	font-weight: 600;
}

.zkl .zkl-card__cta {
	margin-top: auto;
	padding-top: 6px;
	color: var(--zkl-green-800);
	font-size: 0.9rem;
	font-weight: 600;
}

.zkl a.zkl-card__link:hover .zkl-card__cta { color: var(--zkl-accent-ink); }

/* ------------------------------------------------------------------------
   Buttons
   ------------------------------------------------------------------------ */

.zkl a.zkl-btn,
.zkl button.zkl-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 22px;
	border: 2px solid var(--zkl-button);
	border-radius: var(--zkl-radius);
	background: var(--zkl-button);
	color: #fff;
	font-size: 0.98rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.zkl a.zkl-btn:hover,
.zkl button.zkl-btn:hover {
	border-color: var(--zkl-button-hover);
	background: var(--zkl-button-hover);
	color: #fff;
}

.zkl .zkl-btn--ghost {
	border-color: #cfdcbf;
	background: #fff;
	color: var(--zkl-green-800);
}

.zkl a.zkl-btn--ghost-light {
	border-color: rgba(255, 255, 255, 0.4);
	background: transparent;
	color: #fff;
}

.zkl a.zkl-btn--ghost-light:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
}

.zkl .zkl-btn--block { justify-content: center; width: 100%; }

/* ------------------------------------------------------------------------
   KI-Kennzeichnung
   ------------------------------------------------------------------------ */

.zkl .zkl-ki {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 3px 8px;
	border-radius: 3px;
	background: rgba(10, 32, 16, 0.8);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

/* Avada-Textelement unter dem Hotspot-Bild (Klasse in den Element-Einstellungen). */
.zkl-ki-caption p,
.zkl-ki-caption {
	margin: 6px 0 0 !important;
	color: #6b7280;
	font-size: 0.78rem !important;
	line-height: 1.4 !important;
	text-align: right;
}

/* ------------------------------------------------------------------------
   Lightbox („Einblicke") — natives <dialog>, hängt am <body>
   ------------------------------------------------------------------------ */

html.zkl-lightbox-open { overflow: hidden; }

.zkl-lightbox {
	width: 100vw;
	height: 100vh;
	max-width: none;
	max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	overflow: hidden;
}

.zkl-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
}

.zkl-lightbox::backdrop { background: rgba(6, 18, 9, 0.96); }

.zkl-lightbox__figure {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: calc(100vw - 150px);
	margin: 0;
}

.zkl-lightbox__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 150px);
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
	object-fit: contain;
	touch-action: pan-y;
}

.zkl-lightbox__caption {
	max-width: 70ch;
	color: rgba(255, 255, 255, 0.88);
	font: 400 0.92rem/1.45 var(--zk-font-body, 'Roboto', Arial, sans-serif);
	text-align: center;
}

.zkl-lightbox__count {
	position: absolute;
	top: 22px;
	left: 22px;
	margin: 0;
	color: rgba(255, 255, 255, 0.75);
	font: 600 0.85rem/1 var(--zk-font-body, 'Roboto', Arial, sans-serif);
	letter-spacing: 0.06em;
}

.zkl-lightbox .zkl-lightbox__btn {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
	color: #fff;
	font: 400 30px/1 Arial, sans-serif;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.zkl-lightbox .zkl-lightbox__btn:hover { background: #94c13a; color: #0f2b0f; }

.zkl-lightbox .zkl-lightbox__btn:focus-visible { outline: 3px solid #94c13a; outline-offset: 2px; }

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

.zkl-lightbox .zkl-lightbox__close { top: 12px; right: 16px; }

.zkl-lightbox .zkl-lightbox__prev,
.zkl-lightbox .zkl-lightbox__next { top: 50%; transform: translateY(-50%); }

.zkl-lightbox .zkl-lightbox__prev { left: 16px; }
.zkl-lightbox .zkl-lightbox__next { right: 16px; }

@media (max-width: 640px) {
	.zkl-lightbox__figure { max-width: calc(100vw - 24px); }
	.zkl-lightbox__img { max-height: calc(100vh - 200px); }

	/* Blättern unten, Wischen geht zusätzlich. */
	.zkl-lightbox .zkl-lightbox__prev,
	.zkl-lightbox .zkl-lightbox__next { top: auto; bottom: 18px; transform: none; }

	.zkl-lightbox .zkl-lightbox__prev { left: calc(50% - 64px); }
	.zkl-lightbox .zkl-lightbox__next { right: calc(50% - 64px); }
}

/* ------------------------------------------------------------------------
   Detailseite
   ------------------------------------------------------------------------ */

.zkl .zkl-wrap {
	width: 100%;
	max-width: var(--site_width, 1200px);
	margin: 0 auto;
	padding-left: 24px;
	padding-right: 24px;
}

/* Kopfbereich nach Karstens Beitragsformat: ruhig, wenige Infos. */
.zkl .zkl-hero {
	padding: 30px 0 56px;
	background: var(--zkl-green-900);
	color: #fff;
}

.zkl .zkl-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 28px;
	font-size: 0.82rem;
}

.zkl .zkl-crumbs li + li::before {
	content: "/";
	margin: 0 8px;
	color: rgba(255, 255, 255, 0.4);
}

.zkl .zkl-crumbs a { color: rgba(255, 255, 255, 0.72); text-decoration: none; }
.zkl .zkl-crumbs a:hover { color: var(--zkl-accent); text-decoration: underline; }

.zkl .zkl-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 48px;
	align-items: end;
}

/* Logo auf heller Fläche — wie in den Praxisbeispiel-Padlets */
.zkl .zkl-hero__logo {
	width: 280px;
	max-width: 100%;
	height: 110px;
	margin: 0 0 30px;
	padding: 18px 26px;
	border-radius: 14px;
}

.zkl .zkl-hero__title {
	max-width: 22ch;
	margin: 0 0 12px;
	padding: 0;
	color: var(--zkl-accent);
	font-family: var(--zkl-font-display);
	font-size: clamp(1.9rem, 3.6vw, 2.8rem);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.12;
	text-transform: none;
}

.zkl .zkl-hero__claim {
	max-width: 40ch;
	margin: 0 0 14px;
	color: #fff;
	font-family: var(--zkl-font-display);
	font-size: clamp(1.15rem, 2vw, 1.5rem);
	font-weight: 400;
	line-height: 1.35;
}

.zkl .zkl-hero__branche {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.95rem;
}

.zkl .zkl-hero__icon {
	color: var(--zkl-accent);
	font-size: clamp(5rem, 9vw, 8rem);
	line-height: 1;
	opacity: 0.95;
}

/* Einleitung */
.zkl .zkl-intro {
	padding: 40px 0;
	background: var(--zkl-paper-2);
	border-bottom: 1px solid var(--zkl-line);
}

.zkl .zkl-intro__text {
	max-width: 72ch;
	font-size: 1.1rem;
}

/* „Die Lösung": links Partner-Kachel + Bilder, rechts die Texte */
.zkl .zkl-solution { padding: 56px 0 40px; }

.zkl .zkl-solution__head { margin: 0 0 28px; }

.zkl .zkl-overline {
	margin: 0 0 6px;
	color: var(--zkl-accent-ink);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.zkl .zkl-solution__title {
	margin: 0;
	padding: 0;
	color: var(--zkl-ink);
	font-family: var(--zkl-font-display);
	font-size: clamp(1.6rem, 2.6vw, 2.1rem);
	font-weight: 600;
	line-height: 1.2;
	text-transform: none;
}

.zkl .zkl-solution__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: 48px;
	align-items: start;
}

.zkl .zkl-solution__grid--single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

.zkl .zkl-solution__media { display: grid; gap: 14px; }

/* Partner-Kachel unverändert zeigen — kein Zuschnitt, keine Rundung */
.zkl .zkl-tile {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--zkl-radius);
	background: #fff;
}

.zkl .zkl-tile a.zkl-gallery__link { cursor: zoom-in; }
.zkl .zkl-tile .zkl-img { display: block; width: 100%; height: auto; }

.zkl .zkl-block + .zkl-block { margin-top: 28px; }

.zkl .zkl-block h3 {
	margin: 0 0 8px;
	padding: 0;
	color: var(--zkl-ink);
	font-family: var(--zkl-font-display);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
}

.zkl .zkl-solution__contact { margin: 24px 0 0; color: var(--zkl-muted); }

.zkl .zkl-solution__text .zkl-btn { margin-top: 30px; }

.zkl .zkl-prose {
	color: var(--zkl-text);
	font-size: 1.02rem;
	line-height: 1.75;
}

.zkl .zkl-prose p { margin: 0 0 1em; }
.zkl .zkl-prose ul,
.zkl .zkl-prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.zkl .zkl-prose ul { list-style: disc; }
.zkl .zkl-prose ol { list-style: decimal; }
.zkl .zkl-prose li { margin: 0 0 0.4em; }
.zkl .zkl-prose li::marker { color: var(--zkl-accent-ink); }
.zkl .zkl-prose a {
	color: var(--zkl-green-800);
	text-decoration: underline;
	overflow-wrap: anywhere; /* Quellen-URLs ohne Umbruchstelle (z. B. Stryker) */
}
.zkl .zkl-prose > :last-child { margin-bottom: 0; }

.zkl .zkl-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.zkl .zkl-gallery--1 { grid-template-columns: minmax(0, 1fr); }

/* Einheitliche Kacheln statt Höhe nach dem höchsten Bild — das ganze Bild
   zeigt die Lightbox. */
.zkl .zkl-gallery__item {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--zkl-line);
	border-radius: var(--zkl-radius);
	background: #fff;
}

.zkl .zkl-gallery--1 .zkl-gallery__item { aspect-ratio: 16 / 9; }

.zkl a.zkl-gallery__link {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	cursor: zoom-in;
}

.zkl .zkl-gallery__item .zkl-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	padding: 8px;
	object-fit: contain;
	transition: transform 0.25s ease;
}

.zkl a.zkl-gallery__link:hover .zkl-img { transform: scale(1.03); }

.zkl .zkl-gallery__zoom {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(10, 32, 16, 0.75) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 18px no-repeat;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.zkl a.zkl-gallery__link:hover .zkl-gallery__zoom,
.zkl a.zkl-gallery__link:focus-visible .zkl-gallery__zoom { opacity: 1; }

/* Touch-Geräte kennen kein Hover — dort den Hinweis immer zeigen. */
@media (hover: none) {
	.zkl .zkl-gallery__zoom { opacity: 1; }
}

.zkl .zkl-faq { padding-top: 16px; padding-bottom: 24px; }

.zkl .zkl-faq__title {
	margin: 0 0 16px;
	padding: 0;
	color: var(--zkl-ink);
	font-family: var(--zkl-font-display);
	font-size: 1.5rem;
	font-weight: 600;
	text-transform: none;
}

.zkl .zkl-faq__item {
	margin: 0 0 10px;
	border: 1px solid var(--zkl-line);
	border-radius: var(--zkl-radius);
	background: #fff;
}

.zkl .zkl-faq__item summary {
	padding: 14px 18px;
	color: var(--zkl-ink);
	font-weight: 600;
	cursor: pointer;
}

.zkl .zkl-faq__item .zkl-prose { padding: 0 18px 16px; }

/* Freier Avada-Bereich — liegt außerhalb der .zkl-Hülle, Avada stylt selbst. */
.zkl-free { margin: 8px 0 32px; }

.zkl-free__text {
	max-width: var(--site_width, 1200px);
	margin: 0 auto;
	padding: 0 24px;
}

/* Hinweis zur Herkunft der Inhalte (aus den Padlets) */
.zkl .zkl-note {
	margin: 16px 0 48px;
	padding: 18px 22px;
	border-left: 4px solid var(--zkl-accent);
	background: var(--zkl-paper-2);
	color: var(--zkl-muted);
	font-size: 0.88rem;
	line-height: 1.6;
}

.zkl .zkl-note p { margin: 0; }
.zkl .zkl-note .zkl-note__meta { margin-top: 8px; color: var(--zkl-soft); font-size: 0.82rem; }
.zkl .zkl-note a { color: var(--zkl-green-800); }

.zkl .zkl-related {
	padding: 48px 0 52px;
	border-top: 1px solid var(--zkl-line);
	background: var(--zkl-paper-2);
}

.zkl .zkl-related__title {
	margin: 0 0 22px;
	padding: 0;
	color: var(--zkl-ink);
	font-family: var(--zkl-font-display);
	font-size: 1.6rem;
	font-weight: 600;
	line-height: 1.25;
	text-transform: none;
}

.zkl .zkl-back { padding-top: 28px; padding-bottom: 56px; }

.zkl a.zkl-back__link {
	color: var(--zkl-green-800);
	font-weight: 600;
	text-decoration: none;
}

.zkl a.zkl-back__link:hover { color: var(--zkl-accent-ink); text-decoration: underline; }

/* ------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------ */

@media (max-width: 1100px) {
	.zkl .zkl-grid,
	.zkl .zkl-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.zkl .zkl-nav__layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }

	/* Kategorien als umbrechende Chips — wie „Zertifikate & Nachweise". */
	.zkl .zkl-kats {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.zkl .zkl-kat {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		width: auto;
		padding: 7px 12px;
		border: 1px solid var(--zkl-line);
		border-radius: 999px;
		font-size: 0.85rem;
		font-weight: 400;
		line-height: 1.2;
	}

	.zkl .zkl-kat:hover:not(:disabled) { border-color: var(--zkl-accent); background: #fff; }

	.zkl .zkl-kat[aria-pressed="true"] {
		border-color: var(--zkl-accent);
		background: var(--zkl-accent);
		color: var(--zkl-green-900);
		font-weight: 600;
	}

	.zkl .zkl-kat__icon { font-size: 0.85rem; }
	.zkl .zkl-kat[aria-pressed="true"] .zkl-kat__icon { color: var(--zkl-green-900); }

	.zkl .zkl-kat__count,
	.zkl .zkl-kat[aria-pressed="true"] .zkl-kat__count {
		min-width: 0;
		padding: 0;
		background: none;
		color: inherit;
		font-size: 0.75rem;
		opacity: 0.75;
	}

	.zkl .zkl-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.zkl .zkl-hero__icon { display: none; }
	/* Einspaltig: Text zuerst, Kachel und Bilder danach */
	.zkl .zkl-solution__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
	.zkl .zkl-solution__media { order: 2; }
}

@media (max-width: 640px) {
	.zkl .zkl-grid,
	.zkl .zkl-grid--2,
	.zkl .zkl-grid--3 { grid-template-columns: minmax(0, 1fr); }

	.zkl .zkl-wrap { padding-left: 16px; padding-right: 16px; }
	.zkl .zkl-hero { padding: 24px 0 40px; }
	.zkl .zkl-hero__logo { width: 220px; height: 90px; margin-bottom: 22px; }
	/* Lange Komposita („Nachhaltigkeitsscout") sprengen sonst die Titelfläche. */
	.zkl .zkl-hero__title { overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
	.zkl-free__text { padding: 0 16px; }
}

/* Navigator nach eigener Breite (nach den Media Queries, damit diese Regeln gewinnen). */
@container zkl-nav (max-width: 1100px) {
	.zkl .zkl-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@container zkl-nav (max-width: 820px) {
	.zkl .zkl-nav__layout { grid-template-columns: minmax(0, 1fr); gap: 22px; }

	/* Kategorien als umbrechende Chips — wie „Zertifikate & Nachweise". */
	.zkl .zkl-kats {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	.zkl .zkl-kat {
		display: inline-flex;
		align-items: center;
		gap: 6px;
		width: auto;
		padding: 7px 12px;
		border: 1px solid var(--zkl-line);
		border-radius: 999px;
		font-size: 0.85rem;
		font-weight: 400;
		line-height: 1.2;
	}

	.zkl .zkl-kat:hover:not(:disabled) { border-color: var(--zkl-accent); background: #fff; }

	.zkl .zkl-kat[aria-pressed="true"] {
		border-color: var(--zkl-accent);
		background: var(--zkl-accent);
		color: var(--zkl-green-900);
		font-weight: 600;
	}

	.zkl .zkl-kat__icon { font-size: 0.85rem; }
	.zkl .zkl-kat[aria-pressed="true"] .zkl-kat__icon { color: var(--zkl-green-900); }

	.zkl .zkl-kat__count,
	.zkl .zkl-kat[aria-pressed="true"] .zkl-kat__count {
		min-width: 0;
		padding: 0;
		background: none;
		color: inherit;
		font-size: 0.75rem;
		opacity: 0.75;
	}
}

@container zkl-nav (max-width: 540px) {
	.zkl .zkl-grid,
	.zkl .zkl-grid--2,
	.zkl .zkl-grid--3 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
	.zkl a.zkl-card__link,
	.zkl .zkl-kat,
	.zkl .zkl-chip { transition: none; }

	.zkl a.zkl-card__link:hover { transform: none; }
}
