html {
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

#services button:hover {
  color: #ffffff !important;
}

.mobile-menu {
  border-top: 1px solid rgba(213, 194, 198, 0.55);
  padding: 0 20px 20px;
}

.mobile-menu.is-open {
  display: flex !important;
  flex-direction: column;
  gap: 16px;
}

.mobile-menu a {
  display: block;
  padding: 4px 0;
}

.mobile-menu-cta {
  align-items: center;
  background: #834f60;
  border-radius: 9999px;
  color: #ffffff;
  display: inline-flex;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 0.1em;
  margin-top: 4px;
  padding: 14px 20px !important;
  text-transform: uppercase;
}

@media (max-width: 767px) {
  .px-margin-desktop {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .py-section-gap {
    padding-bottom: 72px !important;
    padding-top: 72px !important;
  }

  .pt-section-gap {
    padding-top: 72px !important;
  }

  .mb-section-gap {
    margin-bottom: 72px !important;
  }

  nav > div:first-child {
    padding-bottom: 16px !important;
    padding-top: 16px !important;
  }

  main.pt-32 {
    padding-top: 84px !important;
  }

  section.min-h-\[819px\] {
    min-height: auto !important;
    padding-bottom: 64px !important;
    padding-top: 64px !important;
  }

  .text-display-lg {
    font-size: clamp(42px, 14vw, 54px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
  }

  .text-headline-lg {
    font-size: 34px !important;
    line-height: 1.18 !important;
  }

  .text-headline-md {
    font-size: 27px !important;
    line-height: 1.25 !important;
  }

  .text-body-lg {
    font-size: 18px !important;
    line-height: 1.55 !important;
  }

  .gap-gutter {
    gap: 24px !important;
  }

  .gap-16 {
    gap: 32px !important;
  }

  .mb-16 {
    margin-bottom: 40px !important;
  }

  .mb-12 {
    margin-bottom: 32px !important;
  }

  .p-8 {
    padding: 24px !important;
  }

  .md\:p-12,
  .p-8.md\:p-12 {
    padding: 24px !important;
  }

  .h-\[400px\] {
    height: auto !important;
    min-height: 0 !important;
  }

  #services .grid > div {
    min-width: 0;
  }

  #services .flex.justify-between {
    gap: 16px;
  }

  #services .flex.justify-between > span:first-child {
    min-width: 0;
  }

  #services .flex.justify-between > span:last-child {
    flex-shrink: 0;
    text-align: right;
  }

  #ergebnisse .h-72 {
    height: 240px !important;
  }

  #bewertungen .rounded-2xl,
  #schulungen .rounded-2xl {
    border-radius: 12px !important;
  }

  #bewertungen .text-center,
  #bewertungen .text-center * {
    overflow-wrap: anywhere;
  }

  #schulungen h2 {
    font-size: 40px !important;
    line-height: 1.05 !important;
  }

  #schulungen ul li {
    align-items: flex-start;
  }

  #contact .space-y-6 a {
    align-items: flex-start;
  }

  #contact .space-y-6 a span {
    overflow-wrap: anywhere;
  }

  section.px-margin-desktop.mb-section-gap .h-\[400px\] {
    height: 320px !important;
  }

  section.px-margin-desktop.mb-section-gap a.absolute.top-6.left-6 {
    left: 16px !important;
    max-width: calc(100% - 32px);
    right: 16px !important;
    top: 16px !important;
  }

  section.px-margin-desktop.mb-section-gap .absolute.bottom-8.left-8 {
    bottom: 16px !important;
    left: 16px !important;
    max-width: calc(100% - 32px);
    right: 16px !important;
  }

  section.px-margin-desktop.mb-section-gap .absolute.bottom-8.right-8 {
    bottom: 72px !important;
    right: 16px !important;
  }

  #contact-modal,
  #price-modal,
  #schulungen-price-modal {
    align-items: flex-end !important;
    padding: 12px !important;
  }

  #contact-modal > .relative,
  #price-modal-content,
  #schulungen-modal-content {
    border-radius: 16px !important;
    max-height: 92vh !important;
    overflow-y: auto !important;
  }

  #contact-modal .p-8,
  #price-modal .p-8,
  #schulungen-price-modal .p-8 {
    padding: 24px !important;
  }
}

@media (max-width: 390px) {
  .px-margin-desktop {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .text-display-lg {
    font-size: 40px !important;
  }

  .text-headline-lg {
    font-size: 31px !important;
  }

  .font-label-lg.text-label-lg {
    font-size: 12px !important;
  }
}
