/* =====================================================
   reise-dots-accordion.css
   MyKeyZ Creative Center — mykeyz-about.html
   Timeline Dots + "Die Reise" Accordion
   ===================================================== */

/* ── Timeline — roter Faden + Punkte ── */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--accent2), transparent);
  border-radius: 99px;
}
.tl-item {
  position: relative;
  padding-bottom: 2.5rem;
}
.tl-item:last-child { padding-bottom: 0; }

.tl-dot {
  position: absolute;
  left: -2.35rem;
  top: 4px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 3px rgba(250,92,123,0.2);
}
.tl-dot.muted { background: var(--muted); box-shadow: none; }

.tl-year {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.tl-year.muted { color: var(--muted); }

.tl-head {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.tl-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── Accordion Trigger — pulsierender Dot im Titel ── */
#reise-trigger {
  cursor: pointer;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.reise-dot-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;   /* grösser: war 20px */
  flex-shrink: 0;
}

.reise-dot-pulse {
  display: block;
  width: 20px; height: 20px;   /* grösser: war 12px */
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 4px rgba(224,48,48,0.25);
  animation: dotpulse 2s ease-in-out infinite;
  transition: box-shadow 0.2s;
}

#reise-trigger:hover .reise-dot-pulse {
  box-shadow: 0 0 0 8px rgba(224,48,48,0.2);
}

@keyframes dotpulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(224,48,48,0.25); }
  50%       { box-shadow: 0 0 0 12px rgba(224,48,48,0.08); }
}

/* ── Chevron ── */
.reise-chevron {
  font-size: 1.1rem;           /* grösser: war 0.65rem */
  color: var(--accent);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  display: inline-block;
  margin-left: auto;
  opacity: 0.85;               /* etwas sichtbarer: war 0.7 */
}
#reise-trigger.open .reise-chevron { transform: rotate(180deg); }

/* ── Hint-Text (verschwindet beim Öffnen) ── */
.reise-hint {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: 1rem;
  transition: opacity 0.3s, max-height 0.3s;
  max-height: 2rem;
  overflow: hidden;
}
.reise-hint.hidden {
  opacity: 0;
  max-height: 0;
  margin: 0;
}

/* ── Accordion Body — smooth aufklappen ── */
.reise-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(0.4,0,0.2,1);
}
.reise-body.open { grid-template-rows: 1fr; }

.reise-inner {
  overflow: hidden;
  padding-left: 0.6rem; /* verhindert dass Dots abgeschnitten werden */
}
