/* ══════════════════════════════════════════════
   index.css – Stile für die Startseite
   ══════════════════════════════════════════════ */

/* ── Hero ── */
#hero {
  position: relative;
  height: 90vh;
  min-height: 500px;
  background: url('../images/header/AnnemarieJaeger_Fam-Moesl_015_crop-1.jpeg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-style: italic;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* ── Button ── */
.btn-farm {
  background: var(--gold);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: background 0.2s;
}

.btn-farm:hover {
  background: #9a7830;
  color: #fff;
}

/* ── Sections allgemein ── */
section { padding: 80px 0; }

.section-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-title {
  color: var(--green);
  margin-bottom: 1.5rem;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 2rem;
}

/* ── Über uns ── */
#about {
  background: var(--cream);
}

#about .lead {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

.badge-salzburg {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 2px;
  margin-top: 1.5rem;
  text-decoration: none;
  transition: background 0.2s;
}

.badge-salzburg:hover {
  background: var(--gold);
  color: #fff;
}

/* ── Galerie ── */
#galerie {
  background: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 500px) {
  .gallery-grid { grid-template-columns: repeat(1, 1fr); }
}

.gallery-item {
  overflow: hidden;
  aspect-ratio: 3/2;
  display: block;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.gallery-item:hover img { transform: scale(1.05); }

/* ── Ab-Hof-Verkauf ── */
#eierverkauf {
  background: var(--cream);
}

.eier-img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 3px;
}

/* ── Kontakt ── */
#kontakt {
  background: var(--green);
  color: #fff;
}

#kontakt h2 { color: #fff; }
#kontakt .section-label { color: var(--gold); }

.contact-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 2rem;
}

.contact-card a {
  color: #fff;
  text-decoration: none;
}

.contact-card a:hover { color: var(--gold); }

.contact-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  display: block;
}

/* ── Back to top ── */
#toTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--green);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.1rem;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: background 0.2s;
}

#toTop:hover { background: var(--green-light); }
#toTop.visible { display: flex; }
