/*
Theme Name: Ecohealth Theme
Theme URI: https://example.com/jmt-child
Description: Child theme for the JL-Theme Parent Theme.
Author: Julius Launhardt
Author URI: https://example.com
Template: jl-theme
Version: 1.0.0
Text Domain: ecohealth
*/
:root{
	--bg-header-submenu: #fff !important;
	--clr-mobile-menu-toggle: #000 !important;
}
.header-sticky {
    /* box-shadow: 0 2px 5px -1px rgba(170, 0, 255, 0.25), 
    0 1px 3px -1px rgba(170, 0, 255, 0.3) !important; */
}
.header-content{
	height: 100%;
}


/* ===========================
   Eco Health – Branchen Single
   Scope: single-branchen.php
   =========================== */

:root {
  /* Colors – tweak to your brand */
  --eh-bg: #ffffff;
  --eh-surface: #f7f9fb;
  --eh-text: #0d1b2a;
  --eh-muted: #5b6b7a;
  --eh-border: #e3e8ee;
  --eh-primary: #1b8f62;  /* eco green */
  --eh-primary-contrast: #ffffff;
  --eh-accent: #2d6cdf;

  /* Typography & rhythm */
  --eh-font: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  --eh-radius: 14px;
  --eh-radius-lg: 20px;
  --eh-shadow: 0 6px 24px rgba(11, 30, 50, 0.08);
  --eh-shadow-soft: 0 1px 3px rgba(11, 30, 50, 0.06);
  --eh-maxw: 1080px;
  --eh-content-w: 820px;

  --eh-space-1: 8px;
  --eh-space-2: 12px;
  --eh-space-3: 16px;
  --eh-space-4: 24px;
  --eh-space-5: 32px;
  --eh-space-6: 48px;
  --eh-space-7: 64px;
}



/* Base reset for the scoped article */
.branchen-single {
  font-family: var(--eh-font);
  color: var(--eh-text);
  background: var(--eh-bg);
}

/* Centered container */
.branchen-single .branchen-hero,
.branchen-single .branchen-content,
.branchen-single .branchen-benefits,
.branchen-single .branchen-cta {
  margin-inline: auto;
  padding-inline: var(--eh-space-3);
  max-width: var(--eh-maxw);
}

/* ---------------------------
   HERO
   --------------------------- */
.branchen-hero {
  margin-top: var(--eh-space-7);
  margin-bottom: var(--eh-space-6);
  background: linear-gradient(180deg, var(--eh-surface), transparent 70%);
  padding-top: var(--eh-space-6);
  padding-bottom: var(--eh-space-5);
  border-radius: var(--eh-radius-lg);
}

.branchen-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--eh-space-2);
}

.branchen-subtitle {
  max-width: min(70ch, var(--eh-content-w));
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--eh-muted);
  margin: 0;
}

/* ---------------------------
   CONTENT
   --------------------------- */
.branchen-content {
  max-width: var(--eh-content-w);
  margin-bottom: var(--eh-space-6);
  font-size: 1.05rem;
  line-height: 1.7;
}

.branchen-content p {
  margin: 0 0 var(--eh-space-4);
  color: var(--eh-text);
}

.branchen-content h2,
.branchen-content h3 {
  line-height: 1.25;
  margin: var(--eh-space-5) 0 var(--eh-space-3);
}

.branchen-content h2 {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.branchen-content h3 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}

.branchen-content ul,
.branchen-content ol {
  padding-left: 1.2rem;
  margin: 0 0 var(--eh-space-4);
}

.branchen-content a {
  color: var(--eh-accent);
  text-underline-offset: 2px;
}

.branchen-content blockquote {
  margin: var(--eh-space-5) 0;
  padding: var(--eh-space-3) var(--eh-space-4);
  background: var(--eh-surface);
  border-left: 4px solid var(--eh-primary);
  border-radius: 0 var(--eh-radius) var(--eh-radius) 0;
  color: var(--eh-text);
}

/* ---------------------------
   BENEFITS
   --------------------------- */
.branchen-benefits {
  margin-bottom: var(--eh-space-7);
}

.branchen-benefits > h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  margin: 0 0 var(--eh-space-4);
}

.branchen-benefits ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--eh-space-4);
}

@media (min-width: 720px) {
  .branchen-benefits ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.branchen-benefits li {
  background: var(--eh-surface);
  border: 1px solid var(--eh-border);
  border-radius: var(--eh-radius);
  padding: var(--eh-space-4);
  box-shadow: var(--eh-shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.branchen-benefits li:hover {
  transform: translateY(-2px);
  box-shadow: var(--eh-shadow);
  border-color: color-mix(in srgb, var(--eh-border), var(--eh-primary) 25%);
}

.benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--eh-primary), #ffffff 85%);
  color: var(--eh-primary);
  margin-bottom: var(--eh-space-3);
  font-size: 1.25rem;
}

.branchen-benefits li strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: var(--eh-space-2);
}

.branchen-benefits li p {
  color: var(--eh-muted);
  margin: 0;
}

/* ---------------------------
   CTA
   --------------------------- */
.branchen-cta {
  max-width: var(--eh-content-w);
  margin-bottom: var(--eh-space-7);
  padding: var(--eh-space-5);
  background: linear-gradient(180deg, var(--eh-primary) 0%, color-mix(in srgb, var(--eh-primary), #ffffff 20%) 100%);
  color: var(--eh-primary-contrast);
  border-radius: var(--eh-radius-lg);
  box-shadow: var(--eh-shadow);
  text-align: center;
}

.branchen-cta .btn {
  --_btn-bg: var(--eh-primary-contrast);
  --_btn-fg: var(--eh-primary);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--_btn-bg);
  color: var(--_btn-fg);
  border: 0;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(0,0,0,0.08);
  transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.branchen-cta .btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.branchen-cta .btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--eh-primary-contrast), #000 20%);
  outline-offset: 3px;
}

/* ---------------------------
   MEDIA & MISC
   --------------------------- */
.branchen-single img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.branchen-single .grid {
  display: grid;
  gap: var(--eh-space-4);
}

hr {
  border: none;
  height: 1px;
  background: var(--eh-border);
  margin: var(--eh-space-5) 0;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .branchen-benefits li,
  .branchen-cta .btn {
    transition: none;
  }
}

/* Print basics */
@media print {
  .branchen-cta { background: none; box-shadow: none; color: var(--eh-text); border: 1px solid var(--eh-border); }
  .branchen-cta .btn { display: none; }
}
