.lfs-tech-card {
  margin: 18px 0 26px;
}

.lfs-tech-card__button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid #d9e2f2;
  border-left: 5px solid #2d53a0;
  border-radius: 12px;
  background: linear-gradient(90deg, #f4f8ff 0%, #ffffff 100%);
  box-shadow: 0 10px 26px rgba(45, 83, 160, 0.12);
  cursor: pointer;
  text-align: left;
}

.lfs-tech-card__button:hover {
  border-color: #c7d6ee;
  box-shadow: 0 14px 32px rgba(45, 83, 160, 0.18);
}

.lfs-tech-card__icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 50%;
  background: #2d53a0;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.lfs-tech-card__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.lfs-tech-card__content strong {
  color: #172033;
  font-size: 16px;
  line-height: 1.2;
}

.lfs-tech-card__content span {
  margin-top: 3px;
  color: #5b6b82;
  font-size: 13px;
}

.lfs-tech-card__action {
  margin-left: auto;
  padding: 10px 18px;
  border-radius: 9px;
  background: #2d53a0;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.lfs-tech-card__button:hover .lfs-tech-card__action {
  background: #eb6f22;
}

body.lfs-tech-modal-open {
  overflow: hidden;
}

.lfs-tech-modal {
  display: none;
}

.lfs-tech-modal.is-active {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: block;
}

.lfs-tech-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 20, 0.72);
  backdrop-filter: blur(4px);
}

.lfs-tech-modal__dialog {
  position: absolute;
  width: min(1500px, calc(100vw - 32px));
  height: min(880px, calc(100dvh - 32px));
  max-width: none;
  max-height: none;
  inset: 16px;
  margin: auto;
  background: #ffffff;
  border-radius: clamp(14px, 1.4vw, 22px);
  overflow: hidden;
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(255, 255, 255, 0.22);
}

.lfs-tech-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #2d53a0;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(45, 83, 160, 0.32);
}

.lfs-tech-modal__close:hover {
  background: #eb6f22;
}

.lfs-tech-modal__body {
  height: 100%;
  padding: clamp(16px, 2.2vw, 34px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Header */

.lfs-tech-table-head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding-right: 56px;
}

.lfs-tech-table-head h2 {
  margin: 0;
  color: #202938;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.15;
  font-weight: 850;
  letter-spacing: -0.03em;
}

.lfs-tech-table-head__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #2d53a0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.lfs-tech-table-head__link::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.lfs-tech-table-head__link:hover {
  background: #eb6f22;
}

/* Suche */

.lfs-tech-tools {
  flex: 0 0 auto;
  margin-bottom: 14px;
}

.lfs-tech-search {
  display: block;
  position: relative;
  max-width: 520px;
}

.lfs-tech-search span {
  display: block;
  margin-bottom: 7px;
  color: #526174;
  font-size: 13px;
  font-weight: 700;
}

.lfs-tech-search input {
  width: 100%;
  height: 44px;
  padding: 0 44px 0 15px;
  border: 1px solid #d8e0ec;
  border-radius: 12px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(45, 83, 160, 0.35), rgba(235, 111, 34, 0.35)) border-box;
  color: #172033;
  font-size: 15px;
  outline: none;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.06);
}

.lfs-tech-search input::placeholder {
  color: #8a96a8;
}

.lfs-tech-search::after {
  content: "⌕";
  position: absolute;
  right: 15px;
  bottom: 9px;
  color: #2d53a0;
  font-size: 20px;
  font-weight: 800;
  pointer-events: none;
}

.lfs-tech-search input:focus {
  border-color: #2d53a0;
  box-shadow:
    0 0 0 4px rgba(45, 83, 160, 0.14),
    0 8px 22px rgba(23, 32, 51, 0.08);
}

/* Tabellenbereich */

.lfs-tech-table-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.lfs-tech-table-scroll {
  height: 100%;
  width: 100%;
  overflow: auto;
  border: 1px solid #dce3ee;
  border-radius: 16px;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 36px rgba(23, 32, 51, 0.08);
  scrollbar-width: thin;
  scrollbar-color: #2d53a0 #e8edf5;
}

/* Scrollbar Chrome / Edge / Safari */

.lfs-tech-table-scroll::-webkit-scrollbar {
  height: 14px;
  width: 14px;
}

.lfs-tech-table-scroll::-webkit-scrollbar-track {
  background: #e8edf5;
  border-radius: 999px;
}

.lfs-tech-table-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #2d53a0, #eb6f22);
  border: 3px solid #e8edf5;
  border-radius: 999px;
}

.lfs-tech-table-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #1f3f82, #d95f18);
}

/* Scroll-Pfeile */

.lfs-tech-scroll-btn {
  position: absolute;
  top: 50%;
  z-index: 15;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #2d53a0;
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  transform: translateY(-50%);
  box-shadow: 0 12px 28px rgba(45, 83, 160, 0.34);
  display: none;
  align-items: center;
  justify-content: center;
}

.lfs-tech-scroll-btn--left {
  left: 10px;
}

.lfs-tech-scroll-btn--right {
  right: 10px;
}

.lfs-tech-table-wrap.has-horizontal-scroll .lfs-tech-scroll-btn {
  display: flex;
}

.lfs-tech-scroll-btn:hover {
  background: #eb6f22;
  box-shadow: 0 12px 28px rgba(235, 111, 34, 0.34);
}

.lfs-tech-scroll-btn:disabled {
  opacity: 0.28;
  cursor: default;
  pointer-events: none;
}

/* Tabelle */

.lfs-tech-table {
  min-width: max-content;
  display: grid;
  grid-template-columns:
    minmax(240px, 0.9fr)
    repeat(var(--lfs-tech-cols), minmax(180px, 1fr));
  background: #ffffff;
}

.lfs-tech-table__cell,
.lfs-tech-table__group {
  min-height: 54px;
  padding: 14px 18px;
  border-right: 1px solid #e2e8f1;
  border-bottom: 1px solid #e2e8f1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #263242;
  font-size: 14.5px;
  line-height: 1.38;
  text-align: center;
  background: #ffffff;
}

.lfs-tech-table__cell {
  transition:
    background-color 0.16s ease,
    color 0.16s ease,
    box-shadow 0.16s ease;
}

.lfs-tech-table__cell--head {
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: #172033;
  font-weight: 850;
  border-bottom: 2px solid #cfd9e8;
  box-shadow: 0 2px 0 rgba(23, 32, 51, 0.04);
}

.lfs-tech-table__cell--feature {
  position: sticky;
  left: 0;
  z-index: 4;
  justify-content: flex-start;
  text-align: left;
  background: #f8fafd;
  color: #39485a;
  font-weight: 800;
  box-shadow: 2px 0 0 rgba(23, 32, 51, 0.04);
}

.lfs-tech-table__cell--head.lfs-tech-table__cell--feature {
  z-index: 7;
  background: linear-gradient(180deg, #eef4ff 0%, #e4ecfa 100%);
  color: #172033;
}

.lfs-tech-table__group {
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 44px;
  background: #f3f5f8;
  color: #172033;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.lfs-tech-table__cell.is-even-row {
  background: #fbfcff;
}

.lfs-tech-table__cell.is-match {
  background: #fff3e9;
  color: #172033;
  box-shadow: inset 0 0 0 2px rgba(235, 111, 34, 0.24);
}

.lfs-tech-table__cell.is-hidden-by-search {
  display: none;
}

.lfs-tech-no-results {
  flex: 0 0 auto;
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid #ffe0c7;
  border-radius: 12px;
  background: #fff7f0;
  color: #8a3f08;
  font-weight: 700;
}

/* Tablet */

@media (max-width: 991px) {
  .lfs-tech-modal__dialog {
    width: calc(100vw - 20px);
    height: calc(100dvh - 20px);
    inset: 10px;
  }

  .lfs-tech-table-head {
    gap: 14px;
    padding-right: 54px;
  }

  .lfs-tech-table-head h2 {
    font-size: clamp(22px, 4vw, 30px);
  }

  .lfs-tech-table {
    grid-template-columns:
      minmax(200px, 0.9fr)
      repeat(var(--lfs-tech-cols), minmax(155px, 1fr));
  }

  .lfs-tech-scroll-btn {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
}

/* Mobile */

@media (max-width: 575px) {
  .lfs-tech-card__button {
    padding: 13px 15px;
    border-radius: 10px;
  }

  .lfs-tech-card__content span {
    display: none;
  }

  .lfs-tech-card__action {
    margin-left: auto;
    padding: 0;
    background: transparent;
    color: #2d53a0;
    font-size: 0;
  }

  .lfs-tech-card__action::before {
    content: "›";
    font-size: 28px;
    line-height: 1;
  }

  .lfs-tech-modal__dialog {
    width: 100vw;
    height: 100dvh;
    inset: 0;
    border-radius: 0;
  }

  .lfs-tech-modal__body {
    padding: 16px 12px 12px;
  }

  .lfs-tech-modal__close {
    top: 10px;
    right: 10px;
    width: 38px;
    height: 38px;
  }

  .lfs-tech-table-head {
    display: block;
    margin-bottom: 14px;
    padding-right: 48px;
  }

  .lfs-tech-table-head h2 {
    font-size: 22px;
  }

  .lfs-tech-table-head__link {
    display: none;
  }

  .lfs-tech-search {
    max-width: none;
  }

  .lfs-tech-search input {
    height: 42px;
    font-size: 14px;
  }

  .lfs-tech-table-scroll {
    border-radius: 13px;
  }

  .lfs-tech-table {
    grid-template-columns:
      minmax(155px, 0.9fr)
      repeat(var(--lfs-tech-cols), minmax(128px, 1fr));
  }

  .lfs-tech-table__cell,
  .lfs-tech-table__group {
    min-height: 48px;
    padding: 10px 12px;
    font-size: 12.8px;
  }

  .lfs-tech-scroll-btn {
    width: 38px;
    height: 38px;
    font-size: 28px;
  }

  .lfs-tech-scroll-btn--left {
    left: 6px;
  }

  .lfs-tech-scroll-btn--right {
    right: 6px;
  }
}

/* Sehr kleine Smartphones */

@media (max-width: 380px) {
  .lfs-tech-table {
    grid-template-columns:
      minmax(140px, 0.9fr)
      repeat(var(--lfs-tech-cols), minmax(118px, 1fr));
  }

  .lfs-tech-table__cell,
  .lfs-tech-table__group {
    font-size: 12px;
    padding: 9px 10px;
  }
}