/* ==========================================================================
   M26 Notizzettel – Figma 49:67 (desktop collage 840 × 600) / 50:65 (stacked)
   ========================================================================== */

section.m26_zettel .m26_collage_container {
	display: flex;
	justify-content: center;
	padding-top: 72px;
}

section.m26_zettel .m26_collage {
	position: relative;
	width: 840px;
	height: 600px;
	margin: 0;
	padding: 0;
	list-style: none;
}

section.m26_zettel .m26_note {
	position: absolute;
	margin: 0;
	padding: 0;
}

section.m26_zettel .m26_note::before {
	content: none;
}

/* Positions and angles from Figma (left / top / width / rotation) */
section.m26_zettel .m26_note:nth-child(1) { left: 0;     top: 0;     width: 440px; transform: rotate(-2deg); }
section.m26_zettel .m26_note:nth-child(2) { left: 390px; top: 92px;  width: 440px; transform: rotate(2deg); }
section.m26_zettel .m26_note:nth-child(3) { left: 16px;  top: 192px; width: 450px; transform: rotate(-1.5deg); }
section.m26_zettel .m26_note:nth-child(4) { left: 340px; top: 292px; width: 480px; transform: rotate(1.5deg); }
section.m26_zettel .m26_note:nth-child(5) { left: 24px;  top: 392px; width: 380px; transform: rotate(-2deg); }
section.m26_zettel .m26_note:nth-child(6) { left: 310px; top: 492px; width: 480px; transform: rotate(1deg); }

section.m26_zettel .m26_note_inner {
	padding: 16px 20px;
	background-color: var(--btw_weiss);
	border: 1px solid var(--btw_linie);
}

section.m26_zettel .m26_note p {
	margin: 0;
}

section.m26_zettel .m26_note_meta {
	font-size: 0.625rem;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--btw_hellgrau);
}

section.m26_zettel .m26_note_text_container {
	padding-top: 6px;
}

section.m26_zettel .m26_note_text {
	font-size: 0.9375rem;
	line-height: 1.65;
	color: var(--btw_schwarz);
}

section.m26_zettel .m26_note--dezent .m26_note_text {
	color: var(--btw_grau);
}

section.m26_zettel .m26_note--dunkel .m26_note_inner {
	background-color: var(--btw_grau);
	border-color: var(--btw_grau);
}

section.m26_zettel .m26_note--dunkel .m26_note_meta {
	color: var(--btw_linie);
}

section.m26_zettel .m26_note--dunkel .m26_note_text {
	font-weight: 500;
	color: var(--btw_weiss);
}

/* Text below the notes */
section.m26_zettel .m26_inhalt_container {
	max-width: 640px;
	padding-top: 48px;
	font-size: 1rem;
	line-height: 1.65;
}

section.m26_zettel .m26_inhalt_container > p + p {
	margin-top: 16px;
}

section.m26_zettel .m26_fazit_container {
	max-width: 700px;
	padding-top: 48px;
}

section.m26_zettel .m26_fazit {
	margin: 0;
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -0.04em;
}

/* Stacked notes below the collage width */
@media all and (max-width: 991px) {
	section.m26_zettel .m26_collage_container {
		display: block;
		padding-top: 40px;
	}

	section.m26_zettel .m26_collage {
		display: flex;
		flex-direction: column;
		gap: 12px;
		width: auto;
		height: auto;
		max-width: 560px;
	}

	section.m26_zettel .m26_note,
	section.m26_zettel .m26_note:nth-child(n) {
		position: static;
		width: calc(100% - 18px);
		transform: rotate(-1.5deg);
	}

	section.m26_zettel .m26_note:nth-child(2n) {
		margin-left: 18px;
		transform: rotate(1.5deg);
	}

	section.m26_zettel .m26_note--desktop_only {
		display: none;
	}

	section.m26_zettel .m26_note_inner {
		padding: 14px 16px;
	}

	section.m26_zettel .m26_note_meta {
		font-size: 0.5625rem;
		line-height: 1.5;
	}

	section.m26_zettel .m26_note_text_container {
		padding-top: 4px;
	}

	section.m26_zettel .m26_note_text {
		font-size: 0.875rem;
		line-height: 1.5;
	}

	section.m26_zettel .m26_note--dunkel .m26_note_text {
		font-weight: 400;
	}
}

@media all and (max-width: 575px) {
	section.m26_zettel .m26_inhalt_container {
		padding-top: 32px;
		font-size: 0.9375rem;
	}

	section.m26_zettel .m26_inhalt_container > p + p {
		margin-top: 14px;
	}

	section.m26_zettel .m26_fazit_container {
		padding-top: 32px;
	}

	section.m26_zettel .m26_fazit {
		font-size: 1.625rem;
		line-height: 1.3;
	}
}
