/* KK FAQ – Akkordeon (Front-End & Editor) */

.kk-faq {
	--kk-faq-border: rgba(0, 0, 0, 0.12);
}

.kk-faq .kk-faq__item {
	border-bottom: 1px solid var(--kk-faq-border);
}

.kk-faq .kk-faq__item:first-child {
	border-top: 1px solid var(--kk-faq-border);
}

/* Frage / Trigger */
.kk-faq .kk-faq__q {
	margin: 0;
	font-size: inherit;
	line-height: 1.35;
}

.kk-faq .kk-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	margin: 0;
	padding: 1rem 0;
	background: none;
	border: 0;
	cursor: pointer;
	text-align: left;
	color: inherit;
	font: inherit;
	font-weight: 600;
}

.kk-faq .kk-faq__q-text {
	flex: 1 1 auto;
}

/* Chevron (FontAwesome Light, currentColor) – dreht sich beim Öffnen */
.kk-faq .kk-faq__icon {
	flex: 0 0 auto;
	width: 0.85em;
	height: 0.85em;
	background-color: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M244.7%20412.7c6.2%206.2%2016.4%206.2%2022.6%200l208-208c6.2-6.2%206.2-16.4%200-22.6s-16.4-6.2-22.6%200L256%20378.7%2059.3%20182.1c-6.2-6.2-16.4-6.2-22.6%200s-6.2%2016.4%200%2022.6l208%20208z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%20512%20512%27%3E%3Cpath%20d%3D%27M244.7%20412.7c6.2%206.2%2016.4%206.2%2022.6%200l208-208c6.2-6.2%206.2-16.4%200-22.6s-16.4-6.2-22.6%200L256%20378.7%2059.3%20182.1c-6.2-6.2-16.4-6.2-22.6%200s-6.2%2016.4%200%2022.6l208%20208z%27%2F%3E%3C%2Fsvg%3E") center / contain no-repeat;
	transition: transform 0.25s ease;
}

.kk-faq .kk-faq__trigger[aria-expanded="true"] .kk-faq__icon {
	transform: rotate(180deg);
}

.kk-faq .kk-faq__trigger:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
	border-radius: 2px;
}

/* Antwort */
.kk-faq .kk-faq__a-inner {
	padding: 0 0 1rem;
}

.kk-faq .kk-faq__a-inner > :first-child {
	margin-top: 0;
}

.kk-faq .kk-faq__a-inner > :last-child {
	margin-bottom: 0;
}

/* Ein-/ausklappbar nur, wenn JS aktiv ist (sonst alles sichtbar).
   Die Höhe wird von faq-view.js animiert; der äußere Wrapper klippt die
   Innen-Polsterung mit weg, sodass sauber auf 0 eingeklappt wird. */
.kk-faq--enhanced .kk-faq__a {
	height: 0;
	overflow: hidden;
	transition: height 0.28s ease;
}

/* Ausgeblendet durch einen Filter der Übersichtsseite (später). */
.kk-faq .kk-faq__item.is-hidden {
	display: none;
}

@media ( prefers-reduced-motion: reduce ) {
	.kk-faq .kk-faq__icon,
	.kk-faq--enhanced .kk-faq__a {
		transition: none;
	}
}
