<style>
  /* Container für die Tabelle mit Scrollfunktion */
  .table-container {
    max-height: 750px; /* Höhe anpassen nach Bedarf */
    max-width: auto; /* Breite anpassen nach Bedarf */
    overflow: auto;
    border: 1px solid #ccc;
    position: relative;
  }

  table {
    border-collapse: collapse;
    width: 100%;
  }

  th {
    padding: 1px;
    color: white;
    border: 1px solid #ccc;
    background: green;
  }

  th a {
    color: yellow;
  }

  td {
    padding: 1px;
    border: 1px solid #ccc;
  }

  /* Fixiere den Header */
  th {
    position: sticky;
    top: 0;
    color: white;
    background: green;
    z-index: 2; /* Damit der Header über den Zellen bleibt */
  }

  th a {
    position: sticky;
    top: 0;
    color: yellow;
    background: green;
    z-index: 2; /* Damit der Header über den Zellen bleibt */
  }

  /* Fixiere die erste Spalte */
  td:first-child,
  th:first-child {
    position: sticky;
    left: 0;
    background: #green;
    z-index: 1; /* Damit die erste Spalte über den normalen Zellen bleibt */
  }

  /* Damit die fixierte Spalte über den Headern bleibt, falls nötig */
  th:first-child {
    z-index: 3;
  }
</style>

