/* Isolated local concept: /?entwurf=zeitreise */
.time-travel { scroll-margin-top: 7rem; padding-block: clamp(2.5rem, 5vw, 5rem); }
.time-travel-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.time-travel-heading h2 { font-size: clamp(2.6rem, 5vw, 5rem); letter-spacing: -.045em; line-height: 1; margin: .5rem 0 0; }
.time-travel-heading > p { color: #526259; margin: 0; line-height: 1.6; }
.time-travel-stage { background: #123a31; color: #fff; border-radius: 1.25rem; overflow: hidden; }
.time-travel-moment { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.time-travel [hidden] { display: none !important; }
.time-travel-photo { margin: 0; min-width: 0; background: #0a2822; display: flex; flex-direction: column; }
.time-travel-photo img { display: block; width: 100%; height: clamp(20rem, 33vw, 34rem); object-fit: contain; flex: 1; min-height: 0; }
.time-travel-photo figcaption { padding: .8rem 1.3rem; font-size: .78rem; line-height: 1.5; color: #dbe3db; }
.time-travel-copy { padding: clamp(1.5rem, 3.5vw, 3.8rem); align-self: center; }
.time-travel-copy .time-travel-year { font-size: clamp(4.5rem, 7vw, 8rem); line-height: 1; letter-spacing: -.065em; color: #ebd99e; margin: 0 0 1.3rem; font-weight: 750; font-variant-numeric: tabular-nums; }
.time-travel-label { text-transform: uppercase; letter-spacing: .13em; font-size: .68rem; color: #d1ddce; }
.time-travel-copy h3 { color: #fff; font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: 1.15; margin: .5rem 0 1rem; }
.time-travel-copy > p:not(.time-travel-year):not(.time-travel-label) { color: #e3e9df; line-height: 1.7; }
.time-travel-archive { display: inline-flex; gap: 1.2rem; color: #ebd99e; padding-block: .7rem; text-underline-offset: .3rem; }
.time-travel-archive:hover { color: #fff; }
.time-travel-controls { border-top: 1px solid #ffffff30; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.5rem; }
.time-travel-years { display: flex; flex-wrap: wrap; gap: .4rem; }
.time-travel-years a { padding: .65rem .9rem; min-height: 44px; color: #e5eadf; border-radius: 2rem; text-decoration: none; font-variant-numeric: tabular-nums; }
.time-travel-years a[aria-current] { background: #ebd99e; color: #123a31; font-weight: 700; }
.time-travel-years a:hover { background: #ffffff20; color: #fff; }
.time-travel-years a[aria-current]:hover { background: #f6e8bd; color: #123a31; }
.time-travel-next { color: #123a31; background: #ebd99e; padding: .8rem 1.3rem; border-radius: 2rem; text-decoration: none; display: inline-flex; gap: 1.5rem; align-items: center; font-weight: 700; min-height: 48px; }
.time-travel-next:hover { color: #123a31; background: #f6e8bd; }
.time-travel-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.2rem; }
.time-travel-bottom p { color: #526259; font-size: .9rem; line-height: 1.7; margin: 0; }
.time-travel-bottom a { color: #123a31; text-underline-offset: .25rem; font-weight: 600; }
.time-travel-share { border: 1px solid #b6c2b6; color: #123a31; background: transparent; padding: .8rem 1.2rem; min-height: 48px; border-radius: 2rem; font: inherit; cursor: pointer; }
.time-travel-share:hover { background: #e8ecdf; }
.time-travel :is(a, button, input):focus-visible { outline: 3px solid #ac6d0c; outline-offset: 4px; }
.time-travel-stage a:focus-visible { outline-color: #fff; }
.time-travel-status { font-size: .85rem; color: #526259; margin: .6rem 0 0; min-height: 1.5em; }
.time-travel input { display: block; width: 100%; padding: .8rem; margin-top: .5rem; }
@media (max-width: 760px) {
  .time-travel-heading { display: block; }
  .time-travel-heading > p { margin-top: 1rem; }
  .time-travel-moment { grid-template-columns: minmax(0, 1fr); }
  .time-travel-photo img { height: auto; aspect-ratio: 3 / 2; width: 100%; }
  .time-travel-copy { padding: 1.5rem; }
  .time-travel-copy .time-travel-year { font-size: 4.5rem; margin-bottom: .8rem; }
  .time-travel-controls { align-items: stretch; flex-direction: column; padding: 1rem; }
  .time-travel-years { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; text-align: center; }
  .time-travel-years a { padding-inline: .25rem; font-size: .85rem; }
  .time-travel-next { justify-content: space-between; }
  .time-travel-bottom { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: no-preference) {
  .time-travel-moment:not([hidden]) { animation: time-travel-in 200ms ease-out; }
  @keyframes time-travel-in { from { opacity: .5; } to { opacity: 1; } }
}
