/* ==========================================================================
   Miramar – Grundsystem
   ========================================================================== */
:root {
	--ink: #16213a;
	--ink-2: #3b4559;
	--muted: #6b7385;
	--navy: #173773;
	--navy-deep: #0e2450;
	--teal: #1d8f9b;
	--gold: #b89c63;
	--gold-ink: #8a7240;
	--sand: #f4efe4;
	--shell: #fbf9f4;
	--bg: #fcfbf8;
	--line: #e7e1d3;
	--line-soft: #efeadf;
	--white: #fff;

	--font-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--content: 720px;
	--wide: 1200px;
	--gutter: clamp(20px, 4vw, 40px);
	--header-h: 76px;
	--radius: 18px;
	--radius-sm: 12px;
	--shadow-sm: 0 1px 2px rgba(22, 33, 58, .06), 0 2px 8px rgba(22, 33, 58, .04);
	--shadow: 0 1px 2px rgba(22, 33, 58, .05), 0 12px 32px -8px rgba(22, 33, 58, .14);
	--shadow-lg: 0 2px 4px rgba(22, 33, 58, .04), 0 24px 64px -16px rgba(22, 33, 58, .22);

	--ease-out: cubic-bezier(.23, 1, .32, 1);
	--ease-in-out: cubic-bezier(.77, 0, .175, 1);
	--ease-drawer: cubic-bezier(.32, .72, 0, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink-2);
	font-family: var(--font-sans);
	font-size: 1.0625rem;
	line-height: 1.7;
	font-feature-settings: "cv11", "ss01";
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
::selection { background: rgba(184, 156, 99, .28); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	font-family: var(--font-serif);
	font-weight: 400;
	color: var(--ink);
	line-height: 1.12;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
	font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.25rem); letter-spacing: -.025em; line-height: 1.04; }
h2 { font-size: clamp(2rem, 3.4vw, 2.875rem); }
h3 { font-size: clamp(1.375rem, 2vw, 1.625rem); line-height: 1.2; }
h4 { font-size: 1.1875rem; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
strong { color: var(--ink); font-weight: 600; }

.mm-icon { width: 22px; height: 22px; flex: none; }
.mm-container { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.mm-eyebrow {
	font-family: var(--font-sans);
	font-size: .75rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gold-ink);
	margin: 0 0 14px;
}
.mm-eyebrow a { color: inherit; text-decoration: none; }
.mm-lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.mm-skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; }
.mm-skip:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ==========================================================================
   Buttons – drücken sich spürbar ein (scale .97), Hover nur mit Maus
   ========================================================================== */
.mm-btn, .wp-block-button__link, .wp-element-button {
	--btn-bg: var(--navy);
	--btn-fg: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg);
	font: 600 .9375rem/1.2 var(--font-sans);
	letter-spacing: .005em;
	text-decoration: none;
	cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, box-shadow 200ms ease;
	-webkit-tap-highlight-color: transparent;
}
.mm-btn .mm-icon, .wp-block-button__link .mm-icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
.mm-btn:active, .wp-block-button__link:active { transform: scale(.97); }
.mm-btn-sm { min-height: 40px; padding: 8px 18px; font-size: .875rem; }
.mm-btn-block { width: 100%; }
.mm-btn-ghost, .is-style-outline .wp-block-button__link {
	--btn-bg: transparent;
	--btn-fg: var(--navy);
	box-shadow: inset 0 0 0 1.5px rgba(23, 55, 115, .28);
}
.mm-btn-light { --btn-bg: #fff; --btn-fg: var(--navy); }
.mm-btn-row, .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
@media (hover: hover) and (pointer: fine) {
	.mm-btn:hover, .wp-block-button__link:hover { --btn-bg: var(--navy-deep); }
	.mm-btn:hover .mm-icon { transform: translateX(2px); }
	.mm-btn-ghost:hover, .is-style-outline .wp-block-button__link:hover { --btn-bg: rgba(23, 55, 115, .06); box-shadow: inset 0 0 0 1.5px rgba(23, 55, 115, .5); }
	.mm-btn-light:hover { --btn-bg: var(--sand); }
}
.mm-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--navy); }
.mm-link .mm-icon { width: 16px; height: 16px; transition: transform 200ms var(--ease-out); }

/* ==========================================================================
   Header
   ========================================================================== */
.mm-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 50;
	height: var(--header-h);
	background: rgba(252, 251, 248, .86);
	-webkit-backdrop-filter: saturate(1.4) blur(14px);
	backdrop-filter: saturate(1.4) blur(14px);
	box-shadow: 0 1px 0 rgba(22, 33, 58, .07);
	transition: background-color 240ms ease, box-shadow 240ms ease, color 240ms ease;
}
.mm-main { padding-top: var(--header-h); }
body.has-hero .mm-main { padding-top: 0; }
body.has-hero .mm-header:not(.is-solid) {
	background: transparent;
	box-shadow: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	color: #fff;
}
.mm-header-inner {
	height: 100%;
	width: min(100% - 2 * var(--gutter), 1320px);
	margin-inline: auto;
	display: flex;
	align-items: center;
	gap: 24px;
}
.mm-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; margin-right: auto; }
.mm-brand-mark { width: 40px; height: 40px; }
.mm-brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.mm-brand-name { font-family: var(--font-serif); font-size: 1.3125rem; color: var(--navy); letter-spacing: -.01em; transition: color 240ms ease; }
.mm-brand-place { font-size: .6875rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-ink); margin-top: 3px; transition: color 240ms ease; }
body.has-hero .mm-header:not(.is-solid) .mm-brand-name { color: #fff; }
body.has-hero .mm-header:not(.is-solid) .mm-brand-place { color: rgba(255, 255, 255, .78); }

.mm-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.mm-menu > li { position: relative; display: flex; align-items: center; }
.mm-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 999px;
	color: var(--ink);
	font-size: .9375rem;
	font-weight: 500;
	text-decoration: none;
	transition: background-color 160ms ease, color 160ms ease;
}
body.has-hero .mm-header:not(.is-solid) .mm-menu > li > a { color: #fff; }
.mm-menu > li.current-menu-item > a, .mm-menu > li.current-menu-ancestor > a, .mm-menu > li.current-page-ancestor > a { color: var(--navy); background: rgba(23, 55, 115, .07); }
.mm-sub-toggle { display: none; }

/* Dropdown: wächst aus seinem Auslöser (transform-origin oben links) */
.mm-menu .sub-menu {
	list-style: none;
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 230px;
	margin: 0;
	padding: 8px;
	background: #fff;
	border-radius: 14px;
	box-shadow: var(--shadow-lg), 0 0 0 1px rgba(22, 33, 58, .06);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px) scale(.97);
	transform-origin: top left;
	transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.mm-menu .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.mm-menu .sub-menu a { padding: 10px 12px; border-radius: 9px; color: var(--ink) !important; font-size: .9375rem; }
.mm-menu > li:focus-within > .sub-menu,
.mm-menu > li.is-open > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s;
}
@media (hover: hover) and (pointer: fine) {
	.mm-menu > li:hover > .sub-menu {
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 0s;
	}
	.mm-menu a:hover { background: rgba(23, 55, 115, .06); }
	body.has-hero .mm-header:not(.is-solid) .mm-menu > li > a:hover { background: rgba(255, 255, 255, .14); }
	.mm-menu .sub-menu a:hover { background: var(--sand); }
}
body.has-hero .mm-header:not(.is-solid) .mm-header-cta { --btn-bg: #fff; --btn-fg: var(--navy); }

.mm-burger, .mm-icon-btn {
	display: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: inherit;
	place-items: center;
	cursor: pointer;
	transition: transform 160ms var(--ease-out), background-color 160ms ease;
	-webkit-tap-highlight-color: transparent;
}
.mm-burger:active, .mm-icon-btn:active { transform: scale(.94); }
.mm-icon-btn { display: grid; }

@media (max-width: 1080px) {
	.mm-nav, .mm-header-cta { display: none; }
	.mm-burger { display: grid; margin-right: -10px; }
}

/* Drawer (mobil) – iOS-artige Kurve, schließt schneller als er öffnet */
.mm-drawer { position: fixed; inset: 0; z-index: 80; }
.mm-drawer[hidden] { display: none; }
.mm-drawer-backdrop { position: absolute; inset: 0; background: rgba(14, 22, 40, .42); opacity: 0; transition: opacity 240ms ease; }
.mm-drawer-panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(400px, 88vw);
	display: flex;
	flex-direction: column;
	background: var(--bg);
	box-shadow: var(--shadow-lg);
	transform: translateX(100%);
	transition: transform 260ms var(--ease-out);
	overflow-y: auto;
	overscroll-behavior: contain;
}
.mm-drawer.is-open .mm-drawer-backdrop { opacity: 1; transition-duration: 320ms; }
.mm-drawer.is-open .mm-drawer-panel { transform: none; transition: transform 460ms var(--ease-drawer); }
.mm-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 16px 24px; border-bottom: 1px solid var(--line-soft); }
.mm-drawer-menu { list-style: none; margin: 0; padding: 12px 12px 0; }
.mm-drawer-menu > li { position: relative; border-bottom: 1px solid var(--line-soft); }
.mm-drawer-menu a { display: block; padding: 16px 12px; color: var(--ink); text-decoration: none; font-family: var(--font-serif); font-size: 1.375rem; }
.mm-drawer-menu .sub-menu { list-style: none; margin: 0; padding: 0 0 12px 12px; display: none; }
.mm-drawer-menu .sub-menu a { font-family: var(--font-sans); font-size: 1rem; padding: 10px 12px; color: var(--ink-2); }
.mm-drawer-menu li.is-open > .sub-menu { display: block; }
.mm-drawer-menu .mm-sub-toggle {
	display: grid;
	place-items: center;
	position: absolute;
	right: 4px;
	top: 10px;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--muted);
	cursor: pointer;
}
.mm-drawer-menu .mm-sub-toggle .mm-icon { transition: transform 200ms var(--ease-out); }
.mm-drawer-menu li.is-open > .mm-sub-toggle .mm-icon { transform: rotate(180deg); }
.mm-drawer-foot { margin-top: auto; padding: 24px; display: grid; gap: 14px; }
.mm-drawer-contact { display: flex; align-items: center; gap: 10px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.mm-drawer-contact .mm-icon { width: 18px; height: 18px; color: var(--gold-ink); }
html.mm-locked { overflow: hidden; }

/* ==========================================================================
   Inhalte (Block-Editor)
   ========================================================================== */
.mm-content > * { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }
.mm-content > .alignwide { width: min(100% - 2 * var(--gutter), var(--wide)); }
.mm-content > .alignfull { width: 100%; }
.mm-content > :first-child:not(.alignfull) { margin-top: 0; }
.mm-content { padding-bottom: clamp(64px, 9vw, 120px); }
body.has-hero .mm-content, .mm-content:has(> .alignfull:last-child) { padding-bottom: 0; }
.mm-content > h2 { margin-top: 1.6em; }
.mm-content > h3 { margin-top: 1.5em; }
/* Abschnitte als Gruppe mit eigener Überschrift (z. B. Galerie): Abstand zum vorherigen Abschnitt */
.mm-content > .wp-block-group:not(.alignfull):not(:first-child):has(> :is(h2, h3):first-child) { margin-top: clamp(56px, 7vw, 96px); }
.mm-content ul:not([class*="mm-"]), .mm-content ol:not([class*="mm-"]) { padding-left: 1.2em; }
.mm-content li::marker { color: var(--gold); }
.mm-content figure { margin-block: 32px; }
.mm-content figure img { border-radius: var(--radius-sm); }
.mm-content figcaption { font-size: .875rem; color: var(--muted); margin-top: 10px; text-align: left; }
.mm-content hr { border: 0; height: 1px; background: var(--line); margin-block: 48px; }
.mm-content blockquote { margin-block: 32px; padding: 4px 0 4px 24px; border-left: 2px solid var(--gold); font-family: var(--font-serif); font-size: 1.375rem; color: var(--ink); }
.mm-content table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.mm-content th, .mm-content td { text-align: left; padding: 12px 8px; border-bottom: 1px solid var(--line); }

/* Abschnitte */
.mm-section { padding-block: clamp(72px, 10vw, 136px); }
.mm-section-tight { padding-block: clamp(40px, 6vw, 72px); }
.mm-section.is-sand { background: var(--sand); }
.mm-section.is-navy { background: var(--navy); color: rgba(255, 255, 255, .82); }
.mm-section.is-navy :is(h2, h3, strong) { color: #fff; }
.mm-section.is-navy .mm-eyebrow { color: #d6c49b; }
.mm-section { margin: 0 !important; }
.mm-inner { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.mm-inner > :last-child { margin-bottom: 0; }
.mm-intro { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px) !important; }
.mm-intro.is-center { margin-inline: auto; text-align: center; }
.mm-intro > :last-child { margin-bottom: 0; }
.mm-section-title { margin-bottom: 40px; }
.mm-section .wp-block-columns { gap: clamp(32px, 6vw, 88px); align-items: center; }

/* Spalten */
.wp-block-columns { display: flex; flex-wrap: wrap; gap: 32px; margin-block: 32px; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }

/* Bilder mit weichem Rahmen */
.mm-media-stack { position: relative; }
.mm-media-stack img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ==========================================================================
   Hero (Cover-Block mit Klasse mm-hero)
   ========================================================================== */
.wp-block-cover.mm-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: min(94svh, 940px);
	padding: calc(var(--header-h) + 40px) 0 clamp(40px, 7vw, 88px);
	overflow: hidden;
	color: #fff;
	isolation: isolate;
	margin: 0;
}
.mm-hero.is-compact { min-height: min(72svh, 720px); }
.mm-hero .wp-block-cover__image-background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	border-radius: 0;
	animation: mm-hero-in 1600ms var(--ease-out) both;
}
.mm-hero .wp-block-cover__background {
	position: absolute;
	inset: 0;
	z-index: -1;
	opacity: 1 !important;
	background: linear-gradient(180deg, rgba(10, 20, 42, .48) 0%, rgba(10, 20, 42, 0) 26%, rgba(10, 20, 42, 0) 42%, rgba(10, 20, 42, .66) 100%) !important;
}
.mm-hero .wp-block-cover__inner-container { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.mm-hero .wp-block-cover__inner-container > * { max-width: 760px; }
.mm-hero .wp-block-cover__inner-container > .mm-search-wrap { max-width: none; }
.mm-hero h1 { color: #fff; margin-bottom: 18px; font-size: clamp(2.875rem, 6.4vw, 5.5rem); }
.mm-hero p { color: rgba(255, 255, 255, .9); }
.mm-hero .mm-eyebrow { color: rgba(255, 255, 255, .85); }
.mm-hero .mm-lead { color: rgba(255, 255, 255, .92); }
.mm-hero .wp-block-buttons { margin-top: 32px; }
.mm-hero .wp-block-button__link { --btn-bg: #fff; --btn-fg: var(--navy); }
.mm-hero .is-style-outline .wp-block-button__link { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@media (hover: hover) and (pointer: fine) {
	.mm-hero .wp-block-button__link:hover { --btn-bg: var(--sand); }
	.mm-hero .is-style-outline .wp-block-button__link:hover { --btn-bg: rgba(255, 255, 255, .18); }
}
.mm-hero-facts {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin: 40px 0 0 !important;
	padding: 22px 0 0 !important;
	border-top: 1px solid rgba(255, 255, 255, .24);
	font-size: .9375rem;
	color: rgba(255, 255, 255, .88);
	max-width: none !important;
}
.mm-hero-facts li { margin: 0; }
.mm-hero-facts li::marker { content: ""; }
.mm-hero > .wp-block-cover__inner-container > * { animation: mm-rise 900ms var(--ease-out) both; }
.mm-hero > .wp-block-cover__inner-container > :nth-child(2) { animation-delay: 80ms; }
.mm-hero > .wp-block-cover__inner-container > :nth-child(3) { animation-delay: 160ms; }
.mm-hero > .wp-block-cover__inner-container > :nth-child(4) { animation-delay: 240ms; }
.mm-hero > .wp-block-cover__inner-container > :nth-child(5) { animation-delay: 320ms; }
@keyframes mm-hero-in { from { transform: scale(1.06); } to { transform: none; } }
@keyframes mm-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   Seitenkopf (Seiten ohne Hero)
   ========================================================================== */
.mm-page-head { padding: clamp(56px, 9vw, 112px) 0 clamp(32px, 5vw, 56px); }
.mm-page-head h1 { max-width: 18ch; }
.mm-page-head .mm-lead { margin-top: 8px; }
.mm-meta { color: var(--muted); font-size: .9375rem; margin: 0; }

/* ==========================================================================
   Wohnungskarten
   ========================================================================== */
.mm-apartments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.mm-apt-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }
.mm-apt-card-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.mm-apt-card-media img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform 700ms var(--ease-out); }
.mm-apt-card-body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.mm-apt-card-body h3 { font-size: clamp(1.75rem, 2.6vw, 2.125rem); margin-bottom: 12px; }
.mm-apt-card-body h3 a { color: inherit; text-decoration: none; }
.mm-apt-card-body .mm-btn-row { margin-top: auto; padding-top: 24px; }
@media (hover: hover) and (pointer: fine) {
	.mm-apt-card:hover .mm-apt-card-media img { transform: scale(1.035); }
}
@media (max-width: 860px) { .mm-apartments { grid-template-columns: 1fr; } }

.mm-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.mm-chips li { padding: 6px 12px; border-radius: 999px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line); font-size: .8125rem; font-weight: 500; color: var(--ink-2); }

/* Highlights */
.mm-highlights { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; background: var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.mm-highlights li { background: var(--bg); padding: clamp(22px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 6px; }
.is-sand .mm-highlights li { background: var(--shell); }
.mm-highlights .mm-icon { width: 28px; height: 28px; color: var(--teal); margin-bottom: 10px; }
.mm-highlights strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.3125rem; color: var(--ink); line-height: 1.25; }
.mm-highlights span { font-size: .9375rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 960px) { .mm-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .mm-highlights li { padding: 18px; } .mm-highlights strong { font-size: 1.125rem; } }

/* Ausstattung (Wohnungsseiten) */
.mm-amenities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 0; }
.mm-amenities > .wp-block-group { background: #fff; border-radius: var(--radius-sm); padding: 24px; box-shadow: 0 0 0 1px var(--line-soft); margin: 0; }
.mm-amenities h3 { font-family: var(--font-sans); font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 12px; }
.mm-amenities ul { list-style: none; margin: 0; padding: 0 !important; }
.mm-amenities li { position: relative; padding: 7px 0 7px 26px; font-size: .9375rem; line-height: 1.45; border-top: 1px solid var(--line-soft); }
.mm-amenities li:first-child { border-top: 0; }
.mm-amenities li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 1.6px solid var(--teal); border-bottom: 1.6px solid var(--teal); transform: rotate(-45deg); }

/* Kennzahlen-Leiste */
.mm-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 0 !important; padding: 0 !important; }
.mm-facts li { padding: 8px 14px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .875rem; font-weight: 500; color: var(--ink); }

/* Galerie (Core-Galerie, mit eigener Lightbox) */
.wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px !important; margin-block: 32px; }
.wp-block-gallery.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.wp-block-gallery .wp-block-image { margin: 0 !important; width: auto !important; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 10px; background: var(--sand); }
.mm-section .wp-block-gallery .wp-block-image:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
/* Wohnungsseiten: 9 Kacheln zeigen, der Rest liegt in der Lightbox */
.mm-section .wp-block-gallery.is-condensed .wp-block-image:nth-child(n+10) { display: none; }
.mm-gallery-more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 20, 42, .55); color: #fff; font: 600 1.0625rem/1.2 var(--font-sans); pointer-events: none; transition: background-color 200ms ease; }
.wp-block-gallery .wp-block-image { position: relative; }
.wp-block-gallery .wp-block-image a, .wp-block-gallery .wp-block-image img { display: block; width: 100%; height: 100% !important; object-fit: cover; border-radius: 0 !important; }
.wp-block-gallery .wp-block-image img { transition: transform 600ms var(--ease-out), filter 300ms ease; }
.wp-block-gallery figcaption { display: none; }
.mm-lightbox a { cursor: zoom-in; }
@media (hover: hover) and (pointer: fine) {
	.mm-lightbox .wp-block-image:hover img { transform: scale(1.04); }
}
@media (max-width: 700px) {
	.wp-block-gallery, .wp-block-gallery.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px !important; }
}

/* Lightbox */
.mm-lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.mm-lb[hidden] { display: none; }
.mm-lb-backdrop { position: absolute; inset: 0; background: rgba(9, 14, 26, .97); opacity: 0; transition: opacity 200ms ease; }
.mm-lb-figure { position: relative; margin: 0; max-width: min(92vw, 1400px); opacity: 0; transform: scale(.96); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.mm-lb.is-open .mm-lb-backdrop { opacity: 1; }
.mm-lb.is-open .mm-lb-figure { opacity: 1; transform: none; }
.mm-lb-img { max-height: 82svh; width: auto; margin: 0 auto; border-radius: 8px; transition: opacity 160ms ease, filter 160ms ease; }
.mm-lb-img.is-swapping { opacity: .3; filter: blur(4px); }
.mm-lb-caption { color: rgba(255, 255, 255, .78); font-size: .9375rem; text-align: center; margin-top: 14px; min-height: 1.5em; }
.mm-lb-btn {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	color: #fff;
	cursor: pointer;
	transition: background-color 160ms ease, transform 160ms var(--ease-out);
}
.mm-lb-btn:active { transform: scale(.94); }
.mm-lb-close { top: 16px; right: 16px; }
.mm-lb-prev { left: 16px; top: 50%; margin-top: -24px; }
.mm-lb-next { right: 16px; top: 50%; margin-top: -24px; }
.mm-lb-count { position: absolute; top: 28px; left: 24px; color: rgba(255, 255, 255, .7); font-size: .875rem; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .mm-lb-btn:hover { background: rgba(255, 255, 255, .2); } }
@media (max-width: 700px) { .mm-lb-prev, .mm-lb-next { top: auto; bottom: 20px; margin: 0; } .mm-lb-prev { left: calc(50% - 60px); } .mm-lb-next { right: calc(50% - 60px); } }

/* Karte */
.mm-map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--sand) radial-gradient(circle at 30% 30%, rgba(29, 143, 155, .12), transparent 60%); box-shadow: 0 0 0 1px var(--line); }
.mm-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mm-map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; gap: 4px; }
.mm-map-placeholder > .mm-icon { width: 34px; height: 34px; color: var(--teal); margin-bottom: 8px; }
.mm-map-placeholder p { margin: 0 0 12px; }
.mm-map-note { font-size: .8125rem; color: var(--muted); max-width: 40ch; margin-top: 12px !important; }

/* Video (YouTube erst nach Klick) */
.mm-video { margin: 0; }
.mm-apt-film { margin-top: clamp(40px, 6vw, 72px); }
.mm-video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-sm); overflow: hidden; background: var(--navy-deep); }
.mm-video-frame > img, .mm-video-frame > iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.mm-video-frame:not(.is-loaded)::after { content: ""; position: absolute; inset: 0; background: rgba(10, 20, 42, .22); pointer-events: none; }
.mm-video-play {
	position: absolute; z-index: 2; left: 50%; top: 50%; margin: -36px 0 0 -36px;
	display: grid; place-items: center; width: 72px; height: 72px; border: 0; border-radius: 999px;
	background: #fff; color: var(--navy); cursor: pointer; box-shadow: var(--shadow);
	transition: transform 160ms var(--ease-out);
}
.mm-video-play:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .mm-video-play:hover { transform: scale(1.05); } }
.mm-video figcaption { margin-top: 12px; font-size: .9375rem; color: var(--ink); font-weight: 500; }
.mm-video figcaption span { display: block; font-size: .8125rem; color: var(--muted); font-weight: 400; }

/* Entfernungen */
.mm-distances table { border: 0; }
.mm-distances tbody { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); column-gap: 32px; }
.mm-distances tr { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mm-distances td { border: 0 !important; padding: 12px 0 !important; }
.mm-distances td:last-child { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; text-align: right; }

/* Seitenleisten-Karte auf Wohnungsseiten */
.mm-apt-intro .wp-block-column:last-child { align-self: stretch; }
.mm-apt-intro .mm-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.mm-aside { background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }
.mm-aside h3 { font-size: 1.375rem; margin-bottom: 12px; }
.mm-aside ul { list-style: none; padding: 0 !important; margin: 0 0 4px; }
.mm-aside li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-soft); font-size: .9375rem; }
.mm-aside li:first-child { border-top: 0; }
.mm-aside li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: .62em; border-radius: 50%; background: var(--gold); }
.mm-aside .wp-block-buttons { margin-top: 20px; }
.mm-aside .wp-block-button, .mm-aside .wp-block-button__link { width: 100%; }
.mm-small { font-size: .875rem; color: var(--muted); }

/* Kontakt */
.mm-contact-list { list-style: none; margin: 0; padding: 0 !important; display: grid; gap: 18px; }
.mm-contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.mm-contact-list .mm-icon { width: 22px; height: 22px; color: var(--teal); margin-top: 3px; }
.mm-contact-list span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.mm-contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }

/* Formulare */
.mm-form { display: grid; gap: 18px; }
.mm-field { display: grid; gap: 6px; }
.mm-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 600px) { .mm-field-row { grid-template-columns: 1fr; } }
.mm-field label { font-size: .875rem; font-weight: 600; color: var(--ink); }
.mm-optional { font-weight: 400; color: var(--muted); }
.mm-field input, .mm-field select, .mm-field textarea {
	width: 100%;
	font: inherit;
	font-size: 1rem;
	color: var(--ink);
	background: #fff;
	border: 0;
	border-radius: 12px;
	padding: 13px 16px;
	box-shadow: inset 0 0 0 1px var(--line);
	transition: box-shadow 160ms ease;
	appearance: none;
}
.mm-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.mm-field input:focus, .mm-field select:focus, .mm-field textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--navy), 0 0 0 4px rgba(23, 55, 115, .1); }
.mm-form-note { font-size: .8125rem; color: var(--muted); margin: 0; }
.mm-form .mm-btn { justify-self: start; }
.mm-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.mm-notice { display: flex; gap: 14px; padding: 18px 20px; border-radius: 14px; margin-bottom: 24px; font-size: .9375rem; }
.mm-notice .mm-icon { margin-top: 2px; }
.mm-notice.is-success { background: #eaf5f2; color: #145c4e; }
.mm-notice.is-error { background: #fbeceb; color: #8a2a22; }
.mm-form-card { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }

/* Beitragskarten */
.mm-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
@media (max-width: 960px) { .mm-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mm-post-grid { grid-template-columns: 1fr; } }
.mm-post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.mm-post-card-media { aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--sand); }
.mm-post-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.mm-post-card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.mm-post-card-body h3 { font-size: 1.4375rem; margin-bottom: 8px; }
.mm-post-card-body p { font-size: .9375rem; color: var(--muted); margin-bottom: 14px; }
.mm-post-card-body .mm-link { margin-top: auto; }
@media (hover: hover) and (pointer: fine) {
	.mm-post-card-link:hover .mm-post-card-media img { transform: scale(1.04); }
	.mm-post-card-link:hover .mm-link .mm-icon { transform: translateX(3px); }
}
.nav-links { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.nav-links .current { background: var(--navy); color: #fff; box-shadow: none; }

/* Artikel */
.mm-article-head { padding-bottom: 32px; }
.mm-article-head h1 { max-width: 22ch; font-size: clamp(2.25rem, 4.4vw, 3.5rem); }
.mm-article-cover { width: min(100% - 2 * var(--gutter), var(--wide)); margin: 0 auto clamp(40px, 6vw, 72px); }
.mm-article-cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius); }
.mm-prose { font-size: 1.125rem; }
.mm-related { background: var(--shell); border-top: 1px solid var(--line-soft); }

/* ==========================================================================
   Footer
   ========================================================================== */
.mm-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .72); font-size: .9375rem; }
.mm-footer a { color: rgba(255, 255, 255, .86); text-decoration: none; transition: color 160ms ease; }
.mm-footer h3 { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #d6c49b; margin: 0 0 16px; }
.mm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mm-footer address { font-style: normal; margin-bottom: 14px; color: rgba(255, 255, 255, .86); }
.mm-footer-cta { position: relative; overflow: hidden; padding: clamp(64px, 9vw, 112px) 0; background: var(--navy); text-align: center; }
.mm-footer-cta::before { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 120%; background: radial-gradient(closest-side, rgba(29, 143, 155, .35), transparent); pointer-events: none; }
.mm-footer-cta .mm-container { position: relative; }
.mm-footer-cta h2 { color: #fff; margin-bottom: 12px; }
.mm-footer-cta p { color: rgba(255, 255, 255, .78); margin: 0 auto; max-width: 44ch; }
.mm-footer-cta .mm-eyebrow { color: #d6c49b; }
.mm-footer-cta .mm-btn-row { justify-content: center; }
.mm-footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; padding: clamp(56px, 7vw, 88px) 0 48px; }
.mm-footer-brand img { margin-bottom: 18px; }
.mm-footer-brand strong { color: #fff; font-weight: 600; }
.mm-social { display: flex; gap: 8px; margin-top: 20px; }
.mm-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: rgba(255, 255, 255, .07); transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.mm-social a:active { transform: scale(.94); }
.mm-social .mm-icon { width: 18px; height: 18px; }
.mm-footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.mm-footer-contact .mm-icon { width: 17px; height: 17px; color: #d6c49b; }
.mm-footer-small { font-size: .8125rem; color: rgba(255, 255, 255, .5); margin: 14px 0 0; }
.mm-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; color: rgba(255, 255, 255, .5); }
.mm-footer-menu { display: flex !important; gap: 20px !important; }
@media (hover: hover) and (pointer: fine) {
	.mm-footer a:hover { color: #fff; }
	.mm-social a:hover { background: rgba(255, 255, 255, .15); }
}
@media (max-width: 900px) { .mm-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .mm-footer-grid { grid-template-columns: 1fr; gap: 32px; } }
body.mm-booking .mm-footer-cta { display: none; }

/* ==========================================================================
   Scroll-Reveal – einmalig, dezent; respektiert reduzierte Bewegung
   ========================================================================== */
.mm-js [data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
.mm-js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; scroll-behavior: auto !important; }
	.mm-js [data-reveal] { transform: none; transition: opacity 300ms ease; }
	.mm-drawer-panel, .mm-drawer.is-open .mm-drawer-panel { transition: none; }
	.mm-lb-figure { transform: none; }
	.mm-apt-card-media img, .mm-post-card-media img, .wp-block-gallery img { transition: none; transform: none !important; }
}

/* Hero: dunkle Fläche, solange das Foto lädt */
.wp-block-cover.mm-hero { background: #23384f; }
.mm-footer .mm-btn { color: var(--btn-fg); }
.mm-signature { font-family: var(--font-serif); font-size: 1.375rem; color: var(--ink); margin-top: 4px; }
/* Helle Innenraum-Fotos: Verlauf von links für lesbaren Text */
.mm-hero.is-compact .wp-block-cover__background {
	background:
		linear-gradient(90deg, rgba(10, 20, 42, .66) 0%, rgba(10, 20, 42, .34) 48%, rgba(10, 20, 42, 0) 78%),
		linear-gradient(180deg, rgba(10, 20, 42, .5) 0%, rgba(10, 20, 42, 0) 24%, rgba(10, 20, 42, 0) 70%, rgba(10, 20, 42, .35) 100%) !important;
}
@media (max-width: 700px) {
	.mm-hero.is-compact .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 20, 42, .5) 0%, rgba(10, 20, 42, .2) 35%, rgba(10, 20, 42, .72) 100%) !important; }
}
.mm-article-cover { width: min(100% - 2 * var(--gutter), 960px); }
.mm-article-cover img { aspect-ratio: auto; max-height: 640px; }
.mm-source { font-size: .8125rem; color: var(--muted); }
/* Hero-Lesbarkeit: Verlauf hinter der Textzone (unten links) */
.mm-hero:not(.is-compact) .wp-block-cover__background {
	background:
		linear-gradient(90deg, rgba(10, 20, 42, .38) 0%, rgba(10, 20, 42, 0) 62%),
		linear-gradient(180deg, rgba(10, 20, 42, .45) 0%, rgba(10, 20, 42, .06) 26%, rgba(10, 20, 42, .22) 52%, rgba(10, 20, 42, .74) 100%) !important;
}
.mm-hero h1, .mm-hero .mm-lead { text-shadow: 0 1px 24px rgba(10, 20, 42, .25); }
@media (max-width: 700px) {
	.mm-hero:not(.is-compact) .wp-block-cover__background {
		background: linear-gradient(180deg, rgba(10, 20, 42, .45) 0%, rgba(10, 20, 42, .3) 28%, rgba(10, 20, 42, .62) 55%, rgba(10, 20, 42, .82) 100%) !important;
	}
	.mm-hero-facts { gap: 6px 18px; font-size: .875rem; margin-top: 28px !important; }
}

/* ==========================================================================
   Kopfbereich Startseite: ruhiges Standbild + Suchkarte (keine Slideshow)
   ========================================================================== */
.mm-hero .wp-block-cover__image-background { animation: none; }
.mm-hero.has-search { min-height: min(88svh, 860px); }
@media (min-width: 1081px) {
	.mm-hero.has-search .wp-block-cover__inner-container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 420px;
		column-gap: clamp(40px, 6vw, 96px);
		align-items: end;
	}
	.mm-hero.has-search .wp-block-cover__inner-container > * { grid-column: 1; }
	.mm-hero.has-search .wp-block-cover__inner-container > .mm-search-wrap { grid-column: 2; grid-row: 1 / span 6; align-self: end; }
}
.mm-search {
	background: rgba(252, 251, 248, .97);
	color: var(--ink-2);
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 30px 80px -20px rgba(5, 12, 28, .55), 0 0 0 1px rgba(255, 255, 255, .5);
	text-shadow: none;
}
.mm-search-title { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-family: var(--font-serif); font-size: 1.5rem; color: var(--ink) !important; line-height: 1.2; }
.mm-search-title .mm-icon { color: var(--teal); }
.mm-search-apts { border: 0; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.mm-search-apts label { position: relative; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.mm-search-apts input { position: absolute; opacity: 0; pointer-events: none; }
.mm-search-apts span {
	display: grid;
	grid-template-columns: 20px 1fr;
	column-gap: 12px;
	align-items: center;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line);
	transition: box-shadow 160ms ease, transform 160ms var(--ease-out);
}
.mm-search-apts span::before { content: ""; grid-row: span 2; width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #c9c1ad; transition: box-shadow 160ms var(--ease-out); }
.mm-search-apts strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.1875rem; line-height: 1.2; }
.mm-search-apts small { font-size: .8125rem; color: var(--muted); }
.mm-search-apts label:active span { transform: scale(.98); }
.mm-search-apts input:checked + span { box-shadow: 0 0 0 1.5px var(--navy); }
.mm-search-apts input:checked + span::before { box-shadow: inset 0 0 0 5.5px var(--navy); }
.mm-search-apts input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.mm-search .mm-btn { --btn-bg: var(--navy); --btn-fg: #fff; }
.mm-search-note { margin: 12px 0 0; font-size: .75rem; color: var(--muted) !important; text-align: center; }
@media (max-width: 1080px) {
	.mm-search-wrap { margin-top: 32px; max-width: 460px !important; }
}

/* Kalender-Abschnitt auf der Startseite */
.mm-section.is-booking { background: var(--sand); }
.mm-section.is-booking .mm-bk-wrap { margin-top: 0; }

/* Bootstrap (V-Office) überschreibt Überschriften – Theme-Größen behalten */
body.mm-booking .mm-content h2 { font-size: clamp(2rem, 3.4vw, 2.875rem) !important; line-height: 1.12 !important; margin: 0 0 .5em !important; }
body.mm-booking .mm-content h3 { font-size: clamp(1.375rem, 2vw, 1.625rem) !important; }
body.mm-booking .mm-hero h1 { font-size: clamp(2.875rem, 6.4vw, 5.5rem) !important; line-height: 1.04 !important; margin: 0 0 18px !important; color: #fff !important; }
body.mm-booking .mm-apt-card-body h3 { font-size: clamp(1.75rem, 2.6vw, 2.125rem) !important; }
body.mm-booking .mm-post-card-body h3 { font-size: 1.4375rem !important; }

/* Gastgeberin */
.mm-host { position: relative; margin: 0 0 56px; }
.mm-host .wp-block-image { margin: 0; }
.mm-host > .wp-block-image:first-child img { border-radius: var(--radius); box-shadow: var(--shadow); }
.mm-host .mm-host-portrait { position: absolute; right: -14px; bottom: -48px; width: clamp(130px, 15vw, 190px); margin: 0; }
.mm-host .mm-host-portrait img { border-radius: 50%; box-shadow: var(--shadow-lg); background: #fff; }
.mm-host-caption { margin: 0; font-size: .875rem; color: var(--muted); }
.mm-host-caption strong { display: block; font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.mm-host-card { display: flex; align-items: center; gap: 18px; padding: 18px; margin: 0 0 28px; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line-soft); }
.mm-host-card .wp-block-image { margin: 0; flex: none; width: 88px; }
.mm-host-card img { border-radius: 50%; }
.mm-host-card p { margin: 0; }
@media (max-width: 781px) { .mm-host .mm-host-portrait { right: 12px; } }

/* Bewertungen */
.mm-reviews { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.mm-reviews-score { position: sticky; top: calc(var(--header-h) + 24px); }
.mm-reviews-big { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.mm-reviews-num { font-family: var(--font-serif); font-size: clamp(4rem, 7vw, 5.5rem); line-height: .9; color: var(--ink); letter-spacing: -.03em; }
.mm-stars { display: inline-flex; gap: 2px; color: #e3a92b; }
.mm-reviews-count { display: block; margin-top: 6px; font-size: .9375rem; color: var(--ink-2); font-weight: 500; }
.mm-reviews-sources { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.mm-reviews-sources li { padding: 12px 14px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--line-soft); font-size: .875rem; color: var(--muted); }
.mm-reviews-sources strong { font-family: var(--font-serif); font-weight: 400; font-size: 1.25rem; color: var(--ink); }
.mm-reviews-sources span { display: block; }
.mm-reviews-quotes { display: grid; gap: 16px; }
.mm-quote { margin: 0; padding: clamp(22px, 3vw, 32px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }
.mm-quote blockquote { margin: 12px 0 14px; font-family: var(--font-serif); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.35; color: var(--ink); border: 0; padding: 0; }
.mm-quote figcaption { font-size: .875rem; color: var(--muted); }
.mm-quote figcaption strong { color: var(--ink); font-weight: 600; }
.is-sand .mm-reviews-sources li { background: var(--shell); }
@media (max-width: 900px) { .mm-reviews { grid-template-columns: 1fr; } .mm-reviews-score { position: static; } }

/* Kopfbereich etwas niedriger, damit die Wohnungen früh ins Bild kommen */
.mm-hero.has-search { min-height: min(80svh, 780px); }

/* ==========================================================================
   Hotel-Suche (Kopfbereich + Übersicht)
   ========================================================================== */
.mm-search-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.mm-search-field { display: grid; gap: 4px; padding: 10px 14px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow 160ms ease; }
.mm-search-field:focus-within { box-shadow: 0 0 0 1.5px var(--navy), 0 0 0 4px rgba(23, 55, 115, .1); }
.mm-search-field span { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mm-search-field input, .mm-search-field select {
	width: 100%; min-width: 0; border: 0; padding: 0; margin: 0; background: transparent;
	font: 500 1rem/1.4 var(--font-sans); color: var(--ink); appearance: none; -webkit-appearance: none;
}
.mm-search-field input:focus, .mm-search-field select:focus { outline: none; }
.mm-search-field input::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.mm-search-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7385' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right center; padding-right: 20px; }
.mm-search-dog { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .9375rem; color: var(--ink-2); cursor: pointer; }
.mm-search-dog input { width: 18px; height: 18px; accent-color: var(--navy); margin: 0; }
.mm-search-dog .mm-icon { width: 18px; height: 18px; color: var(--teal); }
.mm-search.is-hero { width: 100%; }

/* Übersicht */
.mm-results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; margin-bottom: 28px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }
.mm-results-summary { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: .9375rem; color: var(--ink-2); }
.mm-results-summary span { display: inline-flex; align-items: center; gap: 8px; }
.mm-results-summary .mm-icon { width: 18px; height: 18px; color: var(--teal); }
.mm-results-summary strong { color: var(--ink); }
.mm-results-edit { width: auto; }
.mm-results-edit[open] { flex-basis: 100%; }
.mm-results-edit summary { list-style: none; cursor: pointer; font-weight: 600; font-size: .9375rem; color: var(--navy); padding: 8px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px rgba(23, 55, 115, .28); display: inline-block; transition: background-color 160ms ease; }
.mm-results-edit summary::-webkit-details-marker { display: none; }
.mm-results-edit[open] summary { margin-bottom: 16px; }
.mm-results-start { flex: 1; }
.mm-search.is-inline .mm-search-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mm-search.is-inline { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; }
.mm-search.is-inline .mm-search-grid { grid-column: 1 / -1; }
.mm-search.is-inline .mm-search-dog { margin: 0; }
.mm-search.is-inline .mm-btn { width: auto; }
@media (max-width: 720px) {
	.mm-search.is-inline { grid-template-columns: 1fr; row-gap: 14px; }
	.mm-search.is-inline .mm-search-grid { grid-template-columns: 1fr 1fr; }
	.mm-search.is-inline .mm-btn { width: 100%; }
}
.mm-results-list { display: grid; gap: clamp(20px, 3vw, 32px); }
.mm-result { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }
.mm-result-media { display: block; min-height: 320px; background: var(--sand); overflow: hidden; }
.mm-result-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.mm-result-body { padding: clamp(24px, 3.4vw, 44px); display: flex; flex-direction: column; }
.mm-result-body h2 { font-size: clamp(2rem, 3vw, 2.5rem); margin-bottom: 12px; }
.mm-result-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; padding-top: 24px; }
.mm-result-note { font-size: .8125rem; color: var(--muted); margin: 14px 0 0; }
.mm-chips li.is-ok { display: inline-flex; align-items: center; gap: 4px; color: #145c4e; background: #eaf5f2; box-shadow: none; }
.mm-chips li.is-ok .mm-icon { width: 14px; height: 14px; }
.mm-results-help { margin-top: 32px; text-align: center; color: var(--muted); font-size: .9375rem; }
.mm-notice.is-info { background: #eef3fb; color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .mm-result:hover .mm-result-media img { transform: scale(1.03); } .mm-results-edit summary:hover { background: rgba(23, 55, 115, .06); } }
@media (max-width: 860px) { .mm-result { grid-template-columns: 1fr; } .mm-result-media { min-height: 0; aspect-ratio: 16 / 10; } }
@media (max-width: 700px) { .mm-hero.has-search .mm-hero-facts { display: none; } .mm-hero.has-search .mm-search-wrap { margin-top: 24px; } }

/* Belegungsstatus in der Übersicht */
.mm-result-media { position: relative; }
.mm-status { position: absolute; left: 16px; top: 16px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 600; box-shadow: 0 4px 16px rgba(10, 20, 42, .18); }
.mm-status .mm-icon { width: 15px; height: 15px; }
.mm-status.is-free { background: #fff; color: #145c4e; }
.mm-status.is-booked { background: rgba(22, 33, 58, .82); color: #fff; }
.mm-result.is-booked .mm-result-media img { filter: grayscale(.65) brightness(.92); }
.mm-result.is-booked h2, .mm-result.is-booked .mm-result-body > p:not(.mm-result-note) { opacity: .7; }

/* Ab-Preis */
.mm-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px; margin: 20px 0 0; color: var(--muted); font-size: .9375rem; }
.mm-price strong { font-family: var(--font-serif); font-weight: 400; font-size: 2rem; line-height: 1; color: var(--ink); letter-spacing: -.01em; }
.mm-price-from, .mm-price-unit { color: var(--ink-2); }
.mm-price small { flex-basis: 100%; font-size: .8125rem; color: var(--muted); margin-top: 4px; }
.mm-price.is-inline { margin: 4px 0 12px; }
.mm-aside .mm-price { margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }

/* ==========================================================================
   Hero-Slideshow: ruhige Überblendung (dekorativ, selten -> darf langsam sein)
   ========================================================================== */
.mm-slides { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.mm-slides .mm-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity 1600ms ease, transform 8000ms linear; will-change: opacity, transform; }
.mm-slides .mm-slide.is-cover { display: none; }
.mm-slides .mm-slide.is-active { opacity: 1; transform: scale(1); }
.mm-hero .wp-block-cover__image-background { transition: transform 8000ms linear; }
.mm-hero.is-sliding .wp-block-cover__image-background { transform: scale(1.04); }
.mm-hero.is-sliding.cover-active .wp-block-cover__image-background { transform: scale(1); }
.mm-slide-meta { position: absolute; right: max(var(--gutter), (100% - 1320px) / 2); bottom: 20px; z-index: 2; display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .85); font-size: .8125rem; }
.mm-slide-caps { position: relative; min-width: 300px; height: 1.4em; text-align: right; }
.mm-slide-caps span { position: absolute; inset: 0; opacity: 0; transform: translateY(4px); transition: opacity 600ms ease, transform 600ms var(--ease-out); white-space: nowrap; text-shadow: 0 1px 12px rgba(10, 20, 42, .5); }
.mm-slide-caps span.is-active { opacity: 1; transform: none; }
.mm-slide-dots { display: flex; gap: 6px; }
.mm-slide-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.mm-slide-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .5); transition: width 300ms var(--ease-out), background-color 300ms ease; }
.mm-slide-dots button.is-active::before { width: 18px; background: #fff; }
@media (max-width: 1080px) { .mm-slide-caps { display: none; } .mm-slide-meta { left: 0; right: 0; justify-content: center; bottom: 10px; } }

/* Google-Bewertung kurz */
.mm-rating { display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 0; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff !important; text-decoration: none; font-size: .9375rem; transition: background-color 160ms ease, transform 160ms var(--ease-out); }
.mm-rating:active { transform: scale(.97); }
.mm-rating .mm-stars { color: #f2c14e; }
.mm-rating .mm-stars svg { width: 15px; height: 15px; }
.mm-rating strong { color: #fff; font-weight: 700; }
.mm-rating span:last-child { color: rgba(255, 255, 255, .85); }
@media (hover: hover) and (pointer: fine) { .mm-rating:hover { background: rgba(255, 255, 255, .22); } }

/* Feature-Kacheln */
.mm-features { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 32px 0 0 !important; padding: 0 !important; max-width: 640px !important; }
.mm-features li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .9375rem; font-weight: 500; color: #fff; line-height: 1.25; }
.mm-features .mm-icon { width: 22px; height: 22px; color: #d6c49b; flex: none; }
@media (max-width: 700px) { .mm-features { grid-template-columns: 1fr 1fr; margin-top: 24px !important; } .mm-features li { padding: 10px 12px; font-size: .875rem; } }
.mm-hero.has-search .mm-hero-facts { display: none; }
@media (prefers-reduced-motion: reduce) { .mm-slides .mm-slide { transition: opacity 600ms ease; transform: none; } }
@media (max-width: 700px) { .mm-features li:nth-child(n+5) { display: none; } }
.mm-hero .wp-block-cover__inner-container > p:has(> .mm-rating) { margin: 0; }
.mm-hero .wp-block-cover__inner-container > .mm-rating { justify-self: start; width: max-content; max-width: 100%; }

/* ==========================================================================
   Karussell in den Ergebnis-Karten (wischbar, scroll-snap)
   ========================================================================== */
.mm-result-media { position: relative; min-height: 0 !important; }
.mm-carousel { position: relative; height: 100%; min-height: 360px; background: var(--sand); }
.mm-carousel-track { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mm-carousel-track::-webkit-scrollbar { display: none; }
.mm-carousel-slide { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; border-radius: 0 !important; }
.mm-carousel-btn {
	position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px;
	border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: var(--shadow-sm);
	opacity: 0; transition: opacity 180ms ease, transform 160ms var(--ease-out);
}
.mm-carousel-btn .mm-icon { width: 18px; height: 18px; }
.mm-carousel-btn.is-prev { left: 14px; }
.mm-carousel-btn.is-next { right: 14px; }
.mm-carousel-btn:active { transform: scale(.94); }
.mm-carousel-btn[disabled] { opacity: 0 !important; pointer-events: none; }
.mm-carousel-count { position: absolute; right: 14px; bottom: 14px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(10, 20, 42, .6); color: #fff; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .mm-carousel:hover .mm-carousel-btn { opacity: 1; } }
@media (hover: none) { .mm-carousel-btn { display: none; } }
.mm-result-media .mm-status { z-index: 3; }
@media (max-width: 860px) { .mm-carousel { min-height: 0; aspect-ratio: 4 / 3; } }

/* Bewertungs-Leiste mit angerissenen Karten */
.mm-peek { margin: 20px 0 4px; }
.mm-peek-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mm-peek-score { display: grid; place-items: center; min-width: 40px; height: 34px; padding: 0 8px; border-radius: 10px 10px 10px 2px; background: var(--navy); color: #fff; font-weight: 700; font-size: .9375rem; }
.mm-peek-label { display: flex; flex-direction: column; font-size: .8125rem; color: var(--muted); line-height: 1.3; }
.mm-peek-label strong { color: var(--ink); font-size: .9375rem; }
.mm-peek-all { margin-left: auto; font-size: .8125rem; font-weight: 600; }
.mm-peek-track {
	display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 2px;
	margin-right: calc(-1 * clamp(24px, 3.4vw, 44px));
	padding-right: clamp(24px, 3.4vw, 44px);
	-webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
	mask-image: linear-gradient(90deg, #000 85%, transparent);
}
.mm-peek-track::-webkit-scrollbar { display: none; }
.mm-peek-card { flex: 0 0 78%; margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--shell); box-shadow: inset 0 0 0 1px var(--line-soft); scroll-snap-align: start; }
.mm-peek-card blockquote { margin: 0 0 6px; padding: 0; border: 0; font-family: var(--font-sans); font-size: .875rem; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mm-peek-card figcaption { font-size: .75rem; color: var(--muted); }
.mm-result-body .mm-price { margin-top: 18px; }
.mm-result-body, .mm-result-media { min-width: 0; }
@media (max-width: 860px) { .mm-result { grid-template-columns: minmax(0, 1fr); } }

/* Übersicht: Bilder im 4:3-Format statt kartenhoch; am Desktop mitlaufend */
.mm-result { overflow: clip; }
.mm-carousel { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
@media (min-width: 861px) {
	.mm-result-media { align-self: stretch; }
	.mm-result-media .mm-carousel { position: sticky; top: calc(var(--header-h) + 16px); }
	.mm-result { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
}
/* Übersicht kompakter: Beschreibung & Hinweis stehen auf der Wohnungsseite bzw. im nächsten Schritt */
.mm-result-body > p:not(.mm-eyebrow):not(.mm-price):not(.mm-result-note) { display: none; }
.mm-result-body .mm-result-note { display: none; }
.mm-result.is-booked .mm-result-body .mm-result-note { display: block; }
.mm-result-body h2 { margin-bottom: 14px !important; }
.mm-result-body { padding: clamp(22px, 3vw, 36px); justify-content: center; }
.mm-result-actions { padding-top: 20px; margin-top: 0; }
@media (min-width: 861px) {
	.mm-result-media .mm-carousel { position: relative; top: auto; aspect-ratio: auto; height: 100%; min-height: 420px; }
}

/* ---------- Pop-up ---------- */
.mm-popup {
	padding: 0; border: 0; background: transparent; color: var(--ink);
	width: min(480px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
	overflow: visible;
}
.mm-popup::backdrop { background: rgba(14, 36, 80, .42); opacity: 0; transition: opacity 200ms var(--ease-out); }
.mm-popup.is-open::backdrop { opacity: 1; }
.mm-popup-card {
	position: relative; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg);
	overflow: hidden auto; max-height: calc(100dvh - 32px);
	opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 50% 60%;
	transition: opacity 150ms ease-in, transform 150ms ease-in;
}
.mm-popup.is-open .mm-popup-card {
	opacity: 1; transform: none;
	transition: opacity 250ms var(--ease-out), transform 250ms var(--ease-out);
}
.mm-popup-media img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.mm-popup-body { padding: 28px 28px 30px; display: grid; gap: 12px; }
.mm-popup-body h2 { margin: 0; padding-right: 32px; font-family: var(--font-serif); font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); line-height: 1.15; color: var(--navy-deep); }
.mm-popup.has-image .mm-popup-body h2, .mm-popup-card.has-image h2 { padding-right: 0; }
.mm-popup-text { color: var(--ink-2); }
.mm-popup-text > * { margin: 0 0 .6em; }
.mm-popup-text > :last-child { margin-bottom: 0; }
.mm-popup-body .mm-btn { justify-self: start; margin-top: 6px; --btn-bg: var(--navy); --btn-fg: #fff; }
.mm-popup-close {
	position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
	display: grid; place-items: center; border: 0; cursor: pointer;
	background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: var(--shadow-sm);
	transition: transform 150ms var(--ease-out), background-color 150ms ease;
}
.mm-popup-close svg { width: 18px; height: 18px; }
.mm-popup-close:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .mm-popup-close:hover { background: var(--white); } }
@media (max-width: 600px) {
	.mm-popup { width: 100vw; margin: auto 0 0; max-height: 92dvh; }
	.mm-popup-card { border-radius: var(--radius) var(--radius) 0 0; max-height: 92dvh; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom); }
	.mm-popup.is-open .mm-popup-card { transition: opacity 300ms var(--ease-drawer), transform 300ms var(--ease-drawer); }
	.mm-popup-card { transition: opacity 200ms ease-in, transform 200ms ease-in; }
}
@media (prefers-reduced-motion: reduce) {
	.mm-popup-card, .mm-popup.is-open .mm-popup-card { transform: none; transition: opacity 150ms linear; }
}

/* ==========================================================================
   Abschnitts-Vorlagen
   ========================================================================== */
.mm-symbol { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(29, 143, 155, .1); color: var(--teal); flex: none; }
.mm-symbol .mm-icon { width: 24px; height: 24px; }
.is-navy .mm-symbol { background: rgba(255, 255, 255, .1); color: #fff; }

/* Kacheln */
.mm-section .mm-tiles { align-items: stretch; gap: clamp(16px, 2.4vw, 24px); }
.mm-tile { height: 100%; background: #fff; border-radius: var(--radius); padding: clamp(24px, 3vw, 32px); box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }
.mm-tile .mm-symbol { margin-bottom: 20px; }
.mm-tile h3 { font-size: 1.375rem; margin: 0 0 8px; }
.mm-tile p { margin: 0; font-size: .9375rem; color: var(--muted); line-height: 1.6; }

/* Hinweisbox */
.mm-note { display: flex; gap: 18px; align-items: flex-start; background: var(--sand); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); margin-block: 32px; box-shadow: inset 3px 0 0 var(--gold); }
.is-sand .mm-note { background: #fff; }
.mm-note .mm-symbol { width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--gold-ink); }
.mm-note .mm-symbol .mm-icon { width: 20px; height: 20px; }
.mm-note-body { flex: 1; min-width: 0; }
.mm-note-body h3 { font-size: 1.25rem; margin: 6px 0 6px; }
.mm-note-body > :last-child { margin-bottom: 0; }

/* Großes Bild mit Überschrift */
.wp-block-cover.mm-banner { min-height: min(68svh, 640px); padding: clamp(40px, 7vw, 96px) 0; display: flex; align-items: flex-end; margin: 0 !important; }
.mm-banner .wp-block-cover__background { background: linear-gradient(180deg, rgba(10, 20, 42, .18), rgba(10, 20, 42, .7)) !important; opacity: 1 !important; }
.mm-banner .wp-block-cover__inner-container { width: min(100% - 2 * var(--gutter), var(--wide)); margin-inline: auto; }
.mm-banner .wp-block-cover__inner-container > * { max-width: 640px; }
.mm-banner h2 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.75rem); }
.mm-banner p { color: rgba(255, 255, 255, .9); }
.mm-banner .mm-eyebrow { color: rgba(255, 255, 255, .85); }
.mm-banner .wp-block-button__link { --btn-bg: #fff; --btn-fg: var(--navy); }

/* Zitat */
.mm-content blockquote.mm-quote, blockquote.mm-quote { max-width: 860px; margin: 0 auto; padding: 0; border: 0; text-align: center; font-family: var(--font-serif); }
.mm-quote::before { content: "\201E"; display: block; font-size: 4.5rem; line-height: .6; color: var(--gold); margin-bottom: 18px; }
.mm-quote p { font-size: clamp(1.5rem, 3vw, 2.25rem); line-height: 1.3; color: var(--ink); letter-spacing: -.01em; margin: 0; }
.mm-quote cite { display: block; margin-top: 20px; font: 500 .9375rem/1.4 var(--font-sans); font-style: normal; color: var(--muted); }

/* Fragen & Antworten */
.mm-faq { max-width: 820px; border-top: 1px solid var(--line); }
.mm-faq-item { border-bottom: 1px solid var(--line); margin: 0 !important; }
.mm-faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--font-serif); font-size: 1.3125rem; color: var(--ink); }
.mm-faq-item summary::-webkit-details-marker { display: none; }
.mm-faq-item summary::after { content: ""; flex: none; width: 10px; height: 10px; margin-right: 6px; border-right: 1.6px solid var(--gold-ink); border-bottom: 1.6px solid var(--gold-ink); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease-out); }
.mm-faq-item[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.mm-faq-item > :not(summary) { margin: 0 0 20px; color: var(--ink-2); max-width: 68ch; }
@media (hover: hover) and (pointer: fine) { .mm-faq-item summary:hover { color: var(--navy); } }

/* Aufruf */
.mm-cta .mm-inner { text-align: center; }
.mm-cta .mm-intro { margin-bottom: 0 !important; }
.mm-cta .wp-block-buttons { justify-content: center; }
.is-navy .wp-block-button__link { --btn-bg: #fff; --btn-fg: var(--navy); }
.is-navy .is-style-outline .wp-block-button__link { --btn-bg: transparent; --btn-fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
@media (hover: hover) and (pointer: fine) {
	.is-navy .wp-block-button__link:hover { --btn-bg: var(--sand); }
	.is-navy .is-style-outline .wp-block-button__link:hover { --btn-bg: rgba(255, 255, 255, .1); }
}

/* Preistabelle */
.mm-price-table { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm), 0 0 0 1px rgba(22, 33, 58, .05); }
.mm-price-table table { width: 100%; border-collapse: collapse; font-size: .9375rem; table-layout: auto; }
.mm-content .mm-price-table :is(th, td), .mm-price-table :is(th, td) { border: 0; }
.mm-price-table thead { border: 0; }
.mm-price-table th { text-align: left; font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); background: var(--shell); padding: 14px 20px; border-bottom: 1px solid var(--line) !important; }
.mm-price-table td { hyphens: auto; padding: 16px 20px; border-bottom: 1px solid var(--line-soft) !important; }
.mm-price-table tr:last-child td { border-bottom: 0 !important; }
.mm-price-table td:last-child, .mm-price-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.mm-price-table td:last-child { font-weight: 600; color: var(--ink); }
.mm-small { font-size: .875rem; color: var(--muted); margin-top: 16px; }
.mm-rounded img { border-radius: var(--radius-sm); }

@media (max-width: 781px) {
	.mm-note { flex-direction: column; gap: 12px; }
	.mm-price-table th, .mm-price-table td { padding-inline: 12px; font-size: .875rem; }
	.mm-price-table th { font-size: .6875rem; letter-spacing: .08em; }
	.mm-price-table td:last-child { white-space: nowrap; }
}

/* ------------------------------------------------------------------ Einwilligungs-Banner (Google-Tag) */
.mm-consent { position: fixed; z-index: 90; left: 24px; bottom: 24px; width: min(380px, calc(100% - 32px)); padding: 22px 22px 20px; background: var(--sand); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 48px rgba(14, 36, 80, .22); opacity: 0; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease; }
.mm-consent.is-open { opacity: 1; transform: none; }
.mm-consent[hidden] { display: none; }
.mm-consent-title { margin: 0 0 8px; font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.2; color: var(--navy); letter-spacing: -.01em; }
.mm-consent-text { margin: 0; font-size: .8125rem; line-height: 1.55; color: var(--ink-2); }
.mm-consent-text a { color: var(--navy); font-weight: 500; text-underline-offset: 2px; }
.mm-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.mm-consent-btn { min-height: 42px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer; transition: background .15s ease, color .15s ease; }
.mm-consent-btn:hover { background: var(--navy); color: #fff; }
.mm-consent-btn:focus-visible, .mm-consent-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.mm-consent-link { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.mm-consent-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 560px) { .mm-consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px; } }
@media (prefers-reduced-motion: reduce) { .mm-consent { transition: none; } }
