/* =========================================================
   Bettfedernreinigung MV – Ratgeber
   Ergänzt styles.css (Editorial Beige / Print). Lesegröße für 50+.
   ========================================================= */

:root {
  --rg-paper: #f3efe7;
  --rg-paper2: #ebe4d6;
  --rg-ink: #141414;
  --rg-ink2: #3b3b38;
  --rg-green: #2f4f3a;
  --rg-green-deep: #23402f;
  --rg-green-tint: rgba(47, 79, 58, .09);
  --rg-rule: rgba(20, 20, 20, .16);
  --rg-rule-soft: rgba(20, 20, 20, .09);
  --rg-display: "Fraunces", Georgia, serif;
  --rg-body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

body.rg { font-size: 1.1875rem; line-height: 1.7; background: var(--rg-paper); color: var(--rg-ink); }
@media (min-width: 900px) { body.rg { font-size: 1.25rem; } }
.rg :focus-visible { outline: 3px solid var(--rg-green); outline-offset: 3px; }

.rg-wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }

/* Kopf */
.rg-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--rg-rule); }
.rg-crumbs { font-size: 1rem; color: var(--rg-ink2); margin-bottom: 1.6rem; }
.rg-crumbs a { color: var(--rg-ink2); }
.rg-crumbs span[aria-hidden] { margin: 0 .5rem; }
.rg-head-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: end; }
@media (min-width: 960px) { .rg-head-grid { grid-template-columns: 1.15fr .85fr; } }
.rg-h1 {
  font-family: var(--rg-display); font-weight: 600; font-size: clamp(2.6rem, 5.6vw, 4.3rem);
  line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 144;
}
.rg-h1 em { font-style: italic; font-weight: 400; color: var(--rg-green); }
.rg-dek { font-size: clamp(1.2rem, 2vw, 1.4rem); color: var(--rg-ink2); margin: 1.4rem 0 0; max-width: 36em; }
.rg-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.4rem; font-size: 1rem; color: var(--rg-ink2); }
.rg-head figure { margin: 0; }
.rg-head img { width: 100%; height: auto !important; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 6px; }
.rg-head figcaption { font-size: .98rem; color: var(--rg-ink2); margin-top: .6rem; }

/* Kurzantwort als gedruckte Randspalte */
.rg-short { display: grid; gap: .6rem 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--rg-rule); }
@media (min-width: 900px) { .rg-short { grid-template-columns: 12rem 1fr; } }
.rg-short h2 { font-family: var(--rg-body); font-size: 1rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--rg-green); margin: .35rem 0 0; }
.rg-short p { margin: 0; font-family: var(--rg-display); font-size: clamp(1.35rem, 2.3vw, 1.65rem); line-height: 1.45; max-width: 34em; }

/* Artikel */
.rg-body { display: grid; gap: 3rem; padding: clamp(3rem, 6vw, 4.5rem) 0; }
@media (min-width: 1040px) { .rg-body { grid-template-columns: 12rem 1fr; gap: 2.5rem; } }
.rg-toc { align-self: start; font-size: 1rem; }
@media (min-width: 1040px) { .rg-toc { position: sticky; top: 6rem; } }
.rg-toc h2 { font-family: var(--rg-body); font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .7rem; color: var(--rg-ink2); }
.rg-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: .1rem; }
.rg-toc li { counter-increment: t; }
.rg-toc a { display: grid; grid-template-columns: 1.6rem 1fr; padding: .35rem 0; text-decoration: none; color: var(--rg-ink2); line-height: 1.35; }
.rg-toc a::before { content: counter(t); font-family: var(--rg-display); color: var(--rg-green); }
.rg-toc a:hover, .rg-toc a.active { color: var(--rg-ink); font-weight: 600; }
@media (max-width: 1039px) { .rg-toc { border: 1px solid var(--rg-rule); padding: 1.2rem 1.3rem; border-radius: 6px; background: #fbf8f2; } }

.rg-prose { max-width: 42rem; }
.rg-prose > * + * { margin-top: 1.1rem; }
.rg-prose h2 {
  font-family: var(--rg-display); font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.12;
  margin: 3.5rem 0 0; padding-top: 1.4rem; border-top: 1px solid var(--rg-rule); scroll-margin-top: 6rem; text-wrap: balance;
}
.rg-prose h2:first-child { margin-top: 0; }
.rg-prose h3 { font-family: var(--rg-display); font-weight: 600; font-size: 1.5rem; line-height: 1.25; margin-top: 2rem; }
.rg-prose p, .rg-prose li { color: var(--rg-ink2); }
.rg-prose strong { color: var(--rg-ink); }
.rg-prose a { color: var(--rg-green); font-weight: 600; }
.rg-prose ul { padding-left: 1.3rem; display: grid; gap: .45rem; }
.rg-prose ul li::marker { color: var(--rg-green); }
.rg-prose figure { margin: 2rem 0; }
.rg-prose figure img { width: 100%; height: auto; border-radius: 6px; }
.rg-prose figure.rg-fig-sm img { max-width: 30rem; }
.rg-prose figcaption { font-size: 1rem; color: var(--rg-ink2); margin-top: .6rem; }

/* Ursachen: zweispaltige Gegenüberstellung mit Linien */
.rg-cause { display: grid; border-top: 2px solid var(--rg-ink); margin-top: 1.6rem; }
@media (min-width: 680px) { .rg-cause { grid-template-columns: 1fr 1fr; } .rg-cause > div + div { border-left: 1px solid var(--rg-rule); padding-left: 1.6rem; } .rg-cause > div:first-child { padding-right: 1.6rem; } }
.rg-cause > div { padding-top: 1.2rem; padding-bottom: 1.2rem; }
.rg-cause .pct { font-family: var(--rg-display); font-size: 1.35rem; font-weight: 600; color: var(--rg-ink); line-height: 1.25; margin: 0 0 .4rem; }
.rg-cause p { margin: 0; }

/* Jahreslauf am Wasser (eigene SVG-Grafik) */
.rg-year { margin: 2rem 0; padding: 1.4rem 0; border-top: 1px solid var(--rg-rule); border-bottom: 1px solid var(--rg-rule); }
.rg-year svg { width: 100%; height: auto; display: block; }
.rg-year p { font-size: 1rem; margin-top: .6rem; }

/* Tipps als nummerierte Druckliste */
.rg-tips { list-style: none; padding: 0 !important; counter-reset: tip; display: grid; gap: 0 !important; border-top: 1px solid var(--rg-rule); }
.rg-tips li { counter-increment: tip; display: grid; grid-template-columns: 3rem 1fr; gap: .2rem 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rg-rule-soft); }
.rg-tips li::before { content: counter(tip); grid-row: span 2; font-family: var(--rg-display); font-size: 2rem; line-height: 1; color: var(--rg-green); }
.rg-tips strong { display: block; font-size: 1.15rem; }

/* Hinweis */
.rg-note { background: #fbf8f2; border: 1px solid var(--rg-rule); border-radius: 6px; padding: 1.3rem 1.5rem; }
.rg-note strong.lbl { display: block; color: var(--rg-green); margin-bottom: .25rem; }

/* Preiszeile */
.rg-price { display: grid; gap: 0; border-top: 2px solid var(--rg-ink); margin-top: 1.4rem; }
.rg-price div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--rg-rule); }
.rg-price span { color: var(--rg-ink2); }
.rg-price b { font-family: var(--rg-display); font-size: 1.6rem; font-weight: 600; color: var(--rg-ink); white-space: nowrap; }
.rg-price b.open { font-family: var(--rg-body); font-size: 1.05rem; }

/* CTA-Band */
.rg-cta { background: var(--rg-green); color: #f6f2ea; padding: clamp(2rem, 5vw, 3rem); border-radius: 6px; margin-top: 3rem; }
.rg-cta h2 { border: 0; padding: 0; margin: 0 !important; color: #fff; }
.rg-cta p { color: #e3eadf !important; margin: .8rem 0 1.6rem; }
.rg-cta a.tel { color: #fff; }
.rg-btn {
  display: inline-flex; align-items: center; gap: .6rem; min-height: 3.5rem; padding: .9rem 1.7rem;
  background: #f6f2ea; color: var(--rg-green-deep) !important; font-weight: 700; font-size: 1.1rem;
  border-radius: 999px; text-decoration: none; transition: transform .2s, background .2s;
}
.rg-btn:hover { background: #fff; transform: translateY(-2px); text-decoration: none; }
.rg-btn svg { width: 1.2rem; height: 1.2rem; }

/* FAQ */
.rg-faq { border-top: 1px solid var(--rg-rule); }
.rg-faq details { border-bottom: 1px solid var(--rg-rule); }
.rg-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.15rem 0; font-family: var(--rg-display); font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
.rg-faq summary::-webkit-details-marker { display: none; }
.rg-faq summary::after { content: '+'; font-family: var(--rg-body); font-size: 1.8rem; line-height: 1; color: var(--rg-green); transition: transform .2s; }
.rg-faq details[open] summary::after { transform: rotate(45deg); }
.rg-faq details > p { margin: 0 0 1.2rem; }

/* Fuß */
.rg-foot { border-top: 1px solid var(--rg-rule); padding: 2.5rem 0 6rem; font-size: 1.05rem; color: var(--rg-ink2); }
.rg-foot .rg-wrap { display: grid; gap: 1.2rem; }
@media (min-width: 800px) { .rg-foot .rg-wrap { grid-template-columns: 1.4fr 1fr; } }
.rg-foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; }
.rg-foot a { color: var(--rg-ink); }

/* Inspektion: Weg des Pakets */
.rg-route { list-style: none; padding: 0; margin-top: 1.6rem; display: grid; gap: 0; }
.rg-route li { display: grid; grid-template-columns: 3.4rem 1fr; gap: .2rem 1.1rem; position: relative; padding-bottom: 1.6rem; }
.rg-route li:last-child { padding-bottom: 0; }
.rg-route li::after { content: ''; position: absolute; left: 1.7rem; top: 3.4rem; bottom: .2rem; border-left: 2px dotted rgba(47, 79, 58, .45); }
.rg-route li:last-child::after { display: none; }
.rg-route .ico { width: 3.4rem; height: 3.4rem; border-radius: 50%; background: #fbf8f2; border: 1px solid var(--rg-rule); display: grid; place-items: center; grid-row: span 2; color: var(--rg-green); }
.rg-route .ico svg { width: 1.6rem; height: 1.6rem; }
.rg-route strong { font-size: 1.2rem; color: var(--rg-ink); padding-top: .55rem; }
.rg-route li p { margin: 0; }

/* Beispiel-Befund */
.rg-report { background: #fffdf8; border: 1px solid var(--rg-rule); border-radius: 6px; padding: clamp(1.3rem, 3vw, 2rem); margin: 2rem 0; box-shadow: 0 1px 0 var(--rg-rule), 0 12px 30px rgba(20, 20, 20, .06); }
.rg-report .tag { display: inline-block; font-size: .95rem; font-weight: 700; color: var(--rg-green); border: 1px solid var(--rg-green); border-radius: 999px; padding: .1rem .7rem; }
.rg-report h3 { font-family: var(--rg-display); font-size: 1.5rem; margin: .8rem 0 .4rem; }
.rg-report dl { display: grid; gap: 0; margin: 1rem 0 0; }
.rg-report dl > div { display: grid; gap: .1rem 1.2rem; padding: .8rem 0; border-top: 1px solid var(--rg-rule-soft); }
@media (min-width: 640px) { .rg-report dl > div { grid-template-columns: 10rem 1fr; } }
.rg-report dt { font-weight: 700; color: var(--rg-ink); }
.rg-report dd { margin: 0; color: var(--rg-ink2); }
.rg-report .ok { color: var(--rg-green-deep); font-weight: 700; }
.rg-report .hint { font-size: 1rem; color: var(--rg-ink2); margin-top: 1rem; }

/* Entscheidung: zwei Wege */
.rg-choice { display: grid; gap: 1rem; margin-top: 1.4rem; }
@media (min-width: 720px) { .rg-choice { grid-template-columns: 1fr 1fr; } }
.rg-choice > div { border-top: 3px solid var(--rg-green); padding-top: 1rem; }
.rg-choice > div.no { border-top-color: var(--rg-ink2); }
.rg-choice h3 { margin-top: 0 !important; }
