/* =========================================================
   THINK3DDD – RATGEBER- UND THEMENSEITEN
   Ergänzt service-detail.css (Ersatzteile, Materialien, 3D-Scan,
   Prototypen, Hunde-Orthesen-Ratgeber)
   ========================================================= */

.ratgeber-hero .breadcrumb {
    margin-bottom: 28px;
}

.ratgeber-hero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
}

.ratgeber-byline {
    margin: -12px 0 24px;
    color: var(--muted);
    font-size: .92rem;
}

/* Links im Fließtext sichtbar machen */
.ratgeber-hero .detail-lead a,
.ratgeber-byline a,
.detail-copy p a,
.detail-copy li a,
.detail-card p a,
.detail-step p a,
.detail-story p a,
.faq-answer a,
.ratgeber-note a,
.ratgeber-table a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.detail-copy h3 {
    margin: 30px 0 10px;
    color: #111827;
}

.detail-copy .detail-list {
    margin-top: 14px;
}

/* Vergleichstabellen */
.ratgeber-table-wrap {
    margin: 26px 0;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #fff;
}

.ratgeber-table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: .95rem;
}

.ratgeber-table th,
.ratgeber-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #eef2f5;
    color: #334155;
    text-align: left;
    vertical-align: top;
}

.ratgeber-table thead th {
    background: var(--brand-tint-blue);
    color: var(--dark);
    font-weight: 700;
}

.ratgeber-table tbody th {
    color: var(--dark);
    font-weight: 700;
    white-space: nowrap;
}

.ratgeber-table tbody tr:last-child th,
.ratgeber-table tbody tr:last-child td {
    border-bottom: 0;
}

/* Hinweiskasten */
.ratgeber-note {
    margin: 26px 0;
    padding: 20px 24px;
    border-left: 4px solid var(--brand-teal);
    border-radius: 12px;
    background: var(--brand-tint-teal);
    color: #1e293b;
}

.ratgeber-note p {
    color: #1e293b;
}

/* Checkliste */
.ratgeber-checklist {
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
}

.ratgeber-checklist li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 32px;
    color: #475569;
}

.ratgeber-checklist li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 4px;
    color: var(--brand-teal-text);
    font-weight: 800;
}

.detail-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 800px) {
    .detail-grid-2 {
        grid-template-columns: 1fr;
    }

    .ratgeber-note {
        padding: 18px;
    }
}

@media print {
    .ratgeber-table-wrap {
        overflow: visible;
        border: 0;
    }
}
