/* ============================================
   SCHEITZA FAQ MANAGER – FRONTEND STYLES
   ============================================ */

.sfaq-container {
	--sfaq-accent: #1a2540;
	margin: 1.5rem 0;
}

.sfaq-heading {
	margin: 0 0 1.25rem 0;
	color: #1a2540;
}

.sfaq-list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

/* Einzelnes Akkordeon-Item */
.sfaq-item {
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-left: 3px solid var(--sfaq-accent);
	border-radius: 6px;
	background: #fff;
	transition: border-color .2s, box-shadow .2s;
}

.sfaq-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.sfaq-item[open] {
	border-color: var(--sfaq-accent);
}

/* Frage / Summary */
.sfaq-question {
	list-style: none;
	cursor: pointer;
	padding: 1rem 1.25rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	color: #1a2540;
	font-weight: 600;
	line-height: 1.4;
	user-select: none;
	transition: color .15s;
}

.sfaq-question::-webkit-details-marker {
	display: none;
}

.sfaq-question:hover {
	color: var(--sfaq-accent);
}

/* Icon (Plus/Minus) */
.sfaq-icon {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	position: relative;
}

.sfaq-icon::before,
.sfaq-icon::after {
	content: "";
	position: absolute;
	background: var(--sfaq-accent);
	border-radius: 1px;
	transition: transform .25s ease;
}

.sfaq-icon::before {
	top: 50%;
	left: 0;
	right: 0;
	height: 2px;
	transform: translateY(-50%);
}

.sfaq-icon::after {
	left: 50%;
	top: 0;
	bottom: 0;
	width: 2px;
	transform: translateX(-50%);
}

.sfaq-item[open] .sfaq-icon::after {
	transform: translateX(-50%) rotate(90deg);
	opacity: 0;
}

/* Antwort */
.sfaq-answer {
	padding: 0 1.25rem 1.25rem 1.25rem;
	color: #3a3a3a;
	line-height: 1.6;
}

.sfaq-answer > *:first-child {
	margin-top: 0;
}

.sfaq-answer > *:last-child {
	margin-bottom: 0;
}

.sfaq-answer p {
	margin: 0 0 0.75rem 0;
}

.sfaq-answer p:last-child {
	margin-bottom: 0;
}

.sfaq-answer a {
	color: var(--sfaq-accent);
}

/* Mobile */
@media (max-width: 600px) {
	.sfaq-question {
		padding: 0.875rem 1rem;
		font-size: 0.95rem;
	}
	.sfaq-answer {
		padding: 0 1rem 1rem 1rem;
		font-size: 0.95rem;
	}
}
