// Team-Seite Styling für satware® AI Agenten

// Überschriften in Großbuchstaben und Assistant Bold
h1, h2, h3, h4, h5, h6 {
  text-transform: uppercase !important;
  font-family: 'Assistant', sans-serif !important;
  font-weight: 700 !important;

}


// Team Header
.team-header {
  text-align: left;
  max-width: 800px;
  margin: 0 auto 3rem auto;

  h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--md-primary-fg-color);
    text-align: left;
    &:after{
      content: none;
    }
  }

  p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-align: left;
  }
}

// Team Grid Layout
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

// Einzelner Agent
.team-agent {
  background-color: rgba(82, 19, 112, 0.03);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  // Styling für nicht-klickbare Agenten
  .team-agent-nolink {
    cursor: default;
    text-decoration: none;
    color: inherit;
    // Removed pointer-events: none to allow hover effects on images
  }

  .team-agent-image {
    height: 300px;
    overflow: hidden;

    img {
      width: 80%;
      height: 100%;
      object-fit: cover;
      object-position: top;// Besserer Bildausschnitt für Gesichter
      transition: transform 0.5s ease;

      &:hover {
        transform: scale(1.05);
      }
    }
  }

  .team-agent-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;

    h3 {
      margin-top: 1rem;
      font-size: 2.2rem;
      line-height: 2.3rem;
      color: #fff;
      margin-bottom: 0.1rem; // Verringerter Abstand
      text-align: left;



      .agent-surname {
        //opacity: 0.8;
      }
    }

    .team-agent-position {
      //font-size: 0.7rem;
      font-weight: 700;
      opacity: .9;
      color: #fff;
      margin-bottom: 0.1rem;
      text-align: left;
      margin-top: 0.1rem;
      min-height: 2rem;

      text-transform: none;
    }

    .team-agent-description {
      //font-size: 0.8rem;
      //line-height: 1.4;
      text-align: left;
      margin-bottom: 0.75rem;
    }
  }
}

.team-agent-position{
  font-weight: bold !important;
  min-height: 4rem;
}
// Expertise-Bereich
.team-expertise {

  h2 {
    color: var(--md-primary-fg-color);
    margin-top: 0;
    margin-bottom: 1.5rem;
    text-align: left;
  }


}

// Kontakt-Bereich
.team-contact {
  margin-top: 4rem;
  text-align: left;

  h2 {
    color: var(--md-primary-fg-color);
    margin-bottom: 1rem;
    text-align: left;
  }

  p {
    max-width: 800px;
    margin: 0 0 1.5rem 0;
    text-align: left;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;

    .contact-item {
      margin-bottom: 0.5rem;
      text-align: left;

      a {
        color: var(--md-primary-fg-color);
      }
    }
  }

  .social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;

    a {
      color: var(--md-primary-fg-color);
      text-decoration: none;

      &:hover {
        text-decoration: underline;
      }
    }
  }
}

// Responsives Verhalten
@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .team-header {
    h2 {
      font-size: 1.6rem;
    }

    p {
      font-size: 1rem;
    }
  }

  .expertise-list {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
  }

  .team-agent {
    .team-agent-image {
      height: 220px;
    }

    .team-agent-info {
      h3 {
        font-size: 1.2rem;
      }

      .team-agent-description {
        //font-size: 0.9rem;
      }
    }
  }
}
