/* Engelmeier Funktionen – Darstellung der Plugin-Bausteine (Datenschutzdialog, Formular, Bewertungen, Fotos, Gartenmodell, Slider). Farben über die Theme-Variablen, mit Ersatzwerten. */
.garden-section {
  padding-bottom: 45px;
}
.eng-garden-block {
  margin-top: 36px;
}
.eng-garden-block .garden-explorer {
  margin: 0;
  width: 100%;
  border: 1px solid var(--line);
}
.eng-garden-block .garden-viewport {
  min-height: 460px;
}
.eng-garden-block .garden-viewport canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.eng-garden-block .garden-viewport svg {
  width: 100%;
  height: 100%;
}
.eng-garden-block .garden-board {
  background: #f7f6f0;
}
.eng-garden-block .garden-controls button {
  min-height: 44px;
}
.eng-garden-block .garden-info h4 {
  font-size: 27px;
}
.eng-garden-block button:focus-visible {
  outline: 3px solid var(--teal);
}
@media (max-width: 781px) {
  .eng-garden-block .garden-viewport {
    min-height: 340px;
  }
}
.eng-garden-block .garden-explorer {
  padding-top: 0;
  border: 0;
}
.eng-garden-block svg[hidden],
.eng-garden-block canvas[hidden] {
  display: none !important;
}
.eng-garden-block.is-compact {
  margin: 0;
}
.is-compact .garden-layout {
  display: block;
  border: 0;
}
.is-compact .garden-viewport {
  height: 310px;
  min-height: 310px;
}
.is-compact .garden-panel {
  border-left: 0;
  border-top: 1px solid var(--line);
  padding: 16px 20px;
}
.is-compact .garden-panel > .eyebrow,
.is-compact .garden-panel > .text-link,
.is-compact .garden-disclaimer,
.is-compact .garden-materials {
  display: none;
}
.is-compact .garden-parts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin: 0;
}
.is-compact .garden-parts button {
  padding: 8px 4px;
  justify-content: center;
  font-size: 12px;
  min-height: 44px;
}
.is-compact .garden-parts button span,
.is-compact .garden-parts button b {
  display: none;
}
.is-compact .garden-info {
  min-height: 105px;
  padding-top: 12px;
}
.is-compact .garden-info > span {
  display: none;
}
.is-compact .garden-info h4 {
  font-size: 22px;
  margin: 0 0 5px;
}
.is-compact .garden-info p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}
.is-compact .garden-irrigation {
  margin-top: 10px;
  padding: 10px 0;
}
.is-compact .garden-irrigation small {
  display: none;
}
.is-compact .garden-stage-label {
  padding: 12px 18px;
}
.is-compact [data-role="garden-help"] {
  padding: 8px;
  margin: 0;
  font-size: 10px;
}
.is-compact .garden-view-controls {
  padding: 0 12px;
}
.is-compact .garden-view-controls button {
  min-height: 34px;
  height: 34px;
}
.eng-garden-block [data-render-mode="webgl"] [data-role="garden-svg"] {
  display: none !important;
}
.eng-garden-block .garden-viewport canvas {
  background: #f5f5ef;
}
.eng-reviews {
  background: var(--soft);
  padding: 50px !important;
  margin-bottom: 60px;
}
.eng-review-widget {
  margin-top: 28px;
}
.eng-review-widget .ti-widget {
  font-family: inherit !important;
}
.eng-review-widget .ti-review-item > .ti-inner {
  border-radius: 0 !important;
}
@media (max-width: 760px) {
  .is-compact .garden-viewport {
    height: 285px;
    min-height: 285px;
  }
  .is-compact .garden-info {
    min-height: 0;
  }
  .eng-reviews {
    padding: 28px !important;
  }
  .is-compact .garden-parts {
    grid-template-columns: repeat(2, 1fr);
  }
}
.eng-garden-photo {
  margin: 32px 0;
}
.eng-garden-photo img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  display: block;
}
.eng-privacy-open {
  display: block;
  margin: 18px auto;
  background: transparent;
  border: 0;
  text-decoration: underline;
  font: inherit;
  color: var(--teal);
  padding: 12px;
  cursor: pointer;
}
#eng-consent[hidden],
.eng-review-placeholder[hidden] {
  display: none !important;
}
#eng-consent {
  position: fixed;
  inset: 0;
  z-index: 100001;
  background: #102b2670;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 24px;
}
.eng-consent-inner {
  max-width: 850px;
  width: 100%;
  background: var(--paper);
  padding: 30px 36px;
  border-top: 4px solid var(--brand);
  box-shadow: 0 8px 50px #0002;
  max-height: 85vh;
  overflow: auto;
}
.eng-consent-inner .eyebrow {
  margin: 0 0 10px;
}
.eng-consent-inner h2 {
  font-size: 30px;
  margin: 0 0 16px;
}
.eng-consent-inner p,
.eng-consent-inner label {
  font-size: 15px;
  line-height: 1.6;
}
.eng-consent-inner input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  vertical-align: middle;
  margin-right: 8px;
}
.eng-consent-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.eng-consent-actions button,
.eng-review-placeholder button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 18px;
  border: 1px solid var(--teal);
  background: var(--paper);
  color: var(--teal);
  cursor: pointer;
}
.eng-consent-actions button:hover {
  background: var(--soft);
}
/* „Alle akzeptieren“ zuerst und in CI-Farbe; „Nur notwendige“ gleich groß und ebenfalls
   gefüllt (dunkel) – die Ablehnung muss gleichwertig erkennbar bleiben (Freiwilligkeit
   der Einwilligung, vgl. VG Hannover, 19.03.2025, 10 A 5385/22). */
.eng-consent-actions button.is-accept,
.eng-consent-actions button.is-reject {
  min-width: 190px;
  color: #fff;
}
.eng-consent-actions button.is-accept {
  background: var(--primary, #1b6f6a);
  border-color: var(--primary, #1b6f6a);
}
.eng-consent-actions button.is-accept:hover {
  background: #124f4b;
  border-color: #124f4b;
}
.eng-consent-actions button.is-reject {
  background: #1d2a25;
  border-color: #1d2a25;
}
.eng-consent-actions button.is-reject:hover {
  background: #2f3f38;
  border-color: #2f3f38;
}
.eng-consent-actions button[data-consent="save"] {
  margin-left: auto;
}
#eng-consent-title:focus {
  outline: none;
}
.eng-consent-actions button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
[data-eng-reviews] iframe {
  width: 100%;
  height: 520px;
  border: 0;
}
.eng-review-embed {
  padding: 15px;
  background: var(--paper);
}
.eng-review-embed .eng-privacy-open {
  display: none;
}
@media (max-width: 600px) {
  #eng-consent {
    padding: 10px;
  }
  .eng-consent-inner {
    padding: 22px;
  }
  .eng-consent-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
  .eng-consent-actions button[data-consent="save"] {
    margin-left: 0;
  }
  .eng-consent-inner h2 {
    font-size: 26px;
  }
}
.eng-slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin: 0 0 22px;
}
.eng-slider-controls[hidden] {
  display: none;
}
.eng-slider-controls button {
  border: 1px solid var(--teal);
  background: transparent;
  color: var(--teal);
  padding: 11px 16px;
  font-size: 14px;
  min-height: 44px;
}
.eng-slider-controls button:hover:not(:disabled) {
  background: var(--soft);
}
.eng-slider-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.eng-slider-status {
  font-size: 13px;
  color: var(--muted);
  min-width: 75px;
  text-align: center;
}
.eng-insights-slider .eng-post-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 4px;
  overscroll-behavior-x: contain;
  padding: 4px 4px 18px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--brand) var(--soft);
}
.eng-insights-slider .eng-post-card {
  flex: 0 0 calc((100% - 60px) / 3);
  min-width: 0;
  scroll-snap-align: start;
}
.eng-insights-slider .eng-post-grid:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 5px;
}
@media (max-width: 1000px) {
  .eng-insights-slider .eng-post-card {
    flex-basis: calc((100% - 30px) / 2);
  }
}
@media (max-width: 600px) {
  .eng-insights-slider .eng-post-card {
    flex-basis: 100%;
  }
  .eng-slider-controls {
    justify-content: space-between;
    gap: 8px;
  }
  .eng-slider-controls button {
    padding: 10px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eng-insights-slider .eng-post-grid {
    scroll-behavior: auto;
  }
}
.eng-reviews {
  border-top: 3px solid var(--brand);
  background: var(--soft);
}
.eng-reviews > h2 {
  margin-bottom: 24px;
}
.eng-reviews [data-eng-reviews] {
  margin: 0;
  background: var(--soft);
}
[data-eng-reviews] iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  background: var(--soft);
}
.eng-review-placeholder {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.eng-contact-form {
  margin-top: 35px;
  padding: 30px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  background: var(--paper);
  max-width: 820px;
}
.eng-contact-form h3 {
  font-size: 28px;
}
.eng-contact-form label {
  display: block;
  font-size: 15px;
  margin-bottom: 7px;
}
.eng-contact-form input:not([type="hidden"]),
.eng-contact-form textarea {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #a7b7ae;
  background: #fff;
  color: var(--ink);
  padding: 11px;
  font: inherit;
  border-radius: 0;
}
.eng-contact-form textarea {
  resize: vertical;
}
.eng-contact-form textarea:focus-visible {
  outline: 3px solid var(--teal);
}
.eng-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.eng-contact-form button {
  background: var(--teal);
  color: white;
  border: 0;
  padding: 14px 22px;
}
.eng-contact-form button:disabled {
  opacity: 0.6;
}
.eng-contact-form .eng-form-privacy {
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.eng-form-status {
  margin-top: 16px;
  font-size: 15px;
}
.eng-form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
@media (max-width: 600px) {
  .eng-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eng-contact-form {
    padding: 20px;
  }
}
.eng-team-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: cover;
}
.eng-work-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.eng-work-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.eng-photo-section figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
}
@media (max-width: 900px) {
  .eng-work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .eng-work-gallery {
    grid-template-columns: 1fr;
  }
}
.eng-photo-placeholder {
  aspect-ratio: 4/3;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: linear-gradient(135deg, #e9eee6, #f3f1e8);
  border: 1px dashed #86a8a0;
  color: #46564b;
  box-sizing: border-box;
}
.eng-team-photo .eng-photo-placeholder {
  aspect-ratio: 16/7;
  min-height: 280px;
}
.eng-photo-placeholder svg {
  fill: none;
  stroke: #548c81;
  stroke-width: 1.3;
}
.eng-photo-placeholder strong {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
}
.eng-photo-placeholder > span:last-child {
  font-size: 14px;
  color: var(--muted, #5d6a63);
}
.eng-photo-placeholder .eyebrow {
  color: #237f78;
  margin: 0;
}
@media (max-width: 600px) {
  .eng-team-photo .eng-photo-placeholder {
    aspect-ratio: 4/3;
    min-height: 240px;
  }
}

/* Hinweise nur für Redakteure, Formularstatus, Öffnungszeiten, 3D-Start */
.eng-placeholder-note {
  font-size: 14px;
  padding: 10px 14px;
  background: #f2e9d5;
  border-left: 4px solid #ab8952;
}
.eng-form-status.is-success {
  color: var(--teal, #175e5b);
  font-weight: 600;
}
.eng-hours {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.eng-hours li {
  padding: 6px 0;
  border-bottom: 1px solid var(--line, #cdd6ce);
}
.garden-stage {
  position: relative;
}
.garden-load-3d {
  position: absolute;
  top: 56px;
  right: 14px;
  z-index: 2;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--teal, #175e5b);
  background: var(--paper, #f5f5ef);
  color: var(--teal, #175e5b);
  font-weight: 600;
  font-size: 14px;
}

/* Sichtbare Stellenangaben (identisch mit den strukturierten Daten) */
.eng-job-facts {
  margin: 0 0 36px;
}
.eng-job-facts > div {
  grid-template-columns: 130px 1fr;
}

/* Startanimation (optional, siehe inc/intro.php) */
.eng-brand-loader {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  animation: eng-loader-failsafe 0.01s 1.2s forwards;
}
.eng-brand-loader.is-visible {
  display: block;
}
.eng-curtain {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.1%;
  background: var(--paper, #f5f5ef);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}
.eng-curtain-top {
  top: 0;
}
.eng-curtain-bottom {
  bottom: 0;
}
.eng-loader-brand {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.eng-loader-brand img {
  width: min(280px, 65vw);
  height: auto;
  mix-blend-mode: multiply;
}
.eng-loader-line {
  width: 120px;
  height: 2px;
  background: #dae2da;
  margin-top: 30px;
  overflow: hidden;
}
.eng-loader-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brand, #2ca6a0);
  animation: eng-loader-line 0.45s ease-in-out forwards;
}
.eng-brand-loader.is-finished .eng-curtain-top {
  transform: translateY(-102%);
}
.eng-brand-loader.is-finished .eng-curtain-bottom {
  transform: translateY(102%);
}
.eng-brand-loader.is-finished .eng-loader-brand {
  opacity: 0;
}
@keyframes eng-loader-line {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes eng-loader-failsafe {
  to {
    visibility: hidden;
  }
}
@media (prefers-reduced-motion: reduce) {
  .eng-brand-loader {
    display: none !important;
  }
}

/* Anfrage-Assistent (Gartenprojekt) */
.eng-project-form {
  padding: 36px;
  border: 0;
  background: var(--paper, #f7f4ee);
}
.eng-services {
  border: 0;
  margin: 0 0 26px;
  padding: 0;
}
.eng-services legend {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 14px;
  padding: 0;
}
.eng-services legend span,
.eng-optional {
  font-weight: 400;
  color: #4f5852;
  font-size: 15px;
}
.eng-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.eng-chip {
  position: relative;
  margin: 0 !important;
}
.eng-contact-form .eng-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
}
.eng-chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  box-sizing: border-box;
  border: 1.5px solid #a9a090;
  background: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
}
.eng-chip input:checked + span {
  background: var(--primary, #1b6f6a);
  border-color: var(--primary, #1b6f6a);
  color: #fff;
}
.eng-chip input:checked + span::before {
  content: "✓";
  margin-right: 6px;
}
.eng-chip input:focus-visible + span {
  outline: 3px solid var(--primary, #1b6f6a);
  outline-offset: 2px;
}
.eng-form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.eng-project-form select {
  width: 100%;
  min-height: 52px;
  border: 1px solid #a7b7ae;
  background: #fff;
  padding: 0 10px;
  font: inherit;
  border-radius: 0;
}
.eng-project-form label {
  font-weight: 600;
}
.eng-contact-form.eng-project-form input[type="file"] {
  border: 0 !important;
  background: transparent !important;
  padding: 6px 0 !important;
  font-size: 15px;
}
.eng-project-form button[type="submit"] {
  background: var(--primary, #1b6f6a);
  font-weight: 700;
  min-height: 54px;
  padding: 15px 28px;
}
@media (max-width: 781px) {
  .eng-form-grid-3 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .eng-project-form {
    padding: 22px;
  }
}

/* Bewerbungsformular */
.eng-application-form {
  max-width: 900px;
  border-top: 3px solid var(--brand, #2ca6a0);
}
.eng-application-form h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.eng-form-intro {
  color: #4f5852;
  margin-bottom: 24px;
}
.eng-application-form select {
  max-width: 100%;
  text-overflow: ellipsis;
}

/* Bewerbungsformular als bildschirmbreites, dunkles Band (wie „Gartenprojekt anfragen“) */
.eng-apply-band {
  position: relative;
  width: 100vw;
  margin: 72px calc(50% - 50vw) 0;
  background: var(--night, #1d2a25);
  color: #f1ede4;
}
.eng-apply-band + * {
  margin-top: 0;
}
.eng-apply-inner {
  width: min(var(--width, 1280px), 90%);
  margin: 0 auto;
  padding: 96px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.eng-apply-intro {
  flex: 1 1 300px;
  min-width: 0;
}
.eng-apply-intro .eyebrow {
  color: #8fd6c4;
}
.eng-apply-intro h2 {
  color: #fff;
  font-size: clamp(32px, 3.6vw, 50px);
}
.eng-apply-intro p {
  color: #cfd6d0;
}
.eng-apply-phone a {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}
.eng-apply-intro .eng-hours li {
  border-color: #3d4c45;
  color: #cfd6d0;
}
.eng-apply-band .eng-contact-form {
  flex: 1.9 1 520px;
  min-width: 0;
  margin: 0;
  max-width: none;
  color: var(--ink, #1d2a25);
}
.eng-apply-band .eng-contact-form p {
  color: var(--ink, #1d2a25);
}
.eng-apply-band .eng-contact-form .eng-form-privacy {
  color: #5d6a63;
}
.post-content .eng-apply-band {
  margin-top: 56px;
}
@media (max-width: 781px) {
  .eng-apply-inner {
    padding: 64px 0;
    gap: 32px;
  }
  .eng-apply-band .eng-contact-form {
    flex-basis: 100%;
  }
}
.eng-apply-mail a {
  font-size: 20px;
  overflow-wrap: anywhere;
}
.eng-apply-note {
  padding: 14px 16px;
  border-left: 3px solid #8fd6c4;
  background: rgba(255, 255, 255, 0.06);
}
.eng-apply-intro .eng-apply-note strong {
  color: #fff;
}
.eng-apply-band .eng-contact-form h3:not(.screen-reader-text) {
  margin-top: 0;
}
.eng-apply-band .eng-contact-form {
  border-top: 3px solid var(--brand, #2ca6a0);
}
.eng-form-grid-1 {
  grid-template-columns: 1fr;
}
.eng-inquiry-form .eng-form-grid {
  margin-bottom: 8px;
}

/* Verbandslogo im Fußbereich (unter Kontakt) */
.eng-locations .eng-member {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
}
.eng-locations .eng-member span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted, #5f6b65);
}
.eng-locations .eng-member a {
  display: block;
  border: 0;
  text-decoration: none;
  transition: opacity 0.15s;
}
.eng-locations .eng-member a:hover {
  opacity: 0.8;
}
.eng-locations .eng-member a:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 4px;
}
.eng-locations .eng-member img {
  display: block;
  width: 54px;
  height: auto;
}

/* Instagram-Feed */
.eng-ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.eng-ig-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.eng-ig-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0;
}
.eng-ig-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 20px 22px 22px;
}
.eng-ig-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--primary);
  font-size: 13px;
  font-weight: 600;
}
.eng-ig-meta svg,
.eng-ig-more svg {
  width: 18px;
  height: 18px;
}
.eng-ig-text {
  font-size: 16px;
  line-height: 1.5;
}
.eng-ig-card:hover .eng-ig-text {
  color: var(--primary);
}
.eng-ig-more {
  margin-top: 28px;
}
.eng-ig-more a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-height: 52px;
  padding: 15px 23px;
  background: var(--primary);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.eng-ig-more a:hover {
  background: var(--primary-dark);
  color: #fff;
}
@media (max-width: 781px) {
  .eng-ig-grid {
    grid-template-columns: 1fr;
  }
  .eng-ig-card img {
    aspect-ratio: 4 / 3;
  }
}

/* ALTCHA-Spamschutz (Widget im Formular, lokal ausgeliefert) */
.eng-altcha {
  margin: 4px 0 18px;
}
.eng-contact-form altcha-widget {
  --altcha-max-width: 320px;
  --altcha-border-width: 1px;
  --altcha-border-radius: 0;
  --altcha-color-base: #fff;
  --altcha-color-border: #a7b7ae;
  --altcha-color-text: var(--ink, #1d2a25);
  --altcha-color-border-focus: var(--teal, #175e5b);
  --altcha-color-active: var(--teal, #175e5b);
  --altcha-color-error-text: #b32d2e;
  display: block;
  font-size: 15px;
}
/* Allgemeine Feld-Stile des Formulars nicht auf das Kästchen anwenden. */
.eng-contact-form altcha-widget input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.eng-contact-form altcha-widget label {
  display: inline;
  margin: 0;
  font-size: inherit;
}
.eng-altcha-fallback {
  margin: 4px 0 18px;
  font-size: 14px;
  color: var(--muted, #5d6a63);
}

/* Fußbereich: Zeilen der Standorte aneinander ausrichten, damit Öffnungszeiten
   unterschiedlicher Länge die Social-Media-Links nicht verschieben. */
@media (min-width: 782px) {
	.eng-locations {
		grid-template-rows: repeat(5, auto);
		row-gap: 0;
	}
	.eng-locations > .eng-location {
		grid-row: span 5;
	}
	.eng-locations > .eng-location:has(> .eng-social-links) {
		display: grid;
		grid-template-rows: subgrid;
		align-content: start;
	}
	.eng-location > h3 { grid-row: 1; }
	.eng-location > p:not([class]) { grid-row: 2; }
	.eng-location > .eng-location-hours { grid-row: 3; }
	.eng-location > .eng-location-route { grid-row: 4; }
	.eng-location > .eng-social-links { grid-row: 5; align-self: start; }
}

/* Leistungsseiten */
.eng-service-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px;
}
.eng-service-grid .post-card-copy h3 {
	font-size: 24px;
}
.eng-service-overview h2,
.eng-service-projects h2 {
	margin-bottom: 32px;
}
.eng-step-no {
	display: block;
	color: var(--primary);
	font-size: 14px;
	letter-spacing: 0.12em;
	margin-bottom: 6px;
}
.eng-service-gallery.wp-block-gallery {
	gap: 16px;
	margin-top: 28px;
}
.eng-service-gallery.wp-block-gallery .wp-block-image img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.feature-copy .wp-block-list {
	margin: 18px 0 0;
	padding-left: 1.2em;
	color: var(--ink);
}
.feature-copy .wp-block-list li {
	margin-bottom: 6px;
}
@media (max-width: 1100px) {
	.eng-service-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}
@media (max-width: 781px) {
	.eng-service-grid {
		grid-template-columns: 1fr !important;
	}
}

/* ------------------------------------------------------------------
 * Layout November 2026
 * ------------------------------------------------------------------ */

/* Unterseiten: niedrigerer Einstieg, damit der Inhalt früher sichtbar ist (Startseite unverändert). */
@media (min-width: 782px) {
	.eng-page-hero.wp-block-cover {
		min-height: clamp(360px, 46vh, 440px) !important;
	}
	.eng-page-hero.wp-block-cover .wp-block-cover__inner-container {
		padding: 104px 0 48px;
	}
}
.eng-page-hero .eng-hero-jumps {
	margin-top: 26px;
}
.eng-page-hero .eng-hero-jumps .wp-block-button__link {
	min-height: 48px;
	padding: 12px 22px;
	font-size: 16px;
}
:target {
	scroll-margin-top: 110px;
}
.eng-anchor {
	display: block;
	position: relative;
	top: -110px;
	visibility: hidden;
}

/* Anfragebereich der Startseite: Auswahl Privat / Gewerbe */
.eng-request-choice {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	margin: 26px 0 30px;
}
.eng-request-choice .eng-choice {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 18px 16px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	border-radius: 4px;
	color: #fff;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.04);
	transition: background 0.15s ease, border-color 0.15s ease;
}
.eng-request-choice .eng-choice.is-active {
	background: #fff;
	border-color: #fff;
	color: var(--ink);
}
.eng-request-choice .eng-choice:not(.is-active):hover,
.eng-request-choice .eng-choice:not(.is-active):focus-visible {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--brand);
}
.eng-choice-label {
	font-weight: 700;
	font-size: 17px;
	line-height: 1.3;
}
.eng-request .eng-choice-text {
	font-size: 14.5px;
	line-height: 1.45;
	color: #cfd6d0;
}
.eng-request .eng-choice.is-active .eng-choice-text {
	color: var(--muted);
}
.eng-choice-go {
	margin-top: auto;
	padding-top: 6px;
	font-weight: 700;
	font-size: 14.5px;
	color: var(--brand);
}
.eng-choice.is-active .eng-choice-go {
	color: var(--primary);
}
@media (max-width: 1100px) {
	.eng-request-choice {
		grid-template-columns: 1fr;
	}
}

/* Projektfilter */
.eng-project-filter {
	margin: 0 0 28px;
}
.eng-project-filter ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.eng-project-filter a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 9px 16px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
	background: #fff;
}
.eng-project-filter a:hover,
.eng-project-filter a:focus-visible {
	border-color: var(--primary);
}
.eng-project-filter a[aria-current] {
	background: var(--primary);
	border-color: var(--primary);
	color: #fff;
}
.eng-filter-count {
	font-size: 13px;
	font-weight: 600;
	opacity: 0.7;
}

/* Referenzen auf der Gewerbeseite */
.eng-references .section-intro {
	max-width: 62ch;
	margin-bottom: 30px;
}
.eng-references .text-link {
	margin-top: 24px;
}

/* „Gut zu wissen“: Links in den Zellen */
.eng-knowledge .service-cell {
	display: flex;
	flex-direction: column;
}
.eng-knowledge .service-cell .text-link {
	margin-top: auto;
	padding-top: 10px;
}

/* Floristikformular: ausgeblendete Felder */
.eng-inquiry-form [hidden] {
	display: none !important;
}

/* 1.27.0 – Großes Startseiten-Projekt: Bildspalten dürfen nicht von der
   Originalbreite der Fotos (bis 3000 px) aufgeblasen werden. */
.eng-project-feature .feature-media img { min-width: 0; max-width: 100%; }
.eng-project-feature .feature-media.has-2,
.eng-project-feature .feature-media.has-3 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.eng-project-feature .feature-media.has-3 { grid-template-rows: minmax(0, 1fr) minmax(0, 1fr); }
.eng-project-feature .feature-media:not(.has-2):not(.has-3) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 781px) {
	.eng-project-feature .feature-media.has-2,
	.eng-project-feature .feature-media.has-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
}

/* 1.28.0 – Leistungsübersicht: Eine einzelne letzte Kachel füllt die Reihe
   als breite Karte (Bild links, Text rechts) statt allein links zu stehen. */
@media (min-width: 1101px) {
	.eng-service-grid > .eng-post-card:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
	.eng-service-grid > .eng-post-card:last-child:nth-child(3n+1) > a { flex-direction: row; }
	.eng-service-grid > .eng-post-card:last-child:nth-child(3n+1) img { width: calc((100% - 48px) / 3 + 16px); aspect-ratio: auto; height: 280px; flex: none; }
	.eng-service-grid > .eng-post-card:last-child:nth-child(3n+1) .post-card-copy { justify-content: center; padding: 32px 40px; max-width: 640px; }
}
@media (min-width: 782px) and (max-width: 1100px) {
	.eng-service-grid > .eng-post-card:last-child:nth-child(2n+1) { grid-column: 1 / -1; }
	.eng-service-grid > .eng-post-card:last-child:nth-child(2n+1) > a { flex-direction: row; }
	.eng-service-grid > .eng-post-card:last-child:nth-child(2n+1) img { width: calc((100% - 24px) / 2); aspect-ratio: auto; height: 260px; flex: none; }
}

/* Wohnungsbau / Privatkunden: Abschnitt „Ganzer Garten oder nur die Einfahrt“ */
.eng-scope .wp-block-columns { gap: 48px; align-items: start; }
.eng-scope h2 { margin-top: 0; }
@media (min-width: 782px) {
	.eng-scope .wp-block-column:first-child { flex: 0 0 40%; }
}
.eng-references .eng-post-grid:has(> .eng-post-card:only-child) { grid-template-columns: minmax(0, 420px) !important; }

/* 1.29.0 – Scroll-Animationen (assets/js/reveal.js). Nur Deckkraft und Transform:
   keine Layoutverschiebung. Ohne Skript bleibt alles sichtbar. */
.eng-reveal {
	opacity: 0;
	transform: translate3d(0, 22px, 0);
	transition: opacity 0.7s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.7s cubic-bezier(0.2, 0.65, 0.25, 1);
	transition-delay: var(--eng-delay, 0ms);
}
.eng-reveal.is-in {
	opacity: 1;
	transform: none;
}
@media (prefers-reduced-motion: reduce) {
	.eng-reveal { opacity: 1; transform: none; transition: none; }
}
@media print {
	.eng-reveal { opacity: 1 !important; transform: none !important; }
}

/* 1.29.0 – Große Überschriften feiner: etwas leichter, engerer Zeichenabstand.
   Ab Tablet keine automatische Silbentrennung in H1/H2 (vermeidet „sau-ber“). */
h1,
.eng-page-hero h1,
.eng-photo-hero h1,
.home-hero h1,
.eng-hero .hero-slogan {
	font-weight: 500;
	letter-spacing: -0.042em;
}
h2,
.entry-content h2 {
	font-weight: 500;
	letter-spacing: -0.034em;
}
.eyebrow + h1,
.eyebrow + h2 {
	text-wrap: balance;
}
@media (min-width: 782px) {
	h1,
	h2 {
		hyphens: manual;
	}
}

/* 1.30.0 – Logo als eingebettete Vektorgrafik (Original Logo_RGB.ai) + Logo-Animation */
.site-brand .custom-logo-link { display: block; line-height: 0; }
.site-brand svg.eng-logo { display: block; width: 100%; height: auto; max-height: 70px; overflow: visible; }
.eng-logo .eng-tree,
.eng-logo .eng-trunk,
.eng-logo .eng-crown { transform-box: fill-box; transform-origin: 50% 100%; }
/* Wachsen: einmal je Besuch (Klasse setzt inc/logo.php vor dem ersten Zeichnen) */
.eng-logo-grow .site-brand .eng-trunk { animation: eng-logo-trunk 0.55s cubic-bezier(0.3, 0.7, 0.3, 1) 0.15s both; }
.eng-logo-grow .site-brand .eng-crown { animation: eng-logo-crown 0.75s cubic-bezier(0.34, 1.45, 0.5, 1) 0.45s both; }
.eng-logo-grow .site-brand .eng-tree-2 .eng-trunk { animation-delay: 0.35s; }
.eng-logo-grow .site-brand .eng-tree-2 .eng-crown { animation-delay: 0.65s; }
@keyframes eng-logo-trunk { from { transform: scaleY(0); } to { transform: none; } }
@keyframes eng-logo-crown { from { transform: scale(0); opacity: 0; } 35% { opacity: 1; } to { transform: none; opacity: 1; } }
/* Wiegen beim Überfahren / Fokus */
@media (hover: hover) {
	.eng-logo-motion .site-brand .custom-logo-link:hover .eng-tree,
	.eng-logo-motion .site-brand .custom-logo-link:focus-visible .eng-tree { animation: eng-logo-sway 1.5s ease-in-out; }
	.eng-logo-motion .site-brand .custom-logo-link:hover .eng-tree-2,
	.eng-logo-motion .site-brand .custom-logo-link:focus-visible .eng-tree-2 { animation-delay: 0.12s; }
}
@keyframes eng-logo-sway { 0% { transform: none; } 22% { transform: rotate(2.6deg); } 50% { transform: rotate(-1.9deg); } 76% { transform: rotate(0.8deg); } 100% { transform: none; } }
/* Ladeanzeige: Formularversand */
.eng-logo-motion .eng-form-status.is-busy::before {
	content: "";
	display: inline-block;
	width: 22px;
	height: 25px;
	margin-right: 10px;
	vertical-align: -6px;
	background: url("../img/loader-trees.svg") center / contain no-repeat;
}
/* Ladeanzeige: 3D-Gartenmodell */
.eng-logo-motion .eng-3d-loading .garden-viewport::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 64px;
	height: 72px;
	margin: -36px 0 0 -32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.86) url("../img/loader-trees.svg") center / 44px auto no-repeat;
	box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.86);
	z-index: 3;
	pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
	.eng-logo *,
	.site-brand .eng-logo * { animation: none !important; }
}

/* 1.32.0 – Logo-Signet im 3D-Modell (unten links) */
.eng-garden-block .garden-viewport .garden-brand {
	position: absolute;
	left: 14px;
	bottom: 14px;
	z-index: 2;
	width: 124px;
	pointer-events: none;
	line-height: 0;
}
.eng-garden-block .garden-viewport .garden-brand svg { display: block; width: 100%; height: auto; overflow: visible; transition: filter 0.9s ease; }
.eng-garden-block .garden-brand path { transition: fill 0.9s ease; }
/* Abendansicht: Logo leuchtet auf – helle Farben und weicher Schein */
.garden-explorer[data-daytime="night"] .garden-brand .eng-logo-word path,
.garden-explorer[data-daytime="night"] .garden-brand .eng-tree path[fill="#2ca6a0"] { fill: #7fe3da; }
.garden-explorer[data-daytime="night"] .garden-brand .eng-logo-tag path { fill: #e6efe9; }
.garden-explorer[data-daytime="night"] .garden-brand .eng-tree path[stroke="#fff"] { stroke: #1f2a3a; }
.garden-explorer[data-daytime="night"] .garden-brand svg {
	filter: drop-shadow(0 0 4px rgba(127, 227, 218, 0.55)) drop-shadow(0 0 14px rgba(127, 227, 218, 0.3));
	animation: eng-brand-glow 1.6s ease-out;
}
@keyframes eng-brand-glow {
	0% { filter: drop-shadow(0 0 0 rgba(127, 227, 218, 0)) drop-shadow(0 0 0 rgba(127, 227, 218, 0)); }
	45% { filter: drop-shadow(0 0 8px rgba(127, 227, 218, 0.9)) drop-shadow(0 0 26px rgba(127, 227, 218, 0.55)); }
	100% { filter: drop-shadow(0 0 4px rgba(127, 227, 218, 0.55)) drop-shadow(0 0 14px rgba(127, 227, 218, 0.3)); }
}
.eng-garden-block .garden-brand.is-waiting .eng-trunk { transform: scaleY(0); }
.eng-garden-block .garden-brand.is-waiting .eng-crown { transform: scale(0); opacity: 0; }
.eng-garden-block .garden-brand.is-growing .eng-trunk { animation: eng-logo-trunk 0.55s cubic-bezier(0.3, 0.7, 0.3, 1) both; }
.eng-garden-block .garden-brand.is-growing .eng-crown { animation: eng-logo-crown 0.75s cubic-bezier(0.34, 1.45, 0.5, 1) 0.3s both; }
.eng-garden-block .garden-brand.is-growing .eng-tree-2 .eng-trunk { animation-delay: 0.2s; }
.eng-garden-block .garden-brand.is-growing .eng-tree-2 .eng-crown { animation-delay: 0.5s; }
@media (hover: hover) {
	.eng-logo-motion .eng-garden-block .garden-viewport:hover .garden-brand:not(.is-waiting) .eng-tree { animation: eng-logo-sway 1.5s ease-in-out; }
	.eng-logo-motion .eng-garden-block .garden-viewport:hover .garden-brand:not(.is-waiting) .eng-tree-2 { animation-delay: 0.12s; }
}
@media (max-width: 781px) {
	.eng-garden-block .garden-viewport .garden-brand { width: 96px; left: 12px; bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
	.eng-garden-block .garden-brand,
	.eng-garden-block .garden-brand * { animation: none !important; transform: none !important; opacity: 1 !important; }
}

/* 1.32.2 – Handy: Logo ohne Unterzeile (sie wäre nur ca. 5 px hoch und unlesbar).
   Schriftzug leicht nach unten, damit er mittig neben den Bäumen steht. */
@media (max-width: 781px) {
	.site-brand .eng-logo .eng-logo-tag,
	.eng-garden-block .garden-brand .eng-logo-tag { display: none; }
	.site-brand .eng-logo .eng-logo-word,
	.eng-garden-block .garden-brand .eng-logo-word { transform: translateY(12px); }
}

/* 1.35.0 – Oberzeile in der Hauptüberschrift: sieht aus wie die Dachzeile, gehört aber zur H1 (Suchbegriff). */
.eng-h1-kicker {
	display: block;
	font-size: 12px;
	line-height: 1.5;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--primary, #1d7f7a);
	margin: 0 0 16px;
	/* Die H1 im Titelbild ist auf 16ch begrenzt – die kleine Zeile darf breiter laufen. */
	width: max-content;
	max-width: min(640px, calc(100vw - 32px));
}
.eng-page-hero h1 .eng-h1-kicker,
.eng-photo-hero h1 .eng-h1-kicker {
	color: #d6efe3;
}

/* 1.35.0 – Projektseite: Links zu den passenden Leistungsseiten unter den Projektangaben. */
.eng-project-services {
	margin: 14px 0 0;
	font-size: 15px;
	line-height: 1.6;
}
.eng-project-services > span:first-child {
	display: block;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--primary, #1d7f7a);
}
.eng-project-services a {
	color: inherit;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* 1.36.0 – Startseite: Oberzeile in der Hauptüberschrift, Aussehen wie die frühere kleine Zeile über dem Slogan. */
.eng-hero h1.hero-slogan .eng-h1-kicker {
	color: #d6efe3;
	font-size: 14px;
	letter-spacing: 0.14em;
	font-weight: 600;
	line-height: 1.5;
	margin: 0 0 18px;
}
