body .page-wrapper .timeline-content {
    background: #2a1818;
    color: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    width: 100%;
    max-width: 340px;
    min-width: 220px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 60, 60, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
  }
  
  body .page-wrapper .timeline-content:hover {
    border-color: rgba(255, 60, 60, 0.6);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
    transform: translateY(-2px);
  }
  
  body .page-wrapper .timeline-toggle {
    background: none;
    border: none;
    color: #ff3c3c;
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-bottom: 8px;
  }
  
  body .page-wrapper .timeline-toggle::after {
    content: "▼";
    color: #ff3c3c;
    font-size: 0.9rem;
    margin-left: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
  }
  
  body .page-wrapper .timeline-content.open .timeline-toggle::after {
    transform: rotate(180deg);
    color: #ff9900;
  }
  
  body .page-wrapper .timeline-toggle:hover::after {
    color: #00aaff;
    transform: scale(1.1);
  }
  
  body .page-wrapper .timeline-details {
    display: none;
    color: #fff;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 60, 60, 0.2);
    line-height: 1.6;
    font-size: 0.95rem;
  }
  
  body .page-wrapper .timeline-content.open .timeline-details {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .introbox {
    border: 0.5rem solid #ff3c3c;
  }
  
  
  .timeline {
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
  }
  
  .timeline-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr; /* Mitte ist breiter! */
    width: 100%;
    margin-bottom: 2rem;
  }
  
  .timeline-col {
    display: flex;
    min-width: 0;
  }
  
  .timeline-col.left {
    justify-content: flex-end;
  }
  .timeline-col.center {
    justify-content: center;
    pointer-events: none;
  }
  .timeline-col.right {
    justify-content: flex-start;
  }
  
  .timeline-content {
    background: #2a1818;
    color: #fff;
    border-radius: 18px; /* Mehr Abrundung */
    padding: 1.5rem;
    width: 100%;
    max-width: 340px;
    min-width: 220px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 60, 60, 0.3); /* Dezenter roter Rahmen */
    box-shadow: 0 4px 15px rgba(0,0,0,0.3); /* Schatten für Tiefe */
    transition: all 0.3s ease; /* Sanfte Übergänge */
  }
  
  .timeline-content:hover {
    border-color: rgba(255, 60, 60, 0.6); /* Hellerer Rahmen beim Hover */
    box-shadow: 0 6px 20px rgba(0,0,0,0.4); /* Verstärkter Schatten */
    transform: translateY(-2px); /* Leichte Anhebung */
  }
  
  .timeline-toggle {
    background: none;
    border: none;
    color: #ff3c3c;      /* Rot für Überschrift */
    font-weight: bold;
    cursor: pointer;
    font-size: 1.1rem;
    text-align: center;  /* Titel zentrieren */
    width: 100%;         /* Volle Breite für Zentrierung */
    display: flex;       /* Flexbox für bessere Ausrichtung */
    align-items: center; /* Vertikal zentrieren */
    justify-content: center; /* Horizontal zentrieren */
    position: relative;  /* Für den Pfeil */
    padding-bottom: 8px; /* Platz für den Pfeil */
  }
  
  /* Pfeil-Indikator hinzufügen */
  .timeline-toggle::after {
    content: "▼";        /* Pfeil nach unten */
    color: #c22d25;      /* Grüne Farbe für den Pfeil */
    font-size: 0.9rem;
    margin-left: 8px;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
  }
  
  /* Pfeil dreht sich beim Öffnen */
  .timeline-content.open .timeline-toggle::after {
    transform: rotate(180deg); /* Pfeil nach oben */
    color: #ff9900;      /* Orange wenn geöffnet */
  }
  
  /* Hover-Effekt für den Pfeil */
  .timeline-toggle:hover::after {
    color: #00aaff;      /* Blau beim Hover */
    transform: scale(1.1); /* Leicht vergrößern */
  }
  
  .timeline-details {
    display: none;
    color: #fff;         /* Weißer Text beim Aufklappen */
    margin-top: 12px;    /* Abstand zum Titel */
    padding-top: 12px;   /* Innenabstand */
    border-top: 1px solid rgba(255, 60, 60, 0.2); /* Dezente Trennlinie */
    line-height: 1.6;    /* Bessere Lesbarkeit */
    font-size: 0.95rem;  /* Etwas kleinere Schrift für Inhalt */
  }
  .timeline-content.open .timeline-details {
    display: block;
    animation: fadeIn 0.4s ease-in-out; /* Einblendanimation */
  }
  
  /* Einblendanimation für den Inhalt */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  .timeline-center-date {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.38);
    color: #232b2b;
    border: 2.5px solid rgba(255,255,255,0.65);
    border-radius: 50%;
    padding: 0.7em 1.7em 0.7em 1.7em;
    font-size: 1.5rem;
    font-weight: bold;
    z-index: 100;
    min-width: 60px;
    box-shadow:
      0 8px 32px 0 rgba(0, 80, 180, 0.13),
      0 2px 8px 0 rgba(0,0,0,0.10),
      0 0 32px 8px rgba(255,255,255,0.12),
      inset 0 8px 24px 0 rgba(255,255,255,0.22);
    text-align: center;
    pointer-events: none;
    display: block;
    transition: color 0.3s, border 0.3s, top 0.3s, background 0.3s, left 0.3s;
    overflow: visible;
    filter: blur(0.2px);
    backdrop-filter: blur(2.5px) saturate(1.2);
    animation: bubble-shape 3.5s ease-in-out infinite alternate;
  }
  @keyframes bubble-shape {
    0% {
      border-radius: 50%;
      box-shadow:
        0 8px 32px 0 rgba(0, 80, 180, 0.13),
        0 2px 8px 0 rgba(0,0,0,0.10),
        0 0 32px 8px rgba(255,255,255,0.12),
        inset 0 8px 24px 0 rgba(255,255,255,0.22);
      transform: translateX(-50%) scale(1, 1);
    }
    25% {
      border-radius: 46% 54% 50% 50% / 54% 46% 50% 50%;
      box-shadow:
        0 14px 40px 0 rgba(0, 80, 180, 0.18),
        0 2px 12px 0 rgba(0,0,0,0.13),
        0 0 40px 14px rgba(255,255,255,0.18),
        inset 0 16px 32px 0 rgba(255,255,255,0.28);
      transform: translateX(-50%) scale(1.08, 0.93);
    }
    50% {
      border-radius: 54% 46% 50% 50% / 46% 54% 50% 50%;
      box-shadow:
        0 16px 48px 0 rgba(0, 80, 180, 0.20),
        0 2px 14px 0 rgba(0,0,0,0.15),
        0 0 48px 16px rgba(255,255,255,0.20),
        inset 0 18px 36px 0 rgba(255,255,255,0.30);
      transform: translateX(-50%) scale(0.93, 1.08);
    }
    75% {
      border-radius: 50% 50% 54% 46% / 50% 50% 46% 54%;
      box-shadow:
        0 12px 36px 0 rgba(0, 80, 180, 0.16),
        0 2px 10px 0 rgba(0,0,0,0.12),
        0 0 36px 12px rgba(255,255,255,0.16),
        inset 0 12px 28px 0 rgba(255,255,255,0.24);
      transform: translateX(-50%) scale(1.05, 0.95);
    }
    100% {
      border-radius: 50%;
      box-shadow:
        0 8px 32px 0 rgba(0, 80, 180, 0.13),
        0 2px 8px 0 rgba(0,0,0,0.10),
        0 0 32px 8px rgba(255,255,255,0.12),
        inset 0 8px 24px 0 rgba(255,255,255,0.22);
      transform: translateX(-50%) scale(1, 1);
    }
  }
  
  .timeline-center-date.has-entry {
    color: #14d0ff;
    border-color: #14d0ff;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  
  }
  .timeline-center-date.no-entry {
    color: #b0ffb0;
    border-color: #555;
  }
  .bubble-pop {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.22);
    border-radius: 50%;
    pointer-events: none;
    z-index: 101;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    animation: bubble-pop-move-up 2.2s cubic-bezier(.4,1.6,.6,1) forwards;
    opacity: 0;
  }
  .bubble-pop[data-direction="down"] {
    animation: bubble-pop-move-down 2.2s cubic-bezier(.4,1.6,.6,1) forwards;
  }
  @keyframes bubble-pop-move-up {
    0% {
      opacity: 0;
      transform: translateX(-50%) scale(1) translateY(0);
    }
    20% {
      opacity: 0.7;
      transform: translateX(-50%) scale(1.05) translateY(-10px);
    }
    80% {
      opacity: 0.5;
      transform: translateX(-50%) scale(1.1) translateY(-80px);
    }
    100% {
      opacity: 0;
      transform: translateX(-50%) scale(0.7) translateY(-140px);
    }
  }
  @keyframes bubble-pop-move-down {
    0% {
      opacity: 0;
      transform: translateX(-50%) scale(1) translateY(0);
    }
    20% {
      opacity: 0.7;
      transform: translateX(-50%) scale(1.05) translateY(10px);
    }
    80% {
      opacity: 0.5;
      transform: translateX(-50%) scale(1.1) translateY(80px);
    }
    100% {
      opacity: 0;
      transform: translateX(-50%) scale(0.7) translateY(140px);
    }
  }
  
  
  /* MOBILE TIMELINE */
  @media (max-width: 768px) {
    .timeline {
      max-width: 100%;
      margin: 2rem 1rem;
    }
  
    .timeline-row {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin-bottom: 1.5rem;
    }
  
    .timeline-col {
      width: 100%;
      justify-content: center !important;
      margin-bottom: 1rem;
    }
  
    .timeline-col.center {
      pointer-events: none;
    }
  
    .timeline-content {
      max-width: 90%;
      min-width: auto;
      width: 100%;
      padding: 1rem;
      border-radius: 14px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.25);
    }
  
    .timeline-toggle {
      font-size: 1rem;
      padding-bottom: 6px;
    }
  
    .timeline-toggle::after {
      font-size: 0.85rem;
      margin-left: 5px;
    }
  
    .timeline-details {
      font-size: 0.9rem;
      margin-top: 10px;
      padding-top: 10px;
    }
  
    .timeline-center-date {
          position: fixed;
          top: 0;               /* Oben am Bildschirm */
          left: 50%;  
      transform: translateX(-50%);
      font-size: 1.2rem;
      padding: 0.5em 1.2em;
      min-width: 50px;
  
    }
  
    .bubble-pop {
      left: 50%;
      transform: translateX(-50%);
      width: 25px;
      height: 25px;
    }
  
  }