/* ===== sections/beitraege/style.css ===== */
/* section: beitraege
 * type: beitraege
 * status: Baukasten
 * baukasten: Beiträge 3er
 * variants: grid
 * options: source manual (static teasers; later the latest posts / archive loop), count 3|6|9 (multiple of 3; Baukasten demo 3), title visible or visually hidden (df-sr-only, archive), eyebrow optional, intro optional, more link optional (head right), cta optional (soft button below), heading_level h2
 * schemes: hell, hell-alt
 * fields: eyebrow, title, intro, more, cta
 * list keys: items (image, category, meta, title, text, link)
 * motion items: .df-beitraege__head > *, .df-beitraege__more, .df-beitraege__card, .df-beitraege__foot
 * motion media: –
 * used on: akademie, blog-beitrag, blog, bausteine
 * notes: Head row = eyebrow + H2 left, text link "Alle Beiträge" right (wraps below on phones). Cards: image placeholder 16:10 bleeding to the card edge (df-card + df-frame first child) with the category pill on the image, meta line (uppercase, muted), H3, text, "Weiterlesen" link (stretched over the card). 1 column on phones, 3 from 48em. Shadows (user 2026-11-09, tokens from theme base.css): card --df-shadow-soft at rest, lift on hover (hover: hover) / :focus-within; the card image gets --df-shadow-soft too (shows as a soft edge under the image) and moves with the card. Bottom button = "sanft" button (soft violet fill, --wp--custom--soft-bg). Images = placeholder-streifen.jpg until the client adds photos.
 */

.df-beitraege { --df-beitraege-card: var(--wp--preset--color--base); }
.df-beitraege.df-scheme-hell-alt { --df-beitraege-card: var(--df-surface); }

.df-beitraege__top {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--wp--preset--spacing--30);
	margin-bottom: calc(var(--wp--preset--spacing--50) * 1.5);
}
.df-beitraege__head { max-width: var(--wp--style--global--content-size); }
.df-beitraege__head.df-beitraege__head > * { margin-block: 0; }
.df-beitraege__head.df-beitraege__head > * + * { margin-top: var(--wp--preset--spacing--30); }
.df-beitraege .df-eyebrow { letter-spacing: .14em; }
.df-beitraege__head .df-lead { color: var(--df-muted); }

.df-beitraege__link {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	font-weight: 600;
	color: var(--df-accent);
	text-decoration: none;
}
.df-beitraege__link::after { content: "→"; margin-left: var(--wp--preset--spacing--20); transition: transform .2s ease; }
.df-beitraege__link:hover { color: var(--df-heading); }
.df-beitraege__link:hover::after { transform: translateX(3px); }

.df-beitraege__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--40); }
.df-beitraege__card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-width: 0;
	overflow: hidden;
	background: var(--df-beitraege-card);
	--df-card-pad: var(--wp--preset--spacing--50);
	box-shadow: var(--df-shadow-soft);
	transition: border-color .25s ease, var(--df-shadow-transition);
}
.df-beitraege__card.df-beitraege__card > * { margin-block: 0; }
.df-beitraege__card.df-beitraege__card > .df-frame:first-child { margin: calc(-1 * var(--df-card-pad)) calc(-1 * var(--df-card-pad)) var(--wp--preset--spacing--40); box-shadow: var(--df-shadow-soft); }
.df-beitraege__cat {
	position: absolute;
	top: var(--wp--preset--spacing--40);
	left: var(--wp--preset--spacing--40);
	z-index: 1;
	padding: .375rem .75rem;
	border-radius: var(--df-btn-radius);
	background: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .1em;
	line-height: 1.2;
	text-transform: uppercase;
	color: var(--wp--preset--color--primary);
}
.df-beitraege__meta {
	margin-bottom: var(--wp--preset--spacing--30) !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--df-muted);
}
.df-beitraege__title { font-size: var(--wp--preset--font-size--large); line-height: 1.25; margin-bottom: var(--wp--preset--spacing--30) !important; }
.df-beitraege__text { color: var(--df-muted); line-height: 1.6; }
.df-beitraege__card .df-beitraege__link { display: block; margin-top: auto !important; padding-top: var(--wp--preset--spacing--30); align-self: flex-start; }
.df-beitraege__card .df-beitraege__link::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.df-beitraege__card .df-beitraege__link:focus-visible { outline: none; }
.df-beitraege__card:has(.df-beitraege__link:focus-visible) { outline: 3px solid var(--df-accent); outline-offset: 3px; }
.df-beitraege__card:focus-within {
	transform: translateY(var(--df-lift));
	border-color: color-mix(in srgb, var(--df-accent) 32%, transparent);
	box-shadow: var(--df-shadow-lift);
}
@media (hover: hover) {
	.df-beitraege__card:hover {
		transform: translateY(var(--df-lift));
		border-color: color-mix(in srgb, var(--df-accent) 32%, transparent);
		box-shadow: var(--df-shadow-lift);
	}
}

.df-beitraege__foot { display: flex; justify-content: center; margin-top: calc(var(--wp--preset--spacing--50) * 1.5); }
.df-beitraege__soft { --df-btn-bg: var(--wp--custom--soft-bg); --df-btn-fg: var(--df-heading); border-color: transparent; }
.df-beitraege__soft:hover { filter: none; background: color-mix(in srgb, var(--df-accent) 16%, transparent); }

@media (min-width: 48em) {
	.df-beitraege__top { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50); }
	.df-beitraege__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.df-beitraege__card { transition: border-color .25s ease, box-shadow .25s ease; }
	.df-beitraege__link::after { transition: none; }
	.df-beitraege__card:is(:hover, :focus-within) { transform: none; }
}

/* ---------- theme additions (conversion, not in the prototype) ---------- */
/* 0 posts: the "empty" text (skill step 3b); the managed region (editors only) must not break the grid */
.df-beitraege__empty { margin: 0; color: var(--df-muted); }
.df-beitraege__region { min-width: 0; }


/* ===== sections/beitrag/style.css ===== */
/* section: beitrag
 * type: beitrag
 * status: NEU – not in Blöcke – Übersicht
 * baukasten: - (new type, style derived from Beiträge 3er + approved mockup block-bibliothek/mockup/blog-beitrag.html)
 * variants: einspaltig, mit-inhalt
 * options: toc yes|no (= variant mit-inhalt: table of contents from the h2 of the text, sidebar on desktop, collapsible above the text on phones; js/sections/beitrag.js sets open from 48em), meta line optional (date / category / reading_time each optional), author box yes|no
 * schemes: hell, hell-alt
 * fields: date, category, reading_time, content, toc_title, author_image, author_name, author_text, author_link
 * list keys: -
 * motion items: .df-beitrag__meta, .df-beitrag__toc, .df-beitrag__text, .df-beitrag__autor
 * motion media: -
 * used on: blog-beitrag, bausteine
 * notes: NEU. Body of a single blog post; the post title (only h1) sits in the hero above (Hero 2 Seitenkopf on blog-beitrag). Meta line (date · category · reading time) in the Beiträge-3er meta style, rich text = post content (WordPress the_content: h2/h3, lists with orange bullets, blockquote, figure, hint box), author box with a round placeholder photo. Reading column 68ch. mit-inhalt: <details> TOC; from 48em it is a sticky sidebar and always open (::details-content), on phones it is collapsed above the text (no open attribute). Shadows: TOC, hinweis and author box --df-shadow-soft + lift on hover; post images and author photo static soft shadow (tokens from theme base.css).
 */

/* ---------- layout ---------- */
.df-beitrag__layout {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	max-width: 68ch;
}
.df-beitrag--einspaltig .df-beitrag__layout { margin-inline: auto; }

/* ---------- meta line ---------- */
.df-beitrag__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30);
	align-items: center;
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--df-muted);
}
.df-beitrag__kategorie {
	display: inline-flex;
	align-items: center;
	padding: .2em .9em;
	border-radius: var(--df-btn-radius);
	background: var(--wp--custom--soft-bg);
	color: var(--df-heading);
}
.df-beitrag__sep { color: var(--df-accent); }

/* ---------- table of contents ---------- */
.df-beitrag__toc {
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--wp--custom--base-soft);
}
.df-beitrag__toc > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	min-height: 2.75rem;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	list-style: none;
	cursor: pointer;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--df-accent);
}
.df-beitrag__toc > summary::-webkit-details-marker { display: none; }
.df-beitrag__toc > summary::after {
	content: "";
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	transition: transform .25s ease;
}
.df-beitrag__toc[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
.df-beitrag__toc ol {
	margin: 0;
	padding: 0 var(--wp--preset--spacing--40) var(--wp--preset--spacing--40);
	list-style: none;
	counter-reset: df-toc;
}
.df-beitrag__toc li { counter-increment: df-toc; border-top: 1px solid var(--df-border); }
.df-beitrag__toc a {
	display: flex;
	gap: var(--wp--preset--spacing--30);
	min-height: 2.75rem;
	align-items: center;
	padding: var(--wp--preset--spacing--20) 0;
	line-height: 1.35;
	color: var(--df-fg);
	text-decoration: none;
}
.df-beitrag__toc a::before {
	content: counter(df-toc, decimal-leading-zero);
	flex: none;
	font-size: var(--wp--preset--font-size--small);
	color: var(--df-accent);
}
.df-beitrag__toc a:hover { color: var(--df-accent); }

/* ---------- rich text (post content) ---------- */
.df-beitrag__text { line-height: 1.75; }
.df-beitrag__text > * { margin: 0 0 var(--wp--preset--spacing--40); }
.df-beitrag__text :is(h2, h3) { scroll-margin-top: var(--df-scroll-offset); }
.df-beitrag__text h2 {
	margin: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--40);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
}
.df-beitrag__text h3 {
	margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--large);
}
.df-beitrag__text a { color: var(--df-accent); }
.df-beitrag__text strong { font-weight: 600; color: var(--df-heading); }
.df-beitrag__text ul { list-style: none; padding-left: 0; }
.df-beitrag__text ul li { position: relative; padding-left: 1.5em; margin-bottom: var(--wp--preset--spacing--20); }
.df-beitrag__text ul li::before {
	content: "";
	position: absolute;
	left: .3em;
	top: .7em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}
.df-beitrag__text ol li { margin-bottom: var(--wp--preset--spacing--20); }
.df-beitrag__text ol li::marker { color: var(--df-accent); font-weight: 600; }
.df-beitrag__text blockquote {
	margin: var(--wp--preset--spacing--50) 0;
	padding: var(--wp--preset--spacing--20) 0 var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
	border-left: 3px solid var(--df-accent);
	font-family: var(--df-font-heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.45;
	color: var(--df-heading);
}
.df-beitrag__text figure { margin: var(--wp--preset--spacing--50) 0; }
.df-beitrag__text figcaption {
	margin-top: var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--small);
	color: var(--df-muted);
}
.df-beitrag__hinweis {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	border-radius: var(--df-radius);
	background: var(--wp--preset--color--base-alt);
}
.df-beitrag.df-scheme-hell-alt .df-beitrag__hinweis { background: var(--wp--preset--color--base); }
.df-beitrag__hinweis > :last-child { margin-bottom: 0; }

/* ---------- author box ---------- */
.df-beitrag__autor {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	align-items: center;
	margin-top: var(--wp--preset--spacing--40);
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--wp--custom--base-soft);
}
.df-beitrag__autor-foto { grid-row: span 3; width: 72px; border-radius: 50%; align-self: start; }
.df-beitrag__autor-label {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--df-accent);
}
.df-beitrag__autor-name {
	margin: 0;
	font-family: var(--df-font-heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	color: var(--df-heading);
}
.df-beitrag__autor-text { grid-column: 1 / -1; margin: 0; color: var(--df-muted); }
.df-beitrag__autor-text p { margin: 0; }
.df-beitrag__autor-link {
	grid-column: 1 / -1;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: 2.75rem;
	font-weight: 600;
	color: var(--df-accent);
	text-decoration: none;
}
.df-beitrag__autor-link::after { content: "\2192"; transition: transform .2s ease; }
.df-beitrag__autor-link:hover::after { transform: translateX(3px); }

/* ---------- desktop ---------- */
@media (min-width: 48em) {
	.df-beitrag__autor { grid-template-columns: 88px minmax(0, 1fr); }
	.df-beitrag__autor-foto { width: 88px; grid-row: span 4; }
	.df-beitrag__autor :is(.df-beitrag__autor-text, .df-beitrag__autor-link) { grid-column: 2; }

	/* mit-inhalt: text column + sticky TOC sidebar */
	.df-beitrag--mit-inhalt .df-beitrag__layout {
		max-width: none;
		grid-template-columns: minmax(0, 68ch) minmax(14rem, 18rem);
		grid-template-areas: "meta toc" "text toc" "autor toc";
		grid-template-rows: auto auto 1fr;
		justify-content: space-between;
		column-gap: var(--wp--preset--spacing--70);
	}
	.df-beitrag--mit-inhalt .df-beitrag__meta { grid-area: meta; }
	.df-beitrag--mit-inhalt .df-beitrag__text { grid-area: text; }
	.df-beitrag--mit-inhalt .df-beitrag__autor { grid-area: autor; align-self: start; }
	.df-beitrag--mit-inhalt .df-beitrag__toc {
		grid-area: toc;
		align-self: start;
		position: sticky;
		top: var(--df-scroll-offset);
	}
	.df-beitrag--mit-inhalt .df-beitrag__toc > summary { pointer-events: none; }
	.df-beitrag--mit-inhalt .df-beitrag__toc > summary::after { display: none; }
	.df-beitrag--mit-inhalt .df-beitrag__toc::details-content { content-visibility: visible; display: contents; }
}

/* ---------- shadows (user 2026-11-09; tokens from theme base.css): soft at rest, lift on hover ---------- */
.df-beitrag__toc,
.df-beitrag__hinweis,
.df-beitrag__autor { box-shadow: var(--df-shadow-soft); transition: var(--df-shadow-transition); }
@media (hover: hover) {
	.df-beitrag__toc:hover,
	.df-beitrag__hinweis:hover,
	.df-beitrag__autor:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}
/* image placeholders in the post body + author photo: static soft shadow (not clickable) */
.df-beitrag__text figure .df-frame,
.df-beitrag__autor-foto { box-shadow: var(--df-shadow-soft); }

/* ---------- theme additions (conversion, not in the prototype) ---------- */
/* hint box = Gutenberg block style "Hinweis" on a Group block (block-styles.php) */
.df-beitrag__text .is-style-hinweis {
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	border-radius: var(--df-radius);
	background: var(--wp--preset--color--base-alt);
	box-shadow: var(--df-shadow-soft);
	transition: var(--df-shadow-transition);
}
.df-beitrag.df-scheme-hell-alt .df-beitrag__text .is-style-hinweis { background: var(--wp--preset--color--base); }
.df-beitrag__text .is-style-hinweis > :first-child { margin-top: 0; }
.df-beitrag__text .is-style-hinweis > :last-child { margin-bottom: 0; }
@media (hover: hover) {
	.df-beitrag__text .is-style-hinweis:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}
/* category pill is a link to the category archive */
a.df-beitrag__kategorie { text-decoration: none; }
a.df-beitrag__kategorie:hover { background: color-mix(in srgb, var(--df-accent) 16%, transparent); }
/* post images from the block editor: same frame look as the prototype figure */
.df-beitrag__text .wp-block-image img { height: auto; border-radius: var(--df-radius); box-shadow: var(--df-shadow-soft); }
/* nested TOC entries (h3 under an h2) */
.df-beitrag__toc ol ol { padding: 0 0 0 var(--wp--preset--spacing--40); counter-reset: none; }
.df-beitrag__toc ol ol li { counter-increment: none; }
.df-beitrag__toc ol ol a::before { content: "–"; }
/* mit-inhalt with fewer than 3 headings: no TOC, single reading column */
@media (min-width: 48em) {
	.df-beitrag--mit-inhalt .df-beitrag__layout--ohne-toc {
		max-width: 68ch;
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas: "meta" "text" "autor";
		grid-template-rows: auto;
	}
}

/* ---------- 1.4.0: imported posts (classic HTML, 2010–2025) ---------- */
/* nothing may be wider than the reading column (long URLs, big images, embeds) */
.df-beitrag__layout { min-width: 0; }
.df-beitrag__text { display: flow-root; min-width: 0; overflow-wrap: break-word; }
.df-beitrag__text a { overflow-wrap: anywhere; }
.df-beitrag__text :is(img, video, iframe, embed, object) { max-width: 100%; }
.df-beitrag__text img { height: auto; border-radius: var(--df-radius); }
.df-beitrag__text h4 {
	margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--large);
}
.df-beitrag__text :is(h2, h3, h4) { line-height: 1.25; }
/* headings may sit next to a floated picture (as in the old blog); rules, quotes, tables and embeds start below it */
.df-beitrag__text :is(hr, blockquote, table, .df-beitrag__tabelle, iframe) { clear: both; }
.df-beitrag__text > :is(h2, h3, h4):first-child { margin-top: 0; }
.df-beitrag__text li > :is(ul, ol) { margin-top: var(--wp--preset--spacing--20); }
.df-beitrag__text ol { padding-left: 1.5em; }

/* featured image above the text (only when the text does not contain it); small imports are not blown up */
.df-beitrag__text .df-beitrag__bild { margin: 0 0 var(--wp--preset--spacing--50); }
.df-beitrag__bild img { display: block; width: auto; max-height: 32rem; box-shadow: var(--df-shadow-soft); }

/* images: own line on phones, floats from 48em (below) */
.df-beitrag__text :is(img, figure):is(.alignleft, .alignright, .aligncenter) { display: block; margin: var(--wp--preset--spacing--40) auto; }
.df-beitrag__text :is(img, figure):is(.alignleft, .alignright) { margin-inline: 0; }
.df-beitrag__text figure img { display: block; }
.df-beitrag__text figure.aligncenter { width: fit-content; max-width: 100%; }
.df-beitrag__text .wp-caption { max-width: 100%; }
.df-beitrag__text :is(figcaption, .wp-caption-text) {
	margin-top: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	color: var(--df-muted);
}

/* embeds: 16:9, full column width (YouTube nocookie / Vimeo come with width=560 height=315) */
.df-beitrag__text iframe { display: block; border: 0; border-radius: var(--df-radius); }
.df-beitrag__text iframe:is([src*="youtube"], [src*="vimeo"], [src*="youtu.be"]) { width: 100%; height: auto; aspect-ratio: 16 / 9; }

/* tables scroll inside their own box (wrapper added in section.php) */
.df-beitrag__tabelle { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.df-beitrag__tabelle:focus-visible { outline: 3px solid var(--df-accent); outline-offset: 2px; }
.df-beitrag__text table { width: 100%; border-collapse: collapse; font-size: var(--wp--preset--font-size--small); line-height: 1.45; }
.df-beitrag__text :is(th, td) { padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--30); border: 1px solid var(--df-border); text-align: left; vertical-align: top; }
.df-beitrag__text th { font-weight: 600; color: var(--df-heading); background: var(--wp--custom--soft-bg); }

/* Elementor resets hr (transparent, no margin) */
.elementor .df-beitrag__text hr {
	height: 1px;
	margin: var(--wp--preset--spacing--50) 0;
	border: 0;
	background: var(--df-border);
}
.df-beitrag__text blockquote p { margin: 0 0 var(--wp--preset--spacing--30); }
.df-beitrag__text blockquote > :last-child { margin-bottom: 0; }

/* previous / next post */
.df-beitrag__nachbarn {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	max-width: 68ch;
	margin-top: var(--wp--preset--spacing--60);
}
.df-beitrag--einspaltig .df-beitrag__nachbarn { margin-inline: auto; }
.df-beitrag__nachbar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: .25rem;
	min-width: 0;
	min-height: 2.75rem;
	padding: var(--wp--preset--spacing--40);
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	text-decoration: none;
	box-shadow: var(--df-shadow-soft);
	transition: border-color .2s ease;
}
.df-beitrag__nachbar:hover { border-color: var(--df-accent); }
.df-beitrag__nachbar-label {
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--df-muted);
}
.df-beitrag__nachbar--prev .df-beitrag__nachbar-label::before { content: "\2190\00a0"; }
.df-beitrag__nachbar--next .df-beitrag__nachbar-label::after { content: "\00a0\2192"; }
.df-beitrag__nachbar-title { font-family: var(--df-font-heading); font-size: var(--wp--preset--font-size--large); line-height: 1.3; color: var(--df-heading); }

@media (min-width: 48em) {
	.df-beitrag__text :is(img, figure).alignleft { float: left; max-width: 50%; margin: .35em var(--wp--preset--spacing--50) var(--wp--preset--spacing--30) 0; }
	.df-beitrag__text :is(img, figure).alignright { float: right; max-width: 50%; margin: .35em 0 var(--wp--preset--spacing--30) var(--wp--preset--spacing--50); }
	.df-beitrag__nachbarn { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.df-beitrag__nachbar--next { grid-column: 2; text-align: right; align-items: flex-end; }
}


/* ===== sections/buchung/style.css ===== */
/* section: buchung
 * type: buchung
 * status: NEU (2026-11-17, plan #25) – not in Blöcke – Übersicht
 * variants: standard
 * schemes: hell, hell-alt
 * fields: eyebrow, title, intro, type, note
 * notes: booking calendar of Simply Schedule Appointments (shortcode ssa_booking, an iframe from this website that
 *        resizes itself) inside a white card. The widget is dynamic (never cached by Elementor): the iframe URL
 *        carries a nonce.
 */
.df-buchung__head { max-width: 46rem; margin-bottom: var(--wp--preset--spacing--50); }
.df-buchung__title { margin: 0; }
.df-buchung__karte {
	--df-card-pad: var(--wp--preset--spacing--30);
	border-radius: var(--df-radius);
	background: #fff;
	box-shadow: var(--df-shadow-soft);
	min-height: 12rem;
}
.df-buchung__karte iframe { display: block; width: 100%; border: 0; }
.df-buchung__platzhalter { margin: 0; padding: var(--wp--preset--spacing--50); text-align: center; color: var(--df-muted); }
.df-buchung__note { margin: var(--wp--preset--spacing--40) 0 0; color: var(--df-muted); font-size: var(--wp--preset--font-size--small); }


/* ===== sections/einbettung/style.css ===== */
/* section: einbettung
 * type: einbettung
 * status: NEU (2026-11-17, plan #19 / #22) – not in Blöcke – Übersicht
 * variants: standard
 * options: height m|l|xl (frame height after loading)
 * schemes: hell, hell-alt
 * fields: title, intro, url, provider, notice, button_text, cta
 * notes: external iframe behind a consent placeholder ("two clicks"). The iframe is created by
 *        assets/js/sbw-consent.js (button in the block, or automatically when external content was allowed in the
 *        consent banner). Without JS the placeholder stays; the optional cta links to the provider's own page.
 */
.df-einbettung__head { max-width: 46rem; margin-bottom: var(--wp--preset--spacing--50); }
.df-einbettung__title { margin: 0; }
.df-einbettung__frame {
	border: 1px solid var(--df-border);
	border-radius: var(--wp--custom--radius, 8px);
	background: var(--wp--preset--color--base, #fff);
	box-shadow: var(--df-shadow-soft);
	overflow: hidden;
}
.df-einbettung__platzhalter {
	--df-space: var(--wp--preset--spacing--40);
	box-sizing: border-box;
	display: grid;
	align-content: center;
	justify-items: start;
	min-height: 16rem;
	max-width: 44rem;
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}
.df-einbettung__anbieter { margin: 0; font-weight: 600; color: var(--df-heading); }
.df-einbettung__hinweis { color: var(--df-muted); line-height: 1.6; }
.df-einbettung__hinweis p { margin: 0; }
.df-einbettung__fehlt { margin: 0; color: var(--df-muted); font-size: var(--wp--preset--font-size--small); }
.df-einbettung .df-btn:not(.df-btn--secondary) {
	--df-btn-bg: var(--wp--preset--color--accent);
	--df-btn-fg: var(--wp--preset--color--on-accent);
}
.df-einbettung__frame iframe { display: block; width: 100%; border: 0; background: #fff; }
.df-einbettung__frame--m iframe { height: 500px; }
.df-einbettung__frame--l iframe { height: 700px; }
.df-einbettung__frame--xl iframe { height: 900px; }


/* ===== sections/einladung/style.css ===== */
/* section: einladung
 * type: einladung
 * status: Baukasten
 * baukasten: Einladung
 * variants: bild-rechts
 * options: heading_level h2|h3, buttons 1|2 (cta1 orange pill, cta2 violet outline pill), note yes|no, caption yes|no
 * schemes: hell-alt, hell
 * fields: eyebrow, title, date, text, cta1, cta2, note, image, caption
 * list keys: -
 * motion items: .df-einladung__text > *
 * motion media: .df-einladung__media
 * used on: index, termine, bausteine
 * notes: Highlights the next seminar/event. Eyebrow here is a Marcellus line (not the uppercase df-eyebrow), date line Karla 600 violet. Image = placeholder in a rounded 16/11 frame with a soft violet shadow, caption below, centred. Phone: text first, image below (DOM order). cta1 is the orange pill (section rule), cta2 the theme outline pill. Shadows: image frame static --df-shadow-soft, cta1 warm glow tokens (theme base.css).
 */

/* ---------- layout ---------- */
.df-einladung__split { align-items: center; }
.df-einladung__text { min-width: 0; }

/* ---------- text ---------- */
.df-einladung__vorzeile {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-family: var(--df-font-heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	color: var(--df-accent);
}
.df-einladung .df-einladung__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--display);
	line-height: 1.08;
}
.df-einladung__datum {
	margin: var(--wp--preset--spacing--40) 0 var(--wp--preset--spacing--30);
	font-weight: 600;
	color: var(--df-accent);
}
.df-einladung__lead {
	max-width: 60ch;
	color: var(--df-muted);
	line-height: 1.72;
}
.df-einladung__text .df-actions { margin-top: var(--wp--preset--spacing--50); }

/* cta1 = orange pill (Baukasten "Platz sichern") */
.df-einladung__cta1 {
	--df-btn-bg: var(--wp--preset--color--accent);
	--df-btn-fg: var(--wp--preset--color--on-accent);
	--df-btn-shadow: var(--df-shadow-btn-accent); /* warm glow (tokens: theme base.css) */
	--df-btn-shadow-hover: var(--df-shadow-btn-accent-lift);
}
.df-einladung__cta1:hover { --df-btn-bg: var(--wp--custom--accent-light); filter: none; }

.df-einladung__hinweis {
	margin: var(--wp--preset--spacing--40) 0 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	color: var(--df-muted);
}

/* ---------- media ---------- */
.df-einladung__media { min-width: 0; margin: 0; }
.df-einladung__frame {
	border-radius: var(--df-radius);
	box-shadow: var(--df-shadow-soft); /* token from theme base.css (not clickable, no lift) */
}
.df-einladung__caption {
	margin: var(--wp--preset--spacing--30) 0 0;
	text-align: center;
	font-size: var(--wp--preset--font-size--small);
	color: var(--df-muted);
}

/* desktop column ratio: inline style="--df-split-cols: 1fr 1.05fr" on .df-split (framework custom property) */


/* ===== sections/faq/style.css ===== */
/* section: faq
 * type: faq
 * status: Baukasten
 * baukasten: FAQ 1 Liste, FAQ 2 Karten, FAQ 3 Kopf links
 * variants: liste, karten, kopf-links
 * options: heading_level h2|h3 (questions one level below), open_first yes|no, more yes|no (liste, karten), contact card yes|no (kopf-links), items 3-8
 * schemes: hell, hell-alt (all variants; alternate with the neighbours)
 * fields: eyebrow, title, intro, more (liste, karten), contact_image, contact_title, contact_text, contact_cta (kopf-links)
 * list keys: items (question, answer)
 * motion items: .df-faq__head > *, .df-faq__kontakt, .df-faq__item, .df-faq__mehr
 * motion media: -
 * used on: akademie (liste), aura-kamera (kopf-links), beratung (liste), dunkelretreat (karten/kopf-links), luzides-traeumen (liste), meditationslampe (liste), seminarhaus (liste), uebernachten (liste), bausteine
 * notes: Native <details>/<summary>, marker inside the box (own icon, list-style none), summary is a flex row min 44px high with the question as h3. Icon = plain chevron in all variants (down, open = up; user 2026-11-16, before: round plus / chevron in a circle). liste = hairlines. karten = each question a white card (open: stronger border + shadow). kopf-links = head + orange line + contact card left, questions right (lines); phone order head -> questions -> contact (DOM order, desktop via grid areas). Several answers may be open at once (approved: "Mehrere"). Head of liste/karten centred with orange line, list narrow (content size). Shadows: karten items and the kontakt card --df-shadow-soft + lift on hover (open item keeps --df-shadow-lift), round photo static soft shadow, contact CTA warm glow tokens (theme base.css).
 */

/* ---------- head ---------- */
.df-faq__head .df-eyebrow { letter-spacing: .12em; }
.df-faq .df-faq__title { margin: 0; }
.df-faq__intro {
	margin: var(--wp--preset--spacing--30) 0 0;
	max-width: 60ch;
	color: var(--df-muted);
	line-height: 1.7;
}
.df-faq__strich {
	display: block;
	width: 64px;
	height: 2px;
	margin: var(--wp--preset--spacing--50) 0 0;
	border: 0;
	background: var(--wp--preset--color--accent);
}
.df-faq--liste .df-faq__head,
.df-faq--karten .df-faq__head { text-align: center; }
.df-faq--liste :is(.df-faq__intro, .df-faq__strich),
.df-faq--karten :is(.df-faq__intro, .df-faq__strich) { margin-inline: auto; }

/* narrow column (liste, karten) */
.df-faq__schmal {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	max-width: var(--wp--style--global--content-size);
	margin: var(--wp--preset--spacing--60) auto 0;
}

/* ---------- accordion: base = lines ---------- */
.df-faq__list { border-top: 1px solid var(--df-border); }
.df-faq__item { border-bottom: 1px solid var(--df-border); }

.df-faq__frage {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--40);
	min-height: 2.75rem;
	padding: var(--wp--preset--spacing--40) var(--df-faq-innen, 0px);
	list-style: none;
	cursor: pointer;
	border-radius: var(--df-radius);
}
.df-faq__frage::-webkit-details-marker { display: none; }
.df-faq__frage::marker { content: ""; }
.df-faq .df-faq__q {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.35;
	text-wrap: pretty;
	transition: color .2s ease;
}
.df-faq__frage:hover .df-faq__q { color: var(--df-accent); }

/* icon: plain chevron without a circle (user 2026-11-16); points down, open = up. The 34px box stays, so the
   row height and the answer indent are unchanged. */
.df-faq__icon {
	position: relative;
	flex: none;
	width: 34px;
	height: 34px;
	color: var(--df-accent);
	transition: transform .3s cubic-bezier(.2, .7, .3, 1), color .2s ease;
}
.df-faq__icon::before {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 9px;
	height: 9px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}
.df-faq__frage:hover .df-faq__icon { color: var(--df-heading); }
.df-faq__item[open] .df-faq__icon { transform: rotate(180deg); }

/* answer (phone: full width) */
.df-faq__antwort {
	padding: 0 var(--df-faq-innen, 0px) var(--wp--preset--spacing--50);
	color: var(--df-muted);
	line-height: 1.65;
}
.df-faq__antwort :is(p, li) { max-width: 68ch; }
.df-faq__antwort ul { margin: var(--wp--preset--spacing--30) 0 0; }
.df-faq__antwort li { margin-bottom: var(--wp--preset--spacing--20); }
.df-faq__antwort a { color: var(--df-accent); }

/* "Deine Frage ist nicht dabei?" line */
.df-faq__mehr {
	margin: 0;
	text-align: center;
	color: var(--df-muted);
}
.df-faq__mehr p { margin: 0; }
.df-faq__mehr a,
.df-faq__link {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: 2.75rem;
	margin-left: var(--wp--preset--spacing--20);
	font-weight: 600;
	color: var(--df-accent);
	text-decoration: none;
}
.df-faq__mehr a::after { content: "\2192"; transition: transform .2s ease; }
.df-faq__mehr a:hover { color: var(--df-heading); }
.df-faq__mehr a:hover::after { transform: translateX(3px); }

/* ---------- variant karten: white cards + chevron ---------- */
.df-faq--karten .df-faq__list {
	--df-faq-innen: var(--wp--preset--spacing--40);
	display: grid;
	gap: var(--wp--preset--spacing--30);
	border-top: 0;
}
.df-faq--karten .df-faq__item {
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	box-shadow: var(--df-shadow-soft);
	transition: border-color .25s ease, var(--df-shadow-transition);
}
.df-faq--karten .df-faq__item[open] { border-color: color-mix(in srgb, var(--df-accent) 32%, transparent); box-shadow: var(--df-shadow-lift); }
@media (hover: hover) {
	.df-faq--karten .df-faq__item:hover { border-color: color-mix(in srgb, var(--df-accent) 32%, transparent); box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}
.df-faq--karten .df-faq__antwort { padding-bottom: var(--wp--preset--spacing--40); }

/* ---------- variant kopf-links ---------- */
.df-faq__split {
	display: grid;
	gap: var(--wp--preset--spacing--60);
}
.df-faq__kontakt {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	align-items: center;
	padding: var(--wp--preset--spacing--50);
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--wp--preset--color--base);
}
.df-faq__foto {
	width: 56px;
	border-radius: 50%;
}
.df-faq__kontakt-titel {
	margin: 0;
	font-family: var(--df-font-heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
	color: var(--df-heading);
}
.df-faq__kontakt-text { grid-column: 1 / -1; margin: 0; color: var(--df-muted); line-height: 1.5; }
.df-faq__kontakt-text p { margin: 0; }
.df-faq__kontakt .df-actions { grid-column: 1 / -1; margin-top: var(--wp--preset--spacing--30); }
/* contact CTA = orange pill */
.df-faq__cta {
	text-align: center;
	--df-btn-bg: var(--wp--preset--color--accent);
	--df-btn-fg: var(--wp--preset--color--on-accent);
	--df-btn-shadow: var(--df-shadow-btn-accent); /* warm glow (tokens: theme base.css) */
	--df-btn-shadow-hover: var(--df-shadow-btn-accent-lift);
}
.df-faq__cta:hover { --df-btn-bg: var(--wp--custom--accent-light); filter: none; }

/* ---------- desktop ---------- */
@media (min-width: 48em) {
	.df-faq__frage { padding-block: var(--wp--preset--spacing--40); }
	/* answer: free space on the right under the icon */
	.df-faq__antwort { padding-right: calc(34px + var(--wp--preset--spacing--40) + var(--df-faq-innen, 0px)); }
	/* contact card keeps the phone layout (photo + title in one row, text + button full width below):
	   the left column is only ~5/12 of the box, at 768 a 2-row photo column left 2-3 words per line */
	.df-faq__split {
		grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
		grid-template-areas: "head list" "kontakt list";
		grid-template-rows: auto 1fr;
		column-gap: var(--wp--preset--spacing--70);
		row-gap: var(--wp--preset--spacing--50);
		align-items: start;
	}
	.df-faq__split > .df-faq__head { grid-area: head; }
	.df-faq__split > .df-faq__list { grid-area: list; }
	.df-faq__split > .df-faq__kontakt { grid-area: kontakt; }
	.df-faq--kopf-links .df-faq__kontakt .df-actions > * { flex: 0 0 auto; }
}

/* ---------- shadows (user 2026-11-09; tokens from theme base.css): soft at rest, lift on hover ---------- */
.df-faq__kontakt { box-shadow: var(--df-shadow-soft); transition: var(--df-shadow-transition); }
@media (hover: hover) {
	.df-faq__kontakt:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}
.df-faq__foto { box-shadow: var(--df-shadow-soft); } /* round placeholder photo, static */


/* ===== sections/formular/style.css ===== */
/* section: formular
 * type: formular
 * status: NEU – not in Blöcke – Übersicht
 * baukasten: - (new type, style derived from Newsletter dunkel, light schemes)
 * variants: kennenlernen, kontakt
 * options: heading_level h2|h3, intro yes|no (richtext, a ul becomes a centred dot row), note yes|no (small line under the button), field hints (.df-formular__hinweis), form kennenlernen (Vorname*, E-Mail*, Wie möchtest du sprechen? Telefon|Zoom, Telefon + hint, Worum geht es dir?, Datenschutz*) | kontakt (Name*, E-Mail*, Telefon, Anliegen select, Nachricht*, Datenschutz*)
 * schemes: hell-alt, hell
 * fields: eyebrow, title, intro, form, consent, button_text, note
 * list keys: -
 * motion items: .df-formular__head > *, .df-formular__karte
 * motion media: -
 * used on: beratung (kennenlernen), kontakt (kontakt), bausteine
 * notes: NEU. Form section, non-submitting in the prototype (button type="button"). In WordPress the "form" field becomes a form shortcode / plugin form; the classes below style its fields. One column, labels above, full-width inputs, 16px+ input font, correct type + autocomplete, required fields marked with * plus a visible legend, consent checkbox required, error text below the field (.df-formular__fehler, hidden until validation). White card on Blass (df-card on hell-alt = white surface). Submit = full-width violet pill on phone, auto width from 48em. Shadows: card --df-shadow-soft + lift on hover, submit = orange pill with warm glow tokens (theme base.css).
 */

/* ---------- head ---------- */
.df-formular__head {
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
	text-align: center;
}
.df-formular__head .df-eyebrow { letter-spacing: .12em; }
.df-formular .df-formular__title { margin: 0; }
.df-formular__intro {
	margin: var(--wp--preset--spacing--30) auto 0;
	max-width: 60ch;
	color: var(--df-muted);
	line-height: 1.7;
}

/* ---------- card ---------- */
.df-formular__karte {
	max-width: var(--wp--style--global--content-size);
	margin: var(--wp--preset--spacing--50) auto 0;
	border-radius: var(--df-radius);
}

/* ---------- form: one column ---------- */
.df-formular__form {
	display: grid;
	gap: var(--wp--preset--spacing--50);
	margin: 0;
}
.df-formular__pflicht {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	color: var(--df-muted);
}
.df-formular__feld { display: grid; gap: var(--wp--preset--spacing--20); min-width: 0; margin: 0; padding: 0; border: 0; }
.df-formular__label,
.df-formular__feld > legend {
	padding: 0;
	font-weight: 600;
	color: var(--df-heading);
}
.df-formular__stern { color: var(--df-accent); }

.df-formular__input {
	display: block;
	width: 100%;
	min-height: 3rem;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 1px solid color-mix(in srgb, var(--df-fg) 55%, transparent);
	border-radius: var(--wp--custom--input-radius);
	background: var(--wp--preset--color--base);
	color: var(--df-fg);
	font: inherit;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.4;
}
.df-formular__input::placeholder { color: var(--df-muted); opacity: .8; }
textarea.df-formular__input { min-height: 8rem; resize: vertical; }
select.df-formular__input {
	appearance: none;
	padding-right: calc(var(--wp--preset--spacing--40) * 2 + 10px);
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - var(--wp--preset--spacing--40) - 5px) 55%, calc(100% - var(--wp--preset--spacing--40)) 55%;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}
.df-formular__input:focus-visible {
	outline: 3px solid var(--df-accent);
	outline-offset: 2px;
	border-color: var(--df-accent);
}
.df-formular__fehler {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	color: var(--wp--preset--color--secondary);
}

/* radio choices (Wunschkanal) */
.df-formular__optionen { display: flex; flex-wrap: wrap; gap: var(--wp--preset--spacing--30); }
.df-formular__option {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	min-height: 2.75rem;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	border: 1px solid var(--df-border);
	border-radius: var(--df-btn-radius);
	background: var(--wp--custom--base-soft);
	cursor: pointer;
}
.df-formular__option:has(input:checked) { border-color: var(--df-accent); background: var(--wp--custom--soft-bg); }
.df-formular__option input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--df-accent); }

/* consent */
.df-formular__zustimmung {
	display: flex;
	gap: var(--wp--preset--spacing--30);
	align-items: flex-start;
	line-height: 1.5;
	color: var(--df-fg);
	cursor: pointer;
}
.df-formular__zustimmung input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: .2em 0 0;
	accent-color: var(--df-accent);
}
.df-formular__zustimmung a { color: var(--df-accent); text-decoration: underline; text-underline-offset: .15em; }

.df-formular__form .df-actions { margin-top: 0; }
/* submit = orange pill like every Baukasten CTA (live: sb-btn sb-btn-orange) */
.df-formular .df-btn:not(.df-btn--secondary, .df-btn--link) {
	--df-btn-bg: var(--wp--preset--color--accent);
	--df-btn-fg: var(--wp--preset--color--on-accent);
	--df-btn-shadow: var(--df-shadow-btn-accent); /* warm glow (tokens: theme base.css) */
	--df-btn-shadow-hover: var(--df-shadow-btn-accent-lift);
}
/* note (field "note"): small line under the button */
.df-formular__note {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--df-muted);
}
/* hint under a single input (part of the form field, linked via aria-describedby) */
.df-formular__hinweis {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	color: var(--df-muted);
}

/* list in the intro: centred row of items with orange dots */
.df-formular__intro ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--wp--preset--spacing--20) var(--wp--preset--spacing--50);
	margin: var(--wp--preset--spacing--30) 0 0;
	padding: 0;
	list-style: none;
}
.df-formular__intro li { position: relative; padding-left: 1.1em; }
.df-formular__intro li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .6em;
	width: .45em;
	height: .45em;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}

/* ---------- desktop ---------- */
@media (min-width: 48em) {
	.df-formular__karte { padding: var(--wp--preset--spacing--60); }
}

/* ---------- shadows (user 2026-11-09; tokens from theme base.css): soft at rest, lift on hover ---------- */
.df-formular__karte { box-shadow: var(--df-shadow-soft); transition: var(--df-shadow-transition); }
@media (hover: hover) {
	.df-formular__karte:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}

/* ---------- theme additions (conversion, not in the prototype): Contact Form 7 output ----------
 * Templates: docs/cf7-forms.md (they reuse the df-formular__* classes via CF7 "class:" options).
 * CF7 wraps every control in span.wpcf7-form-control-wrap, renders radio/acceptance as
 * .wpcf7-list-item > label, adds .wpcf7-not-valid-tip / .wpcf7-response-output / .wpcf7-spinner.
 * The rules below make that markup look like the static prototype form above. */
.df-formular .wpcf7 { margin: 0; }
.df-formular .wpcf7-form-control-wrap { display: block; min-width: 0; }
.df-formular .wpcf7-form-control-wrap + .df-formular__hinweis { margin-top: 0; }

/* validation: invalid field + message below it (= .df-formular__fehler) */
.df-formular .wpcf7-not-valid.df-formular__input { border-color: var(--wp--preset--color--secondary); }
.df-formular .wpcf7-not-valid-tip {
	display: block;
	margin-top: var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	color: var(--wp--preset--color--secondary);
}

/* radio choices "Wie möchtest du sprechen?" ([radio … class:df-formular__optionen use_label_element]) */
.df-formular .wpcf7-radio.df-formular__optionen .wpcf7-list-item { margin: 0; }
.df-formular .wpcf7-radio.df-formular__optionen .wpcf7-list-item > label {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	min-height: 2.75rem;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	border: 1px solid var(--df-border);
	border-radius: var(--df-btn-radius);
	background: var(--wp--custom--base-soft);
	cursor: pointer;
}
.df-formular .wpcf7-radio.df-formular__optionen .wpcf7-list-item > label:has(input:checked) { border-color: var(--df-accent); background: var(--wp--custom--soft-bg); }
.df-formular .wpcf7-radio.df-formular__optionen input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--df-accent); }

/* consent ([acceptance datenschutz class:df-formular__zustimmung-feld] … [/acceptance] inside div.df-formular__zustimmung) */
div.df-formular__zustimmung { display: block; cursor: auto; }
.df-formular__zustimmung .wpcf7-list-item { display: block; margin: 0; }
.df-formular__zustimmung .wpcf7-list-item > label {
	display: flex;
	gap: var(--wp--preset--spacing--30);
	align-items: flex-start;
	line-height: 1.5;
	color: var(--df-fg);
	cursor: pointer;
}
.df-formular__zustimmung .wpcf7-list-item input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: .2em 0 0;
	accent-color: var(--df-accent);
}

/* submit: <input type="submit" class="wpcf7-submit df-btn"> + CF7 spinner next to it */
.df-formular .df-actions:has(.wpcf7-submit) { display: flex; flex-wrap: wrap; align-items: center; gap: var(--wp--preset--spacing--30); }
.df-formular input.wpcf7-submit.df-btn { appearance: none; -webkit-appearance: none; }
.df-formular input.wpcf7-submit.df-btn:disabled { opacity: .6; cursor: wait; }
.df-formular .wpcf7-spinner { margin: 0; }

/* response message (sent / error / spam) at the end of the form */
.df-formular .wpcf7-form .wpcf7-response-output {
	margin: 0;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 1px solid var(--df-border);
	border-radius: var(--wp--custom--input-radius);
	background: var(--wp--custom--base-soft);
	color: var(--df-fg);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
}
.df-formular .wpcf7-form.sent .wpcf7-response-output { border-color: var(--df-accent); background: var(--wp--custom--soft-bg); }
.df-formular .wpcf7-form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output { border-color: var(--wp--preset--color--secondary); }
.df-formular .wpcf7-form.init .wpcf7-response-output:empty { display: none; }

/* note under a CF7 form (section field "note", printed after the CF7 output) */
.df-formular__note--cf7 { margin-top: var(--wp--preset--spacing--40); }


/* ===== sections/galerie/style.css ===== */
/* section: galerie
 * type: galerie
 * status: Baukasten
 * baukasten: Galerie 1 Mosaik, Galerie 2 Raster mit Titel, Galerie 3 Karussell
 * variants: mosaik, raster, karussell
 * options: count (mosaik ideal 6 or 9, 5/8 work: last tile wide; raster any, 3 per row; karussell any, e.g. 8), intro optional, heading_level h2
 * schemes: hell, hell-alt
 * fields: title, intro
 * list keys: items (image, caption)
 * motion items: .df-galerie__head > *, .df-galerie__nav
 * motion media: .df-galerie__item
 * used on: seminarhaus (mosaik), ueber-corinna (mosaik), uebernachten (karussell), bausteine
 * notes: Every image = placeholder-streifen.jpg (client adds photos later). mosaik = first tile 2x2 on desktop (3 columns, 16:9 tiles), on phones 2 columns with the first tile full width; captions are kept for screen readers only (live Galerie Pro "Mosaik" shows no titles). raster = equal 4:3 tiles, 2 columns phone / 3 from 48em, caption on the image (dark violet gradient, white Marcellus). karussell = scroll-snap track (swipe / trackpad / keyboard: the track is focusable), about 1.2 slides visible on phones and 3.3 from 48em (peek of the next slide), prev/next buttons 44px below right (js/sections/galerie.js = later view.js; buttons only with JS, disabled at the ends), no autoplay, no loop. Shadows (tokens from theme base.css): every image frame --df-shadow-soft, the figure lifts on hover (hover: hover); prev/next buttons = button shadow. The karussell track scrolls (overflow-x: auto) and its inner padding (.25rem, bottom spacing-30) must not change, so karussell slides use the smaller --df-shadow-tight / --df-shadow-tight-lift that fits inside it. Live has a lightbox (link to the media file); the mockup has none yet.
 */

.df-galerie__head { max-width: var(--wp--style--global--content-size); margin-bottom: calc(var(--wp--preset--spacing--50) * 1.5); }
.df-galerie__head.df-galerie__head > * { margin-block: 0; }
.df-galerie__head.df-galerie__head > * + * { margin-top: var(--wp--preset--spacing--40); }
.df-galerie__head .df-lead { color: var(--df-muted); line-height: 1.7; max-width: 60ch; }

.df-galerie__item { min-width: 0; }
.df-galerie__figure { position: relative; height: 100%; margin: 0; transition: transform .25s ease; }
.df-galerie__figure .df-frame { border-radius: var(--df-radius); box-shadow: var(--df-shadow-soft); transition: box-shadow .25s ease; }
@media (hover: hover) {
	.df-galerie__figure:hover { transform: translateY(var(--df-lift)); }
	.df-galerie__figure:hover .df-frame { box-shadow: var(--df-shadow-lift); }
}
/* karussell: the track scrolls (overflow-x: auto) with only .25rem / spacing-30 inner padding, so the slides use the
   tight shadow that fits inside it (a bigger one would be cut off with a hard edge) */
.df-galerie--karussell .df-galerie__figure .df-frame { box-shadow: var(--df-shadow-tight); }
@media (hover: hover) {
	.df-galerie--karussell .df-galerie__figure:hover .df-frame { box-shadow: var(--df-shadow-tight-lift); }
}
.df-galerie__figure img { transition: transform .6s cubic-bezier(.2, .7, .3, 1); }
.df-galerie__figure:hover img { transform: scale(1.04); }

/* caption on the image (raster, karussell) */
.df-galerie__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: var(--wp--preset--spacing--50) var(--wp--preset--spacing--30) var(--wp--preset--spacing--30);
	border-radius: 0 0 var(--df-radius) var(--df-radius);
	background: linear-gradient(180deg,
		color-mix(in srgb, var(--wp--custom--dark-2) 0%, transparent) 0,
		color-mix(in srgb, var(--wp--custom--dark-2) 28%, transparent) 22%,
		color-mix(in srgb, var(--wp--custom--dark-2) 62%, transparent) 45%,
		color-mix(in srgb, var(--wp--custom--dark-2) 85%, transparent) 100%);
	font-family: var(--df-font-heading);
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.25;
	color: var(--wp--preset--color--base);
	text-shadow: 0 1px 2px color-mix(in srgb, var(--wp--custom--dark-2) 50%, transparent);
}

/* ---------- mosaik ---------- */
.df-galerie__grid--mosaik {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
}
.df-galerie--mosaik .df-galerie__item:first-child { grid-column: span 2; }
.df-galerie--mosaik .df-galerie__item:last-child:nth-child(even) { grid-column: span 2; }

/* ---------- raster ---------- */
.df-galerie__grid--raster {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--30);
}

/* ---------- karussell ---------- */
.df-galerie__track {
	--df-galerie-gap: var(--wp--preset--spacing--30);
	display: flex;
	gap: var(--df-galerie-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: var(--df-border) transparent;
	padding: .25rem .25rem var(--wp--preset--spacing--30);
	margin: -.25rem;
	scroll-padding-inline: .25rem; /* snap the first slide onto the gutter, not 4px left of it */
	border-radius: var(--df-radius);
}
.df-galerie__track:focus-visible { outline: 3px solid var(--df-accent); outline-offset: 2px; }
.df-galerie--karussell .df-galerie__item { flex: 0 0 82%; scroll-snap-align: start; }
.df-galerie__nav { display: flex; justify-content: flex-end; gap: var(--wp--preset--spacing--30); margin-top: var(--wp--preset--spacing--40); }
html:not(.df-js) .df-galerie__nav { display: none; }
.df-galerie__btn {
	display: grid;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	border: 1px solid var(--df-border);
	border-radius: 50%;
	background: var(--df-bg);
	color: var(--df-accent);
	cursor: pointer;
	box-shadow: var(--df-shadow-btn);
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, var(--df-shadow-transition);
}
.df-galerie__btn svg { width: 1.125rem; height: 1.125rem; }
.df-galerie__btn:hover:not(:disabled) { background: var(--df-accent); border-color: var(--df-accent); color: var(--df-btn-fg); }
@media (hover: hover) {
	.df-galerie__btn:hover:not(:disabled) { box-shadow: var(--df-shadow-btn-lift); transform: translateY(var(--df-lift-btn)); }
}
.df-galerie__btn:disabled { opacity: .4; cursor: default; box-shadow: none; }

@media (min-width: 48em) {
	.df-galerie__grid--mosaik { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40); }
	.df-galerie--mosaik .df-galerie__item:first-child { grid-column: span 2; grid-row: span 2; }
	.df-galerie--mosaik .df-galerie__item:first-child .df-frame { aspect-ratio: auto; height: 100%; }
	.df-galerie--mosaik .df-galerie__item:last-child:nth-child(even) { grid-column: auto; }
	.df-galerie--mosaik .df-galerie__item:last-child:nth-child(3n+2) { grid-column: span 2; }
	.df-galerie--mosaik .df-galerie__item:last-child:nth-child(3n+2) .df-frame { aspect-ratio: auto; height: 100%; }
	/* stretched tiles (first 2x2, last wide): the row height comes from the 16:9 tiles, the image only fills it
	   (absolute), so its own 16:9 height can no longer make the row taller and leave a hole under a small tile */
	.df-galerie--mosaik .df-galerie__item:is(:first-child, :last-child:nth-child(3n+2)) .df-frame { position: relative; min-height: 100%; }
	.df-galerie--mosaik .df-galerie__item:is(:first-child, :last-child:nth-child(3n+2)) .df-frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
	.df-galerie__grid--raster { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--wp--preset--spacing--40); }
	.df-galerie__track { --df-galerie-gap: var(--wp--preset--spacing--40); }
	.df-galerie--karussell .df-galerie__item { flex-basis: calc((100% - 3 * var(--df-galerie-gap)) / 3.3); }
}
@media (prefers-reduced-motion: reduce) {
	.df-galerie__figure img { transition: none; }
	.df-galerie__figure:hover img { transform: none; }
	.df-galerie__track { scroll-behavior: auto; }
}


/* ===== sections/hero/style.css ===== */
/* section: hero
 * type: hero
 * status: Baukasten
 * baukasten: Hero 1 Zentriert, Hero 2 Seitenkopf, Hero 3 Vollbild, Hero 4 Weich
 * variants: zentriert, seitenkopf, vollbild, weich
 * options: heading_level h1|h2 (h1 = first hero of a page; h2 e.g. weich as a closing CTA band further down), buttons 0|1|2, eyebrow optional (Baukasten shows it on vollbild only), title_accent optional (weich only)
 * schemes: zentriert hell, seitenkopf hell, vollbild dunkel, weich hell
 * fields: eyebrow, title, title_accent, text, cta1, cta2, image
 * list keys: –
 * motion items: .df-hero__content > *
 * motion media: -
 * used on: 404 (weich), agb (seitenkopf), akademie (seitenkopf/weich), astralreisen (vollbild), aura-kamera (seitenkopf), beratung (seitenkopf), blog-beitrag (seitenkopf), blog (seitenkopf), danke (seitenkopf), datenschutz (seitenkopf), dunkelretreat (vollbild), impressum (seitenkopf), index (zentriert), kontakt (seitenkopf), luzides-traeumen (seitenkopf/weich), meditationslampe (weich), seele-bewusstsein (seitenkopf/vollbild), seminarhaus (seitenkopf), termine (seitenkopf), ueber-corinna (seitenkopf/weich), uebernachten (seitenkopf), bausteine
 * notes: image = background layer .df-cover-bg (img data-df-field image; placeholder-streifen.jpg until the client adds photos; the ONLY photo is hero-1-schwarzwald.jpg in Hero 1 Zentriert on the homepage). Veils = live Elementor overlays of page 161 (zentriert radial white 90/50, seitenkopf 105deg white 93/50, vollbild 90deg Violett tief 90/15, weich 90deg Hell 90 -> Blass 35). cta1 = orange pill (all variants, as on live), cta2 = violet outline (zentriert, seitenkopf), white outline (vollbild, scheme default), soft violet fill (weich). Parallax = pure CSS scroll-driven animation on the background img (zentriert, seitenkopf, vollbild = the three live heroes with Elementor motion FX translateY + scale), off with prefers-reduced-motion and in browsers without animation-timeline. weich has no min-height (padding only), like live. vollbild: text sits low on phones and is vertically centred from 48em (left-aligned, max 40rem, like live). The first hero of a page loads eagerly (no loading=lazy, zentriert fetchpriority=high); heroes further down may be lazy. Shadows: no shadow on the background image; cta1 = warm glow button tokens from theme base.css.
 */

/* ---------- base (all variants) ---------- */
.df-hero {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
}
.df-hero > .df-section__inner { width: 100%; }

.df-hero__title { margin: 0; }
.df-hero__text { color: var(--df-muted); }
.df-hero__text > :last-child { margin-bottom: 0; }

/* the content stack: title, text, buttons */
.df-hero__content.df-stack { --df-space: var(--wp--preset--spacing--40); }
.df-hero__content.df-stack > .df-actions { margin-top: var(--wp--preset--spacing--50); }

/* orange CTA pill (cta1) – Baukasten: every hero's primary button is orange */
.df-hero .df-btn:not(.df-btn--secondary, .df-btn--link) {
	--df-btn-bg: var(--wp--preset--color--accent);
	--df-btn-fg: var(--wp--preset--color--on-accent);
	--df-btn-shadow: var(--df-shadow-btn-accent); /* warm glow (tokens: theme base.css) */
	--df-btn-shadow-hover: var(--df-shadow-btn-accent-lift);
}

/* a wrapping button label stays centred in its pill (e.g. weich cta1 at 320px) */
.df-hero .df-btn { text-align: center; }

/* veil over the background image: replaces the framework's flat overlay per variant */
.df-hero .df-cover-bg img { object-position: center; }

/* ---------- Hero 1 Zentriert: photo, white veil, centred ---------- */
.df-hero--zentriert { min-height: 72svh; }
.df-hero--zentriert .df-cover-bg::after {
	background: color-mix(in srgb, var(--df-bg) 88%, transparent);
}
.df-hero--zentriert .df-hero__content {
	max-width: var(--wp--style--global--content-size);
	margin-inline: auto;
	text-align: center;
}
.df-hero--zentriert .df-actions { justify-content: center; }

/* ---------- Hero 2 Seitenkopf: sub-page header, text left, image shows on the right ---------- */
.df-hero--seitenkopf { min-height: 72svh; }
.df-hero--seitenkopf .df-cover-bg::after {
	background: linear-gradient(105deg,
		color-mix(in srgb, var(--df-bg) 93%, transparent) 35%,
		color-mix(in srgb, var(--df-bg) 50%, transparent) 100%);
}
.df-hero--seitenkopf .df-hero__content { max-width: var(--wp--style--global--content-size); }

/* ---------- Hero 3 Vollbild: full image, white text. Veil (option "veil", 2026-11-17, user: no white and no
   heavy violet layer over the photos): "leicht" = neutral dark scrim only behind the text, the photo keeps its
   colours; "kraeftig" (.df-cover-bg--kraeftig) = the old deep violet veil, for busy or already violet images. ---------- */
.df-hero--vollbild {
	min-height: 72svh;
	justify-content: flex-end; /* phone: text sits low over the image, like live */
}
.df-hero--vollbild .df-cover-bg img { object-position: 72% 50%; }
.df-hero--vollbild .df-cover-bg::after {
	background: linear-gradient(0deg, rgb(22 10 20 / .72) 0%, rgb(22 10 20 / .45) 55%, rgb(22 10 20 / .1) 100%);
}
.df-hero--vollbild .df-cover-bg--kraeftig::after {
	background: linear-gradient(0deg,
		color-mix(in srgb, var(--wp--preset--color--secondary) 92%, transparent) 45%,
		color-mix(in srgb, var(--wp--preset--color--secondary) 45%, transparent) 100%);
}
.df-hero--vollbild :is(.df-hero__title, .df-hero__text) { text-shadow: 0 1px 14px rgb(0 0 0 / .4); }
.df-hero--vollbild .df-hero__content { max-width: 40rem; }
.df-hero--vollbild .df-eyebrow {
	color: var(--wp--custom--accent-light);
	letter-spacing: .14em;
}
.df-hero--vollbild .df-hero__text { color: color-mix(in srgb, var(--df-fg) 90%, transparent); }

/* ---------- Hero 4 Weich: soft striped background, large title with accent line ---------- */
.df-hero--weich .df-cover-bg::after {
	background: linear-gradient(90deg,
		color-mix(in srgb, var(--wp--custom--base-soft) 90%, transparent) 45%,
		color-mix(in srgb, var(--wp--preset--color--base-alt) 35%, transparent) 100%);
}
.df-hero--weich .df-hero__content { max-width: var(--wp--style--global--content-size); }
.df-hero--weich .df-hero__title {
	font-size: calc(var(--wp--preset--font-size--display) * 1.1);
	line-height: 1.04;
	letter-spacing: -.018em;
}
.df-hero__accent { display: block; color: var(--df-accent); }
.df-hero--weich .df-hero__text { max-width: 56ch; }
/* cta2 "sanft": soft violet fill, no border */
.df-hero--weich .df-btn--secondary {
	background: var(--wp--custom--soft-bg);
	border-color: transparent;
	color: var(--df-heading, var(--df-fg));
}
.df-hero--weich .df-btn--secondary:hover {
	background: color-mix(in srgb, var(--wp--preset--color--primary) 16%, transparent);
}

/* ---------- desktop ---------- */
@media (min-width: 48em) {
	.df-hero--zentriert,
	.df-hero--seitenkopf { min-height: min(80svh, 48rem); }
	.df-hero--vollbild { min-height: min(78svh, 47.5rem); justify-content: center; }

	.df-hero--zentriert .df-cover-bg::after {
		background: radial-gradient(at center center,
			color-mix(in srgb, var(--df-bg) 90%, transparent) 55%,
			color-mix(in srgb, var(--df-bg) 50%, transparent) 100%);
	}
	.df-hero--vollbild .df-cover-bg::after {
		background: linear-gradient(90deg, rgb(22 10 20 / .62) 0%, rgb(22 10 20 / .42) 40%, rgb(22 10 20 / 0) 75%);
	}
	.df-hero--vollbild .df-cover-bg--kraeftig::after {
		background: linear-gradient(90deg,
			color-mix(in srgb, var(--wp--preset--color--secondary) 90%, transparent) 50%,
			color-mix(in srgb, var(--wp--preset--color--secondary) 15%, transparent) 100%);
	}
	.df-hero--weich .df-hero__title { font-size: calc(var(--wp--preset--font-size--display) * 1.32); }
}

/* ---------- parallax (pure CSS, like the live Elementor motion FX) ---------- */
@supports (animation-timeline: view()) {
	@media (prefers-reduced-motion: no-preference) {
		/* named timeline on the section: an anonymous view() on the img would bind to .df-cover-bg
		   (overflow: hidden = its own scroll container that never scrolls) and the image would never move */
		:is(.df-hero--zentriert, .df-hero--seitenkopf, .df-hero--vollbild) { view-timeline: --df-hero-parallax block; }
		:is(.df-hero--zentriert, .df-hero--seitenkopf, .df-hero--vollbild) .df-cover-bg img {
			animation: df-hero-parallax linear both;
			animation-timeline: --df-hero-parallax;
			animation-range: cover 0% cover 100%;
		}
		@keyframes df-hero-parallax {
			from { transform: translateY(-8%) scale(1.12); }
			to   { transform: translateY(8%) scale(1.12); }
		}
	}
}


/* ===== sections/kacheln/style.css ===== */
/* section: kacheln
 * type: kacheln
 * status: Baukasten
 * baukasten: Kacheln 1 Link, Kacheln 2 Schritte, Kacheln 3 Info, Wege 5er, Angebote 3er, Werte, Fragen 2×2
 * variants: link, schritte, info, wege, angebote, werte, fragen
 * options: count 2 to 6 in every variant (never more than 3 cards per row, see notes), head eyebrow optional on wege/angebote/werte/fragen only (Baukasten), intro optional (all variants), heading_level h2, item title optional (schritte), item icon optional (list icon: angebote/werte; icon picker: angebote/werte/info/wege/fragen), werte: title_accent optional + cta optional
 * schemes: hell, hell-alt
 * fields: eyebrow, title, title_accent, intro, text, cta
 * list keys: items (kicker, icon, icon_pick, title, text, link)
 * motion items: .df-kacheln__head > *, .df-kacheln__card
 * motion media: –
 * used on: 404 (wege), akademie (werte/schritte), astralreisen (angebote), aura-kamera (angebote), beratung (info/schritte), danke (schritte/link), dunkelretreat (schritte/info/werte/angebote/fragen), index (angebote), kontakt (werte/info/fragen), luzides-traeumen (fragen/info/werte), meditationslampe (info/schritte), seele-bewusstsein (wege), seminarhaus (link/info), ueber-corinna (angebote/fragen), uebernachten (info/fragen), bausteine
 * notes: One type for the 7 card blocks of "Blöcke – Übersicht"; the variant only switches the look, the item fields stay the same (kicker only wege, icon only angebote/werte, link only link/wege/angebote). Cards are white (hell: --df-bg, hell-alt: --df-surface); info cards use --df-surface (Blass on hell, white on hell-alt). Grids (2026-11-16, never more than 3 cards per row): 1 column on phones; from 48em link/schritte/info/angebote = 3 columns, but 2 or 4 cards = 2 columns (2 / 2+2) and 5 cards = 3+2 with the second row centred (6-track grid); fragen = 2 columns, an odd last card is centred; wege = flex rows, 2 per row while the content box is narrower than 54rem (tablet portrait), else 3 per row, 2 or 4 cards always 2 per row, incomplete rows centred (5 = 3+2, fluid clamp, no extra media query); werte = df-split, its 2x2 cards drop to 1 column when the half column is narrower than 2 x 15rem, an odd last card spans the row. Cards of one row have the same height (grid / flex stretch). Icons (2026-11-16): one look in every variant = the werte look (plain, --df-accent, 1.375rem, no circle); source is the list icon (icons.php) or the Elementor icon picker (inline SVG from SBW_Icons). Lists inside card texts get orange dots like Text/Bild; a link that is a whole paragraph (e-mail, phone) gets a 44px tap target; the arrow of the text link is glued to the last word. Step numbers (schritte) are a CSS counter on the <ol>, not content. Link cards: the "mehr" link stretches over the whole card (::after), hover = focus-within (lift, gradient line, orange arrow). Werte cta = orange pill (section rule, warm glow shadow tokens). Shadows (user 2026-11-09): every card variant gets --df-shadow-soft at rest and lifts (--df-lift + --df-shadow-lift) on hover (hover: hover) and on :focus-within; tokens from theme base.css. Divider (short orange line) only angebote / werte / fragen, like the Baukasten.
 */

/* ---------- shared ---------- */
.df-kacheln { --df-kacheln-card: var(--wp--preset--color--base); --df-kacheln-gap: var(--wp--preset--spacing--40); }
.df-kacheln.df-scheme-hell-alt { --df-kacheln-card: var(--df-surface); }

.df-kacheln__head { max-width: var(--wp--style--global--content-size); margin-bottom: calc(var(--wp--preset--spacing--50) * 1.75); }
.df-kacheln__head.df-kacheln__head > * { margin-block: 0; }
.df-kacheln__head.df-kacheln__head > * + * { margin-top: var(--wp--preset--spacing--30); }
.df-kacheln__head > .df-lead,
.df-kacheln__head > .df-kacheln__lead { margin-top: var(--wp--preset--spacing--40); }
.df-kacheln .df-eyebrow { margin-bottom: 0; letter-spacing: .14em; }
.df-kacheln__head .df-lead { color: var(--df-muted); line-height: 1.7; max-width: 60ch; }
.df-kacheln__head--center { margin-inline: auto; text-align: center; }
.df-kacheln__head--center .df-lead { margin-inline: auto; }

.df-kacheln__divider {
	display: block;
	width: var(--wp--preset--spacing--60);
	height: 0;
	margin: var(--wp--preset--spacing--50) 0 0;
	border: 0;
	border-top: 2px solid var(--wp--preset--color--accent);
}
.df-kacheln__head--center .df-kacheln__divider { margin-inline: auto; }
.df-kacheln__head > .df-kacheln__divider { margin-top: var(--wp--preset--spacing--50); }

.df-kacheln__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--df-kacheln-gap);
}

.df-kacheln__card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--df-kacheln-card);
	--df-card-pad: var(--wp--preset--spacing--50);
	box-shadow: var(--df-shadow-soft);
	transition: border-color .25s ease, var(--df-shadow-transition);
}
/* lift (all variants): hover only on hover devices, keyboard via :focus-within */
.df-kacheln__card:focus-within { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
@media (hover: hover) {
	.df-kacheln__card:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}
.df-kacheln__card.df-kacheln__card > * { margin-block: 0; }
.df-kacheln__title {
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.25;
	margin-bottom: var(--wp--preset--spacing--30) !important;
}
.df-kacheln__text { color: var(--df-muted); line-height: 1.6; }
.df-kacheln__text a { color: var(--df-accent); }
/* a link that is the whole paragraph (e-mail, phone) gets a 44px tap target */
.df-kacheln__text p > a:only-child { display: inline-flex; align-items: center; min-height: 2.75rem; }
.df-kacheln__text > :first-child:has(> a:only-child) { margin-top: calc(var(--wp--preset--spacing--20) * -1); }
/* lists in cards: orange dots like Text/Bild */
.df-kacheln__text ul { list-style: none; margin: 0; padding: 0; }
.df-kacheln__text li { position: relative; padding-left: 1.4em; }
.df-kacheln__text li + li { margin-top: var(--wp--preset--spacing--20); }
.df-kacheln__text li::before {
	content: "";
	position: absolute;
	left: .1em;
	top: .6em;
	width: .45em;
	height: .45em;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}
.df-kacheln__text ul:not(:last-child) { margin-bottom: 1em; }

.df-kacheln__kicker {
	display: block;
	margin-bottom: var(--wp--preset--spacing--30) !important;
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	letter-spacing: .12em;
	line-height: 1.45;
	text-transform: uppercase;
	color: var(--df-accent);
}

/* text link with arrow (link / wege / angebote) */
.df-kacheln__more {
	display: block;
	align-self: flex-start;
	min-height: 2.75rem;
	margin-top: auto !important;
	padding-top: var(--wp--preset--spacing--30);
	font-weight: 600;
	color: var(--df-accent);
	text-decoration: none;
}
/* arrow glued to the last word (no-break space, inline) so it never wraps onto its own line */
.df-kacheln__more::after { content: "\00a0\2192"; position: relative; left: 0; transition: left .2s ease; }
.df-kacheln__more:hover { color: var(--df-heading); }
.df-kacheln__more:hover::after { left: 3px; }

/* icon: one look in every variant (reference: the werte cards on Akademie): plain, accent colour, no circle.
   The SVG comes from icons.php (list icon) or from the Elementor icon picker (SBW_Icons, Font Awesome paths). */
.df-kacheln__icon {
	display: inline-grid;
	place-items: start;
	flex: none;
	align-self: flex-start;
	margin-bottom: var(--wp--preset--spacing--30) !important;
	color: var(--df-accent);
}
.df-kacheln__icon svg { display: block; width: 1.375rem; height: 1.375rem; fill: currentColor; }
/* fallback only (icon library without SVG data): Elementor prints a font icon */
.df-kacheln__icon i { display: block; font-size: 1.375rem; line-height: 1; }

/* columns from 48em: never more than 3 cards per row */
@media (min-width: 48em) {
	.df-kacheln__grid { grid-template-columns: repeat(var(--df-kacheln-cols, 3), minmax(0, 1fr)); }
	/* 2 or 4 cards: two columns (2 / 2 + 2) instead of an empty third column or 3 + 1 */
	.df-kacheln__grid:has(> :nth-child(2):last-child),
	.df-kacheln__grid:has(> :nth-child(4):last-child) { --df-kacheln-cols: 2; }
	/* 5 cards: 3 + 2, second row centred (6 tracks, every card spans 2, the 4th starts at track 2) */
	:is(.df-kacheln--link, .df-kacheln--schritte, .df-kacheln--info, .df-kacheln--angebote) .df-kacheln__grid:has(> :nth-child(5):last-child) { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	:is(.df-kacheln--link, .df-kacheln--schritte, .df-kacheln--info, .df-kacheln--angebote) .df-kacheln__grid:has(> :nth-child(5):last-child) > * { grid-column: span 2; }
	:is(.df-kacheln--link, .df-kacheln--schritte, .df-kacheln--info, .df-kacheln--angebote) .df-kacheln__grid:has(> :nth-child(5):last-child) > :nth-child(4) { grid-column: 2 / span 2; }
}

/* ---------- link (Kacheln 1 Link) ---------- */
.df-kacheln--link .df-kacheln__card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1;
	height: 3px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--wp--preset--color--accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .32s cubic-bezier(.2, .7, .3, 1);
}
.df-kacheln--link .df-kacheln__title { padding-right: 3rem; }
.df-kacheln__arrow {
	position: absolute;
	top: var(--wp--preset--spacing--50);
	right: var(--wp--preset--spacing--50);
	display: grid;
	place-items: center;
	width: 2.125rem;
	height: 2.125rem;
	border: 1px solid var(--df-border);
	border-radius: 50%;
	color: var(--df-accent);
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.df-kacheln__arrow svg { width: .875rem; height: .875rem; }
.df-kacheln--link .df-kacheln__more::before { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.df-kacheln--link .df-kacheln__more:focus-visible { outline: none; }
.df-kacheln--link .df-kacheln__card:has(.df-kacheln__more:focus-visible) { outline: 3px solid var(--df-accent); outline-offset: 3px; }
.df-kacheln--link .df-kacheln__card:is(:hover, :focus-within) { border-color: color-mix(in srgb, var(--df-accent) 34%, transparent); }
.df-kacheln--link .df-kacheln__card:is(:hover, :focus-within)::before { transform: scaleX(1); }
.df-kacheln--link .df-kacheln__card:is(:hover, :focus-within) .df-kacheln__arrow {
	background: var(--wp--preset--color--accent);
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--on-accent);
}
@media (min-width: 48em) {
	.df-kacheln--link .df-kacheln__card { min-height: 15.75rem; }
}

/* ---------- schritte (Kacheln 2 Schritte) ---------- */
.df-kacheln--schritte .df-kacheln__grid { counter-reset: df-kacheln-step; }
.df-kacheln--schritte .df-kacheln__card { counter-increment: df-kacheln-step; }
.df-kacheln--schritte .df-kacheln__card::before {
	content: counter(df-kacheln-step);
	display: grid;
	place-items: center;
	width: 2.625rem;
	height: 2.625rem;
	margin-bottom: var(--wp--preset--spacing--40);
	border-radius: 50%;
	background: var(--df-surface);
	color: var(--df-accent);
	font-family: var(--df-font-heading);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1;
}
.df-kacheln--schritte.df-scheme-hell-alt .df-kacheln__card::before { background: var(--df-accent); color: var(--df-btn-fg); }

/* ---------- info (Kacheln 3 Info) ---------- */
.df-kacheln--info .df-kacheln__card { background: var(--df-surface); border-color: transparent; }

/* ---------- wege (Wege): 1 -> 2 per row -> 3 per row, incomplete rows centred (5 = 3 + 2), never 5 in a row ---------- */
.df-kacheln--wege .df-kacheln__grid { display: flex; flex-wrap: wrap; justify-content: center; }
.df-kacheln--wege .df-kacheln__card { flex: 0 1 100%; }
.df-kacheln--wege .df-kacheln__title { font-size: var(--wp--preset--font-size--large); }
@media (min-width: 48em) {
	.df-kacheln--wege .df-kacheln__card {
		/* content box >= 54rem: 3 per row (cards >= 17rem wide), narrower (tablet portrait): 2 per row */
		flex-basis: clamp((100% - 2 * var(--df-kacheln-gap)) / 3, (54rem - 100%) * 999, (100% - var(--df-kacheln-gap)) / 2);
	}
	/* 2 or 4 cards: always 2 per row (2 / 2 + 2) */
	.df-kacheln--wege .df-kacheln__grid:has(> :nth-child(2):last-child) > .df-kacheln__card,
	.df-kacheln--wege .df-kacheln__grid:has(> :nth-child(4):last-child) > .df-kacheln__card { flex-basis: calc((100% - var(--df-kacheln-gap)) / 2); }
}

/* ---------- angebote (Angebote 3er) ---------- */
.df-kacheln--angebote .df-kacheln__card { --df-card-pad: calc(var(--wp--preset--spacing--50) * 1.3); }
.df-kacheln--angebote .df-kacheln__card--hervor {
	border-color: var(--df-accent);
	background: linear-gradient(170deg, var(--df-kacheln-card) 0%, var(--wp--preset--color--base-alt) 100%);
}

/* ---------- werte (Werte: text left, 2x2 small cards right) ---------- */
.df-kacheln--werte .df-kacheln__head { margin-bottom: 0; max-width: none; }
.df-kacheln__accent { display: block; color: var(--df-accent); }
.df-kacheln--werte .df-kacheln__head > .df-kacheln__divider { margin-block: var(--wp--preset--spacing--50); }
.df-kacheln--werte .df-kacheln__head > .df-kacheln__divider + * { margin-top: 0; }
.df-kacheln__body { color: var(--df-muted); max-width: 60ch; line-height: 1.65; }
.df-kacheln--werte .df-kacheln__head > .df-actions { margin-top: var(--wp--preset--spacing--50); }
.df-kacheln__cta { --df-btn-bg: var(--wp--preset--color--accent); --df-btn-fg: var(--wp--preset--color--on-accent); --df-btn-shadow: var(--df-shadow-btn-accent); --df-btn-shadow-hover: var(--df-shadow-btn-accent-lift); }
.df-kacheln--werte .df-kacheln__grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
/* odd number of cards: the last one spans the row (no empty slot) */
.df-kacheln--werte .df-kacheln__card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ---------- fragen (Fragen 2×2) ---------- */
.df-kacheln--fragen { --df-kacheln-cols: 2; }
.df-kacheln--fragen .df-kacheln__card { --df-card-pad: calc(var(--wp--preset--spacing--50) * 1.2); }
.df-kacheln--fragen .df-kacheln__text a { text-decoration: underline; text-underline-offset: .15em; }
@media (min-width: 48em) {
	/* odd number of cards: the last one is centred at column width (like the wege rows) */
	.df-kacheln--fragen .df-kacheln__card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--df-kacheln-gap)) / 2); }
}

@media (prefers-reduced-motion: reduce) {
	.df-kacheln__card { transition: border-color .25s ease, box-shadow .25s ease !important; } /* shadow change only */
	.df-kacheln__card::before,
	.df-kacheln__more::after { transition: none !important; }
	.df-kacheln__card:is(:hover, :focus-within) { transform: none !important; }
}

/* angebote keeps its round icon badge (look approved 2026-11-09; also keeps the section heights). The other icon
   variants use the plain werte look. Coordinator decision 2026-11-16, open question to the user. */
.df-kacheln--angebote .df-kacheln__icon { place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: var(--wp--preset--spacing--50) !important; border-radius: 50%; background: var(--wp--preset--color--base-alt); } /* fixed tint: --df-surface is white on hell-alt = invisible on the white card */
.df-kacheln--angebote .df-kacheln__icon svg { width: 1.5rem; height: 1.5rem; }


/* ===== sections/newsletter/style.css ===== */
/* section: newsletter
 * type: newsletter
 * status: Baukasten
 * baukasten: Newsletter dunkel
 * variants: zentriert
 * options: heading_level h2|h3, show_name yes|no, provider none (form not connected: the button does not submit)
 * schemes: dunkel
 * fields: title, text, name_label, name_placeholder, email_label, email_placeholder, consent, button_text, note
 * list keys: -
 * motion items: .df-newsletter__box > *
 * motion media: -
 * used on: index, termine, bausteine
 * notes: Dark violet gradient (scheme dunkel from base.css), narrow centred column (~560px). Vorname optional + E-Mail required side by side from 48em, consent checkbox required (privacy link in accent-light), full-width orange pill (scheme dunkel button = accent), small note. Live form is not connected to a newsletter service; in the prototype the button is type="button" (nothing is sent). Inputs 16px+ (no iOS zoom), labels above, autocomplete given-name / email. Shadows: the column itself has no surface, so it gets no box shadow; the button uses the dark-scheme button tokens from theme base.css.
 */

/* ---------- column ---------- */
.df-newsletter__box {
	max-width: 35rem;
	margin-inline: auto;
	text-align: center;
}
.df-newsletter .df-newsletter__title { margin: 0; }
.df-newsletter__text {
	margin: var(--wp--preset--spacing--30) auto 0;
	color: var(--df-muted);
	line-height: 1.72;
}

/* ---------- form (phone: one column) ---------- */
.df-newsletter__form {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	margin: var(--wp--preset--spacing--50) 0 0;
	text-align: left;
}
.df-newsletter__feld { display: block; min-width: 0; }
.df-newsletter__label {
	display: block;
	margin: 0 0 var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	color: var(--df-muted);
}
.df-newsletter__input {
	display: block;
	width: 100%;
	min-height: 3rem;
	padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
	border: 1px solid color-mix(in srgb, var(--df-fg) 45%, transparent);
	border-radius: var(--wp--custom--input-radius);
	background: color-mix(in srgb, var(--df-fg) 8%, transparent);
	color: var(--df-fg);
	font: inherit;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.3;
}
.df-newsletter__input::placeholder { color: color-mix(in srgb, var(--df-fg) 62%, transparent); }
.df-newsletter__input:focus-visible {
	outline: 3px solid var(--df-accent);
	outline-offset: 2px;
	border-color: var(--df-fg);
}

/* consent */
.df-newsletter__zustimmung {
	display: flex;
	gap: var(--wp--preset--spacing--30);
	align-items: flex-start;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
	color: var(--df-muted);
	cursor: pointer;
}
.df-newsletter__zustimmung input {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin: .15em 0 0;
	accent-color: var(--df-accent);
}
.df-newsletter__zustimmung :is(p, div) { margin: 0; }
.df-newsletter__zustimmung a {
	color: var(--wp--custom--accent-light);
	text-decoration: underline;
	text-underline-offset: .15em;
}

/* button: full width orange pill (dunkel scheme button colours) */
.df-newsletter__btn {
	width: 100%;
	min-height: 3rem;
	/* shadow: dark-scheme button tokens from theme base.css (--df-shadow-dark-btn) */
}
.df-newsletter__btn:hover { --df-btn-bg: var(--wp--custom--accent-light); filter: none; }

.df-newsletter__note {
	margin: var(--wp--preset--spacing--40) 0 0;
	font-size: var(--wp--preset--font-size--small);
	color: var(--df-muted);
}

/* ---------- desktop: name + e-mail side by side ---------- */
@media (min-width: 48em) {
	.df-newsletter__form { grid-template-columns: 1fr 1fr; gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); }
	.df-newsletter__zustimmung,
	.df-newsletter__btn { grid-column: 1 / -1; }
	.df-newsletter__form--ohne-name .df-newsletter__feld { grid-column: 1 / -1; }
}


/* ===== sections/stimmen/style.css ===== */
/* section: stimmen
 * type: stimmen
 * status: Baukasten
 * baukasten: Stimmen
 * variants: grid
 * options: count 3 (one row of 3 cards), rating optional (head may show only the title, e.g. when the quotes are not from the rated source), intro optional, disclosure optional (disclosure_title + disclosure_text), per item: stars optional, source optional, link optional, heading_level h2
 * schemes: hell, hell-alt
 * fields: rating, title, intro, disclosure_title, disclosure_text
 * list keys: items (stars, source, quote, name, company, link)
 * motion items: .df-stimmen__head > *, .df-stimmen__disclosure, .df-stimmen__card
 * motion media: –
 * used on: dunkelretreat, index, bausteine
 * notes: Rating head = the H2 of the block, set small (Karla 600, Violett tief) like live: "<rating> ★ <title>" (the orange star is decoration from the template, aria-hidden). All texts are the Baukasten placeholders ("X,X", "NN", "Platzhalter für eine echte Stimme …") and must be replaced with real reviews (Google / VanSite) before launch. Disclosure = native <details> (+/− icon inside the box). Cards white (hell: --df-bg, hell-alt: --df-surface), 1 column on phones, 3 from 48em. Stars = item option 1-5 (text ★, role="img" + aria-label). Shadows: cards + disclosure box --df-shadow-soft, lift on hover (tokens from theme base.css).
 */

.df-stimmen { --df-stimmen-card: var(--wp--preset--color--base); }
.df-stimmen.df-scheme-hell-alt { --df-stimmen-card: var(--df-surface); }

.df-stimmen__head { max-width: var(--wp--style--global--content-size); margin: 0 auto var(--wp--preset--spacing--50); text-align: center; }
.df-stimmen__head.df-stimmen__head > * { margin-block: 0; }
.df-stimmen__head.df-stimmen__head > * + * { margin-top: var(--wp--preset--spacing--30); }
.df-stimmen .df-stimmen__rating {
	font-family: var(--df-font-body);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	line-height: 1.4;
}
.df-stimmen__star { margin-inline: .25em; color: var(--wp--preset--color--accent); }
.df-stimmen__intro { color: var(--df-muted); font-size: var(--wp--preset--font-size--medium); }

/* disclosure */
.df-stimmen__disclosure {
	margin: 0 0 var(--wp--preset--spacing--40);
	border: 1px solid var(--df-border);
	border-radius: var(--df-radius);
	background: var(--df-stimmen-card);
}
.df-stimmen__disclosure summary {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--30);
	min-height: 2.75rem;
	padding: var(--wp--preset--spacing--40) var(--wp--preset--spacing--50);
	cursor: pointer;
	list-style: none;
	font-weight: 600;
	color: var(--df-heading);
}
.df-stimmen__disclosure summary::-webkit-details-marker { display: none; }
.df-stimmen__disclosure summary::before {
	content: "+";
	display: grid;
	place-items: center;
	flex: none;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--wp--preset--color--base-alt);
	color: var(--df-accent);
	line-height: 1;
}
.df-stimmen.df-scheme-hell-alt .df-stimmen__disclosure summary::before { background: var(--df-bg); }
.df-stimmen__disclosure[open] summary::before { content: "–"; }
.df-stimmen__disclosure-text {
	max-width: 72ch;
	padding: 0 var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
	color: var(--df-muted);
}
.df-stimmen__disclosure-text > * { margin-block: 0; }

/* cards */
.df-stimmen__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--wp--preset--spacing--40); }
.df-stimmen__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	height: 100%;
	background: var(--df-stimmen-card);
}
.df-stimmen__card.df-stimmen__card > * { margin-block: 0; }
.df-stimmen__top {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--wp--preset--spacing--30);
	margin-bottom: var(--wp--preset--spacing--40) !important;
}
.df-stimmen__stars { color: var(--wp--preset--color--accent); letter-spacing: .12em; }
.df-stimmen__source {
	padding: .25rem .625rem;
	border: 1px solid var(--df-accent);
	border-radius: var(--df-btn-radius);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.2;
	color: var(--df-accent);
}
.df-stimmen__quote { margin: 0 0 var(--wp--preset--spacing--40) !important; line-height: 1.6; }
.df-stimmen__quote > * { margin-block: 0; }
.df-stimmen__who { color: var(--df-muted); }
.df-stimmen__name { color: var(--df-fg); font-weight: 600; }
.df-stimmen__more {
	display: block;
	align-self: flex-start;
	min-height: 2.75rem;
	margin-top: auto !important;
	padding-top: var(--wp--preset--spacing--30);
	font-weight: 600;
	color: var(--df-accent);
	text-decoration: none;
}
.df-stimmen__more::after { content: "→"; margin-left: var(--wp--preset--spacing--20); transition: transform .2s ease; }
.df-stimmen__more:hover { color: var(--df-heading); }
.df-stimmen__more:hover::after { transform: translateX(3px); }

@media (min-width: 48em) {
	.df-stimmen__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.df-stimmen__more::after { transition: none; }
}

/* ---------- shadows (user 2026-11-09; tokens from theme base.css): soft at rest, lift on hover ---------- */
.df-stimmen__card,
.df-stimmen__disclosure { box-shadow: var(--df-shadow-soft); transition: var(--df-shadow-transition); }
@media (hover: hover) {
	.df-stimmen__card:hover,
	.df-stimmen__disclosure:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}


/* ===== sections/termin/style.css ===== */
/* section: termin
 * type: termin
 * status: Baukasten
 * baukasten: Termin-Karte
 * variants: karte
 * options: heading_level h2|h3, button 0|1 (text link with arrow), facts 1-4 (pills)
 * schemes: hell-alt, hell
 * fields: image, icon, eyebrow, title, text, cta1
 * list keys: items (label)
 * motion items: .df-termin__karte
 * motion media: -
 * used on: index, termine, bausteine
 * notes: The tile wrapper keeps the .df-frame from being the first child of .df-card (else the framework bleeds it to the card edge). Compact section (df-pt-m/df-pb-m) with a vertical gradient Blass -> Hell like live. White card (df-card on hell-alt = white surface). Left a 96px tile = placeholder image + moon icon circle (icon is decorative, inline SVG). Facts as pills on the right (desktop) / as a wrapping pill row under the text (phone). Link = text link with arrow, min-height 44px. Shadows: card --df-shadow-soft + lift on hover; the image tile (.df-termin__marke) a static --df-shadow-soft (not clickable, no lift).
 */

/* ---------- section ---------- */
.df-termin {
	background: linear-gradient(180deg, var(--df-bg), var(--wp--custom--base-soft));
}

/* ---------- card (phone: one column) ---------- */
.df-termin__karte {
	--df-card-pad: var(--wp--preset--spacing--50);
	display: grid;
	gap: var(--wp--preset--spacing--40);
	max-width: 65rem;
	margin-inline: auto;
	border-radius: var(--df-radius);
}

/* tile: placeholder image + icon circle */
.df-termin__marke {
	position: relative;
	width: 72px;
	border-radius: var(--df-radius);
	overflow: hidden;
}
.df-termin__icon {
	position: absolute;
	inset: 0;
	margin: auto;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--base) 82%, transparent);
	color: var(--df-accent);
}
.df-termin__icon svg { width: 22px; height: 22px; }

/* text */
.df-termin__text { min-width: 0; }
.df-termin__text .df-eyebrow { margin-bottom: var(--wp--preset--spacing--30); letter-spacing: .12em; }
.df-termin .df-termin__title {
	margin: 0 0 var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.15;
}
.df-termin__lead {
	max-width: 62ch;
	color: var(--df-muted);
	line-height: 1.7;
}
.df-termin__link {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	min-height: 2.75rem;
	margin-top: var(--wp--preset--spacing--20);
	font-weight: 600;
	color: var(--df-accent);
	text-decoration: none;
}
.df-termin__link::after { content: "\2192"; transition: transform .2s ease; }
.df-termin__link:hover { color: var(--df-heading); }
.df-termin__link:hover::after { transform: translateX(3px); }

/* facts = pills */
.df-termin__fakten {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--20);
	margin: 0;
	padding: 0;
	list-style: none;
}
.df-termin__fakten li {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 2.5rem;
	padding: var(--wp--preset--spacing--20) var(--wp--preset--spacing--40);
	border: 1px solid var(--df-border);
	border-radius: var(--df-btn-radius);
	background: var(--wp--custom--base-soft);
	color: var(--df-heading);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	white-space: nowrap;
}

/* ---------- desktop: tile | text | pills ---------- */
@media (min-width: 48em) {
	.df-termin__karte {
		grid-template-columns: auto minmax(0, 1fr) auto;
		align-items: center;
		gap: var(--wp--preset--spacing--50);
		padding: var(--wp--preset--spacing--50);
	}
	.df-termin__marke { width: 96px; }
	.df-termin__fakten { flex-direction: column; flex-wrap: nowrap; }
	.df-termin__fakten li { min-width: 9.5rem; }
}

/* ---------- shadows (user 2026-11-09; tokens from theme base.css): soft at rest, lift on hover ---------- */
.df-termin__karte { box-shadow: var(--df-shadow-soft); transition: var(--df-shadow-transition); }
@media (hover: hover) {
	.df-termin__karte:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}
.df-termin__marke { box-shadow: var(--df-shadow-soft); }


/* ===== sections/termine/style.css ===== */
/* section: termine
 * type: termine
 * status: NEU – not in Blöcke – Übersicht
 * baukasten: - (new type, style derived from Termin-Karte)
 * variants: liste
 * options: heading_level h2|h3 (month h3, event h4), source manual|events (system open, sitemap Q5), empty state when no item
 * schemes: hell-alt, hell
 * fields: eyebrow, title, intro, empty
 * list keys: items (date, time, title, place, price, link)
 * motion items: .df-termine__head > *, .df-termine__liste > *, .df-termine__leer
 * motion media: -
 * used on: termine, bausteine
 * notes: NEU. Event list grouped by month: the month headings (.df-termine__monat) are generated from the item dates by the renderer, they are not fields. Each row = white card like the Termin-Karte: date bold (violet) + time | title + place · price | outline pill button "Details / Anmelden". Phone: stacked, button full width. Desktop: 3 columns. Empty state card (field empty, text still to be confirmed by the client) replaces the list. The list uses the full container width. Shadows: event cards and empty state --df-shadow-soft + lift on hover (tokens from theme base.css).
 */

/* ---------- head ---------- */
.df-termine__head { max-width: 65ch; }
.df-termine__head .df-eyebrow { letter-spacing: .12em; }
.df-termine .df-termine__title { margin: 0; }
.df-termine__intro { margin: var(--wp--preset--spacing--30) 0 0; color: var(--df-muted); line-height: 1.7; }

/* ---------- list ---------- */
.df-termine__liste {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	/* full container width, rows line up with the head and the other sections */
	margin-top: var(--wp--preset--spacing--60);
}
.df-termine .df-termine__monat {
	display: flex;
	align-items: center;
	gap: var(--wp--preset--spacing--40);
	margin: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--x-large);
}
.df-termine .df-termine__monat:first-child { margin-top: 0; }
.df-termine__monat::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--df-border);
}

/* one event = card */
.df-termine__item {
	--df-card-pad: var(--wp--preset--spacing--50);
	display: grid;
	gap: var(--wp--preset--spacing--30);
	border-radius: var(--df-radius);
	box-shadow: var(--df-shadow-soft);
	transition: border-color .25s ease, var(--df-shadow-transition);
}
@media (hover: hover) {
	.df-termine__item:hover { border-color: color-mix(in srgb, var(--df-accent) 32%, transparent); box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}
.df-termine__wann { margin: 0; display: flex; flex-wrap: wrap; gap: 0 var(--wp--preset--spacing--30); align-items: baseline; }
.df-termine__datum { font-weight: 600; color: var(--df-heading); }
.df-termine__zeit { color: var(--df-muted); }
.df-termine__was { min-width: 0; }
.df-termine .df-termine__name {
	margin: 0;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
}
.df-termine__meta {
	margin: var(--wp--preset--spacing--20) 0 0;
	color: var(--df-muted);
}
.df-termine__sep { color: var(--df-accent); }
.df-termine__item .df-btn { width: 100%; }

/* empty state */
.df-termine__leer {
	/* full container width, rows line up with the head and the other sections */
	margin: var(--wp--preset--spacing--60) 0 0;
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	border: 1px dashed color-mix(in srgb, var(--df-accent) 35%, transparent);
	border-radius: var(--df-radius);
	background: var(--df-surface);
	text-align: center;
	font-family: var(--df-font-heading);
	font-size: var(--wp--preset--font-size--x-large);
	color: var(--df-heading);
}

/* ---------- desktop: date | title + meta | button ---------- */
@media (min-width: 48em) {
	.df-termine__item {
		grid-template-columns: 12rem minmax(0, 1fr) auto;
		align-items: center;
		gap: var(--wp--preset--spacing--50);
	}
	.df-termine__wann { flex-direction: column; gap: 0; }
	.df-termine__item .df-btn { width: auto; }
}

/* ---------- shadows (user 2026-11-09; tokens from theme base.css): soft at rest, lift on hover ---------- */
.df-termine__leer { box-shadow: var(--df-shadow-soft); transition: var(--df-shadow-transition); }
@media (hover: hover) {
	.df-termine__leer:hover { box-shadow: var(--df-shadow-lift); transform: translateY(var(--df-lift)); }
}

/* ---------- source auto (post type Termine, 1.5.0): description inside the row, "ausgebucht" ---------- */
.df-termine__voll {
	margin: 0;
	padding: .45em 1.1em;
	border-radius: 999px;
	background: color-mix(in srgb, var(--df-heading) 10%, transparent);
	color: var(--df-heading);
	font-weight: 600;
	text-align: center;
}
.df-termine__item--voll .df-termine__name { color: var(--df-muted); }
.df-termine__mehr { min-width: 0; }
.df-termine__mehr summary {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	min-height: 2.75rem;
	cursor: pointer;
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	list-style: none;
}
.df-termine__mehr summary::-webkit-details-marker { display: none; }
.df-termine__mehr summary::after {
	content: "";
	width: .5em;
	height: .5em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-.15em) rotate(45deg);
	transition: transform .2s ease;
}
.df-termine__mehr[open] summary::after { transform: translateY(.1em) rotate(-135deg); }
.df-termine__mehr summary:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; border-radius: 4px; }
.df-termine__text { max-width: 70ch; padding: var(--wp--preset--spacing--20) 0 var(--wp--preset--spacing--30); line-height: 1.7; color: var(--df-fg); overflow-wrap: anywhere; }
.df-termine__text > :first-child { margin-top: 0; }
.df-termine__text > :last-child { margin-bottom: 0; }
.df-termine__text img { max-width: 100%; height: auto; border-radius: var(--df-radius); }
.df-termine__hinweis { margin: var(--wp--preset--spacing--30) 0 0; text-align: center; color: var(--df-muted); font-size: var(--wp--preset--font-size--small); }
@media (min-width: 48em) {
	.df-termine__voll { justify-self: end; }
	/* the description spans the title column and the button column, below the row */
	.df-termine__mehr { grid-column: 2 / -1; margin-top: calc(var(--wp--preset--spacing--30) * -1); }
}

/* ---------- sign-up form inside the row (SBW_Registrations, 1.6.0) ---------- */
.df-termine .df-termine__anmelden { --df-btn-bg: var(--wp--preset--color--accent); --df-btn-fg: var(--wp--preset--color--on-accent); }
.df-termine__form[hidden] { display: none; }
.df-termine__form { min-width: 0; padding-top: var(--wp--preset--spacing--40); border-top: 1px solid var(--df-border); }
.df-termine__formular { display: grid; gap: var(--wp--preset--spacing--40); max-width: 46rem; }
.df-termine__felder { display: grid; gap: var(--wp--preset--spacing--40); }
.df-termine__formular .df-btn { width: auto; }
.df-termine__formular .df-btn[type="submit"] { --df-btn-bg: var(--wp--preset--color--accent); --df-btn-fg: var(--wp--preset--color--on-accent); }
.df-termine__formular .df-btn[disabled] { opacity: .6; cursor: wait; }
.df-termine__formular .df-formular__zustimmung label { display: flex; gap: .6em; align-items: flex-start; }
.df-termine__formular [aria-invalid="true"] { border-color: var(--wp--preset--color--secondary); }
.df-termine__falle { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.df-termine__meldung[hidden] { display: none; }
.df-termine__meldung { margin: 0; padding: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40); border: 1px solid var(--wp--preset--color--secondary); border-radius: var(--df-radius); background: var(--df-surface); color: var(--df-heading); }
.df-termine__danke { margin: 0; padding: var(--wp--preset--spacing--40); border: 1px solid var(--df-accent); border-radius: var(--df-radius); background: var(--wp--custom--soft-bg, var(--df-surface)); color: var(--df-heading); font-weight: 600; }
@media (min-width: 40em) {
	.df-termine__felder { grid-template-columns: 1fr 1fr; }
	.df-termine__feld--breit { grid-column: 1 / -1; }
}
@media (min-width: 48em) {
	.df-termine__form { grid-column: 1 / -1; }
}

.df-termine__felder { align-items: start; } /* a field with an error text must not stretch its neighbour */


/* ===== sections/text-bild/style.css ===== */
/* section: text-bild
 * type: text-bild
 * status: Baukasten
 * baukasten: Text/Bild 1 Bild links, Text/Bild 2 Bild rechts
 * variants: bild-links, bild-rechts
 * options: background weiß|hell (scheme hell) or blass (scheme hell-alt), pill optional (eyebrow; the Baukasten shows it on bild-rechts only), list optional (ul in text), buttons 0|1|2, note optional (small hint under the buttons)
 * schemes: hell, hell-alt
 * fields: eyebrow, title, text, cta, cta2, note, image
 * list keys: –
 * motion items: .df-text-bild__text > *
 * motion media: .df-text-bild__media
 * used on: akademie (bild-rechts/bild-links), astralreisen (bild-links/bild-rechts), aura-kamera (bild-links/bild-rechts), beratung (bild-rechts/bild-links), dunkelretreat (bild-links/bild-rechts), index (bild-links/bild-rechts), kontakt (bild-rechts), luzides-traeumen (bild-rechts), meditationslampe (bild-links/bild-rechts), seminarhaus (bild-rechts/bild-links), ueber-corinna (bild-links/bild-rechts), uebernachten (bild-links/bild-rechts), bausteine
 * notes: DOM order is always text, then image. Mobile: image on top in both variants (df-split--media-first-mobile, as in the Baukasten); desktop: bild-links = df-split--reverse. Image = rounded placeholder frame (live: 8px radius, min-height 220px phone / 440px desktop -> ratio 16/10 phone, 4/3 desktop). eyebrow is the Baukasten rating pill (blass pill, orange dot, violet 600). List bullets = orange dots. cta = orange pill, cta2 = violet outline pill. Live gap 64px desktop (spacing 60 here). Shadows: image frame static --df-shadow-soft, cta warm glow tokens (theme base.css).
 */

/* ---------- layout ---------- */
.df-text-bild .df-split { gap: var(--wp--preset--spacing--50); }

.df-text-bild__media {
	--df-ratio: 16 / 10;
	width: 100%;
	box-shadow: var(--df-shadow-soft); /* token from theme base.css (not clickable, no lift) */
}

/* ---------- text column ---------- */
.df-text-bild__text { min-width: 0; }
.df-text-bild__text.df-stack { --df-space: var(--wp--preset--spacing--40); }
.df-text-bild__title { margin: 0; }
.df-text-bild__text .df-richtext { font-size: var(--wp--preset--font-size--large); line-height: 1.7; color: var(--df-muted); }
.df-text-bild__text .df-richtext p { margin: 0 0 1em; }

/* list with orange dots (Baukasten "Liste") */
.df-text-bild__text .df-richtext ul {
	list-style: none;
	margin: var(--wp--preset--spacing--40) 0 0;
	padding: 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.55;
}
.df-text-bild__text .df-richtext li {
	position: relative;
	padding-left: 1.5em;
}
.df-text-bild__text .df-richtext li + li { margin-top: var(--wp--preset--spacing--30); }
.df-text-bild__text .df-richtext ul:not(:last-child) { margin-bottom: 1em; } /* paragraph after a list */
.df-text-bild__text .df-richtext li::before {
	content: "";
	position: absolute;
	left: .1em;
	top: .55em;
	width: .5em;
	height: .5em;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}

/* rating pill (optional eyebrow) */
.df-text-bild__pill {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	justify-self: start;
	width: fit-content;
	padding: .3em var(--wp--preset--spacing--30);
	border-radius: var(--df-btn-radius);
	background: var(--wp--custom--soft-bg);
	color: var(--df-accent);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 600;
	line-height: 1.3;
}
.df-text-bild__pill::before {
	content: "";
	flex: none;
	width: .45em;
	height: .45em;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}

/* buttons: cta orange pill, cta2 violet outline (base.css) */
.df-text-bild__text.df-stack > .df-actions { margin-top: var(--wp--preset--spacing--50); }
.df-text-bild .df-btn:not(.df-btn--secondary, .df-btn--link) {
	--df-btn-bg: var(--wp--preset--color--accent);
	--df-btn-fg: var(--wp--preset--color--on-accent);
	--df-btn-shadow: var(--df-shadow-btn-accent); /* warm glow (tokens: theme base.css) */
	--df-btn-shadow-hover: var(--df-shadow-btn-accent-lift);
}

/* small hint under the buttons */
.df-text-bild__note {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	color: var(--df-muted);
}

/* ---------- desktop ---------- */
@media (min-width: 48em) {
	.df-text-bild .df-split { gap: var(--wp--preset--spacing--60); }
	.df-text-bild__media { --df-ratio: 4 / 3; }

	/* Long text (user 2026-11-17): the picture starts at the top of the block and stays in view while the text
	   scrolls past (sticky under the site header). Text shorter than the picture is still centred beside it,
	   because only the media column changes its alignment. */
	.df-text-bild__media {
		align-self: start;
		position: sticky;
		top: calc(var(--wp--custom--header-height, 84px) + var(--wp--preset--spacing--50));
	}
}


/* ===== sections/textblock/style.css ===== */
/* section: textblock
 * type: textblock
 * status: NEU – not in Blöcke – Übersicht
 * baukasten: – (no Baukasten block fits a long legal text; same look as the Baukasten text styles)
 * variants: standard
 * options: title optional (h2 above the text) or page title h1 (option heading_level, legal pages without hero), background weiß|hell (scheme hell) or blass (scheme hell-alt)
 * schemes: hell, hell-alt
 * fields: title, text
 * list keys: –
 * motion items: .df-textblock__body > .df-textblock__title, .df-textblock__body > .df-richtext
 * motion media: -
 * used on: agb, datenschutz, impressum, bausteine
 * notes: plain rich text page body for Impressum, Datenschutz, AGB. Readable column (content size 760px), headings h2/h3 inside the richtext (no level gaps: page h1 = Hero 2 Seitenkopf above), lists with orange dots like text-bild, long German words and URLs break safely (.df-hyphens + overflow-wrap anywhere on links). Body text = medium token (>= 16px). The whole richtext fades in as one item (legal text is long; staggering every paragraph would only delay reading).
 */

.df-textblock__body {
	max-width: var(--wp--style--global--content-size);
	min-width: 0;
}
.df-textblock__title { margin: 0; font-size: var(--wp--preset--font-size--x-large); line-height: 1.2; } /* same look as the richtext h2 */

/* page title variant (option heading_level h1): legal pages without a hero (2026-11-09) */
.df-textblock__title--page {
	font-size: var(--wp--preset--font-size--display);
	line-height: 1.08;
	letter-spacing: -.01em;
	color: var(--df-heading, inherit);
}
.df-textblock__body > .df-textblock__title--page { margin-bottom: var(--wp--preset--spacing--60); }

.df-textblock .df-richtext {
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.7;
	color: var(--df-fg);
}
.df-textblock .df-richtext :is(p, ul, ol) { margin: 0 0 1em; }
.df-textblock .df-richtext h2 {
	margin: var(--wp--preset--spacing--60) 0 var(--wp--preset--spacing--30);
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.2;
}
.df-textblock .df-richtext h3 {
	margin: var(--wp--preset--spacing--50) 0 var(--wp--preset--spacing--20);
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.3;
}
.df-textblock .df-richtext :is(h2, h3) {
	-webkit-hyphens: auto;
	hyphens: auto;
	overflow-wrap: break-word;
}
.df-textblock .df-richtext > :first-child { margin-top: 0; }
.df-textblock .df-richtext a {
	color: var(--df-accent);
	overflow-wrap: anywhere; /* long URLs in legal texts */
}
.df-textblock .df-richtext strong { font-weight: 600; }

/* lists: orange dots (same as text-bild) */
.df-textblock .df-richtext ul { list-style: none; padding: 0; }
.df-textblock .df-richtext ul li {
	position: relative;
	padding-left: 1.5em;
}
.df-textblock .df-richtext li + li { margin-top: var(--wp--preset--spacing--20); }
.df-textblock .df-richtext ul li::before {
	content: "";
	position: absolute;
	left: .1em;
	top: .65em;
	width: .5em;
	height: .5em;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
}
.df-textblock .df-richtext ol { padding-left: 1.5em; }
.df-textblock .df-richtext ol li::marker { color: var(--df-accent); font-weight: 600; }

/* address / contact block (Impressum) */
.df-textblock .df-richtext address { font-style: normal; margin: 0 0 1em; }
