/* Design 4 — Österreich-Wein-Stil
   Inspiration: oesterreichwein.at (Weinbaugebiete)
   Charakter: institutionell-seriös, Weinberg-Grün, warme Erdtöne, Sans-Serif */

:root {
  --ink: #1f2a1c;
  --ink-body: #3a4135;
  --ink-muted: #6b726a;
  --ink-soft: #8a8f86;
  --paper: #ffffff;
  --paper-warm: #f6f3ec;
  --paper-cream: #faf7f0;
  --line: #e3ddd0;
  --line-soft: #efe9dc;

  /* Weingarten-Grün als Primärfarbe */
  --green: #3d5f2e;
  --green-dark: #2a4420;
  --green-deep: #1d3015;
  --green-soft: #6b8a52;
  --green-faint: #eaf0df;

  /* Österreich-Rot als Akzent (sparsam eingesetzt) */
  --red: #a8282a;
  --red-dark: #8b1e20;

  /* Warme Erdtöne */
  --ochre: #c88a3a;
  --earth: #8a6b44;

  --sans: "Source Sans 3", -apple-system, "Helvetica Neue", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-body);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

a { color: var(--green); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ===== HEADER ===== */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.header-top { padding: 0; }
.header-top-inner { display: flex; align-items: center; gap: 32px; height: 76px; }

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 50%;
  background:
    linear-gradient(to bottom, var(--red) 0 33%, var(--paper) 33% 66%, var(--red) 66% 100%);
  border: 2px solid var(--green-dark);
  position: relative;
}
.logo-text { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.logo-dot { color: var(--red); }

.site-nav { display: flex; gap: 30px; font-size: 15px; font-weight: 600; flex: 1; }
.site-nav a {
  color: var(--ink);
  padding: 8px 0;
  position: relative;
  letter-spacing: -0.005em;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -30px;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.site-nav a:hover { color: var(--green-dark); text-decoration: none; }
.site-nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; gap: 8px; margin-left: auto; }
.icon-btn { background: none; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; color: var(--ink-body); cursor: pointer; display: grid; place-items: center; transition: all 0.2s; }
.icon-btn:hover { background: var(--paper-warm); border-color: var(--green); color: var(--green); }
.menu-toggle { display: none; position: relative; }
.menu-toggle .icon-close { display: none; }
.menu-toggle.is-active .icon-burger { display: none; }
.menu-toggle.is-active .icon-close { display: block; }

/* ===== MOBILE NAV ===== */
.mobile-nav {
  display: none;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 19;
  overflow-y: auto;
  padding: 28px 0 80px;
  border-top: 1px solid var(--line);
  animation: mobileNavSlide 0.25s ease-out;
}
.mobile-nav.is-open { display: block; }
.mobile-nav .wrap { display: flex; flex-direction: column; gap: 0; }
.mobile-nav a {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  padding: 18px 4px;
  border-bottom: 1px solid var(--line-soft);
  letter-spacing: -0.01em;
}
.mobile-nav a:hover { color: var(--green); text-decoration: none; padding-left: 12px; transition: padding 0.2s, color 0.2s; }
@keyframes mobileNavSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}
body.nav-open { overflow: hidden; }

/* ===== SEARCH OVERLAY ===== */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 48, 21, 0.92);
  z-index: 50;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: searchFadeIn 0.2s ease-out;
}
@keyframes searchFadeIn { from { opacity: 0; } to { opacity: 1; } }
.search-panel {
  background: var(--paper);
  max-height: 100vh;
  overflow-y: auto;
  padding-bottom: 48px;
}
.search-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 22px;
  padding: 12px 4px;
  color: var(--ink);
  outline: none;
  letter-spacing: -0.01em;
}
.search-input::placeholder { color: var(--ink-soft); }
.search-results { padding-top: 32px; min-height: 300px; }
.search-hint { color: var(--ink-muted); font-size: 15px; padding: 40px 0; text-align: center; }
.search-hit {
  display: block;
  padding: 18px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  text-decoration: none;
}
.search-hit:hover { background: var(--paper-warm); padding-left: 12px; padding-right: 12px; transition: all 0.15s; text-decoration: none; }
.search-hit-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.search-hit-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.search-hit-excerpt {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}
body.search-open { overflow: hidden; }

/* ===== SHARE BAND ===== */
.share-band {
  margin: 48px 0 0;
  padding: 24px 0 8px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.share-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-right: 8px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--paper-warm);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-body);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--sans);
}
.share-btn:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--paper);
  text-decoration: none;
  transform: translateY(-1px);
}
.share-btn.is-copied {
  background: var(--green-dark);
  border-color: var(--green-dark);
  color: var(--paper);
}
.share-btn svg { flex-shrink: 0; }

/* ===== HERO ===== */
.hero { position: relative; height: min(380px, 44vh); overflow: hidden; background: var(--green-deep); }
.hero-img-wrap { position: absolute; inset: 0; }
.hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(1.05) contrast(0.95); }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(29,48,21,0.85) 0%, rgba(29,48,21,0.3) 50%, rgba(29,48,21,0.35) 100%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 36px;
  color: var(--paper);
}
.hero-kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.9;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 3px solid var(--red);
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-weight: 800;
  margin: 0 0 14px;
  color: var(--paper);
  max-width: 900px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
/* Grosse Titel nur auf Landingpage-Heros (Home, Rebsorten-Overview) */
.home-hero .hero-title,
.rebsorten-overview .hero-title {
  font-size: clamp(44px, 6vw, 68px);
  line-height: 1.02;
}
.hero-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.5;
  font-weight: 400;
  margin: 0;
  color: var(--paper);
  opacity: 0.95;
  max-width: 680px;
}
.home-hero .hero-subtitle { max-width: 560px; }
.hero-featured { margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.18); max-width: 680px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.hero-featured-label { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; color: var(--paper); opacity: 0.7; font-weight: 600; }
.hero-featured-link { color: var(--paper); font-weight: 600; font-size: 16px; border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 2px; }
.hero-featured-link:hover { color: var(--gold-soft, #d9b766); border-bottom-color: var(--gold-soft, #d9b766); text-decoration: none; }

/* ===== BREADCRUMB ===== */
.breadcrumb { background: var(--paper-warm); border-bottom: 1px solid var(--line); padding: 12px 0; font-size: 13px; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--green); text-decoration: none; }
.breadcrumb .sep { margin: 0 8px; color: var(--ink-soft); }
.breadcrumb .current { color: var(--ink); font-weight: 600; }

/* ===== ANCHOR NAV ===== */
.anchor-nav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 15; }
.anchor-nav-inner { display: flex; gap: 4px; overflow-x: auto; padding: 0 28px; scrollbar-width: none; }
.anchor-nav-inner::-webkit-scrollbar { display: none; }
.anchor-link {
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: all 0.2s;
}
.anchor-link:hover { color: var(--green); text-decoration: none; }
.anchor-link.active { color: var(--green-dark); border-bottom-color: var(--green); }

/* ===== CONTENT ===== */
.content { padding: 64px 0 80px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }

.article-main { min-width: 0; }
.article-main p { font-size: 17px; line-height: 1.75; margin: 0 0 20px; }

.lead-box { border-left: 4px solid var(--green); padding: 0 0 0 24px; margin: 0 0 48px; }
.lead {
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  margin: 0;
}

.article-main h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 800;
  color: var(--ink);
  margin: 56px 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--green);
  scroll-margin-top: 160px;
}
.article-main h3 {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--green-dark);
  margin: 36px 0 10px;
  letter-spacing: -0.005em;
}

.fact-box {
  background: var(--paper-warm);
  border-left: 4px solid var(--ochre);
  padding: 24px 28px;
  margin: 32px 0;
  border-radius: 0 6px 6px 0;
}
.fact-box-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 10px;
}
.fact-box p { margin: 0; font-size: 16px; color: var(--ink); }

/* Bar chart */
.bar-chart { background: var(--paper-cream); border: 1px solid var(--line); padding: 28px; margin: 36px 0; border-radius: 4px; }
.bar-chart-title { font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); margin-bottom: 20px; }
.bar-row { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.bar-label { font-size: 14px; font-weight: 600; color: var(--ink-body); width: 50px; flex-shrink: 0; }
.bar-track { flex: 1; height: 28px; background: var(--line-soft); border-radius: 2px; overflow: hidden; position: relative; }
.bar-fill { height: 100%; background: linear-gradient(to right, var(--green-soft), var(--green)); display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; color: var(--paper); font-size: 13px; font-weight: 700; transition: width 0.6s; }
.bar-chart-source { font-size: 12px; color: var(--ink-muted); margin-top: 12px; font-style: italic; }

.readmore { font-size: 14px; color: var(--ink-muted); font-style: italic; padding-top: 24px; border-top: 1px solid var(--line-soft); margin-top: 40px; }

/* ===== SIDEBAR ===== */
.sidebar { position: relative; }
.sidebar > * + * { margin-top: 28px; }

.sidebar-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--green);
}

.key-facts { background: var(--green-faint); padding: 24px 24px 20px; border-radius: 4px; }
.key-facts dl { margin: 0; }
.key-facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-muted); font-weight: 600; margin-top: 14px; }
.key-facts dt:first-child { margin-top: 0; }
.key-facts dd { margin: 2px 0 0; font-size: 17px; font-weight: 700; color: var(--ink); }

.sidebar-card { background: var(--paper); border: 1px solid var(--line); padding: 24px; border-radius: 4px; }
.sidebar-list { list-style: none; padding: 0; margin: 0; }
.sidebar-list li { border-bottom: 1px solid var(--line-soft); padding: 10px 0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { color: var(--ink); font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.sidebar-list a::after { content: "›"; color: var(--green); font-size: 18px; transition: transform 0.2s; }
.sidebar-list a:hover { color: var(--green); text-decoration: none; }
.sidebar-list a:hover::after { transform: translateX(3px); }

/* ===== RELATED ===== */
.related-band { background: var(--paper-warm); padding: 72px 0; border-top: 1px solid var(--line); }
.related-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; }
.section-title { font-size: 28px; font-weight: 800; color: var(--ink); margin: 0; letter-spacing: -0.01em; }
.section-link { font-size: 14px; font-weight: 600; color: var(--green); }
.section-link:hover { color: var(--red); text-decoration: none; }

.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(29,48,21,0.1); text-decoration: none; }
.card-img { height: 180px; overflow: hidden; background: var(--paper-warm); }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-body { padding: 22px 24px 26px; }
.card-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--green); margin-bottom: 10px; }
.card h3 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 0 0 8px; letter-spacing: -0.01em; line-height: 1.25; }
.card p { font-size: 15px; color: var(--ink-muted); margin: 0; line-height: 1.55; }
.card:hover h3 { color: var(--green-dark); }

/* ===== FOOTER ===== */
.site-footer { background: var(--green-deep); color: var(--paper-cream); padding: 64px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .footer-logo { font-size: 26px; font-weight: 700; color: var(--paper); letter-spacing: -0.01em; margin-bottom: 8px; }
.footer-brand .footer-logo .logo-dot { color: var(--red); }
.footer-tag { color: var(--paper-cream); opacity: 0.75; margin: 0; font-style: italic; font-family: var(--serif); }
.site-footer h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; color: var(--paper); margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid var(--red); display: inline-block; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin: 10px 0; }
.site-footer ul a { color: var(--paper-cream); opacity: 0.85; }
.site-footer ul a:hover { color: var(--paper); opacity: 1; text-decoration: none; padding-left: 4px; transition: all 0.2s; }
.footer-bottom { padding: 24px 0 32px; }
.copy { font-size: 13px; color: var(--paper-cream); opacity: 0.6; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .content-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 960px) {
  .site-nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 720px) {
  .hero { height: min(300px, 40vh); }
  /* Home- und Rebsorten-Hero brauchen mehr Platz fuer grossen Titel + Subtitle + Featured */
  .home-hero, .rebsorten-overview .hero { height: auto; min-height: 480px; }
  .home-hero .hero-content, .rebsorten-overview .hero-content { padding-top: 40px; padding-bottom: 40px; }
  .home-hero .hero-title, .rebsorten-overview .hero-title { font-size: clamp(32px, 9vw, 44px); }
  .hero-content { padding-bottom: 24px; }
  .content { padding: 40px 0 56px; }
  .article-main h2 { font-size: 26px; margin: 40px 0 14px; }
  .lead { font-size: 19px; }
  /* Footer: Brand volle Breite, Navigation darunter zweispaltig */
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 24px; }
  .footer-grid .footer-brand { grid-column: 1 / -1; }
  .site-footer h4 { font-size: 12px; letter-spacing: 0.1em; }
  .anchor-nav { top: 76px; }
  .anchor-link { padding: 14px 16px; font-size: 13px; }
  .search-input { font-size: 18px; }
  .share-band { gap: 8px; }
  .share-btn { padding: 7px 12px; font-size: 12px; }
  .share-btn span { display: none; }
  .share-btn svg { margin: 0; }
  .share-copy span { display: inline; }
  .mobile-nav a { font-size: 18px; padding: 16px 4px; }
}

/* ===== ERWEITERUNGEN für den produktiven Build ===== */

/* article-meta (Datum, Modified) */
.article-meta { font-size: 13px; color: var(--ink-muted); letter-spacing: 0.02em; margin: 0 0 36px; padding-bottom: 20px; border-bottom: 1px solid var(--line-soft); }
.article-meta .meta-sep { margin: 0 10px; color: var(--ink-soft); }

/* article-body: WordPress-HTML richtig formatieren */
.article-body p { font-size: 17px; line-height: 1.75; margin: 0 0 20px; }
.article-body h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.015em; font-weight: 800; color: var(--ink); margin: 52px 0 18px; padding-bottom: 14px; border-bottom: 2px solid var(--green); }
.article-body h3 { font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--green-dark); margin: 36px 0 10px; letter-spacing: -0.005em; }
.article-body h4 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 8px; }
.article-body a { color: var(--green); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--red); text-decoration-thickness: 2px; }
.article-body strong { font-weight: 700; color: var(--ink); }
.article-body em { font-style: italic; }
.article-body ul, .article-body ol { margin: 0 0 24px; padding-left: 1.4em; }
.article-body li { margin: 8px 0; font-size: 17px; line-height: 1.7; }
.article-body blockquote { margin: 32px 0; padding: 20px 28px; background: var(--paper-warm); border-left: 4px solid var(--green); font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.6; color: var(--ink); border-radius: 0 6px 6px 0; }
.article-body blockquote p { margin: 0; }
.article-body img { max-width: 100%; height: auto; display: block; margin: 28px auto; border-radius: 4px; }
.article-body figure { margin: 28px 0; }
.article-body figcaption { font-size: 13px; color: var(--ink-muted); font-style: italic; padding: 8px 0 0; text-align: center; }
.article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 15px; }
.article-body table th { background: var(--green-faint); padding: 12px 14px; text-align: left; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--green); }
.article-body table td { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.article-body table tr:hover td { background: var(--paper-warm); }
.article-body hr { border: none; height: 1px; background: var(--line); margin: 40px 0; }
.article-body pre { background: var(--paper-cream); border: 1px solid var(--line); border-radius: 4px; padding: 16px; overflow-x: auto; font-size: 14px; }
.article-body code { background: var(--paper-warm); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; font-family: ui-monospace, Menlo, monospace; }

/* Archive & Category - volle Breite, kein Sidebar */
.archive .content { padding: 56px 0 80px; }
.archive .related-grid { margin-top: 28px; }

/* Category-Hero ohne Bild: nutzt Muster */
.category-hero .hero-img-wrap { background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%); }
.hero-pattern { position: absolute; inset: 0; opacity: 0.12; background-image: radial-gradient(circle at 20% 30%, var(--gold-soft, #c9a24a) 1px, transparent 2px), radial-gradient(circle at 80% 70%, #fff 1px, transparent 2px); background-size: 60px 60px, 80px 80px; }

/* Compact-Hero (Impressum etc.) ohne Bild */
.compact-hero { background: var(--green-deep); padding: 56px 0 40px; height: auto; min-height: 0; }
.compact-hero .hero-content { justify-content: center; padding-top: 0; padding-bottom: 0; }
.compact-hero .hero-title { font-size: clamp(32px, 5vw, 56px); }

/* Rebsorten-Overview: Grid-Layout der Rebsorten-Kacheln */
.rebsorten-overview .content .article-main { max-width: none; }
.rebsorten-group { margin-top: 56px; }
.rebsorten-group .section-title { margin-bottom: 28px; font-size: 24px; color: var(--ink); letter-spacing: -0.01em; border-bottom: 2px solid var(--green); padding-bottom: 12px; text-transform: none; }
.rebsorten-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.rebsorte-tile { text-decoration: none; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s; }
.rebsorte-tile:hover { transform: translateY(-2px); border-color: var(--green); box-shadow: 0 8px 24px rgba(29,48,21,0.08); text-decoration: none; }
.rebsorte-img { height: 130px; overflow: hidden; background: var(--paper-warm); }
.rebsorte-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Kategorie-Intro */
.category-intro { max-width: 760px; margin: 0 auto 48px; font-size: 18px; line-height: 1.7; color: var(--ink-body); }
.category-intro p { margin: 0 0 16px; }
.category-intro p:last-child { margin-bottom: 0; }
.rebsorte-name { padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* Partner-Band (Cross-Promotion auf Startseite nach Winzer-Sektion) */
.partner-band {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
}
.partner-band.home-partner { margin-top: 56px; }
.partner-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink-body);
  transition: opacity 0.2s;
}
.partner-link:hover { opacity: 0.78; }
.partner-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-body);
}
.partner-link img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .partner-link img { max-width: 240px; }
  .partner-band { padding: 28px 20px; }
}

/* Home-Page */
.home-section { margin-top: 56px; }
.home-section:first-child { margin-top: 0; }
.home-hero .hero-title a { color: inherit; text-decoration: none; transition: color 0.2s; }
.home-hero .hero-title a:hover { color: var(--gold-soft, #d9b766); }
.home .content { padding: 64px 0 80px; }

/* Home content spacing */
.home .related-header { margin-bottom: 28px; }

/* Section-title in Archive & Home */
.archive .section-title,
.home .section-title { text-transform: none; letter-spacing: -0.01em; }

/* Gold-Soft-Variable (war nur in design-3 definiert) */
:root { --gold-soft: #d9b766; }

