/**
 * Ratgeber Detail — layout "seo_article_v1" (semantic sections, readability).
 */

/* Hero: Kurzantwort unter Intro */
.ratgeber-hero-unified--seo .ratgeber-hero-intro {
  margin-bottom: clamp(14px, 2vw, 22px);
}

.ratgeber-hero-unified--seo .ratgeber-hero-intro p {
  margin: 0 0 0.65em;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.12rem);
  line-height: 1.62;
  color: #475569;
  max-width: 62ch;
}

.ratgeber-hero-unified--seo .ratgeber-hero-intro p:last-child {
  margin-bottom: 0;
}

.seo-kurzantwort {
  margin-top: clamp(12px, 1.8vw, 20px);
  max-width: min(100%, 52rem);
}

.seo-kurzantwort__inner {
  padding: clamp(14px, 2vw, 20px) clamp(16px, 2.2vw, 24px);
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 55%, #fffbeb 100%);
  border: 1px solid rgba(59, 130, 246, 0.22);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.seo-kurzantwort__inner p {
  margin: 0 0 0.55em;
  font-size: clamp(0.98rem, 0.35vw + 0.92rem, 1.08rem);
  line-height: 1.55;
  color: #1e293b;
  font-weight: 500;
}

.seo-kurzantwort__inner p:last-child {
  margin-bottom: 0;
}

.seo-kurzantwort__heading {
  margin: 0 0 10px;
  font-weight: 800;
  font-size: clamp(0.95rem, 0.3vw + 0.9rem, 1.05rem);
  color: #0f172a;
}

/* Article body */
.seo-article-v1 {
  max-width: min(100%, 48rem);
}

.seo-section {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.seo-section__title {
  margin: 0 0 clamp(14px, 2vw, 20px);
  font-size: clamp(1.2rem, 1.1vw + 1rem, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
  color: #0f172a;
}

.seo-section__title--table {
  margin-bottom: clamp(10px, 1.5vw, 16px);
}

.seo-bullet-list {
  margin: 0;
  padding: 0 0 0 1.1em;
  list-style: none;
}

.seo-bullet-list li {
  position: relative;
  margin-bottom: 0.65em;
  padding-left: 0.15em;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.08rem);
  line-height: 1.55;
  color: #334155;
}

.seo-bullet-list li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0d9488;
}

.seo-decision-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-decision-list__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75em;
  font-size: clamp(1rem, 0.3vw + 0.95rem, 1.08rem);
  line-height: 1.55;
  color: #334155;
}

.seo-decision-list__icon {
  flex-shrink: 0;
  line-height: 1.4;
}

.seo-decision-list__text {
  flex: 1;
  min-width: 0;
}

.seo-prose p {
  margin: 0 0 1em;
  font-size: clamp(1rem, 0.28vw + 0.96rem, 1.07rem);
  line-height: 1.68;
  color: #475569;
  max-width: 65ch;
}

.seo-prose p:last-child {
  margin-bottom: 0;
}

.seo-prose--fazit p {
  font-weight: 500;
  color: #1e293b;
}

/* Table */
.seo-table-figure {
  margin: 0;
  width: 100%;
}

.seo-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.seo-table-caption {
  caption-side: top;
  text-align: left;
  padding: 12px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
}

.seo-compare-table {
  width: 100%;
  min-width: 280px;
  border-collapse: collapse;
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.02rem);
}

.seo-compare-table th,
.seo-compare-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.seo-compare-table th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

.seo-compare-table tbody tr:last-child td {
  border-bottom: none;
}

.seo-compare-table td {
  color: #475569;
}

/* Personas */
.seo-persona-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 18px);
}

@media (min-width: 640px) {
  .seo-persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.seo-persona {
  margin: 0;
  padding: clamp(16px, 2.2vw, 22px);
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
}

.seo-persona__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
}

.seo-persona__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
}

/* Fazit band */
.seo-section--fazit {
  padding: clamp(18px, 2.5vw, 26px);
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

/* Product CTA */
.seo-product-cta-block {
  margin: clamp(24px, 3.5vw, 36px) 0 clamp(20px, 3vw, 28px);
  padding: clamp(16px, 2.5vw, 22px);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fafafa;
}

.seo-product-cta__heading {
  margin: 0 0 10px;
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.15rem);
  font-weight: 800;
  color: #0f172a;
}

.seo-product-cta__lead {
  margin: 0 0 14px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
}

.seo-product-cta {
  margin: 0;
}

.seo-product-cta__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(0.98rem, 0.3vw + 0.92rem, 1.05rem);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
  box-shadow: 0 6px 22px rgba(13, 148, 136, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.seo-product-cta__link:hover {
  filter: brightness(1.05);
  box-shadow: 0 8px 28px rgba(13, 148, 136, 0.42);
}

.seo-product-cta__link:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 3px;
}

/* Internal links */
.seo-more-ratgeber {
  margin-top: clamp(32px, 5vw, 52px);
  padding: clamp(20px, 3vw, 28px);
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.seo-more-ratgeber__title {
  margin: 0 0 14px;
  font-size: clamp(1.05rem, 0.5vw + 0.98rem, 1.2rem);
  font-weight: 800;
  color: #0f172a;
}

.seo-more-ratgeber__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.seo-more-ratgeber__list li {
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}

.seo-more-ratgeber__list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.seo-more-ratgeber__list a {
  font-weight: 600;
  color: #0d9488;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.seo-more-ratgeber__list a:hover {
  color: #0f766e;
}
