.timeline-section {
  background: #0a0a0a;
  padding: 100px 40px;
  min-height: 100vh;
  clear: both;
  display: block;
}

.timeline-container {
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e5e5e5;
  text-align: center;
  margin-bottom: 80px;
  letter-spacing: -0.02em;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #2a2a2a;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
}

.timeline-left {
  justify-content: flex-end;
  padding-right: calc(50% + 40px);
}

.timeline-right {
  justify-content: flex-start;
  padding-left: calc(50% + 40px);
}

.timeline-content-wrapper {
  position: relative;
  max-width: 500px;
  width: 100%;
}

.timeline-content {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  display: block;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  width: 16px;
  height: 16px;
  background: #e5e5e5;
  border: 3px solid #0a0a0a;
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  background: #ffffff;
  width: 20px;
  height: 20px;
  box-shadow: 0 0 0 4px rgba(229, 229, 229, 0.2);
}

.timeline-item:hover .timeline-content {
  background: #1f1f1f;
  border-color: #404040;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.timeline-item:hover {
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

.project-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #e5e5e5;
  margin-bottom: 16px;
}

.project-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #b5b5b5;
  margin-bottom: 20px;
}

.project-highlights {
  list-style: none;
  margin-bottom: 24px;
}

.project-highlights li {
  font-size: 0.95rem;
  color: #999;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.project-highlights li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #666;
  font-size: 1.2rem;
}

.project-technologies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  background: #252525;
  border: 1px solid #2a2a2a;
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 0.85rem;
  color: #d5d5d5;
  transition: all 0.2s ease;
}

.tech-badge:hover {
  background: #2a2a2a;
  border-color: #404040;
}

.timeline-content::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40px;
  height: 2px;
  background: #2a2a2a;
  transform: translateY(-50%);
}

.timeline-left .timeline-content::after {
  right: -40px;
}

.timeline-right .timeline-content::after {
  left: -40px;
}

.external-project-link {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s ease;
}

.external-project-link:hover {
  transform: scale(1.1);
}

.external-project-link .social-icon {
  width: 20px;
  height: 20px;
  color: #d5d5d5;
}

.external-project-link:hover .social-icon {
  color: #ffffff;
}

.timeline-content,
.timeline-content p,
.timeline-content li {
  color: #e5e5e5; /* deine normale Textfarbe */
  text-decoration: none; /* keine Unterstreichung */
}

/* Responsive Design */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }

  .timeline-left,
  .timeline-right {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-heading {
    font-size: 2rem;
    margin-bottom: 60px;
  }

  .timeline-content-wrapper {
    max-width: 100%;
  }

  .timeline-content::after {
    left: -40px;
    right: auto;
  }
}

@media (max-width: 480px) {
  .timeline-section {
    padding: 60px 20px;
  }

  .timeline-content {
    padding: 24px;
  }

  .project-year {
    font-size: 1.25rem;
  }

  .project-title {
    font-size: 1.25rem;
  }
}