/* =========================================================
   Malermeister Khan – Gestaltung v3
   Grün aus dem Logo (#027820) · Waldgrün · warmes Creme · Sand-Linien
   Schriften: Cormorant Garamond (Überschriften) + Jost (Text), lokal
   ========================================================= */
:root {
	--g: #007820; /* Khans Logo-Grün */
	--g-d: #01561a;
	--g-l: #00a82c; /* Khans Grün, kräftig – für dunkle Flächen (vorher Mint #8fd3a1) */
	--g-50: #e7efe4;
	--forest: #0f2619;
	--forest-2: #17331f;
	--cream: #f4efe5;
	--paper: #fbf8f2;
	--sand: #b9a271;
	--sand-d: #8a7448;
	--ink: #18201a;
	--text: #3a413c;
	--muted: #6a706a;
	--line: rgba(24, 32, 26, .13);
	--line-l: rgba(255, 255, 255, .16);
	--r: 3px;
	--sh: 0 18px 40px rgba(15, 38, 25, .10);
	--sh-l: 0 30px 70px rgba(15, 38, 25, .18);
	--head: "Cormorant Garamond", Garamond, Georgia, serif;
	--body: Jost, "Century Gothic", system-ui, sans-serif;
	--pad: clamp(20px, 4vw, 48px);
	--sec: clamp(76px, 9vw, 128px);
	--headh: 88px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Basis + durchgehender Hintergrund ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0; font-family: var(--body); font-size: 17.5px; line-height: 1.75; color: var(--text); font-weight: 400;
	background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
/* Eine Fläche für die ganze Seite: sanfte Farbwolken + feine Papierstruktur, bleibt beim Scrollen stehen */
body::before {
	content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(60vw 50vw at 0% 0%, rgba(2, 120, 32, .085), transparent 60%),
		radial-gradient(50vw 45vw at 100% 35%, rgba(185, 162, 113, .16), transparent 62%),
		radial-gradient(55vw 50vw at 15% 100%, rgba(2, 120, 32, .06), transparent 60%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .25 0 0 0 0 .15 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
		var(--cream);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--g-d); }
h1, h2, h3, h4 {
	font-family: var(--head); color: var(--ink); line-height: 1.08; font-weight: 500;
	letter-spacing: -.01em; margin: 0 0 .45em; text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
h2 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2vw, 1.85rem); font-weight: 600; letter-spacing: 0; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 500; color: var(--g); }
p { margin: 0 0 1em; text-wrap: pretty; }
strong { font-weight: 600; color: var(--ink); }
.mk-wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding-inline: var(--pad); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mk-skip { position: absolute; left: -999px; top: 8px; z-index: 999; background: var(--g); color: #fff; padding: 10px 16px; }
.mk-skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; }
.mk-i { width: 1.05em; height: 1.05em; fill: currentColor; flex: none; }
::selection { background: var(--g); color: #fff; }

/* ---------- Buttons: eckig, Kapitälchen (wie La Maison) ---------- */
.mk-btn, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .7em;
	font-family: var(--body); font-weight: 500; font-size: .8rem; line-height: 1.2; letter-spacing: .18em; text-transform: uppercase;
	padding: 1.25em 2.1em; border-radius: var(--r); background: var(--g); color: #fff; border: 1px solid var(--g);
	text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: color .35s var(--ease), border-color .35s, transform .35s var(--ease), box-shadow .35s;
}
.mk-btn::after, .wp-block-button__link::after {
	content: ''; position: absolute; inset: 0; z-index: -1; background: var(--forest); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.mk-btn:hover::after, .wp-block-button__link:hover::after { transform: scaleX(1); transform-origin: left; }
.mk-btn:hover, .wp-block-button__link:hover { color: #fff; border-color: var(--forest); box-shadow: 0 14px 30px rgba(15, 38, 25, .22); }
.mk-btn--sm { padding: 1em 1.6em; }
.mk-btn--ghost, .wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--ink); border-color: rgba(24, 32, 26, .45); }
.mk-btn--ghost::after, .wp-block-button.is-style-outline > .wp-block-button__link::after { background: var(--ink); }
.mk-btn--ghost:hover, .wp-block-button.is-style-outline > .wp-block-button__link:hover { color: #fff; border-color: var(--ink); box-shadow: none; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 0; }
.wp-block-button { margin: 0; }

/* ---------- Topbar ---------- */
.mk-topbar { background: var(--forest); color: rgba(244, 239, 229, .72); font-size: .8rem; letter-spacing: .04em; position: relative; z-index: 101; }
.mk-topbar__in { display: flex; gap: 28px; justify-content: flex-end; align-items: center; min-height: 40px; }
.mk-topbar__item { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.mk-topbar__item .mk-i { color: var(--sand); }
a.mk-topbar__item:hover { color: #fff; }
.mk-topbar__item:first-child { margin-right: auto; }
.mk-topbar__tel { color: #fff; font-weight: 500; }

/* ---------- Kopfbereich ---------- */
.mk-header {
	position: absolute; left: 0; right: 0; top: 40px; z-index: 100; background: transparent;
	transition: background .35s, box-shadow .35s;
}
.admin-bar .mk-header { top: 72px; }
@media (max-width: 782px) { .admin-bar .mk-header { top: 86px; } }
.mk-scrolled .mk-header, .mk-nav-open .mk-header {
	position: fixed; top: 0; background: rgba(244, 239, 229, .9); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
	box-shadow: 0 1px 0 var(--line), 0 14px 40px rgba(15, 38, 25, .08); animation: mk-drop .4s var(--ease);
}
.admin-bar.mk-scrolled .mk-header, .admin-bar.mk-nav-open .mk-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.mk-scrolled .mk-header, .admin-bar.mk-nav-open .mk-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.mk-scrolled .mk-header { top: 0; } }
@keyframes mk-drop { from { transform: translateY(-100%); } to { transform: none; } }
.mk-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--headh); }
.mk-logo { position: relative; display: block; }
.mk-logo img { width: auto; height: 50px; transition: opacity .3s; }
.mk-logo__dark { position: absolute; left: 0; top: 0; opacity: 0; }
.mk-scrolled .mk-logo__light, .mk-nav-open .mk-logo__light, .mk-light-head .mk-logo__light { opacity: 0; }
.mk-scrolled .mk-logo__dark, .mk-nav-open .mk-logo__dark, .mk-light-head .mk-logo__dark { opacity: 1; }
.mk-nav { display: flex; align-items: center; gap: 26px; }
.mk-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; align-items: center; }
.mk-nav__list > li { position: relative; }
.mk-nav__list a {
	display: block; padding: 10px 12px; font-family: var(--body); font-weight: 500; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
	color: #fff; text-decoration: none; transition: color .25s; position: relative;
}
.mk-nav__list > li > a::before {
	content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.mk-nav__list > li > a:hover::before, .mk-nav__list > .current-menu-item > a::before, .mk-nav__list > .current-menu-ancestor > a::before, .mk-nav__list > .current-page-ancestor > a::before { transform: scaleX(1); transform-origin: left; }
.mk-scrolled .mk-nav__list > li > a, .mk-light-head .mk-nav__list > li > a { color: var(--ink); }
.mk-scrolled .mk-nav__list > .current-menu-item > a, .mk-scrolled .mk-nav__list > .current-page-ancestor > a,
.mk-light-head .mk-nav__list > .current-menu-item > a, .mk-light-head .mk-nav__list > .current-page-ancestor > a { color: var(--g); }
.mk-nav__list .menu-item-has-children > a::after {
	content: ''; display: inline-block; width: 5px; height: 5px; margin-left: 8px; vertical-align: 3px;
	border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg);
}
.mk-nav__list .sub-menu {
	list-style: none; margin: 0; padding: 14px; position: absolute; top: calc(100% + 12px); left: -14px; min-width: 310px;
	background: var(--paper); box-shadow: var(--sh-l); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
}
.mk-nav__list .sub-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mk-nav__list li:hover > .sub-menu, .mk-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mk-nav__list .sub-menu a { color: var(--ink); padding: 10px 12px; font-family: var(--head); font-size: 1.22rem; font-weight: 500; letter-spacing: 0; text-transform: none; border-bottom: 1px solid var(--line); transition: color .2s, padding .3s var(--ease); }
.mk-nav__list .sub-menu li:last-child a { border-bottom: 0; }
.mk-nav__list .sub-menu a:hover, .mk-nav__list .sub-menu .current-menu-item > a { color: var(--g); padding-left: 20px; }
.mk-nav__cta.mk-btn { padding: 1.05em 1.6em; }
.mk-nav__tel { display: none; }
.mk-sub-toggle, .mk-burger { display: none; }

@media (max-width: 1120px) {
	:root { --headh: 74px; }
	.mk-logo img { height: 42px; }
	.mk-burger {
		display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; padding: 14px 12px;
		border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--r); background: transparent; cursor: pointer;
	}
	.mk-burger span { display: block; height: 1.5px; background: #fff; transition: transform .25s, opacity .2s, background .2s; }
	.mk-scrolled .mk-burger, .mk-nav-open .mk-burger, .mk-light-head .mk-burger { border-color: rgba(24, 32, 26, .35); }
	.mk-scrolled .mk-burger span, .mk-nav-open .mk-burger span, .mk-light-head .mk-burger span { background: var(--ink); }
	.mk-nav-open .mk-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
	.mk-nav-open .mk-burger span:nth-child(2) { opacity: 0; }
	.mk-nav-open .mk-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
	.mk-nav {
		position: fixed; left: 0; right: 0; bottom: 0; top: var(--headh); z-index: 99; flex-direction: column; align-items: stretch; gap: 16px;
		padding: 12px var(--pad) 40px; background: var(--cream); overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); visibility: hidden;
	}
	.admin-bar .mk-nav { top: calc(var(--headh) + 46px); }
	.mk-nav-open .mk-nav { transform: none; visibility: visible; }
	.mk-nav-open { overflow: hidden; }
	.mk-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.mk-nav__list > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
	.mk-nav__list > li > a { flex: 1; padding: 16px 2px; font-size: 1.6rem; font-family: var(--head); font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink) !important; }
	.mk-nav__list > li > a::before { display: none; }
	.mk-nav__list > .current-menu-item > a, .mk-nav__list > .current-page-ancestor > a { color: var(--g) !important; font-style: italic; }
	.mk-nav__list .menu-item-has-children > a::after { display: none; }
	.mk-sub-toggle { display: block; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; position: relative; }
	.mk-sub-toggle::before {
		content: ''; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -7px 0 0 -5px;
		border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .2s;
	}
	.is-open > .mk-sub-toggle::before { transform: rotate(-135deg); margin-top: -2px; }
	.mk-nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; min-width: 0; width: 100%; padding: 0 0 12px 8px; display: none; background: none; }
	.mk-nav__list .is-open > .sub-menu { display: block; }
	.mk-nav__list .sub-menu a { border: 0; padding: 7px 4px; font-size: 1.15rem; }
	.mk-nav__cta { justify-content: center; margin-top: 8px; }
	.mk-nav__tel { display: flex; justify-content: center; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); text-decoration: none; padding: 12px; letter-spacing: .04em; }
	.mk-nav__tel .mk-i { color: var(--g); }
}
@media (max-width: 860px) { .mk-topbar__hide-m { display: none; } }
@media (max-width: 640px) {
	.mk-topbar__hide-s { display: none; }
	.mk-topbar__in { justify-content: space-between; gap: 14px; }
	.mk-topbar__item:first-child { margin-right: 0; }
}
@media (max-width: 380px) { .mk-topbar__hide-xs { display: none; } .mk-topbar__in { justify-content: center; } }

/* ---------- Layout der Seiteninhalte ---------- */
.mk-content > .wp-block-group.alignfull, .mk-sec { width: 100%; margin: 0; }
.mk-sec { padding: var(--sec) var(--pad); position: relative; }
.mk-sec > .alignwide { max-width: var(--wp--style--global--wide-size, 1320px); margin-inline: auto; }
.mk-content > * + * { margin-block-start: 0; }
.mk-tint { background: rgba(255, 255, 255, .42); border-block: 1px solid rgba(185, 162, 113, .22); }
.mk-center > .mk-eyebrow, .mk-center > h2, .mk-center > .mk-intro { text-align: center; margin-inline: auto; }
.mk-center > h2 { max-width: 860px; }
.mk-intro { max-width: 700px; color: var(--muted); font-size: 1.08rem; margin-bottom: 2.6em; }
.mk-eyebrow {
	font-family: var(--body); font-weight: 500; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
	color: var(--sand-d); margin-bottom: 1.3em; display: flex; align-items: center; gap: 16px;
}
.mk-eyebrow::before { content: ''; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.mk-center > .mk-eyebrow { justify-content: center; }
.mk-center > .mk-eyebrow::after { content: ''; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.mk-lead { font-size: clamp(1.06rem, 1.3vw, 1.18rem); color: var(--muted); line-height: 1.7; }
.mk-small { font-size: .93rem; color: var(--muted); }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(32px, 6vw, 96px); margin: 0; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-columns.are-vertically-aligned-center { align-items: center; }
@media (max-width: 781px) {
	.wp-block-columns { flex-direction: column; }
	.wp-block-columns > .wp-block-column { flex-basis: 100% !important; width: 100%; }
	.wp-block-columns.are-vertically-aligned-center { align-items: stretch; }
}
.mk-checks { list-style: none; padding: 0; margin: 1em 0 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.mk-checks li { position: relative; padding: .7em 0 .7em 34px; border-bottom: 1px solid var(--line); }
.mk-checks li::before {
	content: ''; position: absolute; left: 2px; top: 1.05em; width: 18px; height: 18px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23027820' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/18px no-repeat;
}

/* Gerahmte Fotos (Linie versetzt hinter dem Bild, wie bei La Maison) */
.mk-frame, .mk-portrait, .mk-service__img, .mk-svc__preview, .mk-team__img { position: relative; z-index: 0; }
.mk-portrait::before, .mk-service__img::before, .mk-svc__preview::before {
	content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--sand); z-index: -1; transition: inset .6s var(--ease);
}
.mk-portrait:hover::before, .mk-service__img:hover::before, .mk-svc__preview:hover::before { inset: 10px -10px -10px 10px; }

/* ---------- Startseiten-Kopf mit Foto-Slider ---------- */
.mk-hero {
	position: relative; overflow: hidden; color: #fff; background: var(--forest);
	min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: center;
	padding: calc(var(--headh) + 72px) var(--pad) clamp(110px, 12vw, 150px);
}
.mk-hero::before {
	content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(9, 24, 15, .88) 0%, rgba(9, 24, 15, .66) 40%, rgba(9, 24, 15, .18) 75%, rgba(9, 24, 15, .08) 100%),
		linear-gradient(180deg, rgba(9, 24, 15, .55) 0%, rgba(9, 24, 15, 0) 28%, rgba(9, 24, 15, .5) 100%);
}
/* feiner Rahmen wie bei La Maison */
.mk-hero::after { content: ''; position: absolute; inset: 16px; z-index: 3; pointer-events: none; border: 1px solid rgba(244, 239, 229, .32); }
.mk-content .mk-hero > .mk-slides { position: absolute; inset: 0; z-index: 0; margin: 0 !important; max-width: none !important; display: block !important; }
.mk-slides figure.wp-block-image { position: absolute !important; inset: 0; width: 100% !important; height: 100%; margin: 0 !important; opacity: 0; transition: opacity 1.6s ease; pointer-events: none; }
.mk-slides figure.wp-block-image:first-child, .mk-slides figure.wp-block-image.is-active { opacity: 1; }
.mk-slides figure.wp-block-image.is-active { z-index: 1; }
.mk-slides img { width: 100% !important; height: 100% !important; object-fit: cover; aspect-ratio: auto !important; border-radius: 0 !important; transform: scale(1.12); transition: transform 9s ease-out; }
.mk-slides figure.is-active img, .mk-slides figure:first-child img { transform: scale(1); }
.mk-slides .lightbox-trigger, .mk-slides figcaption { display: none !important; }
.mk-hero__text { position: relative; z-index: 2; width: 100%; max-width: var(--wp--style--global--content-size, 1180px) !important; margin: 0 auto !important; }
.mk-hero__text > * { max-width: 700px; }
.mk-hero__kicker {
	display: flex !important; align-items: center; gap: 16px; margin-bottom: 1.6em; font-size: .76rem; font-weight: 500;
	letter-spacing: .28em; text-transform: uppercase; color: rgba(244, 239, 229, .85);
}
.mk-hero__kicker::before { content: ''; width: 48px; height: 1px; background: var(--sand); }
.mk-slogan {
	font-family: var(--head); font-weight: 600; color: #fff; letter-spacing: -.015em; line-height: .98;
	font-size: clamp(3.4rem, 8.4vw, 7.4rem); margin: 0 0 .25em; text-wrap: balance;
}
.mk-slogan em {
	font-style: italic; font-weight: 500; color: var(--g-l); white-space: nowrap; padding-bottom: .06em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 20' preserveAspectRatio='none'%3E%3Cpath d='M3 13 C 70 5 150 4 297 9' stroke='%23b9a271' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") left bottom/0% .2em no-repeat;
	animation: mk-stroke 1.4s .8s var(--ease) forwards;
}
@keyframes mk-stroke { to { background-size: 100% .2em; } }
.mk-hero h1 { font-family: var(--head); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: rgba(255, 255, 255, .95); letter-spacing: 0; margin-bottom: .6em; }
.mk-hero .mk-lead { color: rgba(244, 239, 229, .82); max-width: 580px; margin: 0; }
.mk-hero .wp-block-buttons { margin-top: 2.4em; }
.mk-hero .wp-block-button__link::after { background: #fff; }
.mk-hero .wp-block-button__link:hover { color: var(--forest); border-color: #fff; }
.mk-hero .is-style-outline > .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
.mk-hero .is-style-outline > .wp-block-button__link:hover { color: var(--forest); }
/* Einlauf-Animation */
.mk-hero__text > * { opacity: 0; transform: translateY(24px); animation: mk-up 1s var(--ease) forwards; }
.mk-hero__text > *:nth-child(2) { animation-delay: .12s; }
.mk-hero__text > *:nth-child(3) { animation-delay: .24s; }
.mk-hero__text > *:nth-child(4) { animation-delay: .36s; }
.mk-hero__text > *:nth-child(5) { animation-delay: .48s; }
@keyframes mk-up { to { opacity: 1; transform: none; } }
.mk-slider-ui {
	position: absolute; z-index: 4; right: max(calc(var(--pad) + 8px), calc((100% - 1180px) / 2)); bottom: clamp(56px, 7vw, 84px);
	display: flex; align-items: center; gap: 18px;
}
.mk-slider-btn {
	width: 50px; height: 50px; border-radius: 0; border: 1px solid rgba(255, 255, 255, .45); background: rgba(9, 24, 15, .15);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s;
}
.mk-slider-btn svg { width: 22px; height: 22px; fill: #fff; }
.mk-slider-btn:hover { background: #fff; border-color: #fff; }
.mk-slider-btn:hover svg { fill: var(--forest); }
.mk-dots { display: flex; gap: 8px; align-items: center; }
.mk-dot { width: 22px; height: 2px; padding: 8px 0; border: 0; background: linear-gradient(rgba(255, 255, 255, .45), rgba(255, 255, 255, .45)) center/100% 2px no-repeat; cursor: pointer; transition: width .4s var(--ease); }
.mk-dot.is-active { width: 48px; background-image: linear-gradient(var(--sand), var(--sand)); }
.mk-hero__count { position: absolute; z-index: 4; left: max(calc(var(--pad) + 8px), calc((100% - 1180px) / 2)); bottom: clamp(56px, 7vw, 84px); color: rgba(244, 239, 229, .7); font-family: var(--head); font-style: italic; font-size: 1.15rem; letter-spacing: .04em; }
@media (max-width: 781px) {
	.mk-hero { min-height: 0; padding-top: calc(var(--headh) + 56px); padding-bottom: 130px; }
	.mk-hero::before { background: linear-gradient(180deg, rgba(9, 24, 15, .7) 0%, rgba(9, 24, 15, .74) 55%, rgba(9, 24, 15, .9) 100%); }
	.mk-hero::after { inset: 10px; }
	.mk-slider-ui { left: 50%; right: auto; transform: translateX(-50%); bottom: 46px; }
	.mk-slider-btn { width: 44px; height: 44px; }
	.mk-hero__count { display: none; }
	.mk-hero__kicker { font-size: .68rem; letter-spacing: .2em; gap: 12px; }
	.mk-hero__kicker::before { width: 28px; }
}

/* ---------- Laufband ---------- */
.mk-marquee {
	margin: 0 !important; max-width: none !important; background: var(--forest); color: rgba(244, 239, 229, .92); overflow: hidden; white-space: nowrap;
	font-family: var(--head); font-style: italic; font-size: clamp(1.25rem, 2vw, 1.7rem); padding: .75em 0; border-bottom: 1px solid rgba(185, 162, 113, .35);
}
.mk-marquee__track { display: inline-flex; animation: mk-marq 60s linear infinite; will-change: transform; }
.mk-marquee__track span { padding-right: .4em; }
.mk-marquee b { font-weight: 400; color: var(--sand); font-style: normal; padding: 0 .7em; }
@keyframes mk-marq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .mk-marquee__track { animation: none; } }

/* ---------- Einleitung + Fakten ---------- */
.mk-introsec h2 { font-style: italic; font-weight: 500; }
.mk-introsec h2 em { font-style: normal; }
.mk-introsec .mk-intro::after { content: ''; display: block; width: 64px; height: 1px; background: var(--sand); margin: 2.4em auto 0; }
.mk-facts__grid { max-width: 1080px !important; margin-top: 1em !important; display: grid; gap: 0; }
.mk-fact { text-align: center; padding: 10px 18px; position: relative; }
.mk-fact + .mk-fact::before { content: ''; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: var(--line); }
.mk-fact__big { font-family: var(--head); font-weight: 500; font-size: clamp(2.8rem, 4.6vw, 4.2rem); color: var(--g); margin: 0; line-height: 1; letter-spacing: -.01em; }
.mk-fact__label { margin: .7em 0 0; color: var(--muted); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; line-height: 1.6; }

/* ---------- Leistungen: nummerierte Liste mit Bildvorschau ---------- */
.mk-svc-sec { padding-top: calc(var(--sec) * .6); }
.mk-svc .mk-svc__aside { position: sticky; top: 120px; align-self: flex-start; }
.mk-svc__aside h2 { margin-bottom: .5em; }
.mk-svc__aside > p { color: var(--muted); max-width: 440px; }
.mk-svc__preview { margin: 2.4em 0 0 !important; max-width: 470px; }
.mk-svc__preview img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; transition: opacity .45s ease, transform 1.2s var(--ease); }
.mk-svc__preview.is-swap img { opacity: .15; transform: scale(1.03); }
.mk-svc__preview figcaption { display: none; }
.mk-rows { border-top: 1px solid var(--line); counter-reset: row; }
.mk-row {
	position: relative; display: grid; grid-template-columns: 64px 1fr auto; align-items: start; gap: 4px 20px;
	padding: 30px 18px 28px 6px; border-bottom: 1px solid var(--line); transition: background .45s, padding .45s var(--ease);
}
.mk-row::before { content: ''; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--g); transition: width .6s var(--ease); }
.mk-row:hover { background: rgba(255, 255, 255, .5); padding-left: 18px; }
.mk-row:hover::before { width: 100%; }
.mk-row__n { margin: 0; font-family: var(--head); font-style: italic; color: var(--sand-d); font-size: 1.15rem; line-height: 2; }
.mk-row__img { display: none; margin: 0; }
.mk-row__txt h3 { margin: 0 0 .25em; font-size: clamp(1.7rem, 2.4vw, 2.15rem); font-weight: 500; }
.mk-row__txt h3 a { color: var(--ink); text-decoration: none; transition: color .3s; }
.mk-row__txt h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; }
.mk-row:hover h3 a { color: var(--g); }
.mk-row__sub { margin: 0; color: var(--muted); font-size: .98rem; max-width: 520px; }
.mk-row__go { margin: 10px 0 0; }
.mk-row__go a { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sand-d); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; white-space: nowrap; }
.mk-row__go a::after { content: '→'; font-size: 1rem; letter-spacing: 0; transition: transform .35s var(--ease); }
.mk-row:hover .mk-row__go a { color: var(--g); }
.mk-row:hover .mk-row__go a::after { transform: translateX(6px); }
@media (max-width: 781px) {
	.mk-svc .mk-svc__aside { position: static; }
	.mk-svc__preview { display: none; }
	.mk-row { grid-template-columns: 88px 1fr; gap: 4px 16px; padding: 16px 0; align-items: center; }
	.mk-row:hover { padding-left: 0; }
	.mk-row__n { display: none; }
	.mk-row__img { display: block; grid-row: span 2; }
	.mk-row__img img { width: 88px; height: 88px; object-fit: cover; }
	.mk-row__txt h3 { font-size: 1.45rem; }
	.mk-row__sub { font-size: .9rem; line-height: 1.5; }
	.mk-row__go { margin: 0; }
}

/* ---------- Inhaber (wie „The Founders“ bei La Maison) ---------- */
.mk-owner-sec { background: rgba(255, 255, 255, .42); border-block: 1px solid rgba(185, 162, 113, .22); }
.mk-owner__media { display: flex; justify-content: center; }
.mk-portrait { margin: 0 !important; width: 100%; max-width: 440px; }
.mk-portrait img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; box-shadow: var(--sh-l); }
.mk-portrait figcaption { display: none; }
.mk-portrait::after {
	content: 'Meisterbetrieb seit 2021'; position: absolute; left: -22px; bottom: 34px; z-index: 2;
	background: var(--forest); color: var(--cream); font-family: var(--body); font-size: .7rem; letter-spacing: .24em; text-transform: uppercase;
	padding: 14px 20px; box-shadow: var(--sh);
}
.mk-owner__name { font-size: clamp(2.6rem, 4.6vw, 3.8rem); margin-bottom: .1em; }
.mk-owner__role { font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--g); margin-bottom: 1.8em; }
.mk-owner__sig { font-family: var(--head); font-size: 1.9rem; color: var(--ink); margin: 1.1em 0 0; line-height: 1.2; }
.mk-owner__sig em { color: var(--g); }
@media (max-width: 781px) { .mk-portrait { max-width: 360px; margin: 0 auto 20px !important; } .mk-portrait::after { left: -8px; bottom: 20px; } .mk-portrait::before { inset: 12px -10px -12px 10px; } }

/* ---------- Dunkles Band (Waldgrün, gerahmt) ---------- */
.mk-dark {
	background:
		linear-gradient(180deg, rgba(15, 38, 25, .93), rgba(15, 38, 25, .9)),
		url("../img/bg-treppe.jpg") center/cover no-repeat;
	color: rgba(244, 239, 229, .74);
}
@media (min-width: 1024px) and (hover: hover) { .mk-dark { background-attachment: scroll, fixed; } }
.mk-dark::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(185, 162, 113, .35); pointer-events: none; }
.mk-dark h2, .mk-dark h3 { color: #fff; }
.mk-dark h2 em { color: var(--g-l); }
.mk-dark .mk-eyebrow { color: var(--sand); }
.mk-trust { max-width: var(--wp--style--global--wide-size, 1320px) !important; margin-top: 3em !important; display: grid; gap: 0; }
.mk-trust__item { padding: 10px 30px 10px; position: relative; text-align: left; }
.mk-trust__item + .mk-trust__item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line-l); }
.mk-trust__n { font-family: var(--head); font-style: italic; color: var(--sand); font-size: 1.6rem; margin: 0 0 .5em; line-height: 1; }
.mk-trust__item h3 { font-size: 1.7rem; font-weight: 500; }
.mk-trust__item p:last-child { margin: 0; font-size: .97rem; }

/* ---------- Projekte: Bild-Raster ohne Lücken ---------- */
.mk-content .wp-block-gallery.has-nested-images.mk-bento {
	max-width: var(--wp--style--global--wide-size, 1320px) !important; margin: 2.6em auto 0 !important;
	display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(200px, 22vw, 300px); grid-auto-flow: dense;
}
.mk-content .mk-bento figure.wp-block-image:not(#mk-x) { width: auto !important; height: 100% !important; margin: 0 !important; overflow: hidden; position: relative; border-radius: 0; }
.mk-bento figure.wp-block-image:nth-child(6n+1) { grid-row: span 2; }
.mk-bento figure.wp-block-image:nth-child(6n+4) { grid-column: span 2; }
.mk-bento--six figure.wp-block-image:nth-child(6n) { grid-column: span 2; }
.mk-content .mk-bento figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; flex: 1; transition: transform 1.2s var(--ease); }
.mk-bento figure.wp-block-image:hover img { transform: scale(1.06); }
.mk-content .mk-bento figure.wp-block-image figcaption.wp-element-caption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 60px 22px 18px; text-align: left; max-height: none; overflow: visible;
	background: linear-gradient(0deg, rgba(9, 24, 15, .78), transparent); color: #fff; font-size: .72rem; letter-spacing: .24em; text-transform: uppercase;
	opacity: 0; transform: translateY(10px); transition: opacity .4s, transform .5s var(--ease); backdrop-filter: none;
}
.mk-bento figure.wp-block-image:hover figcaption { opacity: 1; transform: none; }
.mk-bento figure.wp-block-image::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(255, 255, 255, .5); opacity: 0; transition: opacity .5s, inset .5s var(--ease); pointer-events: none; }
.mk-bento figure.wp-block-image:hover::after { opacity: 1; inset: 16px; }
@media (max-width: 781px) {
	.mk-content .wp-block-gallery.has-nested-images.mk-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 8px; }
	.mk-bento--six figure.wp-block-image:nth-child(6n+5) { grid-column: span 2; }
	.mk-content .mk-bento figure.wp-block-image figcaption.wp-element-caption { opacity: 1; transform: none; padding: 40px 12px 10px; font-size: .62rem; letter-spacing: .16em; }
}

/* ---------- Vorher/Nachher ---------- */
.mk-vnrow { margin-top: 70px !important; text-align: left; }
.mk-vnrow h3 { font-size: clamp(2rem, 3vw, 2.6rem); }
.mk-vnrow .mk-eyebrow { justify-content: flex-start; }
.mk-vn { margin: 0; position: relative; }
.mk-vn img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.mk-vn figcaption { position: absolute; left: 12px; top: 12px; margin: 0; padding: 6px 12px; background: var(--forest); color: #fff; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; }
.mk-vnpair { gap: 16px !important; flex-wrap: nowrap !important; flex-direction: row !important; }
.mk-vnpair > .wp-block-column { flex: 1 1 0 !important; }
.mk-tint .mk-vnpair { max-width: 820px; margin: 0 auto !important; }
.has-compare > .wp-block-column:has(.mk-vn) { display: none !important; }
.mk-compare {
	--pos: 50%; position: relative; width: 100%; max-width: 460px; aspect-ratio: 3 / 4; overflow: hidden;
	box-shadow: var(--sh-l); flex: 0 0 auto; user-select: none; touch-action: pan-y; outline: 1px solid var(--sand); outline-offset: 10px;
}
.mk-vnpair.has-compare { justify-content: center; }
.mk-vnrow.has-compare { flex-wrap: nowrap; align-items: center; }
.mk-vnrow.has-compare .mk-compare { width: min(44%, 460px); }
.mk-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mk-compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.mk-compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.mk-compare__handle span {
	position: absolute; top: 50%; left: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: #fff; box-shadow: var(--sh-l);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23027820' d='M9.4 7.4 8 6l-6 6 6 6 1.4-1.4L4.8 12zM14.6 7.4 16 6l6 6-6 6-1.4-1.4 4.6-4.6z'/%3E%3C/svg%3E");
	background-size: 26px; background-position: center; background-repeat: no-repeat;
}
.mk-compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.mk-compare__tag { position: absolute; top: 14px; z-index: 2; padding: 6px 12px; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: #fff; pointer-events: none; }
.mk-compare__tag--l { left: 14px; background: var(--forest); }
.mk-compare__tag--r { right: 14px; background: var(--g); }
@media (max-width: 781px) {
	.mk-vnrow.has-compare { flex-direction: column !important; }
	.mk-vnrow.has-compare .mk-compare { width: 100%; max-width: 400px; margin: 0 auto 10px; }
}

/* ---------- Ablauf ---------- */
.mk-steps { max-width: 1180px !important; margin-top: 3em !important; display: grid; gap: 0; position: relative; }
.mk-step { padding: 34px 32px 6px 0; position: relative; border-top: 1px solid var(--line); text-align: left; }
.mk-step::before { content: ''; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--g); box-shadow: 0 0 0 6px rgba(2, 120, 32, .12); }
.mk-step__n { font-family: var(--head); font-style: italic; font-weight: 500; color: var(--sand-d); font-size: 3rem; line-height: 1; margin-bottom: .35em; }
.mk-step h3 { font-size: 1.75rem; font-weight: 500; }
.mk-step p:last-child { margin: 0; color: var(--muted); font-size: .97rem; }

/* Werdegang als Zeitleiste */
.mk-timeline { max-width: 940px !important; margin: 3em auto 0 !important; border-top: 1px solid var(--line); text-align: left; }
.mk-timeline .mk-step { display: grid; grid-template-columns: 210px 1fr; gap: 0 32px; border-top: 0; border-bottom: 1px solid var(--line); padding: 28px 0; transition: background .4s, padding .4s var(--ease); }
.mk-timeline .mk-step:hover { background: rgba(255, 255, 255, .5); padding-inline: 16px; }
.mk-timeline .mk-step::before { display: none; }
.mk-timeline .mk-step__n { grid-row: span 2; font-size: 1.7rem; color: var(--g); margin: 0; padding-top: .1em; }
.mk-timeline .mk-step h3 { margin-bottom: .2em; }
@media (max-width: 640px) { .mk-timeline .mk-step { grid-template-columns: 1fr; } .mk-timeline .mk-step__n { grid-row: auto; font-size: 1.35rem; margin-bottom: .3em; } }

/* ---------- Einsatzgebiet ---------- */
.mk-areasec { background: rgba(255, 255, 255, .42); border-block: 1px solid rgba(185, 162, 113, .22); }
.mk-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mk-chips li { padding: 10px 18px; border: 1px solid var(--line); background: rgba(251, 248, 242, .7); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; transition: border-color .3s, color .3s, transform .3s var(--ease); }
.mk-chips li:hover { border-color: var(--g); color: var(--g); transform: translateY(-3px); }
.mk-chips li:first-child { background: var(--forest); color: var(--cream); border-color: var(--forest); }

/* ---------- Handlungs-Band (Foto, Waldgrün, gerahmt) ---------- */
.mk-cta {
	background: linear-gradient(180deg, rgba(9, 24, 15, .82), rgba(9, 24, 15, .9)), url("../img/bg-wohnraum.jpg") center 60%/cover no-repeat;
	color: rgba(244, 239, 229, .8); padding-block: clamp(96px, 11vw, 150px);
}
@media (min-width: 1024px) and (hover: hover) { .mk-cta { background-attachment: scroll, fixed; } }
.mk-cta::after { content: ''; position: absolute; inset: 16px; border: 1px solid rgba(185, 162, 113, .4); pointer-events: none; }
.mk-cta > * { position: relative; z-index: 1; }
.mk-cta h2 { color: #fff; font-size: clamp(2.3rem, 4.6vw, 3.9rem); max-width: 940px !important; text-align: center; font-weight: 500; }
.mk-cta h2 em { color: var(--g-l); }
.mk-cta__kicker { font-family: var(--head); font-style: italic; font-size: 1.4rem !important; color: var(--sand) !important; text-align: center; margin-bottom: .6em !important; }
.mk-cta__text { text-align: center; max-width: 600px !important; font-size: 1.06rem; }
.mk-cta .wp-block-buttons { justify-content: center; margin-top: 2.4em; }
.mk-cta .wp-block-button__link { background: var(--g); border-color: var(--g); }
.mk-cta .wp-block-button__link::after { background: #fff; }
.mk-cta .wp-block-button__link:hover { color: var(--forest); border-color: #fff; }
.mk-cta .is-style-outline > .wp-block-button__link { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ---------- Unterseiten-Kopf: hell, Text links, gerahmtes Foto rechts ---------- */
.mk-subhero {
	position: relative; overflow: hidden; color: var(--ink);
	padding: calc(var(--headh) + 40px + clamp(48px, 6vw, 84px)) var(--pad) clamp(64px, 7vw, 96px);
	border-bottom: 1px solid rgba(185, 162, 113, .3);
}
.mk-subhero > * { position: relative; z-index: 2; }
.mk-subhero > *:not(.alignfull) { max-width: var(--wp--style--global--content-size, 1180px) !important; margin-left: auto !important; margin-right: auto !important; }
.mk-subhero h1 { margin-bottom: .35em; }
.mk-subhero h1 + .mk-lead { margin-top: 0; }
.mk-subhero .mk-lead { margin-bottom: 0; max-width: 1180px; }
.mk-subhero .mk-lead:empty { display: none; }
.mk-crumbs { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 2em; }
.mk-crumbs a { color: var(--muted); text-decoration: none; }
.mk-crumbs a:hover { color: var(--g); }
/* großes, sehr helles Pinsel-Motiv im Hintergrund */
.mk-subhero::before {
	content: ''; position: absolute; z-index: 0; left: -6%; bottom: -30%; width: 70%; height: 120%; pointer-events: none; opacity: .5;
	background: radial-gradient(closest-side, rgba(2, 120, 32, .09), transparent 70%);
}
@media (min-width: 900px) {
	.mk-has-bg .mk-subhero { min-height: calc(var(--headh) + 40px + 500px); display: flex; flex-direction: column; justify-content: center; }
	.mk-has-bg .mk-subhero > * { padding-right: min(44vw, 580px); width: 100%; }
	.mk-has-bg .mk-subhero::after {
		content: ''; position: absolute; z-index: 1; right: max(var(--pad), calc((100% - 1180px) / 2)); width: min(38vw, 500px);
		top: calc(var(--headh) + 40px + 28px); bottom: 56px;
		background: var(--mk-bg) center 45%/cover no-repeat; box-shadow: var(--sh-l);
		outline: 1px solid var(--sand); outline-offset: 12px;
		animation: mk-fadein 1.4s var(--ease) both;
	}
}
@keyframes mk-fadein { from { opacity: 0; transform: translateY(30px) scale(.98); } to { opacity: 1; transform: none; } }
.mk-subhero > * { animation: mk-up .9s var(--ease) both; }
.mk-subhero > *:nth-child(2) { animation-delay: .08s; }
.mk-subhero > *:nth-child(3) { animation-delay: .16s; }
.mk-subhero > *:nth-child(4) { animation-delay: .24s; }

/* ---------- Leistungsseite ---------- */
.mk-service h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); }
.mk-service h3 { margin-top: 1.6em; }
.mk-service__media { position: sticky; top: 120px; }
.mk-service__img { margin: 0 18px 18px 0 !important; }
.mk-service__img img { width: 100%; aspect-ratio: 4 / 4.8; object-fit: cover; box-shadow: var(--sh-l); }
@media (max-width: 781px) { .mk-service__media { position: static; } }
.mk-moresec { background: rgba(255, 255, 255, .42); border-top: 1px solid rgba(185, 162, 113, .22); }
.mk-more { max-width: 1180px; margin: 2.4em auto 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 0 40px; border-top: 1px solid var(--line); text-align: left; }
.mk-more__item {
	display: flex; align-items: center; gap: 18px; padding: 18px 4px; border-bottom: 1px solid var(--line);
	text-decoration: none; color: var(--ink); font-family: var(--head); font-weight: 500; font-size: 1.45rem; transition: color .3s, padding .4s var(--ease);
}
.mk-more__item.mk-ico::before { width: 44px; height: 44px; border-radius: 50%; background-size: 21px; flex: none; }
.mk-more__item span { flex: 1; }
.mk-more__item .mk-i { color: var(--sand-d); transition: transform .3s var(--ease); }
.mk-more__item:hover { color: var(--g); padding-left: 12px; }
.mk-more__item:hover .mk-i { transform: translateX(5px); color: var(--g); }

/* ---------- Team (Über uns) ---------- */
.mk-teamsec { padding-bottom: calc(var(--sec) + 40px); }
.mk-teamsec p { max-width: 480px; }
.mk-teamsec .wp-block-button__link::after { background: #fff; }
.mk-teamsec .wp-block-button__link:hover { color: var(--forest); border-color: #fff; }
.mk-team { gap: 44px !important; flex-wrap: nowrap !important; flex-direction: row !important; }
.mk-team > .wp-block-column { flex: 1 1 0 !important; }
.mk-team > .wp-block-column:last-child { transform: translateY(56px); }
.mk-team__img { margin: 0; }
.mk-team__img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 30%; outline: 1px solid rgba(185, 162, 113, .55); outline-offset: 10px; transition: outline-offset .5s var(--ease); }
.mk-team__img:hover img { outline-offset: 5px; }
.mk-team__img figcaption { margin-top: 22px; font-family: var(--head); font-style: italic; color: var(--cream); text-align: left; font-size: 1.45rem; }
.mk-team__img figcaption::before { content: ''; display: inline-block; width: 26px; height: 1px; background: var(--sand); vertical-align: middle; margin-right: 12px; }
@media (max-width: 781px) { .mk-team > .wp-block-column:last-child { transform: translateY(28px); } .mk-team__img figcaption { font-size: 1.15rem; } .mk-teamsec { padding-bottom: calc(var(--sec) + 20px); } }

/* ---------- Kontakt ---------- */
.mk-contact { display: grid; gap: 0; margin: 1.6em 0; border-top: 1px solid var(--line); }
.mk-contact__item { margin: 0; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--line); position: relative; line-height: 1.5; }
.mk-contact__item strong { display: block; color: var(--sand-d); font-size: .7rem; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 4px; }
.mk-contact__item a { text-decoration: none; font-family: var(--head); font-weight: 600; font-size: 1.45rem; color: var(--ink); }
.mk-contact__item a:hover { color: var(--g); }
.mk-contact__item::before { content: ''; position: absolute; left: 0; top: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper) center/19px no-repeat; }
.mk-ci-tel::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23027820' d='M6.6 10.8a15.1 15.1 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.mk-ci-wa::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23027820' d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm5.3 14.1c-.2.6-1.3 1.2-1.8 1.2s-1 .3-3.4-.7a11.7 11.7 0 0 1-4.6-4.1 5.3 5.3 0 0 1-1.1-2.8 3 3 0 0 1 1-2.3 1 1 0 0 1 .7-.3h.5c.2 0 .4 0 .6.5l.8 2a.5.5 0 0 1 0 .5l-.3.5-.4.5c-.1.1-.3.3-.1.6a7.6 7.6 0 0 0 1.4 1.8 7 7 0 0 0 2 1.3c.3.1.5.1.6-.1l.9-1c.2-.3.4-.2.6-.1l1.9.9c.3.1.4.2.5.3a2.2 2.2 0 0 1-.2 1.3z'/%3E%3C/svg%3E"); }
.mk-ci-mail::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23027820' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4.2-8 5-8-5V6l8 5 8-5z'/%3E%3C/svg%3E"); }
.mk-ci-pin::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23027820' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6.5a2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }

/* Symbole je Leistung (Liste „Weitere Leistungen“) */
.mk-ico::before {
	content: ''; display: block; width: 56px; height: 56px; border-radius: 50%; background-color: var(--g-50);
	background-repeat: no-repeat; background-position: center; background-size: 28px; transition: background-color .3s, transform .3s;
}
.mk-ico-fassadengestaltung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18M5 21V10l7-6 7 6v11'/%3E%3Cpath d='M9 21v-6h6v6M9 11h.01M15 11h.01'/%3E%3C/svg%3E"); }
.mk-ico-waermedaemmung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M12 18a2 2 0 0 0 2-2c0-1.5-2-4-2-4s-2 2.5-2 4a2 2 0 0 0 2 2z'/%3E%3C/svg%3E"); }
.mk-ico-innenanstriche::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='15' height='6' rx='1.5'/%3E%3Cpath d='M18 6h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1h-8v3'/%3E%3Crect x='10.5' y='14' width='3' height='7' rx='1'/%3E%3C/svg%3E"); }
.mk-ico-wandgestaltung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 15l9-9 5 5-9 9H4z'/%3E%3Cpath d='M13 6l2-2 5 5-2 2M4 20h16'/%3E%3C/svg%3E"); }
.mk-ico-tapezierarbeiten::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h10a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5z'/%3E%3Cpath d='M17 7h2a2 2 0 0 1 2 2v0a2 2 0 0 1-2 2h-2M9 7l2 2-2 2 2 2-2 2'/%3E%3C/svg%3E"); }
.mk-ico-lackierarbeiten::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 3h6v4H9zM10 7v3M14 7v3'/%3E%3Cpath d='M8 10h8l1 4v6a1 1 0 0 1-1 1H8a1 1 0 0 1-1-1v-6z'/%3E%3Cpath d='M7 15h10'/%3E%3C/svg%3E"); }
.mk-ico-bodengestaltung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 15l9-5 9 5-9 5z'/%3E%3Cpath d='M7.5 12.5l9 5M16.5 12.5l-9 5'/%3E%3C/svg%3E"); }
.mk-ico-lasuranstriche::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3s6 6.5 6 11a6 6 0 0 1-12 0c0-4.5 6-11 6-11z'/%3E%3Cpath d='M9.5 15a2.5 2.5 0 0 0 2.5 2.5'/%3E%3C/svg%3E"); }
.mk-ico-schimmelsanierung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.5-3 8.5-7 10-4-1.5-7-5.5-7-10V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }

.mk-formcard { background: var(--paper); padding: clamp(26px, 3.6vw, 48px); box-shadow: var(--sh-l); position: relative; outline: 1px solid var(--sand); outline-offset: 12px; }
.mk-formcard h2 { font-size: 2.4rem; }

/* Fluent Forms im Look der Seite */
.mk-formcard .fluentform .ff-el-group { margin-bottom: 18px; }
.mk-formcard .fluentform .ff-el-input--label label { font-family: var(--body); font-weight: 500; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
.mk-formcard .fluentform .ff-el-is-required.asterisk-right label::after { color: var(--g); }
.mk-formcard .fluentform .ff-el-form-control {
	font-family: var(--body); font-size: 1rem; color: var(--ink); padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r);
	background: #fff; box-shadow: none; transition: border-color .2s, box-shadow .2s; min-height: 50px;
}
.mk-formcard .fluentform .ff-el-form-control:focus { border-color: var(--g); box-shadow: 0 0 0 4px rgba(2, 120, 32, .1); outline: none; }
.mk-formcard .fluentform textarea.ff-el-form-control { min-height: 140px; }
.mk-formcard .fluentform .ff-el-tc label, .mk-formcard .fluentform .ff_t_c { font-size: .88rem; color: var(--muted); line-height: 1.5; text-transform: none; letter-spacing: 0; }
.mk-formcard .fluentform .ff-el-form-check-input { accent-color: var(--g); width: 18px; height: 18px; }
.mk-formcard .fluentform .ff-btn-submit, .mk-formcard .fluentform .ff_btn_style {
	background: var(--g) !important; border: 1px solid var(--g) !important; border-radius: var(--r) !important; padding: 18px 34px !important;
	font-family: var(--body) !important; font-weight: 500 !important; font-size: .8rem !important; letter-spacing: .18em; text-transform: uppercase; color: #fff !important; transition: background .3s, box-shadow .3s;
}
.mk-formcard .fluentform .ff-btn-submit:hover { background: var(--forest) !important; border-color: var(--forest) !important; box-shadow: 0 14px 30px rgba(15, 38, 25, .22); }
.mk-formcard .ff-message-success { border: 1px solid var(--g-50) !important; background: var(--g-50) !important; color: var(--g-d) !important; border-radius: var(--r); box-shadow: none !important; padding: 18px 20px !important; }
.mk-formcard .fluentform .error { color: #b3261e; font-size: .85rem; }
.mk-formcard .ff-t-container { gap: 16px; }
@media (max-width: 640px) { .mk-formcard .fluentform .ff-t-container { display: block; } .mk-formcard { outline-offset: 6px; } }

/* Eigenes Formular (Rückfall) */
.mk-form { display: grid; gap: 16px; }
.mk-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .mk-form__row { grid-template-columns: 1fr; } }
.mk-form label { display: grid; gap: 6px; font-weight: 500; font-size: .9rem; color: var(--ink); }
.mk-form input[type=text], .mk-form input[type=email], .mk-form input[type=tel], .mk-form select, .mk-form textarea { width: 100%; font: inherit; font-size: 1rem; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.mk-form__check { display: flex !important; align-items: flex-start; gap: 12px !important; font-weight: 400 !important; color: var(--muted) !important; }
.mk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.mk-form-msg { padding: 16px 18px; margin-bottom: 18px; }
.mk-form-msg--ok { background: var(--g-50); color: var(--g-d); }
.mk-form-msg--err { background: #fdf0ef; color: #8f2a20; }

/* ---------- Rechtstexte ---------- */
.mk-legal { max-width: 860px; margin: 0 auto !important; }
.mk-legal h2 { font-size: 2rem; margin-top: 1.6em; }
.mk-legal h2:first-child { margin-top: 0; }
.mk-legal h3 { font-size: 1.45rem; margin-top: 1.4em; }
.mk-legal p { font-size: .98rem; }
.mk-plain { padding-block: calc(var(--headh) + 120px) var(--sec); }

/* ---------- 404 ---------- */
.mk-404 { padding: calc(var(--headh) + 160px) 0 var(--sec); text-align: center; }
.mk-404 .mk-eyebrow { justify-content: center; }
.mk-404__links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 1.6em; }

/* ---------- Fußzeile (gerahmt wie bei La Maison) ---------- */
.mk-footer { background: var(--forest); color: rgba(244, 239, 229, .66); font-size: .95rem; position: relative; padding: 16px; }
.mk-footer__frame { border: 1px solid rgba(185, 162, 113, .38); }
.mk-footer__top { text-align: center; padding: clamp(56px, 7vw, 90px) var(--pad) clamp(40px, 5vw, 60px); }
.mk-footer__top img { width: 150px; margin: 0 auto 26px; }
.mk-footer__claim { font-family: var(--head); font-weight: 500; color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; margin: 0 0 .2em; }
.mk-footer__claim em { font-style: italic; color: var(--g-l); }
.mk-footer__sub { font-size: .72rem; letter-spacing: .28em; text-transform: uppercase; color: var(--sand); margin: 0 0 2.2em; }
.mk-footer__top-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.mk-footer__top-btns .mk-btn::after { background: #fff; }
.mk-footer__top-btns .mk-btn:hover { color: var(--forest); border-color: #fff; }
.mk-footer__top-btns .mk-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .4); }
.mk-footer__rule { width: 64px; height: 1px; background: var(--sand); margin: 0 auto; border: 0; }
.mk-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1fr; gap: 44px; padding-block: clamp(44px, 5vw, 64px) 40px; }
@media (max-width: 980px) { .mk-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mk-footer__grid { grid-template-columns: 1fr; gap: 32px; } .mk-footer { padding: 10px; } }
.mk-footer__brand p { max-width: 300px; }
.mk-footer__h { font-family: var(--body); font-size: .7rem; font-weight: 500; letter-spacing: .26em; text-transform: uppercase; color: var(--sand); margin-bottom: 1.4em; }
.mk-footer__list, .mk-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mk-footer a { color: rgba(244, 239, 229, .88); text-decoration: none; transition: color .2s; }
.mk-footer a:hover { color: var(--g-l); }
.mk-footer__contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.mk-footer__contact .mk-i { color: var(--sand); margin-top: .3em; }
.mk-footer__area { line-height: 1.7; }
.mk-footer__social { display: flex; gap: 10px; margin-top: 18px; }
.mk-footer__social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(244, 239, 229, .22); transition: background .25s, border-color .25s; }
.mk-footer__social a:hover { background: var(--g); border-color: var(--g); color: #fff; }
.mk-footer__social .mk-i { width: 19px; height: 19px; }
.mk-footer__bottom { border-top: 1px solid rgba(244, 239, 229, .1); font-size: .8rem; letter-spacing: .04em; color: rgba(244, 239, 229, .5); }
.mk-footer__bottom-in { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-block: 22px; }
.mk-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; gap: 24px; }

/* ---------- WhatsApp-Knopf ---------- */
.mk-wa { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(0, 0, 0, .22); transition: transform .2s; }
.mk-wa::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: mk-pulse 2.6s ease-out infinite; }
@keyframes mk-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.mk-wa:hover { transform: scale(1.06); color: #fff; }
.mk-wa .mk-i { width: 30px; height: 30px; }

/* ---------- Einblenden beim Scrollen ---------- */
.mk-anim { opacity: 0; transform: translateY(30px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.mk-anim.is-in { opacity: 1; transform: none; }
.mk-anim-img { clip-path: inset(12% 0 12% 0); transition: clip-path 1.3s var(--ease); }
.mk-anim-img img { transform: scale(1.12); transition: transform 1.6s var(--ease) !important; }
.mk-anim-img.is-in { clip-path: inset(0 0 0 0); }
.mk-anim-img.is-in img { transform: none; }
.mk-bento figure.mk-anim-img.is-in:hover img { transform: scale(1.06); }

/* ---------- Raster fest (schlägt die WordPress-Layoutregeln) ---------- */
.mk-content .mk-facts__grid.mk-facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk-content .mk-trust.mk-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mk-content .mk-steps.mk-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 34px; }
@media (max-width: 1100px) {
	.mk-content .mk-trust.mk-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
	.mk-trust__item:nth-child(3)::before { display: none; }
}
@media (max-width: 900px) {
	.mk-content .mk-facts__grid.mk-facts__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; }
	.mk-fact:nth-child(3)::before { display: none; }
	.mk-content .mk-steps.mk-steps { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 640px) {
	.mk-content .mk-trust.mk-trust { grid-template-columns: 1fr; }
	.mk-trust__item { padding: 22px 0 0; border-top: 1px solid var(--line-l); }
	.mk-trust__item::before { display: none; }
	.mk-team { flex-direction: row !important; }
	.mk-fact__big { font-size: 2.6rem; }
	.mk-fact__label { font-size: .66rem; letter-spacing: .14em; }
	.mk-fact { padding: 6px 8px; }
}

/* ---------- Editor: Abschnitte gut erkennbar ---------- */
.editor-styles-wrapper .mk-anim, .editor-styles-wrapper .mk-hero__text > *, .editor-styles-wrapper .mk-subhero > * { opacity: 1; transform: none; animation: none; }
.editor-styles-wrapper .mk-anim-img { clip-path: none; }
.editor-styles-wrapper .mk-hero { min-height: 0; padding: 40px 24px; }
.editor-styles-wrapper .mk-hero::before, .editor-styles-wrapper .mk-hero::after, .editor-styles-wrapper .mk-subhero::after, .editor-styles-wrapper .mk-dark::after, .editor-styles-wrapper .mk-cta::after { display: none; }
.editor-styles-wrapper .mk-hero > .mk-slides { position: static !important; display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 24px !important; }
.editor-styles-wrapper .mk-slides figure.wp-block-image { position: relative !important; opacity: 1; height: 120px; }
.editor-styles-wrapper .mk-subhero { padding: 48px 24px; }
.editor-styles-wrapper .mk-sec { padding: 56px 24px; }
.editor-styles-wrapper .mk-row__img { display: block; max-width: 120px; }
.editor-styles-wrapper .mk-portrait::after { display: none; }
.editor-styles-wrapper .mk-marquee { white-space: normal; padding: 1em; }
.mk-center > .wp-block-buttons { justify-content: center; }
@media (max-width: 781px) { .mk-team { gap: 22px !important; } .mk-team__img figcaption { font-size: 1rem; margin-top: 16px; } .mk-team__img figcaption::before { width: 14px; margin-right: 8px; } }

/* ===== Header-Film (12.11.2026) – Video statt Foto-Slider, leichter warmer Farbschleier wie bei La Maison ===== */
.mk-content .mk-hero > .mk-hero__video { position: absolute; inset: 0; z-index: 0; margin: 0 !important; max-width: none !important; width: 100%; height: 100%; overflow: hidden; background: var(--forest); }
.mk-hero__video video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.82) contrast(1.04) brightness(.96); }
.mk-hero__video::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(214, 188, 150, .28), rgba(2, 120, 32, .10) 60%, rgba(214, 188, 150, .18)); mix-blend-mode: soft-light; }
.mk-hero__video::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: rgba(233, 215, 190, .10); }
@media (prefers-reduced-motion: reduce) { .mk-hero__video video { animation: none; } }

/* ===== Filme auf der Referenzen-Seite ===== */
.mk-films { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 2.4rem auto 1.6rem; max-width: 1180px; text-align: left; }
.mk-film { margin: 0; }
.mk-film .wp-block-video { margin: 0; position: relative; border: 1px solid rgba(2, 120, 32, .22); padding: 8px; background: rgba(255, 255, 255, .35); }
.mk-film video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: #10291a; }
.mk-film__cap { font-family: var(--head); font-style: italic; font-size: 1.15rem; margin: .8rem 0 0; }
@media (max-width: 860px) { .mk-films { grid-template-columns: 1fr; } }

/* ===== Instagram / TikTok / Facebook mit Logo ===== */
.mk-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.2rem; }
.mk-center .mk-social { justify-content: center; }
.mk-social__a { display: inline-flex; align-items: center; gap: 10px; padding: .7em 1.2em; border: 1px solid rgba(2, 120, 32, .35); color: inherit; text-decoration: none; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.mk-social__a .mk-i { width: 20px; height: 20px; fill: currentColor; flex: none; }
.mk-social__a--instagram .mk-i { fill: #c13584; }
.mk-social__a--tiktok .mk-i { fill: #111; filter: drop-shadow(1.2px 1.2px 0 #fe2c55) drop-shadow(-1.2px -1.2px 0 #25f4ee); }
.mk-social__a--facebook .mk-i { fill: #1877f2; }
.mk-social__a:hover { background: var(--forest); border-color: var(--forest); color: #fff; }
.mk-social__a:hover .mk-i { fill: #fff; filter: none; }
.editor-styles-wrapper .mk-hero > .mk-hero__video { position: static !important; height: auto; margin-bottom: 24px !important; }
.mk-filmsec .mk-small { text-align: center; margin-top: 1.4rem; }

/* ===== Zeilenumbrüche: keine einzelnen Wörter in der letzten Zeile ===== */
h1, h2, h3, .mk-slogan { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* ===== Unterseiten-Kopf mit Video (Lackier-, Boden-, Innenanstrich-Seite) ===== */
.mk-subhero--video { color: #fff; background: var(--forest); min-height: min(78vh, 720px); display: flex; flex-direction: column; justify-content: center; border-bottom: 0; }
.mk-content .mk-subhero--video > .mk-subhero__video { position: absolute; inset: 0; z-index: 0; margin: 0 !important; max-width: none !important; width: 100%; height: 100%; overflow: hidden; animation: none; }
.mk-subhero__video video { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.82) contrast(1.04) brightness(.96); }
.mk-subhero__video::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(120deg, rgba(214, 188, 150, .28), rgba(2, 120, 32, .10) 60%, rgba(214, 188, 150, .18)); mix-blend-mode: soft-light; }
.mk-subhero--video::before { left: 0; bottom: 0; width: 100%; height: 100%; opacity: 1; z-index: 1;
	background: radial-gradient(ellipse at 50% 55%, rgba(9, 24, 15, .62) 0%, rgba(9, 24, 15, .5) 55%, rgba(9, 24, 15, .35) 100%), linear-gradient(180deg, rgba(9, 24, 15, .55) 0%, rgba(9, 24, 15, 0) 30%, rgba(9, 24, 15, .4) 100%); }
.mk-subhero--video::after { content: ''; position: absolute; inset: 16px; z-index: 3; pointer-events: none; border: 1px solid rgba(244, 239, 229, .32); }
.mk-subhero--video h1 { color: #fff; }
.mk-subhero--video h1 em { color: var(--g-l); }
.mk-subhero--video .mk-lead { color: rgba(244, 239, 229, .85); max-width: 640px; }
.mk-subhero--video .mk-eyebrow { color: var(--sand); }
.mk-subhero--video .mk-crumbs, .mk-subhero--video .mk-crumbs a { color: rgba(244, 239, 229, .7); }
.mk-subhero--video .mk-crumbs a:hover { color: #fff; }
@media (max-width: 782px) { .mk-subhero--video { min-height: 0; } .mk-subhero--video::before { background: linear-gradient(180deg, rgba(9, 24, 15, .72) 0%, rgba(9, 24, 15, .78) 60%, rgba(9, 24, 15, .9) 100%); } .mk-subhero--video::after { inset: 10px; } }
.editor-styles-wrapper .mk-subhero--video > .mk-subhero__video { position: static !important; height: auto; margin-bottom: 24px !important; }

/* ===== Filme: eigener Play-Knopf statt Browser-Leiste (kein Lautsprecher-Symbol, Filme sind stumm) ===== */
.mk-film .wp-block-video { cursor: pointer; }
.mk-film .wp-block-video::after { content: ''; position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; pointer-events: none;
	background: rgba(15, 38, 25, .72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% 50%/28px no-repeat;
	border: 1px solid rgba(255, 255, 255, .6); transition: opacity .3s ease, transform .3s ease; }
.mk-film .wp-block-video.is-playing::after { opacity: 0; transform: scale(.8); }
.mk-subhero--video > *:not(.mk-subhero__video) { text-align: center; }
.mk-subhero--video .mk-eyebrow { justify-content: center; }
.mk-subhero--video .mk-lead { margin-left: auto !important; margin-right: auto !important; }

/* ===== Fix 12.11.: Handy-Menü klappte nur ~50 px auf – der Weichzeichner (backdrop-filter) am Kopf
   macht ihn zum Bezugsrahmen für das feste Menü. Bei offenem Menü: fester Hintergrund, kein Filter, keine Animation. ===== */
.mk-nav-open .mk-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: var(--cream) !important; animation: none !important; transform: none !important; }

/* ===== Bildbeschriftungen im Raster auch auf dem Desktop immer sichtbar (weiß, wie auf dem Handy) ===== */
.mk-content .mk-bento figure.wp-block-image figcaption.wp-element-caption { opacity: 1; transform: none; }
.mk-nav-open .mk-header { z-index: 300; } .mk-nav-open .mk-nav { z-index: 299; }

/* ===== Startseite: mehr Luft zwischen Slogan, H1, Text und Buttons (Florian 12.11.) ===== */
.mk-content .mk-hero .mk-hero__text > .mk-slogan { margin-bottom: clamp(26px, 3vw, 46px) !important; }
.mk-content .mk-hero .mk-hero__text > h1 { margin-top: 0 !important; margin-bottom: clamp(16px, 1.6vw, 24px) !important; }
.mk-content .mk-hero .mk-hero__text > .mk-lead { margin-top: 0 !important; }
.mk-content .mk-hero .mk-hero__text > .wp-block-buttons { margin-top: clamp(30px, 3.2vw, 48px) !important; }
@media (max-width: 782px) {
	.mk-content .mk-hero .mk-hero__text > .mk-slogan { margin-bottom: 52px !important; }
	.mk-content .mk-hero .mk-hero__text > h1 { margin-bottom: 10px !important; }
}

/* ---------- 1.6.0 (13.11.2026): Gerüst-Hinweis, Vorher/Nachher-Raster, Wasserschaden ---------- */
.mk-note { margin: 1.6em 0 !important; padding: 18px 22px 18px 24px; background: var(--paper, #fff); border-left: 3px solid var(--g); box-shadow: 0 6px 24px rgba(20, 40, 25, .06); font-size: .98rem; line-height: 1.65; }
.mk-note strong { color: var(--g); font-weight: 600; }
.mk-vngrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 56px 40px; max-width: 1360px; margin: 2.4em auto 0; }
.mk-vnitem { display: flex; flex-direction: column; align-items: center; flex: 0 1 400px; min-width: 0; }
.mk-vngrid .mk-vnpair { max-width: none !important; width: 100%; margin: 0 !important; }
.mk-vngrid .mk-compare { max-width: 400px; margin: 0 auto; }
.mk-vncap { margin: 26px 0 0 !important; font-family: var(--head); font-style: italic; font-size: 1.35rem; text-align: center; }
@media (max-width: 781px) { .mk-vngrid { gap: 44px; } .mk-vnitem { flex-basis: 100%; } .mk-vncap { font-size: 1.15rem; margin-top: 20px !important; } }
.mk-ico-wasserschadensanierung::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23027820' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10.5L12 4l9 6.5'/%3E%3Cpath d='M5 9.5V20h14V9.5'/%3E%3Cpath d='M12 10.5s-2.6 3-2.6 4.8a2.6 2.6 0 0 0 5.2 0c0-1.8-2.6-4.8-2.6-4.8z'/%3E%3C/svg%3E"); }

/* ---------- 1.7.0: alle Fotos (gleichmäßiges Raster, Klick = groß), Imagefilm ---------- */
.mk-content .wp-block-gallery.has-nested-images.mk-pics {
	display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px;
	max-width: var(--wp--style--global--wide-size, 1320px) !important; margin: 1.4em auto 0 !important;
}
.mk-content .mk-pics figure.wp-block-image:not(#mk-x) { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.mk-content .mk-pics figure.wp-block-image img { width: 100% !important; height: 100% !important; object-fit: cover; transition: transform 1s var(--ease); }
.mk-pics figure.wp-block-image:hover img { transform: scale(1.05); }
.mk-pics__title { margin: 2.6em 0 0 !important; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.mk-allsec .mk-pics__title:first-of-type { margin-top: 1.2em !important; }
.mk-refsec .mk-vngrid + .mk-intro { margin-top: 3.4em; }
@media (max-width: 900px) { .mk-content .wp-block-gallery.has-nested-images.mk-pics { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mk-content .wp-block-gallery.has-nested-images.mk-pics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
.mk-film--wide { max-width: 980px; margin: 2.4rem auto 0 !important; text-align: left; }
.mk-refsec__more { justify-content: center; margin-top: 2.6em !important; }

/* ---------- 1.8.0: Jingle-Knopf im Startbereich ---------- */
.mk-sound { margin-top: 26px; display: inline-flex; align-items: center; gap: 14px; padding: 0; background: none; border: 0; color: #fff; cursor: pointer; font-family: var(--body, "Jost", sans-serif); font-weight: 500; font-size: .74rem; letter-spacing: .24em; text-transform: uppercase; }
.mk-sound__ico { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); display: inline-flex; align-items: center; justify-content: center; gap: 3px; transition: background-color .3s, border-color .3s; }
.mk-sound__ico i { display: block; width: 3px; height: 10px; border-radius: 2px; background: #fff; transform-origin: 50% 50%; }
.mk-sound__ico i:nth-child(2) { height: 17px; }
.mk-sound__ico i:nth-child(3) { height: 13px; }
.mk-sound__ico i:nth-child(4) { height: 7px; }
.mk-sound:hover .mk-sound__ico, .mk-sound:focus-visible .mk-sound__ico { border-color: #fff; background: rgba(255, 255, 255, .1); }
.mk-sound.is-on .mk-sound__ico { background: var(--g); border-color: var(--g); }
.mk-sound.is-on .mk-sound__ico i { animation: mkEq .7s ease-in-out infinite alternate; }
.mk-sound.is-on .mk-sound__ico i:nth-child(2) { animation-delay: -.25s; }
.mk-sound.is-on .mk-sound__ico i:nth-child(3) { animation-delay: -.5s; }
.mk-sound.is-on .mk-sound__ico i:nth-child(4) { animation-delay: -.12s; }
@keyframes mkEq { from { transform: scaleY(.35); } to { transform: scaleY(1.15); } }
@media (prefers-reduced-motion: reduce) { .mk-sound.is-on .mk-sound__ico i { animation: none; } }
