/* =========================================================
   hero.css — Hero / Startseite Section
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--c-bg-soft);
}

/* Subtle decorative background pattern */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 25% 60%, rgba(184, 147, 90, 0.07) 0%, transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(184, 147, 90, 0.05) 0%, transparent 45%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding-top: 7rem;
}

/* Text side */
.hero-content { max-width: 540px; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--c-accent);
}

.hero-title {
  font-family: var(--f-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-6);
  color: var(--c-text);
}

.hero-title em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: var(--c-text-muted);
  font-weight: 300;
  max-width: 380px;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.hero-detail {
  font-size: var(--text-sm);
  color: var(--c-text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-detail::before {
  content: '';
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--c-accent);
}

/* Visual side — image mosaic */
.hero-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 280px 180px;
  gap: var(--space-3);
}

.hero-img {
  background-color: var(--c-accent-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.hero-img:hover img { transform: scale(1.04); }

.hero-img--tall {
  grid-row: span 2;
  grid-template-rows: unset;
}

/* Placeholder styling when no image */
.hero-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--c-accent-light) 0%, var(--c-bg-soft) 100%);
}
.hero-img--placeholder::after {
  content: 'Foto';
  font-family: var(--f-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-accent);
  opacity: 0.5;
}

/* Scroll hint */
.hero-scroll {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  animation: bounce 2.5s infinite;
}

.hero-scroll-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--c-accent), transparent);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero-subtitle { max-width: 100%; }
  .hero-eyebrow { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { display: none; }
}

@media (max-width: 640px) {
  .hero-title { font-size: clamp(2.5rem, 10vw, 3.5rem); }
}
