/* Gartenplaner – Ratgeber: gemeinsames Stylesheet (gleiche Designsprache wie die Landing Page) */
:root {
  --bg:#ffffff; --bg2:#f2f7ec; --text:#141a0c; --muted:#5c6b4f;
  --accent:#3d6621; --accent-h:#2d4e18; --accent-l:#eaf3e1; --border:#dce8d2;
  --card:#ffffff; --shadow:0 2px 16px rgba(20,42,16,.08);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg:#0f1a09; --bg2:#162010; --text:#deeacc; --muted:#7a9b60;
    --accent:#65b832; --accent-h:#78d03c; --accent-l:#192e0e; --border:#273d18;
    --card:#172210; --shadow:0 2px 16px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg:#0f1a09; --bg2:#162010; --text:#deeacc; --muted:#7a9b60;
  --accent:#65b832; --accent-h:#78d03c; --accent-l:#192e0e; --border:#273d18;
  --card:#172210; --shadow:0 2px 16px rgba(0,0,0,.35);
}
:root[data-theme="light"] {
  --bg:#ffffff; --bg2:#f2f7ec; --text:#141a0c; --muted:#5c6b4f;
  --accent:#3d6621; --accent-h:#2d4e18; --accent-l:#eaf3e1; --border:#dce8d2;
  --card:#ffffff; --shadow:0 2px 16px rgba(20,42,16,.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: Georgia, 'Palatino Linotype', Palatino, serif; text-wrap: balance; line-height: 1.2; }
a { color: var(--accent); }
a:hover { color: var(--accent-h); }

/* Kopfzeile */
.nav {
  position: sticky; top: 0; z-index: 10; background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 40px); height: 56px;
}
.nav-brand { font-family: Georgia, serif; font-size: 16px; font-weight: 700; color: var(--accent); }
.nav-brand:hover { text-decoration: none; }
.nav-cta {
  background: var(--accent); color: #fff; padding: 7px 16px; border-radius: 22px;
  font-size: 13px; font-weight: 700; text-decoration: none;
}
.nav-cta:hover { background: var(--accent-h); color: #fff; text-decoration: none; }

/* Artikel-Layout */
.wrap { max-width: 720px; margin: 0 auto; padding: clamp(28px, 5vw, 56px) clamp(18px, 4vw, 28px); }
.article-hero {
  display: block; width: 100%; height: clamp(180px, 34vw, 300px);
  object-fit: cover; border-radius: 16px; margin-bottom: 26px;
  box-shadow: var(--shadow);
}
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
article h1 { font-size: clamp(27px, 4.5vw, 40px); letter-spacing: -0.02em; margin-bottom: 18px; }
article h2 { font-size: clamp(20px, 3vw, 26px); margin: 38px 0 12px; letter-spacing: -0.01em; }
article p { margin: 0 0 16px; font-size: 17px; }
article .lead { font-size: 19px; color: var(--text); }
article strong { color: var(--text); font-weight: 700; }
article ol, article ul { margin: 0 0 16px 22px; }
article li { margin-bottom: 8px; font-size: 17px; }
hr.sep { border: none; border-top: 1px solid var(--border); margin: 30px 0; }

/* Tabelle (Artikel 3) */
.tbl-wrap { overflow-x: auto; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { color: var(--accent); font-weight: 700; }

/* CTA-Kasten am Artikelende */
.cta-box {
  background: var(--accent-l); border-radius: 14px; padding: 22px 22px;
  margin: 34px 0 10px; border: 1px solid var(--border);
}
.cta-box p { font-size: 16px; margin-bottom: 14px; }
.cta-btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 11px 22px; border-radius: 26px; font-weight: 700; font-size: 15px; text-decoration: none;
}
.cta-btn:hover { background: var(--accent-h); color: #fff; text-decoration: none; }

/* Weiterlesen */
.related { margin-top: 44px; border-top: 1px solid var(--border); padding-top: 24px; }
.related h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 14px; }
.related a { display: block; font-family: Georgia, serif; font-size: 18px; margin-bottom: 10px; }

/* Ratgeber-Index */
.rg-card {
  display: block; background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; margin-bottom: 16px; box-shadow: var(--shadow); text-decoration: none; color: var(--text);
  transition: transform .12s, box-shadow .12s;
}
.rg-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20,42,16,.12); text-decoration: none; color: var(--text); }
.rg-thumb { display: block; width: 100%; height: 170px; object-fit: cover; }
.rg-body { padding: 18px 22px; }
.rg-card h2 { font-size: 21px; margin: 0 0 6px; color: var(--accent); }
.rg-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* Fußzeile */
footer { border-top: 1px solid var(--border); padding: 22px clamp(16px, 4vw, 40px); text-align: center; }
footer, footer a { font-size: 13px; color: var(--muted); }
