/* dogtherapie.de — Magazin für Hundetherapie
   Warm-natürliche Palette · Mobile-first · Keine externen Bilder im Hero (CSS-Verlauf) */

:root {
  --paper: #fbf7ef;
  --paper-2: #f4ecdd;
  --paper-3: #ede2cd;
  --ink: #2b2118;
  --ink-soft: #4a3b2c;
  --muted: #7c6b54;
  --terra: #b65c33;
  --terra-deep: #8f4423;
  --moss: #5c6b4c;
  --moss-deep: #333d2c;
  --gold: #c29450;
  --line: #e3d7c0;
  --card: #fffdf8;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(63, 48, 30, 0.10);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; border-radius: 12px; }
a { color: var(--terra-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; color: var(--ink); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.section { padding: 56px 0; }
.kicker {
  display: inline-block; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--terra); margin: 0 0 14px;
}
.crumbs { font-size: 13.5px; color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: var(--muted); border-bottom: 1px dotted var(--line); }
.crumbs a:hover { color: var(--terra-deep); text-decoration: none; }

/* ---------- Navbar ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 239, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  max-width: 1120px; margin: 0 auto; padding: 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-size: 21px; font-weight: 700; color: var(--ink);
}
.brand:hover { text-decoration: none; }
.brand .tld { color: var(--terra); }
nav.main { display: flex; gap: 4px; flex-wrap: wrap; }
nav.main a {
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  padding: 7px 11px; border-radius: 999px;
}
nav.main a:hover { background: var(--paper-2); text-decoration: none; color: var(--terra-deep); }
nav.main a[aria-current="page"] { background: var(--moss); color: #f7f3e8; }

/* ---------- Hero (reiner CSS-Verlauf, keine Datei) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fdfaf3;
  background:
    radial-gradient(1100px 620px at 82% -10%, rgba(198, 122, 63, 0.55), transparent 62%),
    radial-gradient(900px 540px at -8% 108%, rgba(92, 107, 76, 0.50), transparent 58%),
    radial-gradient(640px 420px at 45% 118%, rgba(194, 148, 80, 0.35), transparent 60%),
    linear-gradient(158deg, #3a4233 0%, #4a4a37 34%, #6d5138 68%, #8a5433 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(720px 340px at 18% 8%, rgba(255, 244, 224, 0.14), transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; padding: 92px 22px 96px;
}
.hero .kicker { color: #f2d8a7; }
.hero h1 {
  color: #fdfaf3; font-size: clamp(34px, 5.4vw, 60px); max-width: 15ch; margin: 0 0 18px;
}
.hero .lead { font-size: clamp(17px, 2vw, 20px); max-width: 58ch; color: #f3e9d6; margin: 0 0 26px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.chip {
  font-size: 13.5px; font-weight: 500; color: #fdf7ea;
  border: 1px solid rgba(253, 247, 234, 0.38); border-radius: 999px; padding: 6px 14px;
  background: rgba(51, 61, 44, 0.25);
}
.chip.gold { border-color: rgba(242, 216, 167, 0.7); color: #f7e3b6; }
.paw-mark {
  position: absolute; right: -40px; bottom: -60px; width: 380px; height: 380px; opacity: 0.10;
  z-index: 0;
}

/* ---------- Karten / Raster ---------- */
.grid { display: grid; gap: 20px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: 0 1px 2px rgba(63, 48, 30, 0.05);
  display: flex; flex-direction: column; gap: 10px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--paper-2), var(--paper-3)); color: var(--terra-deep);
}
.card h3 { margin: 2px 0 0; font-size: 20.5px; }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.65; }
.card .more { margin-top: auto; font-weight: 600; font-size: 14.5px; }
.card .more:hover { text-decoration: none; color: var(--terra); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 36px); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); max-width: 62ch; }

/* ---------- Kennzahlen-Band ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stats > div {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 20px 16px; text-align: left;
}
.stats .v { font-family: var(--serif); font-size: 30px; font-weight: 600; color: var(--terra-deep); }
.stats .v span { font-size: 16px; color: var(--muted); font-weight: 500; }
.stats .k { font-size: 13.5px; color: var(--muted); margin-top: 4px; line-height: 1.5; }

/* ---------- Artikel ---------- */
.article-header { background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--line); padding: 46px 0 34px; }
.article-header h1 { font-size: clamp(30px, 4.4vw, 46px); margin: 0 0 14px; max-width: 24ch; }
.article-header .lead { font-size: 18.5px; color: var(--ink-soft); max-width: 68ch; margin: 0 0 12px; }
.article-header .meta { font-size: 13.5px; color: var(--muted); margin: 0; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 46px; padding: 46px 0 30px; align-items: start; }
.prose { max-width: 74ch; }
.prose h2 { font-size: clamp(23px, 3vw, 30px); margin: 46px 0 14px; }
.prose h2:first-child { margin-top: 8px; }
.prose h3 { font-size: 19.5px; margin: 30px 0 10px; }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 24px; }
.prose li { margin-bottom: 9px; }
.prose figure { margin: 30px 0; }
.prose figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; line-height: 1.55; }
.num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 12px;
  border-radius: 9px; background: var(--moss); color: #f5f1e4; font-size: 14.5px;
  font-family: var(--sans); font-weight: 600; vertical-align: 3px;
}

/* Boxen */
.note {
  border-left: 4px solid var(--moss); background: #eef0e4; border-radius: 0 12px 12px 0;
  padding: 16px 20px; margin: 26px 0; font-size: 15.5px; color: var(--ink-soft);
}
.note strong { color: var(--moss-deep); }
.note.warm { border-left-color: var(--gold); background: #f8efdd; }
.facts {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 8px 22px 14px; margin: 28px 0;
}
.facts h3 { margin: 14px 0 8px; font-size: 17px; color: var(--moss-deep); }
.facts ul { margin: 0; padding-left: 20px; }
.facts li { font-size: 15.5px; margin-bottom: 6px; }

/* Seitenspalte */
aside.rail { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 20px; }
.rail .box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.rail .box h3 { margin: 0 0 10px; font-size: 16px; }
.rail .box ul { list-style: none; margin: 0; padding: 0; }
.rail .box li { padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.rail .box li:last-child { border-bottom: 0; }

/* Tabellen */
table.specs { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15.5px; background: var(--card); border-radius: 12px; overflow: hidden; }
table.specs th, table.specs td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.specs th { width: 32%; background: var(--paper-2); color: var(--moss-deep); font-weight: 600; }
table.specs tr:last-child td { border-bottom: 0; }

/* Verwandte Lesestücke */
.related { background: var(--paper-2); border-radius: var(--radius); padding: 26px 28px; margin: 40px 0 8px; }
.related h2 { font-size: 22px; margin: 0 0 14px; }
.related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.related li a {
  display: block; background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 13px 16px; font-weight: 500;
}
.related li a:hover { text-decoration: none; border-color: var(--terra); }
.related li small { display: block; color: var(--muted); font-weight: 400; margin-top: 2px; }

/* Galerie */
figure.shot { margin: 0 0 26px; background: var(--paper-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
figure.shot img { width: 100%; border-radius: 0; aspect-ratio: 16 / 8.5; object-fit: cover; background: linear-gradient(140deg, #e9dfc9, #d9cbb0); }
figure.shot figcaption { padding: 14px 20px 16px; font-size: 14.5px; color: var(--ink-soft); }
figure.shot figcaption strong { display: block; font-family: var(--serif); font-size: 17px; margin-bottom: 3px; color: var(--ink); }

/* Medien-Band unter Artikelkopf */
.media-band { height: 7px; background: linear-gradient(90deg, var(--moss) 0%, var(--gold) 45%, var(--terra) 100%); }

/* ---------- Footer ---------- */
footer.site-foot { background: var(--moss-deep); color: #e8e4d4; margin-top: 70px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 34px; padding: 52px 22px 34px; }
.foot-grid h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: #cdbd93; margin: 0 0 14px; font-family: var(--sans); font-weight: 600; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; font-size: 14.5px; }
.foot-grid a { color: #e8e4d4; border-bottom: 1px dotted rgba(232, 228, 212, 0.35); }
.foot-grid a:hover { color: #f2d8a7; text-decoration: none; border-bottom-color: #f2d8a7; }
.foot-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 20px; font-weight: 700; color: #f7f3e8; margin-bottom: 12px; }
.foot-desc { font-size: 14.5px; line-height: 1.65; color: #cfc9b4; max-width: 34ch; }
.foot-note { border-top: 1px solid rgba(232, 228, 212, 0.18); padding: 20px 22px 30px; font-size: 13px; color: #b8b29d; }
.foot-note .wrap { padding: 0; max-width: 1120px; margin: 0 auto; }

/* ---------- Responsiv ---------- */
@media (max-width: 980px) {
  .grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  aside.rail { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 22px 68px; }
  .section { padding: 40px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
}
