/* ============================================================================
   heizoeltank24 — Ratgeber / organischer Teil
   Editoriales Layout (Nav, Artikel, FAQ, CTA, Hub). Nutzt Brand-Tokens aus
   brand.css. Eigenständige Site-Chrome MIT Navigation (anders als die
   Conversion-LPs) — verlinkt in die LPs (Einbahn: Wissen -> Landing).
   ========================================================================== */

.rg-body {
  background: #fff;
  color: #1f2937;
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

/* ---- Header / Nav ---- */
.rg-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-top: 3px solid var(--hl-at-red);
  border-bottom: 1px solid var(--hl-line);
}
.rg-nav {
  max-width: 1140px; margin: 0 auto;
  display: flex; align-items: center; gap: 1.25rem;
  padding: 0.7rem 1.25rem;
}
.rg-nav-logo { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--hl-brand); text-decoration: none; }
.rg-nav-logo .hl-logo-accent { color: var(--hl-accent); }
.rg-nav-links { display: none; gap: 1.4rem; margin-left: auto; align-items: center; }
.rg-nav-links a { color: #374151; text-decoration: none; font-size: 0.95rem; font-weight: 600; }
.rg-nav-links a:hover { color: var(--hl-brand); }
.rg-nav-cta {
  background: linear-gradient(135deg, #10b981, #059669); color: #fff !important;
  padding: 0.5rem 1rem; border-radius: 9px; box-shadow: 0 3px 10px rgba(16,185,129,.25);
}
.rg-nav-cta:hover { color: #fff !important; }
.rg-nav-cta-m { display: none; }
@media (min-width: 880px) { .rg-nav-links { display: flex; } }
@media (max-width: 879px) { .rg-nav-cta-m { display: inline-block; margin-left: auto; } }

/* ---- Breadcrumb ---- */
.rg-breadcrumb { max-width: 760px; margin: 0 auto; padding: 1.25rem 1.25rem 0; font-size: 0.82rem; color: var(--hl-muted); }
.rg-breadcrumb a { color: var(--hl-muted); text-decoration: none; }
.rg-breadcrumb a:hover { color: var(--hl-brand); text-decoration: underline; }

/* ---- Hero-Bild ---- */
.rg-hero {
  max-width: 1000px; margin: 1rem auto 0; padding: 0 1.25rem;
}
.rg-hero-inner {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, #0b3d5c 0%, #0a3142 55%, #082f47 100%);
  display: flex; align-items: center; justify-content: center;
}
.rg-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Platzhalter-Hero (ohne Foto): Marken-Verlauf + Kategorie + Icon */
.rg-hero-ph { color: rgba(255,255,255,.9); display: flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 1.5rem; text-align: center; }
.rg-hero-ph svg { width: 56px; height: 56px; opacity: 0.95; color: #10b981; }
.rg-hero-ph .rg-hero-cat { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.75); }

/* ---- Artikel ---- */
.rg-article { max-width: 760px; margin: 0 auto; padding: 0 1.25rem 1rem; }
.rg-eyebrow { display: inline-block; margin: 2rem 0 0.6rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hl-accent); }
.rg-article h1 { font-size: clamp(1.7rem, 4.4vw, 2.5rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.025em; color: var(--hl-ink); margin: 0 0 1rem; }
.rg-lead { font-size: 1.18rem; line-height: 1.6; color: #334155; margin: 0 0 1.25rem; }
.rg-meta-line { font-size: 0.82rem; color: var(--hl-muted); padding-bottom: 1.25rem; border-bottom: 1px solid var(--hl-line); margin-bottom: 0.5rem; }

.rg-section { padding: 1.75rem 0; }
.rg-section + .rg-section { border-top: 1px solid #f1f5f9; }
.rg-section h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--hl-ink); margin: 0 0 0.9rem; line-height: 1.25; }
.rg-section h3 { font-size: 1.15rem; font-weight: 700; color: #1e293b; margin: 1.5rem 0 0.6rem; }
.rg-prose p { margin: 0 0 1rem; color: #334155; }
.rg-prose ul, .rg-prose ol { margin: 0.75rem 0 1.25rem; padding-left: 1.4rem; color: #334155; }
.rg-prose li { margin-bottom: 0.5rem; }
.rg-prose strong { color: var(--hl-ink); }
.rg-prose a { color: var(--hl-brand); text-decoration: underline; }
.rg-prose a:hover { color: var(--hl-brand-700); }

/* Callout-Box */
.rg-callout {
  background: #f0fbf6; border: 1px solid #bbf7d0; border-left: 4px solid var(--hl-accent);
  border-radius: 10px; padding: 1rem 1.2rem; margin: 1.25rem 0;
}
.rg-callout p { margin: 0; color: #14543e; }
.rg-callout strong { color: #0a3d2c; }
/* Hinweis/Recht-Box (neutraler) */
.rg-note { background: #f8fafc; border: 1px solid var(--hl-line); border-left: 4px solid var(--hl-brand); border-radius: 10px; padding: 1rem 1.2rem; margin: 1.25rem 0; }
.rg-note p { margin: 0 0 0.5rem; color: #475569; font-size: 0.95rem; }
.rg-note p:last-child { margin: 0; }

/* ---- FAQ ---- */
.rg-faq { background: var(--hl-bg-soft); border-top: 1px solid var(--hl-line); padding: 2.75rem 1.25rem; }
.rg-faq-inner { max-width: 760px; margin: 0 auto; }
.rg-faq h2 { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; color: var(--hl-ink); margin: 0 0 1.5rem; }
.rg-faq-item { background: #fff; border: 1px solid var(--hl-line); border-radius: 12px; margin-bottom: 0.75rem; overflow: hidden; }
.rg-faq-item[open] { border-color: var(--hl-brand); }
.rg-faq-q { list-style: none; cursor: pointer; padding: 1.05rem 1.2rem; font-weight: 700; color: var(--hl-ink); display: flex; justify-content: space-between; gap: 1rem; }
.rg-faq-q::-webkit-details-marker { display: none; }
.rg-faq-q::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--hl-brand); line-height: 1; transition: transform .2s ease; }
.rg-faq-item[open] .rg-faq-q::after { transform: rotate(45deg); }
.rg-faq-a { padding: 0 1.2rem 1.1rem; color: #475569; }
.rg-faq-a p { margin: 0; }

/* ---- CTA (Wissen -> Landing) ---- */
.rg-cta { background: linear-gradient(135deg, #0b3d5c, #082f47); color: #fff; padding: 2.75rem 1.25rem; }
.rg-cta-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.rg-cta h2 { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.6rem; color: #fff; }
.rg-cta p { color: #cbd5e1; margin: 0 0 1.4rem; font-size: 1.02rem; }
.rg-cta-btn { display: inline-block; background: linear-gradient(135deg, #10b981, #059669); color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; padding: 0.95rem 1.8rem; border-radius: 12px; box-shadow: 0 6px 20px rgba(16,185,129,.3); }
.rg-cta-btn:hover { transform: translateY(-1px); }
.rg-cta-sub { font-size: 0.8rem; color: #94a3b8; margin-top: 0.9rem !important; }

/* ---- Related ---- */
.rg-related { max-width: 760px; margin: 0 auto; padding: 2rem 1.25rem; }
.rg-related-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--hl-muted); margin-bottom: 0.75rem; }
.rg-related-links { display: flex; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.rg-related-links a { font-size: 0.9rem; font-weight: 600; color: var(--hl-brand); text-decoration: none; background: #f1f5f9; border-radius: 8px; padding: 0.4rem 0.8rem; }
.rg-related-links a:hover { background: #e2e8f0; }

/* ---- Footer ---- */
.rg-footer { background: #0f172a; color: #94a3b8; padding: 2.5rem 1.25rem 1.75rem; }
.rg-footer-inner { max-width: 1140px; margin: 0 auto; }
.rg-footer-cols { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.75rem; }
@media (min-width: 720px) { .rg-footer-cols { grid-template-columns: 1.2fr 1fr 1fr; } }
.rg-footer-col h4 { color: #fff; font-size: 0.92rem; margin: 0 0 0.75rem; }
.rg-footer-col a { display: block; color: #94a3b8; text-decoration: none; font-size: 0.88rem; padding: 0.2rem 0; }
.rg-footer-col a:hover { color: #e2e8f0; }
.rg-footer-brand { font-size: 1.1rem; font-weight: 800; color: #fff; }
.rg-footer-brand .hl-logo-accent { color: var(--hl-accent); }
.rg-footer-tagline { font-size: 0.85rem; color: #94a3b8; margin-top: 0.5rem; max-width: 280px; }
.rg-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; font-size: 0.78rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; justify-content: space-between; }
.rg-footer-bottom a { color: #94a3b8; text-decoration: none; }

/* ============================================================================
   Ratgeber-Hub
   ========================================================================== */
.rg-hub-hero { background: linear-gradient(180deg, #eef4f7 0%, #fff 70%); padding: 3rem 1.25rem 2rem; text-align: center; }
.rg-hub-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -0.025em; color: var(--hl-ink); margin: 0 0 0.75rem; }
.rg-hub-hero p { max-width: 620px; margin: 0 auto; color: #475569; font-size: 1.1rem; }
.rg-hub { max-width: 1080px; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
.rg-cluster { margin-top: 2.5rem; }
.rg-cluster-head h2 { font-size: 1.4rem; font-weight: 800; color: var(--hl-ink); margin: 0 0 0.3rem; letter-spacing: -0.02em; }
.rg-cluster-head p { color: var(--hl-muted); margin: 0 0 1.1rem; font-size: 0.98rem; }
.rg-card-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
@media (min-width: 640px) { .rg-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .rg-card-grid { grid-template-columns: repeat(3, 1fr); } }
.rg-card { display: block; border: 1px solid var(--hl-line); border-radius: 12px; padding: 1.1rem 1.2rem; text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
.rg-card:hover { border-color: var(--hl-brand); box-shadow: 0 6px 20px rgba(11,61,92,.08); transform: translateY(-2px); }
.rg-card-title { color: var(--hl-ink); font-weight: 700; font-size: 1rem; line-height: 1.3; margin: 0 0 0.35rem; }
.rg-card-desc { color: var(--hl-muted); font-size: 0.86rem; line-height: 1.45; margin: 0; }

/* ============================================================================
   Redaktioneller Hero OHNE Foto (SITE.imagesReady=false) — Blueprint-Look.
   Bewusst gestaltet (kein „leerer Platzhalter"); nie fachlich falsch.
   ========================================================================== */
.rg-hero-inner--ph {
  aspect-ratio: auto;
  min-height: 190px;
  background: linear-gradient(135deg, #0b3d5c 0%, #0a3344 58%, #07283a 100%);
  position: relative;
  overflow: hidden;
}
@media (min-width: 740px) { .rg-hero-inner--ph { min-height: 240px; } }
.rg-hero-inner--ph::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
}
.rg-hero-ph { position: relative; z-index: 1; gap: 1rem; }
.rg-hero-ph-icon {
  display: flex; align-items: center; justify-content: center;
  width: 76px; height: 76px; border-radius: 16px;
  color: #34d399;
  background: rgba(52, 211, 153, 0.08);
  border: 1px solid rgba(52, 211, 153, 0.25);
}
.rg-hero-ph-icon svg { width: 42px; height: 42px; }
.rg-hero-inner--ph .rg-hero-cat { font-size: 0.82rem; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.82); }
