/* Monteurhaus Startseite – Landingpage (Mobile First) */
:root {
  --mh-ink: #14202b; --mh-muted: #55626c; --mh-bg: #ffffff; --mh-tint: #f3f5f4; --mh-surface: #ffffff; --mh-line: #dfe3e2;
  --mh-navy: #102a3c; --mh-navy-ink: #e9eef2; --mh-blue: #1f5c86;
  --mh-accent: #a35f1f; --mh-accent-hover: #8a4f18; --mh-accent-soft: #f6ebe0;
  --mh-display: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mh-body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mh-max: 1200px; --mh-gutter: 1.25rem; --mh-radius: 14px;
  --mh-header-h: 64px; --mh-quickbar-h: 0px;
  --mh-safe-top: env(safe-area-inset-top, 0px); --mh-safe-bottom: env(safe-area-inset-bottom, 0px);
  --mh-safe-left: env(safe-area-inset-left, 0px); --mh-safe-right: env(safe-area-inset-right, 0px);
}
@media (prefers-color-scheme: dark) {
  :root { --mh-ink: #e6ebee; --mh-muted: #a3afb8; --mh-bg: #0f171e; --mh-tint: #131e27; --mh-surface: #17212a; --mh-line: #2a3741; --mh-blue: #7ab0dc; --mh-accent-soft: #2b2016; }
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--mh-header-h) + var(--mh-safe-top) + 12px); -webkit-text-size-adjust: 100%; }
body.mhs-landing-page { margin: 0; background: var(--mh-bg); color: var(--mh-ink); font-family: var(--mh-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; padding-bottom: calc(var(--mh-quickbar-h) + var(--mh-safe-bottom)); }
.mhs-landing-page *, .mhs-landing-page *::before, .mhs-landing-page *::after { box-sizing: border-box; }
.mhs-landing-page img { max-width: 100%; height: auto; }
.mhs-landing-page a { color: var(--mh-blue); text-underline-offset: .18em; }
.mhs-landing-page :focus-visible { outline: 3px solid var(--mh-blue); outline-offset: 3px; }
.mhs-landing-page .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.mh-skip { position: absolute; left: 1rem; top: -100px; z-index: 1000; padding: .75rem 1rem; background: var(--mh-navy); color: #fff !important; border-radius: 8px; }
.mh-skip:focus { top: calc(var(--mh-safe-top) + .5rem); }

/* Header */
.mh-header { position: sticky; top: 0; z-index: 100; padding-top: var(--mh-safe-top); background: color-mix(in srgb, var(--mh-bg) 88%, transparent); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.mh-header.is-scrolled { border-bottom-color: var(--mh-line); box-shadow: 0 6px 24px -18px rgba(16, 42, 60, .5); }
.mh-header__inner { max-width: var(--mh-max); margin: 0 auto; min-height: var(--mh-header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-inline: max(var(--mh-gutter), var(--mh-safe-left)) max(var(--mh-gutter), var(--mh-safe-right)); }
.mh-brand { display: grid; line-height: 1.1; text-decoration: none; color: var(--mh-ink) !important; min-height: 44px; align-content: center; }
.mh-brand__name { font-family: var(--mh-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .01em; }
.mh-brand__sub { font-size: .75rem; color: var(--mh-muted); letter-spacing: .04em; text-transform: uppercase; }
.mh-menu-btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; min-width: 44px; padding: .5rem .75rem; border: 1px solid var(--mh-line); border-radius: 999px; background: var(--mh-surface); color: var(--mh-ink); font: 600 .95rem/1 var(--mh-display); cursor: pointer; }
.mh-menu-btn__bars, .mh-menu-btn__bars::before, .mh-menu-btn__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.mh-menu-btn__bars::before, .mh-menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.mh-menu-btn__bars::before { top: -6px; } .mh-menu-btn__bars::after { top: 6px; }
.mh-menu-btn[aria-expanded="true"] .mh-menu-btn__bars { background: transparent; }
.mh-menu-btn[aria-expanded="true"] .mh-menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.mh-menu-btn[aria-expanded="true"] .mh-menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }
.mh-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; padding: .75rem max(var(--mh-gutter), var(--mh-safe-left)) 1.25rem; background: var(--mh-bg); border-bottom: 1px solid var(--mh-line); box-shadow: 0 18px 30px -20px rgba(16, 42, 60, .45); }
.mh-nav.is-open { display: block; }
.mh-nav ul { list-style: none; margin: 0 0 .75rem; padding: 0; display: grid; gap: .25rem; }
.mh-nav a:not(.mh-btn) { display: flex; align-items: center; min-height: 44px; padding: .25rem .5rem; color: var(--mh-ink); text-decoration: none; font-family: var(--mh-display); font-weight: 600; font-size: 1.1rem; border-radius: 8px; }
.mh-nav a:not(.mh-btn):hover { background: var(--mh-tint); }

/* Buttons */
.mh-btn, .mhs-landing-page .wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .75rem 1.35rem;
  border-radius: 999px; border: 2px solid transparent; font-family: var(--mh-display); font-weight: 700; font-size: 1.05rem; line-height: 1.2; letter-spacing: .01em;
  text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s, transform .15s;
  background: var(--mh-blue); color: #fff;
}
.mh-btn.mh-btn--accent, .mhs-landing-page .mh-btn--accent .wp-block-button__link { background: var(--mh-accent); color: #fff !important; box-shadow: 0 10px 24px -14px rgba(163, 95, 31, .9); }
.mh-btn.mh-btn--accent:hover, .mhs-landing-page .mh-btn--accent .wp-block-button__link:hover { background: var(--mh-accent-hover); transform: translateY(-1px); }
.mhs-landing-page .mh-btn--ghost .wp-block-button__link { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); color: #fff !important; }
.mhs-landing-page .mh-btn--ghost .wp-block-button__link:hover { background: rgba(255, 255, 255, .2); }
.mhs-landing-page .mh-btn--outline .wp-block-button__link { background: transparent; border-color: var(--mh-blue); color: var(--mh-blue) !important; }
.mhs-landing-page .mh-btn--outline .wp-block-button__link:hover { background: var(--mh-blue); color: #fff !important; }
.mhs-landing-page .mh-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.mhs-landing-page .mh-actions .wp-block-button { margin: 0; flex: 1 1 100%; }
.mhs-landing-page .mh-actions .wp-block-button__link { width: 100%; }
.mhs-landing-page .mh-actions--center { justify-content: center; }

/* Sections */
.mh-main { display: block; }
.mhs-landing-page .mh-main > .wp-block-group { margin: 0; }
.mh-section { padding-block: clamp(3.5rem, 8vw, 6.5rem); padding-inline: max(var(--mh-gutter), var(--mh-safe-left), calc((100% - var(--mh-max)) / 2)) max(var(--mh-gutter), var(--mh-safe-right), calc((100% - var(--mh-max)) / 2)); }
.mhs-landing-page .mh-section > * { margin-block: 0; }
.mhs-landing-page .mh-section > * + * { margin-top: 1.25rem; }
.mh-section--tint { background: var(--mh-tint); }
.mh-section--dark, .mh-section--cta { background: var(--mh-navy); color: var(--mh-navy-ink); }
.mhs-landing-page .mh-section.mh-section--dark .mh-section__title, .mhs-landing-page .mh-section.mh-section--cta .mh-section__title { color: #fff; }
.mh-section--dark .mh-section__lead, .mh-section--cta .mh-section__lead { color: var(--mh-navy-ink); }
.mhs-landing-page .mh-section--dark .mh-eyebrow, .mhs-landing-page .mh-section--cta .mh-eyebrow { color: #fff; }
.mh-section--cta { text-align: center; background: radial-gradient(120% 120% at 50% 0%, #1a3d55 0%, var(--mh-navy) 60%); }
.mh-section--cta .mh-section__lead { margin-inline: auto; }
.mh-section--cta .mh-contact { font-size: 1.15rem; }
.mh-section--cta a:not(.wp-block-button__link) { color: #fff; }
.mh-section--cta .mh-note { color: #b9c6cf; margin-inline: auto; }

.mhs-landing-page .mh-eyebrow { font-family: var(--mh-display); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mh-accent); }
@media (prefers-color-scheme: dark) { .mhs-landing-page .mh-eyebrow { color: #f0b67a; } }
.mhs-landing-page .mh-section .mh-section__title { margin-top: .5rem; font-family: var(--mh-display); font-weight: 700; font-size: clamp(1.85rem, 1.3rem + 2.4vw, 3rem); line-height: 1.08; letter-spacing: -.005em; color: var(--mh-ink); max-width: 24ch; text-wrap: balance; }
.mh-section--cta .mh-section__title { margin-inline: auto; }
.mh-section__lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--mh-muted); max-width: 70ch; }
.mhs-landing-page .mh-subtitle { margin-top: 3rem !important; font-family: var(--mh-display); font-weight: 700; font-size: 1.45rem; line-height: 1.2; color: var(--mh-ink); }
.mh-note { font-size: .9rem; color: var(--mh-muted); max-width: 80ch; }
.mhs-landing-page h3 { font-family: var(--mh-display); font-weight: 700; }

/* Hero */
.mh-hero {
  position: relative; isolation: isolate; color: #fff; min-height: min(92vh, 900px); display: flex; flex-direction: column; justify-content: center;
  padding-block: clamp(3rem, 10vw, 6rem); padding-inline: max(var(--mh-gutter), var(--mh-safe-left), calc((100% - var(--mh-max)) / 2)) max(var(--mh-gutter), var(--mh-safe-right), calc((100% - var(--mh-max)) / 2));
  background: linear-gradient(180deg, rgba(10, 24, 35, .55) 0%, rgba(10, 24, 35, .72) 55%, rgba(10, 24, 35, .9) 100%), var(--mh-hero-img) center / cover no-repeat, var(--mh-navy);
}
@media (min-width: 1280px) { .mh-hero { background: linear-gradient(90deg, rgba(10, 24, 35, .9) 0%, rgba(10, 24, 35, .65) 55%, rgba(10, 24, 35, .35) 100%), var(--mh-hero-img-lg) center / cover no-repeat, var(--mh-navy); } }
.mhs-landing-page .mh-hero > * { margin-block: 0; max-width: 820px; }
.mhs-landing-page .mh-hero > * + * { margin-top: 1.25rem; }
.mhs-landing-page .mh-hero .mh-eyebrow { color: #f0b67a; }
.mhs-landing-page .mh-hero__title { font-family: var(--mh-display); font-weight: 700; font-size: clamp(2.1rem, 1.3rem + 4vw, 4.1rem); line-height: 1.03; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.mh-hero__lead { font-size: clamp(1.08rem, 1rem + .45vw, 1.3rem); color: #e3eaef; max-width: 62ch; }
.mh-hero__lead strong { color: #fff; }
.mh-hero__trust { font-size: .95rem; color: #c9d5dc; }

.mhs-landing-page .mh-stats { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 2rem !important; }
.mh-stats li { margin: 0; padding: .9rem 1rem; border-radius: 12px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .9rem; line-height: 1.3; color: #d7e1e7; }
.mh-stats li strong { display: block; font-family: var(--mh-display); font-weight: 700; font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.1; color: #fff; margin-bottom: .2rem; }

/* Simulation section */
.mh-section--sim { background: linear-gradient(180deg, var(--mh-tint) 0%, var(--mh-bg) 100%); }
.mhs-landing-page .mh-section--sim .mhs-sim { margin-top: 2rem; }

/* Cards */
.mhs-landing-page .mh-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2rem !important; }
.mhs-landing-page .mh-card { margin: 0; padding: 1.5rem; border-radius: var(--mh-radius); background: var(--mh-surface); border: 1px solid var(--mh-line); box-shadow: 0 16px 36px -28px rgba(16, 42, 60, .55); }
.mhs-landing-page .mh-card > * { margin-block: 0; }
.mhs-landing-page .mh-card > * + * { margin-top: .6rem; }
.mhs-landing-page .mh-card h3 { font-size: 1.35rem; line-height: 1.2; color: var(--mh-ink); }
.mhs-landing-page .mh-card p { color: var(--mh-muted); }
.mhs-landing-page .mh-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--mh-accent-soft); color: var(--mh-accent) !important; font-family: var(--mh-display); font-weight: 700; font-size: 1.5rem; line-height: 1; }
@media (prefers-color-scheme: dark) { .mhs-landing-page .mh-card__icon { color: #f0b67a !important; } }

/* Compare */
.mhs-landing-page .mh-compare { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 2rem !important; }
.mhs-landing-page .mh-compare__item { margin: 0; padding: 1.5rem; border-radius: var(--mh-radius); background: var(--mh-surface); border: 1px solid var(--mh-line); }
.mhs-landing-page .mh-compare__item > * { margin-block: 0; }
.mhs-landing-page .mh-compare__item > * + * { margin-top: .6rem; }
.mhs-landing-page .mh-compare__item--highlight { border: 2px solid var(--mh-accent); box-shadow: 0 20px 44px -30px rgba(163, 95, 31, .8); }
.mh-compare__label { font-family: var(--mh-display); font-weight: 700; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--mh-muted); }
.mh-compare__value { font-family: var(--mh-display); font-weight: 700; font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.05; color: var(--mh-ink); }
.mh-compare__value span { font-size: 1rem; font-weight: 600; color: var(--mh-muted); }
.mh-compare__item ul { margin: 0; padding-left: 1.2rem; color: var(--mh-muted); }

/* Table */
.mhs-landing-page .mh-table { margin: 1rem 0 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mhs-landing-page .mh-table table { width: 100%; min-width: 620px; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--mh-surface); border-radius: 12px; overflow: hidden; }
.mhs-landing-page .mh-table th, .mhs-landing-page .mh-table td { padding: .75rem 1rem; border: 0; border-bottom: 1px solid var(--mh-line); text-align: left; color: var(--mh-ink); }
.mhs-landing-page .mh-table thead th { font-family: var(--mh-display); font-weight: 700; font-size: .9rem; color: var(--mh-muted); background: var(--mh-surface); border-bottom: 2px solid var(--mh-line); }
.mhs-landing-page .mh-table tfoot td { font-weight: 700; border-bottom: 0; border-top: 2px solid var(--mh-line); }
.mhs-landing-page .mh-table figcaption { margin-top: .5rem; font-size: .875rem; color: var(--mh-muted); text-align: left; }
.mhs-landing-page .mh-capacity { margin-top: 1.5rem !important; padding: 1.25rem 1.5rem; border-left: 4px solid var(--mh-accent); background: var(--mh-surface); border-radius: 0 12px 12px 0; }
.mhs-landing-page .mh-capacity > * { margin-block: 0; }
.mhs-landing-page .mh-capacity > * + * { margin-top: .5rem; }

/* Light stats on dark */
.mh-stats--light li { background: rgba(255, 255, 255, .08); }

/* Facts */
.mhs-landing-page .mh-facts { list-style: none; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 2rem !important; border-top: 1px solid var(--mh-line); }
.mh-facts li { margin: 0; display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--mh-line); font-weight: 600; text-align: right; }
.mh-facts li span { font-weight: 400; color: var(--mh-muted); text-align: left; }
.mhs-landing-page .mh-split { gap: 2rem; margin-top: 1rem !important; }
.mhs-landing-page .mh-list { padding-left: 1.2rem; }
.mhs-landing-page .mh-list li { margin: .4rem 0; }

/* Gallery */
.mhs-landing-page .mh-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; margin-top: 1rem !important; }
.mhs-landing-page .mh-gallery .wp-block-image { margin: 0; border-radius: 12px; overflow: hidden; background: var(--mh-surface); border: 1px solid var(--mh-line); }
.mhs-landing-page .mh-gallery .wp-block-image a { display: block; }
.mhs-landing-page .mh-gallery .wp-block-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.mhs-landing-page .mh-gallery--plans .wp-block-image img { object-fit: contain; background: #fff; padding: .5rem; }
.mhs-landing-page .mh-gallery figcaption { margin: 0; padding: .5rem .75rem; font-size: .875rem; color: var(--mh-muted); text-align: left; }

/* FAQ */
.mhs-landing-page .mh-faq { display: grid; gap: .75rem; margin-top: 2rem !important; max-width: 900px; }
.mhs-landing-page .mh-faq .wp-block-details { margin: 0; border-radius: 12px; background: var(--mh-surface); border: 1px solid var(--mh-line); }
.mhs-landing-page .mh-faq summary { position: relative; display: block; min-height: 44px; padding: 1rem 3rem 1rem 1.25rem; cursor: pointer; font-family: var(--mh-display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; list-style: none; }
.mhs-landing-page .mh-faq summary::-webkit-details-marker { display: none; }
.mhs-landing-page .mh-faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--mh-accent); transition: transform .2s; }
.mhs-landing-page .mh-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.mhs-landing-page .mh-faq details > :not(summary) { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--mh-muted); }

/* Footer */
.mh-footer { background: #0b1d2a; color: #b9c6cf; padding: 3rem max(var(--mh-gutter), var(--mh-safe-left)) 1.5rem; font-size: .95rem; }
.mh-footer a { color: #fff; }
.mh-footer__inner { max-width: var(--mh-max); margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.mh-footer p { margin: 0 0 .5rem; }
.mh-footer__brand { font-family: var(--mh-display); font-weight: 700; font-size: 1.4rem; color: #fff; }
.mh-footer__title { font-family: var(--mh-display); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .85rem; color: #f0b67a; }
.mh-footer__links { list-style: none; margin: 0; padding: 0; }
.mh-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.mh-footer__bottom { max-width: var(--mh-max); margin: 2rem auto 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; display: grid; gap: .25rem; }

/* Besucherzähler */
.mh-counter { max-width: var(--mh-max); margin: 2rem auto 0; display: flex; justify-content: center; padding-bottom: .5rem; }
.mh-footer p.mh-counter__inner { margin: 0; display: grid; grid-template-columns: auto auto; grid-template-areas: "icon label" "value value" "since since"; justify-items: center; align-items: center; column-gap: .5rem; row-gap: .1rem; min-width: min(100%, 18rem); padding: 1.1rem 2rem 1.2rem; border-radius: 20px; text-align: center; background: radial-gradient(120% 140% at 50% 0%, rgba(240, 182, 122, .16) 0%, rgba(255, 255, 255, .04) 70%); border: 1px solid rgba(240, 182, 122, .35); box-shadow: 0 18px 40px -28px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06); }
.mh-counter__icon { grid-area: icon; width: 20px; height: 20px; color: #f0b67a; justify-self: end; }
.mh-counter__label { grid-area: label; justify-self: start; font-family: var(--mh-display); font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #f0b67a; }
.mh-counter__value { grid-area: value; font-family: var(--mh-display); font-weight: 700; font-size: clamp(2.4rem, 1.9rem + 2.4vw, 3.6rem); line-height: 1.05; letter-spacing: .02em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 2px 18px rgba(240, 182, 122, .25); }
.mh-counter__since { grid-area: since; font-size: .82rem; color: #9fb0bb; }
.mh-counter.is-pulse .mh-counter__value { animation: mh-counter-pulse .9s ease; }
@keyframes mh-counter-pulse { 0% { transform: scale(1); } 40% { transform: scale(1.06); color: #f0b67a; } 100% { transform: scale(1); } }

/* Quickbar (Smartphone) */
.mh-quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: .5rem; padding: .5rem max(.75rem, var(--mh-safe-left)) calc(.5rem + var(--mh-safe-bottom)) max(.75rem, var(--mh-safe-right)); background: color-mix(in srgb, var(--mh-bg) 92%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--mh-line); }
.mh-quickbar__item { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 48px; border-radius: 12px; border: 1px solid var(--mh-line); background: var(--mh-surface); color: var(--mh-ink) !important; text-decoration: none; font-family: var(--mh-display); font-weight: 700; font-size: .95rem; }
.mh-quickbar__item svg { width: 20px; height: 20px; flex: none; }
.mh-quickbar__item--accent { background: var(--mh-accent); border-color: var(--mh-accent); color: #fff !important; }
body.mhs-landing-page { --mh-quickbar-h: 68px; }

/* XS: 320–374 */
@media (max-width: 374px) {
  :root { --mh-gutter: 1rem; }
  .mh-brand__sub { display: none; }
  .mh-quickbar__item span { font-size: .85rem; }
  .mhs-landing-page .mh-stats { grid-template-columns: minmax(0, 1fr); }
}
/* M: ab 480 */
@media (min-width: 480px) {
  .mhs-landing-page .mh-actions .wp-block-button { flex: 0 1 auto; }
  .mhs-landing-page .mh-actions .wp-block-button__link { width: auto; }
  .mhs-landing-page .mh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* L: ab 768 – mehrspaltig */
@media (min-width: 768px) {
  :root { --mh-gutter: 2rem; }
  .mh-quickbar { display: none; }
  body.mhs-landing-page { --mh-quickbar-h: 0px; }
  .mhs-landing-page .mh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhs-landing-page .mh-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhs-landing-page .mh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; }
  .mhs-landing-page .mh-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mhs-landing-page .mh-gallery--plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mh-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; }
}
/* XL: ab 960 – Desktop-Navigation */
@media (min-width: 960px) {
  :root { --mh-header-h: 72px; }
  .mh-menu-btn { display: none; }
  .mh-nav { position: static; display: flex !important; align-items: center; gap: 1.25rem; padding: 0; background: none; border: 0; box-shadow: none; }
  .mh-nav ul { display: flex; gap: .25rem; margin: 0; }
  .mh-nav a:not(.mh-btn) { font-size: 1rem; padding: .25rem .65rem; }
  .mh-nav__cta { min-height: 44px; padding: .55rem 1.1rem; font-size: 1rem; }
  .mhs-landing-page .mh-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mhs-landing-page .mh-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mhs-landing-page .mh-gallery--plans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mhs-landing-page .mh-cards--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* XXL: ab 1280 */
@media (min-width: 1280px) {
  .mhs-landing-page .mh-cards:not(.mh-cards--compact) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* UHD: ab 1920 */
@media (min-width: 1920px) {
  :root { --mh-max: 1440px; }
  body.mhs-landing-page { font-size: 1.125rem; }
}
/* Foldables: aufgeklappt – zweispaltig */
@media (horizontal-viewport-segments: 2) {
  .mhs-landing-page .mh-split, .mhs-landing-page .mh-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Querformat auf Smartphones */
@media (max-height: 500px) and (orientation: landscape) {
  .mh-hero { min-height: auto; }
  .mh-quickbar { display: none; }
  body.mhs-landing-page { --mh-quickbar-h: 0px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mhs-landing-page * { transition: none !important; animation: none !important; }
}
/* Rechtsseiten (Impressum, Datenschutzerklärung) */
.mhs-landing-page .mh-legal-head { padding-block: clamp(2.5rem, 7vw, 4.5rem); background: radial-gradient(120% 140% at 0% 0%, #1a3d55 0%, var(--mh-navy) 65%); }
.mhs-landing-page .mh-legal-head .mh-section__lead { color: #c9d5dc; }
.mhs-landing-page .mh-legal { max-width: none; padding-top: clamp(2rem, 5vw, 3.25rem); }
.mhs-landing-page .mh-legal > * { max-width: 78ch; }
.mhs-landing-page .mh-legal > * + * { margin-top: 1rem; }
.mhs-landing-page .mh-legal h2 { margin-top: 2.75rem; padding-top: .25rem; font-family: var(--mh-display); font-weight: 700; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); line-height: 1.2; color: var(--mh-ink); scroll-margin-top: calc(var(--mh-header-h) + 16px); }
.mhs-landing-page .mh-legal h3 { margin-top: 1.75rem; font-size: 1.2rem; line-height: 1.25; color: var(--mh-ink); }
.mhs-landing-page .mh-legal > h2:first-child { margin-top: 0; padding-top: 0; }
.mhs-landing-page .mh-legal > nav + h2 { margin-top: 2.25rem; }
.mhs-landing-page .mh-legal p, .mhs-landing-page .mh-legal li { color: var(--mh-ink); overflow-wrap: anywhere; hyphens: auto; }
.mhs-landing-page .mh-legal ul, .mhs-landing-page .mh-legal ol { padding-left: 1.3rem; }
.mhs-landing-page .mh-legal li + li { margin-top: .35rem; }
.mhs-landing-page .mh-legal__intro { color: var(--mh-muted) !important; font-size: .95rem; }
.mhs-landing-page .mh-legal-card { padding: 1.1rem 1.25rem; border-left: 4px solid var(--mh-accent); border-radius: 0 12px 12px 0; background: var(--mh-tint); }
.mhs-landing-page .mh-legal-toc { padding: 1.1rem 1.25rem 1.25rem; border: 1px solid var(--mh-line); border-radius: var(--mh-radius); background: var(--mh-surface); box-shadow: 0 16px 36px -30px rgba(16, 42, 60, .55); }
.mhs-landing-page .mh-legal-toc > * { margin-block: 0; }
.mhs-landing-page .mh-legal-toc__title { font-family: var(--mh-display); font-weight: 700; font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--mh-accent) !important; }
.mhs-landing-page .mh-legal-toc ol { margin-top: .5rem; display: grid; gap: 0 2rem; }
.mhs-landing-page .mh-legal-toc li + li { margin-top: 0; }
.mhs-landing-page .mh-legal-toc a { display: inline-flex; align-items: center; min-height: 44px; }
.mhs-landing-page .mh-legal-table { margin: 0; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mhs-landing-page .mh-legal-table table { width: 100%; border-collapse: collapse; background: var(--mh-surface); border: 1px solid var(--mh-line); border-radius: 12px; overflow: hidden; }
.mhs-landing-page .mh-legal-table th, .mhs-landing-page .mh-legal-table td { padding: .7rem 1rem; border: 0; border-bottom: 1px solid var(--mh-line); text-align: left; vertical-align: top; color: var(--mh-ink); }
.mhs-landing-page .mh-legal-table tbody th { width: 34%; font-weight: 600; color: var(--mh-muted); }
.mhs-landing-page .mh-legal-table thead th { font-family: var(--mh-display); font-weight: 700; color: var(--mh-muted); border-bottom-width: 2px; }
.mhs-landing-page .mh-legal-table tr:last-child > * { border-bottom: 0; }
.mhs-landing-page .mh-legal-table thead { border-bottom: 0; }
.mhs-landing-page .mh-legal-table thead tr:last-child > * { border-bottom: 2px solid var(--mh-line); }
.mhs-landing-page .mh-legal .mh-actions { margin-top: 2.5rem; }
@media (prefers-color-scheme: dark) { .mhs-landing-page .mh-legal-toc__title { color: #f0b67a !important; } }
@media (min-width: 768px) { .mhs-landing-page .mh-legal-toc ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .mhs-landing-page .mh-legal-table tbody th, .mhs-landing-page .mh-legal-table tbody td { display: block; width: auto; } .mhs-landing-page .mh-legal-table tbody th { padding-bottom: 0; border-bottom: 0; } }

/* Druck / Exposé */
@page { size: A4; margin: 14mm 13mm 16mm; }
@page mh-cover { margin: 0; }
@media print {
  html { scroll-behavior: auto; }
  body.mhs-landing-page { padding: 0 !important; font-size: 10.5pt; line-height: 1.5; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mh-header, .mh-quickbar, .mh-skip, .mh-counter, .mhs-landing-page .wp-block-buttons, .mh-legal-toc { display: none !important; }
  body.mhs-landing-page > #page-top, #cmplz-cookiebanner-container, #cmplz-manage-consent { display: none !important; }
  .mhs-landing-page a { color: inherit; text-decoration: none; }
  .mh-section { padding: 9mm 0 0 !important; }
  .mhs-landing-page .mh-section > * + * { margin-top: 3.5mm; }
  .mhs-landing-page .mh-section .mh-section__title { font-size: 21pt; max-width: none; }
  .mh-section__lead { font-size: 11pt; }
  .mhs-landing-page h2, .mhs-landing-page h3, .mh-eyebrow { break-after: avoid; page-break-after: avoid; }
  .mhs-landing-page p, .mhs-landing-page li { orphans: 3; widows: 3; }
  .mh-hero:not(.mh-hero--compact) { page: mh-cover; min-height: 297mm; height: 297mm; padding: 26mm 18mm 20mm !important; justify-content: flex-end; break-after: page; page-break-after: always;
    background: linear-gradient(180deg, rgba(10, 24, 35, .15) 0%, rgba(10, 24, 35, .55) 45%, rgba(10, 24, 35, .94) 100%), var(--mh-hero-img-lg) center / cover no-repeat, var(--mh-navy) !important; }
  .mh-hero--compact { min-height: 0; padding: 10mm 12mm !important; border-radius: 4mm; }
  .mhs-landing-page .mh-hero__title { font-size: 30pt; }
  .mh-hero__lead { font-size: 12.5pt; }
  .mhs-landing-page .mh-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 3mm; }
  .mh-stats li { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .14); }
  .mh-section--dark, .mh-section--cta { padding: 9mm 10mm !important; margin-top: 9mm !important; border-radius: 4mm; }
  .mh-section--tint, .mh-section--sim { background: none !important; }
  .mhs-landing-page .mh-cards { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 4mm; }
  .mhs-landing-page .mh-compare { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 4mm; }
  .mhs-landing-page .mh-facts { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; column-gap: 8mm; }
  .mhs-landing-page .mh-gallery { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 3mm; }
  .mhs-landing-page .mh-card, .mhs-landing-page .mh-compare__item, .mhs-landing-page .mh-capacity, .mh-facts li, .mhs-landing-page .mh-table, .mhs-landing-page .mh-gallery .wp-block-image, .mhs-landing-page .mh-faq .wp-block-details, .mhs-landing-page .mh-legal-card, .mhs-landing-page .mh-legal-table { break-inside: avoid; page-break-inside: avoid; box-shadow: none !important; }
  .mhs-landing-page .mh-table table { min-width: 0; }
  .mhs-landing-page .mh-faq summary { padding: 3mm 4mm 1mm; min-height: 0; }
  .mhs-landing-page .mh-faq summary::after { display: none; }
  .mhs-landing-page .mh-faq details > :not(summary) { padding: 0 4mm 3mm; }
  .mh-footer { padding: 8mm 0 0; margin-top: 9mm; background: none; color: #444; border-top: 1px solid #ccc; }
  .mh-footer a, .mh-footer__brand { color: #14202b; }
  .mh-footer__title { color: #a35f1f; }
  .mh-footer__inner { grid-template-columns: 1.2fr 1fr 1fr; }
  .mh-footer__links a { min-height: 0; }
  .mh-footer__bottom { border-top-color: #ddd; }
  .mhs-landing-page .mh-legal-head { padding: 10mm 12mm !important; }
  .mhs-landing-page .mh-legal > * { max-width: none; }
  .mhs-landing-page .mh-legal h2 { margin-top: 7mm; font-size: 14pt; }
}
.mh-nav a[aria-current="true"]:not(.mh-btn), .mh-nav a[aria-current="page"]:not(.mh-btn) { color: var(--mh-accent); }
@media (prefers-color-scheme: dark) { .mh-nav a[aria-current="true"]:not(.mh-btn), .mh-nav a[aria-current="page"]:not(.mh-btn) { color: #f0b67a; } }
