/* Startseite — Hero, Sektionen */

.d9-section {
  padding: var(--section-y) 0;
}

.d9-section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }

.d9-section__head {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
  flex-wrap: wrap;
}

.d9-section__head .eyebrow, .d9-section__head h2 { margin: 0; }
.d9-section__head h2 { margin-top: 0.3em; }

.d9-section__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  text-decoration: none;
  white-space: nowrap;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

/* ---------- Hero ---------- */

.d9-hero {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
}

.d9-hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: center;
}

.d9-hero__copy { grid-column: span 6; }

.d9-hero__title {
  margin-bottom: 0.5em;
}

.d9-hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--muted);
  max-width: 42ch;
  margin-bottom: 1.75rem;
}

.d9-hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.d9-hero__media {
  grid-column: span 6;
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.d9-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.d9-hero__badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  background: var(--surface);
  padding: 0.9rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(26, 21, 18, 0.14);
  max-width: 220px;
}

.d9-hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--primary-dark);
}

.d9-hero__badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Über-uns-Teaser ---------- */

.d9-about-teaser {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gap);
  align-items: center;
}

.d9-about-teaser__media {
  grid-column: span 5;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}

.d9-about-teaser__media img { width: 100%; height: 100%; object-fit: cover; }

.d9-about-teaser__copy { grid-column: span 7; }

.d9-about-teaser__copy p { color: var(--muted); max-width: 58ch; }

/* ---------- Reveal / Animation Basiszustand ---------- */

.reveal {
  transform: translateY(18px);
  transition: transform 620ms var(--ease-out);
}

.reveal.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transform: none;
    transition: none;
  }
}
