@charset "UTF-8";
/* Alles ist lokal auf .cd-timeline gekapselt */
.cd-timeline {
  /* Design Tokens nur für die Timeline-Section */
  --cd-color-1: hsl(206, 21%, 24%);
  --cd-color-1-h: 206;
  --cd-color-1-s: 21%;
  --cd-color-1-l: 24%;
  --cd-color-2: hsl(205, 38%, 89%);
  --cd-color-2-h: 205;
  --cd-color-2-s: 38%;
  --cd-color-2-l: 89%;
  --cd-color-3: hsl(207, 10%, 55%);
  --cd-color-3-h: 207;
  --cd-color-3-s: 10%;
  --cd-color-3-l: 55%;
  --cd-color-4: hsl(111, 51%, 60%);
  --cd-color-4-h: 111;
  --cd-color-4-s: 51%;
  --cd-color-4-l: 60%;
  --cd-color-5: hsl(356, 53%, 49%);
  --cd-color-5-h: 356;
  --cd-color-5-s: 53%;
  --cd-color-5-l: 49%;
  --cd-color-6: hsl(47, 85%, 61%);
  --cd-color-6-h: 47;
  --cd-color-6-s: 85%;
  --cd-color-6-l: 61%;
  --font-primary: "Droid Serif", serif;
  --font-secondary: "Open Sans", sans-serif;
  /* Basis der Timeline */
  overflow: hidden;
  padding: 2em 0;
  /* Container + vertikale Linie */
  /* Einzelner Zeitstrahl-Eintrag */
  /* Kreis-Icon links/rechts der Linie */
  /* Content-Karte */
  /* Datumstext */
  /* Visibility/Animation nur innerhalb der Timeline */
}
.cd-timeline h2 {
  font-family: var(--font-secondary);
  font-weight: 700;
}
.cd-timeline__container {
  position: relative;
  padding: 1.25em 0;
}
.cd-timeline__container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  height: 100%;
  width: 4px;
  background: var(--cd-color-2);
}
@media (min-width: 64rem) {
  .cd-timeline__container::before {
    left: 50%;
    transform: translateX(-50%);
  }
}
.cd-timeline__block {
  display: flex;
  position: relative;
  z-index: 1;
  margin-bottom: 2em;
}
.cd-timeline__block:last-child {
  margin-bottom: 0;
}
@media (min-width: 64rem) {
  .cd-timeline__block:nth-child(even) {
    flex-direction: row-reverse;
  }
}
.cd-timeline__img {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #fff, inset 0 2px 0 rgba(0, 0, 0, 0.08), 0 3px 0 4px rgba(0, 0, 0, 0.05);
}
.cd-timeline__img img {
  width: 24px;
  height: 24px;
}
.cd-timeline__img--picture {
  background-color: var(--cd-color-4);
}
.cd-timeline__img--movie {
  background-color: var(--cd-color-5);
}
.cd-timeline__img--location {
  background-color: var(--cd-color-6);
}
@media (min-width: 64rem) {
  .cd-timeline__img {
    width: 60px;
    height: 60px;
    order: 1;
    margin-left: calc(5% - 30px);
    will-change: transform;
  }
  .cd-timeline__block:nth-child(even) .cd-timeline__img {
    margin-right: calc(5% - 30px);
    margin-left: 0;
  }
}
.cd-timeline__content {
  flex-grow: 1;
  position: relative;
  margin-left: 1.25em;
  background: #fff;
  border-radius: 0.25em;
  padding: 1.25em;
  box-shadow: 0 3px 0 var(--cd-color-2);
}
.cd-timeline__content::before {
  content: "";
  position: absolute;
  top: 16px;
  right: 100%;
  width: 0;
  height: 0;
  border: 7px solid transparent;
  border-right-color: #fff;
}
.cd-timeline__content h2 {
  color: var(--cd-color-1);
}
@media (min-width: 64rem) {
  .cd-timeline__content {
    width: 45%;
    flex-grow: 0;
    will-change: transform;
    margin: 0;
    /* Pfeil seitenverkehrt bei ungeraden Blöcken */
  }
  .cd-timeline__content::before {
    top: 24px;
  }
  .cd-timeline__block:nth-child(odd) .cd-timeline__content::before {
    right: auto;
    left: 100%;
    border: 7px solid transparent;
    border-left-color: #fff;
  }
}
.cd-timeline__date {
  color: hsla(var(--cd-color-3-h), var(--cd-color-3-s), var(--cd-color-3-l), 0.7);
}
@media (min-width: 64rem) {
  .cd-timeline__date {
    position: absolute;
    width: 100%;
    left: 120%;
    top: 20px;
  }
  .cd-timeline__block:nth-child(even) .cd-timeline__date {
    left: auto;
    right: 120%;
    text-align: right;
  }
}
@media (min-width: 64rem) {
  .cd-timeline__img--hidden, .cd-timeline__content--hidden {
    visibility: hidden;
  }
  .cd-timeline__img--bounce-in {
    animation: cd-bounce-1 0.6s;
  }
  .cd-timeline__content--bounce-in {
    animation: cd-bounce-2 0.6s;
  }
  .cd-timeline__block:nth-child(even) .cd-timeline__content--bounce-in {
    animation-name: cd-bounce-2-inverse;
  }
}

/* Keyframes – global definiert, wirken aber nur dort, wo oben genutzt */
@keyframes cd-bounce-1 {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes cd-bounce-2 {
  0% {
    opacity: 0;
    transform: translateX(-100px);
  }
  60% {
    opacity: 1;
    transform: translateX(20px);
  }
  100% {
    transform: translateX(0);
  }
}
@keyframes cd-bounce-2-inverse {
  0% {
    opacity: 0;
    transform: translateX(100px);
  }
  60% {
    opacity: 1;
    transform: translateX(-20px);
  }
  100% {
    transform: translateX(0);
  }
}

/*# sourceMappingURL=timeline.css.map */
