/*
 * VUKS – Stylesheet des Themes
 * Grundlage: Style Guide VUKS, Version 1.0 (Oktober 2026)
 * Farben, Schriften, Grössen und Abstände: theme.json. Hier: Komponenten und Feinheiten.
 */

/* --------------------------------------------------------------------------
   Grundlagen
   -------------------------------------------------------------------------- */

:root {
	--vuks-rot: var(--wp--preset--color--rot-03, #cc1236);
	--vuks-rot-flaeche: var(--wp--preset--color--rot-04, #b0102f);
	--vuks-schwarz: var(--wp--preset--color--schwarz, #000);
	--vuks-text: var(--wp--preset--color--grau-08, #3f3f3f);
	--vuks-grau-01: var(--wp--preset--color--grau-01, #f2f2f2);
	--vuks-grau-02: var(--wp--preset--color--grau-02, #d8d8d8);
	--vuks-grau-03: var(--wp--preset--color--grau-03, #bfbfbf);
	--vuks-grau-06: var(--wp--preset--color--grau-06, #727272);
	--vuks-grau-07: var(--wp--preset--color--grau-07, #585858);
	--vuks-titel: var(--wp--preset--font-family--titel);
	--vuks-text: var(--wp--preset--font-family--text);
	--vuks-rand: var(--wp--style--root--padding-left, clamp(1.25rem, 5vw, 3rem));
	--vuks-breit: var(--wp--style--global--wide-size, 1200px);
	--vuks-linie-fein: 1px solid var(--vuks-grau-03);
	--vuks-linie-stark: 2px solid var(--vuks-schwarz);
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	font-synthesis: none; /* Kursiven nur aus echten Kursivschnitten, kein künstliches Fett. */
	font-optical-sizing: auto;
	font-kerning: normal;
	font-variant-ligatures: common-ligatures;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

/* Silbentrennung für Fliesstext (linksbündig, Flattersatz). */
p,
li,
dd,
td,
figcaption {
	-webkit-hyphens: auto;
	hyphens: auto;
	hyphenate-limit-chars: 8 4 4;
	overflow-wrap: break-word;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	-webkit-hyphens: manual;
	hyphens: manual;
	text-wrap: balance;
	overflow-wrap: break-word;
}

p {
	text-wrap: pretty;
}

strong,
b {
	font-weight: 600;
}

/* Links: Markenrot, ohne Unterstreichung; beim Überfahren dunkler (rot-06). */
a {
	text-decoration: none;
	transition: color 0.15s ease;
}

a:where(:hover, :focus-visible) {
	color: var(--wp--preset--color--rot-06, #7a0b20);
	text-decoration: none;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 2px solid var(--vuks-rot);
	outline-offset: 3px;
}

::selection {
	background: var(--vuks-grau-02);
	color: var(--vuks-text);
}

img {
	max-width: 100%;
	height: auto;
}

/* Die Bereiche Kopf, Inhalt und Fuss schliessen ohne Zwischenraum aneinander an. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

.wp-site-blocks {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.vuks-haupt {
	flex: 1 0 auto;
	padding-bottom: var(--wp--preset--spacing--60);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link.screen-reader-text:focus {
	background: var(--vuks-schwarz);
	clip: auto !important;
	clip-path: none;
	color: #fff;
	display: block;
	font-family: var(--vuks-titel);
	font-weight: 600;
	height: auto;
	left: 1rem;
	padding: 0.75rem 1.25rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

/* --------------------------------------------------------------------------
   Typografie im Inhalt
   -------------------------------------------------------------------------- */

/* Überschriften: Abstand davor grösser als danach. */
:root :where(.wp-block-post-content, .editor-styles-wrapper, .vuks-abschnitt, .wp-block-column, .wp-block-group) > h2 {
	margin-block-start: clamp(2.5rem, 5vw, 3.5rem);
}

:root :where(.wp-block-post-content, .editor-styles-wrapper, .vuks-abschnitt, .wp-block-column, .wp-block-group) > h3 {
	margin-block-start: 2.25rem;
}

:root :where(.wp-block-post-content, .editor-styles-wrapper, .vuks-abschnitt, .wp-block-column, .wp-block-group) > h4 {
	margin-block-start: 1.75rem;
}

:root :where(.wp-block-post-content, .editor-styles-wrapper, .vuks-abschnitt, .wp-block-column, .wp-block-group) > :is(h2, h3, h4):first-child {
	margin-block-start: 0;
}

:root :where(.wp-block-post-content, .editor-styles-wrapper, .vuks-abschnitt, .wp-block-column, .wp-block-group) > h2 + * {
	margin-block-start: 1.5rem;
}

:root :where(.wp-block-post-content, .editor-styles-wrapper, .vuks-abschnitt, .wp-block-column, .wp-block-group) > :is(h3, h4) + * {
	margin-block-start: 0.75rem;
}

/* Signet: Titel, geschütztes Leerzeichen und Unterstrich «_» in Markenrot, wie im Logo. */
.is-style-signet::after {
	content: "\00a0_";
	content: "\00a0_" / "";
	color: var(--vuks-rot);
	font-family: var(--vuks-titel);
	font-weight: 600;
	letter-spacing: 0;
}

.has-rot-04-background-color .is-style-signet::after,
.has-rot-03-background-color .is-style-signet::after {
	color: #fff;
}

/* Lead: Source Serif 4 kursiv (echte Kursive). */
.is-style-lead {
	font-size: var(--wp--preset--font-size--lead);
	font-style: italic;
	line-height: 1.45;
	font-weight: 400;
}

:where(h1, h2) + .is-style-lead {
	margin-block-start: 1.75rem !important;
}

.is-style-meta {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--vuks-grau-06);
	line-height: 1.5;
}

/* Rubrik: kurzer Hinweis über dem Titel (z.B. «Projekte»). */
.is-style-rubrik {
	font-family: var(--vuks-titel);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.3;
	margin-block-end: 1rem !important;
}

.is-style-rubrik a {
	text-decoration: none;
}


/* Listen: Punkt (•) bzw. «1», «a», «i» ohne Schlusspunkt; Einzug 0.75 cm. */
:where(.wp-block-post-content, .editor-styles-wrapper) :is(ul, ol):not([class*="vuks-"]):not(.wp-block-navigation__container):not(.wp-block-social-links):not(.blocks-gallery-grid):not(.wp-block-post-template) {
	padding-inline-start: 0.75cm;
}

:where(.wp-block-post-content, .editor-styles-wrapper) ul:not([class*="vuks-"]):not(.wp-block-post-template) > li::marker {
	content: "•\2002";
	color: var(--vuks-text);
}

:where(.wp-block-post-content, .editor-styles-wrapper) ul.is-style-strich > li::marker {
	content: "–\2002";
}

:where(.wp-block-post-content, .editor-styles-wrapper) ol:not([class*="vuks-"]) > li::marker {
	content: counter(list-item) "\2002";
	font-family: var(--vuks-titel);
	font-weight: 600;
}

:where(.wp-block-post-content, .editor-styles-wrapper) ol ol > li::marker {
	content: counter(list-item, lower-alpha) "\2002";
}

:where(.wp-block-post-content, .editor-styles-wrapper) ol ol ol > li::marker {
	content: counter(list-item, lower-roman) "\2002";
}

li + li {
	margin-top: 0.35em;
}

li > :is(ul, ol) {
	margin-top: 0.35em;
}

/* Blockzitat: kursiv, grau-06, Linie 3 px in rot-03 (Linie über theme.json). */
.wp-block-quote {
	margin-inline: 0;
}

.wp-block-quote p {
	font-size: inherit;
}

.wp-block-quote cite,
.wp-block-quote .wp-block-quote__citation {
	display: block;
	margin-top: 0.75rem;
	font-size: var(--wp--preset--font-size--x-small);
	font-style: normal;
	color: var(--vuks-grau-06);
}

/* Trennlinie: 1 px in rot-03. */
.wp-block-separator,
hr {
	border: 0;
	border-top: 1px solid var(--vuks-rot);
	opacity: 1;
	margin-block: 1.5em;
	width: 100%;
	background: none;
	height: 0;
}

.wp-block-separator.is-style-dots {
	border: 0;
}

/* Code */
code,
kbd,
pre {
	font-family: "Google Sans Code", Consolas, Menlo, monospace;
	font-size: 0.86em;
}

:not(pre) > code {
	background: var(--vuks-grau-01);
	padding: 0.1em 0.3em;
	border-radius: 3px;
}

pre,
.wp-block-code {
	background: var(--vuks-grau-01);
	border: 0;
	border-left: 3px solid var(--vuks-grau-03);
	border-radius: 0;
	padding: 1rem 1.25rem;
	overflow-x: auto;
}

/* Bildunterschrift */
figcaption,
.wp-element-caption {
	font-size: var(--wp--preset--font-size--x-small);
	color: var(--vuks-grau-06);
	margin-top: 0.6rem;
	text-align: left;
}

/* --------------------------------------------------------------------------
   Tabellen: offen, starke Linien oben, unter dem Kopf und am Ende, feine Linien dazwischen
   -------------------------------------------------------------------------- */

.wp-block-table {
	overflow-x: auto;
	margin-inline: 0;
}

.wp-block-table table,
.editor-styles-wrapper .wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.5;
	border-top: var(--vuks-linie-stark);
	border-bottom: var(--vuks-linie-stark);
}

.wp-block-table :is(th, td),
.editor-styles-wrapper .wp-block-table :is(th, td) {
	border: 0;
	border-bottom: var(--vuks-linie-fein);
	padding: 0.65em 1em 0.65em 0;
	text-align: left;
	vertical-align: top;
}

.wp-block-table :is(th, td):last-child {
	padding-right: 0;
}

.wp-block-table thead,
.wp-block-table thead :is(th, td) {
	border-bottom: var(--vuks-linie-stark);
}

.wp-block-table th,
.wp-block-table thead td {
	font-family: var(--vuks-titel);
	font-weight: 600;
}

.wp-block-table tbody tr:last-child > * {
	border-bottom: 0;
}

.wp-block-table .has-text-align-right {
	text-align: right;
}

.wp-block-table figcaption {
	margin-top: 0.6rem;
}

/* Eckdaten: zweispaltige Tabelle ohne Kopf, erste Spalte als Bezeichnung. */
.vuks-eckdaten td:first-child {
	font-family: var(--vuks-titel);
	font-weight: 600;
	width: 30%;
	white-space: nowrap;
}

@media (max-width: 37.5em) {
	.vuks-eckdaten tr,
	.vuks-eckdaten td {
		display: block;
		width: auto !important;
	}

	.vuks-eckdaten td:first-child {
		border-bottom: 0;
		padding-bottom: 0;
	}
}

/* --------------------------------------------------------------------------
   Hervorgehobene Blöcke (Hinweis, Vermerk, Info)
   -------------------------------------------------------------------------- */

.wp-block-group:is(.is-style-hinweis, .is-style-aktennotiz, .is-style-info) {
	background: var(--vuks-grau-01);
	border-left: 3px solid var(--vuks-rot);
	padding: 1.25rem 1.5rem;
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-group.is-style-hinweis {
	border-left-color: var(--wp--preset--color--rot-05, #960d28);
}

.wp-block-group.is-style-info {
	border-left-color: var(--vuks-grau-03);
}

.wp-block-group:is(.is-style-hinweis, .is-style-aktennotiz, .is-style-info) > * {
	margin-block: 0;
}

.wp-block-group:is(.is-style-hinweis, .is-style-aktennotiz, .is-style-info) > * + * {
	margin-block-start: 0.6rem;
}

.wp-block-group:is(.is-style-hinweis, .is-style-aktennotiz, .is-style-info) :is(h2, h3, h4) {
	font-size: 1.0625rem;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Schaltflächen
   -------------------------------------------------------------------------- */

.wp-block-button__link,
.wp-element-button {
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	text-decoration: none;
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.wp-block-button .wp-block-button__link.is-style-outline {
	background: transparent;
	color: var(--vuks-text);
	border: 2px solid var(--vuks-text);
	padding: calc(0.8em - 2px) calc(1.4em - 2px);
}

.wp-block-button.is-style-outline > .wp-block-button__link:is(:hover, :focus-visible) {
	background: var(--vuks-text);
	color: #fff;
	border-color: var(--vuks-text);
}

.wp-block-button.is-style-weiss > .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 2px solid #fff;
	padding: calc(0.8em - 2px) calc(1.4em - 2px);
}

.wp-block-button.is-style-weiss > .wp-block-button__link:is(:hover, :focus-visible) {
	background: #fff;
	color: var(--vuks-rot-flaeche);
}

.has-rot-04-background-color :where(a, button):focus-visible {
	outline-color: #fff;
}

/* Textlink mit Pfeil (z.B. «Mehr zum Projekt»). */
.vuks-pfeillink a {
	font-family: var(--vuks-titel);
	font-weight: 600;
	text-decoration: none;
}

.vuks-pfeillink a::after {
	content: "\2009→";
	display: inline-block;
	transition: transform 0.15s ease;
}


.vuks-pfeillink a:hover::after {
	transform: translateX(0.2em);
}

/* --------------------------------------------------------------------------
   Kopfzeile
   -------------------------------------------------------------------------- */

.vuks-kopf {
	position: relative;
	z-index: 50;
	background: #fff;
	font-family: var(--vuks-titel);
}

.vuks-kopf__innen {
	box-sizing: border-box;
	max-width: calc(var(--vuks-breit) + 2 * var(--vuks-rand));
	margin: 0 auto;
	padding: clamp(1rem, 2.5vw, 1.75rem) var(--vuks-rand);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.vuks-kopf__logo {
	display: block;
	flex: 0 0 auto;
	line-height: 0;
	/* Schutzraum: Das SVG enthält bereits einen schmalen Rand. */
}

.vuks-kopf__logo img {
	display: block;
	width: clamp(200px, 22vw, 290px);
	height: auto;
}

.vuks-kopf__menueknopf {
	display: none;
}

.vuks-nav__liste,
.vuks-nav__untermenue {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vuks-nav a,
.vuks-nav__unterknopf {
	color: var(--vuks-text);
	font-family: var(--vuks-titel);
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.3;
	text-decoration: none;
}

.vuks-nav__unterknopf {
	appearance: none;
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	text-align: left;
}

.vuks-nav__pfeil {
	display: inline-block;
	width: 0.42em;
	height: 0.42em;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-0.18em) rotate(45deg);
	transition: transform 0.15s ease;
}

.vuks-nav__unterknopf[aria-expanded="true"] .vuks-nav__pfeil {
	transform: translateY(0.08em) rotate(-135deg);
}

.vuks-nav a:hover,
.vuks-nav__unterknopf:hover {
	color: var(--vuks-rot);
}

.vuks-nav__untermenue a:hover {
	color: var(--vuks-rot);
}

/* Aktuelle Seite: Unterstrich in Markenrot (Signet-Strich). */
.vuks-nav__liste > .is-aktiv > a,
.vuks-nav__liste > .is-aktiv > .vuks-nav__unterknopf > span:first-child,
.vuks-nav__untermenue .is-aktiv > a {
	text-decoration: underline;
	text-decoration-color: var(--vuks-rot);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.4em;
}

@media (min-width: 75em) {
	.vuks-nav__liste {
		display: flex;
		align-items: center;
		gap: clamp(1.25rem, 2vw, 2rem);
	}

	.vuks-nav__punkt {
		position: relative;
		margin: 0;
	}

	.vuks-nav__untermenue {
		display: none;
		position: absolute;
		top: calc(100% + 1.1rem);
		left: -1.25rem;
		min-width: 17rem;
		background: #fff;
		border: 1px solid var(--vuks-grau-03);
		border-top: var(--vuks-linie-stark);
		padding: 0.6rem 0;
	}

	.vuks-nav__punkt.is-offen > .vuks-nav__untermenue {
		display: block;
	}

	.vuks-nav__untermenue .vuks-nav__punkt {
		margin: 0;
	}

	.vuks-nav__untermenue a {
		display: block;
		padding: 0.55rem 1.25rem;
		font-size: 1rem;
	}

	.vuks-nav__untermenue .vuks-nav__punkt--uebersicht {
		border-bottom: var(--vuks-linie-fein);
		margin-bottom: 0.35rem;
		padding-bottom: 0.35rem;
	}
}

@media (max-width: 74.999em) {
	.vuks-kopf__menueknopf {
		display: inline-flex;
		align-items: center;
		gap: 0.6rem;
		appearance: none;
		background: none;
		border: 0;
		padding: 0.5rem 0;
		margin: 0;
		cursor: pointer;
		color: var(--vuks-text);
		font-family: var(--vuks-titel);
		font-weight: 600;
		font-size: 1.0625rem;
	}

	.vuks-kopf__menuesymbol {
		position: relative;
		display: inline-block;
		width: 1.5rem;
		height: 0.75rem;
	}

	.vuks-kopf__menuesymbol span {
		position: absolute;
		left: 0;
		right: 0;
		height: 2px;
		background: currentColor;
		transition: transform 0.2s ease, top 0.2s ease;
	}

	.vuks-kopf__menuesymbol span:first-child {
		top: 0;
	}

	.vuks-kopf__menuesymbol span:last-child {
		top: calc(100% - 2px);
		background: var(--vuks-rot);
	}

	.is-menue-offen .vuks-kopf__menuesymbol span:first-child {
		top: calc(50% - 1px);
		transform: rotate(45deg);
	}

	.is-menue-offen .vuks-kopf__menuesymbol span:last-child {
		top: calc(50% - 1px);
		transform: rotate(-45deg);
		background: currentColor;
	}

	.vuks-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: var(--vuks-linie-stark);
		max-height: calc(100vh - 100%);
		max-height: calc(100dvh - 5rem);
		min-height: calc(100dvh - 5.5rem);
		box-sizing: border-box;
		overflow-y: auto;
		padding: 0.5rem var(--vuks-rand) 1.5rem;
	}

	.is-menue-offen .vuks-nav {
		display: block;
	}

	.vuks-nav__liste > .vuks-nav__punkt {
		border-bottom: var(--vuks-linie-fein);
	}

	.vuks-nav__liste > .vuks-nav__punkt > a,
	.vuks-nav__liste > .vuks-nav__punkt > .vuks-nav__unterknopf {
		display: flex;
		width: 100%;
		justify-content: space-between;
		padding: 0.95rem 0;
		font-size: 1.25rem;
	}

	.vuks-nav__untermenue {
		display: none;
		padding: 0 0 0.9rem 1rem;
	}

	.vuks-nav__punkt.is-offen > .vuks-nav__untermenue {
		display: block;
	}

	.vuks-nav__untermenue a {
		display: block;
		padding: 0.45rem 0;
		font-size: 1.0625rem;
	}

	html.vuks-menue-offen {
		overflow: hidden;
	}
}

/* --------------------------------------------------------------------------
   Abschnitte und Seitenkopf
   -------------------------------------------------------------------------- */

/* Seitenkopf: Titel mit Signet-Strich, darunter der Lead. */
.vuks-seitenkopf {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--50);
}

.vuks-seitenkopf > :first-child {
	margin-block-start: 0;
}

.vuks-seitenkopf h1 {
	margin-block: 0;
}



/* Einstieg der Startseite: grösserer Titel. */
.vuks-einstieg h1 {
	font-size: clamp(2.5rem, 1.6rem + 3.9vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -0.02em;
	max-width: 15em;
}



.vuks-einstieg .wp-block-buttons {
	margin-block-start: 2.25rem;
}

/* Abschnitt: einheitlicher vertikaler Abstand. */
.vuks-abschnitt {
	padding-top: var(--wp--preset--spacing--60);
	padding-bottom: var(--wp--preset--spacing--60);
}

.vuks-abschnitt > :first-child {
	margin-block-start: 0;
}

/* Abschnitte, Seitenkopf und Bilder über die volle Breite schliessen direkt aneinander an. */
.wp-block-post-content > :is(.vuks-abschnitt, .vuks-seitenkopf, .vuks-bild-voll, .vuks-markenflaeche),
.wp-block-post-content > :is(.vuks-abschnitt, .vuks-seitenkopf, .vuks-bild-voll, .vuks-markenflaeche) + *,
.editor-styles-wrapper .is-root-container > :is(.vuks-abschnitt, .vuks-seitenkopf, .vuks-bild-voll, .vuks-markenflaeche),
.editor-styles-wrapper .is-root-container > :is(.vuks-abschnitt, .vuks-seitenkopf, .vuks-bild-voll, .vuks-markenflaeche) + * {
	margin-block-start: 0;
}

.wp-block-post-content > .vuks-bild-voll + :not(.vuks-abschnitt, .vuks-markenflaeche, .vuks-bild-voll),
.editor-styles-wrapper .is-root-container > .vuks-bild-voll + :not(.vuks-abschnitt, .vuks-markenflaeche, .vuks-bild-voll) {
	margin-block-start: var(--wp--preset--spacing--50);
}

/* Abschnitt ohne Abstand oben, z.B. direkt nach dem Seitenkopf. */
.vuks-abschnitt.vuks-ohne-abstand-oben {
	padding-top: 0;
}

/* Bild über die volle Breite: Querformat; auf schmalen Bildschirmen höher. */
.vuks-bild-voll {
	margin-block: 0;
}

.vuks-bild-voll img {
	display: block;
	width: 100%;
	object-fit: cover;
}



@media (max-width: 48em) {
	.vuks-bild-voll img {
		aspect-ratio: 4 / 3 !important;
	}
}

/* Markenfläche: rot-04, darauf nur Weiss. */
.vuks-markenflaeche {
	padding: var(--wp--preset--spacing--50) clamp(1.5rem, 5vw, 4rem) !important;
}

.wp-block-post-content > .vuks-markenflaeche {
	margin-block: var(--wp--preset--spacing--40) !important;
}

.vuks-markenflaeche :is(h1, h2, h3, h4, p, li, a) {
	color: inherit;
}

.vuks-markenflaeche > :first-child {
	margin-block-start: 0;
}

.vuks-markenflaeche .wp-block-buttons {
	margin-block-start: 2rem;
}

/* --------------------------------------------------------------------------
   Kennzahlen
   -------------------------------------------------------------------------- */

.vuks-kennzahlen > .wp-block-column {
	border-top: var(--vuks-linie-stark);
	padding-top: 1.1rem;
}

.vuks-kennzahl {
	font-family: var(--vuks-titel);
	font-weight: 300;
	font-size: var(--wp--preset--font-size--huge);
	line-height: 1;
	letter-spacing: -0.02em;
	margin: 0;
	font-variant-numeric: lining-nums tabular-nums;
}

.vuks-kennzahl-text {
	color: var(--vuks-grau-07);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.45;
	margin-block-start: 0.6rem !important;
	max-width: 18rem;
}

/* --------------------------------------------------------------------------
   Projektliste: nummerierte Zeilen mit Linien wie in einer offenen Tabelle
   Nummer | Titel | Beschreibung und Link
   -------------------------------------------------------------------------- */

.vuks-liste {
	border-top: var(--vuks-linie-stark);
	border-bottom: var(--vuks-linie-stark);
	max-width: none !important;
}

.vuks-liste > .vuks-liste__eintrag {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 7fr);
	column-gap: clamp(1rem, 3vw, 2.5rem);
	align-items: first baseline;
	padding-block: 1.75rem;
	margin-block: 0;
}

.vuks-liste > .vuks-liste__eintrag + .vuks-liste__eintrag {
	border-top: var(--vuks-linie-fein);
}

.vuks-liste__eintrag > * {
	grid-column: 3;
	margin-block: 0 !important;
}

.vuks-liste__eintrag > * + * {
	margin-block-start: 0.75rem !important;
}

.vuks-liste__eintrag > .vuks-liste__nr {
	grid-column: 1;
	grid-row: 1 / span 3;
	margin: 0 !important;
	font-family: var(--vuks-titel);
	font-weight: 600;
	font-size: 1.0625rem;
	line-height: 1.2;
	color: var(--vuks-rot);
	font-variant-numeric: lining-nums tabular-nums;
}

.vuks-liste__eintrag > h3 {
	grid-column: 2;
	grid-row: 1 / span 3;
	margin: 0 !important;
}

@media (max-width: 48em) {
	.vuks-liste > .vuks-liste__eintrag {
		grid-template-columns: 2.75rem minmax(0, 1fr);
	}

	.vuks-liste__eintrag > *,
	.vuks-liste__eintrag > h3 {
		grid-column: 2;
		grid-row: auto;
	}

	.vuks-liste__eintrag > .vuks-liste__nr {
		grid-row: 1;
		padding-top: 0.25em;
	}
}



/* --------------------------------------------------------------------------
   Personen (Vorstand): links Porträt, rechts Name, Funktion, Profiltext, Links
   -------------------------------------------------------------------------- */

.vuks-person {
	margin-block: 0 !important;
	padding-block: var(--wp--preset--spacing--50);
}

.vuks-person + .vuks-person {
	border-top: var(--vuks-linie-fein);
}

.vuks-person:first-child {
	padding-top: 0;
}

.vuks-person .wp-block-image {
	margin: 0;
}

.vuks-person .wp-block-image img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.vuks-person h2,
.vuks-person h3 {
	font-size: var(--wp--preset--font-size--x-large);
	margin-block: 0 !important;
}

.vuks-person .vuks-funktion {
	font-style: italic;
	color: var(--vuks-grau-07);
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.35;
	margin-block-start: 0.4rem !important;
	margin-block-end: 1.5rem !important;
}

.vuks-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.75rem;
	margin-block-start: 1.5rem !important;
}

.vuks-links a {
	font-family: var(--vuks-titel);
	font-weight: 600;
	text-decoration: none;
}

.vuks-links a::after {
	content: "\2009→";
}


@media (max-width: 781px) {
	.vuks-person .wp-block-image {
		max-width: 22rem;
	}
}

/* --------------------------------------------------------------------------
   Zweispaltige Abschnitte
   -------------------------------------------------------------------------- */

.vuks-zweispaltig > .wp-block-column > :first-child {
	margin-block-start: 0;
}

.vuks-zweispaltig + .vuks-zweispaltig {
	margin-block-start: var(--wp--preset--spacing--50) !important;
}

/* --------------------------------------------------------------------------
   Partner und Supporter: Logos im Raster (4 je Zeile, auf dem Smartphone 2)
   -------------------------------------------------------------------------- */

.vuks-logos {
	gap: 1.5rem !important;
}

.vuks-logos .wp-block-image {
	margin: 0;
}

.vuks-logos img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: contain;
}

@media (max-width: 781px) {
	.vuks-logos {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

/* --------------------------------------------------------------------------
   Kontakt
   -------------------------------------------------------------------------- */

.vuks-kontakt .vuks-adresse {
	font-style: normal;
}

.vuks-kontakt h3 {
	font-size: 1.1875rem;
}

/* --------------------------------------------------------------------------
   Fusszeile
   -------------------------------------------------------------------------- */

/* Fusszeile: graue Fläche in der Inhaltsbreite, wie die übrigen Elemente. */
.vuks-fuss {
	padding-top: var(--wp--preset--spacing--40);
	padding-bottom: 0;
}

.vuks-fuss__flaeche {
	background: var(--vuks-grau-01);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
	padding: var(--wp--preset--spacing--50) clamp(1.5rem, 5vw, 4rem) var(--wp--preset--spacing--40) !important;
}

.vuks-fuss__flaeche > :first-child {
	margin-block-start: 0;
}

.vuks-fuss :where(p) {
	margin: 0;
}

.vuks-fuss a {
	color: var(--vuks-text);
	text-decoration: none;
}

.vuks-fuss a:hover {
	color: var(--vuks-rot);
}

.vuks-fuss__logo img {
	display: block;
	width: 210px;
	height: auto;
}

.vuks-fuss__logo {
	margin-block-end: 1.25rem !important;
}

.vuks-fuss-titel {
	font-family: var(--vuks-titel);
	font-weight: 600;
	font-size: 1rem;
	margin: 0 0 0.75rem !important;
	color: var(--vuks-text);
}

.vuks-fuss__spalten {
	margin-block-start: 0 !important;
}

.vuks-fuss__zeile {
	border-top: var(--vuks-linie-fein);
	margin-block-start: var(--wp--preset--spacing--50) !important;
	padding-top: 1.25rem;
	font-size: var(--wp--preset--font-size--x-small);
	gap: 0.75rem 2rem;
}

/* Fusszeile wie auf dem Briefpapier: Vereinsname, E-Mail, Website, getrennt durch den Signet-Strich «_». */
.vuks-signatur .vuks-name {
	font-family: var(--vuks-titel);
	font-weight: 600;
}

.vuks-signet {
	color: var(--vuks-rot);
	font-family: var(--vuks-titel);
	font-weight: 600;
	padding-inline: 0.35em;
}

.vuks-menue__liste {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vuks-menue--liste .vuks-menue__liste li + li {
	margin-top: 0.35rem;
}

.vuks-menue--zeile .vuks-menue__liste {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.5rem;
}

.vuks-menue--zeile .vuks-menue__liste li + li {
	margin-top: 0;
}

.vuks-menue .is-aktiv > a {
	color: var(--vuks-rot);
}

.vuks-menue__leer {
	font-style: italic;
	color: var(--vuks-grau-06);
}

/* --------------------------------------------------------------------------
   Beitragslisten (Archiv, Suche)
   -------------------------------------------------------------------------- */

.vuks-beitragsliste {
	list-style: none;
	padding: 0;
	border-top: var(--vuks-linie-stark);
}

.vuks-beitragsliste > li {
	border-bottom: var(--vuks-linie-fein);
	padding-block: 1.5rem;
	margin: 0;
}

.vuks-beitragsliste .wp-block-post-title {
	margin-block: 0.25rem 0.5rem;
}

.vuks-beitragsliste .wp-block-post-title a {
	color: var(--vuks-text);
	text-decoration: none;
}

.vuks-beitragsliste .wp-block-post-title a:hover {
	color: var(--vuks-rot);
}

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

.editor-styles-wrapper .vuks-kopf__menueknopf {
	display: none;
}

.editor-styles-wrapper .vuks-nav {
	display: block;
	position: static;
	border: 0;
	padding: 0;
}

.editor-styles-wrapper .vuks-nav__liste {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
}

.editor-styles-wrapper .vuks-nav__untermenue {
	display: none;
}

/* --------------------------------------------------------------------------
   Druck
   -------------------------------------------------------------------------- */

@media print {
	.vuks-kopf__menueknopf,
	.vuks-nav,
	.vuks-fuss .vuks-menue,
	.wp-block-buttons {
		display: none !important;
	}

	.vuks-markenflaeche {
		background: none !important;
		color: var(--vuks-text) !important;
	}

	body {
		font-size: 10pt;
		line-height: 1.4;
	}
}

/* Drei- und zweispaltige Abschnitte */
.vuks-dreispaltig > .wp-block-column > :first-child,
.vuks-zweispaltig > .wp-block-column > :first-child {
	margin-block-start: 0;
}

.vuks-dreispaltig h2,
.vuks-dreispaltig h3 {
	font-size: var(--wp--preset--font-size--large);
}

@media (min-width: 48em) and (max-width: 63.999em) {
	.vuks-dreispaltig {
		flex-wrap: wrap !important;
	}

	.vuks-dreispaltig > .wp-block-column {
		flex-basis: calc(50% - 2rem) !important;
		flex-grow: 0 !important;
	}
}

:root :where(.wp-block-post-content, .editor-styles-wrapper) > :is(.wp-block-quote, .wp-block-table, .wp-block-group.is-style-hinweis, .wp-block-group.is-style-aktennotiz, .wp-block-group.is-style-info) {
	margin-block: 2rem;
}

.vuks-abschnitt.vuks-mit-abstand-oben {
	padding-top: var(--wp--preset--spacing--50);
}

.vuks-abschnitt.vuks-trennlinie {
	border-top: var(--vuks-linie-fein);
	padding-top: var(--wp--preset--spacing--40);
}

.vuks-personen {
	padding-bottom: var(--wp--preset--spacing--40);
}

/* Inhalt in voller Inhaltsbreite: Seitenkopf und Einstieg */
.vuks-einstieg .wp-block-buttons {
	margin-block-start: 2.25rem;
}

/* Projektliste: Nummer, Titel und Beschreibung stehen auf derselben Grundlinie. */
.vuks-liste__eintrag > h3 + * {
	margin-block-start: 0 !important;
}
