/* Vergleichsseiten „Mesh APP vs. …“ (inc/vergleich.php), 2026-10-30 */

.vgl .section__header { max-width: 820px; }

.vgl-table {
  max-width: 980px;
  margin: 0 auto;
  border: 1px solid #E4E4E7;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}

.vgl-row {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  border-top: 1px solid #F0F0F2;
}

.vgl-row > span {
  padding: 14px 20px;
  font-size: 15px;
  line-height: 1.45;
}

.vgl-row--head {
  border-top: 0;
  background: #0A0A0A;
  color: #fff;
  font-weight: 600;
}

.vgl-row--head .vgl-col--mesh { color: #8DB8FF; }

.vgl-crit { color: #18181B; font-weight: 500; }

.vgl-col--mesh { background: rgba(24, 102, 221, 0.05); }
.vgl-row--head .vgl-col--mesh { background: transparent; }

.vgl-group__title {
  padding: 18px 20px 8px;
  border-top: 1px solid #E4E4E7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #71717B;
  background: #FAFAFA;
}

.vgl-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.vgl-mark::before {
  content: "";
  flex: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 12px;
}

.vgl-mark.is-yes { color: #15803D; }
.vgl-mark.is-yes::before {
  background-color: #DCFCE7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-5' fill='none' stroke='%2315803D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.vgl-mark.is-no { color: #71717B; }
.vgl-mark.is-no::before {
  background-color: #F4F4F5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3.5 3.5l5 5m0-5l-5 5' fill='none' stroke='%2371717B' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
}

.vgl-mark.is-part { color: #B45309; }
.vgl-mark.is-part::before {
  background-color: #FEF3C7;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6' fill='none' stroke='%23B45309' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.vgl-text { color: #18181B; }

.vgl-note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #71717B;
}

/* Wann passt was */
.vgl-fit {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 980px;
  margin: 32px auto 0;
}

.vgl-fit__card {
  padding: 28px;
  border: 1px solid #E4E4E7;
  border-radius: 20px;
  background: #FAFAFA;
}

.vgl-fit__card--mesh {
  border-color: rgba(24, 102, 221, 0.35);
  background: rgba(24, 102, 221, 0.05);
}

.vgl-fit__title {
  margin: 0 0 14px;
  font-size: 20px;
  line-height: 1.3;
}

.vgl-fit__list {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.55;
  color: #3F3F46;
}

.vgl-fit__list li + li { margin-top: 8px; }

.vgl-sources {
  max-width: 980px;
  margin: 24px auto 0;
  font-size: 13px;
  line-height: 1.6;
  color: #71717B;
}

.vgl-sources a { color: inherit; text-decoration: underline; }

@media (max-width: 720px) {
  .vgl-table { border-radius: 16px; }
  .vgl-row--head { display: none; }
  .vgl-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .vgl-row > span { padding: 10px 14px; font-size: 14px; }
  .vgl-crit {
    grid-column: 1 / -1;
    padding-bottom: 2px !important;
    font-weight: 600;
  }
  .vgl-col::before {
    content: attr(data-col);
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #71717B;
  }
  .vgl-col--mesh { background: transparent; }
  .vgl-col--mesh::before { color: #1866DD; }
  .vgl-group__title { padding: 14px 14px 6px; }
  .vgl-fit { grid-template-columns: 1fr; }
  .vgl-fit__card { padding: 22px; }
}
