/* ============================
   FONTS
============================ */

@font-face {
  font-family: "Akatab";
  src: url("assets/fonts/Akatab-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "Boldonse";
  src: url("assets/fonts/Boldonse-Regular.ttf") format("truetype");
}


/* ============================
 GLOBAL
============================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: "Akatab", sans-serif;
  background: #0F2A45;
  color: #fff;
}

.inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}


/* ============================
 HEADER
============================ */

.header {
  top: 20px;
  left: 20px;
  z-index: 20;
  padding-left: 40px;
  padding-top: 25px;
}

.name {
  font-size: 20px;
  line-height: 1.6;
  font-family: "Boldonse";
}


/* ============================
 HERO SECTION
============================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.text-scroller-wrapper {
  position: absolute;
  top: 25%;
  width: 100%;
  overflow: hidden;
}

.text-scroller-track {
  display: inline-block;
  white-space: nowrap;
  animation: slide-horizontal 18s linear infinite;
}

.text-scroller-track p {
  display: inline-block;
  font-family: "Boldonse";
  font-size: 13vw;
  color: #f7bcd1;
  margin-right: 3vw;
  letter-spacing: 2px;
}

@keyframes slide-horizontal {
  0% { transform: translate3d(0,0,0); }
  100% { transform: translate3d(-50%,0,0); }
}

.hero-img {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

@media (max-width: 300px) {
  .hero-img { width: 420px; }
}

@media (min-width: 310px) {
  .hero-img { width: 530px; }
}

@media (min-width: 800px) {
  .hero-img { width: 800px; }
}


/* ============================
 CONTENT BLOCKS
============================ */

.content-block {
  padding: 100px 10%;
  background: var(--bg);
}

.content-block .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.content-block .text {
  width: 100%;
  max-width: 850px;
  margin-bottom: 60px;
}

.content-block h2 {
  font-family: "Boldonse";
  font-size: 50px;
  margin-bottom: 20px;
}

.content-block p,
.content-block li {
  line-height: 1.65;
}

.content-block ul {
  margin-left: 20px;
  margin-top: 10px;
}

.block-img {
  width: 80%;
  max-width: 600px;
  margin-top: 20px;
}


/* INTRO VIDEO */
.video-wrapper {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.video-wrapper iframe {
  width: 100%;
  height: 560px;
  border-radius: 12px;
}

/* EVENTS – LANDSCAPE VIDEO */
.video-wrapper-landscape {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper-landscape iframe {
  width: 100%;
  height: 100%;
}

/* ============================
 TIMELINE — SCROLLABLE + PEEK
============================ */

.timeline-section {
  background: #60446f;
  padding: 120px 10%;
  text-align: center;
}

.timeline-section > h2 {
  font-family: "Boldonse";
  font-size: 50px;
  color: #F9E9E0;
  margin-bottom: 40px;
}

/* PDF BUTTON */
.download-btn {
  display: inline-block;
  margin-bottom: 40px;
  padding: 14px 26px;
  background: #F9E9E0;
  color: #0F2A45;
  font-family: "Boldonse";
  font-size: 20px;
  border-radius: 12px;
  text-decoration: none;
  transition: 0.25s;
}

.download-btn:hover {
  background: #e4d3c9;
  transform: translateY(-2px);
}

.timeline-section .inner {
  max-width: 900px;
}

/* Scroll container */
.timeline {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;

  padding-bottom: 20px;
  max-width: 100%;

  -ms-overflow-style: none;
  scrollbar-width: none;

  cursor: grab;

  mask-image: linear-gradient(
    to right,
    transparent,
    black 6%,
    black 94%,
    transparent
  );
}

.timeline::-webkit-scrollbar {
  display: none;
}

.timeline.dragging {
  cursor: grabbing;
}

/* Timeline items */
.timeline-item {
  flex: 0 0 80%;
  max-width: 300px;
  scroll-snap-align: start;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center; /* WICHTIG: Year + Circle zentrieren */
}

/* Tablet */
@media (min-width: 301px) {
  .timeline-item {
    flex: 0 0 45%;
  }
}

/* Desktop */
@media (min-width: 950px) {
  .timeline-item {
    flex: 0 0 28%;
  }
}

/* YEAR */
.year {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #F9E9E0;
}

/* CIRCLE */
.circle {
  width: 220px;
  height: 220px;
  background: #F9E9E0;
  border-radius: 50%;
  padding: 28px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.circle .title {
  font-family: "Boldonse";
  font-size: 28px;
  color: #4A3B40;
  margin-bottom: 10px;
}

.circle .desc {
  font-size: 16px;
  line-height: 1.3;
  color: #0F2A45;
}


/* ============================
 RESPONSIVE
============================ */

@media (max-width: 900px) {

  .text-scroller-track p {
    font-size: 18vw;
  }

  .content-block h2,
  .timeline-section h2 {
    font-size: 8vw;
    line-height: 1.7;
  }

  .circle .title {
    font-size: 7vw;
  }

  .block-img {
    margin-top: 40px;
  }

  .header {
    max-height: 100px;
    padding-top: 10px;
    padding-left: 20px;
    top: 10px;
  }

  .name {
    font-size: 16px;
    line-height: 1.3;
  }
}
