/* docreview – Wissensbereich (/guias/, /recursos/, /autores/). Baut auf styles.css (Tokens, Kopf, Fuß, Buttons) auf. */
.site-header { position: sticky; top: 0; }
.nav a[aria-current="page"] { background: var(--teal-soft); color: var(--ink); }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; font-size: .875rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: var(--field); }
.breadcrumbs a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--soft-2); text-underline-offset: 3px; }
.breadcrumbs a:hover { color: var(--ink); }

.guide-head, .guides-hero { padding-top: clamp(28px, 4vw, 48px); display: grid; gap: 14px; max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; }
.guide-head > * { max-width: 760px; }
@media (min-width: 1080px) { .guide-head--offset { padding-left: calc(var(--gutter) + 280px); } }
.guides-hero { padding-bottom: 8px; }
.guide-kicker { margin: 6px 0 0; font-size: .8125rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-strong); }
.guide-title { font-size: clamp(1.875rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -0.015em; font-weight: 700; text-wrap: balance; }
.guide-summary { margin: 0; font-size: 1.1875rem; line-height: 1.6; color: var(--text); max-width: 68ch; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding-bottom: 20px; border-bottom: 1px solid var(--line); font-size: .9375rem; color: var(--muted); }
.guide-meta a { color: var(--ink); font-weight: 600; }

.guide-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding-top: 28px; padding-bottom: clamp(56px, 7vw, 96px); max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; }
@media (min-width: 1080px) { .guide-body { grid-template-columns: 240px minmax(0, 760px); justify-content: start; } .guide-body--single { grid-template-columns: minmax(0, 760px); } }
.guide-toc { font-size: .9375rem; }
.guide-toc p { margin: 0 0 8px; font-size: .75rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.guide-toc ol { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; color: var(--muted); }
.guide-toc a { color: var(--text); }
.guide-toc a:hover { color: var(--teal-strong); }
@media (min-width: 1080px) { .guide-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; } }
@media (max-width: 1079px) { .guide-toc { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; background: var(--soft); } }

.prose { min-width: 0; font-size: 1.0625rem; line-height: 1.72; color: var(--text); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); line-height: 1.25; margin-top: 2.2em; scroll-margin-top: 96px; text-wrap: balance; }
.prose h3 { font-size: 1.1875rem; line-height: 1.4; margin-top: 1.7em; scroll-margin-top: 96px; }
.prose p, .prose li { max-width: 70ch; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: .45em; }
.prose li::marker { color: var(--teal-strong); }
.prose a { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--teal-hover); }
.prose strong { color: var(--ink); font-weight: 650; }
.prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--teal); color: var(--ink); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.pillar-link { font-size: .9375rem; color: var(--muted); }

.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; line-height: 1.5; }
.prose .table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-md); }
.prose .table-scroll table { min-width: 560px; }
.prose caption { text-align: left; padding: 12px 14px 0; font-weight: 600; color: var(--ink); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 14px; border-top: 1px solid var(--line); }
.prose thead th { border-top: 0; background: var(--soft); font-size: .8125rem; letter-spacing: .03em; color: var(--muted); font-weight: 650; }

/* Hinweis- und Antwortkästen */
.callout { border: 1px solid var(--line); background: var(--soft); border-radius: var(--radius-md); padding: 16px 18px; }
.callout > * + * { margin-top: .6em; }
.callout--warn { background: var(--amber-soft); border-color: var(--amber-line); }
.callout-title { font-weight: 650; color: var(--ink); margin: 0; }

.plantilla { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.plantilla-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--soft); }
.plantilla-head h3, .plantilla-head p { margin: 0; font-size: 1rem; font-family: "Manrope", "Helvetica Neue", Arial, sans-serif; font-weight: 650; color: var(--ink); }
.plantilla-texto { margin: 0; padding: 16px; white-space: pre-line; font-size: 1rem; line-height: 1.65; color: var(--ink); }
.plantilla .porque { margin: 0; padding: 0 16px 14px; font-size: .9375rem; color: var(--muted); }
.copiar { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--field); background: var(--white); color: var(--navy); font: 600 .875rem "Inter", ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.copiar:hover { border-color: var(--navy); }
.copiar.is-done { background: var(--teal-soft); border-color: var(--teal-strong); color: var(--teal-strong); }

.steps { counter-reset: paso; list-style: none; padding: 0 !important; display: grid; gap: 14px !important; }
.steps > li { counter-increment: paso; position: relative; padding-left: 44px; }
.steps > li::before { content: counter(paso); position: absolute; left: 0; top: 1px; width: 30px; height: 30px; border-radius: 50%; background: var(--teal-strong); color: #fff; font: 700 .9375rem/30px "Manrope", sans-serif; text-align: center; }

.formula { padding: 14px 16px; border-radius: var(--radius-md); background: var(--soft); font-size: 1.0625rem; color: var(--ink); text-align: center; }

/* Rechner */
.calc { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); box-shadow: var(--shadow-lg); padding: clamp(18px, 3vw, 28px); display: grid; gap: 18px; margin-top: 0 !important; }
.calc-title { margin: 0 !important; font-size: 1.25rem !important; }
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: end; }
@media (min-width: 640px) { .calc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.calc label { display: grid; gap: 6px; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.calc .opt { font-weight: 400; color: var(--muted); }
.calc input { height: 46px; padding: 0 12px; border: 1px solid var(--field); border-radius: 8px; font: inherit; font-weight: 400; font-size: 1.0625rem; color: var(--ink); background: var(--white); font-variant-numeric: tabular-nums; }
.calc input:focus { outline: 2px solid var(--teal-strong); outline-offset: 1px; border-color: var(--teal-strong); }
.calc-result { border-radius: var(--radius-md); background: var(--teal-soft); padding: 16px 18px; display: grid; gap: 8px; }
.calc-result p { margin: 0; }
.calc-big { font-family: "Manrope", sans-serif; font-size: 1.375rem; color: var(--ink); }
.calc-big strong { font-size: 2.25rem; font-variant-numeric: tabular-nums; }
.calc-note { font-size: .875rem; color: var(--muted); }

/* FAQ, CTA, verwandte Guías, Quellen */
.faq { margin-top: 2.4em !important; }
.faq-item-g h3 { margin-top: 1.2em; }
.faq-item-g p { margin: .4em 0 0; }
.cta-block { margin-top: 2.4em !important; border-radius: var(--radius-lg); background: var(--navy); color: #fff; padding: clamp(22px, 3.5vw, 32px); display: grid; gap: 10px; }
.cta-block p { margin: 0; max-width: 60ch; color: #D6E3EC; }
.cta-block .cta-title { font-family: "Manrope", sans-serif; font-size: 1.375rem; font-weight: 700; color: #fff; line-height: 1.3; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 6px !important; }
.cta-block .btn--primary { background: var(--teal); color: var(--navy); text-decoration: none; }
.cta-block .btn--primary:hover { background: #33B8B8; color: var(--navy); }
.cta-note { font-size: .9375rem; color: var(--on-navy-muted); }
.related ul, .sources ul { list-style: none; padding: 0 !important; gap: 0 !important; border-top: 1px solid var(--line); }
.related li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.related li a { font-weight: 650; text-decoration: none; color: var(--ink); }
.related li a:hover { color: var(--teal-strong); text-decoration: underline; }
.related li span { font-size: .9375rem; color: var(--muted); }
.sources li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .9375rem; }
.sources-note { font-size: .875rem; color: var(--muted); }

/* Übersicht /guias/ */
.guides-section { padding-top: clamp(28px, 4vw, 44px); max-width: calc(1120px + 2 * var(--gutter)); margin: 0 auto; }
.guides-section:last-of-type { padding-bottom: clamp(56px, 7vw, 96px); }
.section-label { font-size: 1.375rem; font-weight: 700; margin: 0 0 16px; }
.pillar-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 760px) { .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pillar-card { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); padding: 20px 22px; display: grid; gap: 8px; align-content: start; box-shadow: var(--shadow); }
.pillar-card--tool { background: var(--soft); box-shadow: none; }
.pillar-cluster { font-size: .75rem; font-weight: 650; letter-spacing: .07em; text-transform: uppercase; color: var(--teal-strong); }
.pillar-title { font-family: "Manrope", sans-serif; font-size: 1.1875rem; font-weight: 700; line-height: 1.35; color: var(--ink); text-wrap: balance; }
.pillar-title:hover { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.pillar-card p { margin: 0; font-size: .9375rem; color: var(--text); }
.pillar-count { font-size: .875rem; color: var(--muted); }
.list-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 20px; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--soft-2); background: var(--white); color: var(--text); font: 500 .875rem "Inter", ui-sans-serif, system-ui, sans-serif; cursor: pointer; }
.chip:hover { border-color: var(--field); }
.chip.is-active { background: var(--teal-soft); border-color: var(--teal-strong); color: var(--ink); font-weight: 600; }
.guide-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.guide-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.guide-list li[hidden] { display: none; }
.guide-list a { font-family: "Manrope", sans-serif; font-size: 1.125rem; font-weight: 700; color: var(--ink); }
.guide-list a:hover { color: var(--teal-strong); text-decoration: underline; text-underline-offset: 3px; }
.guide-list p { margin: 0; font-size: .9375rem; color: var(--text); max-width: 80ch; }
.guide-list-meta { font-size: .8125rem; color: var(--muted); }
/* Mobil: aktuelles Element der Brotkrumen ausblenden (steht direkt darunter als H1) */
@media (max-width: 700px) { .breadcrumbs li:last-child:not(:first-child) { display: none; } }
