/* ==========================================================================
   Meilenstein Westpfalz — Enhancements (contrast, responsive, map, cookies)
   ========================================================================== */

/* --- Section contrast system --- */
.mw-section--light {
  background: var(--color-white);
  color: var(--color-blue-deep);
}
.mw-section--light .mw-section__title,
.mw-section--light h2,
.mw-section--light h3 {
  color: var(--color-blue-deep);
}
.mw-section--light .mw-section__desc,
.mw-section--light p {
  color: rgba(0, 0, 0, 0.82);
}

.mw-section--accent {
  background: var(--color-beige);
  color: var(--color-blue-deep);
}
.mw-section--accent .mw-label {
  color: var(--color-green);
}
.mw-section--accent .mw-section__title,
.mw-section--accent .mw-section__desc,
.mw-section--accent h3,
.mw-section--accent p {
  color: var(--color-blue-deep);
}
.mw-section--accent .mw-section__desc,
.mw-section--accent p {
  color: rgba(0, 0, 0, 0.82);
}

/* --- Mission: světlá prémiová sekce (oprava kontrastu) --- */
.mw-mission {
  position: relative;
  background: linear-gradient(165deg, var(--color-beige) 0%, var(--color-white) 55%, #f0f0f0 100%) !important;
  color: var(--color-blue-deep) !important;
  overflow: hidden;
}

.mw-mission .mw-section__title {
  color: var(--color-blue-deep) !important;
}

.mw-mission .mw-section__desc {
  color: rgba(0, 0, 0, 0.85) !important;
}

.mw-mission .mw-label {
  color: var(--color-green) !important;
}

.mw-mission__bg {
  background:
    radial-gradient(ellipse 70% 55% at 8% 90%, rgba(0, 0, 0, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 92% 15%, rgba(0, 0, 0, 0.14) 0%, transparent 50%) !important;
  opacity: 1;
}

.mw-mission__card {
  background: var(--color-white) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.mw-mission__card:hover {
  background: var(--color-white) !important;
  border-color: rgba(0, 0, 0, 0.35) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-4px);
}

.mw-mission__icon {
  color: var(--color-accent) !important;
  opacity: 1 !important;
}

.mw-mission__card h3 {
  color: var(--color-blue-deep) !important;
}

.mw-mission__card p {
  color: rgba(0, 0, 0, 0.8) !important;
}

.mw-section--dark {
  background: linear-gradient(145deg, #000000 0%, #111111 50%, #0a0a0a 100%);
  color: var(--color-white);
}
.mw-section--dark .mw-section__title,
.mw-section--dark .mw-label--light,
.mw-section--dark h2 {
  color: var(--color-white);
}
.mw-section--dark .mw-section__desc,
.mw-section--dark p,
.mw-section--dark .mw-zahlen__label {
  color: rgba(255, 255, 255, 0.88);
}
.mw-section--dark .mw-zahlen__value {
  color: var(--color-white);
}

.mw-text-strong {
  color: rgba(0, 0, 0, 0.9) !important;
  font-weight: 500;
}

/* --- Hero readability --- */
.mw-hero__overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.65) 45%,
    rgba(0, 0, 0, 0.45) 100%
  ) !important;
}
.mw-hero__title,
.mw-hero__subtitle,
.mw-hero__stat-value,
.mw-hero__stat-label,
.mw-hero__trust-item {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.25);
}
.mw-hero__badge {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* --- Logo (zvýraznění) --- */
.mw-logo {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-md, 0.75rem);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition:
    transform var(--transition-fast, 150ms ease),
    box-shadow var(--transition-base, 280ms ease),
    border-color var(--transition-fast, 150ms ease);
}

.mw-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.mw-logo:focus-visible {
  outline: 2px solid #000000;
  outline-offset: 3px;
}

.mw-logo__img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  filter: contrast(1.12) saturate(0.95);
}

.mw-logo {
  padding: 0.4rem 0.75rem;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.1);
}

.mw-header:not(.is-scrolled).is-over-hero .mw-logo {
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.5) inset;
}

.mw-header:not(.is-scrolled).is-over-hero .mw-logo__img,
.mw-header.is-scrolled .mw-logo__img,
body.mw-subpage .mw-header .mw-logo__img {
  height: 46px;
  max-width: min(220px, 46vw);
  filter: contrast(1.2) saturate(1.05);
}

.mw-header.is-scrolled .mw-logo {
  padding: 0.35rem 0.65rem;
}

.mw-logo--footer {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 32px rgba(0, 0, 0, 0.35);
  padding: 0.55rem 0.9rem;
}

.mw-logo--footer:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.mw-logo--footer .mw-logo__img {
  height: 56px;
  filter: contrast(1.15);
}

/* --- Loader --- */
.mw-loader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mw-loader__brand {
  height: auto;
  max-width: min(280px, 70vw);
  object-fit: contain;
  padding: 1rem 1.35rem;
  background: #ffffff;
  border-radius: var(--radius-lg, 1rem);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.14);
  filter: contrast(1.12);
}
.mw-loader__bar {
  width: min(240px, 60vw);
  height: 4px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 1rem;
}
.mw-loader__progress {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--color-accent), var(--color-green));
  border-radius: 4px;
  transition: width 0.2s ease;
}

/* --- Leaflet map --- */
.mw-map-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mw-leaflet-map {
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  box-shadow: var(--shadow-md, 0 8px 40px rgba(0, 0, 0, 0.1));
}
.mw-standorte__grid {
  display: grid !important;
  align-items: start;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: 1fr;
  width: 100%;
}
@media (min-width: 900px) {
  .mw-standorte__grid {
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
    align-items: stretch;
  }
}
.mw-standorte__col,
.mw-map-wrap {
  min-width: 0;
  width: 100%;
}
.mw-map-wrap {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.mw-leaflet-map {
  width: 100% !important;
  max-width: 100% !important;
  height: 380px !important;
  min-height: 320px !important;
  position: relative;
  z-index: 1;
  background: #f0f0f0;
}
.mw-leaflet-map .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px;
  border-radius: inherit;
}
.mw-locations__list {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.leaflet-popup-content {
  margin: 10px 14px !important;
  font-size: 14px;
}
.leaflet-container {
  font-family: inherit;
}
.mw-map__detail {
  /* main.css má detail jako absolutní overlay (SVG mapa).
     Pro Leaflet layout ho potřebujeme v toku dokumentu, jinak překrývá okolní obsah. */
  position: static !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md, 16px);
  padding: 1.25rem;
}
.mw-map__detail h3 {
  color: var(--color-blue-deep);
  margin: 0 0 0.35rem;
}
.mw-map__detail p {
  color: rgba(0, 0, 0, 0.8);
  margin: 0 0 1rem;
}
.mw-map__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.mw-location-btn.is-active {
  border-color: var(--color-accent);
  background: rgba(0, 0, 0, 0.08);
}

/* --- FAQ --- */
.mw-faq__item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md, 16px);
  margin-bottom: 0.75rem;
  background: var(--color-white);
  overflow: hidden;
}
.mw-faq__item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 600;
  color: var(--color-blue-deep);
  cursor: pointer;
  list-style: none;
}
.mw-faq__item summary::-webkit-details-marker {
  display: none;
}
.mw-faq__answer {
  padding: 0 1.25rem 1.1rem;
  color: rgba(0, 0, 0, 0.85);
}

/* --- Ablauf --- */
.mw-ablauf__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.mw-ablauf__step {
  background: var(--color-white);
  border-radius: var(--radius-lg, 24px);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.mw-ablauf__step h3 {
  color: var(--color-blue-deep);
}
.mw-ablauf__step p {
  color: rgba(0, 0, 0, 0.82);
}
.mw-ablauf__num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* --- Header: bílé odkazy jen nad tmavým hero (homepage) --- */
body.mw-home .mw-header:not(.is-scrolled).is-over-hero .mw-nav__link {
  color: rgba(255, 255, 255, 0.92) !important;
}
body.mw-home .mw-header:not(.is-scrolled).is-over-hero .mw-nav__link:hover,
body.mw-home .mw-header:not(.is-scrolled).is-over-hero .mw-nav__link.is-active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.14) !important;
}
body.mw-home .mw-header:not(.is-scrolled).is-over-hero .mw-nav__link--cta {
  background: #000000 !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}
body.mw-home .mw-header:not(.is-scrolled).is-over-hero .mw-burger span {
  background: #fff !important;
}
body.mw-home .mw-header:not(.is-scrolled).is-over-hero .mw-burger:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

/* Podstránky + scrolled header: tmavé menu na světlém pozadí */
body.mw-subpage .mw-header,
body.mw-subpage .mw-header.is-scrolled,
.mw-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
body.mw-subpage .mw-header .mw-nav__link,
.mw-header.is-scrolled .mw-nav__link {
  color: rgba(0, 0, 0, 0.82) !important;
}
body.mw-subpage .mw-header .mw-nav__link:hover,
body.mw-subpage .mw-header .mw-nav__link.is-active,
.mw-header.is-scrolled .mw-nav__link:hover,
.mw-header.is-scrolled .mw-nav__link.is-active {
  color: #000000 !important;
  background: rgba(0, 0, 0, 0.06) !important;
}
body.mw-subpage .mw-header .mw-nav__link--cta,
.mw-header.is-scrolled .mw-nav__link--cta {
  background: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}
body.mw-subpage .mw-header .mw-burger span,
.mw-header.is-scrolled .mw-burger span {
  background: #000000 !important;
}
body.mw-subpage .mw-header .mw-burger:hover,
.mw-header.is-scrolled .mw-burger:hover {
  background: rgba(0, 0, 0, 0.06) !important;
}
/* logo filtry — viz sekce Logo výše */
/* Telefon v hlavičce nahrazen floating tlačítky (float-contact.php) */

/* --- Floating kontakt vpravo (mobil) --- */
.mw-float-contact {
  display: none;
  position: fixed;
  right: max(0.65rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 650;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  pointer-events: none;
}

.mw-float-contact__btn {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  width: 3.5rem;
  min-height: 3.5rem;
  padding: 0.4rem 0.35rem;
  border-radius: 16px;
  text-decoration: none;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.mw-float-contact__btn:active {
  transform: scale(0.95);
}

.mw-float-contact__btn--call {
  color: #ffffff;
  background: #000000;
  border: 2px solid #000000;
}

.mw-float-contact__btn--mail {
  color: #000000;
  background: #ffffff;
  border: 2px solid rgba(0, 0, 0, 0.12);
}

.mw-float-contact__label {
  max-width: 3.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1023px) {
  .mw-float-contact {
    display: flex;
  }

  body.menu-open .mw-float-contact {
    display: none;
  }

  .mw-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .mw-logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: calc(100% - 3.5rem);
  }

  .mw-burger {
    flex-shrink: 0;
    margin-left: 0;
  }
}

@media (min-width: 1024px) {
  .mw-nav {
    display: block !important;
  }
}

/* --- Kompaktnější sekce --- */
.mw-section {
  padding-block: clamp(3.5rem, 6vw, 5rem) !important;
}
.mw-section__header {
  margin-bottom: clamp(2rem, 4vw, 2.75rem) !important;
  max-width: 38rem !important;
}
.mw-section__header--center {
  max-width: 42rem !important;
}
.mw-section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem) !important;
  line-height: 1.2 !important;
}
.mw-section__desc,
.mw-lead {
  max-width: 34rem;
}
/* Plná šířka kontejneru — ne zužovat sekce */
.mw-section .container {
  width: 100%;
  max-width: var(--container-max, 76rem);
}
.mw-standorte .mw-section__grid--split,
.mw-vision .mw-section__grid--split {
  max-width: none !important;
  width: 100%;
}
.mw-hero {
  min-height: min(92vh, 820px) !important;
  padding-block: 6rem 4rem !important;
}
.mw-hero__content {
  max-width: 40rem !important;
}
.mw-mission .container {
  position: relative;
  z-index: 2;
}
.mw-mission__grid {
  max-width: 1080px;
  margin-inline: auto;
  position: relative;
  z-index: 2;
  margin-top: 0.5rem;
}
.mw-mission .mw-section__header {
  margin-bottom: 2rem !important;
}
.mw-mission__card {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
.mw-services__grid {
  max-width: 1080px !important;
  margin-inline: auto;
}

/* --- Trust strip (děti & rodiny) --- */
.mw-trust-strip {
  background: linear-gradient(90deg, #fafafa 0%, #f5f5f5 50%, #f5f5f5 100%);
  border-block: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 0;
}
.mw-trust-strip__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mw-trust-strip__list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.85rem 0.5rem;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.mw-trust-strip__icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.mw-trust-strip__list strong {
  color: var(--color-blue-deep);
  font-size: 0.9rem;
}
.mw-trust-strip__list span {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.65);
}
@media (min-width: 768px) {
  .mw-trust-strip__list {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Cookies: kompaktní lišta — neblokuje stránku --- */
.mw-cookie {
  z-index: 10000 !important;
  top: auto !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: auto !important;
  max-height: none !important;
  padding: 0 1rem 1rem !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  pointer-events: none !important;
}
.mw-cookie.is-visible {
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: none !important;
}
.mw-cookie__panel {
  width: 100% !important;
  max-width: 640px !important;
  margin: 0 auto !important;
  border-radius: 16px !important;
  background: #fff !important;
  border: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
  padding: 1rem 1.25rem !important;
  backdrop-filter: none !important;
  pointer-events: auto !important;
  max-height: 70vh;
  overflow-y: auto;
}
.mw-cookie__header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}
.mw-cookie__emoji {
  font-size: 1.75rem;
  line-height: 1;
}
.mw-cookie__header h2 {
  font-size: 1.1rem !important;
  color: var(--color-blue-deep) !important;
  margin: 0 0 0.25rem !important;
}
.mw-cookie__header p {
  color: rgba(0, 0, 0, 0.75) !important;
  margin: 0;
  font-size: 0.875rem;
}
.mw-cookie__body > p {
  color: rgba(0, 0, 0, 0.8) !important;
  font-size: 0.875rem;
}
#cookie-simple[hidden],
.mw-cookie__body--detail[hidden] {
  display: none !important;
}
#cookie-simple:not([hidden]),
.mw-cookie__body--detail:not([hidden]) {
  display: block !important;
}
.mw-cookie__actions .btn {
  cursor: pointer;
  pointer-events: auto;
}
body.cookie-banner-open::before {
  z-index: 9999 !important;
  background: rgba(0, 0, 0, 0.25) !important;
  pointer-events: none !important;
}
.mw-cookie-fab {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  left: max(1rem, env(safe-area-inset-left));
  right: auto;
  z-index: 640;
  max-width: min(12rem, calc(100vw - 5.5rem));
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  background: #000000;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.22);
}
@media (min-width: 900px) {
  .mw-cookie-fab {
    bottom: 1.25rem;
    left: auto;
    right: 1.25rem;
    max-width: none;
    font-size: 0.8rem;
  }
  .mw-cookie__panel {
    max-width: 720px !important;
    margin: 0 auto !important;
    border-radius: 20px !important;
    margin-bottom: 1rem !important;
  }
}

/* Spodní lišta (mobile-cta) odstraněna — kontakt přes float-contact vpravo */

/* --- Pages --- */
.mw-page {
  padding: 7rem 0 4rem;
  min-height: 60vh;
}
.mw-page__card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.mw-page__back {
  margin: 0 0 1.25rem;
}
.mw-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.mw-back-link:hover {
  color: #000000;
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.22);
}
.mw-back-link svg {
  flex-shrink: 0;
}

.mw-page--service .mw-page__card,
.mw-page--thanks .mw-page__card,
.mw-page--404 .mw-page__card {
  max-width: 48rem;
  text-align: left;
  padding: var(--space-8);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-2xl);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}
.mw-page--service .mw-page__title {
  margin-bottom: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--color-blue-deep);
}
.mw-page--service .mw-page__body {
  margin: 1.25rem 0 0;
  line-height: 1.7;
  color: var(--color-text-muted);
}
.mw-page--service .mw-page__body p {
  margin: 0;
}
.mw-page__icon {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: white;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}
.mw-page__icon svg {
  width: 1.75rem;
  height: 1.75rem;
}
.mw-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.mw-page--service .mw-page__actions {
  justify-content: flex-start;
}
.mw-legal {
  padding: 7rem 0 4rem;
  min-height: 60vh;
}
.mw-legal .container {
  max-width: 42rem;
  text-align: left;
}
.mw-legal h1 {
  margin-bottom: 1.5rem;
  color: var(--color-blue-deep);
}
.mw-legal h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
}
.mw-legal p,
.mw-legal li {
  color: rgba(0, 0, 0, 0.82);
  line-height: 1.7;
}
.mw-legal a:not(.btn) {
  color: #000000;
  font-weight: 600;
}

/* --- Forms loading --- */
.btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .mw-ablauf__steps {
    grid-template-columns: 1fr;
  }
  .mw-leaflet-map {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .mw-hero__stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .mw-section__grid--split {
    grid-template-columns: 1fr !important;
  }
  .mw-services__grid {
    grid-template-columns: 1fr !important;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1320px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1400px;
  }
  .mw-hero__content {
    max-width: 56rem;
  }
}

/* --- Touch / a11y --- */
@media (hover: none) {
  .mw-service-card:active {
    transform: scale(0.98);
  }
}
.mw-location-btn,
.mw-tab,
.btn,
.mw-burger {
  min-height: 44px;
}

/* ==========================================================================
   Animace — hover, scroll, jemný pohyb
   ========================================================================== */
@keyframes mw-scroll-hint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(10px);
    opacity: 0.55;
  }
}
.mw-hero__scroll span {
  animation: mw-scroll-hint 2s ease-in-out infinite;
}

@keyframes mw-badge-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  }
  50% {
    transform: scale(1.35);
    box-shadow: 0 0 0 6px rgba(0, 0, 0, 0);
  }
}
.mw-hero__badge-dot {
  animation: mw-badge-pulse 2.2s ease-in-out infinite;
}

@keyframes mw-float-soft {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-14px) rotate(2deg);
  }
}
.mw-vision__float {
  animation: mw-float-soft 5.5s ease-in-out infinite;
}

.mw-trust-strip__list li {
  transition: transform 0.35s cubic-bezier(0.34, 1.4, 0.64, 1), box-shadow 0.35s ease;
}
.mw-trust-strip__list li:hover {
  transform: translateY(-4px);
}
.mw-trust-strip__icon {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mw-trust-strip__list li:hover .mw-trust-strip__icon {
  transform: scale(1.12) translateY(-2px);
}

.mw-service-card,
.mw-mission__card,
.mw-team-card,
.mw-warum__item {
  transition: transform 0.45s cubic-bezier(0.22, 1.2, 0.36, 1), box-shadow 0.45s ease;
}
.mw-service-card:hover,
.mw-mission__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
}
.mw-mission__card:hover .mw-mission__icon {
  transform: scale(1.08) rotate(-4deg);
  transition: transform 0.4s ease;
}
.mw-warum__item:hover .mw-warum__icon svg {
  transform: scale(1.1);
  transition: transform 0.45s ease;
}

.mw-location-btn {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.mw-location-btn:hover {
  transform: translateX(6px);
}
.mw-location-btn.is-active {
  animation: mw-location-pulse 2.5s ease-in-out infinite;
}
@keyframes mw-location-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0);
  }
}

.mw-ablauf__step {
  transition: transform 0.4s ease;
}
.mw-ablauf__step:hover {
  transform: translateY(-4px);
}
.mw-ablauf__num {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.mw-ablauf__step:hover .mw-ablauf__num {
  transform: scale(1.08);
}

.mw-faq__item {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.mw-faq__item[open] {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.mw-faq__item summary {
  transition: color 0.25s ease;
}

.mw-certifications__badge {
  transition: transform 0.3s ease, background 0.3s ease;
}
.mw-certifications__badge:hover {
  transform: translateY(-3px) scale(1.04);
}

.mw-zahlen__item {
  transition: transform 0.4s ease, border-color 0.4s ease;
}
.mw-zahlen__item:hover {
  transform: scale(1.03);
}

.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0) scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .mw-loader__progress,
  .mw-hero__mesh,
  [data-aos],
  .mw-hero__scroll span,
  .mw-hero__badge-dot,
  .mw-vision__float,
  .mw-location-btn.is-active {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .mw-service-card:hover,
  .mw-mission__card:hover,
  .btn:hover {
    transform: none;
  }
}

/* ==========================================================================
   v6 — Viditelný obsah, kontrast sekcí, mapa
   ========================================================================== */

/* Silnější oddělení sekcí */
.mw-section--light {
  background: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.05);
}
.mw-section--accent {
  background: #f0f0f0 !important;
}
.mw-vision {
  background: #fff !important;
}
.mw-leistungen {
  background: #ffffff !important;
}
.mw-standorte {
  background: #fff !important;
}
.mw-warum {
  background: #f5f5f5 !important;
}
.mw-testimonials {
  background: #f5f5f5 !important;
}
.mw-faq {
  background: #fff !important;
}
.mw-kontakt {
  background: #f0f0f0 !important;
}

/* --- Team (v2) --- */
.mw-team {
  position: relative;
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 70%) !important;
}
.mw-team__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1.25rem;
}
.mw-team-profile {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 24px;
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}
.mw-team-profile__media {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
}
.mw-team-profile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mw-team-profile__name {
  margin: 0.5rem 0 0.25rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  color: #000000;
}
.mw-team-profile__role {
  margin: 0 0 1rem;
  color: rgba(0, 0, 0, 0.7) !important;
  font-weight: 600;
}
.mw-team-profile__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

/* --- Standorte: grouped list + multi-address detail --- */
.mw-location-btn__meta {
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
}
.mw-map__list {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.mw-map__item {
  padding-top: 0.65rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.mw-map__item:first-child {
  border-top: 0;
  padding-top: 0;
}
.mw-map__item-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: baseline;
}
.mw-map__chip {
  display: inline-flex;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.75rem;
  font-weight: 700;
  color: #000;
}
.mw-map__addr {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.72);
}
.mw-map__item-foot {
  margin-top: 0.35rem;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}
.mw-map__phone {
  font-size: 0.875rem;
  color: rgba(0, 0, 0, 0.72);
}
.mw-map__mini-link {
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  color: #000;
}
.mw-map__mini-link:hover {
  text-decoration: underline;
}

/* --- Drag & Drop Upload (Karriere) --- */
.mw-dropzone {
  position: relative;
  display: block;
  padding: 1rem;
  border-radius: 16px;
  border: 2px dashed rgba(0, 0, 0, 0.22);
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline: none;
}
.mw-dropzone:hover {
  border-color: rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}
.mw-dropzone:focus-visible {
  border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.15);
}
.mw-dropzone.is-dragover {
  background: #f5f5f5;
  border-color: #000;
}
.mw-dropzone.is-invalid {
  border-color: rgba(0, 0, 0, 0.85);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}
.mw-dropzone__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.mw-dropzone__title {
  font-weight: 800;
  color: #000;
  margin-bottom: 0.35rem;
}
.mw-dropzone__meta {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.7);
}
.mw-dropzone__file {
  margin-top: 0.75rem;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.4rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
}

@media (max-width: 900px) {
  .mw-team-profile {
    grid-template-columns: 1fr;
  }
  .mw-team-profile__media {
    width: min(340px, 100%);
    margin-inline: auto;
  }
  .mw-team-profile__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
.mw-ablauf {
  background: linear-gradient(180deg, #f5f5f5 0%, #ffffff 100%) !important;
}

/* Textové barvy — světlé sekce (ne tmavé) */
.mw-section--light .mw-section__title,
.mw-section--accent .mw-section__title,
.mw-vision .mw-section__title,
.mw-leistungen .mw-section__title {
  color: #000000 !important;
}
.mw-section--light .mw-section__desc,
.mw-section--accent .mw-section__desc,
.mw-section--light p,
.mw-section--accent p {
  color: #404040 !important;
}
.mw-label {
  color: #404040 !important;
  font-weight: 700 !important;
}

/* Zahlen — tmavá sekce, výrazné čísla */
.mw-zahlen,
.mw-section--dark.mw-zahlen {
  background: linear-gradient(145deg, #0a0a0a 0%, #111111 45%, #0a0a0a 100%) !important;
  color: #fff !important;
}
.mw-zahlen .mw-section__title,
.mw-zahlen .mw-section__title--light,
.mw-section--dark .mw-section__title {
  color: #ffffff !important;
}
.mw-zahlen .mw-label--light {
  color: #737373 !important;
}
.mw-zahlen__value {
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
  background: none !important;
  background-clip: unset !important;
  -webkit-background-clip: unset !important;
  font-size: clamp(2.25rem, 5vw, 3.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
}
.mw-zahlen__label {
  color: rgba(255, 255, 255, 0.92) !important;
  font-weight: 500 !important;
}
.mw-zahlen__item {
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}
.mw-zahlen__grid {
  max-width: 100% !important;
  width: 100%;
}
@media (min-width: 768px) {
  .mw-zahlen__grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  .mw-zahlen__item--wide {
    grid-column: 1 / -1 !important;
    max-width: 50%;
    margin-inline: auto;
  }
}

/* Map pins & buttons */
.mw-map-pin-icon {
  background: transparent !important;
  border: none !important;
}
.mw-map-pin-icon__dot {
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px auto;
  background: #000000;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
.mw-location-btn {
  cursor: pointer !important;
  color: inherit;
}
.mw-location-btn strong {
  color: #000000 !important;
}
.mw-location-btn span {
  color: #525252 !important;
}
.mw-location-btn__type {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #737373 !important;
}
.mw-location-btn__phone {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #000000 !important;
  margin-top: 0.15rem;
}
.mw-kontakt__legal {
  font-size: 0.8125rem;
  color: #525252;
}
.mw-map__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #737373;
  margin: 0 0 0.25rem;
}
.mw-map__hours {
  font-size: 0.875rem;
  color: #525252;
}
body.cookie-banner-open .mw-float-contact {
  display: none !important;
}
.mw-map {
  aspect-ratio: unset !important;
  padding: 0 !important;
  background: #f0f0f0 !important;
}
.mw-leaflet-map {
  border: 2px solid rgba(0, 0, 0, 0.08);
}

.mw-warum__grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
  gap: 1.5rem !important;
  width: 100%;
}
.mw-warum__item {
  min-width: 0;
}

.mw-warum__item h3,
.mw-ablauf__step h3 {
  color: #000000 !important;
}
.mw-warum__item p,
.mw-ablauf__step p {
  color: #404040 !important;
}

/* ==========================================================================
   Mobil — bez horizontálního scrollu, kontakt hned k dispozici
   ========================================================================== */
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
}

.mw-body {
  overflow-x: clip;
  width: 100%;
  max-width: 100vw;
}

#main,
.mw-section,
.mw-header,
.mw-footer,
.mw-hero {
  max-width: 100%;
  overflow-x: clip;
}

.container,
.mw-header__inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.mw-section__grid,
.mw-kontakt__grid,
.mw-services__grid,
.mw-mission__grid,
.mw-warum__grid,
.mw-standorte__grid,
.mw-footer__grid,
[class*="__grid"] {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.mw-section__grid > *,
.mw-kontakt__grid > *,
.mw-services__grid > * {
  min-width: 0;
}

img,
video,
svg,
iframe,
.mw-leaflet-map,
.mw-hero__image {
  max-width: 100%;
}

address,
.mw-kontakt__info a,
.mw-mobile-menu__contact-text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

@media (max-width: 1023px) {
  .mw-mobile-menu__drawer {
    width: min(100%, 100%);
  }

  @media (min-width: 400px) {
    .mw-mobile-menu__drawer {
      width: min(100%, 22.5rem);
    }
  }
}

@media (max-width: 1023px) {
  :root {
    --container-padding: clamp(1rem, 4vw, 1.25rem);
    --header-height: 4.25rem;
  }

  .mw-header__inner {
    gap: 0.5rem;
  }

  .mw-logo {
    padding: 0.3rem 0.5rem;
    max-width: calc(100% - 3.5rem);
  }

  .mw-logo__img {
    height: 38px !important;
    max-width: min(140px, 42vw);
  }

  .mw-header.is-scrolled .mw-logo__img {
    height: 34px !important;
  }

  .mw-hero__title {
    font-size: clamp(1.75rem, 8vw, 2.5rem) !important;
  }

  .mw-hero__subtitle {
    font-size: 1rem;
  }

  .mw-hero__cta {
    width: 100%;
  }

  .mw-hero__cta .btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
  }

  .mw-hero__stats {
    gap: 1rem 1.25rem;
    width: 100%;
  }

  .mw-hero__stat {
    min-width: 0;
  }

  /* Formulářové záložky — horizontální scroll místo přetékání */
  .mw-kontakt__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 14px;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .mw-kontakt__tabs::-webkit-scrollbar {
    display: none;
  }

  .mw-tab {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.65rem 1rem;
  }

  /* Kontaktní údaje nad formulářem */
  .mw-kontakt__grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .mw-kontakt__info {
    order: -1;
  }

  .mw-kontakt__info .mw-glass-card {
    padding: 1.25rem;
  }

  .mw-field input,
  .mw-field textarea,
  .mw-field select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .mw-form__row {
    grid-template-columns: 1fr !important;
    gap: 0;
  }

  /* Swiper — žádný overflow do stran */
  .swiper {
    overflow: hidden !important;
    max-width: 100%;
    width: 100%;
  }

  .swiper-wrapper {
    max-width: 100%;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none !important;
  }

  .mw-team__swiper,
  .mw-testimonials__swiper {
    margin-inline: 0;
    padding-inline: 0 !important;
  }

  .mw-cookie__panel {
    margin: 0 !important;
    max-width: 100% !important;
    border-radius: 16px 16px 0 0 !important;
  }

  .mw-body {
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom, 0px));
  }

  .mw-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .mw-footer__legal {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
  }

  .mw-glass-card,
  .mw-service-card,
  .mw-mission__card {
    max-width: 100%;
  }

  .mw-standorte__grid {
    grid-template-columns: 1fr !important;
  }

  .mw-leaflet-map {
    height: min(320px, 55vw) !important;
    min-height: 260px !important;
  }

  .mw-page {
    padding-top: 6rem;
  }

  .btn--lg {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .mw-warum__grid {
    grid-template-columns: 1fr !important;
  }

  .mw-hero__stats {
    grid-template-columns: 1fr 1fr;
  }
}
