/* Gemeinsame Bausteine der Vertikal-Seiten.
 *
 * Bewusst eine eigene, kleine Datei statt Inline-Styles: die drei
 * Gewinnerseiten laden je ein eigenes Landingpage-Stylesheet, und die neuen
 * Vertikalen sollen dieselben Bausteine benutzen koennen, ohne dass die Regeln
 * dreimal gepflegt werden muessen.
 */

/* Answer-First-Absatz direkt unter der H1.
 * Er ist der Chunk, den Retrieval-Systeme zuerst greifen, deshalb steht er
 * vor allem anderen und traegt die Marke im Text. */
.answer-first {
  max-width: 72ch;
  margin: 18px 0 26px;
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
  font-weight: 600;
  color: #0e0048;
}

/* Vergleichstabelle. Als echte Tabelle mit Kopfzeile, nicht als Bild und
 * nicht als Fliesstext, weil das das extrahierbarste Format ist. */
.vgl-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 26px 0 34px;
  -webkit-overflow-scrolling: touch;
}
.vgl-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
  background: #fff;
}
.vgl-table caption {
  caption-side: top;
  text-align: left;
  font-size: 14px;
  color: rgba(14, 0, 72, 0.7);
  padding-bottom: 10px;
}
.vgl-table th,
.vgl-table td {
  border: 1px solid rgba(14, 0, 72, 0.14);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.vgl-table thead th {
  background: #f4f5fb;
  font-weight: 600;
  color: #0e0048;
}
.vgl-table tbody th {
  background: #fafaff;
  font-weight: 600;
  white-space: nowrap;
}
.vgl-table tbody tr:nth-child(even) td {
  background: #fcfcff;
}

/* Autorenzeile mit sichtbarem Aktualisierungsdatum. */
.beitrag-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 30px 0 10px;
  padding: 14px 16px;
  border: 1px solid rgba(14, 0, 72, 0.12);
  border-radius: 10px;
  background: #fafaff;
  font-size: 14px;
  color: rgba(14, 0, 72, 0.78);
}
.beitrag-meta a {
  color: #1e3ecd;
  text-decoration: none;
}
.beitrag-meta a:hover {
  text-decoration: underline;
}
.beitrag-meta .beitrag-meta-label {
  font-weight: 600;
  color: #0e0048;
}

@media (max-width: 720px) {
  .answer-first { font-size: 16px; }
  .vgl-table { font-size: 14px; }
  .vgl-table th, .vgl-table td { padding: 8px 10px; }
}

/* Anbietervergleich auf den Branchenseiten (Stand-Datum und Quellen in der Tabelle). */
.vgl-table a { color: #1e3ecd; text-decoration: none; }
.vgl-table a:hover { text-decoration: underline; }
.vgl-table--anbieter { min-width: 600px; }
.vgl-table-note {
  font-size: 14px;
  line-height: 1.45;
  color: rgba(14, 0, 72, 0.7);
  text-align: left;
  margin: 26px 0 0;
}
.vgl-table-wrap--anbieter { margin-top: 10px; }

/* Layout der kleinen Branchenseiten (article.artikel), angelehnt an die Blog-Artikelseiten:
 * Inhaltsbreite, Seitenrand, Abstand unter der festen Navigation, Typografie. Inhalt unverändert. */
article.artikel {
  box-sizing: border-box;
  max-width: 1280px;
  margin: 0 auto;
  padding: 96px 48px 80px;
  font-family: 'Inter', sans-serif;
}
article.artikel > * { max-width: 860px; }
article.artikel h1 {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #111827;
  margin: 0 0 20px;
  max-width: 720px;
}
article.artikel h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: #111827;
  margin: 48px 0 16px;
}
article.artikel h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #111827;
  margin: 28px 0 10px;
}
article.artikel p:not(.answer-first):not(.vgl-table-note) {
  font-size: 16px;
  line-height: 1.75;
  color: #6b7280;
  margin: 0 0 20px;
}
article.artikel strong { color: #111827; }
article.artikel a:not(.btn) { color: #1e3ecd; }
article.artikel ul, article.artikel ol { margin: 0 0 20px; padding-left: 0; list-style: none; }
article.artikel li {
  font-size: 15px;
  line-height: 1.65;
  color: #6b7280;
  padding: 6px 0 6px 22px;
  position: relative;
}
article.artikel ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1a5fd4;
  opacity: 0.6;
}
article.artikel .btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  margin: 0 8px 8px 0;
  border-radius: 10px;
  border: 1px solid #e3e5ee;
  font-size: 14px;
  font-weight: 600;
  color: #0e0048;
  text-decoration: none;
}
article.artikel .btn-primary { background: #0e0048; border-color: #0e0048; color: #fff; }
article.artikel .faq-item { padding: 4px 0; }
article.artikel .faq-item h3 { margin-top: 24px; }
@media (max-width: 768px) {
  article.artikel { padding: 76px 24px 56px; }
}
@media (max-width: 460px) {
  article.artikel { padding: 72px 16px 56px; }
}


/* Block "Verwandte Branchen und Ratgeber" auf Branchenseiten.
 * Übernimmt das bestehende Kartenraster "Weiterführende Seiten" aus dem Blog (blog/telfo-artikel.css). */
.vb-related { border-top: 1px solid #e5e7eb; padding: 56px 48px 80px; max-width: 1280px; margin: 0 auto; box-sizing: border-box; font-family: 'Inter', sans-serif; }
.vb-related-title { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9ca3af; margin: 0 0 28px; }
.vb-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e5e7eb; border: 1px solid #e5e7eb; border-radius: 14px; overflow: hidden; }
.vb-related-card { background: #ffffff; padding: 28px; color: inherit; text-decoration: none; transition: background 0.2s; display: flex; flex-direction: column; gap: 10px; }
.vb-related-card:hover { background: #fafafa; }
.vb-related-cat { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #1a5fd4; }
.vb-related-card h3 { font-size: 15px; font-weight: 600; letter-spacing: -0.015em; color: #111827; line-height: 1.35; margin: 0; }
.vb-related-card p { font-size: 13px; color: #6b7280; line-height: 1.55; flex: 1; margin: 0; }
@media (max-width: 1024px) { .vb-related-grid { grid-template-columns: 1fr; } }
@media (max-width: 768px) { .vb-related { padding: 40px 24px 56px; } }
@media (max-width: 460px) { .vb-related { padding-left: 16px; padding-right: 16px; } }
