/* Ratgeber-Seiten (public/ratgeber/, erzeugt von tools/build-guides.mjs). Baut auf landing.css auf. */
.gd-article{ max-width:820px; margin:0 auto; padding:clamp(32px,6vw,72px) var(--gutter) 0; }
.gd-article h1{ margin-top:10px; }
.gd-lead{ margin-top:18px; max-width:62ch; }
.gd-updated{ margin-top:10px; font-size:13px; color:var(--ink-3); }
.gd-article h2{ font-size:clamp(22px,3vw,30px); letter-spacing:-.03em; margin:clamp(40px,6vw,60px) 0 14px; scroll-margin-top:80px; }
.gd-article h3{ font-size:clamp(19px,2.4vw,23px); letter-spacing:-.02em; margin:0 0 6px; }
.gd-article > p, .gd-article section > p, .gd-article > ul{ color:var(--ink-2); max-width:66ch; margin:0 0 14px; }
.gd-article > ul{ padding-left:22px; }
.gd-article > ul li{ margin-bottom:8px; }
.gd-crumbs{ display:flex; gap:8px; font-size:13px; color:var(--ink-3); }
.gd-crumbs a{ color:var(--ink-2); text-decoration:none; }
.gd-crumbs a:hover{ color:var(--ink); }
.gd-note{ font-size:13px !important; color:var(--ink-3) !important; }

.gd-answer{ margin:28px 0 8px; padding:18px 22px; border-radius:18px; border:1px solid rgba(134,211,162,.35); background:linear-gradient(180deg, rgba(90,168,120,.14), rgba(90,168,120,.05)); }
.gd-answer strong{ display:block; color:var(--go-ink); font-size:14px; letter-spacing:.02em; margin-bottom:6px; }
.gd-answer p{ margin:0; color:var(--ink); }

.gd-scroll{ overflow-x:auto; margin:6px 0 18px; -webkit-overflow-scrolling:touch; }
.gd-table{ width:100%; border-collapse:collapse; font-size:15px; }
.gd-table th, .gd-table td{ text-align:left; vertical-align:top; padding:10px 10px; border-bottom:1px solid var(--line); }
.gd-table thead th{ font-size:12px; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-3); font-weight:600; }
.gd-table tbody th{ font-weight:600; white-space:nowrap; }
.gd-table td{ color:var(--ink-2); }

/* Strategie-Tabellen */
.gd-tabs{ display:flex; flex-wrap:wrap; gap:8px; margin:28px 0 16px; }
.gd-tabs button{ font:inherit; font-size:14px; padding:9px 16px; border-radius:999px; border:1px solid var(--line-2); background:transparent; color:var(--ink-2); cursor:pointer; transition:background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.gd-tabs button[aria-pressed="true"]{ background:var(--ink); color:#0A0F0C; border-color:var(--ink); font-weight:600; }
.gd-tabs button:active{ transform:scale(.97); }
.gd-tabs .gd-print{ margin-left:auto; }
.gd-chartset[hidden]{ display:none; }
.gd-chartset h3{ margin-top:10px; }
.gd-rules{ font-size:14px !important; color:var(--ink-3) !important; }
.gd-chart{ border-collapse:separate; border-spacing:2px; font-variant-numeric:tabular-nums; min-width:360px; width:100%; table-layout:fixed; }
.gd-chart caption{ text-align:left; font-weight:600; font-size:15px; padding:10px 0 6px; color:var(--ink); }
.gd-chart thead th:first-child{ width:44px; }
.gd-chart th{ font-size:13px; font-weight:600; color:var(--ink-2); padding:4px 6px; text-align:center; }
.gd-chart tbody th{ text-align:right; white-space:nowrap; padding-right:10px; }
.gd-chart td{ height:30px; text-align:center; font-size:13px; font-weight:700; border-radius:6px; }
.a-H{ background:#B5524A; color:#fff; }
.a-S{ background:#E3C66F; color:#2A2410; }
.a-D{ background:#3E9A64; color:#fff; }
.a-Ds{ background:#2C7A4D; color:#fff; box-shadow:inset 0 0 0 2px rgba(227,198,111,.75); }
.a-P{ background:#3F72B0; color:#fff; }
.a-R, .a-Rs, .a-Rp{ background:#8A9096; color:#fff; }
.a-Rs{ box-shadow:inset 0 0 0 2px rgba(227,198,111,.8); }
.a-Rp{ box-shadow:inset 0 0 0 2px rgba(120,160,214,.9); }
.gd-legend{ display:flex; flex-wrap:wrap; gap:8px 18px; list-style:none; padding:0; margin:0 0 8px; font-size:13px; color:var(--ink-2); }
.gd-legend li{ display:flex; align-items:center; gap:8px; }
.gd-legend .a{ display:inline-grid; place-items:center; min-width:30px; height:24px; padding:0 4px; border-radius:6px; font-weight:700; font-size:12px; }
.gd-sr{ position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }

/* True-Count-Rechner */
.gd-calc{ margin:28px 0 8px; padding:clamp(18px,3vw,26px); border-radius:22px; background:var(--noise), radial-gradient(100% 120% at 0% 0%, var(--felt-hi), var(--felt) 60%, var(--felt-deep)); border:1px solid rgba(184,190,195,.3); }
.gd-calc h2{ margin:0 0 14px !important; font-size:clamp(20px,2.6vw,24px) !important; }
.gd-calc__row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.gd-calc label{ display:grid; gap:6px; font-size:13px; color:var(--ink-2); font-weight:600; }
.gd-calc input{ font:inherit; font-size:20px; font-weight:650; font-variant-numeric:tabular-nums; padding:10px 12px; border-radius:12px; border:1px solid var(--line-2); background:rgba(0,0,0,.28); color:var(--ink); width:100%; }
.gd-calc input:focus-visible{ outline:2px solid var(--go-ink); outline-offset:2px; }
.gd-calc__out{ display:flex; align-items:baseline; gap:12px; margin-top:18px; }
.gd-calc__out span, .gd-calc__edge span{ font-size:13px; color:var(--ink-2); font-weight:600; }
.gd-calc__out b{ font-size:clamp(40px,7vw,56px); letter-spacing:-.04em; line-height:1; color:var(--go-ink); font-variant-numeric:tabular-nums; }
.gd-calc__out small{ color:var(--ink-3); font-size:15px; }
.gd-calc__edge{ display:flex; gap:12px; align-items:baseline; margin:6px 0 10px !important; }
.gd-calc__edge b{ font-size:18px; font-variant-numeric:tabular-nums; }
.gd-calc .gd-note{ margin:0; }

/* Weiterlesen und Übersicht */
.gd-faq{ margin-top:clamp(40px,6vw,60px); }
.gd-related h2{ margin-bottom:16px; }
.gd-cards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:12px; }
.gd-card{ display:grid; gap:6px; padding:18px 20px; border-radius:18px; border:1px solid var(--line); background:rgba(242,245,243,.03); color:var(--ink); text-decoration:none; transition:border-color 200ms ease, background-color 200ms ease, transform 160ms ease-out; }
.gd-card:hover{ border-color:rgba(134,211,162,.45); background:rgba(90,168,120,.08); }
.gd-card:active{ transform:scale(.98); }
.gd-card strong{ font-size:17px; letter-spacing:-.01em; }
.gd-card span{ font-size:14px; color:var(--ink-2); }
.gd-cards--hub{ margin-top:clamp(28px,5vw,48px); }

@media (max-width:520px){
  .gd-calc__row{ grid-template-columns:1fr; }
  .gd-chart{ border-spacing:1.5px; }
  .gd-chart td{ height:26px; font-size:11.5px; border-radius:4px; }
  .gd-chart th{ font-size:11.5px; padding:3px 2px; }
  .gd-chart tbody th{ padding-right:6px; }
  .gd-tabs .gd-print{ margin-left:0; }
}
@media (prefers-reduced-motion:reduce){ .gd-card, .gd-tabs button{ transition:none; } }

@media print{
  :root[data-mode], html, body{ background:#fff !important; color:#000 !important; }
  .landing{ background:#fff !important; color:#000 !important; }
  .ld-bar, .ld-foot, .fq-cta, .fq-wrap, .gd-tabs, .gd-faq, .gd-related, .gd-crumbs, .gd-updated, .gd-lead, .gd-article > h1, .gd-article > h2, .gd-article > p, .gd-article > ul, .gd-answer{ display:none !important; }
  .gd-article{ padding:0; max-width:none; }
  .gd-chartset{ break-inside:avoid; }
  .gd-chartset h3, .gd-chart caption, .gd-chart th, .gd-rules, .gd-legend{ color:#000 !important; }
  .gd-chart td{ -webkit-print-color-adjust:exact; print-color-adjust:exact; height:22px; }
  .gd-legend .a{ -webkit-print-color-adjust:exact; print-color-adjust:exact; }
  .gd-scroll{ overflow:visible; }
}

/* Buchstaben in den Zellen je Sprache (wie in der App), von tools/build-guides.mjs erzeugt */
/* letters:start */
html[lang="de"] .a-H::after{content:"Z"}
html[lang="de"] .a-S::after{content:"S"}
html[lang="de"] .a-D::after{content:"D"}
html[lang="de"] .a-Ds::after{content:"Ds"}
html[lang="de"] .a-P::after{content:"P"}
html[lang="de"] .a-R::after{content:"A"}
html[lang="de"] .a-Rs::after{content:"As"}
html[lang="de"] .a-Rp::after{content:"Ap"}
html[lang="en"] .a-H::after{content:"H"}
html[lang="en"] .a-S::after{content:"S"}
html[lang="en"] .a-D::after{content:"D"}
html[lang="en"] .a-Ds::after{content:"Ds"}
html[lang="en"] .a-P::after{content:"P"}
html[lang="en"] .a-R::after{content:"R"}
html[lang="en"] .a-Rs::after{content:"Rs"}
html[lang="en"] .a-Rp::after{content:"Rp"}
html[lang="es"] .a-H::after{content:"H"}
html[lang="es"] .a-S::after{content:"S"}
html[lang="es"] .a-D::after{content:"D"}
html[lang="es"] .a-Ds::after{content:"Ds"}
html[lang="es"] .a-P::after{content:"P"}
html[lang="es"] .a-R::after{content:"R"}
html[lang="es"] .a-Rs::after{content:"Rs"}
html[lang="es"] .a-Rp::after{content:"Rp"}
html[lang="fr"] .a-H::after{content:"T"}
html[lang="fr"] .a-S::after{content:"R"}
html[lang="fr"] .a-D::after{content:"D"}
html[lang="fr"] .a-Ds::after{content:"Dr"}
html[lang="fr"] .a-P::after{content:"S"}
html[lang="fr"] .a-R::after{content:"A"}
html[lang="fr"] .a-Rs::after{content:"Ar"}
html[lang="fr"] .a-Rp::after{content:"As"}
html[lang="it"] .a-H::after{content:"C"}
html[lang="it"] .a-S::after{content:"S"}
html[lang="it"] .a-D::after{content:"R"}
html[lang="it"] .a-Ds::after{content:"Rs"}
html[lang="it"] .a-P::after{content:"D"}
html[lang="it"] .a-R::after{content:"A"}
html[lang="it"] .a-Rs::after{content:"As"}
html[lang="it"] .a-Rp::after{content:"Ad"}
html[lang="pt"] .a-H::after{content:"H"}
html[lang="pt"] .a-S::after{content:"S"}
html[lang="pt"] .a-D::after{content:"D"}
html[lang="pt"] .a-Ds::after{content:"Ds"}
html[lang="pt"] .a-P::after{content:"P"}
html[lang="pt"] .a-R::after{content:"R"}
html[lang="pt"] .a-Rs::after{content:"Rs"}
html[lang="pt"] .a-Rp::after{content:"Rp"}
html[lang="nl"] .a-H::after{content:"H"}
html[lang="nl"] .a-S::after{content:"S"}
html[lang="nl"] .a-D::after{content:"D"}
html[lang="nl"] .a-Ds::after{content:"Ds"}
html[lang="nl"] .a-P::after{content:"P"}
html[lang="nl"] .a-R::after{content:"R"}
html[lang="nl"] .a-Rs::after{content:"Rs"}
html[lang="nl"] .a-Rp::after{content:"Rp"}
html[lang="pl"] .a-H::after{content:"H"}
html[lang="pl"] .a-S::after{content:"S"}
html[lang="pl"] .a-D::after{content:"D"}
html[lang="pl"] .a-Ds::after{content:"Ds"}
html[lang="pl"] .a-P::after{content:"P"}
html[lang="pl"] .a-R::after{content:"R"}
html[lang="pl"] .a-Rs::after{content:"Rs"}
html[lang="pl"] .a-Rp::after{content:"Rp"}
html[lang="cs"] .a-H::after{content:"K"}
html[lang="cs"] .a-S::after{content:"S"}
html[lang="cs"] .a-D::after{content:"Z"}
html[lang="cs"] .a-Ds::after{content:"Zs"}
html[lang="cs"] .a-P::after{content:"R"}
html[lang="cs"] .a-R::after{content:"V"}
html[lang="cs"] .a-Rs::after{content:"Vs"}
html[lang="cs"] .a-Rp::after{content:"Vr"}
html[lang="ru"] .a-H::after{content:"H"}
html[lang="ru"] .a-S::after{content:"S"}
html[lang="ru"] .a-D::after{content:"D"}
html[lang="ru"] .a-Ds::after{content:"Ds"}
html[lang="ru"] .a-P::after{content:"P"}
html[lang="ru"] .a-R::after{content:"R"}
html[lang="ru"] .a-Rs::after{content:"Rs"}
html[lang="ru"] .a-Rp::after{content:"Rp"}
/* letters:end */
