/* ==============================================================
   LANGGRÜN — geschichte.css (Editorial, organisch)
   Nutzt die Variablen aus langgrün.css. Für die Scroll-Reveal-
   Animationen werden reveal.css + reveal.js benötigt.
   ============================================================== */

.history-hero {
  width: 100%;
  height: 42vh;
  background: url('../Bilder/Bild_von_Kirche_klein.jpeg') center/cover no-repeat;
  position: relative;
}

.history-hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  gap: 1rem;
}

.history-hero-overlay h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--huge-text);
  color: white;
}

.history-hero-overlay p {
  font-size: var(--medium-text);
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  line-height: 1.5;
}


/* ============================== EINLEITUNG & AUSBLICK ============================== */

.history-intro,
.history-callout {
  padding: 4.5rem 10%;
  text-align: center;
}

.history-intro h2,
.history-callout h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--huge-text);
  color: var(--color-text);
  margin-bottom: 1.5rem;
}

.history-intro p,
.history-callout p {
  font-size: var(--medium-text);
  color: var(--color-text-soft);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

.history-callout {
  background: rgba(82, 140, 82, 0.05);
  border-radius: var(--border-radius-organic);
  max-width: 900px;
  margin: 0 auto 2rem;
}

.whitemode .history-callout {
  background: rgba(255, 255, 255, 0.04);
}


/* ============================== TIMELINE ============================== */

.history-timeline {
  padding: 2rem 0 4rem;
  max-width: 900px;
  margin: 0 auto;
}

.history-timeline h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--huge-text);
  color: var(--color-text);
  text-align: center;
  margin-bottom: 3rem;
}

.timeline-item {
  position: relative;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-organic);
  padding: 1.75rem 2rem 1.75rem 2.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.4, 1),
              border-color 0.35s ease, box-shadow 0.35s ease;
}

.timeline-item:nth-child(even) {
  border-radius: 12px 30px 12px 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 2.1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-green);
  transform: translateX(-50%);
}

.timeline-item:hover {
  transform: translateX(4px);
  border-color: var(--color-green);
  box-shadow: 0 12px 28px var(--box-shadow-event-card-hover);
}

.timeline-year {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-brown);
  display: block;
  margin-bottom: 0.6rem;
}

.timeline-item p {
  font-size: var(--medium-text);
  color: var(--color-text-soft);
  line-height: 1.6;
}


/* ============================== RESPONSIVE ============================== */

@media (max-width: 700px) {
  .history-hero {
    height: 34vh;
  }

  .history-intro,
  .history-timeline,
  .history-callout {
    padding-left: 6%;
    padding-right: 6%;
  }
}