/* Website-Vergleich (vergleich.html) */
.duell-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  align-items: end;
}

.duell-field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.duell-field input {
  width: 100%;
  font: inherit;
  font-size: 1.05rem;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
}

.duell-field input:focus {
  outline: none;
  border-color: var(--petrol);
}

.duell-status {
  list-style: none;
  padding: 0;
  margin: 0;
}

.duell-status li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  overflow-wrap: anywhere;
}

.duell-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px 24px;
  align-items: center;
  text-align: center;
}

.duell-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.duell-side h2 {
  font-size: 1.25rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.duell-side p {
  margin: 0;
}

.duell-gegen {
  color: var(--muted);
  font-weight: 600;
}

.duell-scroll {
  overflow-x: auto;
}

.duell-table {
  width: 100%;
  border-collapse: collapse;
}

.duell-table th,
.duell-table td {
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.duell-table thead th {
  font-size: 0.9rem;
  color: var(--muted);
}

.duell-table td,
.duell-table thead th:not(:first-child) {
  width: 7.5rem;
  text-align: center;
}

.duell-table td .dot {
  display: inline-block;
  vertical-align: middle;
}

.duell-table tbody th {
  font-weight: 500;
}

.duell-table .duell-gruppe {
  padding-top: 22px;
  font-weight: 700;
  color: var(--navy);
  border-bottom-color: var(--navy);
}

@media (max-width: 600px) {
  .duell-head {
    grid-template-columns: 1fr;
  }

  .duell-table {
    table-layout: fixed;
  }

  .duell-table th,
  .duell-table td {
    padding: 10px 4px;
    overflow-wrap: anywhere;
  }

  .duell-table td,
  .duell-table thead th:not(:first-child) {
    width: 4.4rem;
  }

  .duell-table thead th {
    font-size: 0.8rem;
  }
}
