/* :root {} */
/* --bg: #f5f7f8; */
/* --card: #ffffff; */
/* --accent: #1f7a5c; */
/* --accent-soft: #e0f1ea; */
/* --text: #1f2933; */
/* --muted: #6b7280; */


/* body {}   */
/* margin: 0; */
/* padding: 0; */
/* font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
/* font-family: 'DM Sans', sans-serif; */
/* font-size: 1.1rem; */
/* font-weight: 400; */
/* background: var(--bg); */
/* color: var(--text); */
/* line-height: 1.5; */



.page {
  background: var(--bg-linear-grad);
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem 3.5rem 2.5rem 3.5rem;
  margin-top: 4rem;
  /* border: #e4461e 2px solid; */
  border-radius: 2rem;
}


header {
  margin-bottom: 2rem;
  /* border: #1f7a5c 2px solid; */
}


.font-face-header {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 3rem);
  font-weight: 900;
  color: var(--accent);
}

/* header h1 {
  margin: 0 0 .5rem;
  font-size: 2rem;
} */

header p {
  margin: 0;
  color: var(--muted);
  max-width: 650px;
}

.status {
  /* background: var(--accent); */
  background: #F2F5F0;
  border-left: 6px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: .5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.status-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 6vw, 2rem);
  font-weight: 700;
  margin-bottom: .25rem;
}

.grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr;
  gap: 1.5rem;
}

.font-face {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 6vw, 2rem);
  font-weight: 700;
}


.grid2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  /* border: burlywood 2px solid; */
}



.card {
  background: var(--card);
  background: #F2F5F0;
  border-radius: .75rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  border-radius: 1rem 0 0 2rem;
}

.card h2 {
  margin-top: 0;
  margin-bottom: .75rem;
  font-size: 1.2rem;
}


.timeline-scroll {
  max-height: 450px;
  height: 450px;
  overflow-y: scroll;
  padding: 2rem 1.5rem;
  padding-right: 1.75rem;
  box-sizing: border-box;
}

/* Optional: Scrollbar etwas dezenter */
.timeline-scroll::-webkit-scrollbar {
  width: 5px;
}


.timeline-scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 9px;
}


/* --------------------------------------------------------------------- */
.timeline {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #d1d5db;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 1.5rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 4px;
  top: .25rem;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #e5e7eb;
  border: 2px solid #9ca3af;
}

.timeline-item.current .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
}

.timeline-item.planned .timeline-dot {
  background: #dbeafe;
  border-color: #3b82f6;
}

.timeline-title {
  font-weight: 600;
  margin-bottom: .15rem;
}

.timeline-meta {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .25rem;
}

.timeline-desc {
  font-size: .95rem;
}


.milestones-list {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .95rem;
}

.milestones-list li+li {
  margin-top: .35rem;
}

.note {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--muted);
}

footer {
  margin-top: 2.5rem;
  font-size: 1rem;
  color: var(--muted);
  text-align: center;
  /* border: #f63bf6 2px solid; */
}


/*  ---------------------------------------------------------- */
@media (max-width: 800px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* -- MOBILE LANDSCAPE (kurze Höhe, z.B. Querformat-Smartphone) */
@media (max-height: 480px) and (orientation: landscape) {
  .page {
    padding: 0.6rem 1.5rem 1rem;
    margin-top: 0.75rem;
    border-radius: 0.75rem;
  }

  header {
    margin-bottom: 0.75rem;
  }

  .font-face-header {
    font-size: 1.8rem;
  }

  .status {
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.9rem;
  }

  .status-title {
    font-size: 1.4rem;
  }

  .timeline-scroll {
    max-height: 200px;
    height: 200px;
    padding: 0.6rem 0.75rem 0.6rem 1rem;
  }

  .card {
    padding: 0.7rem 1rem;
  }

  footer {
    margin-top: 1rem;
  }
}

/* -- MOBILE PORTRAIT (= 540 px) ----------------------------- */
@media (max-width: 540px) {
  .page {
    padding: 1rem 1rem 1.5rem;
    margin-top: 1.5rem;
    border-radius: 1rem;
  }

  header {
    margin-bottom: 1.25rem;
  }

  .status {
    margin-bottom: 1.25rem;
    padding: 0.75rem 1rem;
  }

  .timeline-scroll {
    max-height: 320px;
    height: 320px;
    padding: 1rem 1rem 1rem 1.25rem;
  }

  .card {
    padding: 1rem 1.1rem;
  }

  footer {
    margin-top: 1.5rem;
  }
}