/* =========================================================
   M17 - Accordion (hone)
   Tokens: band #2b2b2b | bar #303030 | gold #a5936f
   Font: cresta | Font-Sizes in rem (Basis 20px), Spacing in px.
   Figma: 06_Leistungen "FAQ" — dunkles Band, zentrierter Titel
   (Gold-span), Zeilen #303030 (83px), Gold-Plus-Icon 41px rechts.
   ========================================================= */

section.m17_accordion {
	background: transparent;
	/* Vertikal-Abstand kommt aus dem Abstand-Klonfeld (data-innerer-abstand) */
}

/* Band (Wrapper-Klasse hone_faq) */
section.m17_accordion.hone_faq {
	background-color: #2b2b2b;
}

/* ---------- Titel (per JS in .mM_title_container injiziert) ---------- */
section.m17_accordion .m17_titel {
	margin: 0;
	line-height: 1;
	font-weight: 500;
	letter-spacing: 0.875px;
	text-transform: uppercase;
	color: #fff;
}

section.m17_accordion .m17_titel span {
	color: #a5936f;
}

section.m17_accordion.hone_faq .m17_titel_container {
	margin-bottom: 55px;
	text-align: center;
}

/* ---------- Items ---------- */
section.m17_accordion .m17_akkordeon_items {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

section.m17_accordion .m17_akkordeon_item {
	border: 0;
}

/* Head (ist ein <button>) */
section.m17_accordion .m17_akkordeon_item_head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 30px;
	width: 100%;
	min-height: 83px;
	padding: 14px 25px 14px 49px;
	margin: 0;
	background-color: #303030;
	border: 0;
	border-radius: 0;
	text-align: left;
	font-family: inherit;
	cursor: pointer;
	transition: background-color .3s;
}

section.m17_accordion .m17_akkordeon_item_head:hover {
	background-color: #363636;
}

/* Beschriftung */
section.m17_accordion .m17_akkordeon_item_head_beschriftung * {
	margin: 0;
	font-size: 0.9rem;         /* 18px (Basis 20px) */
	line-height: 1.4;
	font-weight: 500;
	letter-spacing: 0.4px;
	color: #fff;
	transition: color .3s;
}

/* Icon: Gold-Quadrat mit Plus (SVG des Basis-Markups wird versteckt) */
section.m17_accordion .m17_akkordeon_item_head_icon_container svg {
	display: none;
}

section.m17_accordion .m17_akkordeon_item_head_icon_container {
	flex: 0 0 41px;
	width: 41px;
	height: 41px;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #6f6f6f;              /* Sekundaer-Button-Look: Rahmen, transparent */
	background-color: transparent;
	transition: border-color .3s;
}

/* Hover/geoeffnet: wie Sekundaer-Button beim Hover (Gold-Rahmen) */
section.m17_accordion .m17_akkordeon_item_head:hover .m17_akkordeon_item_head_icon_container,
section.m17_accordion .m17_akkordeon_item.active .m17_akkordeon_item_head_icon_container {
	border-color: #a5936f;
}

/* Normales Plus-Zeichen (Textglyph, wie im Figma) */
section.m17_accordion .m17_akkordeon_item_head_icon_container::before {
	content: '+';
	color: #fff;
	font-size: 24px;
	line-height: 1;
	font-weight: 300;
	margin-bottom: 5px;
	margin-left: 1px;
	transition: transform .3s;
}

/* Geoeffnet: Plus dreht zum × */
section.m17_accordion .m17_akkordeon_item.active .m17_akkordeon_item_head_icon_container::before {
	transform: rotate(45deg);
	margin-bottom: 3px;
	margin-left: 3px;
}

/* ---------- Content (max-height-Animation via JS) ---------- */
section.m17_accordion .m17_akkordeon_item_content {
	max-height: 0;
	overflow: hidden;
	background-color: #303030;
	transition: max-height .4s ease;
}

section.m17_accordion .m17_akkordeon_item_content_main {
	padding: 4px 49px 34px 49px;
	font-size: 0.9rem;         /* 18px (Basis 20px) */
	line-height: 1.4444;       /* 26px */
	letter-spacing: 0.45px;
	font-weight: 300;
	color: rgba(255, 255, 255, 0.8);
}

section.m17_accordion .m17_akkordeon_item_content_main p {
	margin: 0 0 16px 0;
}

section.m17_accordion .m17_akkordeon_item_content_main p:last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	section.m17_accordion .m17_titel {
		line-height: 1.15;
	}
	section.m17_accordion .m17_akkordeon_item_head {
		padding: 14px 16px 14px 24px;
		gap: 16px;
	}
	section.m17_accordion .m17_akkordeon_item_content_main {
		padding: 4px 24px 28px 24px;
	}
}
