/* =========================================
   FARBEN
   ========================================= */

:root {
  --sabrina-hellbraun: #D7B987;
  --sabrina-hellbraun-hover: #bea06e;
}


/* =========================================
   HEADERBILD / HERO
   ========================================= */

.headerimage-outer.kopfbild {
  position: relative;
  width: 100%;
  min-height: 660px;
  margin: 0;
  overflow: hidden;

  background-image: url("/fileadmin/user_upload/header/header.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.headerimage-outer.kopfbild::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;

  /* Heller Verlauf für die Lesbarkeit des Textes */
  background: linear-gradient(
    90deg,
    rgba(250, 248, 243, 0.98) 0%,
    rgba(250, 248, 243, 0.93) 28%,
    rgba(250, 248, 243, 0.68) 47%,
    rgba(250, 248, 243, 0.12) 67%,
    transparent 78%
  );
}

.headerimage-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  min-height: 660px;
  margin: 0 auto;
  padding: 80px 0;
}

.hero-content {
  width: 100%;
  max-width: 590px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--sabrina-hellbraun);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  flex: 0 0 auto;
  width: 30px;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-content h1 {
  max-width: 570px;
  margin: 0 0 25px;
  color: #302b27;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero-description {
  max-width: 510px;
  margin: 0 0 35px;
  color: #655f59;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 28px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 25px;
  color: #fff !important;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-decoration: none !important;
  text-transform: uppercase;
  background: var(--sabrina-hellbraun);
  border: 1px solid var(--sabrina-hellbraun);
  border-radius: 0;
  box-shadow: none;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

.hero-button:hover,
.hero-button:focus {
  color: #fff !important;
  background: var(--sabrina-hellbraun-hover);
  border-color: var(--sabrina-hellbraun-hover);
  transform: translateY(-2px);
}

.hero-about-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 7px 0;
  color: #4d4741 !important;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none !important;
}

.hero-about-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform-origin: right;
  transition: transform 0.25s ease;
}

.hero-about-link:hover::after,
.hero-about-link:focus::after {
  transform: scaleX(0);
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1199.98px) {
  .site-header .container,
  .headerimage-inner {
    padding-right: 32px;
    padding-left: 32px;
  }

  .site-header .header-inner {
    gap: 25px;
  }

  .desktop-menu > ul,
  .desktop-menu > div > ul {
    gap: 22px;
  }

  .desktop-menu > ul > li > a,
  .desktop-menu > div > ul > li > a {
    font-size: 0.9rem;
  }

  .site-logo img,
  .site-logo svg {
    max-width: 215px;
  }
}

@media (max-width: 991.98px) {
  .site-header .container {
    padding-right: 24px;
    padding-left: 24px;
  }

  .site-header .header-inner {
    min-height: 76px;
  }

  .site-logo img,
  .site-logo svg {
    max-width: 205px;
    max-height: 58px;
  }

  .headerimage-outer.kopfbild,
  .headerimage-inner {
    min-height: 590px;
  }

  .headerimage-outer.kopfbild::before {
    background: linear-gradient(
      90deg,
      rgba(250, 248, 243, 0.97) 0%,
      rgba(250, 248, 243, 0.9) 48%,
      rgba(250, 248, 243, 0.38) 100%
    );
  }

  .headerimage-inner {
    padding: 65px 24px;
  }

  .hero-content {
    max-width: 540px;
  }
}

@media (max-width: 575.98px) {
  .site-header,
  .headerimage-outer.kopfbild {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
    border-radius: 0;
  }

  .site-header {
    margin-top: 0;
  }

  .site-header .container,
  .headerimage-inner {
    padding-right: 20px;
    padding-left: 20px;
  }

  .site-header .header-inner {
    min-height: 72px;
  }

  .site-logo img,
  .site-logo svg {
    max-width: 175px;
    max-height: 50px;
  }

  .mobile-toggle {
    width: 44px;
    height: 44px;
  }

  .headerimage-outer.kopfbild,
  .headerimage-inner {
    min-height: 540px;
  }

  .headerimage-outer.kopfbild::before {
    background: rgba(250, 248, 243, 0.84);
  }

  .headerimage-inner {
    align-items: flex-start;
    padding-top: 65px;
    padding-bottom: 65px;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-content h1 {
    margin-bottom: 22px;
    font-size: clamp(2.65rem, 13vw, 3.6rem);
  }

  .hero-description {
    margin-bottom: 30px;
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .hero-button {
    width: 100%;
  }
}