/*
Theme Name: Engelmeier Architektur
Description: Darstellung der Engelmeier-Website (Design 2.8: einheitliche Fotobanner auf allen Seiten, Gartencenter mit Live-Öffnungsstatus, Anfrage-Assistent). Funktionen stellt das Plugin „Engelmeier Funktionen“ bereit.
Author: Engelmeier
Version: 2.23.8
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: engelmeier
*/

/* Hausschrift: Schibsted Grotesk (SIL Open Font License, selbst gehostet). */
@font-face {
  font-family: "Schibsted Grotesk";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --brand: #2ca6a0;
  --teal: #175e5b;
  --ink: #1d2a25;
  --paper: #f7f4ee;
  --sand: #ece4d6;
  --primary: #1b6f6a;
  --primary-dark: #124f4b;
  --terracotta: #a5481f;
  --night: #1d2a25;
  --soft: #e4efea;
  --line: #e3dccd;
  --muted: #5d6a63;
  --font: "Schibsted Grotesk", Arial, Helvetica, sans-serif;
  --width: 1280px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
img {
  max-width: 100%;
  height: auto;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 5px;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 25px;
  text-wrap: balance;
}
h1 {
  font-size: clamp(44px, 5.9vw, 82px);
}
h2 {
  font-size: clamp(34px, 3.7vw, 52px);
}
h3 {
  font-size: clamp(25px, 2.15vw, 31px);
}
p {
  margin: 0 0 24px;
}
figure {
  margin: 0;
}
p:last-child {
  margin-bottom: 0;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 245, 239, 0.98);
  border-bottom: 1px solid var(--brand);
}
.header-inner {
  max-width: 1440px;
  margin: auto;
  padding: 20px 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 104px;
}
.site-brand {
  flex: 0 0 205px;
}
.site-brand img {
  width: 205px;
  max-height: 70px;
  object-fit: contain;
  display: block;
}
.primary-menu,
.sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  line-height: 1.35;
}
.primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 190px;
}
.primary-menu a {
  text-decoration: none;
  padding: 14px 0;
  display: inline-block;
}
.primary-menu > li > a {
  font-weight: 600;
}
.current-menu-item > a,
.current-menu-ancestor > a {
  color: var(--teal);
  text-decoration: underline;
}
.submenu-toggle {
  width: 30px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--teal);
}
.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: -20px;
  min-width: 310px;
  padding: 12px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  box-shadow: 0 16px 28px #23302d14;
}
.sub-menu a {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 16px 4px;
}
.sub-menu li:last-child > a {
  border: 0;
}
.submenu-open > .sub-menu {
  display: block;
}
.menu-toggle {
  display: none;
}
.skip-link {
  position: absolute;
  top: -150px;
}
.skip-link:focus {
  top: 0;
  z-index: 100;
  background: white;
  padding: 15px;
}
.site-main {
  min-height: 55vh;
}
.entry-content > .wp-block-group,
.page-hero,
.section,
.breadcrumb,
.post-content {
  width: min(var(--width), 90%);
  margin-left: auto;
  margin-right: auto;
}
.breadcrumb {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 26px;
  font-size: 12px;
  color: var(--muted);
}
.breadcrumb a {
  text-decoration: none;
}
.page-hero {
  padding: 60px 0 70px;
}
.page-hero > .lead {
  max-width: 780px;
}
.section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.entry-content .wp-block-columns {
  gap: 50px;
  margin: 0;
  align-items: center;
}
.entry-content .wp-block-column {
  min-width: 0;
}
.entry-content .wp-block-column > .wp-block-group {
  width: 100%;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 28px;
}
.lead {
  font-size: 20px;
  line-height: 1.65;
  max-width: 46ch;
  color: #4d5d55;
}
.home-hero {
  padding: 54px 0 56px;
}
.home-hero .hero-columns {
  gap: 42px;
}
.home-hero .wp-block-column:first-child {
  flex-basis: 52% !important;
}
.home-hero h1 {
  font-size: clamp(44px, 5.55vw, 80px);
  line-height: 1.04;
}
.home-hero .hero-copy {
  padding: 32px 0;
}
.home-hero .wp-block-image img {
  height: 580px;
  width: 100%;
  object-fit: cover;
}
.hero-columns > .wp-block-column:last-child > .wp-block-image img {
  object-fit: cover;
  width: 100%;
}
.page-hero .hero-columns img {
  height: 420px;
}
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 23px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  border: 1.5px solid transparent;
  border-radius: 0;
  line-height: 1.4;
}
.wp-block-button__link:hover {
  background: var(--primary-dark);
  color: #fff;
}
.is-style-outline .wp-block-button__link {
  border: 1.5px solid currentColor;
  background: transparent;
  color: var(--primary);
}
.is-style-outline .wp-block-button__link:hover {
  background: rgba(27, 111, 106, 0.08);
  color: var(--primary-dark);
}
.wp-block-buttons {
  margin-top: 32px;
  margin-bottom: 16px;
}
.text-link {
  font-size: 16px;
  font-weight: 600;
}
.text-link a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 16px 0;
}
.text-link a:hover {
  color: var(--teal);
  border-color: var(--brand);
}
.divisions {
  padding: 0 !important;
  border: 0;
}
.divisions > .wp-block-columns {
  gap: 0;
  align-items: stretch;
}
.division {
  padding: 46px 50px;
  background: #e9eae3;
  height: 100%;
}
.division h2 {
  font-size: 42px;
}
.retail-card {
  background: var(--soft);
  border-top: 5px solid var(--brand);
  padding-top: 41px;
}
.feature .wp-block-columns {
  gap: 75px;
}
.feature .wp-block-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}
.feature-copy {
  padding: 20px 0;
}
.feature-copy p {
  max-width: 50ch;
}
.eng-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}
.eng-post-card {
  border-top: 1px solid var(--line);
  min-width: 0;
}
.eng-post-card > a {
  display: block;
  text-decoration: none;
}
.eng-post-card img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
  display: block;
  margin-bottom: 26px;
}
.post-card-copy {
  padding: 26px 0 8px;
}
.eng-post-card img + .post-card-copy {
  padding-top: 0;
}
.post-card-copy .eyebrow {
  display: block;
  margin-bottom: 18px;
}
.post-card-copy h3 {
  font-size: 30px;
}
.post-card-copy p {
  font-size: 16px;
  color: var(--muted);
}
.post-card-copy .text-link {
  color: var(--teal);
}
.eng-post-card a:hover h3 {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.eng-jobs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.eng-jobs .eng-post-card {
  padding: 35px;
  border: 1px solid var(--line);
  background: #fff;
}
.eng-jobs h3 {
  font-size: 32px;
}
.career-band,
.cta-panel {
  background: var(--teal);
  color: white;
  padding: 60px !important;
  margin-top: 30px;
  margin-bottom: 70px;
}
.career-band .eyebrow,
.career-band .text-link,
.cta-panel .text-link {
  color: #b6e7dc;
}
.career-band .text-link a {
  border-color: #60938c;
}
.career-band .wp-block-column:first-child {
  flex-basis: 62% !important;
}
.cta-panel .wp-block-columns {
  gap: 80px;
}
.cta-panel .wp-block-column:first-child {
  flex-basis: 67% !important;
}
.cta-panel h2 {
  font-size: 45px;
}
.cta-panel p {
  color: #d6e5de;
}
.soft-panel {
  background: var(--soft);
  padding: 55px !important;
  border: 0;
  margin-bottom: 60px;
}
.service-grid .wp-block-columns,
.benefits .wp-block-columns {
  align-items: stretch;
}
.service-cell {
  height: 100%;
  border-top: 3px solid var(--brand);
  padding-top: 26px;
}
.service-cell h3 {
  font-size: 29px;
}
.service-cell p {
  font-size: 17px;
  color: var(--muted);
}
.narrow {
  max-width: 900px;
}
.contact-card {
  padding: 30px 0 50px;
}
.contact-large {
  font-size: clamp(22px, 3vw, 38px);
  overflow-wrap: anywhere;
}
.post-content {
  max-width: 860px;
  padding: 30px 0 80px;
}
.post-content h2 {
  margin-top: 45px;
  font-size: 36px;
}
.post-content .wp-block-image {
  margin: 36px 0;
}
.caption {
  font-size: 13px;
  color: var(--muted);
  margin-top: 30px;
}
.site-footer {
  background: #e9ece4;
  border-top: 3px solid var(--brand);
  padding: 55px 0 24px;
}
.footer-inner {
  width: min(var(--width), 90%);
  margin: auto;
}
.footer-inner > .wp-block-columns {
  gap: 30px;
}
.footer-inner .wp-block-column {
  min-width: 0;
}
.footer-inner h3 {
  font-size: 19px;
  letter-spacing: 0;
}
.footer-inner p {
  font-size: 14px;
}
.footer-brand img {
  width: 200px;
  margin-bottom: 20px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #bccabe;
  padding-top: 24px;
  margin-top: 35px;
}
.footer-bottom p {
  margin: 0;
}
.footer-inner .text-link a {
  display: inline-block;
}
.pagination {
  display: flex;
  gap: 18px;
  margin-top: 35px;
}
.admin-bar .site-header {
  top: 32px;
}
.eng-editor-model,
.eng-editor-list {
  padding: 25px;
  border: 2px dashed #2ca6a0;
  background: #edf4f0;
  font: 16px/1.6 Arial;
}
.editor-styles-wrapper .section,
.editor-styles-wrapper .page-hero {
  width: 100%;
}
.editor-styles-wrapper .wp-block {
  max-width: 1280px;
}
.editor-styles-wrapper h1 {
  font-size: 60px;
}
.editor-styles-wrapper .home-hero img {
  height: 420px !important;
}
@media (hover: hover) and (pointer: fine) {
  .primary-menu > li:hover > .sub-menu {
    display: block;
  }
  .primary-menu > li > a:hover {
    color: var(--teal);
  }
}
@media (max-width: 1279px) {
  .header-inner {
    min-height: 90px;
    padding: 14px 5%;
  }
  .site-brand,
  .site-brand img {
    width: 185px;
    flex-basis: 185px;
  }
  .menu-toggle {
    display: flex;
    gap: 20px;
    border: 1px solid var(--line);
    background: none;
    padding: 10px 16px;
    align-items: center;
  }
  .site-header nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: calc(100dvh - 100px);
    overflow: auto;
    background: var(--paper);
    border-bottom: 2px solid var(--brand);
    padding: 15px 5% 25px;
  }
  .site-header nav.is-open {
    display: block;
  }
  .primary-menu {
    display: block;
  }
  .primary-menu > li {
    max-width: none;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }
  .primary-menu > li > a {
    font-size: 18px;
    padding: 17px 0;
  }
  .sub-menu {
    position: static;
    flex-basis: 100%;
    box-shadow: none;
    background: var(--soft);
    border: 0;
    min-width: 0;
  }
  .submenu-toggle {
    width: 48px;
  }
  .home-hero .wp-block-image img {
    height: 480px;
  }
  .entry-content .wp-block-columns {
    gap: 30px;
  }
  .division {
    padding: 35px;
  }
  .division h2 {
    font-size: 36px;
  }
  .feature .wp-block-columns {
    gap: 35px;
  }
}
@media (max-width: 781px) {
  .home-hero {
    padding-top: 25px;
  }
  .home-hero .hero-copy {
    padding: 15px 0;
  }
  .home-hero h1 {
    font-size: 48px;
  }
  .home-hero .wp-block-image img {
    height: 340px;
  }
  .page-hero {
    padding: 42px 0 45px;
  }
  .page-hero .hero-columns img {
    height: 300px;
  }
  .section {
    padding: 48px 0;
  }
  .wp-block-columns {
    flex-direction: column;
    gap: 28px;
  }
  .wp-block-column {
    width: 100%;
  }
  .divisions > .wp-block-columns {
    gap: 18px;
  }
  .division {
    padding: 30px;
  }
  .feature .wp-block-image img {
    height: 330px;
  }
  .eng-post-grid,
  .eng-jobs {
    grid-template-columns: 1fr;
  }
  .eng-post-card img {
    aspect-ratio: 1.6;
  }
  .career-band,
  .cta-panel {
    padding: 32px !important;
    margin-bottom: 45px;
  }
  .soft-panel {
    padding: 30px !important;
  }
  .footer-bottom {
    display: block;
  }
  .footer-bottom p {
    margin-bottom: 12px;
  }
  .site-footer .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .site-footer .footer-brand {
    grid-column: 1/-1;
  }
  .admin-bar .site-header {
    top: 46px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media (min-width: 782px) {
  .home-hero .hero-columns > .wp-block-column:first-child {
    flex: 1.1 1 0 !important;
  }
  .home-hero .hero-columns > .wp-block-column:last-child {
    flex: 1 1 0 !important;
  }
}
@media (min-width: 1280px) {
  .primary-menu > li {
    flex-wrap: nowrap;
    max-width: 230px;
  }
  .primary-menu > li > a {
    flex: 1;
  }
  .submenu-toggle {
    flex: 0 0 26px;
  }
  .primary-menu {
    gap: 19px;
  }
  .header-inner {
    gap: 30px;
  }
}
.home-hero .hero-columns {
  align-items: center;
}
.editorial-section > p:not(.eyebrow) {
  max-width: 68ch;
  margin-bottom: 36px;
  font-size: 19px;
  color: var(--muted);
}
.editorial-section .wp-block-columns {
  align-items: stretch;
  gap: 35px;
}
.editorial-section .service-cell h3 {
  font-size: 26px;
}
.editorial-section .service-cell p {
  font-size: 16px;
  line-height: 1.75;
}
@media (max-width: 760px) {
  .editorial-section .service-cell {
    margin-bottom: 22px;
  }
}
.legal-content {
  max-width: 860px;
}
.legal-content h2 {
  font-size: 30px;
  margin-top: 40px;
}
.legal-content p {
  font-size: 17px;
  line-height: 1.75;
}
.legal-draft-note {
  background: #f2e9d5;
  border-left: 4px solid #ab8952;
  padding: 22px;
}

/* Fußbereich (bearbeitbarer Block „footer-v23“) */
.site-footer:has(.footer-v23) {
  background: #e9ece4;
  color: var(--ink);
  border-top: 3px solid var(--brand);
  padding: 55px 0 24px;
}
.footer-v23 .footer-top,
.footer-v23 .footer-main {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 70px;
}
.footer-v23 .footer-top {
  align-items: center;
  margin-bottom: 55px;
}
.footer-v23 .footer-top > *,
.footer-v23 .footer-main > *,
.footer-v23 .footer-nav-grid > * {
  margin-block: 0;
}
.footer-v23 .footer-brand {
  max-width: 220px;
}
.footer-v23 .footer-brand figure,
.footer-v23 .footer-brand img {
  margin: 0;
  display: block;
}
.footer-v23 .footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-v23 .footer-contact-links p {
  margin: 0;
}
.footer-v23 .footer-contact-links a {
  display: block;
  color: var(--teal);
  border-bottom: 1px solid var(--brand);
  padding: 10px 0;
  margin-right: 18px;
  text-decoration: none;
  font-weight: 600;
}
.footer-v23 .footer-intro h3 {
  color: var(--teal);
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}
.footer-v23 .footer-intro p {
  font-size: 15px;
  max-width: 48ch;
}
.footer-v23 .footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
}
.footer-v23 .footer-link-group h3 {
  font-size: 17px;
  line-height: 1.4;
  min-height: 2.8em;
  margin-bottom: 16px;
}
.footer-v23 .footer-link-group p {
  margin: 0 0 9px;
}
.footer-v23 .footer-link-group a {
  font-size: 14px;
  text-decoration: none;
  display: inline-block;
  padding: 3px 0;
}
.footer-v23 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.footer-v23 .footer-bottom {
  border-color: #bccabe;
  color: var(--muted);
  margin-top: 50px;
}
.eng-social-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.eng-social-links a {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid #bccabe;
  color: var(--teal);
  padding: 10px 15px;
  text-decoration: none;
  font-size: 14px;
}
.eng-social-links svg {
  width: 23px;
  height: 23px;
}
@media (max-width: 1000px) {
  .footer-v23 .footer-main,
  .footer-v23 .footer-top {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-v23 .footer-intro p {
    max-width: 75ch;
  }
}
@media (max-width: 600px) {
  .footer-v23 .footer-nav-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
  .footer-v23 .footer-link-group h3 {
    min-height: 0;
  }
  .footer-v23 .footer-contact-links {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-v23 .footer-intro h3 {
    font-size: 23px;
  }
}

/* Projektkarten und Projektangaben */
.eng-project-grid .eng-post-card {
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s;
}
.eng-project-grid .eng-post-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.eng-project-grid .eng-post-card img {
  aspect-ratio: 1.5;
  margin: 0;
}
.eng-project-grid .post-card-copy,
.eng-project-grid .eng-post-card img + .post-card-copy {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.eng-project-grid .text-link {
  margin-top: auto;
  padding-top: 20px;
}
.eng-project-grid .eng-post-card:hover {
  border-color: var(--brand);
}
.eng-project-grid .post-card-copy h3 {
  font-size: 27px;
  line-height: 1.2;
}
body:not(.home) .eng-project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.eng-project-facts {
  margin: 15px 0 20px;
  font-size: 14px;
}
.eng-project-facts > div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 15px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.eng-project-facts dt {
  font-weight: 600;
}
.eng-project-facts dd {
  margin: 0;
  color: var(--muted);
}
.page-hero > .eng-project-facts {
  max-width: 780px;
}
@media (max-width: 1000px) {
  body:not(.home) .eng-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  body:not(.home) .eng-project-grid {
    grid-template-columns: 1fr;
  }
  .eng-project-grid .post-card-copy {
    padding: 22px;
  }
}
@media (min-width: 1280px) {
  .primary-menu > li:nth-last-child(-n + 2) > .sub-menu {
    left: auto;
    right: 0;
    width: 350px;
    max-width: calc(100vw - 40px);
  }
  .eng-job-menu a {
    overflow-wrap: anywhere;
  }
}

/* Anruf-Button (nur mobil), Startseiten-Überschrift, 404, Suche, Hilfsklassen */
.home-hero h1.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.13em;
  line-height: 1.5;
  font-weight: 600;
  margin-bottom: 28px;
  text-wrap: wrap;
}
.hero-slogan {
  font-size: clamp(44px, 5.55vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
  margin: 0 0 25px;
}
.not-found-links {
  list-style: none;
  padding: 0;
  margin: 10px 0 40px;
  max-width: 560px;
}
.not-found-links a {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  font-weight: 600;
}
.not-found-links a:hover {
  color: var(--teal);
  border-color: var(--brand);
}
.search-form {
  display: flex;
  gap: 10px;
  max-width: 560px;
}
.search-form label {
  flex: 1;
}
.search-form .search-field {
  width: 100%;
  padding: 12px;
  border: 1px solid #a7b7ae;
  background: #fff;
  border-radius: 0;
}
.search-form .search-submit {
  border: 0;
  background: var(--teal);
  color: #fff;
  padding: 12px 20px;
}
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
@media (max-width: 781px) {
  .hero-slogan {
    font-size: 48px;
  }
}

/* =====================================================================
   Design 2.7 – Infoleiste, Kopf, Startseite
   ===================================================================== */

/* Infoleiste */
.eng-infobar {
  background: var(--night);
  color: #f1ede4;
  font-size: 14px;
  line-height: 1.4;
}
.infobar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 9px 4%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  align-items: center;
  justify-content: space-between;
}
.infobar-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
}
.eng-infobar a {
  color: #f1ede4;
  text-decoration-color: rgba(241, 237, 228, 0.4);
}
.eng-infobar a:focus-visible {
  outline-color: #8fd6c4;
}
.eng-open-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
}
.eng-open-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #b9b2a3;
  flex: none;
}
.eng-open-status.is-open .eng-open-dot {
  background: #7fd1a0;
}
.eng-open-status.is-chip {
  background: #fff;
  color: var(--night);
  padding: 7px 12px;
  font-size: 14px;
  margin: 0 0 18px;
}
.eng-open-status.is-chip.is-open .eng-open-dot {
  background: #2e8b57;
}

/* Kopf */
.site-header {
  background: rgba(247, 244, 238, 0.97);
  border-bottom: 1px solid #ddd5c6;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.header-call {
  width: 46px;
  height: 46px;
  border: 1px solid #c9bfae;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover {
  background: var(--primary-dark);
  color: #fff;
}
.current-menu-item > a,
.current-menu-ancestor > a {
  color: var(--primary);
}
@media (max-width: 1279px) {
  .header-actions {
    margin-left: auto;
  }
}
@media (max-width: 600px) {
  .header-cta {
    display: none;
  }
  .infobar-links a:first-child {
    display: none;
  }
}

/* Volle Breite innerhalb des Seiteninhalts */
.entry-content > .alignfull,
.entry-content > .wp-block-group.alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}
.entry-content > .wp-block-group.alignfull > .section {
  border-top: 0;
}
.eng-divisions,
.eng-season,
.eng-steps,
.eng-faq {
  border-top: 0 !important;
}
.section-intro {
  color: var(--muted);
  max-width: 60ch;
}

/* 1 Großes Startbild */
.eng-hero.wp-block-cover {
  min-height: 640px;
  padding: 0;
  align-items: flex-end;
}
.eng-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(14, 28, 23, 0.86) 0%, rgba(14, 28, 23, 0.68) 50%, rgba(14, 28, 23, 0.12) 85%) !important;
  opacity: 1 !important;
}
.eng-hero.wp-block-cover .wp-block-cover__inner-container {
  width: min(var(--width), 90%) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 120px 0 72px;
  color: #fff;
}
.eng-hero .hero-kicker {
  color: #d6efe3;
  font-size: 14px;
  letter-spacing: 0.14em;
  margin-bottom: 18px;
}
.eng-hero .hero-slogan {
  font-size: clamp(42px, 6vw, 84px);
  line-height: 1.02;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 13ch;
  margin: 0 0 22px;
  color: #fff;
}
.eng-hero .hero-lead {
  font-size: 20px;
  max-width: 46ch;
  color: #eef1ec;
  margin-bottom: 0;
}
.eng-hero .wp-block-buttons {
  gap: 14px;
}
.eng-hero .wp-block-button__link {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  min-height: 54px;
  padding: 15px 26px;
}
.eng-hero .wp-block-button__link:hover {
  background: #e9f2ee;
  color: var(--ink);
}
.eng-hero .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.eng-hero .is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* 2 Vertrauensleiste */
.eng-trust {
  background: var(--sand);
}
.eng-trust .trust-grid {
  width: min(var(--width), 90%);
  margin: 0 auto;
  padding: 28px 0;
  gap: 20px 48px;
}
.trust-value {
  font-size: 28px;
  overflow-wrap: anywhere;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 4px;
}
.trust-label {
  font-size: 15px;
  color: #4f5852;
  line-height: 1.4;
}

/* 3 Zwei Bereiche */
.eng-divisions {
  padding-top: 96px;
  padding-bottom: 40px;
}
.eng-divisions .tiles {
  gap: 28px;
  margin-top: 36px;
}
/* Bildkacheln: Foto oben, Text auf einer festen Fläche in CI-Farbe – gut lesbar bei jedem Foto */
.eng-tile.wp-block-cover {
  padding: 0;
  align-items: flex-end;
  height: 100%;
}
.eng-tile .wp-block-cover__background {
  background: none !important;
  opacity: 0 !important;
}
.eng-tile .wp-block-cover__inner-container {
  width: 100% !important;
  margin: 300px 0 0 !important;
  align-self: stretch;
  padding: 30px 34px 32px;
  background: var(--primary);
  border-top: 6px solid var(--brand);
  color: #fff;
}
.eng-tile .eyebrow {
  color: #d6efe3;
  margin-bottom: 8px;
}
.eng-tile h3 {
  font-size: 36px;
  line-height: 1.1;
  margin-bottom: 12px;
  color: #fff;
}
.eng-tile p {
  color: #eef1ec;
  max-width: 42ch;
}
.tile-links {
  margin: 18px 0 0;
  gap: 8px;
}
.tile-links .wp-block-button__link,
.eng-tile .is-style-outline .wp-block-button__link {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 14px;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.75);
}
.tile-links .wp-block-button__link:hover {
  background: #fff;
  color: var(--ink);
}

/* 4 Saison */
.eng-season .eyebrow,
.card-eyebrow {
  color: var(--terracotta);
}
.eng-season .cards {
  gap: 24px;
  margin-top: 32px;
}
.eng-card {
  background: #fff;
  border: 1px solid #e3dccd;
  height: 100%;
}
.eng-card .wp-block-image {
  margin: 0;
}
.eng-card .wp-block-image img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}
.card-body {
  padding: 24px;
}
.card-eyebrow {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}
.eng-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.eng-card p:not(.card-eyebrow) {
  color: #4f5852;
  font-size: 16px;
}

/* 5 Projekte */
.eng-projects {
  background: #fff;
  border-top: 1px solid #e3dccd;
  border-bottom: 1px solid #e3dccd;
}
.eng-projects .section {
  padding: 96px 0;
}
.featured-project {
  gap: 32px;
  margin: 36px 0 40px;
}
.featured-project > .wp-block-column:first-child {
  flex: 1.6 1 0 !important;
}
.featured-project > .wp-block-column:last-child {
  flex: 1 1 0 !important;
  align-self: center;
}
/* Ohne Vorher-Foto wird nur das Nachher-Foto gezeigt. */
.before-after-pair > .wp-block-column:empty {
  display: none;
}
.before-after-pair {
  gap: 4px;
}
.before-after {
  position: relative;
  margin: 0;
}
.before-after img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}
.before-after figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  margin: 0;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 5px 10px;
}
.before-after-pair > .wp-block-column:first-child .before-after figcaption {
  background: var(--night);
}
.featured-project h3 {
  font-size: 30px;
  line-height: 1.15;
}
.project-facts {
  font-size: 15px;
  border-top: 1px solid #e3dccd;
  border-bottom: 1px solid #e3dccd;
  padding: 10px 0;
}
.eng-projects .card-eyebrow {
  color: var(--primary);
  font-size: 14px;
}

/* 6 Ablauf */
.eng-steps .steps {
  gap: 28px;
  margin-top: 12px;
}
.eng-steps .steps > .wp-block-column {
  border-top: 3px solid var(--primary);
  padding-top: 20px;
}
.step-no {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.eng-steps h3 {
  font-size: 22px;
  margin-bottom: 8px;
}
.eng-steps p:not(.step-no):not(.eyebrow) {
  color: #4f5852;
  font-size: 16px;
}

/* 7 Anfrage-Assistent */
.eng-request {
  background: var(--night);
  color: #f1ede4;
}
.eng-request .section {
  padding: 96px 0;
}
.request-columns {
  gap: 48px;
}
.request-columns > .wp-block-column:first-child,
.faq-columns > .wp-block-column:first-child {
  flex: 1 1 0 !important;
}
.request-columns > .wp-block-column:last-child,
.faq-columns > .wp-block-column:last-child {
  flex: 1.9 1 0 !important;
}
.eng-request .eyebrow {
  color: #8fd6c4;
}
.eng-request h2 {
  color: #fff;
}
.eng-request p {
  color: #cfd6d0;
}
.request-phone a {
  color: #fff;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}
.eng-request .eng-hours li {
  border-color: #3d4c45;
  color: #cfd6d0;
}
/* Startseite: Verweis auf die Projektanfrage für Gewerbe & öffentliche Hand */
.eng-request p.request-switch {
  margin: 28px 0;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-left: 4px solid var(--brand);
  background: rgba(255, 255, 255, 0.05);
  font-size: 16px;
  line-height: 1.5;
}
.eng-request p.request-switch a {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.eng-request p.request-switch a:hover,
.eng-request p.request-switch a:focus-visible {
  text-decoration: underline;
}
.eng-request .eng-contact-form {
  margin-top: 0;
  max-width: none;
  color: var(--ink);
}
.eng-request .eng-contact-form p {
  color: var(--ink);
}

/* 9 Häufige Fragen */
.faq-columns {
  gap: 40px;
}
.eng-faq .wp-block-details {
  border-top: 1px solid #d6cdbb;
  padding: 0;
}
.eng-faq .wp-block-details:last-child {
  border-bottom: 1px solid #d6cdbb;
}
.eng-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  font-size: 19px;
  font-weight: 600;
  min-height: 44px;
}
.eng-faq summary::-webkit-details-marker {
  display: none;
}
.eng-faq summary::after {
  content: "+";
  font-size: 26px;
  color: var(--primary);
  transition: transform 0.2s;
}
.eng-faq details[open] summary::after {
  transform: rotate(45deg);
}
.eng-faq .wp-block-details p {
  color: #4f5852;
  max-width: 62ch;
  margin: 0 0 20px;
}

/* 10 Karriere */
.eng-career {
  background: var(--primary);
  color: #fff;
}
.eng-career .section {
  padding: 64px 0;
}
.career-columns {
  align-items: center !important;
  gap: 24px 48px;
}
.eng-career .eyebrow {
  color: #cdeee5;
  margin-bottom: 8px;
}
.eng-career h2 {
  color: #fff;
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
}
.eng-career .wp-block-buttons {
  justify-content: flex-end;
  margin: 0;
}
.eng-career .wp-block-button__link {
  background: #fff;
  color: var(--ink);
}
.eng-career .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* Abschnittsabstände Startseite */
.home .entry-content > .section {
  padding-top: 88px;
  padding-bottom: 72px;
}
.home .entry-content h2 {
  font-size: clamp(32px, 3.6vw, 50px);
}

/* Fußbereich 2.7 */
.site-footer:has(.footer-v27) {
  background: var(--sand);
  border-top: 0;
  padding: 72px 0 28px;
}
.footer-columns {
  gap: 40px;
  margin-bottom: 36px;
}
.footer-columns > .wp-block-column:first-child {
  flex: 1 1 0 !important;
}
.footer-columns > .wp-block-column:last-child {
  flex: 3 1 0 !important;
}
.footer-logo img {
  height: 56px;
  width: auto;
}
.footer-v27 p {
  font-size: 15px;
  color: #4f5852;
}
.eng-locations {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.eng-location h3 {
  font-size: 18px;
  letter-spacing: 0;
  margin-bottom: 10px;
}
.eng-location p {
  margin: 0 0 10px;
  color: var(--ink) !important;
}
.eng-location .eng-location-hours {
  color: #4f5852 !important;
}
.footer-nav-v27 {
  border-top: 1px solid #cfc5b2;
  padding-top: 22px;
}
.footer-nav-v27 a,
.footer-v27 .footer-bottom a {
  color: var(--ink);
}
.footer-v27 .footer-bottom {
  display: block;
  border-top: 0;
  margin-top: 18px;
  padding-top: 0;
}
.footer-v27 .eng-social-links {
  margin-top: 16px;
}
.footer-v27 .eng-social-links a {
  border-color: #cfc5b2;
  color: var(--primary);
}

@media (max-width: 781px) {
  .eng-hero .wp-block-cover__background {
    background: rgba(14, 28, 23, 0.7) !important;
  }
  .eng-hero .wp-block-cover__inner-container {
    padding: 96px 0 48px;
  }
  .eng-hero .hero-slogan {
    font-size: 44px;
  }
  .eng-tile .wp-block-cover__inner-container {
    margin-top: 220px !important;
    padding: 24px 22px 26px;
  }
  .eng-tile h3 {
    font-size: 30px;
  }
  .before-after img {
    height: 260px;
  }
  .eng-locations {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .eng-career .wp-block-buttons {
    justify-content: flex-start;
  }
  .eng-projects .section,
  .eng-request .section {
    padding: 64px 0;
  }
  .eng-divisions {
    padding-top: 64px;
  }
}

/* Navigation: einzeilig, kompakter neben Telefon und Anfrage-Button */
@media (min-width: 1280px) {
  .primary-menu {
    gap: 22px;
  }
  .primary-menu > li {
    max-width: none;
  }
  .primary-menu > li > a {
    white-space: nowrap;
    font-size: 14.5px;
  }
  .site-brand,
  .site-brand img {
    flex-basis: 170px;
    width: 170px;
  }
}
@media (min-width: 1280px) and (max-width: 1380px) {
  .header-call {
    display: none;
  }
  .primary-menu {
    gap: 16px;
  }
}
@media (max-width: 600px) {
  .site-brand,
  .site-brand img {
    width: 150px;
    flex-basis: 150px;
  }
  .header-inner {
    gap: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .menu-toggle {
    gap: 10px !important;
    padding: 10px 12px !important;
  }
}

/* Lange deutsche Wörter (z. B. Stellentitel) umbrechen statt überstehen */
h1,
h2,
h3 {
  overflow-wrap: break-word;
  hyphens: auto;
}
@media (min-width: 1280px) and (max-width: 1380px) {
  .primary-menu {
    gap: 14px;
  }
  .primary-menu > li > a {
    font-size: 14px;
  }
  .header-inner {
    gap: 18px;
    padding-left: 3%;
    padding-right: 3%;
  }
  .site-brand,
  .site-brand img {
    flex-basis: 150px;
    width: 150px;
  }
}
@media (max-width: 380px) {
  .site-brand,
  .site-brand img {
    width: 128px;
    flex-basis: 128px;
  }
  .header-inner {
    padding-left: 4%;
    padding-right: 4%;
  }
}

/* =====================================================================
   Design 2.8 – einheitliches Erscheinungsbild aller Seiten
   ===================================================================== */

/* Brotkrumen als schmale Leiste über dem Banner */
.breadcrumb {
  padding: 14px 0;
  font-size: 13px;
}

/* Fotobanner der Unterseiten (Block) */
.eng-page-hero.wp-block-cover {
  min-height: 520px;
}
.eng-page-hero.wp-block-cover .wp-block-cover__inner-container {
  padding: 140px 0 64px;
}
.eng-page-hero h1,
.eng-photo-hero h1 {
  color: #fff;
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  max-width: 16ch;
  margin: 0 0 18px;
}
.eng-page-hero .eyebrow,
.eng-photo-hero .eyebrow {
  color: #d6efe3;
  margin-bottom: 16px;
}
.eng-page-hero p:not(.eyebrow),
.eng-photo-hero .lead {
  color: #eef1ec;
  max-width: 52ch;
  font-size: 20px;
}

/* Fotobanner aus dem Theme (Beitragsbild bei Projekten, Stellen, neuen Seiten) */
.eng-photo-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--night);
  width: 100%;
}
.eng-photo-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}
.eng-photo-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(14, 28, 23, 0.78) 0%, rgba(14, 28, 23, 0.55) 45%, rgba(14, 28, 23, 0.08) 85%);
}
.eng-photo-hero__inner,
.eng-band-hero__inner {
  position: relative;
  z-index: 1;
  width: min(var(--width), 90%);
  margin: 0 auto;
}
.eng-photo-hero__inner {
  padding: 140px 0 64px;
}

/* Kopf ohne Bild: ruhiges Sandband */
.eng-band-hero {
  background: var(--sand);
  width: 100%;
}
.eng-band-hero__inner {
  padding: 72px 0 64px;
}
.eng-band-hero h1 {
  font-size: clamp(38px, 4.6vw, 64px);
  max-width: 20ch;
  margin-bottom: 16px;
}
.eng-band-hero .lead {
  color: #4f5852;
}
.entry-content > .eng-photo-hero,
.entry-content > .eng-band-hero {
  margin-bottom: 0;
}

/* Abschnitte der Unterseiten im Stil der Startseite */
.entry-content > .section {
  padding-top: 88px;
  padding-bottom: 72px;
}
.entry-content h2 {
  font-size: clamp(32px, 3.6vw, 50px);
}
.eyebrow {
  color: var(--primary);
}
.lead {
  color: #4f5852;
}
.service-cell {
  border-top: 3px solid var(--primary);
}
.service-cell h3 {
  font-size: 24px;
}
/* Hinweisflächen (z. B. „Interesse an einer Ausbildung?“) in der CI-Farbe,
   gleiche Gestaltung wie die Kontaktbänder */
.soft-panel {
  background: var(--primary) !important;
  border-top: 6px solid var(--brand);
  color: #fff;
}
.soft-panel h2,
.soft-panel h3 {
  color: #fff;
}
.soft-panel p {
  color: #e3f3ee;
}
.soft-panel .eyebrow {
  color: #cdeee5;
}
.soft-panel a {
  color: #fff;
}
.soft-panel .text-link a {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.soft-panel .text-link a:hover {
  color: #cdeee5;
  border-color: #cdeee5;
}
.soft-panel a:focus-visible {
  outline-color: #fff;
}
.text-link a {
  color: var(--ink);
}
.text-link a:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.feature .wp-block-image img {
  height: 480px;
}
.page-hero .hero-columns img {
  height: 460px;
  object-fit: cover;
  width: 100%;
}

/* Kontaktband am Seitenende = Anfrageband der Startseite */
/* Kontaktband in der CI-Farbe: Logo-Türkis als Akzentkante, dunkleres CI-Türkis als
   Fläche (weißer Text auf dem hellen Logo-Türkis wäre nicht ausreichend lesbar). */
.cta-panel {
  background: var(--primary) !important;
  border-top: 6px solid var(--brand);
  color: #fff;
  padding: 72px 64px !important;
}
.cta-panel h2 {
  color: #fff;
}
.cta-panel .eyebrow {
  color: #cdeee5;
}
.cta-panel p {
  color: #e3f3ee;
}
.cta-panel .text-link,
.cta-panel .text-link a {
  color: #fff;
}
.cta-panel .text-link a {
  border-color: rgba(255, 255, 255, 0.35);
}
.cta-panel .text-link a:hover {
  color: #cdeee5;
  border-color: #cdeee5;
}
.cta-panel .wp-block-buttons {
  gap: 12px;
}
.cta-panel .wp-block-button__link {
  background: #fff;
  color: var(--ink);
}
.cta-panel .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

/* Projekt- und Stellenseiten */
.post-content > .eng-project-facts:first-child {
  margin-top: 0;
  margin-bottom: 36px;
}
.post-content {
  padding-top: 56px;
}
.eng-post-grid.section {
  padding-top: 56px;
}

/* Rechtstexte: schlicht, gut lesbar */
.legal-content {
  padding-top: 72px;
}

@media (max-width: 781px) {
  /* Smartphone: niedrigeres Fotobanner, damit der Inhalt (z. B. offene Stellen) früher sichtbar ist. */
  .eng-page-hero.wp-block-cover {
    min-height: 340px !important;
  }
  .eng-page-hero.wp-block-cover .wp-block-cover__inner-container,
  .eng-photo-hero__inner {
    padding: 72px 0 36px;
  }
  .eng-photo-hero {
    min-height: 400px;
  }
  .eng-photo-hero::after {
    background: rgba(14, 28, 23, 0.6);
  }
  .eng-page-hero p:not(.eyebrow),
  .eng-photo-hero .lead {
    font-size: 18px;
  }
  .eng-band-hero__inner {
    padding: 48px 0 40px;
  }
  .cta-panel {
    padding: 40px 24px !important;
  }
  .feature .wp-block-image img,
  .page-hero .hero-columns img {
    height: 320px;
  }
  .entry-content > .section {
    padding-top: 56px;
    padding-bottom: 48px;
  }
}
/* Kontaktband: Buttons nebeneinander, Spalte passt sich an */
.cta-panel .wp-block-columns {
  align-items: center !important;
}
.cta-panel .wp-block-column:first-child {
  flex: 1 1 0 !important;
}
.cta-panel .wp-block-column:last-child {
  flex: 0 1 auto !important;
}
.cta-panel .wp-block-buttons {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cta-panel .wp-block-button__link {
  white-space: nowrap;
}
@media (max-width: 781px) {
  .cta-panel .wp-block-buttons {
    justify-content: flex-start;
  }
  .cta-panel .wp-block-button__link {
    white-space: normal;
  }
}

/* Ausbildungsseite: Erläuterung zur Ausbildung */
.eng-training .training-columns {
  gap: 48px;
  margin: 24px 0 48px;
}
.eng-training .wp-block-list {
  padding-left: 0;
  list-style: none;
}
.eng-training .wp-block-list li {
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.eng-training .wp-block-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 19px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}
.eng-training > h3 {
  margin-top: 48px;
}
.eng-training .steps {
  margin-bottom: 8px;
}
.eng-training .training-cta {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--soft);
  border-left: 4px solid var(--primary);
}
.eng-training > p {
  max-width: 75ch;
}

/* Teamseiten (Unternehmen): Leistungskarten mit CI-Oberkante wie der Ablauf der Startseite */
.entry-content .steps > .wp-block-column {
  border-top: 3px solid var(--primary);
  padding-top: 20px;
}
.entry-content .steps h3 {
  font-size: 24px;
  margin-bottom: 8px;
}
.entry-content .steps p:not(.text-link) {
  color: #4f5852;
  font-size: 16px;
}
.eng-team-tiles .tiles {
  margin-top: 36px;
}
.team-career {
  border-top: 3px solid var(--brand) !important;
}
.team-career h2 {
  font-size: clamp(28px, 3vw, 40px);
}

/* Bildschirmbreite Bänder (z. B. Bewerbung) dürfen keinen seitlichen Bildlauf erzeugen */
body {
  overflow-x: clip;
}

/* Stellenangebote: ausführliche Stellenbeschreibung in voller Breite wie die Ausbildungsseite */
.post-content.is-job {
  max-width: none;
}
.post-content.is-job > .eng-job-facts {
  max-width: 860px;
}
.post-content.is-job > .section {
  width: 100%;
  padding-top: 24px;
}
.eng-job-text > .wp-block-list {
  max-width: 860px;
  margin-top: 12px;
}

/* Lesbarkeit auf Fotos: leichter Schatten hinter Text im Fotobanner */
.eng-hero .wp-block-cover__inner-container :is(h1, h2, p) {
  text-shadow: 0 1px 3px rgba(14, 28, 23, 0.45);
}

/* Vertrauensleiste mobil: klare Abstände zwischen den Angaben */
@media (max-width: 781px) {
  .eng-trust .trust-grid {
    gap: 0;
    padding: 12px 0;
  }
  .eng-trust .trust-grid > .wp-block-column {
    padding: 14px 0;
    border-bottom: 1px solid #d9cfbd;
  }
  .eng-trust .trust-grid > .wp-block-column:last-child {
    border-bottom: 0;
  }
  .trust-value {
    font-size: 24px;
  }
  .trust-label {
    margin: 0;
  }
}

/* Öffnungsstatus in der Gartencenter-Kachel: weiß hinterlegt oben links auf dem Foto */
.eng-tile .eng-open-status.is-chip {
  position: absolute;
  top: -286px;
  left: 20px;
  z-index: 2;
  margin: 0;
  background: #fff;
  color: var(--night);
  box-shadow: 0 2px 10px rgba(14, 28, 23, 0.18);
}
@media (max-width: 781px) {
  .eng-tile .eng-open-status.is-chip {
    top: -206px;
    left: 16px;
  }
}

/* Vertrauensleiste mit fünf Angaben */
@media (min-width: 782px) {
  .eng-trust .trust-grid {
    gap: 20px 28px;
  }
  .eng-trust .trust-value {
    font-size: clamp(18px, 1.5vw, 24px);
    overflow-wrap: normal;
    hyphens: auto;
  }
}
@media (min-width: 782px) and (max-width: 1099px) {
  .eng-trust .trust-grid {
    flex-wrap: wrap !important;
  }
  .eng-trust .trust-grid > .wp-block-column {
    flex: 0 0 calc((100% - 56px) / 3) !important;
  }
}

/* Infoleiste: Anfrage Pflanzen & Floristik als kleiner Button in CI-Farbe */
.infobar-links {
  align-items: center;
}
.eng-infobar a.infobar-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: -4px 0;
  padding: 4px 12px;
  background: var(--primary);
  border: 1px solid var(--brand);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}
.eng-infobar a.infobar-cta:hover {
  background: var(--primary-dark);
}
@media (max-width: 600px) {
  .eng-infobar a.infobar-cta {
    display: none;
  }
}

/* Aufgeklapptes Handy-Menü: beide Anfragen als Buttons */
.menu-ctas {
  display: none;
}
@media (max-width: 1279px) {
  .menu-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
  }
  .menu-cta {
    flex: 1 1 220px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 50px;
    padding: 12px 18px;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
  }
  .menu-cta.is-plants {
    background: #fff;
    color: var(--primary);
    border: 2px solid var(--primary);
  }
}

/* Startbild: „Pflanzen & Floristik anfragen“ in CI-Farbe statt nur Umriss */
.home .eng-hero .is-style-outline .wp-block-button__link {
  background: var(--primary);
  border: 1px solid var(--brand);
  color: #fff;
}
.home .eng-hero .is-style-outline .wp-block-button__link:hover {
  background: var(--primary-dark);
}

/* Teamseiten: Standort-Box mit Foto und CI-Fläche (wie die Kacheln der Kontaktseite) */
.eng-location-box {
  border-top: 0 !important;
}
.entry-content .eng-location-box .location-columns {
  gap: 0;
  align-items: stretch;
  background: var(--primary);
  border-top: 6px solid var(--brand);
}
.eng-location-box .location-columns > .wp-block-column:first-child {
  flex: 0 0 44%;
}
.eng-location-box .location-columns figure {
  margin: 0;
  height: 100%;
}
.eng-location-box .location-columns figure img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}
.eng-location-box .location-columns > .wp-block-column:last-child {
  padding: 44px 48px 48px;
  color: #fff;
}
.eng-location-box .eyebrow {
  color: #d6efe3;
}
.eng-location-box h2 {
  color: #fff;
  margin-bottom: 14px;
}
.eng-location-box p {
  color: #eef1ec;
}
.eng-location-box .contact-large a {
  color: #fff;
}
.eng-location-box .eng-hours li {
  color: #eef1ec;
  border-color: rgba(255, 255, 255, 0.25);
}
.eng-location-box .eng-open-status.is-chip {
  margin: 4px 0 14px;
}
.eng-location-box .wp-block-buttons {
  margin-top: 22px;
  gap: 10px;
}
.eng-location-box .wp-block-button__link {
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.eng-location-box .wp-block-button__link:hover {
  background: #e9f2ee;
  color: var(--ink);
}
.eng-location-box .is-style-outline .wp-block-button__link {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.eng-location-box .is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
@media (max-width: 781px) {
  .eng-location-box .location-columns > .wp-block-column:first-child {
    flex-basis: 100%;
  }
  .eng-location-box .location-columns figure img {
    min-height: 220px;
    max-height: 260px;
  }
  .eng-location-box .location-columns > .wp-block-column:last-child {
    padding: 28px 22px 32px;
  }
}
@media (max-width: 600px) {
  .infobar-links a:nth-child(2) {
    display: none;
  }
}

/* Teamseiten: „Wir suchen Verstärkung!“ als dunkles, bildschirmbreites Band (wie die Formularbänder) */
.entry-content > .eng-career-band {
  width: 100vw;
  max-width: none;
  margin: 72px calc(50% - 50vw) 0;
  background: var(--night);
  color: #f1ede4;
}
.eng-career-band .career-columns {
  width: min(var(--width), 90%);
  margin: 0 auto;
  padding: 80px 0;
  align-items: center;
}
.eng-career-band .eyebrow {
  color: #8fd6c4;
}
.eng-career-band h2 {
  color: #fff;
  font-size: clamp(32px, 3.6vw, 50px);
  margin-bottom: 14px;
}
.eng-career-band p:not(.eyebrow) {
  color: #cfd6d0;
  max-width: 56ch;
}
.eng-career-band .wp-block-buttons {
  justify-content: flex-end;
  gap: 12px;
}
.eng-career-band .wp-block-button__link {
  background: var(--primary);
  border: 1px solid var(--brand);
  color: #fff;
  font-weight: 700;
  min-height: 54px;
  padding: 15px 26px;
}
.eng-career-band .wp-block-button__link:hover {
  background: var(--primary-dark);
  color: #fff;
}
.eng-career-band .is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: #fff;
}
.eng-career-band .is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.12);
}
@media (max-width: 781px) {
  .eng-career-band .career-columns {
    padding: 56px 0;
  }
  .eng-career-band .wp-block-buttons {
    justify-content: flex-start;
  }
}

/* Karriereband 2.18: Text und Button links, Ausbildungs-Hinweis rechts in CI-Farbe */
.eng-career-band .wp-block-buttons {
  justify-content: flex-start;
  margin-top: 24px;
}
.eng-career-band .training-teaser {
  background: var(--primary);
  border-top: 6px solid var(--brand);
  padding: 32px 34px 30px;
  width: 100%;
}
.eng-career-band .training-teaser .eyebrow {
  color: #d6efe3;
  margin-bottom: 10px;
}
.eng-career-band .training-teaser h3 {
  color: #fff;
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.15;
  margin: 0 0 12px;
}
.eng-career-band .training-teaser p:not(.eyebrow) {
  color: #eef1ec;
}
.eng-career-band .training-teaser .text-link a {
  color: #fff;
  font-weight: 700;
}
@media (min-width: 782px) {
  .eng-career-band .career-columns > .wp-block-column:last-child {
    flex: 0 0 42%;
  }
}

/* Karriereseite: Ausbildungskarte hervorgehoben */
.eng-post-card.eng-training-card {
  border-top: 4px solid var(--brand);
}
.eng-card-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 10px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================================
   2.20 – Projekte: großes Projekt auf der Startseite, Projektseite, Bewertungen
   ========================================================================= */

/* Startseite: ein Projekt groß – Fotos links, Text rechts (aus dem Projektbeitrag) */
.eng-project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin: 36px 0 56px;
}
.eng-project-feature .feature-media {
  display: grid;
  gap: 6px;
  height: 440px;
  text-decoration: none;
}
.eng-project-feature .feature-media.has-2 {
  grid-template-columns: 2fr 1fr;
}
.eng-project-feature .feature-media.has-3 {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.eng-project-feature .feature-media.has-3 img:first-child {
  grid-row: span 2;
}
.eng-project-feature .feature-media img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.eng-project-feature .feature-media:hover img {
  opacity: 0.92;
}
.eng-project-feature .card-eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
}
.eng-project-feature h3 {
  margin: 0 0 16px;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.eng-project-feature h3 a {
  color: inherit;
  text-decoration: none;
}
.eng-project-feature h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.eng-project-feature .feature-copy > p:not(.card-eyebrow):not(.text-link) {
  color: var(--muted);
}
.eng-project-feature .eng-project-facts {
  margin: 20px 0 24px;
}
.eng-projects-all {
  margin: 28px 0 0;
}
.eng-post-card .post-card-services {
  margin: 0;
  font-size: 14px;
  color: var(--teal);
}

/* Projektseite: Projektbericht unter der Galerie */
.project-content > :first-child {
  margin-top: 0;
}
.project-content .project-lead {
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink);
}
.project-content h2 {
  font-size: 32px;
  margin: 48px 0 14px;
}
.project-content p {
  color: #3c4842;
}
.project-content .wp-block-image img {
  width: 100%;
  height: auto;
  display: block;
}
.project-content .wp-block-image figcaption,
.project-content .wp-block-gallery figcaption {
  font-size: 14px;
  color: var(--muted);
}
.project-content .wp-block-gallery.has-nested-images {
  --wp--style--unstable-gallery-gap: 6px;
  gap: 6px;
  margin: 36px 0;
}
.project-content .wp-block-gallery.has-nested-images figure.wp-block-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.project-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
  background: linear-gradient(0deg, rgba(14, 28, 23, 0.72), rgba(14, 28, 23, 0));
  color: #fff;
  font-size: 13px;
}
.project-content .wp-block-media-text {
  margin: 56px 0;
  background: #fff;
  border: 1px solid var(--line);
  grid-template-columns: 55% auto;
}
.project-content .wp-block-media-text .wp-block-media-text__content {
  padding: 32px 36px;
}
.project-content .wp-block-media-text h3 {
  margin-top: 0;
  font-size: 26px;
}
.project-content .wp-block-media-text img {
  height: 100%;
  object-fit: cover;
}
.eng-related-projects {
  width: min(var(--width), 90%);
  margin: 0 auto;
  padding: 72px 0 96px;
  border-top: 1px solid var(--line);
}
.eng-related-projects .related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: 32px;
}
.eng-related-projects .related-head .eyebrow {
  flex-basis: 100%;
  margin: 0;
}
.eng-related-projects h2 {
  margin: 0;
}
.eng-related-projects .related-head .text-link {
  margin: 0;
}

/* Google-Bewertungen in eigener Darstellung */
.eng-reviews.eng-reviews-own {
  background: transparent;
  padding: 80px 0 !important;
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}
.eng-reviews-own .reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 36px;
}
.eng-reviews-own .reviews-head h2 {
  margin: 0;
}
.eng-reviews-own .reviews-score {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 24px;
  background: #fff;
  border: 1px solid var(--line);
}
.eng-reviews-own .score-value {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.eng-reviews-own .reviews-score p:not(.score-value) {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--muted);
}
.eng-stars {
  display: inline-flex;
  gap: 3px;
  line-height: 0;
}
.eng-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--terracotta);
}
.eng-stars svg.is-empty {
  fill: #d9d2c4;
}
.eng-stars .star-on {
  stop-color: var(--terracotta);
}
.eng-stars .star-off {
  stop-color: #d9d2c4;
}
.eng-reviews-own .reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.eng-reviews-own .review-card {
  margin: 0;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.eng-reviews-own .review-card > p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.eng-reviews-own .review-card footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}
.eng-reviews-own .review-initial {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--teal);
  font-weight: 700;
}
.eng-reviews-own cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
}
.eng-reviews-own .reviews-foot {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.eng-reviews-own .reviews-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.eng-reviews-own .reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  background: var(--primary);
  border: 1px solid var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
.eng-reviews-own .reviews-link:hover {
  background: var(--primary-dark);
}
.eng-reviews-own .reviews-link.is-secondary {
  background: transparent;
  color: var(--teal);
  border-color: var(--teal);
}
.eng-reviews-own .reviews-link.is-secondary:hover {
  background: var(--soft);
}
.eng-reviews-own .reviews-note {
  max-width: 620px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Editor: Vorschau der automatischen Blöcke */
.eng-editor-preview {
  position: relative;
}
.eng-editor-note {
  margin: 0 0 18px;
  padding: 10px 14px;
  border-left: 3px solid #2ca6a0;
  background: #edf4f0;
  font: 14px/1.5 Arial, sans-serif;
  color: #1d2a25;
}

@media (max-width: 1000px) {
  .eng-reviews-own .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 781px) {
  .eng-project-feature {
    grid-template-columns: 1fr;
    gap: 24px;
    margin: 28px 0 40px;
  }
  .eng-project-feature .feature-media {
    height: auto;
  }
  .eng-project-feature .feature-media img {
    height: 260px;
  }
  .eng-project-feature .feature-media.has-2,
  .eng-project-feature .feature-media.has-3 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .eng-project-feature .feature-media.has-2 img:first-child,
  .eng-project-feature .feature-media.has-3 img:first-child {
    grid-column: span 2;
    grid-row: auto;
  }
  .eng-project-feature .feature-media.has-2 img:not(:first-child) {
    display: none;
  }
  .eng-project-feature .feature-media.has-3 img:not(:first-child) {
    height: 130px;
  }
  .eng-project-feature h3 {
    font-size: 28px;
  }
  .project-content .project-lead {
    font-size: 19px;
  }
  .project-content .wp-block-media-text .wp-block-media-text__content {
    padding: 24px;
  }
  .eng-reviews.eng-reviews-own {
    padding: 56px 0 !important;
  }
  .eng-reviews-own .reviews-grid {
    grid-template-columns: 1fr;
  }
  .eng-reviews-own .score-value {
    font-size: 42px;
  }
}

/* 2.21 – Projektseite: Galerie mit Vergrößerung neben Titel, Kurzbeschreibung und Angaben */
.eng-project-intro {
  width: min(var(--width), 90%);
  margin: 0 auto;
  padding: 40px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.eng-project-intro.is-text-only {
  grid-template-columns: minmax(0, 860px);
}
.eng-project-gallery {
  min-width: 0;
}
.eng-project-gallery .gallery-stage {
  position: relative;
}
.eng-project-gallery .gallery-track {
  position: relative;
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  aspect-ratio: 3 / 2;
  background: var(--sand);
}
.eng-project-gallery .gallery-track::-webkit-scrollbar {
  display: none;
}
.eng-project-gallery .gallery-track:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.eng-project-gallery .gallery-slide {
  position: relative;
  flex: 0 0 100%;
  margin: 0;
  scroll-snap-align: start;
}
.eng-project-gallery .gallery-slide a {
  display: block;
  height: 100%;
  cursor: zoom-in;
}
.eng-project-gallery .gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.eng-project-gallery .gallery-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 28px 20px 14px;
  background: linear-gradient(0deg, rgba(14, 28, 23, 0.75), rgba(14, 28, 23, 0));
  color: #fff;
  font-size: 14px;
  pointer-events: none;
}
.eng-project-gallery .gallery-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  background: rgba(247, 244, 238, 0.92);
  color: var(--ink);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.eng-project-gallery .gallery-arrow[hidden] {
  display: none;
}
.eng-project-gallery .gallery-arrow:hover {
  background: #fff;
}
.eng-project-gallery .gallery-arrow:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.eng-project-gallery .gallery-arrow.is-prev {
  left: 14px;
}
.eng-project-gallery .gallery-arrow.is-next {
  right: 14px;
}
.eng-project-gallery .gallery-count {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0;
  padding: 3px 10px;
  background: var(--night);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
}
.eng-project-gallery .gallery-thumbs {
  display: flex;
  gap: 6px;
  margin-top: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.eng-project-gallery .gallery-thumbs button {
  flex: 0 0 auto;
  width: 88px;
  height: 66px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.15s;
  outline-offset: -3px;
}
.eng-project-gallery .gallery-thumbs button:hover,
.eng-project-gallery .gallery-thumbs button[aria-current="true"] {
  opacity: 1;
}
.eng-project-gallery .gallery-thumbs button[aria-current="true"] {
  outline: 3px solid var(--primary);
}
.eng-project-gallery .gallery-thumbs button:focus-visible {
  outline: 3px solid var(--brand);
  opacity: 1;
}
.eng-project-gallery .gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-summary .eyebrow {
  margin: 4px 0 12px;
}
.project-summary h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.03em;
}
.project-summary .lead {
  margin: 0 0 22px;
  font-size: 19px;
  line-height: 1.55;
  color: #3c4842;
}
.project-summary .eng-project-facts {
  margin: 0 0 26px;
  font-size: 15px;
}
.project-summary .summary-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.project-summary .summary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 22px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}
.project-summary .summary-button:hover {
  background: var(--primary-dark);
}
.project-summary .summary-button:focus-visible,
.project-summary .summary-more:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}
.project-summary .summary-more {
  color: var(--teal);
  font-weight: 600;
}
#projektbericht {
  width: min(860px, 90%);
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}
.project-content img.is-zoomable {
  cursor: zoom-in;
}
.project-content img.is-zoomable:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
}

/* Vergrößerte Ansicht */
.eng-lightbox {
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 22, 19, 0.96);
  color: #fff;
}
.eng-lightbox::backdrop {
  background: rgba(14, 22, 19, 0.96);
}
.eng-lightbox[open] {
  display: grid;
  place-items: center;
}
.eng-lightbox figure {
  margin: 0;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eng-lightbox img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  display: block;
}
.eng-lightbox figcaption {
  margin-top: 12px;
  font-size: 15px;
  color: #cfd6d0;
  text-align: center;
}
.eng-lightbox .lightbox-count {
  position: absolute;
  top: 22px;
  left: 24px;
  margin: 0;
  font-size: 15px;
  color: #cfd6d0;
}
.eng-lightbox button {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.eng-lightbox button[hidden] {
  display: none;
}
.eng-lightbox button:hover {
  background: rgba(255, 255, 255, 0.18);
}
.eng-lightbox button:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}
.eng-lightbox .lightbox-close {
  top: 14px;
  right: 18px;
  font-size: 30px;
}
.eng-lightbox .lightbox-arrow {
  top: 50%;
  margin-top: -26px;
}
.eng-lightbox .lightbox-arrow.is-prev {
  left: 20px;
}
.eng-lightbox .lightbox-arrow.is-next {
  right: 20px;
}
html.eng-lightbox-open {
  overflow: hidden;
}

@media (max-width: 1000px) {
  .eng-project-intro {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 781px) {
  .eng-project-intro {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 20px 0 48px;
  }
  .eng-project-gallery {
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }
  .eng-project-gallery .gallery-track {
    aspect-ratio: 4 / 3;
  }
  .eng-project-gallery .gallery-arrow {
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }
  .eng-project-gallery .gallery-thumbs {
    padding: 0 5%;
  }
  .eng-project-gallery .gallery-thumbs button {
    width: 68px;
    height: 52px;
  }
  .eng-lightbox figure {
    max-width: 100vw;
  }
  .eng-lightbox .lightbox-arrow {
    top: auto;
    bottom: 18px;
    margin-top: 0;
  }
  .eng-lightbox .lightbox-arrow.is-prev {
    left: calc(50% - 64px);
  }
  .eng-lightbox .lightbox-arrow.is-next {
    right: calc(50% - 64px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .eng-project-gallery .gallery-track {
    scroll-behavior: auto;
  }
}


/* =========================================================================
   2.22 – Technische Korrekturen, Design unverändert
   ========================================================================= */
:root {
  --page-width: calc(100vw - var(--scrollbar, 0px));
}

/* Vollbreite Bänder ohne Überstand bei sichtbarer Scrollleiste
   (--scrollbar misst navigation.js; ohne JavaScript greift overflow-x: clip) */
.site-main .eng-apply-band,
.site-main .entry-content > .eng-career-band {
  width: var(--page-width);
  margin-left: calc(50% - var(--page-width) / 2);
  margin-right: calc(50% - var(--page-width) / 2);
}
@media (max-width: 781px) {
  .site-main .eng-project-gallery {
    width: var(--page-width);
    margin-left: calc(50% - var(--page-width) / 2);
  }
}

/* Lange Beschriftungen und Titel brechen auf schmalen Bildschirmen sauber um */
.eng-chips,
.eng-chips label,
.garden-parts button {
  max-width: 100%;
  min-width: 0;
}
.eng-chips span,
.garden-parts b {
  white-space: normal;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .site-main h1,
  .site-main h2,
  .site-main h3 {
    hyphens: auto;
  }
}
@media (max-width: 340px) {
  .garden-parts button {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Layout-Feinschliff: Kacheln, Bewertungen, Baustellenfotos, Handy */
/* Kacheln: Bildbereich im Format 3:2 bei jeder Breite */
.eng-tile .wp-block-cover__image-background {
  height: auto;
  aspect-ratio: 3 / 2;
  bottom: auto;
}
.eng-tile.wp-block-cover {
  container-type: inline-size;
}
.eng-tile .wp-block-cover__inner-container {
  margin-top: 66.667% !important;
}
.eng-tile .eng-open-status.is-chip {
  top: calc(14px - 66.667cqw);
}
.eng-reviews-own .reviews-grid {
  display: block;
  columns: 3;
  column-gap: 24px;
}
.eng-reviews-own .review-card {
  break-inside: avoid;
  margin-bottom: 24px;
}
.eng-work-more {
  margin-top: 24px;
}
.eng-work-more summary {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
}
.eng-work-more summary:hover {
  background: var(--primary);
  color: #fff;
}
.eng-work-more[open] summary {
  margin-bottom: 24px;
}
@media (max-width: 1000px) {
  .eng-reviews-own .reviews-grid {
    columns: 2;
  }
}
@media (max-width: 781px) {
  .eng-reviews-own .reviews-grid {
    columns: 1;
  }
  .eng-reviews-own .review-card:nth-child(n + 4) {
    display: none;
  }
  .site-footer .footer-columns,
  .site-footer .footer-columns .wp-block-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .site-footer .footer-columns .wp-block-column {
    width: 100%;
    flex-basis: auto !important;
  }
}
@media (max-width: 600px) {
  .eng-photo-section .eng-work-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

/* Pflegeblock: Anfrage als Schaltfläche wie die übrigen Handlungsaufrufe */
.eng-care .text-link {
  margin-top: 32px;
}
.eng-care .text-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-height: 52px;
  padding: 15px 23px;
  background: var(--primary);
  border: 1.5px solid transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.eng-care .text-link a:hover {
  background: var(--primary-dark);
  color: #fff;
}

/* Social-Media-Links je Standort in der Fußzeile */
.eng-location .eng-social-links {
  margin-top: 12px;
}
