/* ==========================================================
   10 · Hero (DCE "Hero1")
   .hero--home = Startseite (groß) · .hero--page = Unterseiten
   ========================================================== */

.hero { position: relative; isolation: isolate; color: #fff; overflow: hidden; background: var(--forest); }
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__shade { /* Abdunklung, damit der Text lesbar ist */
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(25, 36, 29, .78) 0%, rgba(25, 36, 29, .45) 48%, rgba(25, 36, 29, .12) 100%),
    linear-gradient(0deg, rgba(25, 36, 29, .35), transparent 40%);
}

.hero__inner { display: flex; align-items: flex-end; }
.hero--home .hero__inner { min-height: min(88vh, 860px); padding: 8rem 0 clamp(3.5rem, 8vw, 6.5rem); }
.hero--page .hero__inner { min-height: clamp(320px, 48vh, 500px); padding: 7rem 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero__content { max-width: 46rem; }

.hero__text h1, .hero__text h2, .hero__text h3 { color: #fff; }
.hero__text h1 { font-size: var(--step-4); margin-bottom: .35em; text-wrap: balance; }
.hero--page .hero__text h1 { font-size: clamp(2.4rem, 1.7rem + 3.4vw, 4.4rem); }
.hero__text h2 { font-family: var(--serif); font-style: italic; font-size: var(--step-1); font-weight: 300; color: rgba(255, 255, 255, .9); }
.hero__text p { font-size: var(--step-1); color: rgba(255, 255, 255, .9); max-width: 36rem; }
.hero__text p:has(br:only-child) br { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

/* Einblend-Animation auf der Startseite */
.hero--home .hero__text h1 { animation: rise 1s var(--ease) both; }
.hero--home .hero__text p, .hero--home .eyebrow { animation: rise 1s .12s var(--ease) both; }
.hero--home .hero__actions { animation: rise 1s .24s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
