:root {
  --color-body: #3b3838;
  --color-surface: #ffffff;
  --color-accent: #82c497;
  --color-accent-deep: #517103;
  --color-accent-bright: #79aa13;
  --color-border: #c4c1c1;
  --color-footer: #252322;
  --color-text: #242321;
  --color-muted: #5f5f5f;
  --shadow-soft: 0 20px 50px rgba(24, 20, 18, 0.16);
  --container: min(1120px, calc(100vw - 2rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-body);
  color: var(--color-text);
  font-family: "Open Sans", sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.entry-content p img[alt="✔"],
.entry-content p img[src*="fonts.gstatic.com/s/e/notoemoji/"] {
  display: inline-block;
  width: 1em;
  height: 1em;
  max-width: none;
  margin: 0 0.38em 0 0;
  vertical-align: -0.12em;
}

.eichi-checklist {
  margin: 1rem 0 1.35rem;
  padding: 0;
  list-style: none;
}

.eichi-checklist li {
  position: relative;
  margin: 0.34rem 0;
  padding-left: 1.5rem;
}

.eichi-checklist li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent-deep);
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-main {
  padding-bottom: 4rem;
}

.site-header__hero,
.site-header__strip {
  position: relative;
  background-image:
    linear-gradient(180deg, rgba(18, 20, 17, 0.18), rgba(18, 20, 17, 0.6)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
}

.site-header__hero {
  min-height: 82svh;
  display: grid;
  place-items: center;
  padding: 3rem 0 4rem;
}

.site-header__strip {
  min-height: 18rem;
}

.site-header__scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(17, 21, 16, 0.2), rgba(17, 21, 16, 0.65));
}

.site-badge {
  position: relative;
  z-index: 1;
  width: clamp(9rem, 18vw, 12rem);
  aspect-ratio: 1;
  margin: 0 auto 1.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.site-badge img {
  width: 78%;
}

.site-badge--inner {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vw, 1.75rem);
  transform: translateX(-50%);
  margin: 0;
}

.site-header__content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
}

.site-header__kicker,
.site-footer__eyebrow,
.section-heading p {
  margin: 0 0 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-header__title {
  margin: 0;
  font-family: "Convergence", sans-serif;
  font-size: clamp(3rem, 10vw, 5.75rem);
  line-height: 0.95;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.24);
}

.site-header__lead {
  width: min(44rem, calc(100vw - 4rem));
  margin: 1.25rem auto 0;
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.site-header__actions {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--solid,
.eichi-button,
.eichi-banner__button,
.eichi-service-box__button {
  background: var(--color-accent-bright);
  color: #ffffff;
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.48);
  color: #ffffff;
}

.site-nav {
  position: relative;
  z-index: 30;
  background:
    linear-gradient(180deg, rgba(135, 194, 23, 0.98), rgba(110, 161, 13, 0.98)),
    url("./bg_menu.png");
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  border-bottom: 1px solid rgba(31, 44, 6, 0.42);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.35rem;
  position: relative;
}

.site-nav__toggle {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  width: 100%;
  padding: 1rem 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font: inherit;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.site-nav__toggle-label {
  font-family: "Cabin", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
}

.site-nav__toggle-bars {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 1.5rem;
  height: 1.1rem;
  gap: 0.25rem;
}

.site-nav__toggle-bars span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 160ms ease, opacity 160ms ease;
}

.site-nav__submenu-toggle {
  display: none;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu--primary {
  width: 100%;
}

.menu--primary > li {
  position: relative;
}

.menu--primary > li + li::before {
  content: "/";
  position: absolute;
  left: -0.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  font-weight: 400;
}

.menu--primary li {
  list-style: none;
}

.menu--primary li a {
  display: block;
  padding: 1.35rem 1.25rem;
  font-family: "Cabin", sans-serif;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  line-height: 1;
  color: #ffffff;
}

.menu--primary > li > a {
  position: relative;
}

.menu--primary > li.menu-item-has-children > a {
  padding-right: 1.85rem;
}

.menu--primary > li.menu-item-has-children > a::before {
  content: "";
  position: absolute;
  right: 0.82rem;
  top: calc(50% - 0.18rem);
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.75;
}

.menu--primary > li > a::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.8rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.menu--primary > li.current-menu-item > a::after,
.menu--primary > li.current-menu-ancestor > a::after,
.menu--primary > li > a:hover::after,
.menu--primary > li > a:focus-visible::after {
  transform: scaleX(1);
}

.menu--primary > li.current-menu-item > a,
.menu--primary > li.current-menu-ancestor > a,
.menu--primary > li > a:hover,
.menu--primary > li > a:focus-visible {
  background: rgba(31, 44, 6, 0.08);
}

.menu--primary .sub-menu {
  position: absolute;
  left: 50%;
  top: calc(100% - 0.2rem);
  display: none;
  min-width: 15rem;
  margin: 0;
  padding: 0.8rem 0;
  list-style: none;
  border-radius: 0 0 0.85rem 0.85rem;
  background: linear-gradient(180deg, rgba(117, 168, 16, 0.98), rgba(77, 111, 7, 0.98));
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.22);
  transform: translateX(-50%);
}

.menu--primary > li:hover > .sub-menu,
.menu--primary > li:focus-within > .sub-menu {
  display: block;
}

.menu--primary .sub-menu li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.menu--primary .sub-menu a {
  padding: 0.8rem 1.15rem;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  white-space: nowrap;
}

.menu--primary .sub-menu a:hover,
.menu--primary .sub-menu a:focus-visible,
.menu--primary .sub-menu .current-menu-item > a {
  background: rgba(255, 255, 255, 0.12);
}

.page-shell,
.page-surface {
  margin-top: 2rem;
}

.page-shell__header,
.page-surface__intro,
.feature-section {
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.page-shell__header,
.page-surface__intro {
  padding: clamp(2rem, 4vw, 3.5rem);
}

.page-shell__header h1,
.section-heading h2,
.entry-content h2.wp-block-heading {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.05;
  text-align: center;
}

.entry-content h3.wp-block-heading {
  text-align: center;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.breadcrumbs {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-muted);
}

.breadcrumbs__divider::before {
  content: "/";
  margin: 0 0.6rem;
  color: var(--color-border);
}

.page-shell__content {
  background: var(--color-surface);
  margin-top: 1.2rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--shadow-soft);
}

.page-id-2070 .page-shell__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(115, 178, 7, 0.08), transparent 32%),
    var(--color-surface);
}

.page-id-2070 .page-shell__content::before {
  content: "Ausgewählte Partner und Links rund ums Bauen.";
  grid-column: 1 / -1;
  max-width: 42rem;
  margin: 0 auto clamp(0.4rem, 1.5vw, 1rem);
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  text-align: center;
}

.page-id-2070 .page-shell__content > :not(.eichi-link-grid__fallback),
.page-id-2070 .page-shell__content :is(#spalte1, #spalte2, .csc-textpic, .csc-textpic-imagewrap, .csc-textpic-image, dt, p) {
  display: contents;
}

.page-id-2070 .page-shell__content .csc-textpic-clear,
.page-id-2070 .page-shell__content .csc-textpic-caption {
  display: none;
}

.page-id-2070 .page-shell__content a:has(img) {
  display: grid;
  grid-template-rows: minmax(8.5rem, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 14rem;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(116, 168, 18, 0.18);
  border-top: 4px solid var(--color-accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 244, 0.98));
  box-shadow: 0 18px 34px rgba(25, 31, 18, 0.08);
  color: var(--color-text);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page-id-2070 .page-shell__content a:has(img)::after {
  content: "Partner ansehen";
  align-self: end;
  color: var(--color-muted);
  font-family: "Cabin", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.page-id-2070 .page-shell__content a[href*="bernetbau"]::after {
  content: "Bernet Bau";
}

.page-id-2070 .page-shell__content a[href*="mo-architektur"]::after {
  content: "MO Architektur";
}

.page-id-2070 .page-shell__content a[href*="schraner-fenster"]::after {
  content: "Schraner Fenster";
}

.page-id-2070 .page-shell__content a[href*="holzbau-linth"]::after {
  content: "Holzbau Linth";
}

.page-id-2070 .page-shell__content a[href*="3grad.ag"]::after {
  content: "3 Grad";
}

.page-id-2070 .page-shell__content a[href*="mz-architektur"]::after {
  content: "MZ Architektur";
}

.page-id-2070 .page-shell__content a[href*="schreinerwerk"]::after {
  content: "Schreinerwerk";
}

.page-id-2070 .page-shell__content a[href*="fretz-soehne"]::after {
  content: "Fretz Söhne";
}

.page-id-2070 .page-shell__content a[href*="kita-benken"]::after {
  content: "Kita Benken";
}

.page-id-2070 .page-shell__content a:has(img):hover,
.page-id-2070 .page-shell__content a:has(img):focus-visible {
  border-color: rgba(116, 168, 18, 0.42);
  box-shadow: 0 22px 42px rgba(25, 31, 18, 0.13);
  transform: translateY(-0.22rem);
}

.page-id-2070 .page-shell__content a:has(img):hover::after,
.page-id-2070 .page-shell__content a:has(img):focus-visible::after {
  color: var(--color-accent-deep);
}

.page-id-2070 .page-shell__content img {
  justify-self: center;
  align-self: center;
  float: none !important;
  width: auto;
  max-width: min(100%, 14rem);
  max-height: 7rem;
  object-fit: contain;
  margin: 0 !important;
  border: 0;
}

.page-id-2070 .page-shell__content img[src*="3Grad"],
.page-id-2070 .page-shell__content img[src*="Kita_Benken"] {
  max-height: 8.5rem;
}

.page-id-2073 .page-shell__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(115, 178, 7, 0.08), transparent 32%),
    var(--color-surface);
}

.page-id-2073 .page-shell__content::before {
  content: "Ausgewählte gärtnerische Verbände, Lieferanten und Fachlinks.";
  grid-column: 1 / -1;
  max-width: 44rem;
  margin: 0 auto clamp(0.4rem, 1.5vw, 1rem);
  color: var(--color-muted);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.55;
  text-align: center;
}

.page-id-2073 .page-shell__content :is(#eichi, #inhalt, #inhaltspalten, #spalte1, #spalte2, .csc-textpic, .csc-textpic-imagewrap, .csc-textpic-imagecolumn, .csc-textpic-image, dt, p:has(a)) {
  display: contents;
}

.page-id-2073 .page-shell__content :is(p:not(:has(a)), .csc-textpic-clear, .csc-textpic-text, .csc-textpic-caption, .clear, dd) {
  display: none;
}

.page-id-2073 .page-shell__content a:has(img) {
  display: grid;
  grid-template-rows: minmax(8.5rem, 1fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 14rem;
  padding: clamp(1.1rem, 2vw, 1.45rem);
  border: 1px solid rgba(116, 168, 18, 0.18);
  border-top: 4px solid var(--color-accent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 244, 0.98));
  box-shadow: 0 18px 34px rgba(25, 31, 18, 0.08);
  color: var(--color-text);
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.page-id-2073 .page-shell__content a:has(img)::after {
  content: "Fachlink ansehen";
  align-self: end;
  color: var(--color-muted);
  font-family: "Cabin", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.page-id-2073 .page-shell__content a[href*="jardinsuisse.ch"]::after {
  content: "Jardin Suisse";
}

.page-id-2073 .page-shell__content a[href*="jardinsuisseost"]::after {
  content: "Jardin Suisse Ost";
}

.page-id-2073 .page-shell__content a[href*="naturalstone"]::after {
  content: "Natural Stone";
}

.page-id-2073 .page-shell__content a:has(img[src*="198c52dbcb"])::after {
  content: "NaturalStone Hofmann";
}

.page-id-2073 .page-shell__content a[href*="biogarten"]::after {
  content: "Biogarten";
}

.page-id-2073 .page-shell__content a[href*="schweizergarten"]::after {
  content: "Schweizer Garten";
}

.page-id-2073 .page-shell__content a[href*="kuendig-baumschulen"]::after {
  content: "Kündig Baumschulen";
}

.page-id-2073 .page-shell__content a[href*="mueller-steinag"]::after {
  content: "Müller Steinag";
}

.page-id-2073 .page-shell__content a[href*="gartenfreunde"]::after {
  content: "Gartenfreunde";
}

.page-id-2073 .page-shell__content a:has(img):hover,
.page-id-2073 .page-shell__content a:has(img):focus-visible {
  border-color: rgba(116, 168, 18, 0.42);
  box-shadow: 0 22px 42px rgba(25, 31, 18, 0.13);
  transform: translateY(-0.22rem);
}

.page-id-2073 .page-shell__content a:has(img):hover::after,
.page-id-2073 .page-shell__content a:has(img):focus-visible::after {
  color: var(--color-accent-deep);
}

.page-id-2073 .page-shell__content img {
  justify-self: center;
  align-self: center;
  float: none !important;
  width: auto;
  max-width: min(100%, 14rem);
  max-height: 7rem;
  object-fit: contain;
  margin: 0 !important;
  border: 0;
}

.page-id-2073 .page-shell__content img[src*="04_09_Cover"] {
  max-height: 8.5rem;
}

.entry-content--front {
  max-width: 56rem;
  margin: 0 auto;
}

.front-page .page-surface {
  margin-top: 0;
}

.front-page .page-surface__intro {
  padding: clamp(2.2rem, 4vw, 3rem) 0 0;
  background: var(--color-surface);
  box-shadow: var(--shadow-soft);
}

.front-page .entry-content--front {
  max-width: none;
  margin: 0;
}

.front-page .entry-content--front > h2,
.front-page .entry-content--front > h3,
.front-page .entry-content--front > .wp-block-group {
  max-width: 55rem;
  margin-left: auto;
  margin-right: auto;
}

.front-page .entry-content--front > h2,
.front-page .entry-content--front > h3 {
  padding: 0 1rem;
}

.front-page .entry-content--front > .wp-block-group {
  margin-bottom: 0;
  padding: 0 1rem;
}

.front-contact-cta {
  display: flex;
  justify-content: center;
  max-width: 55rem;
  margin: clamp(1.35rem, 2.5vw, 2rem) auto clamp(2.2rem, 4vw, 3rem);
  padding: 0 1rem;
}

.front-contact-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.5rem;
  min-height: 3.2rem;
  text-align: center;
  line-height: 1;
}

.front-page .entry-content--front > .eichi-sc-mp-row {
  margin-top: clamp(2.2rem, 4vw, 3rem);
}

.front-page .cherry_parallax1 {
  margin-bottom: clamp(1.6rem, 3vw, 2.5rem);
}

.entry-content p,
.page-shell__content p {
  color: var(--color-muted);
}

.feature-section {
  margin-top: 1.5rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading p {
  color: var(--color-accent-deep);
}

.feature-grid,
.posts-grid,
.eichi-posts-grid,
.eichi-gallery,
.eichi-sc-mp-row,
.eichi-sc-mp-row-inner,
.eichi-sc-row {
  display: grid;
  gap: 1.1rem;
}

.feature-grid--services,
.posts-grid--portfolio,
.eichi-posts-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eichi-posts-grid {
  grid-template-columns: repeat(var(--eichi-post-grid-columns, 3), minmax(0, 1fr));
}

.feature-grid--support {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.support-link,
.post-card,
.eichi-service-box {
  overflow: hidden;
  background: #f6f5f1;
  color: var(--color-text);
  box-shadow: 0 18px 40px rgba(22, 18, 16, 0.08);
}

.post-card {
  display: flex;
  flex-direction: column;
}

.post-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.feature-card__media {
  display: block;
  min-height: 16rem;
  background-position: center;
  background-size: cover;
}

.feature-card__body,
.support-link,
.post-card__body,
.eichi-service-box {
  padding: 1.2rem;
}

.post-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
}

.post-card__body p {
  flex: 1 1 auto;
}

.feature-card__body strong,
.support-link strong,
.post-card__body h3,
.post-card__body h2,
.eichi-service-box__title {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.post-card__media img,
.featured-panel img,
.team-profile__media img,
.eichi-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.featured-panel {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.posts-grid--embedded {
  margin-top: 1.8rem;
}

.post-card--compact .post-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.post-card--compact .post-card__body h3 {
  font-size: 1rem;
  line-height: 1.25;
}

.post-card--compact .post-card__body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.post-card__button {
  margin-top: 1rem;
  padding: 0.7rem 0.9rem;
  border-radius: 0;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.eichi-posts-grid.team_1 {
  gap: 1.7rem 1.35rem;
  margin-top: 1rem;
}

.eichi-posts-grid.team_1 .post-card {
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.eichi-posts-grid.team_1 .post-card__media {
  aspect-ratio: var(--eichi-post-thumb-width, 270) / var(--eichi-post-thumb-height, 230);
  margin-bottom: 0.8rem;
  background: #d8dbd1;
}

.eichi-posts-grid.team_1 .post-card__media::before {
  content: "";
  position: absolute;
  left: -65%;
  top: 50%;
  width: 230%;
  height: 0;
  background: linear-gradient(180deg, rgba(130, 196, 151, 0.2), rgba(130, 196, 151, 0.74));
  transform: translateY(-50%) rotate(32deg);
  transition: height 520ms ease, opacity 320ms ease;
  opacity: 0;
  pointer-events: none;
}

.eichi-posts-grid.team_1 .post-card__media::after {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.96);
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: transform 320ms ease, opacity 320ms ease;
  pointer-events: none;
}

.eichi-posts-grid.team_1 .post-card:hover .post-card__media img,
.eichi-posts-grid.team_1 .post-card:focus-within .post-card__media img {
  transform: scale(1.08);
}

.eichi-posts-grid.team_1 .post-card:hover .post-card__media::before,
.eichi-posts-grid.team_1 .post-card:focus-within .post-card__media::before {
  height: 260%;
  opacity: 1;
}

.eichi-posts-grid.team_1 .post-card:hover .post-card__media::after,
.eichi-posts-grid.team_1 .post-card:focus-within .post-card__media::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.eichi-posts-grid.team_1 .post-card__body {
  padding: 0;
}

.eichi-posts-grid.team_1 .post-card__body h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
  line-height: 1.35;
}

.eichi-posts-grid.team_1 .post-card__body h3 a {
  color: #5f5f5f;
}

.eichi-posts-grid.team_1 .post-card__body h3 a:hover,
.eichi-posts-grid.team_1 .post-card__body h3 a:focus-visible {
  color: var(--color-accent);
}

.eichi-posts-grid.team_1 .post-card__body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.team-profile {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: minmax(0, 22rem) minmax(0, 1fr);
}

.support-link {
  border-top: 4px solid var(--color-accent);
}

.site-footer {
  margin-top: 4rem;
  padding: 2.5rem 0 2.2rem;
  background:
    radial-gradient(circle at top, rgba(130, 196, 151, 0.12), transparent 35%),
    linear-gradient(180deg, #2a2726, #1d1b1a);
  color: #f3f2ef;
}

.site-footer__row {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
}

.site-footer__col {
  align-self: start;
}

.site-footer__col h4 {
  margin: 0;
  font-family: "Cabin", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.site-footer__col--projects {
  max-width: 21rem;
}

.site-footer__col--meta {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.footer-text {
  color: rgba(255, 255, 255, 0.86);
  text-align: right;
}

.footer-text a {
  color: inherit;
}

.menu--footer,
.menu--footer ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu--footer li {
  display: block;
  width: 100%;
  margin: 0.2rem 0;
  vertical-align: top;
}

.menu--footer li a {
  display: block;
  padding: 0.16rem 0;
  font-size: 1rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.88);
}

.menu--footer > li > a {
  font-weight: 600;
  font-size: 1.06rem;
}

.menu--footer .sub-menu {
  margin-top: 0.18rem;
  padding-left: 1rem;
}

.menu--footer .sub-menu a {
  font-weight: 400;
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-projects__intro {
  margin: 0.65rem 0 1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.66);
}

.footer-projects__list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-projects__list li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-projects__list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-projects__list a {
  display: block;
  padding: 0.58rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.9);
  transition: color 160ms ease, transform 160ms ease;
}

.footer-projects__all {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  margin-top: 1.1rem;
  padding: 0.74rem 1.05rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 160ms ease, transform 160ms ease;
}

.footer-projects__list a:hover,
.footer-projects__list a:focus-visible,
.footer-projects__all:hover,
.footer-projects__all:focus-visible {
  color: #fff;
  transform: translateX(0.12rem);
}

.eichi-sc-row,
.eichi-sc-mp-row,
.eichi-sc-mp-row-inner {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.eichi-col-12 {
  grid-column: span 12;
}

.eichi-col-6 {
  grid-column: span 6;
}

.eichi-col-4 {
  grid-column: span 4;
}

.eichi-banner {
  padding: 2rem;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(26, 54, 32, 0.8), rgba(81, 113, 3, 0.82)),
    var(--eichi-banner-image, url("/wp-content/uploads/2016/11/2-1.jpg"));
  background-position: center;
  background-size: cover;
}

.eichi-banner__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.eichi-banner__text {
  margin: 0 0 1rem;
}

.eichi-parallax {
  padding: 1.8rem;
  background:
    linear-gradient(180deg, rgba(24, 31, 20, 0.28), rgba(24, 31, 20, 0.72)),
    var(--eichi-parallax-image);
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.eichi-gallery {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eichi-gallery figure {
  margin: 0;
}

.eichi-gallery a {
  display: block;
}

.eichi-service-box {
  border-top: 4px solid var(--color-accent-bright);
}

.eichi-button,
.eichi-banner__button,
.eichi-service-box__button {
  display: inline-flex;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
}

.banner_1 {
  position: relative;
  margin-bottom: 0.5rem;
}

.banner_1 p {
  position: relative;
  display: block;
  margin: 0;
  min-height: clamp(18rem, 28vw, 22.5rem);
  overflow: hidden;
  background: #172405;
  box-shadow: 0 24px 54px rgba(24, 20, 18, 0.16);
  isolation: isolate;
}

.banner_1 a {
  display: block;
  position: absolute;
  inset: 0;
  min-width: 0;
  min-height: 0;
}

.banner_1 a:has(img) {
  z-index: 1;
}

.banner_1 a:has(b) {
  z-index: 2;
}

.banner_1 p > br {
  display: none;
}

.banner_1 a img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0 !important;
  backface-visibility: hidden;
  filter: saturate(0.92) contrast(0.96);
  box-shadow: 0 18px 42px rgba(24, 20, 18, 0.12);
  transition:
    transform 700ms ease,
    filter 700ms ease,
    box-shadow 420ms ease;
}

.banner_1 a b {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: flex;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  backface-visibility: hidden;
  box-shadow: 0 18px 42px rgba(24, 20, 18, 0.08);
  transition:
    border-color 420ms ease,
    transform 700ms ease,
    box-shadow 420ms ease;
}

.banner_1 a b i {
  position: relative;
  display: flex;
  width: 100%;
  min-height: clamp(7rem, 12vw, 9.25rem);
  align-items: flex-start;
  padding: 2rem 2.15rem 2.75rem;
  background: #f3f7f5;
  color: #5d8062;
  font-family: "Cabin", sans-serif;
  font-size: clamp(2rem, 2.45vw, 2.7rem);
  font-style: normal;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
  transition: background 420ms ease, color 420ms ease;
}

.banner_1 a b i::after {
  content: "↗";
  position: absolute;
  left: 50%;
  bottom: 1.55rem;
  color: #b6d3ba;
  font-size: 1.1rem;
  transform: translateX(-50%);
  transition: transform 280ms ease, color 420ms ease;
}

.banner_1 p:hover a img,
.banner_1 p:focus-within a img {
  box-shadow: 0 22px 48px rgba(24, 20, 18, 0.18);
  filter: grayscale(100%);
  transform: scale(1.08);
}

.banner_1 p:hover a b,
.banner_1 p:focus-within a b {
  border-color: var(--color-accent);
  box-shadow: 0 22px 48px rgba(24, 20, 18, 0.18);
  transform: translateY(-0.35rem);
}

.banner_1 p:hover a b i,
.banner_1 p:focus-within a b i {
  background: var(--color-accent-bright);
  color: #ffffff;
}

.banner_1 p:hover a b i::after,
.banner_1 p:focus-within a b i::after {
  color: #ffffff;
  transform: translateX(-50%) scale(1.28);
}

.eichi-parallax + .eichi-sc-row {
  margin-top: clamp(1.5rem, 4vw, 2.75rem);
}

.box_2 {
  position: relative;
  margin-top: 3.25rem;
  padding: 3.2rem clamp(1rem, 3vw, 2rem) 0;
  background: url("./bg_cont_1.png") 0 0 repeat;
}

.box_2 h2 {
  margin: 0 0 2.9rem;
  padding: 0 0 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  text-align: left;
}

.box_2 .eichi-posts-grid--portfolio {
  align-items: start;
  gap: 2rem 1.25rem;
}

.box_2 .post-card {
  overflow: visible;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
}

.box_2 .post-card__media {
  aspect-ratio: 270 / 203;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.box_2 .post-card__media::after {
  content: "+";
  position: absolute;
  right: 0.9rem;
  bottom: 0.9rem;
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.22);
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  opacity: 0;
  transform: scale(0.85);
  transition: transform 260ms ease, opacity 260ms ease;
}

.box_2 .post-card__body {
  padding: 0.65rem 0 0;
}

.box_2 .post-card__body h3 {
  margin: 0;
  text-transform: uppercase;
}

.box_2 .post-card__body h3 a {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.45;
}

.box_2 .post-card__body p {
  display: none;
}

.box_2 .post-card:hover .post-card__media img,
.box_2 .post-card:focus-within .post-card__media img {
  transform: scale(1.05);
}

.box_2 .post-card:hover .post-card__media::after,
.box_2 .post-card:focus-within .post-card__media::after {
  opacity: 1;
  transform: scale(1);
}

.box_2 .post-card:hover .post-card__body h3 a,
.box_2 .post-card:focus-within .post-card__body h3 a {
  color: var(--color-accent);
}

.page-id-2063 .eichi-sc-extra-wrap-inner.cont {
  display: grid;
  grid-template-columns: 12.5rem minmax(0, 1fr);
  column-gap: 2.2rem;
  row-gap: 0.5rem;
  align-items: start;
  max-width: 44rem;
}

.page-id-2063 .eichi-sc-extra-wrap-inner.cont > p:first-child {
  grid-column: 1;
  grid-row: 1 / span 3;
  margin: 0;
}

.page-id-2063 .eichi-sc-extra-wrap-inner.cont > h3 {
  grid-column: 2;
  margin: 0;
  color: #8f8f8f;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.08;
  text-align: left;
  font-weight: 600;
}

.page-id-2063 .eichi-sc-extra-wrap-inner.cont > p:not(:first-child) {
  grid-column: 2;
  margin: 0;
  min-height: 1.1rem;
  font-size: 0;
  line-height: 0;
}

.page-id-2063 .eichi-sc-extra-wrap-inner.cont > .eichi-button {
  grid-column: 2;
  justify-self: start;
  margin-top: 0.2rem;
  border: 1px solid #c7dfcd;
  border-radius: 0;
  background: transparent;
  color: #8ec09a;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: none;
}

.page-id-2063 .eichi-sc-extra-wrap-inner.cont > .eichi-button:hover {
  background: rgba(142, 192, 154, 0.08);
  transform: none;
}

.archive-shell {
  margin-top: 2rem;
}

.archive-intro {
  margin-bottom: clamp(1.5rem, 3vw, 2.4rem);
}

iframe {
  width: 100%;
  border: 0;
}

@media (max-width: 960px) {
  .site-nav__inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem;
  }

  .site-nav__toggle {
    display: flex;
    min-height: 3.6rem;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(38, 61, 7, 0.22), rgba(20, 31, 4, 0.18));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }

  .site-nav.is-open .site-nav__toggle-bars span:nth-child(1) {
    transform: translateY(0.375rem) rotate(45deg);
  }

  .site-nav.is-open .site-nav__toggle-bars span:nth-child(2) {
    opacity: 0;
  }

  .site-nav.is-open .site-nav__toggle-bars span:nth-child(3) {
    transform: translateY(-0.375rem) rotate(-45deg);
  }

  .menu--primary {
    display: none;
    position: absolute;
    top: calc(100% - 0.15rem);
    left: 1rem;
    right: 1rem;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    padding: 0.45rem 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.15rem;
    background:
      linear-gradient(180deg, rgba(119, 173, 18, 0.98), rgba(96, 142, 11, 0.98)),
      url("./bg_menu.png");
    box-shadow: 0 22px 42px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(10px);
  }

  .site-nav.is-open .menu--primary {
    display: flex;
  }

  .menu--primary > li + li::before {
    display: none;
  }

  .menu--primary > li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .menu--primary > li > a {
    grid-column: 1;
    padding: 1rem 1.05rem;
  }

  .menu--primary > li.menu-item-has-children > a {
    padding-right: 0.5rem;
  }

  .menu--primary > li.menu-item-has-children > a::before {
    display: none;
  }

  .menu--primary > li > a::after {
    left: 1.05rem;
    right: auto;
    width: 2rem;
    bottom: 0.7rem;
    transform-origin: left;
  }

  .site-nav__submenu-toggle {
    display: grid;
    place-items: center;
    align-self: stretch;
    width: 3.35rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
  }

  .site-nav__submenu-toggle::before {
    content: "";
    width: 0.66rem;
    height: 0.66rem;
    border-right: 1.7px solid currentColor;
    border-bottom: 1.7px solid currentColor;
    transform: rotate(45deg);
    transition: transform 160ms ease, opacity 160ms ease;
    opacity: 0.85;
  }

  .menu--primary > li.is-expanded > .site-nav__submenu-toggle::before {
    transform: rotate(225deg) translate(-0.08rem, -0.08rem);
  }

  .menu--primary .sub-menu {
    position: static;
    display: none;
    grid-column: 1 / -1;
    min-width: 0;
    margin: 0;
    padding: 0.1rem 0.9rem 0.85rem 1.05rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(23, 37, 5, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transform: none;
  }

  .menu--primary > li.is-expanded > .sub-menu {
    display: block;
  }

  .menu--primary .sub-menu li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .menu--primary .sub-menu a {
    padding: 0.7rem 0;
    font-size: 0.76rem;
    white-space: normal;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.08em;
  }

  .feature-grid--services,
  .feature-grid--support,
  .posts-grid--portfolio,
  .eichi-posts-grid,
  .team-profile,
  .site-footer__row {
    grid-template-columns: 1fr;
  }

  .site-footer__col--spacer {
    display: none;
  }

  .site-footer__col--meta {
    justify-content: flex-start;
  }

  .site-footer__col--projects {
    max-width: none;
  }

  .footer-text {
    text-align: left;
  }

  .menu--footer > li {
    margin: 0.45rem 0 0.8rem;
  }

  .menu--footer .sub-menu {
    padding-left: 1rem;
  }

  .eichi-col-6,
  .eichi-col-4 {
    grid-column: span 12;
  }

  .page-id-2063 .eichi-sc-extra-wrap-inner.cont {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .page-id-2063 .eichi-sc-extra-wrap-inner.cont > p:first-child,
  .page-id-2063 .eichi-sc-extra-wrap-inner.cont > h3,
  .page-id-2063 .eichi-sc-extra-wrap-inner.cont > p:not(:first-child),
  .page-id-2063 .eichi-sc-extra-wrap-inner.cont > .eichi-button {
    grid-column: 1;
    grid-row: auto;
  }

  .page-id-2063 .eichi-sc-extra-wrap-inner.cont > h3 {
    font-size: clamp(1.4rem, 5vw, 2.1rem);
  }

  .eichi-posts-grid.team_1 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .front-page .page-surface__intro {
    padding-top: 1.4rem;
  }

  .banner_1 p {
    min-height: 18rem;
  }

  .banner_1 a b {
    left: 0.8rem;
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .banner_1 a b i {
    min-height: 7.5rem;
    padding: 1.85rem 1.6rem 2.7rem;
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .box_2 {
    padding-top: 2.1rem;
  }

  .box_2 h2 {
    margin-bottom: 1.8rem;
    padding-bottom: 1.2rem;
  }

  .front-page .eichi-col-4 {
    grid-column: span 4;
  }

  .front-page .box_2 .eichi-posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .front-page .box_2 .post-card__body h3 a {
    font-size: 1rem;
  }
}

@media (max-width: 720px) {
  .site-header__hero {
    min-height: 72svh;
  }

  .eichi-gallery {
    grid-template-columns: 1fr;
  }

  .page-shell__header h1,
  .section-heading h2,
  .entry-content h2.wp-block-heading {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .eichi-posts-grid.team_1 {
    grid-template-columns: 1fr;
  }

  .front-page .eichi-col-4 {
    grid-column: span 12;
  }

  .front-page .box_2 .eichi-posts-grid {
    grid-template-columns: 1fr;
  }
}
