/*
Theme Name:   GrünHandel Biomasse – Child Theme
Theme URI:    https://theme.co/
Description:  Child-Theme für das Pro Theme (Theme.co) – Biomasse Ankauf & Verkauf
              Bereiche: Forst, Agrar, Industrie
              Kompatibel mit dem Cornerstone / Pro Page Builder Editor.
Author:       GrünHandel GmbH
Version:      1.0.0
Template:     pro
Tags:         biomasse, energie, forst, agrar, industrie, child-theme
Text Domain:  gruenhandel
*/

/* =====================================================
   GLOBALE DESIGN-TOKEN
   ===================================================== */
:root {
  --gh-green-dark:    #1a3a1a;
  --gh-green-mid:     #2d5a27;
  --gh-green-accent:  #4a8c3f;
  --gh-green-light:   #7ab648;
  --gh-gold:          #c8a84b;
  --gh-gold-light:    #e8cc85;
  --gh-cream:         #f5f0e8;
  --gh-cream-dark:    #ece5d5;
  --gh-text-dark:     #1a1a18;
  --gh-text-muted:    #5a5a50;
  --gh-white:         #ffffff;

  /* Kategorie-Farben */
  --gh-forst:         #2d6a2d;
  --gh-agrar:         #c8a84b;
  --gh-industrie:     #4a6080;
}

/* =====================================================
   TYPOGRAFIE
   ===================================================== */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--gh-text-dark);
}

h1, h2, h3,
.gh-display {
  font-family: 'Playfair Display', serif;
}

/* =====================================================
   NAVIGATIONSLEISTE
   ===================================================== */
.x-navbar,
.x-navbar-inner {
  background-color: var(--gh-green-dark) !important;
  border-bottom: 1px solid rgba(200, 168, 75, 0.25) !important;
}

.x-navbar .x-nav > li > a {
  color: rgba(255,255,255,0.80) !important;
  font-size: 13px !important;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.x-navbar .x-nav > li > a:hover,
.x-navbar .x-nav > li.active > a {
  color: var(--gh-gold) !important;
}

.x-btn-navbar-cta {
  background: var(--gh-gold) !important;
  color: var(--gh-green-dark) !important;
  border-radius: 3px !important;
  font-weight: 500 !important;
}

/* =====================================================
   HERO-BEREICH (.gh-hero)
   Nutzung: Pro-Section mit Klasse "gh-hero"
   ===================================================== */
.gh-hero {
  background: var(--gh-green-dark);
  position: relative;
  overflow: hidden;
}

.gh-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 50%, rgba(74,140,63,.22) 0%, transparent 55%),
    radial-gradient(circle at 85% 15%, rgba(200,168,75,.12) 0%, transparent 45%);
  pointer-events: none;
}

.gh-hero-badge {
  display: inline-block;
  background: rgba(200,168,75,.18);
  border: 1px solid rgba(200,168,75,.5);
  color: var(--gh-gold);
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.gh-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.gh-hero h1 em {
  font-style: normal;
  color: var(--gh-gold);
}

.gh-hero p.gh-lead {
  font-size: 17px;
  color: rgba(255,255,255,.70);
  line-height: 1.75;
  font-weight: 300;
  max-width: 560px;
  margin-bottom: 2rem;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.gh-btn-primary {
  background: var(--gh-gold) !important;
  color: var(--gh-green-dark) !important;
  padding: 13px 32px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  letter-spacing: 0.3px;
  border: none !important;
  transition: background 0.2s, transform 0.15s;
}

.gh-btn-primary:hover {
  background: var(--gh-gold-light) !important;
  transform: translateY(-1px);
}

.gh-btn-outline {
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.40) !important;
  padding: 13px 32px !important;
  border-radius: 4px !important;
  font-size: 14px !important;
  transition: border-color 0.2s, color 0.2s;
}

.gh-btn-outline:hover {
  border-color: var(--gh-gold) !important;
  color: var(--gh-gold) !important;
}

.gh-btn-dark {
  background: var(--gh-green-dark) !important;
  color: #fff !important;
  padding: 13px 32px !important;
  border-radius: 4px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
}

/* =====================================================
   STATISTIK-LEISTE (.gh-stats)
   ===================================================== */
.gh-stats {
  background: var(--gh-cream);
  border-bottom: 1px solid var(--gh-cream-dark);
  padding: 2rem 0;
}

.gh-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gh-green-mid);
  line-height: 1;
}

.gh-stat-number sup {
  color: var(--gh-gold);
  font-size: 1.2rem;
}

.gh-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gh-text-muted);
  margin-top: 5px;
}

/* =====================================================
   SECTION-LABELS & ÜBERSCHRIFTEN
   ===================================================== */
.gh-section-label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gh-gold);
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.gh-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--gh-green-dark);
  line-height: 1.22;
  margin-bottom: 0.75rem;
}

.gh-section-title.light { color: #fff; }

.gh-section-sub {
  font-size: 15px;
  color: var(--gh-text-muted);
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 2.5rem;
}

.gh-section-sub.light { color: rgba(255,255,255,.60); }

/* =====================================================
   KATEGORIE-KARTEN (.gh-cat-card)
   Forst / Agrar / Industrie
   ===================================================== */
.gh-cat-card {
  background: #fff;
  border: 1px solid #e8e2d4;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.2s;
}

.gh-cat-card:hover {
  box-shadow: 0 8px 32px rgba(26,58,26,.10);
  transform: translateY(-3px);
}

.gh-cat-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}

.gh-cat-card.forst::before   { background: var(--gh-forst); }
.gh-cat-card.agrar::before   { background: var(--gh-agrar); }
.gh-cat-card.industrie::before { background: var(--gh-industrie); }

.gh-cat-icon {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 1.25rem;
}

.gh-cat-icon.forst      { background: rgba(45,106,45,.12); }
.gh-cat-icon.agrar      { background: rgba(200,168,75,.15); }
.gh-cat-icon.industrie  { background: rgba(74,96,128,.12); }

.gh-cat-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--gh-green-dark);
  margin-bottom: 0.6rem;
}

.gh-cat-card p {
  font-size: 14px;
  color: var(--gh-text-muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.gh-cat-tag {
  display: inline-block;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  margin: 2px 3px 2px 0;
  font-weight: 500;
}

.gh-cat-tag.forst     { background: rgba(45,106,45,.10); color: var(--gh-forst); }
.gh-cat-tag.agrar     { background: rgba(200,168,75,.15); color: #8a6a0a; }
.gh-cat-tag.industrie { background: rgba(74,96,128,.12); color: var(--gh-industrie); }

/* =====================================================
   PRODUKTPREIS-TABELLE (.gh-price-grid)
   ===================================================== */
.gh-price-section {
  background: var(--gh-green-dark);
}

.gh-price-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: 1.5rem;
  transition: background 0.2s;
}

.gh-price-card:hover {
  background: rgba(255,255,255,.11);
}

.gh-price-category {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.gh-price-category.forst     { color: #7ab648; }
.gh-price-category.agrar     { color: var(--gh-gold); }
.gh-price-category.industrie { color: #90a8c8; }

.gh-price-card h4 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.gh-price-card p {
  font-size: 12px;
  color: rgba(255,255,255,.55);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.gh-price-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
}

.gh-price-value span {
  font-size: 12px;
  color: rgba(255,255,255,.40);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
}

/* =====================================================
   CTA-STREIFEN (.gh-cta-strip)
   ===================================================== */
.gh-cta-strip {
  background: var(--gh-gold);
}

.gh-cta-strip h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gh-green-dark);
}

.gh-cta-strip p {
  font-size: 14px;
  color: rgba(26,58,26,.70);
  margin-top: 5px;
}

/* =====================================================
   PROZESS-SCHRITTE (.gh-process)
   ===================================================== */
.gh-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.gh-step-num {
  min-width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gh-green-dark);
  color: var(--gh-gold);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gh-step-body h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--gh-green-dark);
  margin-bottom: 4px;
}

.gh-step-body p {
  font-size: 13px;
  color: var(--gh-text-muted);
  line-height: 1.65;
}

/* =====================================================
   KONTAKTFORMULAR (.gh-contact)
   ===================================================== */
.gh-contact-form-wrap {
  background: var(--gh-cream);
  border-radius: 10px;
  padding: 2rem;
}

.gh-contact-form-wrap label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--gh-text-muted);
  margin-bottom: 6px;
}

.gh-contact-form-wrap input,
.gh-contact-form-wrap select,
.gh-contact-form-wrap textarea {
  width: 100%;
  background: #fff;
  border: 1px solid #ddd8cc;
  border-radius: 5px;
  padding: 10px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--gh-text-dark);
  margin-bottom: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

.gh-contact-form-wrap input:focus,
.gh-contact-form-wrap select:focus,
.gh-contact-form-wrap textarea:focus {
  border-color: var(--gh-green-accent);
}

.gh-contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}

.gh-contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gh-gold);
  flex-shrink: 0;
  margin-top: 5px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.x-colophon,
.gh-footer {
  background: #111510 !important;
}

.gh-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #fff;
}

.gh-footer-logo em {
  font-style: normal;
  color: var(--gh-gold);
}

.gh-footer-col h5 {
  color: var(--gh-gold);
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.gh-footer-col a,
.gh-footer-col p {
  color: rgba(255,255,255,.45);
  font-size: 13px;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.gh-footer-col a:hover { color: var(--gh-gold-light); }

.gh-footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 1.5rem 0;
}

/* =====================================================
   UTILITY
   ===================================================== */
.gh-cream-bg  { background: var(--gh-cream); }
.gh-dark-bg   { background: var(--gh-green-dark); }
.gh-gold-bg   { background: var(--gh-gold); }

.gh-divider {
  border: none;
  border-top: 1px solid var(--gh-cream-dark);
  margin: 0;
}
