/* =========================================================
   FSV HISTORY TIMELINE
   ========================================================= */

.fsv-history-page-intro {
  padding: 40px 0 10px;
}

.fsv-history-page-intro .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fsv-history-page-intro h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fsv-history-page-intro p {
  margin: 0;
  max-width: 900px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.75;
}

/* =========================================================
   TIMELINE WRAPPER
   ========================================================= */

.fsv-history-timeline {
  position: relative;
  max-width: 1280px;
  margin: 0 auto 70px;
  padding: 30px 24px 10px;
}

.fsv-history-timeline__header {
  margin-bottom: 34px;
}

.fsv-history-timeline__header h2 {
  margin: 0;
  color: #ffffff;
  font-size: 68px;
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  max-width: 760px;
}

.fsv-history-timeline__header h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #61d8ff 0%, #f0c23a 100%);
  box-shadow: 0 0 18px rgba(97, 216, 255, 0.28);
}

/* zentrale Linie */
.fsv-history-timeline__line {
  position: absolute;
  top: 190px;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(106, 201, 255, 0.18) 0%,
    rgba(86, 175, 255, 0.95) 18%,
    rgba(103, 193, 255, 0.92) 82%,
    rgba(106, 201, 255, 0.14) 100%
  );
  box-shadow:
    0 0 0 1px rgba(103, 193, 255, 0.12),
    0 0 28px rgba(71, 165, 255, 0.3);
  z-index: 1;
}

/* =========================================================
   ITEM LAYOUT
   ========================================================= */

.fsv-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 54px;
  z-index: 2;
}

.fsv-history-item--left .fsv-history-item__media,
.fsv-history-item--left .fsv-history-item__content {
  grid-column: 1;
}

.fsv-history-item--right .fsv-history-item__media,
.fsv-history-item--right .fsv-history-item__content {
  grid-column: 2;
}

.fsv-history-item--left .fsv-history-item__media,
.fsv-history-item--left .fsv-history-item__content {
  padding-right: 58px;
}

.fsv-history-item--right .fsv-history-item__media,
.fsv-history-item--right .fsv-history-item__content {
  padding-left: 58px;
}

/* Marker auf der Linie */
.fsv-history-item__marker {
  position: absolute;
  left: 50%;
  top: 88px;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #f3cf39 0 28%, transparent 29%),
    radial-gradient(circle at center, rgba(106, 201, 255, 0.95) 0 58%, rgba(106, 201, 255, 0.15) 59% 100%);
  border: 2px solid rgba(111, 198, 255, 0.95);
  box-shadow:
    0 0 0 6px rgba(105, 200, 255, 0.09),
    0 0 24px rgba(91, 181, 255, 0.28);
  z-index: 4;
}

/* =========================================================
   YEAR / IMAGE / LABEL
   ========================================================= */

.fsv-history-item__media {
  position: relative;
}

.fsv-history-item__year {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.fsv-history-item__image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 18px 40px rgba(3, 13, 34, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.fsv-history-item__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.fsv-history-item__label {
  position: absolute;
  left: 18px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #62caff 0%, #4d98ff 100%);
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow:
    0 10px 22px rgba(28, 98, 190, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Wenn kein Bild da ist, Label trotzdem schön darstellen */
.fsv-history-item__media > .fsv-history-item__label {
  position: static;
  margin-top: 8px;
}

/* =========================================================
   TOGGLE CARD
   ========================================================= */

.fsv-history-item__content {
  position: relative;
}

.fsv-history-item__toggle {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  padding: 22px 28px;
  border-radius: 20px;
  border: 2px solid rgba(58, 68, 92, 0.65);
  background:
    linear-gradient(180deg, rgba(245, 208, 43, 0.98) 0%, rgba(233, 198, 28, 0.98) 100%);
  color: #283345;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(255, 255, 255, 0.14) inset,
    0 0 0 2px rgba(240, 194, 58, 0.1);
}

.fsv-history-item__toggle:hover {
  transform: translateY(-2px);
  filter: brightness(1.02);
  box-shadow:
    0 24px 40px rgba(0, 0, 0, 0.26),
    0 0 0 2px rgba(255, 255, 255, 0.16) inset,
    0 0 18px rgba(240, 194, 58, 0.2);
}

.fsv-history-item__toggle:focus {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(97, 216, 255, 0.34),
    0 18px 34px rgba(0, 0, 0, 0.2),
    0 0 0 2px rgba(255, 255, 255, 0.14) inset;
}

.fsv-history-item__toggle-title {
  display: block;
  color: #334156;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fsv-history-item__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: rgba(51, 65, 86, 0.72);
  font-size: 18px;
  font-weight: 900;
  transition: transform 0.28s ease, color 0.28s ease;
}

.fsv-history-item.is-open .fsv-history-item__icon {
  transform: rotate(180deg);
  color: #334156;
}

/* =========================================================
   ACCORDION CONTENT
   ========================================================= */

.fsv-history-item__text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    max-height 0.42s ease,
    opacity 0.28s ease,
    transform 0.28s ease,
    margin-top 0.28s ease;
  margin-top: 0;
  border-radius: 0 0 22px 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(247,249,252,0.97) 100%);
  box-shadow:
    0 18px 36px rgba(4, 12, 30, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.85);
}

.fsv-history-item.is-open .fsv-history-item__text {
  max-height: 1400px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 12px;
}

.fsv-history-item__text > *:first-child {
  margin-top: 0;
}

.fsv-history-item__text > *:last-child {
  margin-bottom: 0;
}

.fsv-history-item__text {
  padding: 28px 30px 30px;
}

.fsv-history-item__text,
.fsv-history-item__text p,
.fsv-history-item__text li,
.fsv-history-item__text strong,
.fsv-history-item__text em {
  color: #111111 !important;
}

.fsv-history-item__text p {
  margin: 0 0 18px;
  font-size: 18px;
  line-height: 1.82;
  font-weight: 500;
}

.fsv-history-item__text strong {
  font-weight: 800;
}

.fsv-history-item__text em {
  font-style: italic;
}

.fsv-history-item__text ul,
.fsv-history-item__text ol {
  margin: 0 0 18px 22px;
  padding: 0;
}

.fsv-history-item__text li {
  margin-bottom: 8px;
  font-size: 17px;
  line-height: 1.75;
}

/* =========================================================
   ANIMATION ON SCROLL
   ========================================================= */

.fsv-history-item {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fsv-history-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   QUOTE / INTRO BLOCK BELOW
   ========================================================= */

.fsv-history-quote-block {
  padding: 30px 0 20px;
}

.fsv-history-quote-block .container,
.fsv-history-archive .container {
  max-width: 1200px;
  margin: 0 auto;
}

.fsv-history-quote-block h2 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fsv-history-quote-block p {
  margin: 0;
  max-width: 880px;
  color: rgba(255,255,255,0.84);
  font-size: 17px;
  line-height: 1.75;
}

/* =========================================================
   ARCHIVE / TABLES
   ========================================================= */

.fsv-history-archive {
  padding: 24px 0 80px;
}

.fsv-history-archive__item {
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 33, 70, 0.88) 0%, rgba(13, 27, 59, 0.92) 100%);
  border: 1px solid rgba(125, 196, 255, 0.12);
  box-shadow:
    0 22px 44px rgba(3, 11, 28, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

.fsv-history-archive__item summary {
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 22px 64px 22px 24px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.fsv-history-archive__item summary::-webkit-details-marker {
  display: none;
}

.fsv-history-archive__item summary::after {
  content: "⌄";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #f0c23a;
  font-size: 22px;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.fsv-history-archive__item[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
}

.fsv-history-archive__tablewrap {
  padding: 0 18px 18px;
  overflow-x: auto;
}

.fsv-history-table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  color: rgba(255,255,255,0.94);
  font-size: 15px;
  line-height: 1.5;
}

.fsv-history-table thead th {
  padding: 16px 14px;
  text-align: left;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.fsv-history-table tbody td {
  padding: 14px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  vertical-align: top;
}

.fsv-history-table tbody tr:hover td {
  background: rgba(255,255,255,0.025);
}

.fsv-history-table__note td {
  color: #f0d36d;
  font-style: italic;
  background: rgba(240, 194, 58, 0.06);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {
  .fsv-history-timeline__header h2 {
    font-size: 54px;
    max-width: 620px;
  }

  .fsv-history-item {
    gap: 44px;
  }

  .fsv-history-item--left .fsv-history-item__media,
  .fsv-history-item--left .fsv-history-item__content {
    padding-right: 36px;
  }

  .fsv-history-item--right .fsv-history-item__media,
  .fsv-history-item--right .fsv-history-item__content {
    padding-left: 36px;
  }

  .fsv-history-item__toggle-title {
    font-size: 20px;
  }
}

@media (max-width: 900px) {
  .fsv-history-page-intro {
    padding: 28px 0 8px;
  }

  .fsv-history-page-intro h2 {
    font-size: 34px;
  }

  .fsv-history-page-intro p {
    font-size: 16px;
    line-height: 1.7;
  }

  .fsv-history-timeline {
    padding: 14px 16px 0;
  }

  .fsv-history-timeline__header {
    margin-bottom: 26px;
  }

  .fsv-history-timeline__header h2 {
    font-size: 42px;
    line-height: 1.02;
    max-width: 100%;
  }

  .fsv-history-timeline__header h2::after {
    width: 96px;
    margin-top: 14px;
  }

  .fsv-history-timeline__line {
    left: 18px;
    transform: none;
    top: 120px;
  }

  .fsv-history-item {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 34px;
    padding-left: 42px;
  }

  .fsv-history-item--left .fsv-history-item__media,
  .fsv-history-item--left .fsv-history-item__content,
  .fsv-history-item--right .fsv-history-item__media,
  .fsv-history-item--right .fsv-history-item__content {
    grid-column: 1;
    padding-left: 0;
    padding-right: 0;
  }

  .fsv-history-item__marker {
    left: 18px;
    top: 54px;
    width: 20px;
    height: 20px;
    transform: translate(-50%, -50%);
  }

  .fsv-history-item__year {
    font-size: 26px;
    margin-bottom: 12px;
  }

  .fsv-history-item__toggle {
    padding: 18px 20px;
    border-radius: 18px;
  }

  .fsv-history-item__toggle-title {
    font-size: 18px;
    line-height: 1.28;
  }

  .fsv-history-item__text {
    padding: 22px 20px 24px;
  }

  .fsv-history-item__text p,
  .fsv-history-item__text li {
    font-size: 16px;
    line-height: 1.72;
  }

  .fsv-history-quote-block h2 {
    font-size: 28px;
  }

  .fsv-history-archive__item summary {
    font-size: 18px;
    padding: 18px 52px 18px 18px;
  }

  .fsv-history-archive__tablewrap {
    padding: 0 10px 12px;
  }
}

@media (max-width: 520px) {
  .fsv-history-page-intro h2 {
    font-size: 28px;
  }

  .fsv-history-timeline__header h2 {
    font-size: 32px;
  }

  .fsv-history-item__year {
    font-size: 22px;
  }

  .fsv-history-item__toggle-title {
    font-size: 17px;
  }

  .fsv-history-item__label {
    font-size: 13px;
    min-height: 32px;
    padding: 6px 12px;
  }

  .fsv-history-item__text p,
  .fsv-history-item__text li {
    font-size: 15px;
  }
}