/*--------------------------------------------------------------
# Zeitstrahl – Modern Timeline
--------------------------------------------------------------*/

.zeitstrahl-section {
  padding: 60px 0;
}

.zeitstrahl-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0 40px;
}

/* ── Vertikale Mittellinie ── */
.zeitstrahl-wrapper::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    #adc1d2 8%,
    #adc1d2 92%,
    transparent
  );
  transform: translateX(-50%);
}

/* ── Einzelner Eintrag ── */
.zt-entry {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
  margin-bottom: 48px;
  position: relative;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.zt-entry.zt-right {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 40px);
  transform: translateX(30px);
}

.zt-entry.zt-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── Karte ── */
.zt-card {
  background: #ffffff;
  border: 1px solid #e2e8ef;
  border-radius: 12px;
  padding: 20px 22px;
  max-width: 360px;
  width: 100%;
  box-shadow: 0 2px 12px rgba(21, 49, 82, 0.07);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  position: relative;
}

.zt-card:hover {
  box-shadow: 0 8px 28px rgba(21, 49, 82, 0.14);
  transform: translateY(-3px);
}

/* Pfeil zur Mittellinie */
.zt-card::after {
  content: "";
  position: absolute;
  top: 22px;
  right: -10px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 10px solid #ffffff;
  filter: drop-shadow(2px 0 1px rgba(21,49,82,0.08));
  
}

.zt-right .zt-card::after {
  right: auto;
  left: -10px;
  border-left: 0;
  border-right: 10px solid #ffffff;
  filter: drop-shadow(-2px 0 1px rgba(21,49,82,0.08));
}

/* ── Jahreszahl-Kreis auf der Linie ── */
.zt-year-bubble {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  background: #153152;
  color: #ffffff;
  font-family: var(--heading-font, 'Poppins', sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 5px 13px;
  border-radius: 20px;
  white-space: nowrap;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(21, 49, 82, 0.25);
}

/* ── Icon-Badge ── */
.zt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: color-mix(in srgb, #adc1d2, transparent 65%);
  color: #153152;
  font-size: 16px;
  margin-bottom: 10px;
}

/* ── Titel ── */
.zt-card h3 {
  font-family: var(--heading-font, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: #153152;
  margin: 0 0 8px;
  line-height: 1.35;
}

/* ── Fliesstext ── */
.zt-card p {
  font-size: 13.5px;
  color: #4a5e72;
  line-height: 1.65;
  margin: 0 0 12px;
}

/* ── Button ── */
.btn-zeitstrahl {
  display: inline-block;
  padding: 5px 14px;
  font-size: 12.5px;
  font-family: var(--heading-font, 'Poppins', sans-serif);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #153152;
  background: color-mix(in srgb, #adc1d2, transparent 60%);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-zeitstrahl:hover {
  background: #850039;
  color: #ffffff;
}

/* ── Abschlussdot ── */
.zt-end-dot {
  width: 10px;
  height: 10px;
  background: #adc1d2;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  left: 0;
  display: block;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 5px #adc1d2;
}

/* Leere Bubble → schöner Punkt mit Ring */
.zt-year-bubble:empty {
    position: absolute;
    top: 25px;
  width: 10px;
  height: 10px;
  padding: 0;
  font-size: 0;
  background: #153152;
  border-radius: 50%;
  box-shadow:
    0 0 0 3px #ffffff,
    0 0 0 5px #adc1d2;
}


/* ============================================================
   RESPONSIVE – Mobile: alles linksbündig
   ============================================================ */
@media (max-width: 767px) {
  .zeitstrahl-wrapper::before {
    left: 20px;
  }

  .zt-entry,
  .zt-entry.zt-right {
    justify-content: flex-start;
    padding-left: 56px;
    padding-right: 12px;
    transform: translateX(0);
    opacity: 0;
  }

  .zt-entry.zt-visible {
    opacity: 1;
  }

  .zt-card::after,
  .zt-right .zt-card::after {
    right: auto;
    left: -10px;
    border-left: 0;
    border-right: 10px solid #ffffff;
    filter: drop-shadow(-2px 0 1px rgba(21, 49, 82, 0.08));
  }

  .zt-year-bubble {
    left: 20px;
    top: 18px;
    transform: translateX(-50%);
    font-size: 11px;
    padding: 4px 9px;
  }

  .zt-card {
    max-width: 100%;
  }
}
/*--------------------------------------------------------------
# /Zeitstrahl
--------------------------------------------------------------*/