/* EHNES Timeline – horizontaler Zeitstrahl. CI: Roboto, Blau/Ink, eckig. */
.tl {
	--tl-accent: #0B55A0;
	--tl-ink: #1C2530;
	--tl-muted: #5B6770;
	--tl-line: #E5E9ED;
	font-family: "Roboto", system-ui, sans-serif;
	width: 100%;
	box-sizing: border-box;
}
.tl *, .tl *::before, .tl *::after { box-sizing: border-box; }

/* ---- Zeitstrahl ---- */
.tl__bar { display: flex; align-items: center; gap: 12px; }
.tl__nav {
	flex: none; width: 40px; height: 40px; border: 1px solid var(--tl-line); background: #fff;
	color: var(--tl-ink); font-size: 22px; line-height: 1; cursor: pointer; border-radius: 0;
	transition: border-color .15s, color .15s, background .15s;
}
.tl__nav:hover { border-color: var(--tl-accent); color: var(--tl-accent); }
.tl__track {
	position: relative; flex: 1 1 auto; min-width: 0;
	display: flex; justify-content: space-between; align-items: flex-start;
	padding-top: 26px;
}
.tl__line { position: absolute; left: 0; right: 0; top: 32px; height: 2px; background: var(--tl-line); }
.tl__progress { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: var(--tl-accent); transition: width .35s cubic-bezier(.4,0,.2,1); }
.tl__year {
	position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px;
	border: 0; background: none; cursor: pointer; padding: 0 6px;
	font-family: inherit; color: var(--tl-muted);
}
.tl__dot {
	order: -1; width: 14px; height: 14px; border-radius: 50%;
	background: #fff; border: 2px solid var(--tl-line); transition: border-color .2s, transform .2s, background .2s;
}
.tl__y { font-size: 16px; font-weight: 700; letter-spacing: .02em; transition: color .2s; }
.tl__year:hover .tl__dot { border-color: var(--tl-accent); }
.tl__year.is-active .tl__dot { border-color: var(--tl-accent); background: var(--tl-accent); transform: scale(1.15); }
.tl__year.is-active .tl__y { color: var(--tl-accent); }

/* ---- Panels ---- */
.tl__panels { position: relative; margin-top: 30px; }
.tl__panel { display: none; gap: 32px; align-items: start; animation: tl-fade .35s cubic-bezier(.4,0,.2,1); }
.tl__panel.is-active { display: flex; }
@keyframes tl-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.tl__media { flex: 0 0 42%; max-width: 42%; }
.tl__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tl__content { flex: 1 1 auto; min-width: 0; }
.tl__panel-year { display: inline-block; margin-bottom: 6px; font-size: .82rem; font-weight: 700; letter-spacing: .08em; color: var(--tl-accent); }
.tl__title { margin: 0 0 12px; font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); line-height: 1.2; font-weight: 700; color: var(--tl-ink); }
.tl__text { margin: 0; font-size: 18px; font-weight: 300; line-height: 1.65; color: var(--tl-muted); max-width: 60ch; }

@media (max-width: 760px) {
	.tl__y { font-size: 13px; }
	.tl__panel { flex-direction: column; gap: 18px; }
	.tl__media { flex-basis: auto; max-width: 100%; }
	.tl__text { font-size: 16px; }
}
