/*
 * Bausteine (E2): Block-Styles und Pattern-CSS.
 * Gilt im Frontend und im Editor (add_editor_style). Relative url() zeigen auf
 * assets/img/deko/ – WordPress schreibt sie für den Editor um.
 * Registrierung der Styles: inc/block-styles.php. Entscheidungen: D19–D23.
 */

/* --- Überschriften ------------------------------------------------------- */

/* „Mit Initiale“: erster Buchstabe in Playfair Black (D2, D21; aufrecht statt kursiv,
   weil die kursiven Z/K-Formen aus der Reihe tanzen – D29).
   „Mit Pinselstrich“ bringt die Initiale auf H1/H2 automatisch mit. */
.wp-block-heading.is-style-initiale::first-letter,
h1.wp-block-heading.is-style-pinselstrich::first-letter,
h2.wp-block-heading.is-style-pinselstrich::first-letter {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 900;
	font-style: normal;
	font-size: 1.55em;
	line-height: 0.8;
	color: var(--wp--preset--color--dunkelblau);
	letter-spacing: 0;
	margin-right: 0.06em;
	text-shadow: 0.07em 0.07em 0 var(--wp--preset--color--gelb);
}

/* Auf Blau (weiße Überschrift): Initiale gelb mit dunkelblauem Versatz */
.has-weiss-color.is-style-initiale::first-letter {
	color: var(--wp--preset--color--gelb);
	text-shadow: 0.07em 0.07em 0 var(--wp--preset--color--dunkelblau);
}

/* „Mit Pinselstrich“: gelber Strich hinter dem Text, so breit wie der Text (D19). */
.wp-block-heading.is-style-pinselstrich {
	display: block;
	width: fit-content;
	max-width: 100%;
	box-sizing: border-box;
	/* Constrained-Layout zentriert Kinder (!important) – fit-content-Box an die linke Kante
	   der Textspalte setzen: (Containerbreite − contentSize) / 2, mindestens 0. */
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
	margin-right: auto !important;
	padding: 0.18em 0.7em 0.22em;
	background: url(../img/deko/pinselstrich.svg) center / 100% 100% no-repeat;
}

.wp-block-heading.is-style-pinselstrich.has-text-align-center {
	margin-left: auto !important;
	margin-right: auto !important;
}

.wp-block-heading.is-style-pinselstrich.has-text-align-right {
	margin-left: auto !important;
	margin-right: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
}

/* --- Bilder ---------------------------------------------------------------- */

.wp-block-image.is-style-rund img,
.wp-block-image.is-style-blob img,
.wp-block-image.is-style-freiform img {
	width: 100%;
	object-fit: cover;
}

.wp-block-image.is-style-rund img {
	aspect-ratio: 1;
	border-radius: 50%;
}

.wp-block-image.is-style-blob img,
.wp-block-image.is-style-freiform img {
	border-radius: 0;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center;
	mask-position: center;
}

.wp-block-image.is-style-blob img {
	aspect-ratio: 4 / 3;
	-webkit-mask-image: url(../img/deko/blob-1.svg);
	mask-image: url(../img/deko/blob-1.svg);
}

.wp-block-image.is-style-freiform img {
	aspect-ratio: 1;
	-webkit-mask-image: url(../img/deko/freiform.svg);
	mask-image: url(../img/deko/freiform.svg);
}

/* --- Gruppen: Text-Blobs (D23) --------------------------------------------- */

.wp-block-group.is-style-blob-1,
.wp-block-group.is-style-blob-2,
.wp-block-group.is-style-blob-3 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	text-align: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 100% 100%;
	mask-size: 100% 100%;
	-webkit-mask-position: center;
	mask-position: center;
	border-radius: 0;
}

.wp-block-group.is-style-blob-1 > *,
.wp-block-group.is-style-blob-2 > *,
.wp-block-group.is-style-blob-3 > * {
	width: 100%;
	max-width: none;
}

.wp-block-group.is-style-blob-1 {
	aspect-ratio: 485 / 275;
	padding: 15% 18% 19%;
	-webkit-mask-image: url(../img/deko/blob-1.svg);
	mask-image: url(../img/deko/blob-1.svg);
}

.wp-block-group.is-style-blob-2 {
	aspect-ratio: 508 / 437;
	padding: 24% 18%;
	-webkit-mask-image: url(../img/deko/blob-2.svg);
	mask-image: url(../img/deko/blob-2.svg);
}

.wp-block-group.is-style-blob-3 {
	aspect-ratio: 528 / 454;
	padding: 22% 18%;
	-webkit-mask-image: url(../img/deko/blob-3.svg);
	mask-image: url(../img/deko/blob-3.svg);
}

/* Ohne gewählte Hintergrundfarbe wäre der Blob unsichtbar – Hellblau als Netz. */
.wp-block-group.is-style-blob-1:not(.has-background),
.wp-block-group.is-style-blob-2:not(.has-background),
.wp-block-group.is-style-blob-3:not(.has-background) {
	background-color: var(--wp--preset--color--hellblau);
}

/* --- Absätze ---------------------------------------------------------------- */

/* „Handschrift“: Caveat, wie „Schreibt uns!“ auf der alten Kontaktseite (D2). */
.wp-block-paragraph.is-style-handschrift,
p.is-style-handschrift {
	font-family: var(--wp--preset--font-family--script);
	font-size: 2.25rem;
	line-height: 1.1;
	color: var(--wp--preset--color--blau);
}

/* „Namensschild“: weißes Etikett mit hartem gelbem Schatten, leicht gekippt – wie die
   Sticker und Polaroids (E3-Feedback: das beige, gestrichelte Schild des Originals passte nicht). */
p.is-style-namensschild {
	display: block;
	width: fit-content;
	max-width: 100%;
	margin-inline: auto;
	padding: 0.5rem 1.4rem;
	background: var(--wp--preset--color--weiss);
	border: 0;
	border-radius: 0.6rem;
	box-shadow: 0.3rem 0.35rem 0 var(--wp--preset--color--gelb);
	transform: rotate(-2deg);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--gross);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	color: var(--wp--preset--color--textblau);
}

.has-text-align-left > p.is-style-namensschild,
p.is-style-namensschild.has-text-align-left {
	margin-inline: 0 auto;
}

/* --- Tabelle: Preisliste ---------------------------------------------------- */

.wp-block-table.is-style-preisliste table {
	max-width: 36rem;
	font-size: var(--wp--preset--font-size--gross);
	border-collapse: collapse;
}

.wp-block-table.is-style-preisliste td,
.wp-block-table.is-style-preisliste th {
	border: 0;
	border-bottom: 1px solid var(--wp--custom--farbe--linie);
	padding: 0.9rem 0.75rem;
	background: transparent;
	vertical-align: baseline;
}

.wp-block-table.is-style-preisliste tr:first-child td,
.wp-block-table.is-style-preisliste tr:first-child th {
	border-top: 1px solid var(--wp--custom--farbe--linie);
}

.wp-block-table.is-style-preisliste td:last-child,
.wp-block-table.is-style-preisliste th:last-child {
	text-align: right;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

@media (max-width: 599px) {
	.wp-block-table.is-style-preisliste table {
		font-size: var(--wp--preset--font-size--normal);
	}
}

/* --- Zitat: mit Anführungszeichen ------------------------------------------- */

.wp-block-quote.is-style-anfuehrungszeichen {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--gross);
	font-weight: 400;
	color: var(--wp--preset--color--textblau);
	position: relative;
	box-sizing: border-box;
	max-width: 44rem;
	margin-inline: auto;
	padding: 4.25rem 2.5rem 3.75rem;
	border-left: 3px solid var(--wp--custom--farbe--blau-mittel);
	border-right: 3px solid var(--wp--custom--farbe--blau-mittel);
	border-top: 0;
	border-bottom: 0;
	border-radius: 2.5rem 0 2.5rem 0;
}

.wp-block-quote.is-style-anfuehrungszeichen::before,
.wp-block-quote.is-style-anfuehrungszeichen::after {
	position: absolute;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 6rem;
	line-height: 1;
	color: var(--wp--custom--farbe--blau-mittel);
	pointer-events: none;
}

.wp-block-quote.is-style-anfuehrungszeichen::before {
	content: "\201C";
	top: 0.5rem;
	left: 1.25rem;
}

.wp-block-quote.is-style-anfuehrungszeichen::after {
	content: "\201D";
	bottom: -0.25rem;
	right: 1.25rem;
}

@media (max-width: 599px) {
	.wp-block-quote.is-style-anfuehrungszeichen {
		padding: 3.5rem 1.25rem 4.5rem;
		border-radius: 1.5rem 0 1.5rem 0;
	}

	.wp-block-quote.is-style-anfuehrungszeichen::before,
	.wp-block-quote.is-style-anfuehrungszeichen::after {
		font-size: 4.5rem;
	}

	.wp-block-quote.is-style-anfuehrungszeichen::after {
		bottom: 0;
	}
}

/* --- Patterns ----------------------------------------------------------------- */

/* Gedrehte Fotos/Karten und Blob-Schatten dürfen nicht horizontal scrollen. */
.wp-block-post-content {
	overflow-x: clip;
}

/* In den Singles (Seminar/Rückblick) ist der Inhalt nur die Textspalte – dort clippt
   stattdessen die vollbreite Sektion, sonst werden Schatten an der Spaltenkante abgeschnitten. */
.seminar-inhalt .wp-block-post-content,
.rueckblick-inhalt .wp-block-post-content {
	overflow-x: visible;
}

.dsw-sektion.seminar-inhalt,
.dsw-sektion.rueckblick-inhalt {
	overflow-x: clip;
}

/* Sektionen: vollbreit, fester Abstand oben/unten (mobil kleiner). */
.dsw-sektion {
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: var(--wp--preset--spacing--50);
}

/* Farbige Sektionen: organische Oberkante, überlappt die Sektion davor (D28) */
.dsw-sektion.has-background {
	/* Überlappung = Maskenhöhe (3.5rem): die Welle taucht bis 70/80 der Maske ab –
	   bei weniger Überlappung blieb an den Wellentälern ein heller Streifen. */
	margin-top: -3.5rem;
	padding-top: calc(var(--wp--preset--spacing--50) + 3.5rem);
	-webkit-mask: url(../img/deko/welle-oben.svg) top / 100% 3.5rem no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 3.5rem + 1px) no-repeat;
	mask: url(../img/deko/welle-oben.svg) top / 100% 3.5rem no-repeat, linear-gradient(#000, #000) bottom / 100% calc(100% - 3.5rem + 1px) no-repeat;
}

/* Folgt eine farbige Sektion (Wellenkante überlappt 3.5rem), bekommt die Sektion davor
   die Überlappung als Luft dazu – sonst berührt ihr Inhalt die Welle. */
.dsw-sektion:has(+ .dsw-sektion.has-background),
.dsw-sektion:has(+ .hero-start) {
	padding-bottom: calc(var(--wp--preset--spacing--50) + 3.5rem);
}

@media (max-width: 781px) {
	.dsw-sektion {
		padding-top: var(--wp--preset--spacing--40);
		padding-bottom: var(--wp--preset--spacing--40);
	}

	.dsw-sektion:has(+ .dsw-sektion.has-background),
	.dsw-sektion:has(+ .hero-start) {
		padding-bottom: calc(var(--wp--preset--spacing--40) + 3.5rem);
	}
}

/* Hero Start (D18/D28): ganz in Blau, Foto als Blob mit gelbem Blob-Schatten, Ballon,
   Konfetti, Wellenkante nach unten. */
.wp-block-columns.hero-start {
	position: relative;
	overflow: hidden;
	padding-bottom: 3rem;
	/* Ultrawide: Inhalt bleibt auf Wide-Breite zentriert, Blau läuft durch */
	padding-inline: max(var(--wp--preset--spacing--30), calc((100% - var(--wp--style--global--wide-size)) / 2));
	box-sizing: border-box;
	-webkit-mask: url(../img/deko/welle-unten.svg) bottom / 100% 4rem no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 4rem + 1px) no-repeat;
	mask: url(../img/deko/welle-unten.svg) bottom / 100% 4rem no-repeat, linear-gradient(#000, #000) top / 100% calc(100% - 4rem + 1px) no-repeat;
}

/* Konfetti */
.wp-block-columns.hero-start::before {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 6% 22%, var(--wp--preset--color--gelb) 0 7px, transparent 8px),
		radial-gradient(circle at 44% 88%, var(--wp--preset--color--hellgelb) 0 5px, transparent 6px),
		radial-gradient(circle at 52% 12%, var(--wp--preset--color--lavendel) 0 6px, transparent 7px),
		radial-gradient(circle at 95% 30%, var(--wp--preset--color--hellblau) 0 8px, transparent 9px),
		radial-gradient(circle at 72% 92%, var(--wp--preset--color--gelb) 0 4px, transparent 5px),
		radial-gradient(circle at 30% 6%, var(--wp--preset--color--hellblau) 0 4px, transparent 5px),
		radial-gradient(circle at 88% 78%, var(--wp--preset--color--lavendel) 0 5px, transparent 6px);
}

.hero-start > .wp-block-column,
.kontakt-kacheln > .wp-block-column {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}

.hero-start > .wp-block-column {
	position: relative;
	z-index: 1;
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

.hero-start .wp-block-heading {
	font-size: clamp(2.5rem, 4.2vw, 3.75rem);
}

.hero-start__text > * {
	max-width: 34rem;
}

.wp-block-column.hero-start__bild {
	min-height: clamp(22rem, 64vh, 44rem);
	flex-basis: 56%;
}

.wp-block-column.hero-start__text {
	flex-basis: 44%;
}

.hero-start__bild > * {
	margin-block: 0;
}

/* Foto: Blob, leicht gedreht, gelber Blob als Schatten dahinter */
.wp-block-image.hero-start__foto {
	position: relative;
	width: min(80%, 32rem);
	margin: 0 auto 0 0;
	transform: rotate(-4deg);
}

.wp-block-image.hero-start__foto::before,
.wp-block-image.zweispalter__foto::before {
	content: "";
	position: absolute;
	inset: 0;
	transform: translate(4%, 6%) rotate(6deg);
	background: var(--wp--preset--color--gelb);
	-webkit-mask: url(../img/deko/blob-3.svg) center / 100% 100% no-repeat;
	mask: url(../img/deko/blob-3.svg) center / 100% 100% no-repeat;
	z-index: 0;
}

.wp-block-image.hero-start__foto img,
.wp-block-image.zweispalter__foto img {
	position: relative;
	z-index: 1;
}

.wp-block-image.hero-start__ballon {
	position: absolute;
	right: 0;
	top: 4%;
	width: clamp(5.5rem, 10vw, 8.5rem);
	margin: 0;
	transform: rotate(8deg);
	filter: drop-shadow(0 6px 10px rgb(4 45 98 / 0.35));
	animation: dsw-schweben 6s ease-in-out infinite;
}

.wp-block-image.hero-start__ballon img {
	border-radius: 0;
}

@keyframes dsw-schweben {
	0%, 100% { transform: rotate(8deg) translateY(0); }
	50% { transform: rotate(4deg) translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
	.wp-block-image.hero-start__ballon { animation: none; }
}

.hero-start__termin {
	min-height: 3rem;
}

@media (max-width: 781px) {
	.wp-block-column.hero-start__bild,
	.wp-block-column.hero-start__text {
		min-height: 0;
		flex-basis: auto;
	}

	/* Mobil: Bildspalte (Foto + Ballon) ganz weg, der Kopf beginnt direkt mit der Überschrift */
	.wp-block-column.hero-start__bild {
		display: none;
	}

	.hero-start > .wp-block-column {
		padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
	}

	.hero-start > .wp-block-column.hero-start__text {
		padding-top: var(--wp--preset--spacing--60);
	}

	.hero-start .wp-block-heading {
		font-size: var(--wp--preset--font-size--riesig);
	}
}

/* Zweispalter (D31): Collage – Blob-Foto mit gelbem Schatten, Polaroid und Sticker */
.dsw-sektion.zweispalter {
	padding-bottom: calc(var(--wp--preset--spacing--50) + 3.5rem);
}

.wp-block-column.zweispalter__collage {
	position: relative;
	padding: 1.5rem 0.5rem 3.5rem 2rem;
}

.wp-block-image.zweispalter__foto {
	position: relative;
	margin: 0;
	transform: rotate(2deg);
}

.wp-block-image.zweispalter__polaroid {
	position: absolute;
	left: -0.5rem;
	bottom: 0;
	width: 42%;
	margin: 0;
	padding: 0.5rem 0.5rem 0;
	background: var(--wp--preset--color--weiss);
	border-radius: 0.5rem;
	box-shadow: 0 14px 30px rgb(4 45 98 / 0.2);
	transform: rotate(-7deg);
	z-index: 2;
}

.wp-block-image.zweispalter__polaroid img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0.25rem;
}

.wp-block-image.zweispalter__polaroid figcaption {
	margin: 0.3rem 0 0.5rem;
	font-family: var(--wp--preset--font-family--script);
	font-size: 1.35rem;
	line-height: 1.1;
	color: var(--wp--preset--color--textblau);
	text-align: center;
}

p.is-style-handschrift.zweispalter__sticker {
	position: absolute;
	top: -0.5rem;
	right: -0.75rem;
	width: 8rem;
	aspect-ratio: 1;
	margin: 0;
	padding: 1rem;
	box-sizing: border-box;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--gelb);
	color: var(--wp--preset--color--dunkelblau);
	font-size: 1.55rem;
	line-height: 1.05;
	text-align: center;
	transform: rotate(10deg);
	-webkit-mask: url(../img/deko/blob-2.svg) center / 100% 100% no-repeat;
	mask: url(../img/deko/blob-2.svg) center / 100% 100% no-repeat;
	z-index: 2;
}

/* Bild links: Polaroid und Sticker spiegeln, damit nichts am Bildschirmrand hängt */
.zweispalter__collage:first-child .zweispalter__polaroid {
	left: auto;
	right: -0.5rem;
	transform: rotate(7deg);
}

.zweispalter__collage:first-child p.is-style-handschrift.zweispalter__sticker {
	right: auto;
	left: -0.75rem;
	transform: rotate(-10deg);
}

.zweispalter__collage:first-child {
	padding-left: 0.5rem;
	padding-right: 2rem;
}

@media (min-width: 782px) and (max-width: 1100px) {
	.wp-block-image.hero-start__foto {
		width: 92%;
	}
}

@media (max-width: 781px) {
	.wp-block-column.zweispalter__collage {
		padding: 1rem 0 5rem 1rem;
	}

	p.is-style-handschrift.zweispalter__sticker {
		width: 6.5rem;
		font-size: 1.3rem;
		right: 0;
	}
}

/* Rückblick (D31): angepinnte Polaroids mit handgeschriebener Jahreszahl */
.wp-block-group.rueckblick-jahr {
	position: relative;
	box-sizing: border-box;
	padding: 0.75rem 0.75rem 0.25rem;
	background: var(--wp--preset--color--weiss);
	border-radius: 0.5rem;
	box-shadow: 0 14px 30px rgb(4 45 98 / 0.18);
	transform: rotate(-3deg);
}

/* Im Raster (Post-Template der Fotowand, E3) wird jede Karte anders gekippt */
.rueckblick__raster > :nth-child(4n + 2) .rueckblick-jahr { transform: rotate(2deg) translateY(1rem); }
.rueckblick__raster > :nth-child(4n + 3) .rueckblick-jahr { transform: rotate(1.5deg); }
.rueckblick__raster > :nth-child(4n + 4) .rueckblick-jahr { transform: rotate(-2deg) translateY(0.75rem); }

.dsw-sektion.rueckblick {
	padding-bottom: calc(var(--wp--preset--spacing--60) + 3.5rem);
}

/* Pin */
.wp-block-group.rueckblick-jahr::before {
	content: "";
	position: absolute;
	top: -0.6rem;
	left: 50%;
	width: 1.25rem;
	height: 1.25rem;
	margin-left: -0.625rem;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #fff3a6, var(--wp--preset--color--gelb) 60%);
	box-shadow: 0 2px 4px rgb(4 45 98 / 0.4), inset 0 0 0 2px rgb(4 45 98 / 0.15);
	z-index: 1;
}

.rueckblick__raster > :nth-child(even) .rueckblick-jahr::before {
	background: radial-gradient(circle at 35% 35%, #7fa6f0, var(--wp--preset--color--blau) 60%);
}

.rueckblick-jahr .wp-block-image,
.rueckblick-jahr .wp-block-post-featured-image {
	margin: 0;
}

.rueckblick-jahr .wp-block-post-featured-image a {
	display: block;
}

.rueckblick-jahr .wp-block-image img,
.rueckblick-jahr .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0.25rem;
}

.wp-block-heading.rueckblick-jahr__jahr {
	margin: 0.35rem 0 0.35rem !important;
	text-align: center;
	font-size: 2.4rem;
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--dunkelblau);
	transform: rotate(-2deg);
}

@media (max-width: 781px) {
	.rueckblick__raster > * .rueckblick-jahr { transform: rotate(-1.5deg); }
	.rueckblick__raster > :nth-child(even) .rueckblick-jahr { transform: rotate(1.5deg); }
}

/* Kontakt-Kacheln: zwei farbige Hälften, rechts Handschrift + Icons. */
.kontakt-kacheln .wp-block-social-links {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* E4: Kacheln sind der Kopf der Kontaktseite – Text an der Wide-Kante (wie Hero Start, D29),
   und vor der folgenden farbigen Sektion Luft für die Wellenkante (3.5rem). */
.kontakt-kacheln > .wp-block-column:first-child {
	padding-left: max(var(--wp--preset--spacing--40), calc((100vw - var(--wp--style--global--wide-size)) / 2));
}

.kontakt-kacheln > .wp-block-column:last-child {
	padding-right: max(var(--wp--preset--spacing--40), calc((100vw - var(--wp--style--global--wide-size)) / 2));
}

.kontakt-kacheln:has(+ .dsw-sektion.has-background) > .wp-block-column {
	padding-bottom: calc(var(--wp--preset--spacing--50) + 3.5rem);
}

@media (max-width: 781px) {
	.kontakt-kacheln > .wp-block-column {
		padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30);
	}

	.kontakt-kacheln:has(+ .dsw-sektion.has-background) > .wp-block-column:first-child {
		padding-bottom: var(--wp--preset--spacing--50);
	}
}

/* Bildreihe / Partner-Logos: Bilder gleich breit, Unterschriften fett. */
.bildreihe .wp-block-image {
	flex: 0 1 15rem;
	margin: 0;
}

/* Partner-Logos: feste 200 px (Variation „Partner-Logo“), dann passen drei nebeneinander */
.partner-logos .wp-block-image {
	flex: 0 0 auto;
	width: 200px;
	max-width: 100%;
	margin: 0;
}

.bildreihe .wp-block-image figcaption {
	font-weight: 700;
	font-size: var(--wp--preset--font-size--normal);
	text-align: center;
}

.partner-logos .wp-block-image img {
	border-radius: 50%;
	aspect-ratio: 1;
	object-fit: contain;
	background: var(--wp--preset--color--weiss);
}

/* Luft zur nächsten Sektion (Wellenkante überlappt 3.5rem) */
.dsw-sektion.partner-logos {
	padding-bottom: calc(var(--wp--preset--spacing--50) + 3.5rem);
}

/* Handy: kleinere Logos nebeneinander, zentriert */
@media (max-width: 781px) {
	.partner-logos__reihe {
		justify-content: center !important;
		gap: 1.5rem !important;
	}

	.partner-logos .wp-block-image {
		width: 7.5rem;
	}

	.partner-logos .wp-block-image img {
		width: 100% !important;
		height: auto !important;
	}
}

@media (max-width: 781px) {
	.bildreihe .wp-block-image {
		flex-basis: calc(50% - var(--wp--preset--spacing--50));
	}
}

/* Programm-Tage: etwas mehr Luft zwischen den Punkten. */
.programm-tage .wp-block-list li {
	margin-bottom: 0.5em;
}

/* --- Editor-Feinheiten ------------------------------------------------------ */

/* Maskierte Gruppen: Platzhalter-Umriss bleibt im Editor sichtbar, damit man
   den leeren Blob findet. */
.editor-styles-wrapper .wp-block-group[class*="is-style-blob-"]:empty {
	min-height: 8rem;
}

/* --- Charakter (D28) ------------------------------------------------------- */

/* Text-Blobs: leicht gegeneinander gedreht */
.text-blobs__raster > :nth-child(3n + 1) { transform: rotate(-3deg); }
.text-blobs__raster > :nth-child(3n + 2) { transform: rotate(2deg) translateY(1rem); }
.text-blobs__raster > :nth-child(3n) { transform: rotate(-1deg); }

/* Aufruf: großer Ballon links, Konfetti */
.dsw-sektion.aufruf {
	position: relative;
	overflow: hidden;
}

.dsw-sektion.aufruf::before {
	content: "";
	position: absolute;
	left: max(2rem, calc(50% - 36rem));
	top: 50%;
	width: clamp(6rem, 12vw, 10rem);
	aspect-ratio: 356 / 588;
	transform: translateY(-50%) rotate(-10deg);
	background: url(../img/logo.svg) center / contain no-repeat;
	filter: drop-shadow(0 6px 10px rgb(4 45 98 / 0.35));
	pointer-events: none;
}

.dsw-sektion.aufruf::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(circle at 80% 20%, var(--wp--preset--color--gelb) 0 6px, transparent 7px),
		radial-gradient(circle at 90% 70%, var(--wp--preset--color--hellblau) 0 5px, transparent 6px),
		radial-gradient(circle at 25% 15%, var(--wp--preset--color--lavendel) 0 5px, transparent 6px),
		radial-gradient(circle at 70% 85%, var(--wp--preset--color--hellgelb) 0 4px, transparent 5px);
}

.dsw-sektion.aufruf > * {
	position: relative;
	z-index: 1;
}

@media (max-width: 781px) {
	.dsw-sektion.aufruf::before {
		display: none;
	}

	.text-blobs__raster > * {
		transform: none !important;
	}
}

/* --- Zitate als Sprechblasen (D30) ----------------------------------------- */

.wp-block-quote.is-style-sprechblase {
	position: relative;
	box-sizing: border-box;
	margin: 0 0 1.5rem;
	padding: 2.75rem 2rem 1.75rem;
	background: var(--wp--preset--color--weiss);
	border: 0;
	border-radius: 1.5rem;
	box-shadow: 0 12px 32px rgb(4 45 98 / 0.1);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--normal);
	font-style: normal;
	line-height: 1.5;
	color: var(--wp--preset--color--textblau);
	text-align: left;
}

.wp-block-quote.is-style-sprechblase::before {
	content: "\201C";
	position: absolute;
	top: 0.1rem;
	left: 1.25rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 4.5rem;
	line-height: 1;
	color: var(--wp--custom--farbe--blau-mittel);
	pointer-events: none;
}

/* Schwänzchen */
.wp-block-quote.is-style-sprechblase::after {
	content: "";
	position: absolute;
	left: 2.5rem;
	bottom: -0.85rem;
	width: 1.75rem;
	height: 1.75rem;
	background: var(--wp--preset--color--weiss);
	transform: rotate(45deg);
	border-radius: 0 0 0.3rem 0;
}

.wp-block-quote.is-style-sprechblase p {
	margin: 0 0 0.75rem;
}

.wp-block-quote.is-style-sprechblase cite {
	display: block;
	margin-top: 0.75rem;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--klein);
	font-style: normal;
	font-weight: 700;
	color: var(--wp--preset--color--blau);
}

/* Raster: Blasen leicht gegeneinander gekippt */
.zitate__raster > .is-style-sprechblase:nth-child(odd) {
	transform: rotate(-1.5deg);
}

.zitate__raster > .is-style-sprechblase:nth-child(even) {
	transform: rotate(1.5deg) translateY(1.25rem);
}

.dsw-sektion.zitate {
	padding-bottom: calc(var(--wp--preset--spacing--60) + 3.5rem);
}

/* Ungerade Anzahl: die letzte Blase steht nicht allein links, sondern mittig über beide Spalten */
.zitate__raster > .is-style-sprechblase:last-child:nth-child(odd):not(:first-child) {
	grid-column: 1 / -1;
	justify-self: center;
	width: min(100%, 36rem);
	box-sizing: border-box;
	transform: rotate(1deg);
}

@media (max-width: 781px) {
	.zitate__raster > .is-style-sprechblase {
		transform: none;
	}
}

/* --- E3: Seminar, Rückblick, Termin aus Einträgen und Einstellungen (D37–D41) --- */

/* Fotowand/Blob-Raster: Post-Template ohne Listenpunkte */
.rueckblick__raster,
.seminare-vergangen__raster {
	list-style: none;
	padding: 0;
	margin: 0;
}

.rueckblick__raster > .wp-block-post,
.seminare-vergangen__raster > .wp-block-post {
	margin: 0;
}

/* Polaroids hängen gekippt und versetzt – mehr Luft als das Standard-Raster (überschreibt den Layout-Gap) */
.wp-block-post-template.rueckblick__raster {
	gap: 4rem 3rem;
	padding-top: 0.5rem;
}

@media (max-width: 781px) {
	.wp-block-post-template.rueckblick__raster {
		gap: 3rem;
	}
}

.rueckblick__raster > .wp-block-post > .rueckblick-jahr {
	height: 100%;
}

/* Jahreszahl ohne Inhalt (Editor, bevor die Bindung greift) trotzdem sichtbar */
.wp-block-heading.rueckblick-jahr__jahr:empty::before {
	content: "20\2026";
	opacity: 0.4;
}

/* Fotowand: Luft nach oben (E7: als CSS statt style.spacing am Query-Block – WP 7.1 kennt am
   Query-Block keine Abstände mehr, das Markup wäre sonst ungültig und der Editor verflacht das Grid) */
.rueckblick__wand {
	margin-top: var(--wp--preset--spacing--40);
}

/* Fotowand ohne Button (Seite /rueckblick): Luft zur nächsten Sektion */
.dsw-sektion.rueckblick .rueckblick__wand:last-child {
	margin-bottom: var(--wp--preset--spacing--40);
}

/* Aktuelles Seminar: Karte wie in E2, Foto rund mit gelbem Blob-Schatten */
.seminar-aktuell .wp-block-post-title {
	margin-top: 0;
}

.seminar-aktuell .wp-block-post-title a,
.seminare-vergangen__raster .seminar-blob .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.seminar-aktuell .wp-block-post-title a:hover,
.seminar-aktuell .wp-block-post-title a:focus-visible,
.seminare-vergangen__raster .seminar-blob .wp-block-post-title a:hover,
.seminare-vergangen__raster .seminar-blob .wp-block-post-title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.seminar-aktuell .wp-block-post-excerpt__more-link {
	display: inline-block;
	margin-top: 0.5rem;
	font-weight: 700;
}

.wp-block-post-featured-image.seminar__foto {
	position: relative;
	width: min(100%, 16rem);
	margin: 0 auto 1.25rem;
}

/* Versetzter gelber Kreis als harter Schatten (wie bei den Stickern) – ein Blob hinter
   einem runden Foto lugte nur als Sichel hervor. */
.wp-block-post-featured-image.seminar__foto::before {
	content: "";
	position: absolute;
	inset: 0;
	transform: translate(5%, 6%);
	background: var(--wp--preset--color--gelb);
	border-radius: 50%;
}

.wp-block-post-featured-image.seminar__foto a,
.wp-block-post-featured-image.seminar__foto img {
	position: relative;
	display: block;
	z-index: 1;
}

.wp-block-post-featured-image.seminar__foto img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 50%;
}

.seminar__referent-titel {
	margin-top: 0.6rem;
	text-align: center;
}

.seminar__referent-titel:empty,
.seminar-blob__referent:empty,
.seminar-blob__jahr:empty,
p.is-style-namensschild:empty {
	display: none;
}

/* Vergangene Seminare: aufrechte Blob-Karte (Form und Farbe wechseln per nth-child),
   Text echt zentriert, Jahr als gelber Sticker schräg an der Blob-Kante. */
.seminar-karte {
	position: relative;
	padding: 1.25rem 0.75rem 0.5rem;
}

.seminar-karte .seminar-blob {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	box-sizing: border-box;
	aspect-ratio: 528 / 454;
	min-height: auto;
	padding: 3rem 2.5rem;
	text-align: center;
	background-color: var(--wp--preset--color--hellblau);
	-webkit-mask: url(../img/deko/blob-3.svg) center / 100% 100% no-repeat;
	mask: url(../img/deko/blob-3.svg) center / 100% 100% no-repeat;
	border-radius: 0;
}

.seminar-karte .seminar-blob > * {
	max-width: none;
	width: 100%;
}

/* 4 Farben im 4er-Zyklus: bei 3 (und 2) Spalten steht nie dieselbe Farbe untereinander */
.seminare-vergangen__raster > :nth-child(4n + 2) .seminar-blob {
	background-color: var(--wp--preset--color--lavendel);
}

.seminare-vergangen__raster > :nth-child(4n + 3) .seminar-blob {
	background-color: var(--wp--preset--color--hellgelb);
}

.seminare-vergangen__raster > :nth-child(4n) .seminar-blob {
	background-color: var(--wp--preset--color--grau-lavendel);
}

.seminare-vergangen__raster > :nth-child(even) .seminar-blob {
	-webkit-mask-image: url(../img/deko/blob-3-spiegel.svg);
	mask-image: url(../img/deko/blob-3-spiegel.svg);
}

.seminare-vergangen__raster > :nth-child(odd) .seminar-blob {
	-webkit-mask-image: url(../img/deko/blob-3.svg);
	mask-image: url(../img/deko/blob-3.svg);
}

.seminar-karte .wp-block-post-title {
	margin: 0 0 0.5rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--dunkelblau);
}

.seminar-karte .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.seminar-karte .wp-block-post-title a:hover,
.seminar-karte .wp-block-post-title a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.seminar-blob__referent {
	margin: 0;
	font-style: italic;
	color: var(--wp--preset--color--textblau);
}

.seminar-blob__referent:not(:empty)::before {
	content: "Mit ";
}

/* Jahr-Sticker: gelb, rund-organisch, klebt oben rechts über der Blob-Kante */
.seminar-karte__jahr {
	position: absolute;
	top: 0;
	right: 0.25rem;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 4.25rem;
	height: 4.25rem;
	margin: 0 !important;
	background: var(--wp--preset--color--gelb);
	border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
	box-shadow: 0.2rem 0.3rem 0 rgb(24 0 173 / 0.28);
	transform: rotate(8deg);
	font-family: var(--wp--preset--font-family--script);
	font-size: 1.6rem;
	line-height: 1;
	color: var(--wp--preset--color--dunkelblau);
}

.seminare-vergangen__raster > :nth-child(even) .seminar-karte__jahr {
	right: auto;
	left: 0.25rem;
	transform: rotate(-7deg);
}

.seminar-karte__jahr:empty {
	display: none;
}

@media (prefers-reduced-motion: reduce) {
	.seminar-karte__jahr { transform: none; }
}

/* Termin & Ort: Countdown-Spalte als Bühne */
.termin-ort__countdown .wp-block-dsw-countdown {
	justify-content: center;
}

.termin-ort .dsw-termin__datum {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

/* Kein aktuelles Seminar: Hinweis in Handschrift */
.seminar-aktuell .wp-block-query-no-results p {
	font-family: var(--wp--preset--font-family--script);
	font-size: 1.9rem;
	line-height: 1.15;
	color: var(--wp--preset--color--dunkelblau);
	text-align: center; /* Bühne (D43) */
}

/* Preistabelle als Bühne: Tabelle und Hinweis mittig (D43) */
.wp-block-dsw-preistabelle .wp-block-table table {
	margin-inline: auto;
}

.wp-block-dsw-preistabelle .dsw-preistabelle__hinweis,
.wp-block-dsw-preistabelle .dsw-preistabelle__offen {
	max-width: 36rem;
	margin-inline: auto;
	text-align: center;
}

/* --- Singles Seminar / Rückblick (D39) ------------------------------------- */

/* Lange Themen (Behindertentestament): Silbentrennung statt Wortbruch */
.seminar-kopf .wp-block-post-title {
	font-size: clamp(1.4rem, 3.4vw, 2.75rem);
	line-height: 1.15;
	letter-spacing: 0.05em !important;
	hyphens: auto;
	overflow-wrap: anywhere;
}

@media (max-width: 599px) {
	.seminar-kopf .wp-block-post-title {
		font-size: clamp(1.4rem, 6vw, 1.75rem);
	}
}

.seminar-kopf .wp-block-post-title,
.rueckblick-kopf .wp-block-post-title {
	margin-top: 0;
}

.seminar-kopf .wp-block-post-title::first-letter {
	font-weight: 900;
	font-size: 1.4em;
	line-height: 0.8;
	color: var(--wp--preset--color--dunkelblau);
	text-shadow: 0.07em 0.07em 0 var(--wp--preset--color--gelb);
}

.seminar-kopf__kicker {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin-bottom: 0.5rem !important;
}

.seminar-kopf__kicker > p {
	margin: 0;
}

.seminar-kopf__wort {
	font-family: var(--wp--preset--font-family--body);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--klein);
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--textblau);
}

.seminar-kopf__jahr {
	font-family: var(--wp--preset--font-family--script);
	font-size: 2.4rem;
	line-height: 1;
	color: var(--wp--preset--color--dunkelblau); /* E6: Blau auf Lavendel nur 2,3:1 */
	transform: rotate(-3deg);
}

.seminar-kopf__referent .seminar__foto {
	margin-top: 0.5rem;
}

.rueckblick-kopf .rueckblick-jahr--gross {
	max-width: 40rem;
	margin: var(--wp--preset--spacing--40) auto 0;
	transform: rotate(-1.5deg);
}

.rueckblick-kopf .rueckblick-jahr--gross .wp-block-heading.rueckblick-jahr__jahr {
	font-size: 3rem;
}

/* Kopf-Sektionen der Singles sitzen direkt unter dem Header: keine Wellenkante, kein Überlappen */
.dsw-sektion.seminar-kopf,
.dsw-sektion.rueckblick-kopf {
	margin-top: 0;
	padding-top: var(--wp--preset--spacing--50);
	padding-bottom: calc(var(--wp--preset--spacing--50) + 2rem);
	-webkit-mask: none;
	mask: none;
	overflow-x: clip;
}

.dsw-sektion.seminar-inhalt,
.dsw-sektion.rueckblick-inhalt {
	padding-bottom: var(--wp--preset--spacing--60);
}

.dsw-zurueck {
	margin-top: var(--wp--preset--spacing--50);
	font-weight: 700;
}

/* Galerie „Polaroids“: weiße Rahmen, Unterschrift in Caveat unter dem Bild, abwechselnd gekippt.
   Selektoren so spezifisch wie Cores Galerie-CSS (has-nested-images + figure). */
.wp-block-gallery.has-nested-images.is-style-polaroids {
	padding: 0.5rem 0;
	gap: 1.5rem;
	align-items: flex-start;
}

.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image {
	display: block;
	flex-grow: 0;
	box-sizing: border-box;
	padding: 0.6rem 0.6rem 0.6rem;
	background: var(--wp--preset--color--weiss);
	border-radius: 0.4rem;
	box-shadow: 0 10px 24px rgb(4 45 98 / 0.16);
	transform: rotate(-2deg);
}

.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image:nth-child(even) {
	transform: rotate(2deg) translateY(0.5rem);
}

.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image:nth-child(3n) {
	transform: rotate(-1deg);
}

.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 0.2rem;
}

.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image figcaption {
	position: static;
	width: auto;
	max-height: none;
	background: none;
	padding: 0.5rem 0 0.25rem;
	margin: 0;
	font-family: var(--wp--preset--font-family--script);
	font-size: 1.3rem;
	line-height: 1.1;
	color: var(--wp--preset--color--dunkelblau);
	text-align: center;
	text-shadow: none;
	overflow: visible;
}

/* Ohne Unterschrift: unten etwas mehr weißer Rand wie bei einem echten Polaroid */
.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image:not(:has(figcaption)) {
	padding-bottom: 2rem;
}

@media (max-width: 599px) {
	.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image,
	.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image:nth-child(even),
	.wp-block-gallery.has-nested-images.is-style-polaroids figure.wp-block-image:nth-child(3n) {
		transform: none;
	}
}

/* --- E4: FAQ als Details „Frage“ (D44) ------------------------------------ */

/* Weiße Karte mit gelbem Fragezeichen-Sticker; Pfeil rechts dreht beim Öffnen. */
.wp-block-details.is-style-frage {
	position: relative;
	box-sizing: border-box;
	padding: 1.1rem 3.25rem 1.1rem 4.5rem;
	background: var(--wp--preset--color--weiss);
	border: 0;
	border-radius: var(--wp--custom--radius--karte);
	box-shadow: 0 12px 32px rgb(4 45 98 / 0.1);
	color: var(--wp--preset--color--textblau);
	text-align: left;
}

.wp-block-details.is-style-frage::before {
	content: "?";
	position: absolute;
	top: 0.75rem;
	left: 1rem;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	background: var(--wp--preset--color--gelb);
	border-radius: 55% 45% 50% 50% / 45% 55% 45% 55%;
	transform: rotate(-8deg);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.6rem;
	line-height: 1;
	color: var(--wp--preset--color--dunkelblau);
	pointer-events: none;
}

.wp-block-details.is-style-frage > summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--gross);
	font-weight: 700;
	line-height: 1.35;
	color: var(--wp--preset--color--textblau);
}

.wp-block-details.is-style-frage > summary::-webkit-details-marker {
	display: none;
}

/* Pfeil: Chevron aus zwei Kanten, sitzt am rechten Kartenrand (außerhalb des summary-Padding). */
.wp-block-details.is-style-frage > summary::after {
	content: "";
	position: absolute;
	top: 0.35em;
	right: -2.1rem;
	width: 0.7rem;
	height: 0.7rem;
	border-right: 3px solid var(--wp--preset--color--blau);
	border-bottom: 3px solid var(--wp--preset--color--blau);
	transform: rotate(45deg);
	transition: transform 0.2s;
}

.wp-block-details.is-style-frage[open] > summary::after {
	transform: rotate(225deg);
	top: 0.55em;
}

.wp-block-details.is-style-frage > :not(summary) {
	margin-top: 0.75rem;
	margin-bottom: 0;
	font-size: var(--wp--preset--font-size--normal);
}

.wp-block-details.is-style-frage > :not(summary) + :not(summary) {
	margin-top: 0.5rem;
}

/* Liste: 2rem Luft (Pattern), Karten nur hauchzart gekippt – sonst laufen Ecken und Schatten ineinander. */
.faq__liste > .is-style-frage:nth-child(odd) {
	transform: rotate(-0.35deg);
}

.faq__liste > .is-style-frage:nth-child(even) {
	transform: rotate(0.35deg);
}

.faq__liste > .is-style-frage:hover,
.faq__liste > .is-style-frage[open] {
	transform: none;
}

@media (max-width: 781px) {
	.wp-block-details.is-style-frage {
		padding: 1rem 2.5rem 1rem 3.6rem;
	}

	.wp-block-details.is-style-frage::before {
		width: 2.1rem;
		height: 2.1rem;
		font-size: 1.3rem;
		left: 0.8rem;
	}

	.wp-block-details.is-style-frage > summary {
		font-size: var(--wp--preset--font-size--normal);
	}

	.wp-block-details.is-style-frage > summary::after {
		right: -1.7rem;
	}

	.faq__liste > .is-style-frage {
		transform: none;
	}
}

/* --- E4: Formular-Slot (Kontakt, Anmeldung) ---------------------------------- */

.formular-slot__formular {
	max-width: 40rem;
	margin-inline: auto;
	padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
	background: var(--wp--preset--color--weiss);
	border-radius: 1.5rem;
	box-shadow: 0.5rem 0.55rem 0 var(--wp--preset--color--gelb);
}


/* --- E4: Links in farbigen Sektionen (Kontrast, Lighthouse) ------------------ */

/* Blau (#2b69db) erreicht auf Hellblau/Lavendel/Hellgelb keine 4.5:1 – Dunkelblau schon. */
.has-hellblau-background-color a:not(.wp-block-button__link):not(.wp-block-social-link-anchor),
.has-lavendel-background-color a:not(.wp-block-button__link):not(.wp-block-social-link-anchor),
.has-hellgelb-background-color a:not(.wp-block-button__link):not(.wp-block-social-link-anchor),
.has-gelb-background-color a:not(.wp-block-button__link):not(.wp-block-social-link-anchor),
.has-grau-lavendel-background-color a:not(.wp-block-button__link):not(.wp-block-social-link-anchor) {
	color: var(--wp--preset--color--dunkelblau);
}

/* E6: Rechtstexte – Zwischenüberschriften sind H2 (Überschriften-Reihenfolge, Lighthouse A11y),
   sehen aber aus wie H3 (Montserrat fett), weil Versalien-H2 für zehn Gesetzesabschnitte zu wuchtig sind (E4). */
.rechtstext h2.wp-block-heading {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--gross);
	font-weight: 700;
	text-transform: none;
	letter-spacing: 0;
}
