/* CTA / contact additions (feat/1.2.0-cta).
   Kept out of the Webflow-generated CSS. Tokens come from
   moremunich.webflow.css (--boxes-fill, --boxes-border, --primary600,
   --gray900, --gray600, --website-roundness). */

/* ---- Shared icon slot (hero WhatsApp button, footer links) ---- */
.mm-button-icon {
  display: inline-flex;
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  align-items: center;
  justify-content: center;
}

.mm-button-icon svg {
  width: 100%;
  height: 100%;
}

/* ---- Hero buttons: primary first on mobile (no reverse) ---- */
@media screen and (max-width: 767px) {
  .voxestudio-button-row.mm-hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ---- #Kontakt: contact tiles (the ONLY place with the phone number) ---- */
.mm-contact-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  max-width: 48rem;
  margin: 3rem auto 0;
}

.mm-contact-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--boxes-border);
  border-radius: var(--radius-lg, 20px);
  background-color: var(--boxes-fill);
  color: var(--gray900);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.mm-contact-tile:hover,
.mm-contact-tile:focus-visible {
  border-color: var(--primary600);
  background-color: rgba(0, 89, 255, 0.08);
}

.mm-contact-tile:focus-visible {
  outline: 2px solid var(--primary600);
  outline-offset: 2px;
}

.mm-contact-tile_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border-radius: 50%;
  background-color: var(--primary600);
  color: #fff;
}

.mm-contact-tile_icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.mm-contact-tile_text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-width: 0;
}

.mm-contact-tile_label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.mm-contact-tile_value {
  color: var(--gray600);
  font-size: 0.9375rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.mm-contact-ride-note {
  margin: 1.5rem 0 0;
  color: var(--gray600);
  text-align: center;
}

/* Tiles sit above the form: tighten the Webflow 6rem top margin */
.mm-contact-ride-note + .voxestudio-contact01_component {
  margin-top: 3rem;
}

@media screen and (max-width: 767px) {
  .mm-contact-tiles {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 2rem;
  }

  .mm-contact-tile {
    flex-direction: row;
    align-items: center;
    padding: 1rem 1.25rem;
    text-align: left;
  }

  .mm-contact-ride-note + .voxestudio-contact01_component {
    margin-top: 2.5rem;
  }
}

/* ---- Footer contact block (WhatsApp, email, area, quote CTA; no phone) ---- */
.mm-footer-contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.mm-footer-contact_links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

.voxestudio-footer07_link.mm-footer-contact_link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.mm-footer-contact_area {
  text-align: center;
}

/* ==== Batch B (items 3, 8, 6) ==== */

/* ---- Item 3: navbar sticky on all breakpoints, darker once scrolled ---- */
.voxestudio-navbar07_component.w-nav {
  position: sticky;
  top: 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.voxestudio-navbar07_component.w-nav.mm-nav-scrolled {
  background-color: rgba(0, 0, 0, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
}

/* The Webflow "current" link colour (#000) is invisible on the dark navbar,
   which is now always on screen */
.voxestudio-navbar07_link.w--current {
  color: var(--gray900);
}

/* In-page anchors land below the sticky navbar */
html {
  scroll-padding-top: 5.5rem;
}

/* ---- Item 8: mobile bottom action bar (WhatsApp | quote). No phone. ---- */
.mm-mobile-bar {
  display: none;
}

@media screen and (max-width: 767px) {
  body {
    padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  }

  .mm-mobile-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 990;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
    padding: 0.625rem 1rem calc(0.625rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--boxes-border, #333);
    background-color: rgba(0, 0, 0, 0.94);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.45);
    transform: translateY(110%);
    visibility: hidden;
    transition: transform 0.3s ease, visibility 0s linear 0.3s;
  }

  .mm-mobile-bar.is-visible {
    transform: translateY(0);
    visibility: visible;
    transition: transform 0.3s ease, visibility 0s linear 0s;
  }

  .mm-mobile-bar > a {
    min-height: 3rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Lift the floating cookie-settings and accessibility buttons above the bar */
  .fs-cc-manager3_component,
  body #a11y-toolbar {
    transition: bottom 0.3s ease;
  }

  body.mm-bar-visible .fs-cc-manager3_component {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
  }

  body.mm-bar-visible #a11y-toolbar,
  body.mm-bar-visible #a11y-toggle-fallback {
    bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mm-mobile-bar,
  .mm-mobile-bar.is-visible,
  .voxestudio-navbar07_component.w-nav {
    transition: none;
  }
}

/* ---- Item 6: compact mobile cookie banner (bottom sheet). Desktop unchanged. ---- */
.mm-cc-short {
  display: none;
}

@media screen and (max-width: 479px) {
  .fs-cc-banner3_component {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 0;
    max-height: 180px;
    padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-radius: 1.25rem 1.25rem 0 0;
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.55);
    overflow: hidden;
  }

  .fs-cc-banner3_container {
    align-items: stretch;
  }

  .fs-cc-banner3_block {
    text-align: left;
  }

  .fs-cc-banner3_text {
    font-size: 1rem;
    line-height: 1.3;
  }

  .fs-cc-banner3_paragraph.mm-cc-long {
    display: none;
  }

  .fs-cc-banner3_paragraph.mm-cc-short {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    line-height: 1.4;
  }

  /* Both buttons side by side with identical size, font and border */
  .fs-cc-banner3_buttons-wrapper {
    flex-direction: row;
    gap: 0.625rem;
    margin-top: 0.75rem;
  }

  .fs-cc-banner3_button,
  .fs-cc-banner3_button.fs-cc-button-alt {
    display: flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--primary600);
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.3;
  }

  .fs-cc-banner3_button.fs-cc-button-alt {
    color: var(--gray900);
  }

  .fs-cc-banner3_button-icon {
    display: none;
  }

  /* Keep the floating buttons clear of the open bottom sheet */
  body.mm-cc-open .fs-cc-manager3_component {
    bottom: calc(196px + env(safe-area-inset-bottom, 0px));
  }

  body.mm-cc-open #a11y-toolbar,
  body.mm-cc-open #a11y-toggle-fallback {
    bottom: calc(196px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* ---- Batch C, item 5: trust near the form ---- */
.mm-trust-facts {
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 0.5rem 1.75rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.mm-trust-facts_item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--gray600);
  font-size: 0.875rem;
  line-height: 1.4;
}

.mm-trust-facts_item svg {
  flex: none;
  color: var(--primary600);
}

.mm-logo-caption {
  margin: 0 0 1.5rem;
  color: var(--gray600);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

@media screen and (max-width: 479px) {
  .mm-trust-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.75rem;
  }

  .mm-trust-facts_item {
    font-size: 0.8125rem;
  }
}

/* ---- Batch C, item 11: pre-selected vehicle chip in the forms ---- */
.mm-vehicle-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-self: start;
  max-width: 100%;
  padding: 0.375rem 0.375rem 0.375rem 0.875rem;
  border: 1px solid var(--primary600);
  border-radius: 999px;
  background-color: rgba(0, 89, 255, 0.1);
  color: var(--gray900);
  font-size: 0.875rem;
  line-height: 1.3;
}

.mm-vehicle-chip[hidden] {
  display: none;
}

.mm-vehicle-chip_label {
  color: var(--gray600);
}

.mm-vehicle-chip_value {
  font-weight: 600;
}

.mm-vehicle-chip_remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex: none;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: transparent;
  color: inherit;
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.mm-vehicle-chip_remove:hover,
.mm-vehicle-chip_remove:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
}

.mm-vehicle-chip_remove:focus-visible {
  outline: 2px solid var(--primary600);
  outline-offset: 1px;
}
