#about-page {
  padding: 6rem 0;
}

#about-page .about-intro {
  display: flow-root;
}

#about-page .about-intro-copy {
  min-width: 0;
}

#about-page .section-intro {
  max-width: none;
}

#about-page .about-intro-image {
  float: left;
  display: block;
  width: 36%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
  object-fit: contain;
  object-position: center;
  margin: 0.25rem 1.5rem 1rem 0;
}

/* ==========================
   Layout
========================== */

.about-tabs-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}


/* ==========================
   Tabs links
========================== */

.about-tabs {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    position: sticky;
    top: 2rem;
}


/* kein Container */
.about-tab {
    background: transparent;
    border: none;
    padding: .2rem 0 .2rem 1.4rem;
    text-align: left;
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
}


/* dezente Linie links */
.about-tab::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 3px;
    height: 0;
    background:
    var(--accent);
    border-radius: 999px;
    transform:
    translateY(-50%);
    transition:
    height .25s ease;
}



/* Hover */

.about-tab:hover {
    color:
    var(--text);

}

/* Aktiver Tab */

.about-tab.active {
    color:
    var(--text);
    font-weight:
    600;

}


.about-tab.active::before {
    height:
    70%;

}



/* ==========================
   Panels
========================== */

.about-panel {
    display:
    none;

}


.about-panel.active {
    display:
    block;

}



/* ==========================
   Mobile
========================== */

@media (width <=800px) {
.about-tabs-layout {
    grid-template-columns:
    1fr;
    gap:
    2rem;

}


.about-tabs {
    flex-flow:
    row wrap;
    overflow:
    visible;
    gap:
    1rem;

}


.about-tab {
    white-space:
    normal;
    padding-left:
    0;
    padding-bottom:
    .5rem;

}


.about-tab::before {
    top:
    auto;
    bottom:
    0;
    left:
    0;
    width:
    100%;
    height:
    2px;
    transform:
    none;

}


.about-tab.active::before {
    height:
    2px;

}

}

.about-panel h2 {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

/* Timeline */

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 2px;
  background: rgb(111 143 91 / 25%);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 1.25rem;
  align-items: start;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent, #6f8f5b);
  position: relative;
  z-index: 2;
  margin-top: 0.35rem;
}

.timeline-content strong {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  color: var(--text, #1f2a24);
}

.timeline-content p {
  margin: 0;
  color: var(--muted, #66736b);
  line-height: 1.6;
}

/* Listen */

.about-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.about-list li {
  position: relative;
  padding-left: 1.6rem;
  line-height: 1.6;
}

.about-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent, #6f8f5b);
}

/* Mobile */

@media (width <= 630px) {
  #about-page .about-intro-image {
    width: 50%;
    margin-right: 1rem;
    margin-bottom: 0.75rem;
  }
}

@media (width >= 1024px) {
  #about-page .about-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
  }

  #about-page .about-intro-copy {
    grid-column: 1;
    grid-row: 1;
  }

  #about-page .about-intro-image {
    float: none;
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (width <= 800px) {
  #about-page {
    padding: 4rem 0;
  }

  .about-tabs-layout {
    grid-template-columns: 1fr;
  }

  .about-tabs {
    position: static;
    flex-flow: row wrap;
    overflow-x: visible;
    padding-bottom: 0.5rem;
  }

  .about-tab {
    white-space: normal;
    min-width: auto;
  }

  .about-tab:hover,
  .about-tab.active {
    transform: none;
  }
}

