/* Vorteile-Seite — eigenes Stylesheet, nur von benefits.html.j2 geladen. Baut auf den
   Landing-Bausteinen aus landing.css auf (Kicker, Abschnittsraster, Werkliste, Buttons);
   hier stehen nur der Vergleich, die drei Hauptvorteile und die Liste der Grenzen. */

.bn-head-actions { margin: 2rem 0 0; }

.bn-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* --- Vergleich: zwei Spalten wie zwei Akten nebeneinander --------------------------- */

/* Die rechte Spalte liegt auf Karton und trägt die Siegellinie: der einzige Akzent, wie
   überall auf der Website. Die linke bleibt auf dem Papier und gedämpft. */
.bn-compare {
  width: 100%;
  max-width: 58rem;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.bn-compare th,
.bn-compare td {
  padding: 1rem 1.2rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.bn-compare thead th {
  padding-block: 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom-color: var(--rule-strong);
}
.bn-compare thead th:last-child { color: var(--navy); border-top: 2px solid var(--seal); }
.bn-compare tbody th {
  width: 11rem;
  padding-left: 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 520;
  color: var(--ink);
}
.bn-compare td { color: var(--ink-soft); text-wrap: pretty; }
.bn-compare th:last-child,
.bn-compare td:last-child { background: var(--card); color: var(--ink); }

/* --- Die drei Hauptvorteile: Randnummer links, Text in Lesebreite ------------------- */

.bn-benefits { max-width: 46rem; border-top: 1px solid var(--rule); }
.bn-benefit {
  display: grid;
  grid-template-columns: 3.4rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 2rem;
  border-bottom: 1px solid var(--rule);
}
.bn-benefit .ld-point-no { padding-top: 0.55rem; }
.bn-benefit h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 1.7rem);
  font-weight: 520;
  line-height: 1.2;
  margin: 0 0 0.8rem;
  text-wrap: balance;
}
.bn-benefit p { margin: 0 0 0.9rem; text-wrap: pretty; }
.bn-benefit p:last-child { margin-bottom: 0; }

/* Belege: die Links, an denen sich die Aussage nachprüfen lässt. */
.bn-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.6rem;
  padding-top: 0.3rem;
  font-size: 0.92rem;
}

/* --- Werkliste mit mehr als einem Absatz je Punkt ------------------------------------ */

.bn-points .ld-point p + p { margin-top: 0.7rem; }

/* --- Grenzen und Fließtext ----------------------------------------------------------- */

.bn-limits { max-width: 44rem; margin: 0; border-top: 1px solid var(--rule); }
.bn-limits > div {
  padding: 1.1rem 0 1.2rem 1.3rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.bn-limits > div::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--seal);
}
.bn-limits dt { font-weight: 600; margin-bottom: 0.25rem; }
.bn-limits dd { margin: 0; color: var(--ink-soft); text-wrap: pretty; }

.bn-prose { max-width: 42rem; }
.bn-prose p { margin: 0 0 1rem; }
.bn-prose p:last-child { margin-bottom: 0; font-size: 0.95rem; }

/* Der Preissatz im Abschluss: kleiner als der Aufruf darüber, mit der
   Unternehmer-Beschränkung im selben Absatz. */
.ld-outro .bn-price { font-size: 0.9rem; margin-top: -1rem; }

@media (max-width: 40rem) {
  /* Drei Spalten passen nicht: jede Zeile wird ein Block, die beiden Zellen tragen ihre
     Spaltenüberschrift selbst. Die Kopfzeile bleibt für Screenreader im Baum. */
  .bn-compare,
  .bn-compare tbody,
  .bn-compare tr,
  .bn-compare th,
  .bn-compare td { display: block; }
  .bn-compare thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .bn-compare tbody tr { padding-block: 1.2rem; border-bottom: 1px solid var(--rule); }
  .bn-compare tbody tr:first-child { border-top: 1px solid var(--rule); }
  .bn-compare tbody th { width: auto; padding: 0 0 0.6rem; border: 0; }
  .bn-compare td { padding: 0.7rem 0.9rem; border: 0; }
  .bn-compare td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-soft);
  }
  .bn-compare td:last-child { border-left: 2px solid var(--seal); }
  .bn-compare td:last-child::before { color: var(--navy); }

  .bn-benefit { grid-template-columns: minmax(0, 1fr); gap: 0.4rem; }
  .bn-benefit .ld-point-no { padding-top: 0; }
}
