/* Ratgeber-Seiten — gleiche Design-Sprache wie der Rechner (dark Navy, Teal-Akzent, Inter) */
@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/Inter.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --accent: #00D4B2;
  --accent-700: #00BFA5;
  --ice: #FF6B35;
  --bg: #060A14;
  --bg-2: #0C1220;
  --card: #0F1628;
  --card-2: #162038;
  --text: #EEF2FF;
  --text-2: #93A5C9;
  --muted: #5C6F9C;
  --line: rgba(255,255,255,0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.rg-header {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 860px; margin: 0 auto; padding: 20px 24px;
}
.rg-logo { font-size: 19px; font-weight: 800; letter-spacing: -0.03em; color: var(--text); }
.rg-logo:hover { text-decoration: none; }
.rg-logo span { color: var(--accent); }
.rg-cta {
  background: var(--accent); color: #060A14; font-weight: 700; font-size: 14px;
  padding: 9px 18px; border-radius: 10px; white-space: nowrap;
}
.rg-cta:hover { text-decoration: none; filter: brightness(1.08); }

.rg-main { max-width: 720px; margin: 0 auto; padding: 24px 24px 64px; }
.rg-breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 28px; }
.rg-breadcrumb a { color: var(--muted); }
.rg-breadcrumb a:hover { color: var(--accent); }
.rg-breadcrumb span { color: var(--text-2); }

.rg-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-700); margin-bottom: 12px;
}
article h1 { font-size: 33px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 16px; }
.rg-lead { font-size: 17.5px; color: var(--text-2); margin-bottom: 12px; }
.rg-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 36px; }
article h2 { font-size: 23px; font-weight: 700; letter-spacing: -0.02em; margin: 40px 0 12px; }
article h3 { font-size: 17px; font-weight: 700; margin: 24px 0 8px; }
article p { color: var(--text-2); margin-bottom: 14px; }
article strong { color: var(--text); font-weight: 600; }
article ul, article ol { color: var(--text-2); margin: 0 0 14px 22px; }
article li { margin-bottom: 7px; }
article li::marker { color: var(--accent-700); }

.rg-table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--text-2); white-space: nowrap; }
th { background: var(--card); color: var(--text); font-weight: 700; font-size: 13px; }
tr:last-child td { border-bottom: 0; }
td:first-child { color: var(--text); font-weight: 600; }
.num { font-variant-numeric: tabular-nums; }

.rg-note {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 12px; padding: 14px 18px; font-size: 14.5px; color: var(--text-2); margin: 18px 0;
}
.rg-note strong { color: var(--text); }

.rg-cta-box {
  background: linear-gradient(135deg, var(--card-2), var(--card));
  border: 1px solid rgba(0,212,178,0.25); border-radius: 18px;
  padding: 28px; margin: 44px 0 8px; text-align: center;
}
.rg-cta-box h2 { margin: 0 0 8px; font-size: 21px; }
.rg-cta-box p { margin-bottom: 18px; font-size: 15px; }
.rg-btn {
  display: inline-block; background: var(--accent); color: #060A14; font-weight: 700;
  font-size: 15px; padding: 13px 28px; border-radius: 12px;
}
.rg-btn:hover { text-decoration: none; filter: brightness(1.08); }

.rg-related { max-width: 720px; margin: 0 auto; padding: 0 24px 56px; }
.rg-related h2 { font-size: 19px; font-weight: 700; margin-bottom: 16px; }
.rg-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.rg-card {
  display: block; background: var(--card); border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 18px; transition: border-color 0.2s, transform 0.2s;
}
.rg-card:hover { text-decoration: none; border-color: rgba(0,212,178,0.35); transform: translateY(-2px); }
.rg-card h3 { font-size: 14.5px; font-weight: 700; color: var(--text); margin: 0 0 5px; }
.rg-card p { font-size: 12.5px; line-height: 1.55; color: var(--text-2); margin: 0; }

.rg-footer {
  border-top: 1px solid var(--line); padding: 26px 24px 40px;
  text-align: center; font-size: 12.5px; color: var(--muted);
}
.rg-footer a { color: var(--muted); }
.rg-footer a:hover { color: var(--accent); }

@media (max-width: 560px) {
  article h1 { font-size: 27px; }
  article h2 { font-size: 20px; }
  .rg-main { padding: 16px 18px 48px; }
}
