:root {
  --primary: #08335E;
  --primary-hover: #E22430;
  --line-color: #CCD5DB;
  --circle-size: 15px;
}

/* Basis Tabelle */
table {
  border-collapse: collapse;
  width: 100%;
  position: relative; /* wichtig */
  margin-bottom: 40px;
}

/* Vertikale Linie */
table::before {
  content: "";
  position: absolute;
  left: 210px; /* abhängig von Breite der Datumsspalte */
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--line-color);
  z-index: 0;
}

/* Horizontaler Strich oben */
table::after {
  content: "";
  position: absolute;
  left: 203px;
  top: 0;
  width: 16px;
  height: 3px;
  background: var(--line-color);
}

/* Horizontaler Strich unten */
tbody::after {
  content: "";
  position: absolute;
  left: 203px;
  bottom: 0;
  width: 16px;
  height: 3px;
  background: var(--line-color);
}

/* Übersteuerten Border entfernen */  
table tbody, td, tfoot, th, thead, tr{
    border: none;
}

  
/* 1. Spalte = Datum */
td:nth-child(1) {
  position: relative;
  width: 200px;
  text-align: right;
  padding-top: 20px;
  padding-right: 20px;
  font-size: 15px;
  font-weight: bold;
  color: #444;
  white-space: nowrap;
  border-style: none;
}

/* Marker (Kreis) */
td:nth-child(1)::before {
  content: "";
  position: absolute;
  top: 25px;
  right: -19px;
  width: var(--circle-size);
  height: var(--circle-size);
  background: var(--primary);
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 2;
}

/* 2. Spalte = Titel */
td:nth-child(2) {
  font-weight: bold;
  font-size: 24px;
  color: var(--primary);
  padding-top: 20px;
  padding-left: 50px;
  padding-bottom: 4px;
  transition: color 0.3s ease;
  display: block;
  border-style: none;
}

/* 3. Spalte = Beschreibung */
td:nth-child(3) {
  display: block;
  padding-left: 50px;
  padding-bottom: 20px;
  font-size: 18px;
  color: #333;
  border-style: none;
}

/* Hover-Effekte */
tr:hover td:nth-child(1)::before {
  background: var(--primary-hover);
}
tr:hover td:nth-child(2) {
  color: var(--primary-hover);
}


/* ------------------- Responsive ------------------- */
@media (max-width: 600px) {
  table::before,
  table::after,
  table tbody::after {
    left: 20px; /* Linie links */
    transform: none;
  }

  td:nth-child(1),
  td:nth-child(2),
  td:nth-child(3) {
    display: block;
    width: 100%;
    text-align: left;
    padding: 5px 0;
  }

  td:nth-child(1)::before {
    left: 14px;
    top: 14px;
    transform: none;
  }

  td:nth-child(1),
  td:nth-child(2),
  td:nth-child(3) {
    padding-left: 40px;
  }

  /* Horizontaler Strich oben */
table::after {
  left: 14px;
  }

/* Horizontaler Strich unten */
tbody::after {
  margin-left: -6px;
}
}