/*
Theme Name: MH Magazine Child – Molton Ratgeber
Theme URI: https://www.moltonsite.de
Description: Child-Theme für moltonsite.de auf Basis von MH Magazine.
Author: Andreas Fiedler
Author URI: https://www.andreas-fiedler.com/
Template: mh-magazine
Version: 1.8.5
Text Domain: mh-magazine-child
*/

/* ---------- Schriften lokal (Roboto Text, Heebo Überschriften) ---------- */
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("fonts/roboto-400.woff2") format("woff2");
}
@font-face {
	font-family: "Roboto";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/roboto-700.woff2") format("woff2");
}
@font-face {
	font-family: "Heebo";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("fonts/heebo-700.woff2") format("woff2");
}

/* ---------- Grundwerte ---------- */
:root {
	--mm-rot: #8e0000;
	--mm-rot-hell: #e8a0a0;
	--mm-ink: #1c1b1a;
	--mm-grau: #5f5b57;
	--mm-linie: #e6e1db;
	--mm-bg: #f6f3ef;
	--mm-dunkel: #1a1a1a;
	--mm-wein: #4a0404;
	--mm-gold: #e0a040;
	--mm-max: 1360px;
	--mm-rand: max(24px, calc((100% - var(--mm-max)) / 2 + 24px));
	--mm-radius: 12px;
}

html body,
body.custom-background {
	background: var(--mm-bg) !important;
	color: var(--mm-ink);
	font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	font-size: 17px;
	line-height: 1.65;
}
body input, body textarea, body select, body button { font-family: inherit; }
h1, h2, h3, h4, h5, h6,
.mh-custom-posts-small-title,
.entry-title, .page-title,
.mm-card-title, .mm-facts b, .mm-faq summary,
#mh-mobile .mh-main-nav li a,
.mh-widget-title {
	font-family: "Heebo", "Roboto", system-ui, Arial, sans-serif;
	font-weight: 700;
	color: var(--mm-ink);
	letter-spacing: -0.01em;
}
a { color: var(--mm-rot); }

/* ---------- Breite: Bänder volle Breite, Inhalt bis 1360 px ---------- */
.mh-container-outer,
.mh-boxed-layout .mh-container-outer {
	max-width: none !important;
	width: 100%;
	margin: 0;
	background: transparent;
	box-shadow: none;
}
.mh-container-inner,
.mh-container:not(.mh-container-outer) {
	max-width: var(--mm-max) !important;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

/* ---------- Header ---------- */
#mh-mobile .mh-header {
	background: linear-gradient(180deg, var(--mm-wein) 0%, #2e0202 100%);
	padding: 16px 0 0;
}
.mh-preheader { display: none; }
.mh-site-logo { padding: 6px 0; }
.mh-site-logo img { max-height: 70px; width: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(224,160,64,.35); }

#mh-mobile .mh-main-nav-wrap,
#mh-mobile .mh-main-nav {
	background: var(--mm-rot);
}
.mh-main-nav-wrap { border-top: 1px solid rgba(224,160,64,.45); }
#mh-mobile .mh-main-nav li a {
	border: 0;
	padding: 14px 16px;
	font-size: 15px;
	font-weight: 600;
	text-transform: none;
	color: #fbe9e9;
}
#mh-mobile .mh-main-nav li:hover,
#mh-mobile .mh-main-nav li.current-menu-item > a,
#mh-mobile .mh-main-nav li a:hover {
	background: #6e0000;
	color: #fff;
}
#mh-mobile .mh-main-nav li.current-menu-item > a { box-shadow: inset 0 -3px 0 var(--mm-gold); }
#mh-mobile .mh-navigation .sub-menu { background: #6e0000; border-radius: 0 0 8px 8px; }
#mh-mobile .mh-navigation .sub-menu li a { padding: 10px 16px; }

/* ---------- Inhaltsfläche ---------- */
.mh-wrapper {
	background: #fff;
	border: 1px solid var(--mm-linie);
	border-radius: var(--mm-radius);
	padding: 48px 56px;
	margin: 36px auto 0;
	max-width: calc(var(--mm-max) - 48px);
	box-sizing: border-box;
}
.mh-content { width: 100%; float: none; }
/* Textbreite: alle Seiten und Beiträge nutzen die volle Inhaltsfläche wie die Startseite */
.entry-title, .page-title { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.15; margin-bottom: 18px; }
.entry-content h2 { font-size: 28px; line-height: 1.2; margin: 44px 0 14px; }
.entry-content h3 { font-size: 21px; margin: 28px 0 10px; }
.entry-content p, .entry-content ul, .entry-content ol { margin-bottom: 18px; }
.entry-content img { border-radius: 8px; }
.entry-thumbnail img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 8px; }
.entry-content blockquote {
	border-left: 4px solid var(--mm-rot);
	background: var(--mm-bg);
	padding: 16px 22px;
	border-radius: 0 8px 8px 0;
	font-style: normal;
	color: var(--mm-grau);
}

/* Kästen aus Shortcodes Ultimate */
.entry-content .su-note {
	border: 1px solid var(--mm-linie) !important;
	border-radius: var(--mm-radius) !important;
	background: #fff !important;
	margin: 0 0 22px;
}
.entry-content .su-note-inner {
	background: var(--mm-bg) !important;
	border: 0 !important;
	border-radius: var(--mm-radius) !important;
	padding: 22px 26px !important;
}
.entry-content .su-note-inner h2 { margin-top: 0; }

/* Inhaltsverzeichnis */
#toc_container {
	background: var(--mm-bg) !important;
	border: 1px solid var(--mm-linie) !important;
	border-radius: var(--mm-radius);
	padding: 18px 24px !important;
	margin: 26px 0 36px !important;
	width: auto !important;
	display: block !important;
}
#toc_container p.toc_title { text-align: left; font-weight: 700; margin: 0 0 6px; }
#toc_container ul li { margin: 4px 0; }

/* Tabellen */
.entry-content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	background: #fff;
	border: 1px solid var(--mm-linie);
	border-radius: var(--mm-radius);
	overflow: hidden;
	margin: 10px 0 30px;
}
.entry-content th {
	background: var(--mm-rot);
	color: #fff;
	text-align: left;
	padding: 12px 14px;
	font-weight: 600;
}
.entry-content td { padding: 12px 14px; border-top: 1px solid var(--mm-linie); }
.entry-content tr:nth-child(even) td { background: #faf8f5; }
.entry-content td:first-child { font-weight: 700; }

/* Buttons */
.su-button { border-radius: 8px !important; }

/* ---------- Startseite: Hero ---------- */
.home .page-header { display: none; }
.mm-hero {
	position: relative;
	background: #2e0202;
	color: #fff;
	overflow: hidden;
}
/* Foto rechts ungeschnitten in voller Höhe, links Weinrot mit weichem Übergang */
.mm-hero-inner {
	position: relative;
	padding: 88px var(--mm-rand) 80px;
	min-height: 600px;
	box-sizing: border-box;
	background: #2e0202 url("/wp-content/uploads/2026/03/molton-beige-studio-hintergrund.webp") right center / auto 100% no-repeat;
}
.mm-hero-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #2e0202 0, #3a0303 calc(100% - 894px), rgba(58,3,3,.6) calc(100% - 760px), rgba(58,3,3,.15) calc(100% - 600px), rgba(58,3,3,0) calc(100% - 480px));
}
.mm-hero-inner > * { position: relative; z-index: 1; }
.mm-kicker { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--mm-gold); }
.mm-hero h1 {
	color: #fff;
	font-size: clamp(34px, 4.6vw, 54px);
	line-height: 1.08;
	margin: 10px 0 16px;
	max-width: 17ch;
}
.mm-hero p { max-width: 60ch; font-size: 19px; color: #e9e6e2; margin: 0 0 26px; }
.mm-btn {
	display: inline-block;
	background: var(--mm-rot);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	padding: 13px 22px;
	border-radius: 8px;
	margin: 0 10px 10px 0;
}
.mm-hero .mm-btn:not(.mm-ghost) { background: var(--mm-gold); color: #2e0202 !important; }
.mm-btn:hover { filter: brightness(1.08); }
.mm-btn.mm-ghost { background: transparent; border: 1px solid rgba(255,255,255,.55); }
.mm-btn.mm-ghost:hover { background: rgba(255,255,255,.1); }
.mm-facts {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	padding: 0 var(--mm-rand);
	background: rgba(26,26,26,.88);
	border-top: 1px solid rgba(224,160,64,.35);
}
.mm-facts div { padding: 20px 24px; border-left: 1px solid rgba(255,255,255,.08); }
.mm-facts div:first-child { border-left: 0; padding-left: 0; }
.mm-facts b { display: block; font-size: 22px; color: var(--mm-gold); }
.mm-facts small { color: #d6cfc8; font-size: 14px; }

/* ---------- Hero auf Seiten und Beiträgen ---------- */
.mm-hero-page .mm-hero-inner {
	min-height: 460px;
	padding-top: 80px;
	padding-bottom: 72px;
	background-size: cover;
	background-position: center;
}
.mm-hero-page .mm-hero-inner::before {
	background: linear-gradient(90deg, rgba(46,2,2,.94) 0%, rgba(58,3,3,.82) 38%, rgba(58,3,3,.35) 70%, rgba(58,3,3,.1) 100%);
}
/* Bildausschnitt je Beitrag */
body.postid-276 .mm-hero-page .mm-hero-inner { background-position: center 85%; }
/* Backdrops: Bild leicht vergrößert und links ausgerichtet, damit das Stativ rechts aus dem Bild fällt */
@media screen and (min-width: 621px) {
	body.postid-233 .mm-hero-page .mm-hero-inner { background-size: 114% auto; background-position: 0% 40%; }
}
/* Kleines Ausgangsbild: rechts in Originalgröße statt hochskaliert */
/* Foto rechts mit weich auslaufender Kante (Maske), Hintergrund links Weinrot */
body.postid-230 .mm-hero-page .mm-hero-inner,
body.postid-236 .mm-hero-page .mm-hero-inner,
body.postid-276 .mm-hero-page .mm-hero-inner { background-size: 0 0; background-color: #2e0202; }
body.postid-230 .mm-hero-page .mm-hero-inner::before,
body.postid-236 .mm-hero-page .mm-hero-inner::before,
body.postid-276 .mm-hero-page .mm-hero-inner::before { display: none; }
body.postid-230 .mm-hero-page .mm-hero-inner::after,
body.postid-236 .mm-hero-page .mm-hero-inner::after,
body.postid-276 .mm-hero-page .mm-hero-inner::after {
	content: "";
	position: absolute;
	top: 0; bottom: 0; right: 0;
	width: 52%;
	background-image: inherit;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%);
	mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 22%, #000 45%);
}
@media screen and (max-width: 620px) {
	body.postid-230 .mm-hero-page .mm-hero-inner::after,
	body.postid-236 .mm-hero-page .mm-hero-inner::after,
	body.postid-276 .mm-hero-page .mm-hero-inner::after { width: 100%; opacity: .3; -webkit-mask-image: none; mask-image: none; }
}
/* Beitragsbild steht im Hero, nicht doppelt im Inhalt */
body.single .entry-thumbnail,
body.page:not(.home) .entry-thumbnail { display: none; }
/* Unterseiten: Text auf volle Kartenbreite, Karte selbst schmaler */
.mh-wrapper,
body.single .mh-wrapper,
body.page .mh-wrapper { max-width: 1080px; }
.mm-cta a:not(.mm-btn) { color: #fff; text-decoration: none; }
.mm-cta a:not(.mm-btn):hover { text-decoration: underline; }
/* Ähnliche Artikel */
.mh-related-content-title,
#mh-mobile .mh-related-content-title {
	background: none !important;
	border: 0 !important;
	border-bottom: 2px solid var(--mm-rot) !important;
	color: var(--mm-ink) !important;
	font-size: 24px;
	text-transform: none;
	padding: 0 0 10px !important;
	margin: 48px 0 22px;
	text-align: left;
}
.mh-related-content-title::before, .mh-related-content-title::after { display: none !important; }
.mh-related-content .mh-thumb-icon,
.mh-related-content img { border-radius: 10px; }
.mh-related-content .entry-title,
.mh-related-content h3 { font-size: 18px !important; line-height: 1.3; margin-top: 10px; }
.mh-related-content a { text-decoration: none; }
.mm-hero-page h1 { font-size: clamp(30px, 3.8vw, 48px); max-width: 20ch; }
.mm-hero-page p { max-width: 56ch; font-size: 18px; margin-bottom: 0; }
.mm-facts-page { grid-template-columns: repeat(3, 1fr); }
.mm-facts-page b { font-size: 19px; }
body.single .mh-wrapper, body.page:not(.home) .mh-wrapper { margin-top: 36px; }

/* ---------- Startseite: Karten ---------- */
.mm-lead { color: var(--mm-grau); max-width: 70ch; }
.mm-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin: 22px 0 36px;
}
.mm-card {
	background: #fff;
	border: 1px solid var(--mm-linie);
	border-radius: var(--mm-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform .15s ease, box-shadow .15s ease;
}
.mm-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.entry-content .mm-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border-radius: 0; margin: 0; }
.mm-card-body { display: block; padding: 16px 18px 20px; }
.mm-card-title { display: block; margin: 0 0 6px; font-size: 19px; font-weight: 700; color: var(--mm-ink); }
.mm-card-text { font-weight: 400; display: block; margin: 0 0 10px; font-size: 15px; color: var(--mm-grau); line-height: 1.5; }
.mm-card .mm-meta { display: block; font-size: 13px; font-weight: 700; color: var(--mm-rot); }
.mm-cards br { display: none; }

.mm-panel {
	background: var(--mm-bg);
	border: 1px solid var(--mm-linie);
	border-radius: var(--mm-radius);
	padding: 24px 28px;
	margin: 0 0 30px;
}
.mm-panel h2 { margin-top: 0 !important; }

/* FAQ */
.mm-faq details {
	background: #fff;
	border: 1px solid var(--mm-linie);
	border-radius: 10px;
	margin-bottom: 10px;
}
.mm-faq summary {
	cursor: pointer;
	padding: 16px 20px;
	font-weight: 700;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 16px;
}
.mm-faq summary::-webkit-details-marker { display: none; }
.mm-faq summary::after { content: "+"; color: var(--mm-rot); font-size: 22px; line-height: 1; }
.mm-faq details[open] summary::after { content: "\2212"; }
.mm-faq details p { margin: 0 !important; padding: 0 20px 18px; color: var(--mm-grau); }

/* Kontaktkasten */
.mm-cta {
	background: var(--mm-dunkel);
	border-left: 6px solid var(--mm-rot);
	color: #fff;
	border-radius: 16px;
	padding: 34px 38px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	margin: 40px 0 10px;
}
.entry-content .mm-cta h2 { color: #fff; margin: 0 0 6px; }
.mm-cta p { margin: 0 !important; color: #cfc8c1; }
.mm-cta .mm-btn { background: var(--mm-rot); color: #fff !important; margin: 0; white-space: nowrap; }

/* ---------- Footer ---------- */
#mh-mobile .mh-footer,
#mh-mobile .mh-copyright-wrap,
#mh-mobile .mh-footer-nav {
	background: var(--mm-wein);
}
.mh-footer-nav { margin-top: 56px; border-top: 3px solid var(--mm-rot); }
.mh-copyright-wrap { padding: 18px 0; background: #2e0202 !important; }
.mh-copyright, .mh-copyright a, .mh-footer-nav a { color: #f0dcdc !important; }

/* ---------- Mobilmenü ---------- */
#mh-mobile .slicknav_menu { background: var(--mm-rot); border: 0; }
#mh-mobile .slicknav_btn { background: transparent; margin: 8px 12px; padding: 12px; }
#mh-mobile .slicknav_menu .slicknav_icon { width: 26px; height: 20px; }
#mh-mobile .slicknav_menu .slicknav_icon-bar { width: 26px; height: 3px; border-radius: 2px; }
#mh-mobile .slicknav_menu .slicknav_icon-bar + .slicknav_icon-bar { margin-top: 5px; }
#mh-mobile .slicknav_nav { font-family: "Heebo", "Roboto", sans-serif; font-size: 19px; font-weight: 700; margin: 0; padding: 4px 0 14px; background: #6e0000; border-top: 1px solid rgba(224,160,64,.45); }
#mh-mobile .slicknav_nav ul.menu { margin: 0; padding: 0; border: 0; background: none; }
#mh-mobile .slicknav_nav ul.menu > li { border-bottom: 1px solid rgba(255,255,255,.1); }
#mh-mobile .slicknav_nav ul.menu > li:last-child { border-bottom: 0; }
#mh-mobile .slicknav_nav a,
#mh-mobile .slicknav_nav .slicknav_row { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 12px 22px; margin: 0; border-radius: 0; color: #fff; }
#mh-mobile .slicknav_nav .slicknav_row a { display: inline; padding: 0; min-height: 0; }
#mh-mobile .slicknav_nav a:hover,
#mh-mobile .slicknav_nav .slicknav_row:hover { background: rgba(0,0,0,.18); color: #fff; border-radius: 0; }
#mh-mobile .slicknav_nav .current-menu-item > a { box-shadow: inset 4px 0 0 var(--mm-gold); }
#mh-mobile .slicknav_nav .slicknav_arrow { font-size: 0; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.12); margin: 0; }
#mh-mobile .slicknav_nav .slicknav_arrow::before { content: "+"; font-size: 24px; line-height: 1; color: var(--mm-gold); }
#mh-mobile .slicknav_nav .slicknav_open > .slicknav_row .slicknav_arrow::before,
#mh-mobile .slicknav_nav .slicknav_open > a .slicknav_arrow::before { content: "\2212"; }
#mh-mobile .slicknav_nav ul.sub-menu { margin: 0; padding: 0 0 8px; border: 0; background: rgba(0,0,0,.22); }
#mh-mobile .slicknav_nav ul.sub-menu li a { min-height: 48px; padding: 10px 22px 10px 40px; font-family: "Roboto", sans-serif; font-weight: 400; font-size: 17px; color: #fbe9e9; border-left: 3px solid rgba(224,160,64,.5); margin-left: 22px; }

/* ---------- Responsiv ---------- */
@media screen and (max-width: 1250px) {
	.mm-hero-inner::before { background: linear-gradient(90deg, rgba(46,2,2,.96) 0%, rgba(58,3,3,.86) 48%, rgba(58,3,3,.25) 78%, rgba(58,3,3,0) 100%); }
}
@media screen and (max-width: 1000px) {
	.mm-cards { grid-template-columns: repeat(2, 1fr); }
	.mm-facts { grid-template-columns: repeat(2, 1fr); }
	.mh-wrapper { padding: 32px 28px; margin-left: 16px; margin-right: 16px; }
	.mm-hero-inner { padding: 56px 28px 48px; }
	.mm-facts div:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media screen and (max-width: 620px) {
	.mm-cards { grid-template-columns: 1fr; }
	.mh-wrapper { padding: 24px 18px; margin: 16px 0 0; border-radius: 0; }
	.mm-facts { padding: 0 20px; }
	.mm-hero-inner { padding: 44px 20px 36px; }
	.mm-hero p { font-size: 17px; }
	.mm-hero-inner { min-height: 0; background-size: cover; background-position: 70% center; }
	.mm-hero-inner::before,
	.mm-hero-page .mm-hero-inner::before { background: linear-gradient(180deg, rgba(46,2,2,.88) 0%, rgba(58,3,3,.72) 100%); }
	.mm-hero-page .mm-hero-inner { min-height: 0; }
	.mm-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
	.entry-content table { display: block; overflow-x: auto; white-space: nowrap; }
}


/* ---------- Hubseite Molton Ratgeber ---------- */
.mm-hub .mm-lead { font-size: 18px; }
.mm-hub-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 34px; }
.mm-hub-nav a {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--mm-linie);
	border-radius: 999px;
	background: var(--mm-bg);
	color: var(--mm-ink) !important;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none !important;
}
.mm-hub-nav a:hover { border-color: var(--mm-rot); color: var(--mm-rot) !important; }
.mm-hub h2[id] { scroll-margin-top: 20px; }
.mm-hub .mm-panel table { margin: 0; width: 100%; }
.mm-hub .mm-cards { grid-template-columns: repeat(3, 1fr); }
@media screen and (max-width: 1000px) { .mm-hub .mm-cards { grid-template-columns: repeat(2, 1fr); } }
@media screen and (max-width: 620px) {
	.mm-hub .mm-cards { grid-template-columns: 1fr; }
	.mm-hub .mm-panel { padding: 18px 14px; overflow-x: auto; }
}
@media screen and (max-width: 620px) {
	.mm-hub .mm-panel table, .mm-hub .mm-panel tbody, .mm-hub .mm-panel tr, .mm-hub .mm-panel td { display: block; width: 100%; white-space: normal; border: 0; }
	.mm-hub .mm-panel thead { display: none; }
	.mm-hub .mm-panel tr { background: #fff; border: 1px solid var(--mm-linie); border-radius: 8px; margin: 0 0 10px; padding: 12px 14px; box-sizing: border-box; }
	.mm-hub .mm-panel td { padding: 2px 0; background: none !important; }
	.mm-hub .mm-panel td:first-child { font-weight: 700; }
	.mm-hub .mm-panel td:nth-child(2) { font-size: 17px; }
	.mm-hub .mm-panel td:last-child { color: var(--mm-grau); font-size: 15px; }
}

/* Infoleiste unter dem Hero (Beiträge und Hub): hell, Beschriftung oben */
.mm-facts.mm-facts-page {
	background: var(--mm-bg);
	border-top: 0;
	border-bottom: 1px solid var(--mm-linie);
	grid-template-columns: repeat(2, minmax(0, 220px));
}
.mm-hero-hub .mm-facts.mm-facts-page { grid-template-columns: repeat(3, minmax(0, 240px)); }
.mm-facts-page div { padding: 18px 28px 16px; border-left: 1px solid var(--mm-linie); }
.mm-facts-page div:first-child { border-left: 0; padding-left: 0; }
.mm-facts-page small { display: block; color: var(--mm-grau); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.mm-facts-page b { color: var(--mm-ink); font-size: 18px; }
@media screen and (max-width: 1000px) {
	.mm-facts.mm-facts-page div:nth-child(3) { border-left: 1px solid var(--mm-linie); padding-left: 28px; }
}
@media screen and (max-width: 620px) {
	.mm-facts.mm-facts-page, .mm-hero-hub .mm-facts.mm-facts-page { grid-template-columns: repeat(2, 1fr); }
	.mm-facts-page div { padding: 14px 0 12px 16px; }
	.mm-facts-page div:first-child { padding-left: 0; }
	.mm-hero-hub .mm-facts-page div:nth-child(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--mm-linie); padding-left: 0; }
	.mm-facts-page b { font-size: 16px; }
}

/* Weniger Abstand zwischen Infoleiste und Inhaltskarte */
.mm-facts-page div { padding-top: 14px; padding-bottom: 12px; }
body.single .mh-wrapper, body.category .mh-wrapper { margin-top: 14px; }
@media screen and (max-width: 620px) {
	body.single .mh-wrapper, body.category .mh-wrapper { margin-top: 0; border-top: 0; }
	.mm-facts.mm-facts-page { border-bottom: 0; }
}

/* Hero der Unterseiten: Text mittig, weniger Luft unter dem Text */
.mm-hero-page .mm-hero-inner { display: flex; flex-direction: column; justify-content: center; min-height: 400px; padding-top: 56px; padding-bottom: 56px; box-sizing: border-box; }
.mm-hero-page .mm-hero-inner p { margin-bottom: 0; }
@media screen and (max-width: 620px) {
	.mm-hero-page .mm-hero-inner { min-height: 0; padding-top: 32px; padding-bottom: 28px; }
}

/* Ersatz für Font Awesome (Brotkrumen, Nach-oben-Knopf, Menüpfeil) */
.fa { display: inline-block; font-style: normal; line-height: 1; }
.fa-angle-right::before { content: "\203A"; font-size: 1.3em; }
.fa-chevron-up::before {
	content: "";
	display: inline-block;
	width: 10px;
	height: 10px;
	border-top: 3px solid currentColor;
	border-left: 3px solid currentColor;
	transform: translateY(3px) rotate(45deg);
}
.mh-navigation .menu-item-has-children > a::after {
	content: "" !important;
	font-family: inherit !important;
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
}
.fa-tag::before { content: "#"; font-weight: 700; }

/* Hinweiskasten (ersetzt Shortcodes Ultimate) */
.entry-content .mm-note {
	background: var(--mm-bg);
	border: 1px solid var(--mm-linie);
	border-left: 4px solid var(--mm-rot);
	border-radius: var(--mm-radius);
	padding: 20px 24px;
	margin: 0 0 24px;
}
.entry-content .mm-note > :first-child { margin-top: 0; }
.entry-content .mm-note > :last-child { margin-bottom: 0; }
.entry-content .mm-note h2, .entry-content .mm-note h3 { margin-top: 0; }

/* Infoleiste mittig, drei Punkte, auch mobil nebeneinander */
.mm-facts.mm-facts-page,
.mm-hero-hub .mm-facts.mm-facts-page {
	display: flex;
	justify-content: center;
	flex-wrap: nowrap;
	padding: 0 16px;
}
.mm-facts.mm-facts-page div { flex: 0 1 240px; text-align: center; padding: 16px 20px 14px; border-left: 1px solid var(--mm-linie); }
.mm-facts.mm-facts-page div:first-child { border-left: 0; padding-left: 20px; }
.mm-facts-page b a { color: var(--mm-rot); text-decoration: none; }
.mm-facts-page b a:hover { text-decoration: underline; }
@media screen and (max-width: 1000px) {
	.mm-facts.mm-facts-page div:nth-child(3) { padding-left: 20px; }
}
@media screen and (max-width: 620px) {
	.mm-facts.mm-facts-page, .mm-hero-hub .mm-facts.mm-facts-page { padding: 0 6px; }
	.mm-facts.mm-facts-page div,
	.mm-hero-hub .mm-facts.mm-facts-page div:nth-child(3) { flex: 1 1 0; min-width: 0; padding: 12px 6px 10px; border-top: 0; border-left: 1px solid var(--mm-linie); grid-column: auto; }
	.mm-facts.mm-facts-page div:first-child { border-left: 0; padding-left: 6px; }
	.mm-facts-page small { font-size: 11px; letter-spacing: .04em; }
	.mm-facts-page b { font-size: 14px; white-space: nowrap; }
}

/* Startseite: helle Infoleiste wie auf den Unterseiten */
.mm-facts.mm-facts-light {
	display: flex;
	justify-content: center;
	background: var(--mm-bg);
	border-top: 0;
	border-bottom: 1px solid var(--mm-linie);
	padding: 0 16px;
}
.mm-facts-light div { flex: 0 1 240px; text-align: center; padding: 16px 20px 14px; border-left: 1px solid var(--mm-linie); }
.mm-facts-light div:first-child { border-left: 0; padding-left: 20px; }
.mm-facts-light small { display: block; color: var(--mm-grau); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.mm-facts-light b { display: block; color: var(--mm-ink); font-size: 18px; }
@media screen and (max-width: 1000px) {
	.mm-facts.mm-facts-light div:nth-child(3) { border-left: 1px solid var(--mm-linie); padding-left: 20px; }
}
@media screen and (max-width: 620px) {
	.mm-facts.mm-facts-light { display: grid; grid-template-columns: 1fr 1fr; padding: 0 12px; }
	.mm-facts.mm-facts-light div { padding: 12px 8px 10px; border-left: 0; }
	.mm-facts.mm-facts-light div:nth-child(even) { border-left: 1px solid var(--mm-linie); }
	.mm-facts.mm-facts-light div:nth-child(3) { border-left: 0; padding-left: 8px; }
	.mm-facts.mm-facts-light div:nth-child(n+3) { border-top: 1px solid var(--mm-linie); }
	.mm-facts-light small { font-size: 11px; }
	.mm-facts-light b { font-size: 15px; }
}

/* Sprachumschalter im Menü */
#mh-mobile .mh-main-nav li.mm-lang > a { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--mm-gold); }
#mh-mobile .mh-main-nav li.mm-lang > a::before,
.mm-lang-mobile::before { content: ""; display: inline-block; width: 21px; height: 14px; margin-right: 7px; vertical-align: -2px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); background: center / cover no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30,15h30v15zv15h-30zh-30v-15zv-15h30z'/%3E%3C/clipPath%3E%3Cpath d='M0,0v30h60v-30z' fill='%23012169'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0L60,30M60,0L0,30' clip-path='url(%23t)' stroke='%23C8102E' stroke-width='4'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0v30M0,15h60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E"); }
html:lang(en) #mh-mobile .mh-main-nav li.mm-lang > a::before,
html:lang(en) .mm-lang-mobile::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 3' preserveAspectRatio='none'%3E%3Cpath fill='%23FFCE00' d='M0 0h5v3H0z'/%3E%3Cpath fill='%23DD0000' d='M0 0h5v2H0z'/%3E%3Cpath fill='%23000' d='M0 0h5v1H0z'/%3E%3C/svg%3E"); }
#mh-mobile .slicknav_nav li.mm-lang > a::before { display: none; }
#mh-mobile .slicknav_nav li.mm-lang > a { color: var(--mm-gold); }

/* Sprachknopf mobil */
.mm-lang-mobile { display: none; }
@media screen and (max-width: 767px) {
	body { position: relative; }
	.mm-lang-mobile {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: min(calc(131px - (390px - 100vw) * .2), 141.5px);
		left: 16px;
		z-index: 50;
		min-width: 44px;
		height: 32px;
		padding: 0 10px;
		border: 1px solid rgba(224,160,64,.7);
		border-radius: 999px;
		background: rgba(0,0,0,.35);
		color: var(--mm-gold) !important;
		font: 700 13px/1 "Heebo", sans-serif;
		letter-spacing: .08em;
		text-decoration: none !important;
	}
	.mm-lang-mobile::before { width: 18px; height: 12px; margin-right: 6px; vertical-align: 0; }
}
