/* ==========================================================================
   Matthias findet – Ergänzende Gestaltung
   Farben, Schriften und Grundabstände stehen in theme.json.
   Diese Datei gilt für die Website und für die Vorschau im Editor.
   ========================================================================== */

body {
	--mf-paper: var(--wp--preset--color--paper);
	--mf-deep: var(--wp--preset--color--paper-deep);
	--mf-card: var(--wp--preset--color--card);
	--mf-ink: var(--wp--preset--color--ink);
	--mf-muted: var(--wp--preset--color--muted);
	--mf-line: var(--wp--preset--color--line);
	--mf-rust: var(--wp--preset--color--rust);
	--mf-green: var(--wp--preset--color--green);
	--mf-serif: var(--wp--preset--font-family--serif);
	--mf-sans: var(--wp--preset--font-family--sans);
	--mf-section: var(--wp--custom--section-padding, 56px);

	/* Symbole (Linienzeichnungen) */
	--mf-i-personen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='12' r='5'/%3E%3Ccircle cx='13' cy='16' r='4'/%3E%3Ccircle cx='35' cy='16' r='4'/%3E%3Cpath d='M16 34c1-7 4-10 8-10s7 3 8 10M5 33c1-5 4-8 8-8 3 0 5 2 7 5M28 30c2-3 4-5 7-5 4 0 7 3 8 8'/%3E%3C/svg%3E");
	--mf-i-militaer: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 28c0-10 7-17 16-17s16 7 16 17M7 28h34M10 28c0 4 4 7 9 7h15c4 0 7-2 7-5M31 13c2 3 3 7 3 11'/%3E%3C/svg%3E");
	--mf-i-pfeile: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 7l9 17-9 17M27 7l9 17-9 17'/%3E%3C/svg%3E");
	--mf-i-dokument: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='12' y='6' width='24' height='36'/%3E%3Cpath d='M17 16h14M17 23h14M17 30h10'/%3E%3C/svg%3E");
	--mf-i-gebaeude: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 41h32M12 37V15l12-6 12 6v22M18 20h4v5h-4zM26 20h4v5h-4zM18 29h4v5h-4zM26 29h4v5h-4z'/%3E%3C/svg%3E");
	--mf-i-landkarte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l12-4 12 4 12-4v34l-12 4-12-4-12 4zM18 5v34M30 9v34'/%3E%3C/svg%3E");
	--mf-i-akte: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16v16H4zM7 8h10M7 12h10M7 16h10'/%3E%3C/svg%3E");
	--mf-i-lupe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5'/%3E%3C/svg%3E");
	--mf-i-siegel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16'/%3E%3Crect x='9' y='9' width='6' height='6' fill='black' stroke='none'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; }
.wp-site-blocks > * + * { margin-block-start: 0; }
img { height: auto; }

/* ---------- Dachzeile (Block-Stil für Absätze) ---------- */
.is-style-mf-kicker {
	margin-bottom: 4px !important;
	color: var(--mf-rust);
	font-family: var(--mf-sans);
	font-size: 12px !important;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}
.is-style-mf-kicker + .wp-block-heading { margin-top: 10px; }
.is-style-mf-kicker a { color: inherit; text-decoration: none; }

/* ---------- Kopfbereich ---------- */
.mf-header {
	position: relative;
	z-index: 20;
	background: var(--mf-paper);
	border-bottom: 1px solid var(--mf-line);
}
.mf-header-inner {
	min-height: 96px;
	padding-top: 14px;
	padding-bottom: 14px;
}
.mf-brand { gap: 0 !important; }
.mf-brand p { margin: 0; }
.mf-brand a { color: inherit; text-decoration: none; }
.mf-brand a:hover { text-decoration: none; }
.mf-brand-top,
.mf-brand-bottom {
	font-family: var(--mf-serif);
	font-weight: 700;
	font-size: 33px;
	line-height: .9;
}
.mf-brand-top { color: #111; }
.mf-brand-bottom { color: var(--mf-rust); }
.mf-brand-tagline {
	margin-top: 9px !important;
	color: #6d6962;
	font-size: 9px;
	line-height: 1;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.mf-header .wp-block-navigation__container { gap: clamp(14px, 2.2vw, 32px); }
.mf-header .wp-block-navigation-item__content { padding: 6px 0; }
.mf-header .wp-block-button__link { font-size: 13px; padding: 12px 19px; }

/* ---------- Abschnitte der Startseite ---------- */
.mf-front-content > * { margin-block: 0 !important; }
.mf-section {
	padding-top: var(--mf-section) !important;
	padding-bottom: var(--mf-section) !important;
}
/* Einleitungstexte: angenehme Zeilenlänge, bündig mit dem Inhalt darüber. */
.mf-section .mf-intro { max-width: 760px; margin-left: max(0px, calc((100% - 1360px) / 2)) !important; }
.mf-section > .wp-block-buttons,
.mf-section .mf-more { margin-top: 28px !important; }

/* ---------- Hero ---------- */
.mf-hero.wp-block-cover,
.mf-footer.wp-block-cover {
	padding-left: var(--wp--style--root--padding-left, clamp(18px, 4vw, 46px));
	padding-right: var(--wp--style--root--padding-right, clamp(18px, 4vw, 46px));
}
.mf-hero.wp-block-cover {
	min-height: 560px;
	padding-top: clamp(44px, 6vw, 72px);
	padding-bottom: clamp(40px, 5vw, 56px);
	color: var(--mf-ink);
	align-items: flex-start;
}
.mf-hero .wp-block-cover__inner-container { color: var(--mf-ink); width: 100%; }
.mf-hero h1 { margin-bottom: 26px; }
.mf-hero h2 {
	margin-top: 0;
	color: var(--mf-rust);
	font-family: var(--mf-sans);
	font-size: clamp(20px, 2.2vw, 25px);
	line-height: 1.3;
}
.mf-hero p { font-size: 15px; line-height: 1.5; }
.mf-hero .mf-hero-claim { font-size: 16px; font-weight: 700; }
.mf-hero-copy { text-shadow: 0 0 18px rgba(247, 244, 237, .9); }
@media (min-width: 783px) {
	.mf-hero .mf-hero-copy > :not(.mf-trust) { max-width: min(540px, 44vw) !important; }
}

.mf-trust { margin-top: 30px !important; gap: 24px !important; }
.mf-trust p.mf-trust-item {
	position: relative;
	margin: 0;
	padding-left: 32px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 700;
}
.mf-trust p.mf-trust-item::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 22px;
	height: 22px;
	background: var(--mf-rust);
	-webkit-mask: var(--mf-i-akte) center / contain no-repeat;
	mask: var(--mf-i-akte) center / contain no-repeat;
}
.mf-trust .wp-block-column:nth-child(2) p.mf-trust-item::before { -webkit-mask-image: var(--mf-i-lupe); mask-image: var(--mf-i-lupe); }
.mf-trust .wp-block-column:nth-child(3) p.mf-trust-item::before { -webkit-mask-image: var(--mf-i-siegel); mask-image: var(--mf-i-siegel); }

/* ---------- Meine Geschichte ---------- */
.mf-story .wp-block-columns { gap: clamp(24px, 3vw, 40px); }
.mf-story-image img {
	width: 100%;
	aspect-ratio: 3 / 4;
	object-fit: cover;
	object-position: center top;
	background: var(--mf-deep);
}
.mf-story-copy p { max-width: 760px; }

/* ---------- Karten (Block-Stile für „Details“) ---------- */
.wp-block-details[class*="is-style-mf-"] {
	position: relative;
	margin: 0;
	background: var(--mf-card);
	border: 1px solid var(--mf-line);
}
.wp-block-details[class*="is-style-mf-"] > summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 18px 48px 18px 20px;
	font-family: var(--mf-serif);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.2;
}
.wp-block-details[class*="is-style-mf-"] > summary::-webkit-details-marker { display: none; }
.wp-block-details[class*="is-style-mf-"] > summary::after {
	content: "+";
	position: absolute;
	right: 18px;
	top: 14px;
	color: var(--mf-rust);
	font: 400 26px/1 var(--mf-sans);
	transition: transform .2s ease;
}
.wp-block-details[class*="is-style-mf-"][open] > summary::after { transform: rotate(45deg); }
.wp-block-details[class*="is-style-mf-"] > :not(summary) {
	margin: 0 20px 14px;
	color: var(--mf-muted);
	font-size: 15px;
}
.wp-block-details[class*="is-style-mf-"] > :not(summary):last-child { margin-bottom: 20px; }
.wp-block-details.is-style-mf-karte[open] > summary { background: var(--mf-deep); border-bottom: 1px solid var(--mf-line); margin-bottom: 14px; }

/* Leistungskarten mit Symbol */
.wp-block-details[class*="is-style-mf-icon-"] { background: transparent; border: 0; border-right: 1px solid var(--mf-line); border-bottom: 1px solid var(--mf-line); }
.wp-block-details[class*="is-style-mf-icon-"] > summary {
	padding: 104px 56px 28px 34px;
	font-size: 19px;
}
.wp-block-details[class*="is-style-mf-icon-"] > summary::before {
	content: "";
	position: absolute;
	left: 34px;
	top: 36px;
	width: 50px;
	height: 50px;
	background: var(--mf-rust);
	-webkit-mask: var(--mf-i-dokument) center / contain no-repeat;
	mask: var(--mf-i-dokument) center / contain no-repeat;
}
.wp-block-details[class*="is-style-mf-icon-"] > summary::after { top: auto; bottom: 26px; right: 26px; }
.wp-block-details[class*="is-style-mf-icon-"] > :not(summary) { margin-left: 34px; margin-right: 34px; }
.wp-block-details[class*="is-style-mf-icon-"] > :not(summary):last-child { margin-bottom: 30px; }
.wp-block-details.is-style-mf-icon-personen > summary::before { -webkit-mask-image: var(--mf-i-personen); mask-image: var(--mf-i-personen); }
.wp-block-details.is-style-mf-icon-militaer > summary::before { -webkit-mask-image: var(--mf-i-militaer); mask-image: var(--mf-i-militaer); }
.wp-block-details.is-style-mf-icon-pfeile > summary::before { -webkit-mask-image: var(--mf-i-pfeile); mask-image: var(--mf-i-pfeile); }
.wp-block-details.is-style-mf-icon-dokument > summary::before { -webkit-mask-image: var(--mf-i-dokument); mask-image: var(--mf-i-dokument); }
.wp-block-details.is-style-mf-icon-gebaeude > summary::before { -webkit-mask-image: var(--mf-i-gebaeude); mask-image: var(--mf-i-gebaeude); }
.wp-block-details.is-style-mf-icon-landkarte > summary::before { -webkit-mask-image: var(--mf-i-landkarte); mask-image: var(--mf-i-landkarte); }

/* Schlichte Frage (Wissenswertes, „Meine Motivation“) */
.wp-block-details.is-style-mf-frage { background: transparent; border: 0; border-top: 1px solid var(--mf-line); border-bottom: 1px solid var(--mf-line); }
.wp-block-details.is-style-mf-frage > summary { padding-left: 0; font-size: 18px; }
.wp-block-details.is-style-mf-frage > summary::after { right: 4px; }
.wp-block-details.is-style-mf-frage > :not(summary) { margin-left: 0; margin-right: 0; color: var(--mf-ink); font-size: 16px; }

/* Raster für Leistungen: gemeinsame Linien statt Abstände */
.mf-services { margin-top: 36px !important; gap: 0 !important; border-top: 1px solid var(--mf-line); border-left: 1px solid var(--mf-line); }
.mf-prices, .mf-antrieb { margin-top: 28px !important; gap: 14px !important; align-items: start; }

/* Karte (Block-Stil für Gruppen) */
.wp-block-group.is-style-mf-karte { background: var(--mf-card); border: 1px solid var(--mf-line); padding: 22px; }

/* Foto mit Rahmen */
.wp-block-image.is-style-mf-foto img { border: 1px solid var(--mf-line); padding: 6px; background: var(--mf-card); }

/* ---------- News ---------- */
.mf-news .wp-block-post-template { margin-top: 28px; gap: 14px; }
.mf-news .wp-block-post {
	display: flex;
	flex-direction: column;
	background: var(--mf-card);
	border: 1px solid var(--mf-line);
	overflow: hidden;
}
.mf-news .wp-block-post-featured-image { margin: 0; }
.mf-news .wp-block-post-featured-image img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--mf-deep); }
.mf-news-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; gap: 10px; }
.mf-news-body > * { margin: 0 !important; }
.mf-news .wp-block-post-title { font-size: 20px; line-height: 1.12; }
.mf-news .wp-block-post-title a { color: var(--mf-rust); text-decoration: none; }
.mf-news .wp-block-post-title a:hover { text-decoration: underline; }
.mf-news .wp-block-post-excerpt { color: var(--mf-muted); font-size: 14px; }
.mf-news .wp-block-post-excerpt__excerpt { margin: 0; }
.mf-news .wp-block-read-more { margin-top: auto !important; color: var(--mf-rust); font-size: 13px; font-weight: 700; text-decoration: none; }
.mf-news .wp-block-query-pagination { margin-top: 36px; }

/* ---------- Über mich ---------- */
.mf-about .wp-block-columns { gap: clamp(24px, 4vw, 56px); }
.mf-about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; }
.mf-about .wp-block-details.is-style-mf-frage { margin-top: 22px; }
.mf-antrieb-title { margin-top: 56px !important; }

/* ---------- Wissenswertes: Rubrik-Karten (Startseite) ---------- */
.mf-rubriken {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 12px;
	margin-top: 28px;
}
.mf-rubrik {
	display: flex;
	flex-direction: column;
	min-height: 168px;
	padding: 18px 18px 16px;
	background: var(--mf-card);
	border: 1px solid var(--mf-line);
	color: var(--mf-ink);
	text-decoration: none;
	transition: border-color .15s ease, transform .15s ease;
}
.mf-rubrik:hover { border-color: var(--mf-rust); transform: translateY(-2px); text-decoration: none; }
.mf-rubrik-title { font: 700 17px/1.15 var(--mf-serif); }
.mf-rubrik-count { margin-top: 12px; color: var(--mf-muted); font-size: 13px; }
.mf-rubrik-arrow { margin-top: auto; align-self: flex-end; color: var(--mf-rust); font-size: 20px; }

/* ---------- Wissenswertes: vollständige Liste ---------- */
.mf-wissen-liste { display: grid; gap: 48px; }
.mf-wissen-rubrik h2 { margin-bottom: 14px; }
.mf-wissen-rubrik .wp-block-details + .wp-block-details { border-top: 0; }
.mf-wissen-leer { color: var(--mf-muted); font-style: italic; }

/* ---------- Ablauf (grüner Abschnitt) ---------- */
.mf-process .is-style-mf-kicker { color: #e2b9af; }
.mf-process .wp-block-heading { color: #fff; }
.mf-steps { margin-top: 30px !important; gap: 24px; }
.mf-steps p.mf-step-number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0 0 14px;
	border-radius: 50%;
	background: #f0ede4;
	color: #211d18;
	font-size: 13px;
	font-weight: 700;
}
.mf-steps h3 { margin: 0 0 8px; font-size: 16px; }
.mf-steps p:not(.mf-step-number) { color: rgba(255, 255, 255, .8); }

/* ---------- Kontakt ---------- */
.mf-contact .wp-block-columns { align-items: center; }

/* ---------- Fußbereich ---------- */
.mf-footer.wp-block-cover { min-height: 0; padding-top: 26px; padding-bottom: 26px; color: #fff; }
.mf-footer .wp-block-cover__inner-container { width: 100%; }
.mf-footer p { margin: 0; }
.mf-footer a { color: #fff; }
.mf-footer-brand { font: 700 24px/1 var(--mf-serif); }
.mf-footer-links a { margin-left: 18px; font-size: 13px; }

/* ---------- Seiten, Beiträge, Archiv ---------- */
.mf-page, .mf-single { padding-top: var(--mf-section); padding-bottom: var(--mf-section); }
.mf-single .wp-block-post-featured-image img { width: 100%; }
.mf-single .wp-block-post-content { font-size: 17px; line-height: 1.65; }
.mf-back { margin-top: 48px !important; }

/* ---------- Großonkel-Timeline ---------- */
.mf-timeline-embed { width: 100%; min-height: 650px; background: #f3eee6; }
.mf-timeline-note { padding: 14px 18px; border: 1px solid var(--mf-line); background: var(--mf-card); font-size: 14px; }
.mf-timeline-gallery { position: relative; margin: 18px 0; max-width: 720px; overflow: hidden; }
.mf-timeline-gallery-image { display: none; width: 100%; height: auto; }
.mf-timeline-gallery-image.is-active { display: block; }
.mf-timeline-gallery button { position: absolute; top: 50%; transform: translateY(-50%); border: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 28px; line-height: 1; width: 38px; height: 44px; cursor: pointer; }
.mf-timeline-gallery .mf-gallery-prev { left: 8px; }
.mf-timeline-gallery .mf-gallery-next { right: 8px; }
.mf-timeline-video iframe { max-width: 100%; }
.mf-timeline-preview { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--mf-rust); }
.mf-timeline-preview li { position: relative; padding: 0 0 18px 22px; }
.mf-timeline-preview li::before { content: ""; position: absolute; left: -7px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--mf-rust); }
.mf-timeline-preview strong { font-family: var(--mf-serif); }


/* ==========================================================================
   Live-Recherche, Offene Spuren, Newsletter
   ========================================================================== */

/* Einstieg (dunkles Titelbild) */
.mf-story-hero.wp-block-cover {
	min-height: 520px;
	padding: clamp(56px, 8vw, 96px) var(--wp--style--root--padding-right, clamp(18px, 4vw, 46px)) clamp(48px, 7vw, 80px) var(--wp--style--root--padding-left, clamp(18px, 4vw, 46px));
	align-items: flex-end;
}
.mf-story-hero .wp-block-cover__inner-container { width: 100%; }
.mf-story-hero, .mf-story-hero h1, .mf-story-hero h2, .mf-story-hero p { color: #fff; }
.mf-story-hero .is-style-mf-kicker { color: #e2b9af; }
.mf-story-hero h1 { font-size: clamp(38px, 5.4vw, 64px); }
.mf-story-hero .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .8); }
.mf-story-sub { font-family: var(--mf-serif); font-size: clamp(19px, 2vw, 23px) !important; font-style: italic; }
.mf-datum { display: inline-block; padding: 8px 14px; border-left: 3px solid var(--mf-rust); background: var(--mf-deep); }

/* Zitat */
.wp-block-quote { margin-left: 0; margin-right: 0; }
.wp-block-quote p { line-height: 1.35; }
.wp-block-quote cite { display: block; margin-top: 8px; color: var(--mf-muted); font-family: var(--mf-sans); font-size: 13px; font-style: normal; }

/* Folgen-Übersicht */
.mf-folgen { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.mf-folge-inner {
	display: grid;
	grid-template-columns: 160px minmax(0, 1fr);
	gap: 0;
	background: var(--mf-card);
	border: 1px solid var(--mf-line);
	color: var(--mf-ink);
	text-decoration: none;
	overflow: hidden;
}
a.mf-folge-inner { transition: border-color .15s ease; }
a.mf-folge-inner:hover { border-color: var(--mf-rust); text-decoration: none; }
.mf-folge-bild { display: block; min-height: 110px; background: var(--mf-deep); }
.mf-folge-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mf-folge-nummer { display: flex; align-items: center; justify-content: center; font: 700 44px/1 var(--mf-serif); color: var(--mf-rust); }
.mf-folge-text { display: flex; flex-direction: column; gap: 6px; padding: 18px 22px; }
.mf-folge-kicker { color: var(--mf-rust); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mf-folge-title { font: 700 21px/1.15 var(--mf-serif); }
.mf-folge-teaser { color: var(--mf-muted); font-size: 15px; }
.mf-folge-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; font-size: 13px; }
.mf-folge-status { font-weight: 700; color: var(--mf-muted); }
.mf-folge.is-online .mf-folge-status { color: var(--mf-rust); }
.mf-folge-spuren { color: var(--mf-rust); }
.mf-folge-spuren::before { content: "◌ "; }
.mf-folge.is-angekuendigt .mf-folge-inner { background: transparent; border-style: dashed; }
.mf-folge.is-angekuendigt .mf-folge-bild { opacity: .55; }

/* Offene Spuren: Karten */
.mf-spuren-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.mf-spuren-filter button {
	padding: 7px 14px;
	border: 1px solid var(--mf-line);
	border-radius: 999px;
	background: transparent;
	color: var(--mf-ink);
	font: 700 13px/1 var(--mf-sans);
	cursor: pointer;
}
.mf-spuren-filter button[aria-pressed="true"] { background: var(--mf-ink); border-color: var(--mf-ink); color: #fff; }
.mf-spuren { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 22px; }
.mf-spur {
	--mf-spur: var(--mf-rust);
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 18px 20px 20px;
	background: var(--mf-card);
	border: 1.5px dashed var(--mf-spur);
	border-radius: 3px;
	color: var(--mf-ink);
	text-decoration: none;
	transition: transform .15s ease;
}
.mf-spur:hover { transform: translateY(-2px); text-decoration: none; }
.mf-spur[hidden] { display: none; }
.mf-spur.is-in-arbeit, .mf-spur-steckbrief.is-in-arbeit { --mf-spur: #9a6512; border-style: solid; }
.mf-spur.is-geklaert, .mf-spur-steckbrief.is-geklaert { --mf-spur: #3b6d11; border-style: solid; }
.mf-spur-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mf-spur-kicker { color: var(--mf-spur, var(--mf-rust)); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mf-spur-kicker::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 6px; vertical-align: -2px; background: currentColor; -webkit-mask: var(--mf-i-lupe) center / contain no-repeat; mask: var(--mf-i-lupe) center / contain no-repeat; }
.mf-spur-pill { padding: 3px 9px; border-radius: 3px; background: color-mix(in srgb, var(--mf-spur, var(--mf-rust)) 14%, transparent); color: var(--mf-spur, var(--mf-rust)); font-size: 12px; font-weight: 700; white-space: nowrap; }
.mf-spur-title { font: 700 19px/1.2 var(--mf-serif); }
.mf-spur-text { color: var(--mf-muted); font-size: 14px; }
.mf-spur-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 4px; }
.mf-spur-tags span { padding: 2px 8px; border: 1px solid var(--mf-line); border-radius: 3px; color: var(--mf-muted); font-size: 12px; }

/* Einzelne Spur: Steckbrief */
.mf-spur-steckbrief { --mf-spur: var(--mf-rust); padding: 20px 22px; background: var(--mf-card); border: 1.5px dashed var(--mf-spur); border-radius: 3px; }
.mf-spur-steckbrief dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px 24px; margin: 16px 0 18px; }
.mf-spur-steckbrief dt { color: var(--mf-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.mf-spur-steckbrief dd { margin: 2px 0 0; }
.mf-spur-hinweis { flex-basis: 100%; margin: 6px 0 0; color: var(--mf-muted); font-size: 14px; }

/* Newsletter */
.mf-nl-box { padding: 24px 26px !important; }
.mf-nl-box h3 { margin-top: 0; }
.mf-nl-form { display: grid; gap: 14px; margin-top: 8px; }
.mf-nl-field span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.mf-nl-field input {
	width: 100%;
	padding: 11px 12px;
	border: 1px solid #bdb5a7;
	border-radius: 3px;
	background: #fff;
	color: var(--mf-ink);
	font: 16px var(--mf-sans);
}
.mf-nl-field input:focus { outline: 2px solid var(--mf-rust); outline-offset: 1px; border-color: var(--mf-rust); }
.mf-nl-consent { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: 13px; line-height: 1.45; color: var(--mf-muted); }
.mf-nl-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--mf-rust); }
.mf-nl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.mf-nl-form .wp-block-button__link { border: 0; cursor: pointer; }
.mf-nl-form .wp-block-button__link:disabled { opacity: .6; cursor: wait; }
.mf-nl-msg { margin: 0; font-size: 14px; }
.mf-nl-msg:empty { display: none; }
.mf-nl-msg.is-error { color: var(--mf-rust); font-weight: 700; }
.mf-nl-msg.is-ok { padding: 12px 14px; background: #eaf3de; color: #27500a; border-radius: 3px; }
.mf-nl-small { margin: 0; color: var(--mf-muted); font-size: 12px; }
.mf-nl-top .wp-block-columns { gap: clamp(28px, 5vw, 64px); }

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1000px) {
	.mf-header .wp-block-navigation__container { gap: 14px; }
	.mf-brand-top, .mf-brand-bottom { font-size: 28px; }
}
@media (max-width: 781px) {
	.mf-header-inner { min-height: 76px; }
	.mf-header .wp-block-buttons { display: none; }
	.mf-hero.wp-block-cover { min-height: 0; }
	.mf-hero .wp-block-cover__image-background { opacity: .35; }
	.mf-story-image img { aspect-ratio: 4 / 3; }
	.wp-block-details[class*="is-style-mf-icon-"] > summary { padding: 88px 56px 24px 24px; }
	.wp-block-details[class*="is-style-mf-icon-"] > summary::before { left: 24px; top: 26px; }
	.wp-block-details[class*="is-style-mf-icon-"] > :not(summary) { margin-left: 24px; margin-right: 24px; }
	.mf-footer-links a { margin: 0 18px 0 0; }
	.mf-rubrik { min-height: 0; }
	.mf-rubrik-arrow { margin-top: 8px; }
	.mf-timeline-embed { min-height: 560px; }
	.mf-folge-inner { grid-template-columns: 1fr; }
	.mf-folge-bild { min-height: 0; aspect-ratio: 16 / 7; }
	.mf-folge-nummer { aspect-ratio: auto; padding: 14px; font-size: 34px; justify-content: flex-start; }
}
