/* ErdenMensch mit Herz: akzeptiertes Baumsymbol oben; Herz/Welle unten.
   Farben und die drei Balken (35/90/42px) bleiben unveraendert.
   Die bisherige Fusszeile bleibt 60px hoch. */

/* Desktop: Logo ragt in die oberen und unteren gruenen Balken.
   Es hat NUR innerhalb des offenen hellgruenen Bogens weissen Hintergrund. */
body.home-layout-v26 .site-header,
body.home-layout-v26 .category-nav.category-nav-green {overflow:visible!important;}
body.home-layout-v26 .site-header {z-index:30!important;}
body.home-layout-v26 .site-header .header-inner {position:relative!important;}
body.home-layout-v26 .site-header .brand {
  display:flex!important; flex-direction:column!important;
  justify-content:center!important; align-items:flex-start!important;
  position:relative!important; height:90px!important; min-height:90px!important;
  padding-left:170px!important; box-sizing:border-box!important;
  flex-shrink:0!important; text-decoration:none;
}
body.home-layout-v26 .site-header .brand .emh-header-symbol {
  position:absolute!important; top:50%!important; left:0!important;
  transform:translateY(-50%)!important; width:155px!important;
  height:155px!important; max-width:none!important;
  object-fit:contain!important; z-index:50!important;
}
body.home-layout-v26 .site-header .brand .brand-name,
body.home-layout-v26 .site-header .brand .brand-tagline {
  display:block!important; width:auto!important;
  grid-column:auto!important; grid-row:auto!important;
  align-self:auto!important; white-space:nowrap;
}
/* Das gebilligte, einfache Logo im dunklen Fussbalken.
   Bild wird nach oben/unten ueberstehend positioniert statt Balken zu vergroessern. */
body.emh-v34 .emh-shared-footer {
  height:60px!important; min-height:60px!important; flex:0 0 60px!important;
  overflow:visible!important; background:#294b3d!important;
}
body.emh-v34 .emh-shared-footer .footer-inner {position:relative!important;}
body.emh-v34 .emh-shared-footer .footer-brand {
  position:relative!important; display:flex!important;
  flex-direction:column!important; justify-content:center!important;
  align-items:flex-start!important; flex-wrap:nowrap!important;
  height:36px!important; min-height:36px!important;
  padding-left:76px!important; gap:0!important; box-sizing:border-box!important;
}
body.emh-v34 .emh-shared-footer .footer-brand .emh-footer-symbol {
  position:absolute!important; width:66px!important; height:66px!important;
  left:0!important; top:50%!important; transform:translateY(-50%)!important;
  object-fit:contain!important; max-width:none!important;
}
body.emh-v34 .emh-shared-footer .footer-brand>a,
body.emh-v34 .emh-shared-footer .footer-brand>span {
  display:block!important; grid-column:auto!important; grid-row:auto!important;
  align-self:auto!important; margin:0!important;
}
body.emh-v34 .emh-shared-footer .footer-brand strong {
  display:block!important; font:normal 19px/1.1 Georgia,'Times New Roman',serif!important;
}
body.emh-v35 .emh-shared-footer .footer-brand>span {
  font:normal 12px/1.15 Arial,Helvetica,sans-serif!important;
  white-space:nowrap!important;
}
/* Den vorhandenen Platz in Unsere Haltung/Gute Ideen weiter aufteilen. */
#unterer-bereich{display:flex;flex-direction:column;}
#unterer-bereich>.site-header{flex:0 0 auto;}
#unterer-bereich>.stance-area{flex:1 1 52%;min-height:0;}
#unterer-bereich>.ideas-area{flex:1 1 48%;min-height:0;}
#unterer-bereich>.site-footer{flex:0 0 60px;}
@media(max-width:760px){
 body.home-layout-v26 .site-header .brand {
   height:74px!important;min-height:74px!important;padding-left:95px!important;
 }
 body.home-layout-v26 .site-header .brand .emh-header-symbol{width:88px!important;height:88px!important;}
 body.home-layout-v26 .site-header .brand .brand-name{white-space:normal!important;font-size:20px!important;line-height:1.1!important;}
 body.home-layout-v26 .site-header .brand .brand-tagline{white-space:normal!important;font-size:9px!important;letter-spacing:.7px!important;}
 body.emh-v34 .emh-shared-footer{height:auto!important;min-height:60px!important;flex-basis:auto!important;}
 body.emh-v34 .emh-shared-footer .footer-brand {padding-left:62px!important;height:43px!important;}
 body.emh-v34 .emh-shared-footer .footer-brand .emh-footer-symbol {width:52px!important;height:52px!important;}
 #unterer-bereich>.stance-area,#unterer-bereich>.ideas-area{flex:initial;}
}
@media(max-width:395px){
 body.home-layout-v26 .site-header .brand{padding-left:78px!important;}
 body.home-layout-v26 .site-header .brand .emh-header-symbol{width:73px!important;height:73px!important;}
 body.home-layout-v26 .site-header .brand .brand-name{font-size:17px!important;}
}


/* ================================================================
   06.11.2026 – Reparatur der Unterseiten.
   WICHTIG: Nur Unterseiten, niemals Home 1, Home 2 oder Home 3.
   Das bisher unbeschraenkte SVG war im 90px-Kopf 300px breit und
   drueckte Schrift und Inhalt ueber die Themenseiten.
   ================================================================ */
@media (min-width:761px) {
  body.site-width-v27:not(.home-layout-v26) .site-header,
  body.site-width-v27:not(.home-layout-v26) .site-header .header-inner {
    height:90px!important; min-height:90px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .header-inner {
    padding:0!important; flex-wrap:nowrap!important;
  }
}
body.site-width-v27:not(.home-layout-v26) .site-header .brand {
  display:grid!important;
  grid-template-columns:74px max-content!important;
  grid-template-rows:auto auto!important;
  column-gap:16px!important;
  align-content:center!important;
  align-items:center!important;
  position:relative!important;
  width:auto!important; height:90px!important; min-height:90px!important;
  margin:0!important; padding:0!important;
  text-decoration:none!important;
}
body.site-width-v27:not(.home-layout-v26) .site-header .emh-header-symbol {
  display:block!important;
  grid-column:1!important; grid-row:1 / 3!important;
  position:static!important; transform:none!important;
  width:74px!important; height:74px!important;
  min-width:74px!important; max-width:74px!important;
  object-fit:contain!important; align-self:center!important;
}
body.site-width-v27:not(.home-layout-v26) .site-header .brand-name {
  display:block!important; grid-column:2!important; grid-row:1!important;
  margin:0!important; padding:0!important;
  align-self:end!important; white-space:nowrap!important;
  font-size:27px!important; line-height:1.18!important;
}
body.site-width-v27:not(.home-layout-v26) .site-header .brand-tagline {
  display:block!important; grid-column:2!important; grid-row:2!important;
  margin:2px 0 0!important; padding:0!important;
  align-self:start!important; white-space:nowrap!important;
  font-size:10px!important; line-height:1.45!important;
}

/* Fusszeile der Unterseiten: kleines freigegebenes Originalsymbol,
   Text daneben, keine Trennlinie. 61px wie Home 3. */
@media (min-width:761px) {
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer {
    display:block!important; position:relative!important;
    width:100%!important; height:61px!important;
    min-height:61px!important; max-height:61px!important;
    flex:0 0 61px!important; padding:0 24px!important;
    margin:0!important; overflow:hidden!important;
    background:#294b3d!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-inner {
    display:flex!important; flex-direction:row!important;
    justify-content:space-between!important; align-items:center!important;
    flex-wrap:nowrap!important; gap:16px!important;
    position:relative!important; height:61px!important;
    width:calc(100% - 48px)!important; max-width:1400px!important;
    margin:0 auto!important; padding:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand {
    display:flex!important; flex-direction:row!important;
    justify-content:flex-start!important; align-items:center!important;
    flex-wrap:nowrap!important; gap:20px!important;
    position:relative!important; flex:0 1 auto!important;
    height:51px!important; min-height:51px!important;
    padding:0 0 0 62px!important; margin:0!important;
    white-space:nowrap!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .emh-footer-symbol {
    display:block!important; position:absolute!important;
    top:0!important; left:0!important; transform:none!important;
    width:47px!important; height:51px!important; max-width:47px!important;
    object-fit:contain!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand > a,
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand > span {
    display:inline!important; margin:0!important; padding:0!important;
    white-space:nowrap!important; align-self:center!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand strong {
    font:normal 19px/1.15 Georgia,'Times New Roman',serif!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand > span {
    font:normal 12px/1.2 Arial,Helvetica,sans-serif!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-links {
    display:flex!important; flex-direction:row!important;
    align-items:center!important; justify-content:flex-end!important;
    flex-wrap:nowrap!important; gap:24px!important;
    margin:0!important; padding:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-disclosure {
    position:absolute!important; right:max(24px,calc((100% - 1400px)/2))!important;
    bottom:2px!important; width:auto!important; max-width:calc(100% - 48px)!important;
    margin:0!important; padding:0!important;
    border:0!important; text-align:right!important;
    font:normal 9px/1.2 Arial,Helvetica,sans-serif!important;
  }
}
@media (min-width:761px) and (max-width:1199px) {
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand {gap:12px!important;}
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand strong {font-size:17px!important;}
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand > span {font-size:11px!important;}
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-links {gap:13px!important;}
}
@media (max-width:760px) {
  body.site-width-v27:not(.home-layout-v26) .site-header,
  body.site-width-v27:not(.home-layout-v26) .site-header .header-inner {
    height:auto!important; min-height:74px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .header-inner {
    flex-wrap:wrap!important; padding:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand {
    grid-template-columns:48px max-content!important;
    column-gap:11px!important;
    height:74px!important; min-height:74px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .emh-header-symbol {
    width:48px!important; height:48px!important;
    min-width:48px!important; max-width:48px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand-name {
    font-size:clamp(17px,4.4vw,21px)!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand-tagline {
    font-size:9px!important; letter-spacing:.5px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer {
    position:relative!important; height:auto!important; min-height:0!important;
    max-height:none!important; flex:0 0 auto!important;
    overflow:visible!important; padding:9px 16px 10px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-inner {
    display:flex!important; flex-direction:column!important;
    align-items:flex-start!important; flex-wrap:nowrap!important;
    gap:9px!important; height:auto!important;
    width:100%!important; margin:0 auto!important; padding:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand {
    display:flex!important; flex-direction:column!important;
    justify-content:center!important; align-items:flex-start!important;
    position:relative!important; height:51px!important;
    min-height:51px!important; padding-left:62px!important;
    margin:0!important; gap:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .emh-footer-symbol {
    position:absolute!important; left:0!important; top:0!important;
    transform:none!important; width:47px!important; height:51px!important;
    max-width:47px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand > a,
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand > span {
    display:block!important; margin:0!important; padding:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-brand strong {
    font:normal 18px/1.15 Georgia,'Times New Roman',serif!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-links {
    display:flex!important; flex-direction:row!important; flex-wrap:wrap!important;
    gap:8px 18px!important; margin:0!important; padding:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .emh-shared-footer .footer-disclosure {
    position:static!important; width:100%!important;
    margin:8px 0 0!important; padding:0!important;
    border:0!important; text-align:left!important;
    font:normal 9px/1.3 Arial,Helvetica,sans-serif!important;
  }
}

/* Home 1: nur die vier Links im dritten gruenen Balken ausrichten.
   "Im Haus" beginnt linksbuendig unter "ErdenMensch mit Herz".
   Die anderen Links haben gleiche freie Abstaende. */
@media (min-width:761px) {
  body.home-layout-v26 #home > .category-nav.category-nav-green .category-nav-inner {
    box-sizing:border-box!important;
    width:calc(100% - 48px)!important; max-width:1400px!important;
    margin:0 auto!important; padding:0 0 0 170px!important;
    display:flex!important; flex-wrap:nowrap!important;
    justify-content:space-between!important; align-items:center!important;
    gap:0!important;
  }
  body.home-layout-v26 #home > .category-nav.category-nav-green a {
    width:auto!important; flex:0 0 auto!important;
    padding:0!important; margin:0!important;
    justify-content:flex-start!important; text-align:left!important;
  }
}

/* 06.11.2026 – Grosses, freigegebenes Baumlogo auf Home 1 und allen Unterseiten.
   Motiv aus der gelieferten Vorlage: offener dunkelgruener Bogen mit
   beige-farbenem Rand, Baum, Herz und Welle. Keine Seitenelemente werden
   verschoben, ausser dem Text direkt rechts vom Logo sowie der Themenleiste.
   Home 3 und die Fussleiste bleiben unveraendert. */
@media (min-width:761px) {
  /* Identische 90px-Kopfzeile und dieselbe Einpassung wie auf Home 1. */
  body.site-width-v27:not(.home-layout-v26) .site-header {
    background:#fae9d7!important;
    position:relative!important;
    overflow:visible!important;
    z-index:40!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .header-inner {
    position:relative!important;
    overflow:visible!important;
    height:90px!important;
    min-height:90px!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    position:relative!important;
    grid-template-columns:none!important;
    grid-template-rows:none!important;
    width:auto!important;
    height:90px!important;
    min-height:90px!important;
    padding:0 0 0 170px!important;
    gap:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand .emh-header-symbol {
    position:absolute!important;
    display:block!important;
    top:50%!important;
    left:0!important;
    transform:translateY(-50%)!important;
    width:155px!important;
    height:155px!important;
    min-width:0!important;
    max-width:none!important;
    object-fit:contain!important;
    z-index:50!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand .brand-name,
  body.site-width-v27:not(.home-layout-v26) .site-header .brand .brand-tagline {
    display:block!important;
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:auto!important;
    width:auto!important;
    white-space:nowrap!important;
    margin-left:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand .brand-name {
    font-size:29px!important;
    line-height:1.22!important;
  }
  body.site-width-v27:not(.home-layout-v26) .site-header .brand .brand-tagline {
    font-size:10px!important;
    line-height:1.55!important;
    margin-top:2px!important;
  }
  /* Die vier Themen-Links beginnen auf der Schriftachse und sind gleichmaessig verteilt. */
  body.site-width-v27:not(.home-layout-v26) .category-nav.category-nav-green {
    position:relative!important;
    overflow:visible!important;
    z-index:20!important;
  }
  body.site-width-v27:not(.home-layout-v26) .category-nav.category-nav-green .category-nav-inner {
    box-sizing:border-box!important;
    width:calc(100% - 48px)!important;
    max-width:1400px!important;
    margin:0 auto!important;
    padding:0 0 0 170px!important;
    display:flex!important;
    flex-wrap:nowrap!important;
    justify-content:space-between!important;
    align-items:center!important;
    gap:0!important;
  }
  body.site-width-v27:not(.home-layout-v26) .category-nav.category-nav-green a {
    width:auto!important;
    flex:0 0 auto!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
    text-align:left!important;
  }
  /* Home 1: nur den Ton der hellen mittleren Leiste der Referenz anpassen. */
  body.home-layout-v26 #home .site-header {
    background:#fae9d7!important;
  }
}

/* ================================================================
   06.11.2026 – Praezise Logogroesse: 5 px beiger Aussenrand.
   Freigegebene Quelldatei logo-baum-herz.png: 575 px Bildhoehe;
   beige Randzone am oberen Kreisbogen: 24 Originalpixel.
   Bei 120 px Anzeigehoehe wird dieser Rand ca. 5 px breit.
   WICHTIG: Keine Aenderung an Balken, Typografie, Navigation,
   Logo-Position oder Fusszeile. Gilt nur fuer Desktop, sowohl
   Home 1 als auch die Unterseiten mit demselben grossen Logo.
   ================================================================ */
@media screen and (min-width: 761px) {
  body.home-layout-v26 .site-header .brand .emh-header-symbol,
  body.site-width-v27:not(.home-layout-v26) .site-header .brand .emh-header-symbol {
    width: auto !important;
    height: 120px !important;
    min-width: 0 !important;
    max-width: none !important;
    object-fit: contain !important;
  }
}
