/*
Theme Name:   meinbauch
Description:  Child-Theme für meinbauch.net auf Basis von GeneratePress. Ruhig, warm, gut lesbar. Systemschriften, keine externen Ressourcen.
Author:       Lightweb Media GmbH
Template:     generatepress
Version:      1.0.0
Requires at least: 6.5
Requires PHP: 8.2
Text Domain:  meinbauch
Update URI:   false
*/

/* ---------- Farben und Maße (anpassungen/marke/palette.md) ---------- */
:root {
	--green: #2e6b57;
	--green-dark: #1f4d3f;
	--accent: #e08a5b; /* nur Flächen, nie Text */
	--terracotta: #b4532a;
	--ink: #1e2b27;
	--slate: #55635e;
	--line: #dce3de;
	--paper: #f6f4ee;
	--dark: #14251f;
	--sage: #9fc5ae;
	--apricot: #f4c9a8;
	--butter: #f1dc9c;
	--mist: #dcebe2;
	--white: #fff;
	--width: 1200px;
	--text: 70ch;
	--border: 16px;
	--radius: 10px;
	--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-title: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

/* ---------- Grundlagen (GPs main.min.css wird nicht geladen) ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 24px; }
body {
	margin: 0;
	background: var(--white);
	color: var(--ink);
	font: 400 1.125rem/1.7 var(--font);
	overflow-wrap: break-word;
}
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 700; line-height: 1.25; color: var(--ink); margin: 1.6em 0 .6em; }
h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); margin-top: 0; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.9rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p, ul, ol, dl, table, figure, blockquote { margin: 0 0 1.2em; }
img, video, iframe { max-width: 100%; height: auto; }
img { vertical-align: middle; background: var(--paper); color: transparent; }
a { color: var(--green); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--green-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; border-radius: 2px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; }
input[type="search"], input[type="text"], input[type="email"], input[type="url"], input[type="number"], textarea {
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid #8a9792;
	border-radius: 8px;
	background: var(--white);
}
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; word-wrap: normal !important;
}
.skip-link.screen-reader-text:focus, .screen-reader-text:focus {
	clip: auto !important; clip-path: none; height: auto; width: auto; margin: 0;
	left: 8px; top: 8px; z-index: 100000; padding: 12px 16px;
	background: var(--white); color: var(--green-dark); font-weight: 700; border-radius: 8px;
}
.site { max-width: none; }
.mb-inner { max-width: var(--width); margin: 0 auto; padding: 32px var(--border) 64px; }

/* ---------- Knöpfe, Labels ---------- */
.mb-button, .entry-content .mks_button, .comment-respond .submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	background: var(--green) !important; color: var(--white) !important;
	border: 0; border-radius: 999px;
	font-weight: 600; line-height: 1.3; text-decoration: none; cursor: pointer;
}
.mb-button:hover, .entry-content .mks_button:hover, .comment-respond .submit:hover { background: var(--green-dark) !important; color: var(--white) !important; }
.mb-ad {
	display: inline-block; margin: 0 0 8px; padding: 1px 8px;
	background: var(--butter); color: var(--ink); border-radius: 4px;
	font: 600 .75rem/1.6 var(--font); letter-spacing: .02em;
}
a.mb-adlink:not(:has(img))::after { content: "*"; margin-left: 1px; }
.mb-button.mb-adlink { gap: 0; }
.mb-partner { margin: 24px 0 0; font-size: .875rem; color: var(--slate); }
.mb-adrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 1em 0; }
.mb-more { font-weight: 600; white-space: nowrap; }

/* ---------- Kopf ---------- */
.mb-header { position: relative; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.mb-header__inner { max-width: var(--width); margin: 0 auto; padding: 0 var(--border); display: flex; align-items: center; gap: 24px; min-height: 72px; }
.mb-logo { display: inline-flex; padding: 8px 0; margin-right: auto; }
.mb-logo svg { display: block; width: 182px; height: 30px; }
.mb-menu-button {
	display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px;
	background: transparent; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-weight: 600; cursor: pointer;
}
.mb-nav { display: flex; align-items: center; gap: 16px; }
.mb-nav__list, .mb-nav__list ul { list-style: none; margin: 0; padding: 0; }
.mb-nav__list { display: flex; }
.mb-nav__list > li { position: relative; }
.mb-nav__list a { display: block; color: var(--ink); text-decoration: none; }
.mb-nav__list > li > a { padding: 24px 12px; font-weight: 600; }
.mb-nav__list > li > a:hover, .mb-nav__list .current-menu-item > a, .mb-nav__list .current-menu-ancestor > a { color: var(--green); }
.mb-nav__list > li.menu-item-has-children > a::after {
	content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 3px 8px;
	border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.mb-nav__list .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 260px; padding: 8px;
	background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
	visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.mb-nav__list > li:hover > .sub-menu, .mb-nav__list > li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.mb-nav__list > li.mb-closed > .sub-menu { visibility: hidden; opacity: 0; }
.mb-nav__list .sub-menu a { padding: 10px 12px; border-radius: 6px; }
.mb-nav__list .sub-menu a:hover { background: var(--mist); }
.mb-search { display: flex; align-items: center; position: relative; }
.mb-search input[type="search"] { width: 170px; padding-right: 44px; border-radius: 999px; border-color: var(--line); background: var(--paper); }
.mb-search button { position: absolute; right: 2px; width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: var(--ink); cursor: pointer; }
.mb-search--large { max-width: 560px; margin: 0 0 24px; gap: 8px; }
.mb-search--large input[type="search"] { width: 100%; padding-right: 12px; }
.mb-search--large button { position: static; width: auto; height: auto; }

@media (max-width: 1023px) {
	.mb-js .mb-menu-button { display: inline-flex; }
	.mb-header__inner { flex-wrap: wrap; gap: 8px; min-height: 64px; }
	.mb-nav { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 0 0 16px; }
	.mb-js .mb-nav { display: none; }
	.mb-js.mb-menu-open .mb-nav { display: flex; max-height: calc(100vh - 64px); overflow-y: auto; overscroll-behavior: contain; }
	.mb-nav__list { flex-direction: column; }
	.mb-nav__list > li { border-top: 1px solid var(--line); }
	.mb-nav__list > li > a { padding: 12px 4px; }
	.mb-nav__list > li.menu-item-has-children > a::after { display: none; }
	.mb-nav__list .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; border: 0; padding: 0 0 8px 12px; min-width: 0; }
	.mb-nav__list .sub-menu a { padding: 8px 4px; }
	.mb-search input[type="search"] { width: 100%; }
}
.mb-menu-open body { overflow: hidden; }
@media (max-width: 1023px) { .mb-menu-open .mb-header { position: sticky; top: 0; } }

/* ---------- Abschnitte, Karten ---------- */
.mb-section { margin: 56px 0 0; }
.mb-section__header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 16px; }
.mb-section__title { margin: 0 0 16px; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
.mb-section__header .mb-section__title { margin: 0; }
.mb-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .mb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .mb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.mb-card { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mb-card__image { aspect-ratio: 16 / 9; background: var(--mist); overflow: hidden; }
.mb-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-card__noimage { display: block; width: 100%; height: 100%; background: var(--mist) url("assets/img/zeichen-v1.svg") center / 56px no-repeat; opacity: .5; }
.mb-card__text { padding: 16px 18px 20px; }
.mb-card__cat { margin: 0 0 6px; font-size: .8125rem; font-weight: 600; color: var(--terracotta); }
.mb-card__title { margin: 0; font-size: 1.15rem; line-height: 1.35; }
.mb-card__title a { color: var(--ink); text-decoration: none; }
.mb-card__title a::after { content: ""; position: absolute; inset: 0; } /* ganze Karte klickbar */
.mb-card:hover { border-color: var(--sage); }
.mb-card:hover .mb-card__title a { color: var(--green); text-decoration: underline; }
.mb-card:focus-within { outline: 3px solid var(--terracotta); outline-offset: 2px; }
.mb-card__title a:focus-visible { outline: none; }
.mb-tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.mb-tiles a {
	display: flex; align-items: center; gap: 12px; height: 100%; min-width: 0; overflow-wrap: anywhere;
	padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.3;
}
.mb-tiles a:hover { background: var(--mist); border-color: var(--sage); }
.mb-tile__icon { flex: 0 0 44px; width: 44px; height: 44px; }
.mb-tile__name { min-width: 0; hyphens: auto; }
@media (max-width: 599px) {
	.mb-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.mb-tiles a { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; font-size: 1rem; }
	.mb-tile__icon { flex-basis: 40px; width: 40px; height: 40px; }
}
.mb-pills { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.mb-pills a { display: inline-block; padding: 6px 14px; min-height: 32px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--white); }
.mb-pills a:hover { border-color: var(--green); color: var(--green); }
.mb-pagination ul { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.mb-pagination a.page-numbers, .mb-pagination span.page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.mb-pagination a.page-numbers:hover { border-color: var(--green); color: var(--green); }
.mb-pagination span.page-numbers.current { background: var(--green); border-color: var(--green); color: var(--white); font-weight: 700; }
.mb-pagination span.page-numbers.dots { border: 0; }

/* ---------- Startseite ---------- */
.mb-home { padding-bottom: 64px; }
.mb-home > .mb-section, .mb-home > .mb-page-title { max-width: var(--width); margin-left: auto; margin-right: auto; padding: 0 var(--border); }
.mb-hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 48px var(--border) 40px; }
.mb-hero__inner { max-width: calc(var(--width) - 2 * var(--border)); margin: 0 auto; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .mb-hero__inner { grid-template-columns: 1fr 1fr; gap: 56px; } }
.mb-hero__kicker { margin: 0 0 12px; color: var(--terracotta); font-weight: 600; }
.mb-hero h1 { margin-bottom: 16px; }
.mb-hero__intro { font-size: 1.2rem; color: var(--slate); max-width: 46ch; }
.mb-hero__focus .mb-card { border-color: var(--sage); }
.mb-hero__focus .mb-card__title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.mb-hero__teaser { max-width: calc(var(--width) - 2 * var(--border)); margin: 32px auto 0; }
.mb-hero__teaser .mb-grid { gap: 16px; }
@media (min-width: 960px) { .mb-hero__teaser .mb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mb-hero__teaser .mb-card__text { padding: 12px 14px 16px; }
.mb-hero__teaser .mb-card__title { font-size: 1.05rem; }
@media (max-width: 639px) {
	.mb-hero__teaser .mb-card { flex-direction: row; align-items: stretch; }
	.mb-hero__teaser .mb-card__image { flex: 0 0 104px; aspect-ratio: 1 / 1; }
	.mb-hero__teaser .mb-card__text { align-self: center; padding: 10px 14px; }
}
.mb-page-title { padding-top: 40px; }
.mb-all-button { margin: 32px 0 0; text-align: center; }

/* ---------- Beitrag ---------- */
.mb-post, .mb-page, .mb-archive__header, .mb-404 > p { max-width: var(--text); }
.mb-post { margin: 0 auto; }
.mb-page--category, .mb-archive__header { max-width: none; }
.mb-breadcrumb { font-size: .875rem; color: var(--slate); margin-bottom: 16px; }
.mb-breadcrumb a { color: var(--slate); }
.mb-kicker { margin: 0 0 8px; font-weight: 600; }
.mb-kicker a { color: var(--terracotta); text-decoration: none; }
.mb-kicker a:hover { text-decoration: underline; }
.mb-meta { color: var(--slate); font-size: .9375rem; }
.mb-post__image { width: 100%; margin: 8px 0 32px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 21 / 9; max-height: 380px; background: var(--mist); }
.mb-post__image img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; display: block; }
@media (max-width: 699px) { .mb-post__image { aspect-ratio: 16 / 9; } }
.mb-toc { font-size: .9375rem; }
.mb-toc ol { list-style: none; margin: 0; padding: 0; }
.mb-toc ol ol { padding-left: 14px; margin: 2px 0 6px; border-left: 1px solid var(--line); }
.mb-toc li { margin: 0; }
.mb-toc a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; line-height: 1.4; }
.mb-toc a:hover, .mb-toc a[aria-current="true"] { color: var(--green); text-decoration: underline; }
.mb-toc--mobile { margin: 0 0 32px; padding: 0 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.mb-toc--mobile summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-weight: 700; }
.mb-toc--mobile[open] { padding-bottom: 12px; }
.mb-toc--page { margin: 0 0 16px; }
.mb-toc__title { margin: 0 0 8px; font-weight: 700; }
.mb-sidebar { margin: 0 0 32px; }
@media (min-width: 1100px) {
	.mb-post--toc,
	.mb-page--sidebar {
		max-width: calc(var(--text) + 300px);
		display: grid;
		grid-template-columns: minmax(0, var(--text)) 260px;
		column-gap: 40px;
		align-content: start;
	}
	.mb-post--toc > *,
	.mb-page--sidebar > * { grid-column: 1; }
	.mb-post--toc .mb-toc--mobile,
	.mb-page--sidebar .mb-toc--mobile { display: none; }
	.mb-post--toc .mb-sidebar,
	.mb-page--sidebar .mb-sidebar {
		display: block;
		grid-column: 2;
		grid-row: 1 / span 30;
		align-self: start;
		position: sticky;
		top: 48px;
		max-height: calc(100vh - 96px);
		overflow-y: auto;
		overscroll-behavior: contain;
		margin: 0;
		padding: 4px 0 4px 16px;
		border-left: 2px solid var(--mist);
	}
	.admin-bar .mb-post--toc .mb-sidebar,
	.admin-bar .mb-page--sidebar .mb-sidebar { top: 80px; max-height: calc(100vh - 128px); }
	.mb-inner:has(> .mb-post--toc),
	.mb-inner:has(> .mb-page--sidebar) { max-width: calc(var(--text) + 300px + 2 * var(--border)); }
}
@media (max-width: 1099px) {
	.mb-sidebar .mb-toc--page { display: none; }
	.mb-post--toc, .mb-page--sidebar { display: flex; flex-direction: column; }
	.mb-post--toc > *, .mb-page--sidebar > * { order: 4; }
	.mb-post--toc > .mb-post__header, .mb-page--sidebar > header { order: 0; }
	.mb-post--toc > .mb-post__image { order: 1; }
	.mb-post--toc > .mb-sidebar, .mb-page--sidebar > .mb-sidebar { display: contents; }
	.mb-post--toc .mb-toc--mobile, .mb-page--sidebar .mb-toc--mobile { order: 2; margin-bottom: 24px; }
	.mb-post--toc > .mb-text, .mb-page--sidebar > .mb-text { order: 3; }
}
.mb-notice { margin: 40px 0 0; padding: 18px 20px; background: var(--mist); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }
.mb-notice p { margin: 0; }
.mb-notice p + p { margin-top: 8px; }
.mb-text .mb-notice { margin: 24px 0; }
.mb-sources { margin: 40px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--slate); overflow-wrap: anywhere; }
.mb-sources h2 { font-size: 1.125rem; margin: 0 0 8px; }
.mb-sources ul { margin: 0; padding-left: 1.2em; }
.mb-sources li { margin: 4px 0; }
.mb-post ~ .mb-section, .mb-comments { max-width: var(--width); }

/* ---------- Fließtext und Altbestand (Klassen aus Herald-Customizer-CSS) ---------- */
.mb-text > :first-child { margin-top: 0; }
.mb-text ul, .mb-text ol { padding-left: 1.4em; }
.mb-text li { margin-bottom: .4em; }
.mb-text h2 { scroll-margin-top: 24px; }
.mb-text blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--sage); color: var(--slate); }
.mb-text table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.mb-text th, .mb-text td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.mb-text th, .mb-text thead td { background: var(--mist); }
.mb-text .evergreen-standard-wrapper, .mb-text figure.wp-block-table { overflow-x: auto; }
@media (max-width: 700px) {
	.mb-text table { display: block; overflow-x: auto; font-size: .9375rem; }
	.mb-text th, .mb-text td { padding: 8px 10px; hyphens: auto; overflow-wrap: break-word; }
	.mb-text table:not(.mb-stack) :is(th, td) { min-width: 5em; }
}
.mb-text iframe { width: 100%; border: 0; }
.mb-text iframe[src*="youtube"] { aspect-ratio: 16 / 9; height: auto; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignleft { float: left; margin: 4px 24px 16px 0; }
.alignright { float: right; margin: 4px 0 16px 24px; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 0 auto 16px; display: block; } }
.wp-caption { max-width: 100%; }
.wp-caption-text, .image-caption, figcaption { font-size: .875rem; color: var(--slate); margin-top: 6px; }
.intro { padding: 16px 20px; background: var(--paper); border-radius: var(--radius); }
.subheadline { font-size: 1.15rem; color: var(--slate); }
.advice { margin: 1.6em 0; padding: 18px 20px; background: var(--mist); border-left: 4px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0; }
.advice .headline, .advice > strong:first-child { display: block; margin-bottom: 4px; color: var(--green-dark); font-weight: 700; }
.advice > :last-child { margin-bottom: 0; }
.styled-list, .evergreen-checkbox, .evergreen-checkbox-book, .checklist { list-style: none; padding-left: 0 !important; }
.styled-list li, .evergreen-checkbox li, .evergreen-checkbox-book li, .checklist li { position: relative; padding-left: 30px; }
.styled-list li::before { content: ""; position: absolute; left: 6px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
:is(.styled-list, .evergreen-checkbox, .evergreen-checkbox-book, .checklist) > ul { list-style: none; padding-left: 0 !important; }
.evergreen-checkbox li::before, .evergreen-checkbox-book li::before, .checklist li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 7px; height: 13px; border: solid var(--green); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.pullquote_box { float: right; width: min(40%, 280px); margin: 4px 0 16px 24px; padding: 16px 18px; background: var(--paper); border-top: 4px solid var(--accent); font-family: var(--font-title); font-size: 1.15rem; line-height: 1.45; }
@media (max-width: 600px) { .pullquote_box { float: none; width: auto; margin: 1.4em 0; } }
.expert-box { display: flex; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.subrating { font-weight: 600; }
.green-subrating { color: var(--green); }
.yellow-subrating { color: #7a5c00; }
.red-subrating { color: var(--terracotta); }
.show_mobile { display: none; }
@media (max-width: 767px) { .show_mobile { display: block; } .show_desktop { display: none; } }
.badge { display: inline-block; padding: 0 8px; border-radius: 4px; background: var(--mist); font-size: .875rem; }
/* Alte Bootstrap-/Herald-Raster in Beiträgen */
.mks_separator { border: 0; border-top: 1px solid var(--line) !important; margin: 2em 0; }
.row { display: grid; gap: 16px 24px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); margin: 0 0 1.2em; }
.row > [class*="col-"] { min-width: 0; }
.row > [class*="col-"]:not(:has(*)), .row > [class*="col-"]:has(> p:only-child:empty) { display: none; }
.row > [class*="col-"] > :first-child { margin-top: 0; }
.row > [class*="col-"] > :last-child { margin-bottom: 0; }
.row > [class*="col-"] p.lwm-h5 { margin: 0 0 .4em; }
.row > [class*="col-"] p.lwm-h5 + br { display: none; }
.row > [class*="col-"] ul { margin-bottom: 0; padding-left: 1.2em; }
.plant-box { margin: 1.6em 0; padding: 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.plant-box > .row { margin: 0; }
.mks_col { display: flex; flex-wrap: wrap; gap: 16px 32px; margin: 0 0 1.2em; }
.mks_col > .mks_one_half { flex: 1 1 280px; min-width: 0; }
.mks_col > .mks_one_half:not(:has(*)) { display: none; }
.mks_one_half[style*="background"] { background: var(--paper) !important; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px !important; }
.mks_one_half > :last-child { margin-bottom: 0; }
.mks_one_half > li { margin: 0 0 .4em 1.4em; list-style: disc; }
.mks_progress_bar { margin: 0 0 20px; }
.mks_progress_label { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0 12px; margin: 14px 0 6px; font-size: 1rem; font-weight: 600; line-height: 1.35; }
.mks_progress_bar > .mks_progress_label:first-child { margin-top: 0; }
.mks_progress_name { font-weight: 400; color: var(--slate); }
.mks_progress_level { display: block; width: 100%; height: 12px !important; background: var(--mist) !important; border-radius: 999px; overflow: hidden; }
.mks_progress_level_set { display: block; height: 100%; min-width: 6px; border-radius: 999px; background: var(--green) !important; }
.mks_progress_level_set[style*="F44336" i] { background: var(--terracotta) !important; }
.mks_progress_level_set[style*="FFEB3B" i] { background: var(--accent) !important; }
.mks_progress_level_set[style*="CDDC39" i] { background: #6f9f7f !important; }
.mks_one_half > .mks_progress_label { display: block; margin: 0 0 8px; }
.mb-text .mks_button { margin: 4px 0; }
.mb-text .mks_button_small { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.mb-text .mks_button_medium { padding: 10px 20px; }
.expert-box { align-items: flex-start; margin: 1.6em 0; background: var(--paper); }
.expert-box > .expert-image:not(:has(*)) { display: none; }
.expert-image img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.expert-box > :last-child > :last-child { margin-bottom: 0; }
.recipe_teaser_infos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin: 0 0 1.4em; }
.fdr_info_item { padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.fdr_info_head { display: block; font-size: .875rem; color: var(--slate); }
.fdr_info_value { margin-right: 6px; font-size: 1.4rem; font-weight: 700; color: var(--green-dark); }
.fdr_clear { display: none; }
.card-wrapper { display: grid; grid-auto-flow: dense; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin: 0 0 1.4em; }
.card-wrapper .card { position: relative; padding: 14px 16px; background: var(--paper) !important; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); text-align: left; color: var(--ink); }
.card-wrapper .card-big { grid-column: span 2; }
@media (max-width: 480px) { .card-wrapper .card-big { grid-column: auto; } }
.card-wrapper .icon, .card-wrapper .counter { display: none; }
.card-wrapper .head { font-weight: 700; font-size: 1rem !important; }
.card-wrapper .card[title]::after { content: attr(title); display: block; margin-top: 4px; font-size: .9375rem; line-height: 1.45; color: var(--slate); }
@media (max-width: 600px) {
	.mb-text table:has(td[data-label]) { display: block; overflow: visible; border: 0; }
	.mb-text table:has(td[data-label]) thead { display: block; }
	.mb-text table:has(td[data-label]) thead tr:not(.mb-subhead-row) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.mb-text table:has(td[data-label]) tr.mb-subhead-row { margin: 20px 0 8px; border: 0; border-radius: 0; }
	.mb-text table:has(td[data-label]) tr.mb-subhead-row > * { padding: 0; border: 0; background: none; font-weight: 700; }
	.mb-text table:has(td[data-label]) tbody, .mb-text table:has(td[data-label]) tr, .mb-text table:has(td[data-label]) td { display: block; width: auto; }
	.mb-text table:has(td[data-label]) tr { margin: 0 0 12px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
	.mb-text table:has(td[data-label]) td { border: 0; border-bottom: 1px solid var(--line); text-align: left !important; }
	.mb-text table:has(td[data-label]) td:last-child { border-bottom: 0; }
	.mb-text table.mb-stack tr.mb-head-row { display: none; }
	.mb-text table:has(td[data-label]) th { display: block; width: auto; border: 0; border-bottom: 1px solid var(--line); }
	.mb-text table:has(td[data-label]) :is(td, th)[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-size: .8125rem; font-weight: 700; color: var(--slate); }
	.mb-text table.mb-stack td.mb-empty, .mb-text table.mb-stack--short.mb-stack--short td.mb-empty[data-label] { display: none; }
	.mb-text table.mb-stack td:first-child:not([data-label]) { background: var(--mist); font-weight: 700; }
	.mb-text table.mb-stack--short.mb-stack--short td[data-label] { display: table; width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; }
	.mb-text table.mb-stack--short.mb-stack--short td[data-label]::before { display: table-cell; width: 45%; padding-right: 12px; margin: 0; vertical-align: top; }
}
.mb-text table .fa { color: var(--green); }
.mb-text :is(.advice, .intro, .mb-calc, .plant-box, .mb-accordion, blockquote, .mb-twoclick, .mb-notice) { display: flow-root; }
.mb-text hr + br, .mb-accordion > br { display: none; }
.mb-text details:not(.mb-accordion details) { margin: 1.2em 0; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.mb-text details:not(.mb-accordion details) > summary { cursor: pointer; min-height: 48px; padding: 12px 0; font-weight: 700; }
.mb-text details:not(.mb-accordion details)[open] { padding-bottom: 12px; }
.mb-text p:empty, .mb-text li:empty { display: none; }
.mb-text table .fa-thumbs-o-down { color: var(--terracotta); }
.mks_highlight { background: var(--butter) !important; color: var(--ink) !important; padding: 0 4px; }
center { display: block; text-align: center; }
/* Werbeboxen im Altbestand (Amazon-Boxen „section group“, Glucomannan-Shortcode im HTML) */
.section.group { clear: both; display: flow-root; margin: 1.6em 0; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.section.group .col { float: left; width: 36%; padding-right: 16px; }
.section.group .col + .col { width: 64%; padding-right: 0; }
@media (max-width: 600px) { .section.group .col, .section.group .col + .col { float: none; width: auto; padding: 0; } }
.productbox { font-weight: 700; font-family: var(--font-title); font-size: 1.15rem; }
.go-to-provider { margin: 1em 0; }
/* Neue Werbebox der Shortcodes */
.mb-product { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; align-items: start; margin: 1.6em 0; padding: 16px 20px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.mb-product .mb-ad { grid-column: 1 / -1; justify-self: start; margin: 0; }
.mb-product__image img { max-width: 135px; height: auto; background: transparent; }
.mb-product__title { margin: 0 0 8px; font-family: var(--font-title); font-weight: 700; font-size: 1.2rem; }
.mb-product__text ul { margin-bottom: 12px; }
.mb-product__small { font-size: .875rem; color: var(--slate); }
@media (max-width: 520px) { .mb-product { grid-template-columns: 1fr; } .mb-product__image { text-align: center; } }
/* Akkordeon (mks_accordion) */
.mb-accordion { margin: 1.4em 0; border-top: 1px solid var(--line); }
.mb-accordion details { border-bottom: 1px solid var(--line); }
.mb-accordion summary { cursor: pointer; padding: 14px 4px; min-height: 48px; font-weight: 700; }
.mb-accordion__content { padding: 0 4px 12px; }
/* Sitemap */
.mb-sitemap--columns { columns: 2 280px; column-gap: 32px; }
.mb-sitemap li { break-inside: avoid; }

.mb-calc { max-width: 560px; margin: 1.6em 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.mb-calc fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
.mb-calc legend { font-weight: 700; margin-bottom: 6px; padding: 0; }
.mb-calc__options { display: flex; flex-wrap: wrap; gap: 8px; }
.mb-calc__options label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; cursor: pointer; }
.mb-calc__options label:has(input:checked) { border-color: var(--green); background: var(--mist); }
.mb-calc input[type="radio"] { accent-color: var(--green); width: 18px; height: 18px; margin: 0; }
.mb-calc__row { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-bottom: 16px; }
.mb-calc__field { display: grid; gap: 4px; margin-bottom: 16px; min-width: 0; }
.mb-calc__row .mb-calc__field { margin-bottom: 0; }
.mb-calc__field label { font-weight: 700; }
.mb-calc select { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #8a9792; border-radius: 8px; background: var(--white); }
.mb-calc__result:empty { display: none; }
.mb-calc__result { margin: 16px 0 0; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; }
.mb-calc__result ul { margin: 0; padding-left: 1.2em; }
.mb-calc__notice { margin: 16px 0 0; font-size: .875rem; color: var(--slate); }

.mb-twoclick { margin: 1.6em 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.mb-twoclick--video { aspect-ratio: 16 / 9; }
.mb-twoclick--quiz:not(.mb-twoclick--loaded) { min-height: 220px; }
.mb-twoclick__notice { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; min-height: inherit; padding: 20px; text-align: center; }
.mb-twoclick__text { display: block; max-width: 46ch; font-size: .9375rem; line-height: 1.5; color: var(--slate); }
.mb-twoclick--loaded iframe { display: block; width: 100%; height: 100%; border: 0; }
.mb-twoclick--quiz.mb-twoclick--loaded iframe { min-height: 600px; }
@media (max-width: 480px) {
	.mb-twoclick--video:not(.mb-twoclick--loaded) { aspect-ratio: auto; min-height: 200px; }
}

.mb-text p.lwm-h5 { margin: 1.6em 0 .4em; font: 700 1.0625rem/1.4 var(--font); color: var(--ink); letter-spacing: .01em; }
.mb-text p.subheadline.lwm-h5 { margin: 0 0 1em; font: 600 1.15rem/1.45 var(--font-title); color: var(--slate); letter-spacing: 0; }
.mb-text .pullquote_box p.lwm-h5 { margin-top: 0; font-size: 1rem; }

.mb-author { margin: 32px 0 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.mb-author__title { margin: 0 0 8px; font-family: var(--font-title); font-weight: 700; line-height: 1.25; color: var(--ink); font-size: 1.125rem; }
.mb-author__name { margin: 0 0 6px; font-weight: 700; }
.mb-author__text { font-size: 1rem; color: var(--slate); }
.mb-author__text > :last-child { margin-bottom: 0; }

/* ---------- Archive, 404 ---------- */
.mb-archive__header { margin-bottom: 32px; }
.mb-archive__text { max-width: var(--text); color: var(--slate); }
.mb-404 .mb-section__title { margin-top: 48px; }

/* ---------- Kommentare ---------- */
.mb-comments {
	margin: 64px auto 0;
	max-width: var(--text) !important;
	padding-top: 40px;
	border-top: 1px solid var(--line);
}
.mb-comments .comments-title {
	margin: 0 0 24px;
	font-size: clamp(1.35rem, 1.15rem + .8vw, 1.65rem);
}
.comment-list,
.comment-list .children {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.comment-list > .comment { margin: 0; }
.comment-list .children {
	margin: 12px 0 0;
	padding-left: 14px;
	border-left: 3px solid var(--mist);
	gap: 10px;
}
.comment-body {
	padding: 18px 20px;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
.comment-list .children .comment-body {
	background: var(--white);
}
.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 12px;
	margin: 0 0 10px;
	font-size: .875rem;
	line-height: 1.4;
	color: var(--slate);
}
.comment-meta p { margin: 0; }
.comment-author { font-weight: 700; color: var(--ink); }
.comment-author .fn { font-style: normal; }
.comment-author .says,
.comment-author .avatar,
.comment .avatar { display: none; }
.comment-metadata a {
	color: var(--slate);
	text-decoration: none;
}
.comment-metadata a:hover { color: var(--green); text-decoration: underline; }
.comment-content > *:last-child { margin-bottom: 0; }
.comment-content p { margin: 0 0 .85em; font-size: 1.05rem; }
.comment-navigation {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin: 20px 0 0;
	font-size: .9375rem;
}
.mb-comments-notice {
	margin: 20px 0 0;
	padding: 10px 14px;
	background: var(--mist);
	border-radius: 8px;
	font-size: .875rem;
	color: var(--slate);
}
.comment-form label { display: block; font-weight: 600; margin-bottom: 4px; }
.comment-form p { margin-bottom: 16px; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; }
.comment-form-cookies-consent label { font-weight: 400; }
.comment-form .required { color: var(--terracotta); }
.comment-form textarea { min-height: 160px; }
.comment-form :is(textarea, input[type="text"], input[type="email"], input[type="url"]) { display: block; width: 100%; }
.comment-respond { margin: 40px 0 0; }
.comment-list .comment-respond { margin: 12px 0 0; }
.comment-reply-title { margin: 0 0 12px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.comment-reply-title small { display: block; margin-top: 4px; font: 400 .9375rem/1.4 var(--font); }
.comment-notes, .logged-in-as { font-size: .9375rem; color: var(--slate); }
.comment-body .reply { margin: 10px 0 0; font-size: .9375rem; }
.comment-reply-link { font-weight: 600; }
.comment-awaiting-moderation { font-size: .9375rem; color: var(--slate); }

/* ---------- Fuß ---------- */
.mb-footer { margin-top: 64px; background: var(--dark); color: #e3ebe6; font-size: 1rem; }
.mb-footer__inner { max-width: var(--width); margin: 0 auto; padding: 48px var(--border) 32px; display: grid; gap: 32px; }
@media (min-width: 800px) { .mb-footer__inner { grid-template-columns: 2fr 2fr 1fr; } }
.mb-footer__brand p { margin: 16px 0 0; max-width: 44ch; color: #c9d6cf; }
.mb-footer h2 { margin: 0 0 12px; font: 700 .9375rem/1.4 var(--font); color: var(--white); }
.mb-footer ul { list-style: none; padding: 0; margin: 0; }
.mb-footer__column:first-of-type ul { columns: 2 160px; column-gap: 24px; }
.mb-footer li { margin: 0; break-inside: avoid; }
.mb-footer a { display: inline-block; padding: 4px 0; color: #e3ebe6; text-decoration: none; }
.mb-footer a:hover { color: var(--white); text-decoration: underline; }
.mb-footer :focus-visible { outline-color: var(--apricot); }
.mb-footer img { background: transparent; }
.mb-footer__row { margin: 0; padding: 16px var(--border); border-top: 1px solid #2c4038; text-align: center; font-size: .875rem; color: #c9d6cf; }

/* ---------- Cookie-Hinweis ---------- */
body #cookie-notice {
	left: 0; right: 0; width: 100%; background: var(--white) !important; color: var(--ink);
	border-top: 1px solid var(--line); box-shadow: 0 -8px 32px rgba(20, 37, 31, .14);
	font: 400 1rem/1.55 var(--font);
}
body #cookie-notice .cookie-notice-container,
body #cookie-notice .cookie-revoke-container {
	max-width: var(--width); margin: 0 auto; padding: 16px var(--border);
	color: var(--ink) !important; text-align: left;
	display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
}
body #cookie-notice .cn-text-container { flex: 1 1 420px; margin: 0; color: var(--ink); }
body #cookie-notice .cn-buttons-container { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
body #cookie-notice .cn-button:not(.cn-button-custom) {
	display: inline-flex; align-items: center; justify-content: center;
	min-height: 44px; margin: 0; padding: 10px 20px;
	background: var(--green) !important; color: var(--white) !important;
	border: 2px solid var(--green); border-radius: 999px;
	font: 600 1rem/1.3 var(--font); letter-spacing: 0; text-transform: none; cursor: pointer;
}
body #cookie-notice .cn-button:not(.cn-button-custom):hover { background: var(--green-dark) !important; border-color: var(--green-dark); }
body #cookie-notice #cn-more-info {
	background: transparent !important; color: var(--green-dark) !important;
	border-color: transparent; padding: 10px 4px; text-decoration: underline; text-underline-offset: .18em;
}
body #cookie-notice #cn-more-info:hover { color: var(--ink) !important; }
body #cookie-notice .cn-button:not(.cn-button-custom):focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; }
body #cookie-notice #cn-close-notice { display: none !important; }
body #cookie-notice.cookie-revoke-visible { left: var(--border); right: auto; bottom: var(--border); width: auto; background: transparent !important; border: 0; box-shadow: none; }
body #cookie-notice.cookie-revoke-visible .cookie-revoke-container { margin: 0; padding: 0; }
body #cookie-notice #cn-revoke-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body #cookie-notice #cn-revoke-cookie { min-height: 40px; padding: 8px 16px; font-size: .875rem; box-shadow: 0 4px 16px rgba(20, 37, 31, .18); }
@media (max-width: 600px) {
	body #cookie-notice .cookie-notice-container, body #cookie-notice .cookie-revoke-container { padding: 14px var(--border); }
	body #cookie-notice .cn-text-container { flex-basis: 100%; }
	body #cookie-notice #cn-accept-cookie, body #cookie-notice #cn-refuse-cookie { flex: 1 1 0; }
}

/* ---------- Bewegung reduzieren ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
