/* ===========================================================
   Hühnerstall-Ratgeber — unabhängiges Magazin zur Hühnerhaltung
   Design system v2 · warm editorial · illustrated
   =========================================================== */

/* Self-hosted fonts (DSGVO: keine Anfrage an Google) */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/fraunces-400.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/fraunces-600.woff2') format('woff2');}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/fraunces-700.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/inter-400.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/inter-500.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/inter-600.woff2') format('woff2');}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/inter-700.woff2') format('woff2');}

:root {
  --green-900: #16352a;
  --green-700: #2c5a43;
  --green-500: #4a7c59;
  --green-300: #8fb89a;
  --green-100: #e6f0e8;
  --sand:      #f7f2e9;
  --sand-2:    #efe7d6;
  --sand-3:    #e6dcc6;
  --ink:       #23231f;
  --ink-soft:  #5c574c;
  --rust:      #c05a2c;
  --rust-dark: #9c4421;
  --gold:      #e0a83c;
  --white:     #ffffff;
  --border:    #e2d9c6;
  --radius:    16px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 10px rgba(22, 53, 42, 0.06);
  --shadow:    0 10px 30px rgba(22, 53, 42, 0.10);
  --shadow-lg: 0 22px 50px rgba(22, 53, 42, 0.16);
  --maxw: 1120px;
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background-color: var(--sand);
  background-image:
    radial-gradient(circle at 12% -5%, rgba(74,124,89,0.10), transparent 40%),
    radial-gradient(circle at 90% 0%, rgba(192,90,44,0.07), transparent 45%);
  background-attachment: fixed;
  line-height: 1.72;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-700); text-underline-offset: 2px; }
a:hover { color: var(--rust); }
img, svg { max-width: 100%; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 233, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding-top: 13px; padding-bottom: 13px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  text-decoration: none; color: var(--green-900);
  font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.2px;
}
.brand .logo {
  width: 40px; height: 40px; flex: 0 0 40px;
  display: grid; place-items: center; font-size: 1.35rem;
  background: var(--green-900); color: #fff; border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.nav a {
  color: var(--ink-soft); text-decoration: none;
  font-size: 0.93rem; font-weight: 500; padding: 7px 12px; border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav a:hover { color: var(--green-900); background: rgba(74,124,89,0.12); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 130% at 80% -10%, #2c5a43 0%, #16352a 60%);
  color: #fff;
}
.hero .container {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px;
  align-items: center; padding-top: 64px; padding-bottom: 64px;
}
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase;
  color: #cfe3d4; background: rgba(255,255,255,0.10);
  padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.16);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5.2vw, 3.5rem); line-height: 1.08; letter-spacing: -0.5px;
  margin: 0 0 18px; max-width: 16ch;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p.sub { font-size: 1.15rem; color: #dceadf; max-width: 50ch; margin: 0 0 30px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgba(0,0,0,0.22)); }
.hero-art img { width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 50px rgba(0,0,0,0.30); }
img.logo { object-fit: cover; padding: 0; }
.article-hero, .page-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; margin: 22px 0 6px; box-shadow: var(--shadow-sm); display: block; }
.hero .trust {
  margin-top: 26px; display: flex; gap: 18px; flex-wrap: wrap;
  font-size: 0.86rem; color: #b9cfbf;
}
.hero .trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero .trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--rust); color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  box-shadow: 0 10px 22px rgba(192,90,44,0.35);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { background: var(--rust-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(192,90,44,0.4); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 62ch; margin-bottom: 36px; }
.section-title {
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--green-900); margin: 0 0 10px; letter-spacing: -0.3px;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; border-radius: 4px;
  background: var(--rust); margin-top: 14px;
}
.section-intro { color: var(--ink-soft); margin: 0; font-size: 1.05rem; }

/* ---------- Card grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 26px; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--green-300); }
.card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-100); }
.card .thumb svg, .card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card .body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card .tag {
  align-self: flex-start; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.7px;
  color: var(--rust); font-weight: 700; background: rgba(192,90,44,0.10);
  padding: 4px 10px; border-radius: 999px; margin-bottom: 13px;
}
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 1.27rem; margin: 0 0 10px; line-height: 1.28; }
.card h3 a { text-decoration: none; color: var(--green-900); }
.card h3 a:hover { color: var(--rust); }
.card p { margin: 0 0 18px; color: var(--ink-soft); font-size: 0.97rem; }
.card .more { margin-top: auto; font-weight: 600; text-decoration: none; font-size: 0.95rem; color: var(--rust); }
.card .more:hover { color: var(--rust-dark); }

/* feature row (value props) */
.feature {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 26px 28px; box-shadow: var(--shadow-sm);
}
.feature .ico {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: var(--green-100); margin-bottom: 16px;
}
.feature .ico svg { width: 26px; height: 26px; }
.feature h3 { font-family: var(--serif); font-weight: 600; color: var(--green-900); margin: 0 0 8px; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- Article ---------- */
.article {
  position: relative; background: var(--white);
  margin: 44px auto; max-width: 800px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: 56px 64px 60px;
}
.article::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--green-700), var(--green-500) 45%, var(--gold) 80%, var(--rust));
}
.breadcrumb { font-size: 0.84rem; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumb a { text-decoration: none; }
.article .kicker {
  display: inline-block; color: var(--rust); text-transform: uppercase; letter-spacing: 0.8px;
  font-weight: 700; font-size: 0.76rem; background: rgba(192,90,44,0.10);
  padding: 5px 12px; border-radius: 999px;
}
.article h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.95rem, 4.2vw, 2.7rem); line-height: 1.14; letter-spacing: -0.4px;
  color: var(--green-900); margin: 16px 0 14px;
}
.meta { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--border); }
.article p, .article ul, .article ol { font-size: 1.07rem; }
.article > .lead { font-size: 1.25rem; line-height: 1.6; color: #3a382f; }
.article > .lead::first-letter {
  float: left; font-family: var(--serif); font-weight: 600; color: var(--green-700);
  font-size: 3.4rem; line-height: 0.82; padding: 8px 12px 0 0;
}
.article h2 {
  font-family: var(--serif); font-weight: 600; font-size: 1.55rem; color: var(--green-900);
  margin: 40px 0 12px; padding-left: 16px; border-left: 4px solid var(--green-500); letter-spacing: -0.2px;
}
.article h3 { font-family: var(--serif); font-weight: 600; color: var(--green-900); margin: 28px 0 8px; font-size: 1.2rem; }
.article ul li, .article ol li { margin-bottom: 7px; }
.article blockquote {
  position: relative; border: none; background: var(--green-100);
  margin: 30px 0; padding: 26px 28px 26px 64px; border-radius: 14px;
  color: var(--green-900); font-family: var(--serif); font-size: 1.2rem; font-style: italic; line-height: 1.5;
}
.article blockquote::before {
  content: "\201C"; position: absolute; left: 20px; top: 6px;
  font-family: var(--serif); font-size: 3.4rem; color: var(--green-300); line-height: 1;
}

.tldr {
  background: linear-gradient(180deg, var(--sand-2), var(--sand)); border: 1px solid var(--border);
  border-radius: 16px; padding: 22px 26px; margin: 30px 0;
}
.tldr strong { color: var(--green-900); font-size: 1.02rem; }
.tldr ul { margin: 10px 0 0; padding-left: 20px; }
.tldr ul li::marker { color: var(--rust); }

table.compare { width: 100%; border-collapse: separate; border-spacing: 0; margin: 28px 0; font-size: 0.98rem; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
table.compare th, table.compare td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
table.compare thead th { background: var(--green-700); color: #fff; font-weight: 600; }
table.compare tbody tr:last-child td { border-bottom: none; }
table.compare tbody tr:nth-child(even) td { background: #faf7f0; }

.disclosure {
  font-size: 0.9rem; color: var(--ink-soft); background: #fbf7ee;
  border: 1px solid var(--border); border-left: 4px solid var(--gold);
  border-radius: 10px; padding: 14px 18px; margin: 26px 0;
}

.sources { margin-top: 42px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--ink-soft); }
.sources h2 { font-size: 1.1rem; margin: 0 0 10px; border: none; padding: 0; }
.sources ol { padding-left: 20px; }
.sources li { margin-bottom: 5px; }

.related { margin-top: 40px; padding: 26px 28px; background: var(--sand-2); border-radius: 16px; }
.related h2 { font-size: 1.15rem; margin: 0 0 14px; border: none; padding: 0; font-family: var(--serif); color: var(--green-900); }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.related a { text-decoration: none; font-weight: 600; color: var(--green-700); }
.related a:hover { color: var(--rust); }

/* ---------- Generic page ---------- */
.page {
  position: relative; background: var(--white); margin: 44px auto; max-width: 800px;
  border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 50px 60px;
}
.page::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(90deg, var(--green-700), var(--gold) 80%, var(--rust));
}
.page h1 { font-family: var(--serif); font-weight: 600; color: var(--green-900); font-size: 2.1rem; letter-spacing: -0.3px; }
.page h2 { font-family: var(--serif); font-weight: 600; color: var(--green-900); margin-top: 32px; font-size: 1.35rem; }
.page .lead { font-size: 1.18rem; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: #cfe0d4; padding: 52px 0 30px; margin-top: 56px; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 34px; }
.site-footer .brand-foot { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; color: #fff; font-family: var(--serif); font-size: 1.2rem; font-weight: 600; }
.site-footer .brand-foot .logo { width: 38px; height: 38px; display: grid; place-items: center; background: rgba(255,255,255,0.10); border-radius: 11px; font-size: 1.2rem; }
.site-footer h4 { color: #fff; margin: 0 0 13px; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.7px; }
.site-footer a { color: #cfe0d4; text-decoration: none; display: block; margin-bottom: 8px; font-size: 0.95rem; }
.site-footer a:hover { color: #fff; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.14); padding-top: 20px; font-size: 0.85rem; color: #9fbaa8; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.site-footer .legal a { display: inline; color: #cfe0d4; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
  .hero-art { max-width: 420px; order: -1; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .article { padding: 36px 24px 40px; border-radius: 20px; }
  .article > .lead::first-letter { font-size: 2.8rem; }
  .page { padding: 34px 24px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .nav { gap: 2px; }
  .nav a { padding: 6px 9px; font-size: 0.88rem; }
}
