/* =========================================================================
 * Datenschutzerklärung – Akkordeon (ohne Suche, ohne Werkzeugleiste)
 * -------------------------------------------------------------------------
 * Maße, Striche (Stroke) und die animierten Toggle-Icons sind 1:1 vom
 * Pressespiegel-Akkordeon der Seite „Verein Update" übernommen:
 *   Wrapper 92vw / max 1264px, viewport-zentriert (margin-inline:auto);
 *   Strich 1px #111 über jedem Abschnitt; Kopf-Padding 1.6rem;
 *   Toggle = 50px-Kreis mit Plus → schwarz gefüllt + weißes × (rotiert 45°).
 * H1 „Datenschutz" wie die Verein-Überschriften (50px). Top-Abstand wie
 * „Wir machen los" auf Verein Update. Wird nur auf der Datenschutz-Seite
 * geladen (siehe losmachen-custom.php).
 * ========================================================================= */

.lm-ds {
	/* Breite + Position exakt wie .lm-verein-wrap (Verein Update). */
	width: 92vw;
	max-width: 1264px;
	margin-inline: auto;
	/* Top-Abstand wie „Wir machen los" zum Seitenanfang auf Verein Update. */
	padding-top: clamp( 6rem, 12vw, 12.75rem );
	padding-bottom: 7.1875rem;
	font-family: var( --lm-mono );
	color: #000;
}
.lm-ds :where( h1, h2, h3, p, a, li, span, strong ) {
	font-family: var( --lm-mono );
}

/* ---- H1 „Datenschutz" – wie Verein-Überschriften (50px) ---- */
.lm-ds__h1 {
	font-weight: 700;
	font-size: clamp( 2.25rem, 3.9vw, 3.125rem );   /* 50px */
	line-height: 1.15;
	margin: 0 0 2rem;
}

/* ---- Akkordeon-Element = <details>; Strich oben wie Pressespiegel ---- */
.lm-ds__item {
	border-top: 1px solid #111;
}

.lm-ds__summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.6rem 0;                               /* wie Pressespiegel */
	outline: none;
}
.lm-ds__summary::-webkit-details-marker { display: none; }
.lm-ds__summary::marker { content: ""; }
.lm-ds__summary:focus-visible {
	outline: 2px solid #000;
	outline-offset: 3px;
}
.lm-ds__title {
	font-weight: 700;
	font-size: 1.93rem;                              /* 30,9px wie Figma/Pressespiegel */
	line-height: 1.2;
}

/* ---- Animiertes Toggle-Icon (wie Pressespiegel):
 *   geschlossen = Outline-Kreis + Plus, offen = schwarz gefüllt + weißes × ---- */
.lm-ds__toggle {
	width: 3.125rem;                                 /* 50px */
	height: 3.125rem;
	border: 2px solid #000;
	border-radius: 999px;
	position: relative;
	flex: 0 0 auto;
	transition: background 0.2s ease, transform 0.2s ease;
}
.lm-ds__toggle::before,
.lm-ds__toggle::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	background: #000;
}
.lm-ds__toggle::before { width: 40%; height: 2px; }
.lm-ds__toggle::after  { width: 2px; height: 40%; }
.lm-ds__item[open] .lm-ds__toggle {
	background: #000;
	transform: rotate( 45deg );
}
.lm-ds__item[open] .lm-ds__toggle::before,
.lm-ds__item[open] .lm-ds__toggle::after {
	background: #fff;
}

/* ---- Inhalt – Fließtext wie Verein (18px) ---- */
.lm-ds__body {
	padding: 0 0 1.6rem;
	font-size: 1.125rem;
	line-height: 1.6;
	max-width: 48rem;
}
.lm-ds__body p { margin: 0 0 0.9rem; font-weight: 500; }
.lm-ds__body p:last-child { margin-bottom: 0; }
.lm-ds__body ul {
	margin: 0 0 0.9rem;
	padding-left: 1.25rem;
	list-style: disc;
}
.lm-ds__body li { margin: 0.2rem 0; }
.lm-ds__body a {
	color: #000;
	text-decoration: underline;
	text-underline-offset: 2px;
}
.lm-ds__body a:hover { color: #ff4c00; }

/* ---- Tablet / Mobile: Breite bleibt 92vw (wie Verein); Icon/Titel kompakter ---- */
@media ( max-width: 768px ) {
	.lm-ds__title { font-size: 1.5rem; }
}
@media ( max-width: 600px ) {
	.lm-ds__title { font-size: 1.35rem; line-height: 1.25; }
	.lm-ds__toggle { width: 2.5rem; height: 2.5rem; }
	.lm-ds__body { font-size: 1.05rem; }
}
