/*
Theme Name: Müllers Technikhilfe
Theme URI: https://www.muellers-technikhilfe.de
Author: Marius Müller
Description: Bearbeitbares Block-Theme für Müllers Technikhilfe in Lübben.
Version: 1.9.0
Requires at least: 6.8
Requires PHP: 8.3
Text Domain: muellers-technikhilfe
*/

:root {
  --mth-ink: #191c1b;
  --mth-green: #2d5a27;
  --mth-green-dark: #154212;
  --mth-green-light: #a1d494;
  --mth-mint: #d9e6d8;
  --mth-cream: #f8faf8;
  --mth-surface: #f2f4f2;
  --mth-white: #ffffff;
  --mth-line: #c2c9bb;
  --mth-muted: #42493e;
  --mth-gold: #efbd3d;
  --mth-shadow: 0 16px 42px rgba(25, 28, 27, .07);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  margin: 0;
  color: var(--mth-ink);
  background: var(--mth-cream);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.6;
}
a { color: var(--mth-green-dark); }
a:hover { color: var(--mth-green); }
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--mth-green-light);
  outline-offset: 4px;
}
img { max-width: 100%; height: auto; }
.wp-site-blocks { overflow: clip; }
/* Let the sticky navigation use the full page as its scroll boundary. */
header.wp-block-template-part { display: contents; }
.mth-wrap {
  width: min(1200px, calc(100% - 64px));
  max-width: 1200px !important;
  margin-inline: auto;
}

.mth-notice {
  padding: 7px 20px;
  color: #fff;
  background: var(--mth-green-dark);
  font-size: .82rem;
  font-weight: 750;
}
.mth-notice .wp-block-group { display: flex; justify-content: space-between; gap: 20px; }
.mth-notice p { margin-block: 0; }
.mth-notice a { color: #fff; text-decoration: none; }
.mth-notice-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}
.mth-notice-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 7px 20px;
}
.mth-notice-links a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  white-space: nowrap;
}
.mth-notice-status {
  padding: 3px 10px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}
.mth-notice-status:hover,
.mth-notice-status:focus-visible { background: rgba(255,255,255,.22); }
.mth-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 8px 0;
  border-bottom: 1px solid rgba(194, 201, 187, .7);
  background: rgba(248, 250, 248, .95);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .035);
  backdrop-filter: blur(14px);
}
.admin-bar .mth-header { top: 32px; }
.mth-header-row {
  display: flex;
  min-height: 136px;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.mth-logo { flex: 0 1 440px; min-width: 0; margin: 0; }
.mth-logo img {
  display: block;
  width: 440px;
  object-fit: contain;
  object-position: left center;
}
.mth-nav { flex: 1 1 auto; justify-content: flex-end; }
.mth-nav .wp-block-navigation__container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.mth-nav a {
  min-height: 44px;
  padding: 10px 12px;
  color: var(--mth-muted);
  font-size: .84rem;
  font-weight: 750;
  letter-spacing: .02em;
  text-decoration: none;
}
.mth-nav a:hover { color: var(--mth-green-dark); }

@media (min-width: 1081px) {
  .mth-header {
    padding: 0;
    border-bottom: 1px solid rgba(194, 201, 187, .65);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 5px 18px rgba(25, 28, 27, .07);
  }
  .mth-header-row {
    width: min(1360px, calc(100% - 64px));
    max-width: 1360px !important;
    min-height: 106px;
    gap: clamp(18px, 2vw, 34px);
  }
  .mth-header-row > .mth-logo {
    width: auto;
    max-width: none !important;
    flex: 0 1 clamp(260px, 24vw, 340px);
    padding: 0;
    margin: 0;
  }
  .mth-header-row > .mth-logo img {
    width: clamp(260px, 24vw, 340px);
  }
  .mth-header-row > .mth-nav {
    position: static;
    display: flex;
    width: auto;
    flex: 1 1 auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }
  .mth-header-row > .mth-nav .wp-block-navigation__responsive-container,
  .mth-header-row > .mth-nav .wp-block-navigation__responsive-close,
  .mth-header-row > .mth-nav .wp-block-navigation__responsive-dialog,
  .mth-header-row > .mth-nav .wp-block-navigation__responsive-container-content {
    width: 100%;
  }
  .mth-nav .wp-block-navigation__container {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0;
  }
  .mth-nav .wp-block-navigation-item {
    flex: 0 0 auto;
  }
  .mth-nav .wp-block-navigation-item > a {
    position: relative;
    display: inline-flex;
    min-height: 64px;
    align-items: center;
    justify-content: center;
    padding: 10px clamp(5px, .55vw, 10px);
    color: var(--mth-ink);
    font-size: clamp(.7rem, .78vw, .82rem);
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
  }
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a {
    gap: 7px;
  }
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item.mth-nav-active > a {
    border-radius: 12px;
    color: var(--mth-green-dark);
    background: var(--mth-mint);
  }
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a::before {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    order: 2;
    background: center / contain no-repeat var(--mth-nav-icon);
    content: "";
    opacity: .48;
    pointer-events: none;
    transform: scale(.96);
    transition: filter .18s ease, opacity .18s ease, transform .18s ease;
  }
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a:hover::before,
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a:focus-visible::before,
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item.mth-nav-active > a::before,
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a[aria-current="page"]::before {
    filter: brightness(0) saturate(100%) invert(22%) sepia(22%) saturate(1570%) hue-rotate(66deg) brightness(86%) contrast(94%);
    opacity: .85;
    transform: scale(1.04);
  }
  .mth-nav .mth-nav-home {
    --mth-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3834' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11.5 12 4l9 7.5'/%3E%3Cpath d='M5.5 10.5V20h13v-9.5M9.5 20v-6h5v6'/%3E%3C/svg%3E");
  }
  .mth-nav .mth-nav-services {
    --mth-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3834' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5 5L3 18l3 3 6.7-6.7a4 4 0 0 0 5-5L15 12l-3-3 2.7-2.7Z'/%3E%3C/svg%3E");
  }
  .mth-nav .mth-nav-faq {
    --mth-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3834' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M9.8 9a2.4 2.4 0 1 1 3.5 2.1c-.9.5-1.3 1-1.3 2M12 17h.01'/%3E%3C/svg%3E");
  }
  .mth-nav .mth-nav-about {
    --mth-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3834' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3'/%3E%3Cpath d='M5.5 20c.8-4 3-6 6.5-6s5.7 2 6.5 6'/%3E%3C/svg%3E");
  }
  .mth-nav .mth-nav-request {
    --mth-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3834' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='18' rx='2'/%3E%3Cpath d='M9 3.5h6M8.5 9h7M8.5 13h4M15.5 16.5l3-3'/%3E%3C/svg%3E");
  }
  .mth-nav .mth-nav-contact {
    --mth-nav-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f3834' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m4 7 8 6 8-6'/%3E%3C/svg%3E");
  }
  .mth-nav .mth-nav-about > a {
    max-width: 62px;
    white-space: normal;
  }
  .mth-nav .mth-nav-request > a {
    max-width: 94px;
    white-space: normal;
  }
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a::after {
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 8px;
    height: 4px;
    border-radius: 4px 4px 0 0;
    background: var(--mth-green-dark);
    content: "";
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .18s ease, transform .18s ease;
  }
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a:hover::after,
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a:focus-visible::after,
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item.mth-nav-active > a::after,
  .mth-nav .wp-block-navigation__container > .wp-block-navigation-item > a[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
  }
}

.mth-section { padding: 96px 0; }
.mth-section-white { background: var(--mth-white); }
.mth-section-soft { background: var(--mth-mint); }
.mth-section-contact { color: #fff; background: var(--mth-green-dark); }
.mth-eyebrow {
  display: inline-block;
  margin: 0 0 20px;
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--mth-green-dark);
  background: var(--mth-mint);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.mth-section-contact .mth-eyebrow {
  color: var(--mth-green-dark);
  background: var(--mth-green-light);
}
.mth-title {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.mth-heading {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3.7vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -.025em;
}
.mth-lead {
  max-width: 760px;
  color: var(--mth-muted);
  font-size: 1.12rem;
  line-height: 1.6;
}
.mth-section-contact .mth-lead { color: #d9e6d8; }

.mth-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 40px;
  background:
    radial-gradient(circle at 90% 18%, rgba(161, 212, 148, .32), transparent 24rem),
    linear-gradient(135deg, #f8faf8 0%, #f2f4f2 52%, #d9e6d8 100%);
}
.mth-hero::after {
  position: absolute;
  right: -160px;
  bottom: -260px;
  width: 560px;
  height: 560px;
  border: 90px solid rgba(45, 90, 39, .08);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.mth-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
  align-items: center;
  gap: 56px;
}
.mth-hero-copy { text-align: left; }
.mth-hero .mth-eyebrow { margin-bottom: 12px; }
.mth-hero .mth-title { font-size: clamp(2.4rem, 4.4vw, 3.15rem); }
.mth-hero .mth-lead {
  margin: 12px 0 0;
  font-size: 1.02rem;
  line-height: 1.48;
}
.mth-trust-list { padding: 0; margin: 20px 0; list-style: none; }
.mth-trust-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 7px 0;
  font-weight: 700;
}
.mth-hero-facts {
  margin: 14px 0 18px;
  font-size: 1rem;
}
.mth-hero-facts li { margin: 4px 0; }
.mth-hero-facts li::before {
  flex-basis: 24px;
  width: 24px;
  height: 24px;
}
.mth-trust-list li::before {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mth-green);
  content: "✓";
  font-size: .8rem;
}
.mth-card-icon {
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mth-green-dark);
  font-size: 1.15rem;
  font-weight: 900;
}
.mth-hero-primary {
  min-width: min(100%, 310px);
  box-shadow: 0 10px 24px rgba(21, 66, 18, .18);
}
.mth-hero-actions {
  display: grid;
  width: min(100%, 720px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.mth-hero-actions .mth-button {
  width: 100%;
  min-width: 0;
  min-height: 60px;
  padding-inline: 18px;
}
.mth-hero-phone {
  gap: 9px;
  border-color: var(--mth-green-dark);
  color: var(--mth-green-dark);
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 66, 18, .1);
}
.mth-hero-phone:hover {
  border-color: var(--mth-green-dark);
  color: #fff;
  background: var(--mth-green-dark);
}
.mth-hero-contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-top: 12px;
}
.mth-hero-contact-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  color: var(--mth-green-dark);
  font-size: .91rem;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.mth-hero-contact-links span { font-size: 1.05rem; }
.mth-portrait-card {
  position: relative;
  z-index: 1;
  min-height: 350px;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(45, 90, 39, .2);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--mth-shadow);
}
.mth-portrait-card-photo img {
  display: block;
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center 20%;
}
.mth-portrait-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 13px 16px;
  border-radius: 14px;
  color: #fff;
  background: rgba(21, 66, 18, .9);
  backdrop-filter: blur(8px);
}
.mth-portrait-card figcaption strong,
.mth-portrait-card figcaption span { display: block; }
.mth-portrait-card figcaption span { font-size: .86rem; }
.mth-portrait-card-placeholder {
  display: grid;
  grid-template-rows: 1fr auto;
  align-content: end;
  padding: 30px;
  background: linear-gradient(150deg, #edf5eb, #d9e6d8);
}
.mth-portrait-initials {
  display: grid;
  width: 150px;
  height: 150px;
  place-items: center;
  margin: auto;
  border: 8px solid rgba(255,255,255,.7);
  border-radius: 50%;
  color: #fff;
  background: var(--mth-green-dark);
  font-size: 2.5rem;
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(21, 66, 18, .16);
}
.mth-portrait-card-placeholder h2 { margin: 0; }
.mth-portrait-card-placeholder p:last-child { margin-bottom: 0; color: var(--mth-muted); }
.mth-portrait-card-placeholder .mth-eyebrow { margin-bottom: 8px; }
.mth-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 32px;
}
.mth-button,
.wp-element-button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 2px solid var(--mth-green-dark);
  border-radius: 12px;
  color: #fff;
  background: var(--mth-green-dark);
  font-size: .9rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.mth-button:hover,
.wp-element-button:hover {
  border-color: var(--mth-green);
  color: #fff;
  background: var(--mth-green);
}
.mth-button-secondary { color: var(--mth-green-dark); background: transparent; }
.mth-button-whatsapp {
  border-color: #218f49;
  color: #176b36;
  background: rgba(37, 211, 102, .08);
}
.mth-button-whatsapp:hover {
  border-color: #176b36;
  color: #fff;
  background: #176b36;
}
.mth-quick-services {
  padding: 34px 0 38px;
  border-block: 1px solid var(--mth-line);
  background: #fff;
}
.mth-quick-services-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.mth-quick-services-heading h2 { margin: 0; font-size: 1.35rem; }
.mth-text-link {
  color: var(--mth-green-dark);
  font-weight: 850;
  text-underline-offset: 4px;
}
.mth-quick-services-heading .mth-text-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border: 2px solid var(--mth-green-dark);
  border-radius: 11px;
  background: #fff;
  text-decoration: none;
}
.mth-quick-services-heading .mth-text-link:hover,
.mth-quick-services-heading .mth-text-link:focus-visible {
  color: #fff;
  background: var(--mth-green-dark);
}
.mth-quick-service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}
.mth-quick-service-list li {
  min-width: 0;
  padding: 0;
  border: 1px solid #afc0ac;
  border-radius: 14px;
  background: #f4f8f2;
  box-shadow: 0 5px 15px rgba(21, 66, 18, .06);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.mth-quick-service-list li:hover,
.mth-quick-service-list li:focus-within {
  border-color: var(--mth-green);
  box-shadow: 0 10px 24px rgba(21, 66, 18, .12);
  transform: translateY(-2px);
}
.mth-quick-service-list a {
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  color: #123b16;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1.25;
  text-decoration: none;
}
.mth-quick-service-list a > span {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 10px;
  color: #fff;
  background: var(--mth-green-dark);
  font-size: 1rem;
  font-weight: 900;
}

.mth-request-section { position: relative; background: var(--mth-surface); }
.mth-request-grid {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: 72px;
}
.mth-request-intro { position: sticky; top: 188px; }
.mth-request-points {
  counter-reset: mth-request-step;
  position: relative;
  padding: 0;
  margin: 38px 0 0;
  list-style: none;
}
.mth-request-points::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 23px;
  width: 2px;
  background: var(--mth-line);
  content: "";
}
.mth-request-points li {
  counter-increment: mth-request-step;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: start;
  gap: 16px;
  margin: 0 0 28px;
}
.mth-request-points li::before {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--mth-line);
  border-radius: 50%;
  color: var(--mth-muted);
  background: var(--mth-surface);
  content: counter(mth-request-step);
  font-weight: 850;
  transition: .18s ease;
}
.mth-request-points li.is-active::before,
.mth-request-points li.is-complete::before {
  border-color: var(--mth-green-dark);
  color: #fff;
  background: var(--mth-green-dark);
}
.mth-request-points strong,
.mth-request-points small { display: block; }
.mth-request-points strong { padding-top: 2px; line-height: 1.3; }
.mth-request-points small {
  margin-top: 5px;
  color: var(--mth-muted);
  font-size: .94rem;
  line-height: 1.45;
}
.mth-form-card {
  min-height: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(194, 201, 187, .75);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--mth-shadow);
}
.mth-form-card > h3 { margin: 0 0 8px; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.mth-form-card > p { margin-top: 0; color: var(--mth-muted); }
.mth-form-card > br { display: none; }
.mth-form-card > .mth-order-form { margin-block-start: 16px !important; }
.mth-form-alternatives-v17 {
  padding: 18px;
  margin-top: 28px;
  border: 1px solid rgba(45, 90, 39, .25);
  border-radius: 14px;
  background: #edf5eb;
}
.mth-form-alternatives-v17 > p {
  margin: 0 0 11px;
  color: var(--mth-green-dark);
  font-weight: 850;
}
.mth-form-alternatives-v17 > div { display: flex; flex-wrap: wrap; gap: 9px; }
.mth-form-alternatives-v17 a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 2px solid var(--mth-green-dark);
  border-radius: 10px;
  color: var(--mth-green-dark);
  background: #fff;
  font-size: .82rem;
  font-weight: 850;
  text-decoration: none;
}
.mth-form-alternatives-v17 a:hover,
.mth-form-alternatives-v17 a:focus-visible { color: #fff; background: var(--mth-green-dark); }

.mth-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 68px;
}
.mth-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mth-card {
  padding: 34px;
  border: 1px solid rgba(194, 201, 187, .7);
  border-radius: 18px;
  background: #fff;
}
.mth-card h3 { margin-top: 0; font-size: 1.28rem; }
.mth-card p:last-child { margin-bottom: 0; color: var(--mth-muted); }
.mth-review-placeholder[hidden] { display: none !important; }
.mth-about-card,
.mth-area-card {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid rgba(45, 90, 39, .22);
  border-radius: 22px;
  background: #edf5eb;
  box-shadow: var(--mth-shadow);
}
.mth-about-card h3,
.mth-area-card h3 { margin-top: 0; }
.mth-about-card li { margin: 9px 0; }
.mth-about-card p:last-of-type { margin-bottom: 0; }
.mth-remote-card {
  border-color: rgba(45, 90, 39, .32);
  background: linear-gradient(145deg, #fff, #edf5eb);
}
.mth-remote-card > p:not(.mth-card-icon) { color: var(--mth-muted); }
.mth-card-icon { margin: 0 0 18px; }
.mth-card-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--mth-green-dark);
  font-size: .9rem;
  font-weight: 850;
}
.mth-remote-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(42px, 7vw, 86px);
}
.mth-remote-intro {
  position: sticky;
  top: 188px;
}
.mth-remote-guide {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(45, 90, 39, .24);
  border-radius: 24px;
  background: #f8faf8;
  box-shadow: var(--mth-shadow);
}
.mth-remote-guide > h3 { margin-top: 0; }
.mth-remote-price-note {
  padding: 16px 18px;
  margin-top: 24px;
  border-left: 5px solid var(--mth-green-dark);
  border-radius: 10px;
  color: var(--mth-muted);
  background: var(--mth-mint);
}
.mth-remote-price-note strong {
  color: var(--mth-green-dark);
  font-size: 1.08rem;
}
.mth-remote-steps {
  counter-reset: mth-remote-step;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}
.mth-remote-steps li {
  counter-increment: mth-remote-step;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 6px 14px;
  padding: 0 0 22px;
}
.mth-remote-steps li::before {
  grid-row: 1 / span 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--mth-green-dark);
  content: counter(mth-remote-step);
  font-weight: 900;
}
.mth-remote-steps strong,
.mth-remote-steps span { display: block; }
.mth-remote-steps span {
  color: var(--mth-muted);
  font-size: .94rem;
}
.mth-safety-note {
  padding: 20px 22px;
  border-left: 5px solid #b57a00;
  border-radius: 12px;
  background: #fff4d6;
}
.mth-safety-note h4 { margin: 0 0 6px; }
.mth-safety-note p { margin: 0; color: #4b3a11; }
.mth-remote-price-card {
  border-color: rgba(161, 212, 148, .62) !important;
}
.mth-price-card-main { border-color: rgba(161, 212, 148, .62) !important; }
.mth-price-footnote { margin-top: 26px; color: #d9e6d8; }
.mth-price-section-light-v17 {
  color: var(--mth-ink);
  background:
    radial-gradient(circle at 92% 8%, rgba(161, 212, 148, .28), transparent 25rem),
    #eef3eb;
}
.mth-price-section-light-v17 .mth-lead { color: var(--mth-muted); }
.mth-price-grid-v17 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 34px;
}
.mth-price-card-v17 {
  height: 100%;
  border: 1px solid #b8c8b5;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 34px rgba(21, 66, 18, .09);
}
.mth-price-card-v17 h3 { margin-bottom: 4px; color: var(--mth-green-dark); }
.mth-price-card-v17 .mth-price {
  margin: 8px 0 20px;
  color: var(--mth-green-dark);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
}
.mth-price-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin: 0 0 18px;
  border-radius: 12px;
  color: #fff;
  background: var(--mth-green-dark);
  font-size: 1.15rem;
  font-weight: 900;
}
.mth-price-features {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  color: var(--mth-muted);
  font-size: .94rem;
  list-style: none;
}
.mth-price-features li {
  position: relative;
  padding-left: 27px;
}
.mth-price-features li::before {
  position: absolute;
  top: .05em;
  left: 0;
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  color: var(--mth-green-dark);
  background: var(--mth-mint);
  content: "✓";
  font-size: .68rem;
  font-weight: 900;
}
.mth-price-section-light-v17 .mth-price-footnote {
  padding: 16px 18px;
  border: 1px solid rgba(45, 90, 39, .18);
  border-radius: 12px;
  color: var(--mth-muted);
  background: rgba(255, 255, 255, .72);
}
.mth-number {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  color: #fff;
  background: var(--mth-green-dark);
  font-weight: 900;
}
.mth-price { margin: 10px 0; color: var(--mth-green-light); font-size: 1.85rem; font-weight: 900; }
.mth-faq details {
  padding: 0 24px;
  margin: 14px 0;
  border: 1px solid var(--mth-line);
  border-radius: 16px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.mth-faq summary {
  display: grid;
  min-height: 64px;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.4;
  list-style: none;
}
.mth-faq summary::-webkit-details-marker { display: none; }
.mth-faq summary::after {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: var(--mth-green-dark);
  background: var(--mth-mint);
  content: "+";
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}
.mth-faq details[open] {
  border-color: rgba(21, 66, 18, .42);
  background: #fbfdfb;
  box-shadow: 0 10px 28px rgba(21, 66, 18, .08);
}
.mth-faq details[open] summary::after {
  color: #fff;
  background: var(--mth-green-dark);
  content: "−";
}
.mth-faq details p { padding: 0 0 22px; margin: 0; font-size: 1rem; }
.mth-faq-price-list {
  display: grid;
  gap: 11px;
  padding: 0 0 18px 24px;
  margin: 0;
  color: var(--mth-muted);
  font-size: .94rem;
}
.mth-faq-price-list li { padding-left: 3px; }
.mth-faq-price-list strong { color: var(--mth-ink); }
.mth-faq details .mth-faq-cost-note {
  padding: 14px 15px;
  margin: 0 0 22px;
  border-left: 4px solid var(--mth-green);
  border-radius: 9px;
  color: var(--mth-muted);
  background: #edf5eb;
  font-size: .86rem;
}
.mth-faq-tools {
  max-width: 760px;
  margin: 24px 0 30px;
}
.mth-faq-tools label {
  display: block;
  margin-bottom: 8px;
  color: var(--mth-ink);
  font-size: .85rem;
  font-weight: 800;
}
.mth-faq-search {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 16px;
  border: 2px solid var(--mth-line);
  border-radius: 14px;
  background: #fff;
}
.mth-faq-search:focus-within {
  border-color: var(--mth-green-dark);
  outline: 3px solid rgba(161, 212, 148, .5);
  outline-offset: 1px;
}
.mth-faq-search-icon {
  color: var(--mth-green-dark);
  font-size: 1.55rem;
  line-height: 1;
}
.mth-faq-search input {
  width: 100%;
  min-width: 0;
  padding: 15px 0;
  border: 0;
  outline: 0;
  color: var(--mth-ink);
  background: transparent;
  font: inherit;
  font-size: 1rem;
}
.mth-faq-count {
  color: var(--mth-muted);
  font-size: .78rem;
  font-weight: 750;
  white-space: nowrap;
}
.mth-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 14px;
}
.mth-faq-list details { margin: 0; }
.mth-faq-empty {
  padding: 22px;
  border: 1px dashed var(--mth-line);
  border-radius: 14px;
  color: var(--mth-muted);
  background: #fff;
}
.mth-contact-box {
  padding: 34px;
  border-radius: 20px;
  color: var(--mth-ink);
  background: #fff;
}
.mth-contact-box a { overflow-wrap: anywhere; font-weight: 800; }
.mth-contact-actions { margin-top: 24px; }
.mth-contact-actions .mth-button { flex: 1 1 190px; }
.mth-footer {
  padding: 52px 0;
  border-top: 1px solid var(--mth-line);
  background: var(--mth-mint);
}
.mth-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.mth-footer img { width: 330px; }
.mth-footer-navigation h3 { margin: 0 0 10px; font-size: 1rem; }
.mth-footer-navigation p { margin: 0 0 16px; }
.mth-footer-navigation a { font-weight: 750; }
.mth-footer-customer-links {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}
.mth-footer-customer-links a { font-weight: 800; }
.mth-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.mth-admin-hint {
  padding: 14px 18px;
  border-left: 5px solid var(--mth-gold);
  border-radius: 8px;
  color: var(--mth-ink);
  background: #fff6d8;
}
.mth-mobile-actions { display: none; }

@media (max-width: 1080px) {
  .mth-header-row { justify-content: center; gap: 0; }
  .mth-logo { flex: 1 1 auto; }
  .mth-logo img { width: min(100%, 370px); margin-inline: auto; }
  .mth-nav { display: none !important; }
  .mth-hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(310px, .9fr); gap: 44px; }
  .mth-request-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .mth-notice-row { flex-wrap: wrap; }
  .mth-faq-list { grid-template-columns: 1fr; }
  html { scroll-padding-top: 118px; }
  .mth-wrap { width: min(100% - 40px, 1200px); }
  .mth-section { padding: 84px 0; }
  .mth-header-row { min-height: 114px; }
  .mth-logo { flex: 1 1 auto; }
  .mth-logo img { width: min(100%, 340px); }
  .mth-nav { flex: 0 0 auto; }
  .mth-hero { padding: 72px 0 84px; }
  .mth-hero-grid,
  .mth-request-grid,
  .mth-grid-2,
  .mth-remote-grid { grid-template-columns: 1fr; }
  .mth-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mth-quick-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mth-hero-grid,
  .mth-request-grid { gap: 42px; }
  .mth-request-intro { position: static; }
  .mth-remote-intro { position: static; }
  .mth-about-grid > .wp-block-group:last-child { order: initial; }
}

@media (max-width: 782px) {
  .admin-bar .mth-header { top: 46px; }
}

@media (max-width: 650px) {
  html { scroll-padding-top: 94px; }
  body { padding-bottom: calc(90px + env(safe-area-inset-bottom)); font-size: 18px; }
  .mth-wrap { width: min(100% - 32px, 1200px); }
  .mth-notice { padding: 7px 16px; text-align: left; }
  .mth-notice .wp-block-group { justify-content: flex-start; }
  .mth-notice p:first-child { display: none; }
  .mth-notice-links {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 10px;
  }
  .mth-notice-links a {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
  .mth-notice-status { grid-column: 1 / -1; }
  .mth-header { padding: 4px 0; }
  .mth-header-row { min-height: 100px; gap: 10px; }
  .mth-logo img { width: min(100%, 300px); }
  .mth-section { padding: 64px 0; }
  .mth-title { font-size: clamp(2.25rem, 11vw, 2.7rem); line-height: 1.13; }
  .mth-heading { font-size: 2rem; }
  .mth-lead { font-size: 1.04rem; }
  .mth-hero { padding: 34px 0 44px; }
  .mth-hero-grid { gap: 34px; }
  .mth-hero-actions { grid-template-columns: 1fr; }
  .mth-hero-contact-links { justify-content: space-between; gap: 4px 12px; }
  .mth-hero-contact-links a { flex: 1 1 auto; justify-content: center; }
  .mth-portrait-card { min-height: 290px; border-radius: 20px; }
  .mth-portrait-card-photo img { height: 340px; }
  .mth-portrait-card-placeholder { padding: 24px; }
  .mth-portrait-initials { width: 112px; height: 112px; font-size: 2rem; }
  .mth-quick-services { padding: 28px 0; }
  .mth-quick-services-heading { display: block; }
  .mth-quick-services-heading .mth-text-link { display: inline-block; margin-top: 10px; }
  .mth-quick-service-list { grid-template-columns: 1fr; }
  .mth-form-card,
  .mth-card { padding: 24px; border-radius: 18px; }
  .mth-form-card { padding: 20px; }
  .mth-about-card,
  .mth-area-card { padding: 24px; border-radius: 18px; }
  .mth-remote-guide { padding: 22px; border-radius: 18px; }
  .mth-remote-steps li { grid-template-columns: 38px minmax(0, 1fr); gap: 5px 12px; }
  .mth-remote-steps li::before { width: 38px; height: 38px; }
  .mth-buttons { display: grid; grid-template-columns: 1fr; width: 100%; }
  .mth-button { width: 100%; }
  .mth-request-points { display: none; }
  .mth-request-points li { grid-template-columns: 42px 1fr; gap: 12px; margin-bottom: 20px; }
  .mth-request-points li::before { width: 42px; height: 42px; }
  .mth-request-points::before { left: 20px; }
  .mth-grid-3 { grid-template-columns: 1fr; }
  .mth-footer { padding-bottom: 40px; }
  .mth-footer-row { display: block; }
  .mth-footer img { width: 270px; }
  .mth-footer-navigation { margin-top: 28px; }
  .mth-legal { margin-top: 24px; }
  .mth-mobile-actions {
    position: fixed;
    inset: auto 0 0;
    z-index: 100;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    min-height: 76px;
    padding: 6px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
    border-top: 1px solid rgba(194, 201, 187, .8);
    background: rgba(248, 250, 248, .96);
    box-shadow: 0 -4px 18px rgba(25, 28, 27, .08);
    backdrop-filter: blur(14px);
  }
  .mth-mobile-actions a {
    display: flex;
    min-height: 62px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 12px;
    color: var(--mth-muted);
    font-size: clamp(.6rem, 2.8vw, .7rem);
    font-weight: 750;
    text-decoration: none;
  }
  .mth-mobile-actions span { font-size: 1.35rem; line-height: 1; }
  .mth-mobile-actions .mth-mobile-action-main {
    min-height: 70px;
    margin-top: -10px;
    color: #fff;
    background: var(--mth-green-dark);
    box-shadow: 0 7px 18px rgba(21, 66, 18, .24);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
