/* ===============================================
   PAGE HERO — INNER PAGES
   =============================================== */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  max-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Alternate layout used on leistungen/immobilienkauf/ingenieur pages */
.page-hero--padded {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 180px 0 100px;
  background: var(--navy-deep);
}

.page-hero--compact {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 100px 0;
  background: var(--navy-deep);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background: center/cover no-repeat;
  filter: grayscale(100%);
  opacity: 0.15;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(15,21,32,0.6) 0%,
    rgba(15,21,32,0.4) 40%,
    rgba(15,21,32,0.7) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 32px;
}

.page-hero__eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out-expo) 0.2s forwards;
}

.page-hero__title {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out-expo) 0.4s forwards;
}

.page-hero__title em {
  font-style: italic;
  color: var(--gold-light);
}

.page-hero__sub,
.page-hero__desc {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out-expo) 0.6s forwards;
}

.page-hero__desc {
  font-size: 16px;
  margin-bottom: 36px;
}

.page-hero__cta {
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out-expo) 0.8s forwards;
}

.page-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeUp 1s var(--ease-out-expo) 1s both;
}

.page-hero__scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  position: relative;
  overflow: hidden;
}

.page-hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ===============================================
   RESPONSIVE
   =============================================== */
@media (max-width: 768px) {
  .page-hero { height: 50vh; min-height: 360px; }
  .page-hero--padded { padding: 140px 0 80px; }
  .page-hero--compact { padding: 80px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .page-hero__eyebrow, .page-hero__title, .page-hero__sub,
  .page-hero__desc, .page-hero__scroll, .page-hero__cta {
    animation-duration: 0.01ms !important;
  }
}
