:root {
  --repair-ease: cubic-bezier(0.32, 0.72, 0, 1);
  --repair-brand: #f6b512;
  --repair-brand-dark: #c49000;
}

/* Restore the original type roles: Montserrat for body/control copy, Quicksand for display/nav. */
body {
  font-family: "Montserrat Variable", "Montserrat", sans-serif;
  line-height: 1.3;
}

/* Existing AOS output must remain readable without JavaScript. */
[data-aos] {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: none !important;
}

html.repair-motion-active [data-repair-reveal]:not(.repair-in) {
  opacity: 0 !important;
  transform: translateY(30px) !important;
  filter: blur(3px) !important;
  transition: opacity 700ms var(--repair-ease), transform 700ms var(--repair-ease), filter 700ms var(--repair-ease) !important;
  transition-delay: var(--repair-delay, 0ms) !important;
}

html.repair-motion-active [data-repair-reveal].repair-split-left:not(.repair-in) {
  transform: translateX(-100px) !important;
  transition-duration: 1000ms !important;
  transition-delay: 100ms !important;
}

html.repair-motion-active [data-repair-reveal].repair-split-right:not(.repair-in) {
  transform: translateX(100px) !important;
  transition-duration: 1000ms !important;
  transition-delay: 100ms !important;
}

html.repair-motion-active [data-repair-reveal].repair-in {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  transition: opacity 700ms var(--repair-ease), transform 700ms var(--repair-ease), filter 700ms var(--repair-ease) !important;
  transition-delay: var(--repair-delay, 0ms) !important;
}

html.repair-motion-active [data-repair-reveal].repair-split-left,
html.repair-motion-active [data-repair-reveal].repair-split-right {
  transition-duration: 1000ms !important;
  transition-delay: 100ms !important;
}

html.repair-motion-active:not(.repair-runtime) [data-repair-reveal] {
  animation: repair-reveal-failsafe 0s 4s forwards;
}

html.repair-runtime [data-repair-reveal] {
  animation: none;
}

@keyframes repair-reveal-failsafe {
  to { opacity: 1; transform: none; filter: none; }
}

/* Match the source header/hero geometry rather than the centered generic shell. */
.site-header-inner {
  max-width: none !important;
  padding-inline: 20px !important;
  min-height: 79px !important;
}

.site-header {
  box-sizing: border-box;
  height: 80px;
}

.site-logo img {
  height: 49px !important;
}

.site-nav-list {
  gap: 40px !important;
}

.hero-section {
  min-height: 65vh !important;
  margin-top: 0 !important;
}

.hero-content {
  box-sizing: border-box;
  min-height: 65vh;
  padding: 40px 10% 40px 40px !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-content h5 {
  color: #fff !important;
  font-size: 1.2rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-bottom: .67em !important;
  text-wrap: normal;
}

.hero-content h1 {
  line-height: 1.2 !important;
  margin-bottom: .67em !important;
  text-wrap: normal;
}

.hero-content > .margin-t-20 {
  margin-top: 50.85px !important;
}

.hero-content .button {
  box-sizing: border-box;
  min-width: 127px;
  width: fit-content;
  padding: 7px 10px 6px;
  font-family: "Montserrat Variable", "Montserrat", sans-serif;
  font-weight: 400;
  line-height: 1.3;
}

#an-verkauf > .col2 {
  grid-template-columns: 35% 55%;
  justify-content: space-between;
  gap: 0;
}

.col2.maxw,
.col3.maxw {
  padding-block: 0;
  padding-inline: 40px;
}

#an-verkauf > .col2 > div:first-child {
  padding-top: 20px;
}

#an-verkauf > .col2 > div:nth-child(2) {
  padding-top: 80px;
}

.repair-contact-intro {
  align-items: center;
}

.repair-contact-intro img {
  max-height: 170px;
  width: auto;
  margin-inline: auto;
}

/* Prevent off-canvas reveal transforms from creating a mobile scroll gutter. */
html,
body {
  overflow-x: clip;
}

/* All button surfaces stay stationary and transition the requested properties. */
:where(.button, .btn, button, input[type="button"], input[type="submit"], .galloadmore) {
  transition: color 400ms var(--repair-ease), background-color 400ms var(--repair-ease), border-color 400ms var(--repair-ease) !important;
}

:where(.button, .btn, button, input[type="button"], input[type="submit"], .galloadmore):active {
  transform: none !important;
}

:where(.button, .btn, button, input, textarea, select, a):focus-visible {
  outline: 3px solid #7c5700;
  outline-offset: 3px;
}

.repair-shop-cta {
  margin-top: 1.25rem;
}

.repair-cookie {
  position: fixed;
  z-index: 120;
  inset: auto 0 0;
  width: 100%;
  color: #2b2b2b;
  background: #fff;
  border-top: 1px solid #d5d5d5;
  box-shadow: 0 -8px 28px rgb(0 0 0 / 16%);
}

.repair-cookie[hidden] {
  display: none !important;
}

.repair-cookie__inner {
  max-width: 1500px;
  margin-inline: auto;
  padding: 1rem 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.repair-cookie p {
  margin: 0;
  line-height: 1.45;
}

.repair-cookie a {
  text-decoration: underline;
}

.repair-cookie__actions {
  display: flex;
  gap: .75rem;
  flex: 0 0 auto;
}

.repair-cookie button {
  min-height: 44px;
  border: 1px solid var(--repair-brand);
  border-radius: 6px;
  padding: .55rem 1rem;
  cursor: pointer;
}

.repair-cookie__accept {
  color: #fff;
  background: var(--repair-brand);
}

.repair-cookie__decline {
  color: #2b2b2b;
  background: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .repair-cookie__accept:hover {
    background: var(--repair-brand-dark);
    border-color: var(--repair-brand-dark);
  }
  .repair-cookie__decline:hover {
    color: #fff;
    background: var(--repair-brand-dark);
    border-color: var(--repair-brand-dark);
  }
}

.repair-footer-inner {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.repair-footer-nav {
  display: flex;
  gap: 1rem;
}

@media (max-width: 1000px) {
  .site-nav-toggle {
    margin-left: auto;
    align-items: flex-end;
  }
  .mobile-nav {
    display: block !important;
    position: fixed;
    z-index: 49;
    top: 80px;
    left: 0;
    right: 0;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    background: #fff;
    transform: translateY(-110%);
    visibility: hidden;
    transition: transform 400ms var(--repair-ease), visibility 0s 400ms;
  }
  .mobile-nav:not(.hidden) {
    transform: translateY(0);
    visibility: visible;
    transition: transform 400ms var(--repair-ease), visibility 0s;
  }
}

@media (max-width: 900px) {
  .repair-cookie__inner {
    padding-inline: 20px;
    align-items: flex-start;
    flex-direction: column;
  }
  .repair-cookie__actions {
    width: 100%;
  }
  .repair-cookie__actions button {
    flex: 1 1 0;
  }
  .repair-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 850px) {
  #an-verkauf {
    margin-top: 40px;
  }
  #an-verkauf > .col2 {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }
  #an-verkauf > .col2 > div:nth-child(2) {
    padding-top: 40px;
  }
  .margin-t-80 {
    margin-top: 40px;
  }
  .margin-b-80 {
    margin-bottom: 40px;
  }
}

@media (max-width: 750px) {
  .hero-content {
    padding: 0 20px !important;
  }
  .col2.maxw,
  .col3.maxw {
    padding-inline: 20px;
  }
  .repair-contact-intro {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 550px) {
  .hero-content h1,
  .hero-content h1 b {
    max-width: 350px;
    font-size: 2rem !important;
    line-height: 1.2 !important;
    text-wrap: normal !important;
    text-wrap-style: auto !important;
  }
}

html.repair-lightbox-open,
html.repair-lightbox-open body {
  overflow: hidden !important;
}

.lightbox-dialog[open] {
  box-sizing: border-box;
  align-items: center !important;
  justify-content: center !important;
  inset: 0 !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
  }
  html.repair-motion-active [data-repair-reveal],
  html.repair-motion-active [data-repair-reveal]:not(.repair-in),
  html.repair-motion-active [data-repair-reveal].repair-in {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
    animation: none !important;
  }
}


/* wave68-goldbatzen-client-corrections: source-driven homepage corrections */
main a:not(.button):not(.btn):not(.gallery-link) {
  color: var(--repair-brand);
  transition: color 350ms var(--repair-ease), text-decoration-color 350ms var(--repair-ease);
}

main a:not(.button):not(.btn):not(.gallery-link):hover {
  color: var(--repair-brand-dark);
}

.repair-content-list {
  list-style: disc;
  padding-inline-start: 1.25rem;
}

.repair-content-list > li {
  display: list-item;
}

.repair-contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 20px !important;
}

.repair-contact-intro img {
  width: auto;
  max-width: 100%;
  max-height: none;
}

.repair-contact-heading {
  margin: 0 0 .67em;
  color: var(--repair-brand);
  font-family: "Quicksand Variable", "Quicksand", sans-serif;
  font-size: 2em;
  font-weight: 400;
  line-height: 1;
}

.repair-contact-details .kontaktdaten__eintrag,
.repair-contact-hours .kontaktdaten__eintrag {
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  font-size: 1rem;
}

.repair-contact-details .kontaktdaten__eintrag svg,
.repair-contact-hours .kontaktdaten__eintrag svg {
  width: 30px;
  height: 30px;
  margin-top: 0;
}

.repair-contact-hours .kontaktdaten__eintrag--top {
  align-items: flex-start;
}

.repair-contact-hours .kontaktdaten__eintrag--top > div {
  margin-top: 3px;
}

.repair-contact-hours p {
  margin-top: 0;
  margin-bottom: 15px;
}

.repair-contact-details h4 {
  margin: 0 0 .67em;
  color: var(--repair-brand);
  font-size: 1.7em;
  font-weight: 400;
  line-height: 1;
}

.repair-contact-details .kontakt-partner figure {
  max-width: 100% !important;
  margin: 0 !important;
  padding-bottom: 20px;
}

.repair-contact-details .kontakt-partner img {
  width: auto;
  max-width: 100%;
  max-height: none;
}

.repair-contact-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.repair-contact-form .input50,
.repair-contact-form .input100 {
  height: 43px;
  margin: 0 0 26px;
  display: block;
}

.repair-contact-form .input50,
.repair-contact-form .input50:nth-of-type(odd),
.repair-contact-form .input50:nth-of-type(even) {
  width: calc(50% - 13px);
  margin-left: 0;
  margin-right: 0;
}

.repair-contact-form .input100,
.repair-contact-form .field100 {
  width: 100%;
}

.repair-contact-form input[type="text"],
.repair-contact-form input[type="tel"],
.repair-contact-form input[type="email"] {
  height: 100%;
  color: #2b2b2b;
  background: #cdcdcd;
  border: 1px solid #fff;
  padding: 0 10px;
  font-size: 1.1em;
}

.repair-contact-form textarea {
  width: 100%;
  min-height: 200px;
  height: 200px;
  margin-bottom: 20px;
  color: #2b2b2b;
  background: #cdcdcd;
  border: 1px solid #fff;
  padding: 10px;
  font-size: 1.1em;
  resize: vertical;
}

.repair-contact-form input::placeholder,
.repair-contact-form textarea::placeholder {
  color: #fff;
  opacity: 1;
}

.repair-contact-form .button {
  color: #fff;
  background: var(--repair-brand);
  border: 0;
}

@media (max-width: 850px) {
  .repair-contact-grid {
    grid-template-columns: 1fr;
  }

  .repair-contact-form .input50,
  .repair-contact-form .input50:nth-of-type(odd),
  .repair-contact-form .input50:nth-of-type(even) {
    width: 100%;
    margin: 0 0 12px;
  }

  .repair-contact-form .input100 {
    margin-bottom: 12px;
  }
}
