/* Gemeinsame Entwicklungsbasis, keine vollständige Übertragung der Seiten.
 * 850 px: vorläufiger Header-/Zweispalten-Breakpoint, im WP-Browser zu prüfen.
 * Native Navigation übernimmt Öffnen/Schließen, Fokusführung und Tastatur.
 */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block-start: 0; }
/* Gemeinsame Inhaltsbasis nach der bestätigten Startseiten-Sichtung.
 * Überschriften/Aussagen behalten ihre eigenen Bricolage-Regeln. */
.mm-home, .mm-services, .mm-about, .mm-contact, .mm-blog, .mm-legal, .mm-not-found { font-family: var(--wp--preset--font-family--inter); font-weight: 400; -webkit-font-smoothing: antialiased; }
/* Auch die direkten Hauptabschnitte gehören zum Reset. Der verschachtelte
 * Selektor in den Seiten-Dateien erfasst diese Kinder des Seitenroots nicht.
 * Sonst zeichnet WP zwischen den farbigen Abschnitten 20 px Grundfläche. */
.mm-home.wp-block-group > *,
.mm-services.wp-block-group > *,
.mm-about.wp-block-group > *,
.mm-contact.wp-block-group > *,
.mm-blog.wp-block-group > *,
.mm-legal.wp-block-group > *,
.mm-not-found.wp-block-group > * { margin-block: 0; }
.mm-shell { box-sizing: border-box; width: min(calc(100% - 64px), 1160px); margin-inline: auto; }
.mm-page { padding-block: 64px 112px; }
.mm-page h1 { max-width: 100%; font-size: clamp(42px, 3.8vw, 56px); overflow-wrap: normal; }
.mm-page h2 { font-size: var(--wp--custom--heading--section-desktop); }
.mm-page h3 { font-size: 28px; }
.mm-page p, .mm-page li { font-size: var(--wp--preset--font-size--body); }
.mm-section { padding-block: var(--wp--preset--spacing--section-desktop); }
.mm-section > :first-child { margin-block-start: 0; }
.mm-section > :last-child { margin-block-end: 0; }
.mm-eyebrow { display: flex; align-items: center; gap: 14px; color: var(--wp--preset--color--petrol); font-size: 13px !important; font-weight: 600; font-optical-sizing: none; letter-spacing: .13em; text-transform: uppercase; }
.mm-eyebrow::after { content: ""; width: 48px; height: 2px; background: var(--wp--preset--color--gold); flex: 0 0 48px; }
.mm-highlight { padding: 32px; background: var(--wp--preset--color--petrol); color: var(--wp--preset--color--white); border-bottom: 3px solid var(--wp--preset--color--gold); }
.mm-highlight p { margin: 0; font-size: var(--wp--preset--font-size--highlight); line-height: 1.45; }
.mm-text-image { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; align-items: start; }
.mm-text-image > h2 { grid-column: 1; grid-row: 1; margin: 0 0 24px; }
.mm-text-image > .mm-photo { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
.mm-text-image > .mm-copy { grid-column: 1; grid-row: 2; margin: 0; }
.mm-photo img { display: block; width: 100%; height: auto; border-radius: 0; }
.mm-photo figcaption { color: var(--wp--custom--color--muted); }
.mm-article { max-width: var(--wp--custom--width--article); }
.mm-article-body :is(p, li) { font-size: var(--wp--preset--font-size--body); line-height: var(--wp--custom--line-height--article); }
.mm-article h2 { font-size: var(--wp--custom--heading--article-desktop); }
.mm-article h3 { font-size: 25px; }
.mm-ai-caption { font-style: italic; font-weight: 400; font-size: var(--wp--preset--font-size--caption); line-height: var(--wp--custom--line-height--caption); }
.wp-block-button__link { box-sizing: border-box; min-height: var(--wp--custom--button--min-height); display: inline-flex; align-items: center; justify-content: center; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 3px solid var(--wp--preset--color--petrol); outline-offset: 4px; }
.mm-highlight :where(a, button):focus-visible { outline-color: var(--wp--preset--color--white); }

.mm-header, .mm-footer { background: var(--wp--preset--color--white); color: var(--wp--preset--color--graphite); font-family: var(--wp--preset--font-family--inter); font-optical-sizing: none; -webkit-font-smoothing: antialiased; }
.mm-header { border-bottom: 1px solid var(--wp--preset--color--line); }
/* Kein zusätzlicher grauer Strich vor einer direkt anschließenden
 * Bild-/Farbfläche. Bei anderen Einstiegen bleibt die neutrale Trennlinie. */
.wp-site-blocks:has(
  .mm-home > .hero:first-child,
  .mm-services > .service-hero:first-child,
  .mm-about > .about-hero:first-child,
  .mm-contact > .contact-hero:first-child,
  .mm-blog > .mm-blog-hero:first-child,
  .mm-blog > .mm-article-heading:first-child,
  .mm-legal > .legal-heading:first-child,
  .mm-not-found > .not-found:first-child
) .mm-header { border-bottom: 0; }
.mm-header-row { width: 100%; min-height: 108px; padding: 14px clamp(32px, 3.4vw, 64px); gap: 40px; }
.mm-brand { display: flex; align-items: center; gap: 15px; min-width: 0; color: inherit; text-decoration: none; }
.mm-brand:hover { color: inherit; }
.mm-brand-copy { display: block; min-width: 0; }
.mm-brand-name { display: block; font-family: var(--wp--preset--font-family--bricolage); font-size: var(--wp--custom--brand--font-size-desktop); font-weight: 690; font-variation-settings: var(--wp--custom--font-axes--brand); line-height: 1; letter-spacing: -.012em; }
.mm-brand-role { display: block; margin-top: 4px; max-width: 340px; font-size: var(--wp--custom--brand--role-font-size); font-weight: 600; line-height: 1.35; }
.mm-keep-word { white-space: nowrap; }
/* Unveränderte E-019-Rasterreferenz; nur Screenshotränder in der Anzeige ausblenden. */
.mm-signet { --mm-signet-height: 48px; position: relative; display: block; width: calc(var(--mm-signet-height) * 1.17052); height: var(--mm-signet-height); flex: 0 0 calc(var(--mm-signet-height) * 1.17052); overflow: hidden; mix-blend-mode: multiply; }
.mm-signet img { position: absolute; display: block; width: 117.5309%; max-width: none; height: auto; left: -11.1111%; top: -10.6936%; }
.mm-nav { flex-shrink: 0; }
.mm-nav .wp-block-navigation__container { gap: 28px; }
.mm-nav .wp-block-navigation-item__content { color: var(--wp--preset--color--graphite); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.25; min-height: 48px; display: inline-flex; align-items: center; }
.mm-nav .wp-block-navigation-item__content:hover,
.mm-nav .mm-nav-current > .wp-block-navigation-item__content,
.mm-nav .current-menu-item > .wp-block-navigation-item__content { color: var(--wp--preset--color--petrol); text-decoration: none; }
/* Aktive Seite zusätzlich zur Farbe erkennbar; keine neue Unterstreichung. */
.mm-nav .mm-nav-current > .wp-block-navigation-item__content,
.mm-nav .current-menu-item > .wp-block-navigation-item__content,
.mm-nav .wp-block-navigation-item__content[aria-current] { font-weight: 700; }
.mm-nav .mm-nav-contact:not(.mm-nav-current):not(.current-menu-item) > a { padding: 13px 19px; background: var(--wp--preset--color--petrol); color: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--petrol); border-radius: 3px; box-sizing: border-box; }
.mm-nav .mm-nav-contact:not(.mm-nav-current):not(.current-menu-item) > a:hover { background: var(--wp--custom--color--petrol-hover); }
.mm-nav .mm-nav-contact > a { font-size: 16px; }
.mm-nav .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--white); color: var(--wp--preset--color--graphite); padding: 28px 21px 72px; }
.mm-nav .is-menu-open .wp-block-navigation__responsive-container-content { align-items: stretch; padding-top: 48px; }
.mm-nav .is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 8px; width: 100%; }
.mm-nav .is-menu-open .wp-block-navigation-item__content { font-size: 17px; }
.mm-nav .is-menu-open .mm-nav-contact:not(.mm-nav-current):not(.current-menu-item) { width: min(100%, 197px); margin-top: 16px; margin-bottom: 72px; }
.mm-nav .is-menu-open .mm-nav-contact > a { width: 100%; justify-content: center; }
.mm-nav .is-menu-open .mm-nav-current > a { justify-content: flex-start; }
.mm-footer { padding-block: 48px; border-top: 1px solid var(--wp--preset--color--line); color: var(--wp--custom--color--muted); font-size: 13px; line-height: 1.65; }
.mm-footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 64px; align-items: start; }
.mm-footer-grid > * { margin-block: 0; }
.mm-footer a { color: inherit; text-decoration: none; }
.mm-footer a:hover, .mm-footer a[aria-current] { color: var(--wp--preset--color--petrol); }
.mm-footer a[aria-current] { font-weight: 700; }
.mm-footer-brand > a { display: block; margin-bottom: 4px; color: var(--wp--preset--color--petrol); font-family: var(--wp--preset--font-family--bricolage); font-variation-settings: "opsz" 28, "wdth" 92, "wght" 650; font-size: 18px; font-weight: 650; }
.mm-footer-brand p { font-size: 13px; margin: 0 0 20px; }
.mm-footer-label { color: var(--wp--preset--color--graphite); font-size: 13px; font-weight: 600; margin: 0 0 10px; }
.mm-footer ul { list-style: none; margin: 0; padding: 0; }
.mm-footer li { margin: 0; }
.mm-footer li a { display: inline-flex; align-items: center; min-height: 27px; }

@media (min-width: 851px) and (max-width: 1100px) {
  .mm-header .mm-header-row { flex-wrap: wrap; gap: 20px; }
  .mm-header .mm-nav { width: 100%; justify-content: flex-start; }
}

@media (max-width: 850px) {
  .mm-shell { width: calc(100% - 42px); }
  .mm-header .mm-header-row { --mm-header-signet-height: 38px; width: 100%; min-height: 92px; padding: 14px 18px; gap: 12px; align-items: center; }
  .mm-header .mm-nav { align-self: center; margin-block-start: 0; }
  .mm-brand { gap: 10px; }
  .mm-brand-name { font-size: var(--wp--custom--brand--font-size-mobile); }
  .mm-signet { --mm-signet-height: var(--mm-header-signet-height); }
  .mm-brand-role { max-width: 235px; line-height: 1.4; }
  /* Bestätigte Auswahl: Symbol und Klickfläche mittig zur Absenderkombination,
   * ohne die zuvor getestete Verschiebung an die Signet-Innenkante. */
  .mm-nav .wp-block-navigation__responsive-container-open { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .mm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: none; }
  .mm-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
  .mm-text-image { display: flex; flex-direction: column; gap: 24px; }
  .mm-text-image > h2, .mm-text-image > .mm-photo, .mm-text-image > .mm-copy { margin: 0; }
  .mm-footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
@media (min-width: 851px) {
  .mm-nav .wp-block-navigation__responsive-container:not(.is-menu-open) { display: block; }
  .mm-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: none; }
}
@media (max-width: 700px) {
  .mm-page { padding-block: 48px 72px; }
  .mm-section { padding-block: var(--wp--preset--spacing--section-mobile); }
  .mm-page h2 { font-size: var(--wp--custom--heading--section-mobile); }
  .mm-article h2 { font-size: var(--wp--custom--heading--article-mobile); }
  .mm-highlight { padding: 24px; }
  .mm-highlight p { font-size: 21px; }
  .wp-block-button__link { font-size: var(--wp--custom--button--font-size-mobile); }
  .mm-footer { padding-block: 38px; }
}
@media (max-width: 380px) {
  .mm-footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .mm-nav *, .mm-page * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
