/**
 * Scharr 2026 — Sektions-Design.
 *
 * Zwei Welten:
 *   .ps-deck  = dunkles Band (Hero, Kursplot, caern, Fuß). Messing lebt NUR hier.
 *   sonst     = helles Papier. Petrol ist der einzige Akzent.
 *
 * Farben kommen als --wp--preset--color--* aus theme.json; hier werden sie nur
 * benutzt, nie neu definiert.
 */

.ps-theme {
	--ps-serif: var(--wp--preset--font-family--serif);
	--ps-sans:  var(--wp--preset--font-family--sans);
	--ps-mono:  var(--wp--preset--font-family--mono);

	--ps-paper:    var(--wp--preset--color--paper);
	--ps-paper-2:  var(--wp--preset--color--paper-2);
	--ps-ink:      var(--wp--preset--color--ink);
	--ps-ink-2:    var(--wp--preset--color--ink-2);
	--ps-ink-3:    var(--wp--preset--color--ink-3);
	--ps-rule:     var(--wp--preset--color--rule);
	--ps-accent:   var(--wp--preset--color--accent);
	--ps-deck:     var(--wp--preset--color--deck);
	--ps-deck-2:   var(--wp--preset--color--deck-2);
	--ps-deck-ink: var(--wp--preset--color--deck-ink);
	--ps-brass:    var(--wp--preset--color--brass);

	--ps-deck-dim:  rgba(231, 227, 217, 0.62);
	--ps-deck-rule: rgba(231, 227, 217, 0.15);

	/* Deutsche Komposita brauchen Trennung, sonst reißen die Zeilen. */
	hyphens: auto;
	-webkit-hyphens: auto;
	-webkit-font-smoothing: antialiased;
}

/* Zahlen laufen in Spalten — immer tabellarisch. */
.ps-theme .ps-num,
.ps-theme .ps-bar__val,
.ps-theme .ps-act__v,
.ps-theme .ps-heronum__v,
.ps-theme .ps-facts b,
.ps-theme .ps-sheet dd {
	font-variant-numeric: tabular-nums;
}

/* ── Label ───────────────────────────────────────────────── */
.ps-theme .ps-lbl {
	font-family: var(--ps-sans);
	font-size: 0.6875rem;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ps-ink-3);
	margin: 0 0 0.5rem;
}

/* ── Deck: dunkle Bänder ─────────────────────────────────── */
.ps-theme .ps-deck {
	background: var(--ps-deck);
	color: var(--ps-deck-ink);
	position: relative;
	overflow: hidden;
}
.ps-theme .ps-deck--light { background: var(--ps-deck-2); }
.ps-theme .ps-deck .ps-lbl { color: var(--ps-brass); }
.ps-theme .ps-deck :where(h1, h2, h3, h4) { color: var(--ps-deck-ink); }
.ps-theme .ps-deck p { color: var(--ps-deck-dim); }
.ps-theme .ps-deck a { color: var(--ps-brass); }

/* ── Hero ────────────────────────────────────────────────── */
.ps-theme .ps-hero h1 {
	max-width: 19ch;
	line-height: 1.14;
	text-wrap: balance;
	margin: 0.6rem 0 1.4rem;
}
.ps-theme .ps-hero .ps-hero__sub {
	font-size: 1.125rem;
	line-height: 1.72;
	max-width: 52ch;
	color: var(--ps-deck-dim);
}
.ps-theme .ps-hero .ps-hero__sub strong {
	color: var(--ps-deck-ink);
	font-weight: 400;
}
.ps-theme .ps-facts {
	display: flex;
	gap: 1.75rem;
	flex-wrap: wrap;
	margin-top: 2.6rem;
	padding-top: 1.35rem;
	border-top: 1px solid var(--ps-deck-rule);
	font-family: var(--ps-sans);
	font-size: 0.8125rem;
	color: var(--ps-deck-dim);
}
.ps-theme .ps-facts b { color: var(--ps-brass); font-weight: 600; }

/* Kompassrose — dekorativ, bewusst angeschnitten. */
.ps-theme .ps-rose {
	position: absolute;
	right: -110px;
	top: -60px;
	width: 460px;
	height: 460px;
	opacity: 0.38;
	pointer-events: none;
}
@media (max-width: 780px) {
	.ps-theme .ps-rose { width: 280px; height: 280px; right: -90px; top: -40px; opacity: 0.25; }
}

/* ── Säulen: Haarlinien statt Karten ─────────────────────── */
.ps-theme .ps-pillar {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 2.5rem;
	padding: 1.9rem 0;
	border-top: 1px solid var(--ps-rule);
}
.ps-theme .ps-pillar:last-of-type { border-bottom: 1px solid var(--ps-rule); }
.ps-theme .ps-pillar h3 { font-size: 1.375rem; margin: 0; }
.ps-theme .ps-pillar .ps-why {
	font-family: var(--ps-sans);
	font-size: 0.75rem;
	color: var(--ps-accent);
	margin: 0.5rem 0 0;
}
.ps-theme .ps-pillar p:not(.ps-why) {
	color: var(--ps-ink-2);
	max-width: 58ch;
	margin: 0;
	line-height: 1.75;
}
@media (max-width: 780px) {
	.ps-theme .ps-pillar { grid-template-columns: 1fr; gap: 0.75rem; }
}

/* ── Kursplot: die vier Phasen ───────────────────────────── */
.ps-theme .ps-legs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin-top: 2.9rem;
}
@media (max-width: 820px) {
	.ps-theme .ps-legs { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
}
.ps-theme .ps-leg { padding-right: 1.5rem; }
.ps-theme .ps-leg__rail { display: flex; align-items: center; margin-bottom: 1rem; }
.ps-theme .ps-leg__bead {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	border: 1.5px solid var(--ps-brass);
	background: var(--ps-deck);
	flex: none;
}
.ps-theme .ps-leg__line {
	height: 1px;
	flex: 1;
	opacity: 0.5;
	background: repeating-linear-gradient(90deg, var(--ps-brass) 0 5px, transparent 5px 11px);
}
.ps-theme .ps-leg:last-child .ps-leg__line { background: none; }
.ps-theme .ps-leg h4 { font-size: 1.125rem; margin: 0 0 0.5rem; }
.ps-theme .ps-leg p {
	font-family: var(--ps-sans);
	font-size: 0.8125rem;
	line-height: 1.62;
	margin: 0;
}

/* ── Mandat ──────────────────────────────────────────────── */
.ps-theme .ps-mandate { display: grid; grid-template-columns: 1fr 300px; gap: 3.5rem; align-items: start; }
@media (max-width: 880px) { .ps-theme .ps-mandate { grid-template-columns: 1fr; gap: 2rem; } }
.ps-theme .ps-mandate h3 { font-size: 1.7rem; line-height: 1.26; text-wrap: balance; margin: 0; }
.ps-theme .ps-mandate ul { margin: 1.4rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.875rem; }
.ps-theme .ps-mandate li {
	position: relative;
	padding-left: 1.25rem;
	color: var(--ps-ink-2);
	line-height: 1.7;
}
.ps-theme .ps-mandate li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.75em;
	width: 8px;
	height: 1px;
	background: var(--ps-accent);
}
.ps-theme .ps-sheet { border-top: 2px solid var(--ps-ink); padding-top: 1rem; margin: 0; }
.ps-theme .ps-sheet > div {
	display: grid;
	grid-template-columns: 100px 1fr;
	gap: 0.75rem;
	padding: 0.7rem 0;
	border-bottom: 1px solid var(--ps-rule);
	align-items: baseline;
}
.ps-theme .ps-sheet dt {
	font-family: var(--ps-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ps-ink-3);
}
.ps-theme .ps-sheet dd { font-family: var(--ps-sans); font-size: 0.9rem; margin: 0; color: var(--ps-ink); }

/* ── Evidenz: Balken nach Branche ────────────────────────── */
.ps-theme .ps-evhead { display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.ps-theme .ps-evhead h2 { margin: 0; }
.ps-theme .ps-heronum { text-align: right; }
.ps-theme .ps-heronum__v { font-size: 2.9rem; line-height: 1; letter-spacing: -0.02em; }
.ps-theme .ps-heronum__k { font-family: var(--ps-sans); font-size: 0.75rem; color: var(--ps-ink-3); margin-top: 0.375rem; line-height: 1.4; }

.ps-theme .ps-chart { margin: 2.75rem 0 0; }
.ps-theme .ps-chart figcaption {
	font-family: var(--ps-sans);
	font-size: 0.8125rem;
	color: var(--ps-ink-2);
	margin-bottom: 1.5rem;
}
.ps-theme .ps-bars { display: flex; flex-direction: column; gap: 2px; }
.ps-theme .ps-bar {
	display: grid;
	grid-template-columns: 132px 1fr 52px;
	gap: 0.875rem;
	align-items: center;
	padding: 0.3rem 0;
	border-radius: 3px;
	transition: background 0.12s ease;
}
.ps-theme .ps-bar:hover { background: var(--ps-paper-2); }
.ps-theme .ps-bar__name { font-family: var(--ps-sans); font-size: 0.85rem; text-align: right; color: var(--ps-ink); }
.ps-theme .ps-bar__track { height: 16px; }
.ps-theme .ps-bar__fill {
	display: block;
	height: 100%;
	background: var(--ps-accent);
	border-radius: 0 4px 4px 0;
}
.ps-theme .ps-bar__val { font-family: var(--ps-mono); font-size: 0.78rem; color: var(--ps-ink-2); }
.ps-theme .ps-axis {
	margin-top: 0.75rem;
	padding-left: 146px;
	padding-top: 0.45rem;
	border-top: 1px solid var(--ps-rule);
	display: flex;
	justify-content: space-between;
	font-family: var(--ps-mono);
	font-size: 0.65rem;
	color: var(--ps-ink-3);
}
@media (max-width: 640px) {
	.ps-theme .ps-bar { grid-template-columns: 92px 1fr 44px; gap: 0.6rem; }
	.ps-theme .ps-bar__name { font-size: 0.75rem; }
	.ps-theme .ps-axis { padding-left: 102px; }
}

.ps-theme .ps-acts { display: grid; grid-template-columns: repeat(auto-fit, minmax(128px, 1fr)); gap: 1.5rem; margin-top: 1.25rem; }
.ps-theme .ps-act__v { font-size: 1.5rem; letter-spacing: -0.01em; }
.ps-theme .ps-act__k { font-family: var(--ps-sans); font-size: 0.75rem; color: var(--ps-ink-2); line-height: 1.4; margin-top: 0.2rem; }
.ps-theme .ps-act__meter { height: 3px; background: var(--ps-rule); margin-top: 0.55rem; border-radius: 2px; overflow: hidden; }
.ps-theme .ps-act__meter i { display: block; height: 100%; background: var(--ps-accent); border-radius: 2px; }

/* ── Stimmen ─────────────────────────────────────────────── */
.ps-theme .ps-voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
@media (max-width: 880px) { .ps-theme .ps-voices { grid-template-columns: 1fr; gap: 1.9rem; } }
.ps-theme .ps-voice { border-top: 1px solid var(--ps-rule); padding-top: 1.25rem; }
.ps-theme .ps-voice blockquote { margin: 0; font-size: 1.06rem; line-height: 1.66; }
.ps-theme .ps-voice cite {
	display: block;
	margin-top: 0.875rem;
	font-family: var(--ps-sans);
	font-size: 0.78rem;
	font-style: normal;
	color: var(--ps-ink-3);
	line-height: 1.5;
}
.ps-theme .ps-voice cite b { display: block; color: var(--ps-ink); font-weight: 600; }

.ps-theme .ps-score {
	display: flex;
	align-items: baseline;
	gap: 0.875rem;
	margin-top: 2.5rem;
	padding-top: 1.25rem;
	border-top: 2px solid var(--ps-ink);
}
.ps-theme .ps-score__v { font-size: 2rem; letter-spacing: -0.02em; }
.ps-theme .ps-score__k { font-family: var(--ps-sans); font-size: 0.85rem; color: var(--ps-ink-2); }

/* ── caern ───────────────────────────────────────────────── */
.ps-theme .ps-caern { display: grid; grid-template-columns: 1fr 320px; gap: 3.5rem; align-items: center; }
@media (max-width: 880px) { .ps-theme .ps-caern { grid-template-columns: 1fr; gap: 2rem; } }
.ps-theme .ps-caern h3 { font-size: 1.7rem; line-height: 1.3; max-width: 26ch; text-wrap: balance; margin: 0.5rem 0 0; }
.ps-theme .ps-caern p { font-family: var(--ps-sans); font-size: 0.94rem; line-height: 1.72; max-width: 54ch; }
.ps-theme .ps-caern .ps-caern__link {
	display: inline-block;
	margin-top: 0.5rem;
	font-family: var(--ps-sans);
	font-size: 0.8125rem;
	border-bottom: 1px solid rgba(201, 154, 78, 0.4);
	padding-bottom: 3px;
}
.ps-theme .ps-caern__card { border: 1px solid var(--ps-deck-rule); padding: 1.4rem; }
.ps-theme .ps-caern__card .t {
	font-family: var(--ps-mono);
	font-size: 0.66rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ps-deck-dim);
}
.ps-theme .ps-caern__card .m { font-size: 1.3rem; margin-top: 0.75rem; line-height: 1.35; color: var(--ps-deck-ink); }
.ps-theme .ps-caern__card .d { font-family: var(--ps-sans); font-size: 0.78rem; color: var(--ps-deck-dim); margin-top: 0.6rem; line-height: 1.6; }

/* ── Kontakt-Fuß ─────────────────────────────────────────── */
.ps-theme .ps-contact h2 { max-width: 18ch; margin: 0.5rem 0 0; }
.ps-theme .ps-contact .ps-mail {
	display: inline-block;
	margin-top: 1.5rem;
	font-size: 1.2rem;
	border-bottom: 1px solid rgba(201, 154, 78, 0.45);
	padding-bottom: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.ps-theme * { transition: none !important; }
}

/* ── Ergänzungen: Mandat-Fließtext, Seitenköpfe, Projektliste ── */
.ps-theme .ps-mandate__lead { margin: 1rem 0 0; color: var(--ps-ink-2); line-height: 1.75; }
.ps-theme .ps-sheet__note {
	display: block;
	margin-top: 0.3rem;
	font-size: 0.7rem;
	line-height: 1.45;
	color: var(--ps-ink-3);
	font-variant-numeric: normal;
}

/* Seitenkopf (Unterseiten) — heller Aufschlag statt Deck */
.ps-theme .ps-pagehead h1 { max-width: 17ch; text-wrap: balance; margin: 0.5rem 0 0; }
.ps-theme .ps-pagehead .ps-pagehead__lead {
	font-size: 1.3rem;
	line-height: 1.6;
	color: var(--ps-ink-2);
	max-width: 54ch;
	margin-top: 1.25rem;
}

/* Projektliste — nummerierte Zeilen wären hier falsch: es ist keine Sequenz. */
.ps-theme .ps-proj {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 2.5rem;
	padding: 1.9rem 0;
	border-top: 1px solid var(--ps-rule);
	align-items: start;
}
.ps-theme .ps-proj:last-of-type { border-bottom: 1px solid var(--ps-rule); }
@media (max-width: 820px) { .ps-theme .ps-proj { grid-template-columns: 1fr; gap: 1rem; } }
.ps-theme .ps-proj h3 { font-size: 1.3rem; margin: 0; }
.ps-theme .ps-proj .ps-proj__role {
	font-family: var(--ps-sans);
	font-size: 0.75rem;
	color: var(--ps-accent);
	margin: 0.4rem 0 0.75rem;
}
.ps-theme .ps-proj p:not(.ps-proj__role) { margin: 0; color: var(--ps-ink-2); line-height: 1.72; max-width: 56ch; }
.ps-theme .ps-proj__facts { margin: 0; font-family: var(--ps-sans); font-size: 0.8rem; }
.ps-theme .ps-proj__facts div {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.4rem 0;
	border-bottom: 1px solid var(--ps-rule);
}
.ps-theme .ps-proj__facts dt { color: var(--ps-ink-3); }
.ps-theme .ps-proj__facts dd { margin: 0; color: var(--ps-ink); font-variant-numeric: tabular-nums; text-align: right; }

/* Prinzipien im Deck */
.ps-theme .ps-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
@media (max-width: 820px) { .ps-theme .ps-principles { grid-template-columns: 1fr; gap: 1.75rem; } }
.ps-theme .ps-principle h4 { font-size: 1.2rem; margin: 0 0 0.6rem; }
.ps-theme .ps-principle p { font-family: var(--ps-sans); font-size: 0.85rem; line-height: 1.68; margin: 0; }

/* Beitragsliste */
.ps-theme .ps-posts .wp-block-post-title { font-size: 1.4rem; line-height: 1.3; }
.ps-theme .ps-posts .wp-block-post-title a:hover { color: var(--ps-accent); }
.ps-theme .ps-posts .wp-block-post-excerpt__excerpt { color: var(--ps-ink-2); line-height: 1.72; }
.ps-theme .ps-posts .wp-block-post-date {
	font-family: var(--ps-sans);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ps-ink-3);
}
.ps-theme .ps-posts .wp-block-post-template > li {
	border-top: 1px solid var(--ps-rule);
	padding: 1.75rem 0;
}

/* Kopfzeile & Fuß */
.ps-theme .ps-nav { font-family: var(--ps-sans); }
.ps-theme .ps-nav .wp-block-site-title a {
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ps-deck-ink);
}
.ps-theme .ps-nav .wp-block-navigation { font-size: 0.85rem; }
.ps-theme .ps-nav .wp-block-navigation a { color: var(--ps-deck-dim); }
.ps-theme .ps-nav .wp-block-navigation a:hover { color: var(--ps-deck-ink); text-decoration: none; }
.ps-theme .ps-lang { font-family: var(--ps-mono); font-size: 0.72rem; letter-spacing: 0.08em; }
.ps-theme .ps-lang a { color: var(--ps-brass); }
.ps-theme .ps-lang .ps-lang__on { color: var(--ps-deck-ink); }

.ps-theme .ps-foot {
	font-family: var(--ps-sans);
	font-size: 0.78rem;
	color: var(--ps-deck-dim);
	display: flex;
	justify-content: space-between;
	gap: 1.25rem;
	flex-wrap: wrap;
	padding-top: 1.25rem;
	margin-top: 2.75rem;
	border-top: 1px solid var(--ps-deck-rule);
}
.ps-theme .ps-foot .wp-block-navigation { font-size: 0.78rem; }
.ps-theme .ps-foot a { color: var(--ps-deck-dim); }
.ps-theme .ps-foot a:hover { color: var(--ps-brass); }

/* ── LangLarry-Switcher im Deck ────────────────────────────────
   Das Plugin liefert .ll-switch / .ll-switch__item / .is-active mit
   eigenem CSS. Hier nur die Einbettung in die Deck-Welt (Messing). */
.ps-theme .ps-nav .ll-switch {
	font-family: var(--ps-mono);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	display: flex;
	gap: 0.35rem;
	align-items: center;
}
.ps-theme .ps-nav .ll-switch__item { color: var(--ps-brass); text-decoration: none; }
.ps-theme .ps-nav .ll-switch__item:hover { text-decoration: underline; }
.ps-theme .ps-nav .ll-switch__item.is-active { color: var(--ps-deck-ink); }

/* ── Kontaktseite ──────────────────────────────────────────── */
.ps-theme .ps-contactgrid {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 4rem;
	align-items: start;
}
@media (max-width: 880px) { .ps-theme .ps-contactgrid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Direkte Wege — die Zeile, die zählt, steht oben und ist Petrol. */
.ps-theme .ps-reach { margin: 0; border-top: 2px solid var(--ps-ink); padding-top: 1rem; }
.ps-theme .ps-reach > div { padding: 0.9rem 0; border-bottom: 1px solid var(--ps-rule); }
.ps-theme .ps-reach dt {
	font-family: var(--ps-sans);
	font-size: 0.6875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ps-ink-3);
	margin-bottom: 0.3rem;
}
.ps-theme .ps-reach dd { margin: 0; font-size: 1.05rem; line-height: 1.5; }
.ps-theme .ps-reach dd a { color: var(--ps-accent); }
.ps-theme .ps-reach dd.ps-reach--plain { font-family: var(--ps-sans); font-size: 0.92rem; color: var(--ps-ink-2); }
.ps-theme .ps-reach .ps-num { font-variant-numeric: tabular-nums; }

/* Portrait — klein, auf Papier, ohne Bühne.
   Originalausschnitt (3:2, quer) bleibt erhalten — kein Beschnitt, keine
   erzwungene Hochkant-Rahmung. Nur eine Spur entsättigt, damit die Hauttöne
   nicht gegen das gedeckte Petrol anspringen. */
.ps-theme .ps-portrait { margin: 2rem 0 0; max-width: 340px; }
.ps-theme .ps-portrait img {
	display: block;
	width: 100%;
	height: auto;
	filter: saturate(0.92);
}
.ps-theme .ps-portrait figcaption {
	font-family: var(--ps-sans);
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ps-ink-3);
	margin-top: 0.7rem;
	text-align: left;
}

/* Erstgespräch — kein Verkaufstrichter, eine Erwartungsklärung. */
.ps-theme .ps-firsttalk { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 2.5rem; }
@media (max-width: 820px) { .ps-theme .ps-firsttalk { grid-template-columns: 1fr; gap: 1.75rem; } }
.ps-theme .ps-firsttalk h4 { font-size: 1.15rem; margin: 0 0 0.6rem; }
.ps-theme .ps-firsttalk p { font-family: var(--ps-sans); font-size: 0.85rem; line-height: 1.68; margin: 0; color: var(--ps-ink-2); }

/* ── WPForms (Lite / classic markup) in die Papierwelt holen ───
   Lite lädt `wpforms-full.min.css` (classic) — dort gibt es KEINE
   CSS-Custom-Properties, die Block-Theme-Attribute sind wirkungslos.
   Also hier explizit überschreiben. */
.ps-theme .wpforms-container { margin: 0; }

.ps-theme .wpforms-container .wpforms-field { padding: 0 0 1.25rem; }

.ps-theme .wpforms-container .wpforms-field-label,
.ps-theme .wpforms-container .wpforms-field-sublabel {
	font-family: var(--ps-sans);
	font-weight: 500;
	font-size: 0.8rem;
	letter-spacing: 0.02em;
	color: var(--ps-ink);
}
.ps-theme .wpforms-container .wpforms-field-sublabel {
	font-weight: 400;
	font-size: 0.72rem;
	color: var(--ps-ink-3);
}
.ps-theme .wpforms-container .wpforms-required-label { color: var(--ps-accent); }

.ps-theme .wpforms-container input[type="text"],
.ps-theme .wpforms-container input[type="email"],
.ps-theme .wpforms-container input[type="tel"],
.ps-theme .wpforms-container input[type="url"],
.ps-theme .wpforms-container select,
.ps-theme .wpforms-container textarea {
	font-family: var(--ps-sans);
	font-size: 0.95rem;
	color: var(--ps-ink);
	background: #fff;
	border: 1px solid var(--ps-rule);
	border-radius: 0;
	padding: 0.6rem 0.7rem;
	box-shadow: none;
	transition: border-color 0.12s ease;
}
.ps-theme .wpforms-container input:focus,
.ps-theme .wpforms-container select:focus,
.ps-theme .wpforms-container textarea:focus {
	border-color: var(--ps-accent);
	outline: 2px solid var(--ps-accent);
	outline-offset: 1px;
}

.ps-theme .wpforms-container button[type="submit"],
.ps-theme .wpforms-container .wpforms-submit {
	font-family: var(--ps-sans);
	font-size: 0.8rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff;
	background: var(--ps-accent);
	border: 1px solid var(--ps-accent);
	border-radius: 0;
	padding: 0.85rem 1.75rem;
	cursor: pointer;
	transition: background 0.12s ease;
}
.ps-theme .wpforms-container button[type="submit"]:hover,
.ps-theme .wpforms-container .wpforms-submit:hover {
	background: var(--ps-ink);
	border-color: var(--ps-ink);
}

.ps-theme .wpforms-container .wpforms-error,
.ps-theme .wpforms-container label.wpforms-error {
	font-family: var(--ps-sans);
	font-size: 0.75rem;
	color: #b3402f;
}
.ps-theme .wpforms-container input.wpforms-error,
.ps-theme .wpforms-container textarea.wpforms-error { border-color: #b3402f; }

.ps-theme .wpforms-confirmation-container-full {
	font-family: var(--ps-sans);
	background: var(--ps-paper-2);
	border: 1px solid var(--ps-rule);
	border-left: 3px solid var(--ps-accent);
	border-radius: 0;
	color: var(--ps-ink);
}

/* ── Artikel (single.html) ─────────────────────────────────────
   Kein Beitragsbild. Der Text beginnt mit dem Titel. Spaltenbreite
   kommt aus theme.json (contentSize 680px) — bei Source Serif 4
   sind das rund 65 Zeichen. */
.ps-theme .ps-arthead .wp-block-post-title {
	/* Der Korpus hat Titel bis 126 Zeichen (die Hälfte über 70). Bei 22ch
	   ergäbe das sechs Zeilen — 32ch hält auch die längsten bei vier. */
	max-width: 32ch;
	text-wrap: balance;
	margin: 0.6rem 0 0;
	line-height: 1.2;
}
.ps-theme .ps-arthead .wp-block-post-date { margin: 0; }

.ps-theme .ps-article .wp-block-post-content > p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin: 0 0 1.4rem;
}
.ps-theme .ps-article .wp-block-post-content > p:first-of-type {
	font-size: 1.28rem;
	line-height: 1.66;
	color: var(--ps-ink);
}
.ps-theme .ps-article h2 { margin: 3rem 0 1rem; font-size: 1.6rem; }
.ps-theme .ps-article h3 { margin: 2.25rem 0 0.75rem; font-size: 1.3rem; }
.ps-theme .ps-article ul,
.ps-theme .ps-article ol { margin: 0 0 1.4rem 1.25rem; }
.ps-theme .ps-article li { line-height: 1.75; margin-bottom: 0.5rem; }

.ps-theme .ps-article blockquote {
	margin: 2rem 0;
	padding-left: 1.25rem;
	border-left: 2px solid var(--ps-accent);
	font-size: 1.15rem;
	line-height: 1.7;
	color: var(--ps-ink-2);
}

/* Inline-Bilder der alten SAP-Beiträge: nie über die Spalte hinaus,
   nie hochskaliert, immer mit Rahmen als „das ist ein Screenshot". */
.ps-theme .ps-article figure,
.ps-theme .ps-article .wp-block-image { margin: 2rem 0; }
.ps-theme .ps-article img {
	max-width: 100%;
	height: auto;
	display: block;
	border: 1px solid var(--ps-rule);
}
.ps-theme .ps-article figcaption {
	font-family: var(--ps-sans);
	font-size: 0.78rem;
	color: var(--ps-ink-3);
	margin-top: 0.6rem;
	line-height: 1.5;
}

/* Code und Tabellen dürfen breiter sein als der Text — aber sie scrollen
   in ihrem eigenen Kasten, der Seitenkörper niemals seitwärts. */
.ps-theme .ps-article pre,
.ps-theme .ps-article .wp-block-code {
	font-family: var(--ps-mono);
	font-size: 0.82rem;
	line-height: 1.6;
	background: var(--ps-paper-2);
	border: 1px solid var(--ps-rule);
	border-left: 3px solid var(--ps-accent);
	padding: 1rem 1.15rem;
	overflow-x: auto;
	margin: 1.75rem 0;
	white-space: pre;
}
.ps-theme .ps-article :not(pre) > code {
	font-family: var(--ps-mono);
	font-size: 0.86em;
	background: var(--ps-paper-2);
	padding: 0.1em 0.35em;
	border: 1px solid var(--ps-rule);
}
.ps-theme .ps-article .wp-block-table { overflow-x: auto; margin: 1.75rem 0; }
.ps-theme .ps-article table {
	border-collapse: collapse;
	font-family: var(--ps-sans);
	font-size: 0.86rem;
	min-width: 100%;
}
.ps-theme .ps-article th,
.ps-theme .ps-article td {
	border-bottom: 1px solid var(--ps-rule);
	padding: 0.6rem 0.9rem 0.6rem 0;
	text-align: left;
	vertical-align: top;
}
.ps-theme .ps-article th {
	font-weight: 600;
	border-bottom-color: var(--ps-ink);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ps-ink-3);
}

/* Vor/Zurück */
.ps-theme .ps-postnav { font-family: var(--ps-sans); font-size: 0.85rem; }
.ps-theme .ps-postnav a { color: var(--ps-accent); }
.ps-theme .ps-postnav .post-navigation-link-next { text-align: right; }

/* Archiv-/Suchtitel */
.ps-theme .wp-block-query-title { margin: 0; }

/* ── Die Unterschrift ──────────────────────────────────────────
   Sie steht unter jedem Beitrag und ist das einzige echte, eigene
   Bild der Site. Kein Rahmen (das ist kein Screenshot), und der
   weiße Scan-Grund wird per multiply ins Papier gerechnet, damit
   kein heller Kasten auf dem Papierton steht. */
.ps-theme .ps-article img[src*="Unterschrift"] {
	border: 0;
	max-width: 210px;
	margin: 2.5rem 0 0;
	mix-blend-mode: multiply;
}
/* Kleine eingebundene Grafiken (links/rechts umflossen) sind Beiwerk,
   keine Belege — die bekommen ebenfalls keinen Rahmen. */
.ps-theme .ps-article img.alignleft,
.ps-theme .ps-article img.alignright { border: 0; }

/* ── Verweis auf eine fremde Abbildung ────────────────────────
   Die Grafik wird bewusst NICHT eingebettet: kein Kopieren fremder
   Werke, und keine ungefragte IP-Übermittlung an Dritthosts.
   Quelle und Link bleiben erhalten. */
.ps-theme .ps-article .ps-extref {
	font-family: var(--ps-sans);
	font-size: 0.85rem;
	line-height: 1.6;
	color: var(--ps-ink-2);
	background: var(--ps-paper-2);
	border-left: 2px solid var(--ps-rule);
	padding: 0.85rem 1rem;
	margin: 1.75rem 0;
}
.ps-theme .ps-article .ps-extref a { color: var(--ps-accent); }
