/*
Theme Name: studio13nord
Theme URI: https://studio13nord.ch
Author: Fabio Schaub
Description: Eigenes, schlankes Theme für studio13nord.ch (Sven Brun, Studio 13 Nord). Umsetzung nach Konzept Fassung 4, September 2026. Kein Page Builder, keine Pflicht-Plugins, keine Build-Schritte.
Version: 1.0.4
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: studio13nord
*/

/* ============================================================================
   studio13nord.ch – Stile. Farben und Schriften exakt nach Konzept, Kapitel 8.
   Aufbau und Masse übernommen aus dem Klickdummy (demo/studio13nord-demo.html).

   Akzentregel: Aquamarin nur für Knöpfe, Links, aktive Zustände und die 13.
   Keine aquamarinen Flächen, Rahmen oder Symbole. Gegenüber dem Klickdummy
   korrigiert: Symbole in der Toolbox-Liste, NEU-Abzeichen und Pfeile sind
   nicht aquamarin.

   Hell und dunkel: <main class="page"> ist dunkel, <main class="page is-light">
   hell. Kopf- und Fusszeile bleiben immer dunkel.
   ========================================================================== */

:root {
	/* Farben laut Konzept */
	--ground:    #0D1B2A;  /* Grundton: Seitenhintergrund */
	--surface:   #16293D;  /* Flächen: Karten, Boxen, Bildbereiche */
	--line:      #22394F;  /* Linien: Trennlinien, Platzhalter */
	--accent:    #3FE0B8;  /* Akzent: Knöpfe, Links, aktive Zustände, die 13 */
	--accent-lt: #22CFA0;  /* Akzent auf Hell */
	--on-accent: #04342C;  /* Text auf Akzent */
	--text:      #E8EDF2;  /* Text hell */
	--muted:     #8FA3B8;  /* Text gedämpft */
	--paper:     #FBFBF9;  /* Lesefläche hell */
	--ink:       #0D1B2A;  /* Text auf Hell */

	/* Ableitungen für helle Unterseiten – im Konzept nicht definiert,
	   aus dem Klickdummy übernommen. MIT SVEN ABZUGLEICHEN.
	   --accent-ink ersetzt #22CFA0 als Textlink auf Hell (Kontrast 5.9:1;
	   #22CFA0 auf #FBFBF9 hätte nur 2.1:1). */
	--paper-surface: #F1F2EF;
	--paper-line:    #DDE0DB;
	--paper-muted:   #55677A;
	--accent-ink:    #0B6B52;

	--w-page: 1060px;
	--w-wide: 1180px;   /* Seiten der interaktiven Werkzeuge */
	--w-read: 640px;

	--s-0: 1rem;
	--s-1: 1.125rem;
	--s-2: 1.3125rem;
	--s-3: 1.5rem;
	--s-4: 1.875rem;
	--s-5: clamp(2rem, 1.3rem + 2.6vw, 2.875rem);

	--r: 5px;
	--r-lg: 10px;

	--font-text: "Public Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-title: "Bricolage Grotesque", "Public Sans", ui-sans-serif, system-ui, sans-serif;
}

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

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--ground);
	color: var(--text);
	font-family: var(--font-text);
	font-size: var(--s-0);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	/* Fusszeile am unteren Fensterrand, auch bei wenig Inhalt */
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
main.page { flex: 1 0 auto; }

h1, h2, h3, h4 {
	font-family: var(--font-title);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.012em;
	text-wrap: balance;
	margin: 0;
}
p { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.page.is-light :focus-visible { outline-color: var(--accent-ink); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
	position: absolute; left: -9999px; top: 0; z-index: 100;
	background: var(--accent); color: var(--on-accent); padding: 12px 18px;
	font-weight: 600; text-decoration: none;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- Seitenmodus, pro Unterseite umschaltbar ----------------------- */

/* Nur <main class="page">: WordPress gibt auch dem <body> auf Seiten die Klasse «page»,
   darum hier ausdrücklich an main gebunden. */
main.page {
	--pg-bg: var(--ground); --pg-text: var(--text); --pg-muted: var(--muted);
	--pg-surface: var(--surface); --pg-line: var(--line); --pg-link: var(--accent);
	--pg-btn: var(--accent);
	background: var(--pg-bg); color: var(--pg-text);
	display: block;
}
main.page.is-light {
	--pg-bg: var(--paper); --pg-text: var(--ink); --pg-muted: var(--paper-muted);
	--pg-surface: var(--paper-surface); --pg-line: var(--paper-line); --pg-link: var(--accent-ink);
	--pg-btn: var(--accent-lt);
}
main:focus { outline: none; }

/* ---------- Grundbausteine ------------------------------------------------ */

.wrap { width: 100%; max-width: var(--w-page); margin-inline: auto; padding-inline: 24px; }
.wrap-wide { max-width: var(--w-wide); }
@media (max-width: 600px) { .wrap { padding-inline: 18px; } }

.stack { display: flex; flex-direction: column; }
.g-2 { gap: 8px; } .g-3 { gap: 12px; } .g-4 { gap: 16px; } .g-5 { gap: 20px; }
.g-6 { gap: 24px; } .g-8 { gap: 32px; } .g-10 { gap: 40px; } .g-12 { gap: 48px; }

.section { padding-block: 56px; }
@media (max-width: 600px) { .section { padding-block: 40px; } }

.h-page { font-size: var(--s-4); }
.h-section { font-size: var(--s-3); }
.h-group { font-size: var(--s-2); }

.eyebrow {
	font-size: .6875rem; font-weight: 600; letter-spacing: .11em;
	text-transform: uppercase; color: var(--pg-muted);
}
.meta { font-size: .8125rem; color: var(--pg-muted); }
.meta-link { font-size: .8125rem; color: var(--pg-link); text-decoration: none; }
.meta-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.lede { font-size: var(--s-1); color: var(--pg-muted); line-height: 1.6; max-width: 56ch; }
.lede p { margin: 0; }
.lede p + p { margin-top: 10px; }

hr.rule { border: 0; border-top: 1px solid var(--pg-line); margin: 0; }

/* Knopf: Akzentfläche mit dunkler Schrift (erlaubt: Knöpfe) */
.btn {
	display: inline-flex; align-items: center; gap: 9px;
	padding: 11px 20px; border: 0; border-radius: var(--r);
	background: var(--pg-btn); color: var(--on-accent);
	font: inherit; font-weight: 600; font-size: .875rem;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background .15s ease;
}
.btn:hover { background: #5BEBC8; }
.page.is-light .btn:hover { background: #1FBF93; }

.btn-quiet {
	display: inline-flex; align-items: center; gap: 8px;
	background: none; border: 1px solid var(--pg-line); color: var(--pg-text);
	padding: 9px 16px; border-radius: var(--r);
	font: inherit; font-weight: 500; font-size: .875rem;
	text-decoration: none; cursor: pointer; transition: border-color .15s ease;
}
.btn-quiet:hover { border-color: var(--pg-muted); }

/* Link mit Pfeil: Text in Akzent (erlaubt: Links), Pfeil gedämpft (Akzentregel) */
.link-arrow {
	color: var(--pg-link); text-decoration: none; font-weight: 600; font-size: .875rem;
	display: inline-flex; align-items: center; gap: 6px; align-self: flex-start;
}
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow .arrow, .back .arrow { color: var(--pg-muted); }

/* NEU-Abzeichen: Schrift mit feiner Linie, keine Akzentfläche (Akzentregel) */
.badge-new {
	display: inline-block; font-family: var(--font-text); font-size: .625rem; font-weight: 700; letter-spacing: .09em;
	text-transform: uppercase; padding: 1px 7px; border-radius: 3px; line-height: 1.6;
	border: 1px solid var(--pg-muted); color: var(--pg-text); vertical-align: middle; margin-left: 6px;
}
h1 .badge-new { font-size: .6875rem; vertical-align: .35em; }

.note {
	font-size: .8125rem; color: var(--pg-muted);
	border-left: 2px solid var(--pg-line); padding-left: 14px; max-width: 64ch;
}

.ph { /* Bildplatzhalter */
	background: var(--pg-surface); border: 1px solid var(--pg-line);
	display: grid; place-items: center; color: var(--pg-muted);
	font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}

/* ---------- Kopfbereich, immer dunkel ------------------------------------- */

.site-head { position: sticky; top: 0; z-index: 40; background: var(--ground); border-bottom: 1px solid var(--line); }
.head-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; padding: 8px 0; }
.brand svg { height: 42px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
	position: relative; padding: 8px 13px; color: var(--muted); text-decoration: none;
	font-size: .875rem; font-weight: 500; border-radius: var(--r); transition: color .15s ease;
}
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { /* aktiver Zustand: erlaubt */
	content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px; background: var(--accent);
}

.nav-toggle {
	display: none; background: none; border: 1px solid var(--line); border-radius: var(--r);
	color: var(--text); padding: 9px 12px; font: inherit; font-size: .8125rem; cursor: pointer;
}
@media (max-width: 720px) {
	.nav-toggle { display: block; }
	.nav {
		display: none; position: absolute; top: 100%; left: 0; right: 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--ground); border-bottom: 1px solid var(--line); padding: 6px 24px 16px;
	}
	.nav.is-open { display: flex; }
	.nav a { padding: 12px 0; }
	.nav a[aria-current="page"]::after { display: none; }
	.head-inner { position: relative; min-height: 64px; }
	.brand svg { height: 36px; }
}

/* Admin-Leiste von WordPress: Kopfbereich darunter festhalten */
body.admin-bar .site-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-head { top: 46px; } }

/* ---------- Startseite: Teaser ------------------------------------------ */

.hero {
	position: relative; min-height: 300px; display: flex; align-items: flex-end;
	background: #14263A; border-bottom: 1px solid var(--line); overflow: hidden;
	background-size: cover; background-position: center;
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background-image:
		linear-gradient(to right, rgba(34,57,79,.5) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(34,57,79,.5) 1px, transparent 1px);
	background-size: 56px 56px;
}
.hero.has-image { min-height: 380px; }
.hero.has-image::before { /* dunkler Verlauf, damit der Text auf dem Foto lesbar bleibt */
	background-image: linear-gradient(to top, rgba(13,27,42,.92) 0%, rgba(13,27,42,.55) 55%, rgba(13,27,42,.15) 100%);
	background-size: auto;
}
.hero-inner { position: relative; padding-block: 56px 44px; }
.hero h1 { font-size: var(--s-5); max-width: 17ch; margin-bottom: 14px; color: var(--text); }
.hero-text { color: var(--muted); max-width: 46ch; font-size: var(--s-1); }
.hero-text p + p { margin-top: 8px; }
.hero.has-image .hero-text { color: var(--text); }

/* ---------- Meldungen ----------------------------------------------------- */

.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }

.news-card {
	background: var(--pg-surface); border-radius: var(--r-lg); overflow: hidden;
	display: flex; flex-direction: column;
}
.news-media { display: block; aspect-ratio: 5 / 2; overflow: hidden; border-bottom: 1px solid var(--pg-line); background: #223A52; }
.page.is-light .news-media { background: var(--paper-line); }
.news-media img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-body h3 { font-size: var(--s-2); }
.news-body h3 a { text-decoration: none; }
.news-body h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-excerpt { font-size: .9375rem; line-height: 1.6; color: var(--pg-muted); }
.news-body .link-arrow { margin-top: auto; padding-top: 4px; }

.empty {
	border: 1px dashed var(--pg-line); border-radius: var(--r-lg);
	padding: 44px 28px; text-align: center; color: var(--pg-muted);
	display: flex; flex-direction: column; gap: 6px; align-items: center;
}
.empty-title { font-weight: 500; color: var(--pg-text); }
.empty a { color: var(--pg-link); }

.cta-box {
	background: var(--pg-surface); border-radius: var(--r-lg); padding: 28px 26px;
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
}
.cta-box h2 { font-size: var(--s-3); margin-bottom: 6px; }
.cta-box p { color: var(--pg-muted); font-size: .9375rem; max-width: 52ch; }

/* Seitennummerierung */
.pagination { font-size: .875rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pagination .page-numbers {
	display: inline-flex; padding: 7px 12px; border: 1px solid var(--pg-line); border-radius: var(--r);
	color: var(--pg-text); text-decoration: none;
}
.pagination a.page-numbers:hover { border-color: var(--pg-muted); }
.pagination .page-numbers.current { color: var(--pg-link); font-weight: 600; }
.pagination .page-numbers.dots { border: 0; }
.pagination h2 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Work ---------------------------------------------------------- */

.work-feature {
	background: var(--pg-surface); border-radius: var(--r-lg); padding: 28px 26px;
	display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
@media (max-width: 760px) { .work-feature { grid-template-columns: 1fr; gap: 20px; } }
.work-feature h2 { font-size: var(--s-4); margin-block: 8px 10px; }
.work-feature p { color: var(--pg-muted); max-width: 58ch; margin-bottom: 16px; }
.work-feature-actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.work-feature-media { width: 150px; height: 150px; border-radius: 8px; overflow: hidden; background: var(--pg-bg); }
.work-feature-media img { width: 100%; height: 100%; object-fit: cover; }

.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
	background: var(--pg-surface); border-radius: var(--r-lg); padding: 20px;
	display: flex; flex-direction: column; gap: 12px;
}
.work-card .ph, .work-media { aspect-ratio: 16 / 9; border-radius: 6px; background: var(--pg-bg); overflow: hidden; display: block; }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.work-card h3 { font-size: var(--s-2); }
.work-card h3 a { text-decoration: none; }
.work-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.work-card p { color: var(--pg-muted); font-size: .875rem; }
.work-card .link-arrow { margin-top: auto; padding-top: 2px; }

/* ---------- Toolbox ------------------------------------------------------- */

.tb-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; justify-content: space-between; }
.tb-count { font-size: .8125rem; color: var(--pg-muted); font-variant-numeric: tabular-nums; }
.tb-count b { color: var(--pg-text); font-weight: 600; }

.search-field { position: relative; width: 100%; }
.search-field input {
	width: 100%; background: var(--pg-surface); border: 1px solid var(--pg-line);
	border-radius: var(--r); color: var(--pg-text);
	font: inherit; font-size: var(--s-0); padding: 14px 16px 14px 46px;
}
.search-field input::placeholder { color: var(--pg-muted); opacity: 1; }
.search-field input::-webkit-search-cancel-button { cursor: pointer; }
.search-field svg {
	position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
	color: var(--pg-muted); pointer-events: none;
}

.tools3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .tools3 { grid-template-columns: 1fr; } }

.tool3-card {
	background: var(--pg-surface); border-radius: var(--r-lg); padding: 22px;
	display: flex; flex-direction: column; gap: 11px; text-decoration: none; color: inherit;
	border: 1px solid var(--pg-line); transition: border-color .15s ease;
}
.tool3-card:hover { border-color: var(--pg-muted); }
.tool3-card h3 { font-size: var(--s-2); }
.tool3-card p { color: var(--pg-muted); font-size: .875rem; }
.tool3-card .link-arrow { margin-top: auto; padding-top: 4px; }
.tool3-card:hover .link-arrow { text-decoration: underline; text-underline-offset: 4px; }

.group { display: flex; flex-direction: column; gap: 4px; }
.group-head h2, .group-head h3 { font-size: var(--s-2); }
.group-head p { color: var(--pg-muted); font-size: .875rem; margin-top: 2px; }

.tool-list { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid var(--pg-line); }
.tool-row { border-bottom: 1px solid var(--pg-line); }
.tool-link {
	display: grid; grid-template-columns: 22px 1fr auto; gap: 16px; align-items: center;
	padding: 14px 6px; text-decoration: none; color: inherit; transition: background .12s ease;
}
.tool-link:hover { background: var(--pg-surface); }
.tool-link:hover .tool-name { text-decoration: underline; text-underline-offset: 4px; }
.tool-icon { color: var(--pg-muted); display: grid; place-items: center; } /* Symbole nicht aquamarin */
.tool-name { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 2px; font-size: .9375rem; }
.tool-desc { display: block; color: var(--pg-muted); font-size: .8125rem; margin-top: 1px; }
.tool-meta { color: var(--pg-muted); font-size: .75rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 620px) {
	.tool-link { grid-template-columns: 22px 1fr; }
	.tool-meta { display: none; }
}

.no-hits { padding: 24px 6px; color: var(--pg-muted); }

/* ---------- Rückmeldeknopf ------------------------------------------------ */

.fb { border: 1px solid var(--pg-line); border-radius: var(--r-lg); padding: 20px 22px; max-width: var(--w-read); }
.fb-toggle {
	background: none; border: 0; padding: 0; color: var(--pg-link);
	font: inherit; font-weight: 600; font-size: .9375rem; cursor: pointer;
	display: inline-flex; align-items: center; gap: 8px;
}
.fb-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }
.fb-form { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.fb-form label { font-size: .8125rem; color: var(--pg-muted); display: block; margin-bottom: 5px; }
.fb-form textarea, .fb-form input[type="email"], .fb-form input[type="text"] {
	width: 100%; background: var(--pg-bg); border: 1px solid var(--pg-line); border-radius: var(--r);
	color: var(--pg-text); font: inherit; font-size: .9375rem; padding: 10px 12px;
}
.fb-form textarea::placeholder, .fb-form input::placeholder { color: var(--pg-muted); opacity: 1; }
.fb-form textarea { min-height: 88px; resize: vertical; }
.fb-form .btn { align-self: flex-start; }
.fb-form .meta { margin: 0; }
.fb-hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; } /* Honigtopf, für Menschen unsichtbar */
.fb-status, .fb-notice { font-size: .875rem; color: var(--pg-muted); margin: 0; min-height: 1.4em; }
.fb-status.is-ok, .fb-notice.is-ok { color: var(--pg-text); font-weight: 500; }
.fb-status.is-error, .fb-notice.is-error { color: #E8A33D; }
.page.is-light .fb-status.is-error, .page.is-light .fb-notice.is-error { color: #9A4A00; }
.fb-notice { margin-top: 14px; }

/* ---------- Detailseiten -------------------------------------------------- */

.back {
	display: inline-flex; align-items: center; gap: 7px; color: var(--pg-link);
	text-decoration: none; font-size: .8125rem; font-weight: 500; align-self: flex-start;
}
.back:hover { text-decoration: underline; text-underline-offset: 4px; }

.detail { max-width: var(--w-read); display: flex; flex-direction: column; gap: 22px; }
.detail h1 { font-size: var(--s-5); }
.detail-media { margin: 0; border-radius: 8px; overflow: hidden; background: var(--pg-surface); }
.detail-media img { width: 100%; height: auto; }
.detail-media.is-news img { aspect-ratio: 5 / 2; object-fit: cover; }
.detail-media.is-portrait img, .detail-media.is-cover img { aspect-ratio: 3 / 2; object-fit: cover; }

.dl-row {
	border-top: 1px solid var(--pg-line); padding-top: 22px;
	display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.dl-title { font-weight: 600; font-size: .9375rem; }

.sources { list-style: none; margin: 0; padding: 0; }
.sources li { border-top: 1px solid var(--pg-line); }
.sources li:last-child { border-bottom: 1px solid var(--pg-line); }
.sources a, .sources .source-plain {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 14px 2px; text-decoration: none; font-size: .9375rem;
}
.sources a:hover { color: var(--pg-link); }

.result-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--pg-line); }
.result-row { border-bottom: 1px solid var(--pg-line); }
.result-row a { display: flex; flex-direction: column; gap: 3px; padding: 14px 6px; text-decoration: none; }
.result-row a:hover { background: var(--pg-surface); }
.result-title { font-size: .9375rem; font-weight: 500; }

/* ---------- Fliesstext (Inhalte aus dem Editor) --------------------------- */

.prose { max-width: var(--w-read); display: flex; flex-direction: column; gap: 18px; }
.prose > * { margin: 0; }
.prose p, .prose li { font-size: var(--s-1); line-height: 1.7; }
.prose h2 { font-size: var(--s-3); margin-top: 14px; }
.prose h3 { font-size: var(--s-2); margin-top: 8px; }
.prose h4 { font-size: var(--s-1); }
.prose a { color: var(--pg-link); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; display: flex; flex-direction: column; gap: 6px; }
.prose li::marker { color: var(--pg-muted); }
.prose strong { font-weight: 600; }
.prose blockquote {
	border-left: 2px solid var(--pg-line); padding-left: 18px; color: var(--pg-muted);
}
.prose blockquote p { font-size: var(--s-1); }
.prose blockquote cite { font-style: normal; font-size: .875rem; }
.prose figure { margin: 0; }
.prose figure img { border-radius: 8px; }
.prose figcaption { font-size: .8125rem; color: var(--pg-muted); margin-top: 8px; }
.prose hr { border: 0; border-top: 1px solid var(--pg-line); width: 100%; }
.prose table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--pg-line); vertical-align: top; }
.prose th { font-weight: 600; }
.prose code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .9em; }
.prose pre { overflow: auto; padding: 14px 16px; background: var(--pg-surface); border-radius: var(--r); font-size: .875rem; }
.prose .wp-block-button__link, .prose .wp-element-button {
	display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: 0; border-radius: var(--r);
	background: var(--pg-btn); color: var(--on-accent); font-weight: 600; font-size: .875rem; text-decoration: none;
}
.prose .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.prose .alignleft { float: left; margin: 0 20px 12px 0; max-width: 50%; }
.prose .alignright { float: right; margin: 0 0 12px 20px; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose .wp-block-image img { height: auto; }
.prose .wp-block-embed iframe, .prose iframe { max-width: 100%; }
.prose .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; }
.prose .wp-block-column { flex: 1 1 240px; display: flex; flex-direction: column; gap: 14px; }
.prose .wp-block-separator { border: 0; border-top: 1px solid var(--pg-line); }
.prose .has-text-align-center { text-align: center; }
.prose .has-text-align-right { text-align: right; }
.prose .has-small-font-size { font-size: .875rem; }
.prose .has-large-font-size { font-size: var(--s-2); }
.prose .has-accent-color { color: var(--pg-link); }
.prose .has-muted-color { color: var(--pg-muted); }

/* ---------- Fusszeile, immer dunkel --------------------------------------- */

.site-foot { background: var(--ground); color: var(--muted); border-top: 1px solid var(--line); padding-block: 20px; font-size: .75rem; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; gap: 20px; }
.foot-links a { color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Interaktive Werkzeuge (Rahmen in der Seite) ------------------- */
/* Die Werkzeuge selbst bringen gekapselte Stile mit: assets/css/tools/*.css */

.s13-tool { margin-top: 4px; }
.s13-interactive .prose { margin-top: 8px; }
