/* CSS for the personal website */ 
  :root {
    --primary: #4a90e2;
    --secondary: #e0ecf8;
    --accent: #2d3e50;
    --text-muted: #6c757d;
    --light-bg: #f9fafb;
    --card-bg: #ffffff;
  }
  
  body {
    font-family: 'Segoe UI', sans-serif;
    background-color: var(--light-bg);
    color: var(--accent);
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  /* Navbar */
  .navbar {
    background-color: var(--primary) !important;
    box-shadow: none !important;
    border-bottom: none !important;
  }
  
  .navbar .nav-link,
  .navbar .navbar-brand {
    color: white !important;
  }
  
  .navbar .nav-link:hover,
  .navbar .nav-link.active {
    color: var(--secondary) !important;
    text-decoration: underline;
  }
  
  @media (max-width: 410px) {
    .navbar-nav .nav-link {
      font-size: 0.8rem;
      padding: 0.2rem 0.4rem;
    }
  }
  

  @media (max-width: 767.98px) {
    .navbar-nav {
      flex-direction: row !important;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.75rem;
    }
  }
  
  /* Hero */
  .hero {
    background-color: var(--primary);
    padding: 2rem 0 2.5rem;
    color: white;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
  }
  
  .hero p.lead {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
  }
  
  .hero .btn {
    padding: 0.5rem 1rem;
    font-size: 1rem;
    background-color: white;
    color: var(--primary);
    border-color: white;
  }
  
  .hero .btn:hover {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    border-color: white !important;
  }
  
  
  /* Profile Picture */
  .profile-pic {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  /* Card & Sections */
  .card {
    border-radius: 10px;
    background-color: var(--card-bg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  }
  
  .card-body h2,
  .card-body h3 {
    font-weight: 600;
    color: var(--accent);
  }
  
  h2.card-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  /* tab content */
  #pubTab {
    margin-bottom: 0 !important;
  }
  
  .tab-content {
    margin-top: 0.25rem;
  }
  
  
  /* Timeline Items */
  .timeline-item {
    padding-top: 3rem;
    border-top: 1px solid #ddd;
    margin-top: 3rem;
  }

  .timeline-item:first-child {
    padding-top: 1.0rem;
    margin-top: 1.0rem;
    border-top: none;
  }
  
  .timeline-label {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    margin-left: 1rem;
  }

  .timeline-item .card-body.bg-light {
    border: none !important;
    box-shadow: none !important;
  }
  

  
  /* Project Image */
  .project-img-main {
    width: 100%;
    max-width: 150px;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 3px;
    background-color: #fff;
    display: block;
    margin: 0 auto 1rem auto;
  }
  
  .project-img-extra {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin: 0 auto 1rem auto;
  }
  

  /* Textspalte Abstand */


  .publication-textbox {
    margin-top: 2rem; /* Abstand nach oben */
    border-radius: 0.5rem;
  }
  
  .publication-details {
    display: flex;
    justify-content: center;
    padding-right: 2rem;
  }
  
  .publication-details > .inner {
    max-width: 640px;
    width: 100%;
    margin-top: 1rem;
    padding: 1rem 0;
  }
  
  
  
  
  /* Abstract */
  .timeline-item .col-md-8 p {
    text-align: justify;
  }
  
  /* Buttons */
  .btn-primary,
  .btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
  }
  
  .btn-primary:hover,
  .btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
  }
  
  .btn-outline-secondary {
    border-color: var(--accent);
    color: var(--accent);
  }
  
  .btn-outline-secondary:hover {
    background-color: var(--accent);
    color: #fff;
  }
  
  /* Accordion */
  .accordion-button.bg-dark {
    background-color: var(--primary);
    color: #fff;
    border-radius: 5px;
  }
  
  .accordion-button.bg-dark:not(.collapsed) {
    background-color: var(--accent);
  }
  
  .accordion-button::after {
    filter: brightness(0) invert(1);
  }
  
/* Timeline Entry (Talks + Experience) */
.timeline-entry {
  border-left: 3px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.timeline-entry .title {
  color: #2c3e50;
  font-weight: 600;
}

.timeline-entry .context {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.collapse {
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  background-color: var(--light-bg);
  border-bottom: 2px solid var(--primary);
  font-weight: 600;
}

.timeline-item .col-md-8 .d-flex {
  margin-top: 0.75rem;
}

.toggle-btn {
  font-weight: 500;
  background-color: var(--secondary);
  color: var(--accent);
  border: 1px solid var(--primary);
}

.toggle-btn:hover {
  background-color: var(--primary);
  color: white;
}


.skill-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.skill-name {
  max-width: 70%;
  font-size: 0.95rem;
}

.skill-dots {
  display: flex; /* <<< FEHLTE */
  gap: 0.25rem;
}


.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
}

.dot.filled {
  background-color: var(--primary);
}

.category-header {
  cursor: pointer;
  padding: 0.5rem 0;
  border-top: 1px solid #eee;
}

.category-header:hover {
  background-color: #f8f9fa;
}

.collapse-icon {
  font-size: 1rem;
  transition: transform 0.3s ease;
  display: inline-block;
  width: 1em;
  color: #4d8eff; /* gleiche Farbe wie deine .dot.filled */
  transition: transform 0.2s ease;
}

.collapse-icon.rotate {
  transform: rotate(90deg);
}

.publication-header {
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
}

.publication-header:hover {
  background-color: #f8f9fa;
}
