/* SEO-Inhaltsseiten (/tarife/...), ergaenzt style.css. Generator: backend/scripts/build-seo-pages.js */

.seo-page .container { max-width: 1040px; }
.seo-page h1 { margin-bottom: 1rem; }
.seo-page h2 { font-size: 1.35rem; margin-top: 2.6rem; }
.seo-page section > p,
.seo-page .seo-lead { max-width: 46rem; }
.seo-lead { font-size: 1.08rem; color: var(--text); opacity: 0.9; }

.seo-crumbs {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.seo-crumbs a { color: var(--muted); }
.seo-crumbs span[aria-hidden] { margin: 0 0.35rem; opacity: 0.6; }

.seo-tariff {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.1rem;
  margin-top: 1.6rem;
}
.seo-tariff h2 { margin-top: 0; }

.seo-facts {
  list-style: none;
  margin: 0.4rem 0 1rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.4rem;
  font-size: 0.93rem;
}

.seo-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0.6rem 0;
}
.seo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.93rem;
}
.seo-table th,
.seo-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(147, 169, 184, 0.14);
  vertical-align: top;
}
.seo-table th {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.seo-table td { color: var(--text); }
.seo-table tbody tr:hover td { background: rgba(166, 233, 46, 0.04); }
.seo-num { white-space: nowrap; font-variant-numeric: tabular-nums; }

.seo-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.14);
  color: var(--yellow);
  vertical-align: middle;
  white-space: nowrap;
}
h2 .seo-tag { background: rgba(166, 233, 46, 0.14); color: var(--lime); }

.seo-source, .seo-note { font-size: 0.85rem; }
.seo-note { margin-top: 2.5rem; opacity: 0.8; }

.seo-links {
  list-style: none;
  margin: 0.6rem 0 1rem !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.seo-links a {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--panel-border);
  border-radius: 999px;
}

.seo-cta {
  margin-top: 2.6rem;
  padding: 1.6rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(166, 233, 46, 0.1), rgba(46, 211, 183, 0.08));
  border: 1px solid var(--panel-border);
}
.seo-cta h2 { margin-top: 0; }
.seo-cta .waitlist-inline { margin-top: 1rem; max-width: 520px; }

@media (max-width: 720px) {
  .seo-tariff { padding: 1.1rem 1rem 0.9rem; }
  .seo-table th, .seo-table td { padding: 0.5rem 0.55rem; }
}

/* Ratgeber */
.seo-article { max-width: 46rem; }
.seo-article p, .seo-article li { color: var(--text); opacity: 0.88; }
.seo-article h2 { margin-top: 2.2rem; }
.seo-article .seo-table-wrap { max-width: none; }
.seo-cards {
  list-style: none;
  margin: 1.6rem 0 0 !important;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.seo-cards a {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  height: 100%;
  padding: 1.2rem 1.3rem;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.seo-cards a:hover { border-color: rgba(166, 233, 46, 0.4); transform: translateY(-2px); }
.seo-cards strong { font-family: var(--font-display); color: var(--text); font-size: 1.08rem; line-height: 1.35; }
.seo-cards span { color: var(--muted); font-size: 0.92rem; }

/* Stadtseiten: Kennzahlen-Kacheln */
.seo-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.8rem;
  margin: 1.6rem 0 0.4rem;
}
.seo-stats > div {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}
.seo-stats b { display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--lime); font-variant-numeric: tabular-nums; }
.seo-stats span { color: var(--muted); font-size: 0.86rem; }
.seo-links small { color: var(--muted); }
