/* Individually authored styles for /ki-tools-vergleiche only. */
.tools-comparison-page #hero .hero-btns {
    justify-content: flex-start;
    align-items: flex-start;
    margin-left: 0;
    text-align: left;
}

.tools-comparison-page .seo-section-head-left .section-desc {
    text-align: left;
    margin-left: 0;
}

.seo-page.tools-comparison-page .seo-editorial-layout {
    background: #fff;
    border-color: #e2e5e9;
}

.tools-comparison-page .seo-editorial-layout::before {
    display: none;
}

.comparison-section {
    scroll-margin-top: 110px;
}

.comparison-heading {
    max-width: 850px;
    margin-bottom: 24px;
    text-align: left;
}

.comparison-heading h2 {
    margin-bottom: 22px;
}

.comparison-heading p,
.comparison-method p {
    color: #334155;
    line-height: 1.65;
}

.comparison-scroll-hint {
    font-size: 14px;
    color: #475569;
    margin-bottom: 12px;
}

.comparison-scroll {
    overflow-x: auto;
    max-width: 100%;
    border: 1px solid #d7dce2;
    border-radius: 16px;
    background: #fff;
}

.comparison-scroll:focus-visible {
    outline: 3px solid #bc4300;
    outline-offset: 4px;
}

.comparison-table {
    width: 100%;
    min-width: 940px;
    table-layout: fixed;
    border-collapse: separate;
    border-spacing: 0;
    color: #172033;
    font-size: 15px;
    line-height: 1.55;
    text-align: left;
}

.comparison-feature-col { width: 16%; }

.comparison-table caption {
    padding: 18px 20px;
    text-align: left;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid #d7dce2;
}

.comparison-table th,
.comparison-table td {
    padding: 22px 18px;
    vertical-align: top;
    border-bottom: 1px solid #e2e5e9;
    overflow-wrap: break-word;
    hyphens: auto;
}

.comparison-table thead th {
    color: #172033;
    background: #f1f3f6;
    font-size: 20px;
    font-weight: 800;
}

.comparison-table th:first-child {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #f1f3f6;
    border-right: 1px solid #d7dce2;
}

.comparison-table tbody th {
    font-weight: 700;
}

.comparison-table td:nth-child(2) { background: #fff8f2; }
.comparison-table thead th:nth-child(2) { background: #ffe9d7; }
.comparison-table tbody tr:last-child > * { border-bottom: 0; }
.comparison-table td strong { display: block; margin-bottom: 8px; color: #172033; }

.comparison-table a {
    color: #9b3700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.comparison-table a:hover { color: #722900; }
.comparison-source { display: block; margin-top: 8px; font-size: 13px; font-weight: 500; }
.comparison-method { margin-top: 24px; max-width: 980px; font-size: 15px; }
.comparison-method p + p { margin-top: 12px; }

@media (max-width: 767px) {
    .comparison-table { min-width: 930px; }
    .comparison-feature-col { width: 126px; }
    .comparison-table th, .comparison-table td { padding: 18px 14px; }
    .comparison-table a { display: inline-flex; align-items: center; min-height: 44px; }
    .comparison-table .comparison-source { display: flex; }
    .comparison-heading h2 { font-size: clamp(28px, 7vw, 42px); }
}

/* Keep a complete provider column readable beside the fixed feature column. */
@media (max-width: 600px) {
    .comparison-table { min-width: 0; width: calc(400% - 330px); }
    .comparison-feature-col { width: 110px; }
    .comparison-table th, .comparison-table td { padding: 16px 12px; }
    .comparison-table thead th { font-size: 18px; }
}
