/* Enfedia: öffentliches Design und Blogdarstellung. Keine externen Ressourcen. */
.subhero {
  padding: 78px 0 85px;
}
.subhero h1 {
  max-width: 880px;
  font-size: clamp(43px,5vw,68px);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.subhero p {
  max-width: 720px;
  font-size: 18px;
}
.content-section {
  padding: 95px 0;
}
.content-section.white {
  background: #fff;
}
.content-section.dark {
  background: #f1f4ed;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.content-grid p {
  max-width: 620px;
}
.rich-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}
.rich-list li {
  border-bottom: 1px solid #dbe4d9;
  padding: 15px 0;
  display: flex;
  gap: 12px;
  font-size: 15px;
}
.rich-list li:before {
  content: "↗";
  color: var(--pine);
  font-weight: 800;
}
.wide-card {
  padding: 34px;
  border-radius: 15px;
}
.split-cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}
.contact-panel {
  background: #fff;
  border: 1px solid #e1e8df;
  padding: 38px;
  border-radius: 18px;
}
.contact-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact-fields .form-field-full {
  grid-column: 1 / -1;
}
.contact-panel label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 7px;
}
.contact-panel input, .contact-panel textarea, .contact-panel select {
  width: 100%;
  padding: 14px;
  border: 1px solid #cbd9cc;
  border-radius: 6px;
  font: inherit;
  background: white;
  color: var(--ink);
}
.contact-panel textarea {
  resize: vertical;
  min-height: 145px;
}
.form-field {
  margin-bottom: 17px;
}
.small-note {
  font-size: 12px;
  line-height: 1.6;
}
.page-photo {
  min-height: 410px;
  border-radius: 100px 12px 12px 12px;
  background: linear-gradient(140deg,#b9cdb2,#6f937b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 25px;
}
.back-link {
  font-size: 13px;
  color: var(--pine);
  font-weight: 700;
}
.nav-links a[aria-current=page] {
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 5px;
}
.notice {
  position: relative;
}
@media (max-width:700px) {
  .subhero {
    padding: 48px 0 60px;
  }
  .content-section {
    padding: 66px 0;
  }
  .content-grid, .split-cards, .contact-fields {
    grid-template-columns: 1fr;
  }
  .content-grid {
    gap: 32px;
  }
  .contact-panel {
    padding: 22px;
  }
  .page-photo {
    min-height: 260px;
  }
}
:root {
  --pine: #2f5141;
  --forest: #243e34;
  --sage: #dbe3d5;
  --subpage-hero-bg: #e4ece3;
  --linen: #f7f6f1;
  --sand: #e9e3d8;
  --ink: #25312b;
  --muted: #68746c;
  --white: #fff;
  --line: #dce3dc;
  --radius: 18px;
  --shadow: 0 16px 50px rgba(31,56,43,.09);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font-family: "DM Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
.wrap {
  width: min(1180px,calc(100% - 48px));
  margin: auto;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 800;
  color: #668875;
}
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label:before {
  content: "";
  width: 27px;
  height: 2px;
  background: #86a38d;
}
h1, h2, h3, p {
  margin-top: 0;
}
h1, h2, h3 {
  font-family: "Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
}
h1 {
  font-size: clamp(43px,5.5vw,75px);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -.065em;
  margin: 22px 0;
}
h2 {
  font-size: clamp(32px,3.6vw,48px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.045em;
  margin: 16px 0 21px;
}
h3 {
  font-size: 21px;
  line-height: 1.35;
  letter-spacing: -.025em;
}
p {
  line-height: 1.8;
  color: var(--muted);
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: transform .2s,background .2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--pine);
  color: #fff;
}
.btn-primary:hover {
  background: #213e30;
}
.btn-outline {
  border-color: #b6c2b8;
  color: var(--forest);
  background: transparent;
}
.btn-outline:hover {
  background: #eff3ec;
}
.arrow {
  font-size: 21px;
  font-weight: 400;
  line-height: 1;
}
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand-symbol {
  width: 35px;
  height: 35px;
  border-radius: 50% 50% 7px 50%;
  border: 3px solid var(--pine);
  display: grid;
  place-items: center;
  transform: rotate(-15deg);
}
.brand-symbol span {
  width: 13px;
  height: 13px;
  background: #91ac96;
  border-radius: 50% 50% 0 50%;
}
.brand strong {
  font-family: "Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size: 25px;
  letter-spacing: -.07em;
  font-weight: 800;
  color: var(--forest);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13px;
  font-weight: 700;
}
.nav-links a:not(.btn):hover {
  color: #60876f;
}
.nav-links .btn {
  min-height: 42px;
  padding-inline: 18px;
}
.menu-toggle {
  display: none;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 26px;
  color: var(--pine);
}
.hero {
  padding: 34px 0 95px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: 55px;
  align-items: center;
}
.hero-copy {
  padding: 20px 0 10px;
}
.hero-copy .lead {
  font-size: 17px;
  max-width: 480px;
  margin-bottom: 31px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.trust-row {
  margin-top: 57px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.trust-row div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #567060;
  font-size: 12px;
  font-weight: 700;
}
.trust-row svg {
  width: 22px;
  height: 22px;
}
.hero-picture {
  position: relative;
  min-height: 580px;
  border-radius: 170px 12px 12px 12px;
  background: linear-gradient(155deg,#cbd6c6,#74927a);
  box-shadow: var(--shadow);
}
.services {
  padding: 108px 0 115px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 45px;
}
.section-head p {
  max-width: 390px;
  margin-bottom: 6px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}
.service {
  position: relative;
  border: 1px solid #e3e9e1;
  border-radius: var(--radius);
  padding: 34px 30px 29px;
  min-height: 295px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: border .2s,box-shadow .2s,transform .2s;
}
/* Die sechs Leistungskarten bleiben unabhängig von der Section-Farbe weiß. */
.services .cards > .service {
  background-color: #fff;
}
.service:hover {
  border-color: #b8cbbb;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.icon-box {
  width: 53px;
  height: 53px;
  border-radius: 14px;
  background: #eaf0e7;
  display: grid;
  place-items: center;
  color: var(--pine);
  margin-bottom: 25px;
}
.icon-box svg {
  width: 27px;
  height: 27px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service h3 {
  margin-bottom: 11px;
}
/* Längere, mit der Detailseite identische Leistungstitel bleiben gut lesbar. */
.services .cards .service h3 {
  font-size: clamp(18px, 1.55vw, 21px);
  overflow-wrap: break-word;
}
.service p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service .service-link {
  margin-top: auto;
  color: var(--pine);
  font-size: 13px;
  font-weight: 800;
}
.service .service-link span {
  margin-left: 8px;
}
.services-footer {
  text-align: center;
  margin-top: 35px;
  font-size: 13px;
  color: #68776e;
}
.services-footer a {
  font-weight: 800;
  color: var(--pine);
  border-bottom: 1px solid #8ca68f;
}
.about {
  padding: 118px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: .93fr 1fr;
  gap: 115px;
  align-items: center;
}
.about-visual {
  height: 575px;
  position: relative;
}
.about-main {
  height: 100%;
  background: #d2dbcf;
  border-radius: 12px 140px 12px 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portrait-art {
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 52% 27%,#f4ebe0 0 11%,transparent 11.3%),radial-gradient(ellipse at 52% 65%,#597b66 0 28%,transparent 28.3%),linear-gradient(145deg,#dce7d8,#adbeaa);
  position: relative;
}
.about-copy p {
  max-width: 490px;
}
.credential {
  border-top: 1px solid #d5ded4;
  margin: 30px 0;
  padding-top: 23px;
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--forest);
  font-size: 14px;
  font-weight: 700;
}
.credential svg {
  width: 27px;
  height: 27px;
  stroke: #678770;
  fill: none;
  stroke-width: 1.7;
}
.about-copy .btn {
  margin-top: 8px;
}
.process {
  padding: 97px 0 110px;
  background: #e9efe7;
}
.process h2 {
  max-width: 720px;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
  margin-top: 55px;
}
.step {
  border-top: 1px solid #adc2b0;
  padding-top: 20px;
}
.step .step-no {
  font-size: 13px;
  color: #557663;
  font-weight: 800;
}
.step h3 {
  margin: 21px 0 10px;
}
.step p {
  font-size: 14px;
  margin: 0;
  max-width: 320px;
}
footer {
  border-top: 1px solid #dce4db;
  background: #f2f4ed;
  padding: 48px 0 23px;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 35px;
  flex-wrap: wrap;
}
.footer-main p {
  font-size: 13px;
  max-width: 340px;
  margin: 14px 0;
}
.footer-links {
  display: flex;
  gap: 65px;
  flex-wrap: wrap;
  font-size: 13px;
}
.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links b {
  color: var(--forest);
  margin-bottom: 3px;
}
.footer-links a {
  color: var(--muted);
}
.foot-bottom {
  border-top: 1px solid #dce4db;
  margin-top: 50px;
  padding-top: 17px;
  font-size: 11px;
  color: #79877b;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}
.notice {
  background: #f3ead2;
  color: #69592e;
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
  padding: 10px 20px;
}
@media (max-width:900px) {
  .hero-grid {
    gap: 30px;
  }
  .hero-picture {
    min-height: 460px;
  }
  .about-grid {
    gap: 50px;
  }
  .about-visual {
    height: 490px;
  }
  .cards {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:700px) {
  .wrap {
    width: min(100% - 34px,1180px);
  }
  .nav {
    height: 75px;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--linen);
    padding: 24px;
    z-index: 10;
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    box-shadow: 0 15px 20px #24453612;
  }
  .nav-links.open {
    display: flex;
  }
  .hero {
    padding: 8px 0 65px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy {
    padding-top: 15px;
  }
  .hero-copy .lead {
    font-size: 16px;
  }
  .hero-picture {
    min-height: 350px;
    margin-left: 16px;
    border-top-left-radius: 110px;
  }
  .trust-row {
    margin-top: 32px;
    gap: 16px;
  }
  .section-head {
    display: block;
    margin-bottom: 26px;
  }
  .services, .about, .process {
    padding-top: 72px;
    padding-bottom: 75px;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .service {
    min-height: auto;
    padding: 28px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }
  .about-visual {
    height: 390px;
  }
  .about-main {
    width: 90%;
    border-top-right-radius: 100px;
  }
  .steps {
    grid-template-columns: 1fr;
    gap: 31px;
    margin-top: 32px;
  }
  .footer-links {
    gap: 35px;
  }
  h1 {
    font-size: 44px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn, .service {
    transition: none;
  }
}
.blog-hero {
  background: var(--subpage-hero-bg);
  padding: 75px 0 83px;
}
.blog-hero h1 {
  max-width: 830px;
}
.blog-hero p {
  max-width: 650px;
  font-size: 17px;
}
.blog-bar {
  padding: 33px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.blog-bar h2 {
  font-size: 28px;
  margin: 0;
}
.blog-tag {
  background: #e7eee3;
  color: #345843;
  padding: 7px 11px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
  padding: 32px 0 98px;
}
.article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8df;
  border-radius: 16px;
  overflow: hidden;
  transition: transform .2s,box-shadow .2s;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.article-picture {
  height: 206px;
  background: #c4d4c1;
  position: relative;
  overflow: hidden;
}
.article-picture:after {
  content: "ENFEDIA / NEWS";
  position: absolute;
  bottom: 14px;
  left: 18px;
  font-size: 10px;
  letter-spacing: .17em;
  font-weight: 800;
  color: #fff;
  background: #213e32b8;
  padding: 8px 11px;
  border-radius: 3px;
}
.article-picture.paper {
  background: linear-gradient(135deg,#cbd8c3,#6c8972);
}
.article-inner {
  padding: 25px 25px 27px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.article-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  color: #718176;
  font-size: 12px;
  margin-bottom: 15px;
}
.article-card h3 {
  font-size: 20px;
  margin: 0 0 12px;
  line-height: 1.4;
}
.article-card p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 23px;
}
.article-link {
  margin-top: auto;
  font-size: 13px;
  font-weight: 800;
  color: var(--pine);
}
.blog-cta {
  color: white;
  padding: 58px 0;
}
.blog-cta .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.blog-cta .eyebrow {
  color: #d6e5d6;
}
.blog-cta h2 {
  font-size: 31px;
  margin: 8px 0 0;
}
.blog-cta p {
  color: #dce9dd;
  margin: 8px 0 0;
}
.blog-cta .btn {
  background: white;
  color: var(--forest);
}
@media (max-width:950px) {
  .blog-grid {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (max-width:700px) {
  .blog-hero {
    padding: 48px 0;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    padding-bottom: 55px;
  }
  .blog-cta .wrap {
    display: block;
  }
  .blog-cta .btn {
    margin-top: 24px;
  }
  .blog-bar h2 {
    font-size: 24px;
  }
}
.about-main {
  width: 100%;
}
.hero-copy h1 {
  max-width: 640px;
}
.contact-info p {
  margin: 9px 0;
}
.contact-info a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-head {
  padding: 40px 0 22px;
  background: #f7f6f1;
}
.contact-head h1 {
  font-size: clamp(36px,4.2vw,53px);
  margin: 0 0 12px;
}
.contact-head p {
  max-width: 700px;
}
.contact-section {
  padding-top: 36px;
}
.form-feedback {
  padding: 12px 15px;
  border-radius: 8px;
  background: #e3eee1;
  color: #214b31;
  margin: 10px 0 18px;
}
.form-feedback.error {
  background: #fae8e8;
  color: #7e2323;
}
.hp-field {
  position: absolute !important;
  left: -100vw !important;
  height: 1px !important;
  overflow: hidden !important;
}
.legal-copy {
  max-width: 850px;
  overflow-wrap: anywhere;
}
.legal-copy h2 {
  font-size: 25px;
  margin: 34px 0 12px;
}
.legal-copy h3 {
  font-size: 19px;
  margin: 22px 0 8px;
}
.legal-copy p, .legal-copy li {
  line-height: 1.8;
}
.legal-copy a {
  text-decoration: underline;
}
.hero-picture {
  background-image: url("images/enfedia-hero-solardach.webp");
  background-position: 63% center;
  background-repeat: no-repeat;
  background-size: cover;
}
.subhero {
  background: var(--subpage-hero-bg);
}
.wide-card {
  background: var(--sage);
}
.services {
  background: #fff;
}
.service {
  border-color: var(--line);
}
.blog-cta {
  background: var(--forest);
}
.article-card {
  border-color: var(--line);
}
.nav-links a.btn[aria-current="page"] {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 0 0 3px color-mix(in srgb,var(--pine) 18%,transparent);
  text-decoration: none;
}
.service-detail-grid {
  scroll-margin-top: 30px;
}
.service-detail-grid .wide-card {
  /* Beim Anklicken der Karten sollen die Überschriften unterhalb der Sticky-Navigation sichtbar sein. */
  scroll-margin-top: 108px;
}
.service-detail-grid .wide-card h2 {
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 650;
  line-height: 1.28;
  letter-spacing: -.025em;
  margin: 14px 0 18px;
}
.service-detail-grid .rich-list {
  margin-bottom: 0;
}
.service-details-section {
  background: #fff;
}
.professional-badges-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 14px;
}
.professional-badge {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 94px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  box-shadow: 0 5px 20px rgba(31,56,43,.04);
}
.badge-emblem {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--pine);
  overflow: hidden;
}
.badge-emblem svg {
  width: 40px;
  height: 40px;
}
.badge-emblem-logo {
  background: white;
  border: 1px solid var(--line);
  padding: 4px;
}
.badge-emblem-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-emblem-logo-wide {
  flex-basis:108px;
  width:108px;
  height:56px;
  padding:6px 8px;
  border-radius:12px;
}
.badge-emblem-logo-wide img { width:100%;height:100%;object-fit:contain; }

.professional-badge .badge-eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--pine);
  font-size: 10px;
  font-weight: 800;
  margin-bottom: 3px;
}
.professional-badge strong {
  display: block;
  font-family: "Manrope",system-ui,sans-serif;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
}
.professional-badge span:not(.badge-eyebrow) {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.45;
}
@media (max-width:770px) {
  .professional-badges-inner {
    grid-template-columns: 1fr;
  }
}
.consult-hero {
  background: var(--subpage-hero-bg);
  padding: 72px 0 76px;
  overflow: hidden;
}
.consult-hero-inner {
  display: grid;
  grid-template-columns: minmax(0,1fr) 250px;
  gap: 60px;
  align-items: center;
}
.consult-hero h1 {
  max-width: 750px;
  font-size: clamp(35px,4.5vw,65px);
  letter-spacing: -.055em;
  margin: 13px 0 20px;
}
.consult-hero p {
  max-width: 680px;
  font-size: 17px;
}
.consult-kicker {
  display: block;
  color: var(--pine);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .13em;
}
.consult-trust {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.consult-trust span {
  border: 1px solid #a8bea9;
  color: var(--forest);
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}
.consult-decoration {
  width: 215px;
  height: 215px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--pine);
  background: #ffffff78;
}
.consult-decoration svg {
  width: 75%;
  height: 75%;
}
.consult-body {
  padding: 82px 0 108px;
}
.consult-layout {
  display: grid;
  grid-template-columns: minmax(220px,.66fr) minmax(0,1.34fr);
  gap: 72px;
  align-items: start;
}
.consult-aside {
  position: sticky;
  top: 26px;
}
.consult-aside h2 {
  font-size: clamp(25px,3vw,37px);
  margin: 14px 0;
}
.consult-aside p {
  font-size: 14px;
  line-height: 1.75;
}
.consult-tips {
  display: grid;
  gap: 14px;
  margin: 36px 0;
}
.consult-tips span {
  font-size: 13px;
  color: var(--pine);
  font-weight: 800;
  display: flex;
  gap: 14px;
}
.consult-tips strong {
  color: var(--ink);
  font-weight: 700;
}
.consult-aside-note {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.consult-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 48px #263f3210;
  border-radius: 20px;
  padding: clamp(22px,4vw,44px);
}
.consult-progress {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: var(--pine);
}
.consult-track {
  height: 6px;
  background: var(--sage);
  margin: 13px 0 30px;
  border-radius: 99px;
  overflow: hidden;
}
.consult-track span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--pine);
  border-radius: 99px;
  transition: width .25s;
}
.consult-question {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  min-width: 0;
}
.consult-question legend {
  width: 100%;
  font-family: "Manrope",system-ui,sans-serif;
  font-weight: 700;
  font-size: clamp(21px,2.5vw,29px);
  line-height: 1.3;
  letter-spacing: -.04em;
  color: var(--ink);
}
.consult-explain {
  font-size: 13px;
  margin: 10px 0 22px;
}
.consult-options {
  display: grid;
  gap: 11px;
}
.consult-option {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 17px;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s,border .2s;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.55;
}
.consult-option:hover {
  background: var(--linen);
  border-color: var(--pine);
}
.consult-option:has(input:checked) {
  background: var(--sage);
  border-color: var(--pine);
}
.consult-option:focus-within {
  outline: 3px solid var(--pine);
  outline-offset: 2px;
}
.consult-option input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.consult-radio {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #9caea0;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.consult-option input:checked+.consult-radio {
  border-color: var(--pine);
}
.consult-option input:checked+.consult-radio:after {
  content: "";
  background: var(--pine);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.consult-actions {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
}
.consult-actions #consult-next, .consult-actions #consult-submit {
  margin-left: auto;
}
.consult-error {
  color: #a12828;
  font-weight: 700;
  font-size: 13px;
  margin-top: 12px;
}
.consult-result h2 {
  font-size: clamp(24px,3vw,34px);
  margin: 9px 0;
}
.consult-result>p {
  font-size: 14px;
}
.consult-summary {
  background: var(--linen);
  border-radius: 11px;
  padding: 22px;
  margin: 24px 0;
}
.consult-summary h3 {
  font-size: 16px;
}
.consult-summary dl {
  margin: 0;
  display: grid;
  gap: 5px;
}
.consult-summary dt {
  font-weight: 800;
  font-size: 12px;
  color: var(--pine);
  margin-top: 12px;
}
.consult-summary dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
}
.consult-disclaimer {
  font-size: 12px !important;
}
.consult-service-link {
  display: inline-block;
  color: var(--pine);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 13px;
  font-weight: 800;
  margin: 5px 0 24px;
}
.consult-contact {
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 10px;
}
.consult-contact-head h2 {
  font-size: 24px;
  margin: 0 0 8px;
}
.consult-contact-head p {
  font-size: 13px;
  margin-bottom: 22px;
}
.consult-contact label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 7px;
}
.consult-contact input, .consult-contact textarea {
  font: inherit;
  background: #fff;
  color: var(--ink);
  border: 1px solid #bfcfc1;
  border-radius: 7px;
  width: 100%;
  padding: 13px 14px;
}
.consult-contact textarea {
  min-height: 130px;
  resize: vertical;
}
.consult-contact a {
  text-decoration: underline;
}
.consult-bottom {
  padding: 65px 0;
  background: #fff;
  text-align: center;
}
.consult-bottom h2 {
  font-size: clamp(24px,3vw,35px);
}
.consult-bottom .btn {
  margin-top: 16px;
}
.consult-sent h2 {
  font-size: 28px;
}
.consult-question[hidden], .consult-result[hidden], .consult-contact[hidden], .consult-actions button[hidden], .consult-error[hidden] {
  display: none !important;
}
.consult-card:not(.consult-enhanced) .consult-question[hidden], .consult-card:not(.consult-enhanced) .consult-contact[hidden] {
  display: block !important;
}
.consult-card:not(.consult-enhanced) .consult-actions #consult-next, .consult-card:not(.consult-enhanced) .consult-actions #consult-back {
  display: none;
}
.consult-card:not(.consult-enhanced) .consult-actions #consult-submit {
  display: inline-flex !important;
}
@media (max-width:930px) {
  .consult-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .consult-aside {
    position: static;
  }
  .consult-tips {
    display: flex;
    flex-wrap: wrap;
    margin: 18px 0;
  }
  .consult-aside-note {
    margin-bottom: 0;
  }
}
@media (max-width:700px) {
  .consult-hero {
    padding: 45px 0;
  }
  .consult-hero-inner {
    grid-template-columns: 1fr;
  }
  .consult-decoration {
    display: none;
  }
  .consult-body {
    padding: 45px 0 66px;
  }
  .consult-card {
    padding: 22px 18px;
  }
  .consult-option {
    padding: 13px;
  }
  .consult-tips {
    gap: 12px;
  }
  .consult-contact .contact-fields {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion:reduce) {
  .consult-track span, .consult-option {
    transition: none;
  }
}
.quiz-teaser {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 52px;
  padding: 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 9px 26px rgba(28,59,42,.045);
}
.quiz-teaser.white {
  background: #ffffff;
}
.quiz-teaser-icon {
  display: grid;
  place-items: center;
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  color: var(--pine);
  background: var(--sage);
  border-radius: 13px;
}
.quiz-teaser-icon svg {
  width: 36px;
  height: 36px;
}
.quiz-teaser-copy {
  flex: 1;
  min-width: 0;
}
.quiz-teaser .eyebrow {
  font-size: 10px;
  letter-spacing: .13em;
}
.quiz-teaser h3 {
  font-size: clamp(18px,2vw,23px);
  margin: 5px 0 5px;
  line-height: 1.35;
}
.quiz-teaser p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}
.quiz-teaser .btn {
  flex-shrink: 0;
  white-space: nowrap;
}
.contact-quiz-teaser {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--linen);
}
.contact-quiz-icon {
  display: grid;
  place-items: center;
  flex: 0 0 39px;
  width: 39px;
  height: 39px;
  border-radius: 10px;
  background: var(--sage);
  color: var(--pine);
}
.contact-quiz-icon svg {
  width: 22px;
  height: 22px;
}
.contact-quiz-content h3 {
  font-size: 16px;
  margin: 0 0 6px;
  letter-spacing: -.02em;
}
.contact-quiz-content p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 9px;
}
.contact-quiz-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--pine);
  font-weight: 800;
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-quiz-link:hover {
  color: var(--forest);
}
@media (max-width:920px) {
  .quiz-teaser {
    flex-wrap: wrap;
  }
  .quiz-teaser .btn {
    margin-left: 86px;
  }
}
@media (max-width:700px) {
  .quiz-teaser {
    margin-top: 40px;
    gap: 14px;
    padding: 22px;
  }
  .quiz-teaser-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .quiz-teaser-icon svg {
    width: 30px;
    height: 30px;
  }
  .quiz-teaser-copy {
    flex-basis: calc(100% - 68px);
  }
  .quiz-teaser .btn {
    margin: 3px 0 0;
    width: 100%;
  }
  .contact-quiz-teaser {
    padding: 18px;
  }
}
.blog-empty {
  margin: 30px 0 85px;
  padding: 56px;
  border: 1px dashed #9cb5a0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}
.blog-empty h3 {
  margin: 0 0 8px;
}
.blog-empty p {
  margin: 0;
}
.article-picture.uploaded {
  background-color: #c4d4c1;
  background-position: center;
  background-size: cover;
}
.post-hero {
  background: var(--subpage-hero-bg);
  padding: 52px 0 70px;
}
.post-container {
  max-width: 840px;
}
.post-hero h1 {
  font-size: clamp(40px,5.2vw,66px);
  overflow-wrap: anywhere;
}
.post-hero .article-meta {
  margin: 27px 0 0;
}
.post-lead {
  font-size: 18px;
  line-height: 1.8;
  color: #425849;
}
.post-layout {
  padding: 90px 0 130px;
  min-height: 40vh;
}
.post-body {
  padding-top: 60px;
  padding-bottom: 105px;
}
.post-cover {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 48px;
}
.post-prose p {
  font-size: 17px;
  line-height: 1.9;
  color: #425047;
  margin: 0 0 23px;
  overflow-wrap: anywhere;
}
.post-body .btn {
  margin-top: 10px;
}
@media (max-width:700px) {
  .post-hero {
    padding: 35px 0 50px;
  }
  .post-body {
    padding: 40px 0 70px;
  }
  .post-prose p {
    font-size: 16px;
  }
  .blog-empty {
    padding: 35px 18px;
  }
}

/* Ergänzende PDF-Dateien unter Blogartikeln */
.post-downloads {
  margin: 40px 0 30px;
  padding: clamp(20px,3vw,30px);
  background: #f2f5ef;
  border: 1px solid #d9e4d8;
  border-radius: 14px;
}
.post-downloads h2 { margin: 0 0 6px; font-size: clamp(20px,2.5vw,27px); }
.post-downloads > p { color: #5c6c60; margin: 0 0 20px; }
.post-download-list { margin: 0; padding: 0; list-style: none; }
.post-download-list li { display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid #d9e4d8; padding:13px 0; }
.post-pdf-link { color:#294b38; font-weight:700; overflow-wrap:anywhere; }
.post-pdf-link:hover { text-decoration:underline; }
.post-pdf-link span { font-size: 21px; margin-right: 7px; }
.post-pdf-size { font-size:12px; color:#62766a; white-space:nowrap; }
.post-downloads .post-pdf-preview-note { margin: 13px 0 0; font-size:12px; }



/* Startseite: Headerbereich wie die Unterseiten in hellem Salbeigrün. */
.hero {
  background: #dbe3d5;
}

/* Qualifikationen direkt unter "Meine Leistungen auf einen Blick". */
.services .section-head {
  margin-bottom: 26px;
}
.home-professional-badges {
  margin-bottom: 40px;
}
@media (max-width: 700px) {
  .services .section-head { margin-bottom: 22px; }
  .home-professional-badges { margin-bottom: 30px; }
}

/* Dezente Interaktionen auf allen öffentlichen Seiten. */
:where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid var(--pine);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-pending {
    opacity: 0;
    transform: translate3d(0, 19px, 0);
  }
  .motion-entering {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 570ms ease-out, transform 570ms cubic-bezier(.2,.75,.2,1);
  }

  .nav-links.open { animation: enf-nav-open 200ms both ease-out; }
  @keyframes enf-nav-open {
    from { opacity: .6; transform: translate3d(0, -7px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }

  .icon-box svg, .service-link span, .article-link,
  .professional-badge, .quiz-teaser, .contact-quiz-teaser,
  .contact-quiz-link span, .post-pdf-link span {
    transition: transform 220ms ease, box-shadow 220ms ease,
      border-color 220ms ease, background-color 220ms ease;
  }
  .contact-panel :is(input,select,textarea),
  .consult-contact :is(input,textarea) {
    transition: border-color 170ms ease, box-shadow 170ms ease;
  }

  @media (hover: hover) {
    .service:hover .icon-box svg { transform: translateY(-3px); }
    .service:hover .service-link span { transform: translateX(3px); }
    .article-card:hover .article-link { transform: translateX(3px); }
    .professional-badge:hover {
      transform: translateY(-2px);
      border-color: #b8cbbb;
      box-shadow: 0 12px 28px rgba(31,56,43,.085);
    }
    .quiz-teaser:hover, .contact-quiz-teaser:hover {
      box-shadow: 0 12px 30px rgba(31,56,43,.08);
    }
    .contact-quiz-link:hover span, .post-pdf-link:hover span {
      transform: translateX(3px);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-pending, .motion-entering { opacity: 1 !important; transform: none !important; }
  .nav-links.open { animation: none !important; }
  .professional-badge, .quiz-teaser, .contact-quiz-teaser,
  .icon-box svg, .service-link span, .article-link,
  .contact-quiz-link span, .post-pdf-link span {
    transition: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .service-link span, .contact-quiz-link span, .post-pdf-link span { display: inline-block; }
}

/* Auch beim Drucken bleiben noch nicht angeschaute Abschnitte sichtbar. */
@media print {
  .motion-pending, .motion-entering {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Startseite: automatischer Teaser des neuesten veröffentlichten Blogbeitrags. */
.home-latest {
  background: #fff;
  padding: clamp(65px, 7vw, 100px) 0;
}
.home-latest-heading { margin-bottom: 34px; }
.home-latest-heading h2 { margin-bottom: 0; }
.home-latest-card {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--linen);
  box-shadow: 0 12px 36px rgba(31,56,43,.055);
}
.home-latest-media { min-width: 0; display: block; }
.home-latest-image {
  width: 100%;
  min-height: 345px;
  height: 100%;
  background-color: #c4d4c1;
  background-size: cover;
  background-position: center;
  transition: transform 250ms ease;
}
.home-latest-media { overflow: hidden; }
.home-latest-media:hover .home-latest-image { transform: scale(1.025); }
.home-latest-placeholder {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background: linear-gradient(145deg, #dce8d7 0%, #a5beaa 50%, #718f7d 100%);
  color: #2f5141;
}
.home-latest-placeholder svg { width: 79px; height: 79px; opacity: .75; }
.home-latest-placeholder span { font-size: 11px; font-weight: 800; letter-spacing: .17em; }
.home-latest-content {
  min-width: 0;
  padding: clamp(28px, 4.5vw, 55px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.home-latest-content .article-meta { margin: 0 0 15px; }
.home-latest-content h3 {
  font-size: clamp(23px, 2.8vw, 34px);
  margin: 0 0 17px;
  overflow-wrap: anywhere;
}
.home-latest-content h3 a:hover { color: var(--pine); }
.home-latest-content p { font-size: 15px; line-height: 1.8; margin: 0 0 27px; }
.home-latest-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px 24px; }
.home-latest-read { font-size: 14px; color: var(--pine); font-weight: 800; }
.home-latest-read:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .home-latest { padding: 60px 0; }
  .home-latest-card { grid-template-columns: 1fr; }
  .home-latest-image { min-height: 225px; max-height: 290px; }
  .home-latest-content { padding: 27px 24px 31px; }
  .home-latest-actions { align-items: stretch; }
}
@media (max-width: 420px) {
  .home-latest-actions { width: 100%; }
  .home-latest-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .home-latest-image { transition: none; }
  .home-latest-media:hover .home-latest-image { transform: none; }
}

/* Qualifikationen im Dienstleistungs-Header und unter dem Über-mich-Porträt. */
.services-intro-hero { padding-bottom: 62px; }
.service-hero-badges { margin-top: 34px; }
.about-intro-badges { margin-top: 40px; }
/* Auf beiden Seiten die großzügige Porträthöhe der Startseite verwenden. */
.about-intro-section .page-photo {
  min-height: 575px;
  height: 575px;
  border-radius: 12px 140px 12px 12px;
}
@media (max-width: 900px) {
  .about-intro-section .page-photo { min-height: 490px; height: 490px; }
}
@media (max-width: 700px) {
  .services-intro-hero { padding-bottom: 50px; }
  .service-hero-badges { margin-top: 28px; }
  .about-intro-badges { margin-top: 30px; }
  .about-intro-section .page-photo {
    min-height: 390px;
    height: 390px;
    border-top-right-radius: 100px;
  }
}

/* Sticky Hauptnavigation mit optionalem Urlaubsbanner darüber. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--linen);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(35, 60, 43, .055);
}
.site-header .nav { position: relative; }
.vacation-notice {
  /* Gut sichtbares, warmes Gelb als Gegenpol zur grünen Hauptnavigation. */
  background: #f6d18c;
  color: #493317;
  border-bottom: 1px solid #d9ad65;
}
.vacation-notice-inner {
  min-height: 42px;
  padding-block: 9px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  text-align: center;
}
.vacation-notice-icon {
  color: #624014;
  background: #fff1ce;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  flex: none;
}
html { scroll-padding-top: 155px; }
.consult-aside { top: 120px; }
/* Aufklappmenü immer unter der vollständig sticky Navigation öffnen. */
@media (max-width: 700px) {
  .site-header .nav-links { top: 100%; }
  .vacation-notice-inner { min-height: 40px; font-size: 12px; }
  html { scroll-padding-top: 165px; }
}

/* Sticky-Navigation reduziert ihre Höhe nach dem ersten Scrollen.
   Nur die Navigation schrumpft; die Urlaubsnotiz bleibt gut lesbar. */
.site-header .nav {
  transition: height 260ms ease;
}
.site-header .brand-symbol,
.site-header .brand-symbol span,
.site-header .brand strong,
.site-header .brand-logo,
.site-header .nav-links .btn {
  transition: height 260ms ease, width 260ms ease,
    font-size 260ms ease, min-height 260ms ease,
    max-height 260ms ease, padding 260ms ease;
}
.site-header.is-condensed .nav { height: 68px; }
.site-header.is-condensed .brand-symbol { width: 30px; height: 30px; }
.site-header.is-condensed .brand-symbol span { width: 11px; height: 11px; }
.site-header.is-condensed .brand strong { font-size: 23px; }
.site-header.is-condensed .brand-logo { max-height: 42px; }
.site-header.is-condensed .nav-links .btn { min-height: 38px; padding-inline: 16px; }
@media (max-width:700px) {
  .site-header.is-condensed .nav { height: 60px; }
  .site-header.is-condensed .brand-symbol { width: 29px; height: 29px; }
  .site-header.is-condensed .brand strong { font-size: 22px; }
  /* Das mobile Menü hängt unabhängig vom Scrollzustand unter der Navigationsleiste. */
  .site-header .nav-links { top: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .nav,
  .site-header .brand-symbol,
  .site-header .brand-symbol span,
  .site-header .brand strong,
  .site-header .brand-logo,
  .site-header .nav-links .btn { transition: none; }
}

/* 404-Seite */
.not-found-page { min-height: min(72vh,750px); display: flex; align-items: center; background: var(--subpage-hero-bg); }
.not-found-content { max-width: 820px; padding-block: clamp(78px,10vw,140px); }
.not-found-code { display: block; font: 800 clamp(86px,14vw,160px)/1 "Manrope",system-ui,sans-serif; color: var(--pine); letter-spacing: -.075em; opacity: .18; margin-bottom: 10px; }
.not-found-content h1 { font-size: clamp(37px,5vw,62px); margin-bottom: 20px; }
.not-found-content p { max-width: 600px; font-size: 17px; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width:700px) { .not-found-page { min-height: 62vh; } .not-found-content { padding-block: 68px; } }

/* STARTSEITE / HERO-REDESIGN: nach der Bild-Text-Vorlage vom Oktober 2026.
   Das Bild bleibt aus der vorhandenen CMS-Bildverwaltung konfigurierbar.
   Die Hintergrundfarbe kommt aus Inhalte > Startseite. */
.home-hero {
  position: relative;
  min-height: 690px;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(84px, 9vw, 125px) 0;
}
.home-hero .hero-grid {
  position: static;
  z-index: auto;
  display: block;
  width: min(1180px, calc(100% - 48px));
}
.home-hero .hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  padding: 0;
}
.home-hero .hero-eyebrow {
  color: #315447;
  font-size: 12px;
  letter-spacing: .19em;
  font-weight: 800;
}
.home-hero .hero-eyebrow::before { background: #315447; }
.home-hero .hero-copy h1 {
  max-width: 590px;
  margin: 25px 0 25px;
  color: #23312a;
  font-size: clamp(52px, 4.3vw, 72px);
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -.062em;
}
.home-hero .hero-copy .lead {
  max-width: 485px;
  color: #35423a;
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 32px;
}
.home-hero .hero-ctas { gap: 12px; }
.home-hero .hero-ctas .btn { min-height: 51px; }
.home-hero .hero-ctas .btn-outline {
  border-color: #597466;
  background: transparent;
  color: #253c30;
}
.home-hero .hero-ctas .btn-outline:hover { background: #ffffff68; }
.home-hero .trust-row { margin-top: 59px; gap: 25px; }
.home-hero .trust-row div { color: #385d4c; }
.home-hero .hero-picture {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 39%;
  margin: 0;
  width: auto;
  height: 100%;
  min-height: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background-size: cover;
  background-position: 60% center !important;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 10%, rgba(0,0,0,.50) 31%, rgba(0,0,0,.95) 55%, #000 76%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.10) 10%, rgba(0,0,0,.50) 31%, rgba(0,0,0,.95) 55%, #000 76%);
  pointer-events: none;
}
@media (max-width: 1050px) {
  .home-hero { min-height: 630px; }
  .home-hero .hero-copy { max-width: 470px; }
  .home-hero .hero-picture { inset-inline-start: 36%; background-position: 58% center; }
  .home-hero .hero-copy h1 { font-size: clamp(49px,5.5vw,65px); }
}
@media (max-width: 700px) {
  .home-hero { min-height: 0; padding: 73px 0 100px; align-items: flex-start; }
  .home-hero .hero-grid { width: min(100% - 38px, 560px); }
  .home-hero .hero-copy { width: 100%; position: relative; z-index: 2; }
  .home-hero .hero-copy h1 { margin: 23px 0 20px; font-size: clamp(43px,9.6vw,58px); }
  .home-hero .hero-copy .lead { font-size: 16px; max-width: 490px; }
  .home-hero .hero-ctas { flex-direction: column; align-items: stretch; }
  .home-hero .hero-ctas .btn { width: 100%; }
  .home-hero .trust-row { margin-top: 42px; gap: 15px; align-items: flex-start; }
  .home-hero .hero-picture {
    inset: auto 0 0 0;
    height: 260px;
    width: 100%;
    opacity: .33;
    background-position: 61% 42%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 88%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 88%);
  }
}
/* Bei Tabletbreiten reicht der Platz nicht für sechs Navigationslinks. */
@media (min-width: 701px) and (max-width: 950px) {
  .site-header .nav { height: 75px; }
  .site-header .menu-toggle { display: block; }
  .site-header .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    z-index: 10;
    padding: 24px;
    background: var(--linen);
    flex-direction: column;
    align-items: stretch;
    gap: 21px;
    box-shadow: 0 15px 20px #24453612;
  }
  .site-header .nav-links.open { display: flex; }
  .site-header.is-condensed .nav { height: 60px; }
}
/* Freie Farbauswahl: auf dunklen Section-Hintergründen bleibt die Typografie lesbar.
   Helle Karten innerhalb dieser Sektionen behalten ihre ursprünglichen Schriftfarben. */
.home-hero.home-section-dark .hero-eyebrow,
.home-hero.home-section-dark .hero-copy h1,
.home-hero.home-section-dark .hero-copy .lead,
.home-hero.home-section-dark .trust-row div,
.home-section-dark.services .section-head h2,
.home-section-dark.services .section-head .eyebrow,
.home-section-dark.services .services-footer,
.home-section-dark.services .services-footer a,
.home-section-dark.about .about-copy h2,
.home-section-dark.about .about-copy p,
.home-section-dark.about .about-copy .eyebrow,
.home-section-dark.about .about-copy .credential,
.home-section-dark.process > .wrap > h2,
.home-section-dark.process > .wrap > .eyebrow,
.home-section-dark.process .steps h3,
.home-section-dark.process .steps p,
.home-section-dark.process .steps .step-no,
.home-section-dark.home-latest .home-latest-heading h2,
.home-section-dark.home-latest .home-latest-heading .eyebrow { color: #fff; }
.home-hero.home-section-dark .hero-eyebrow::before,
.home-section-dark .section-label::before { background: rgba(255,255,255,.75); }
.home-hero.home-section-dark .hero-ctas .btn-outline,
.home-section-dark.about .about-copy .btn { border-color: #ffffffb5; color: #fff; }
.home-hero.home-section-dark .hero-ctas .btn-outline:hover,
.home-section-dark.about .about-copy .btn:hover { background: #ffffff24; }
.home-section-dark.about .credential,
.home-section-dark.process .step { border-color: rgba(255,255,255,.45); }

/* Mobiler, diskreter Kontaktzugang: nicht über Formularen oder Menüs. */
.mobile-contact-cta { display: none; }
@media (max-width: 700px) {
  .mobile-contact-cta {
    display: flex; position: fixed; z-index: 80;
    left: 18px; right: 18px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    justify-content: space-between; align-items: center; gap: 18px;
    min-height: 52px; padding: 12px 19px; border-radius: 10px;
    color: #fff; background: #294b3b; border: 1px solid #204031;
    box-shadow: 0 12px 32px rgba(22, 50, 36, .22);
    font-size: 14px; font-weight: 750;
  }
  .mobile-contact-cta:focus-visible { outline: 3px solid #e6b95d; outline-offset: 3px; }
  .mobile-contact-cta.is-hidden { display: none; }
  /* Freiraum am Seitenende, damit der Kontaktbutton keine Footer-Links verdeckt. */
  body:has(.mobile-contact-cta:not(.is-hidden)) footer { padding-bottom: 78px; }
}
@media (prefers-reduced-motion: reduce) { .mobile-contact-cta { transition: none; } }
/* Sichtbarer Tastaturfokus – auch auf vollständig anklickbaren Servicekarten. */
.service:focus-visible, .nav-links a:focus-visible, .btn:focus-visible,
.menu-toggle:focus-visible, .contact-quiz-link:focus-visible {
  outline: 3px solid #b78422; outline-offset: 4px;
}

/* Lange Rechtstitel auf schmalen Smartphones ohne horizontales Scrollen. */
@media (max-width: 480px) {
  .legal-copy h1 { font-size: clamp(30px, 7.6vw, 41px); overflow-wrap: anywhere; }
}

/* Hochgeladene Wortmarken bleiben in der Sticky-Navigation lesbar. */
.brand-logo { display: block; width: auto; height: auto; max-width: min(225px, 45vw); max-height: 54px; object-fit: contain; }
footer .brand-logo { max-width: min(205px, 60vw); max-height: 64px; }
@media (max-width:700px) { .site-header .brand-logo { max-width: min(175px, 50vw); max-height: 44px; } }

/* Responsive Bildvarianten: <img> statt nicht responsiven CSS-Hintergründen. */
.responsive-cover { display:block; width:100%; height:100%; object-fit:cover; object-position:center; }
.home-hero .hero-picture .responsive-cover { object-position:60% center; }
@media(max-width:1050px) {.home-hero .hero-picture .responsive-cover {object-position:58% center;}}
@media(max-width:700px) {.home-hero .hero-picture .responsive-cover {object-position:61% 42%;}}
.portrait-art, .home-latest-image, .article-picture.uploaded {overflow:hidden;}
.page-photo.has-photo {overflow:hidden; padding:0;}

/* Redaktionelle Formatierungen im Blog: serverseitig gefilterte HTML-Elemente. */
.post-prose h2,.post-prose h3{color:#263a30;line-height:1.28;margin:1.9em 0 .65em;font-weight:700;overflow-wrap:anywhere}
.post-prose h2{font-size:clamp(1.35rem,2vw,1.75rem)}
.post-prose h3{font-size:clamp(1.14rem,1.7vw,1.4rem)}
.post-prose ul,.post-prose ol{padding-left:1.5em;margin:1em 0 1.5em}
.post-prose li{margin:.35em 0}
.post-prose blockquote{padding:1rem 1.25rem;margin:1.2rem 0;border-left:3px solid #5b8066;background:#eff3ed;border-radius:0 10px 10px 0}
.post-prose a{color:#275741;text-decoration:underline;text-underline-offset:3px}
.post-prose a:focus-visible{outline:2px solid #275741;outline-offset:3px}
.post-prose *{overflow-wrap:anywhere}

/* Ohne JS bleiben auch auf Smartphones alle Navigationslinks erreichbar. */
@media(max-width:950px){
  html:not(.has-navigation-js) .site-header .menu-toggle{display:none!important}
  html:not(.has-navigation-js) .site-header .nav{height:auto;min-height:75px;flex-wrap:wrap;align-content:center;gap:12px}
  html:not(.has-navigation-js) .site-header .nav-links{display:flex!important;position:static!important;width:100%;flex-direction:column;gap:10px;box-shadow:none;padding:8px 0 18px;background:transparent}
}
/* Sichtbarer Sprunglink für Tastatur und Screenreader */
.skip-link{position:fixed;top:-100px;left:12px;z-index:10000;padding:12px 18px;background:#fff;color:#102819;border:3px solid #102819;border-radius:6px}
.skip-link:focus{top:10px}
/* No-JS-Quiz: vollständiges Formular; JS blendet es wieder schrittweise ein. */
.consult-basic-send{margin:20px 0}
.consult-enhanced .consult-basic-send{display:none}
.consult-card .consult-question[hidden],.consult-card .consult-contact[hidden],.consult-card .consult-result[hidden],.consult-card .consult-actions[hidden],.consult-card .consult-track[hidden],.consult-card .consult-progress[hidden]{display:none!important}
/* Native details = zugängliche FAQ ohne Skripte */
.service-faq{padding:65px 0;background:#f4f6f1}
.service-faq h2{margin:0 0 20px}
.faq-item{border-bottom:1px solid #cbd7ca}
.faq-item summary{font-weight:700;cursor:pointer;padding:20px 35px 20px 0;position:relative;list-style:none;color:#173b29}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:'+';position:absolute;right:3px;top:16px;font-size:27px;font-weight:400}
.faq-item[open] summary::after{content:'−'}
.faq-item p{margin:0 0 20px;max-width:75ch;line-height:1.7}
.faq-item summary:focus-visible{outline:3px solid #b78422;outline-offset:2px}
.service-faq.white {
  background: #fff;
}

/* Dynamischer Kontrast nach WCAG bei frei gewählten Abschnittsfarben. */
.home-hero .hero-eyebrow,.home-hero .hero-copy h1,.home-hero .hero-copy .lead,.home-hero .trust-row div,
.services .section-head h2,.services .section-head .eyebrow,.services .services-footer,.services .services-footer a,
.about .about-copy h2,.about .about-copy p,.about .about-copy .eyebrow,.about .about-copy .credential,
.process > .wrap > h2,.process > .wrap > .eyebrow,.process .steps h3,.process .steps p,.process .steps .step-no,
.home-latest .home-latest-heading h2,.home-latest .home-latest-heading .eyebrow{
  color:var(--home-foreground,#213e30)!important;
}
/* Starke Sichtbarkeit des Sprungziels. */
#hauptinhalt:focus{outline:0}

/* Dienstleistungsseite: Leistungspunkte ohne Trennlinien; Abstand bleibt erhalten. */
.service-detail-grid .wide-card .rich-list li{border:0;margin:0;padding:15px 0;line-height:1.55;}
.service-detail-grid .wide-card .rich-list li:first-child{padding-top:3px;}
.service-detail-grid .wide-card .rich-list li:last-child{padding-bottom:3px;}


/* Situationenbezogener Einstieg auf der Startseite */
.quick-entry{padding:65px 0 76px;background:#f6f8f3;color:var(--home-foreground,#253d2e)}
.quick-entry-head h2,.quick-entry-head .section-label{color:inherit}
.quick-entry.home-section-dark .quick-entry-head h2,.quick-entry.home-section-dark .quick-entry-head .section-label{color:#fff}
.quick-entry-head{display:flex;justify-content:space-between;align-items:end;gap:22px;margin-bottom:24px}
.quick-entry-head h2{font-size:clamp(27px,3vw,40px);line-height:1.2;margin:9px 0 0}
.quick-entry-head p{max-width:350px;line-height:1.6;color:#526658;margin:0}
.quick-entry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.quick-entry-card{min-width:0;display:flex;flex-direction:column;align-items:start;gap:13px;padding:25px 21px;border:1px solid #dbe6db;border-radius:17px;background:#fff;color:#233b2c;text-decoration:none;transition:border-color .2s,transform .2s,box-shadow .2s}
.quick-entry-card:hover{border-color:#7da68b;box-shadow:0 12px 30px #163f2112;transform:translateY(-2px)}
.quick-entry-icon{width:42px;height:42px;border-radius:12px;background:#eaf1e8;color:#426e4d;display:grid;place-items:center;font-size:24px;font-weight:600}
.quick-entry-card strong{font-size:17px;line-height:1.3}
.quick-entry-card>span:not(.quick-entry-icon):not(.quick-entry-arrow){font-size:13.5px;line-height:1.6;color:#516a5b;flex:1}
.quick-entry-arrow{font-size:12px;color:#245c3a;font-weight:750;line-height:1.4}
.quick-entry-card:focus-visible{outline:3px solid #b78422;outline-offset:3px}
@media(max-width:1050px){.quick-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.quick-entry{padding:43px 0 55px}.quick-entry-head{display:block}.quick-entry-head p{margin-top:14px}.quick-entry-grid{grid-template-columns:1fr;gap:11px}.quick-entry-card{padding:20px;gap:8px}}

/* Leistungspunkt-Erklärungen ausschließlich nach Aktivierung der details */
.service-detail-grid .wide-card .rich-list li{min-width:0;align-items:flex-start}
.service-point-detail{min-width:0;width:100%}
.service-point-detail summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;line-height:1.55;border-radius:5px}
.service-point-detail summary::-webkit-details-marker{display:none}
.service-point-detail summary:hover{color:#255c3a}
.service-point-detail summary:focus-visible{outline:3px solid #b78422;outline-offset:3px}
.service-point-info-mark{flex:0 0 22px;width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:#e9f0e9;color:#356349;font-size:13px;font-weight:800;font-family:Georgia,serif}
.service-point-extra{padding:13px 15px;margin:11px 0 4px;background:#f2f6ef;border-left:3px solid #7c9b7c;border-radius:0 10px 10px 0;color:#344c3b;font-size:13.5px;line-height:1.65}
.service-point-extra p{margin:0}.service-point-extra a{display:inline-block;margin-top:8px;font-weight:750;color:#245c3a}

@media(max-width:620px){.quick-entry-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.quick-entry-card{transition:none}}

/* Interaktive Suche nach Leistungspunkten; vollständige Breite der Leistungskarten. */
.service-search { position: relative; width: 100%; margin: 25px 0 17px; padding: 24px 27px 20px; background: #f4f7f1; border: 1px solid #d7e3d6; border-radius: 17px; box-shadow: 0 8px 30px rgba(30,64,38,.035); }
.service-search-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 17px; }
.service-search-head strong { display: block; font-size: 18px; line-height: 1.35; color: #264631; margin-bottom: 4px; }
.service-search-head span:not(.service-search-count) { display: block; color: #5b6b5e; font-size: 13px; line-height: 1.5; }
.service-search-count { font-size: 12px; font-weight: 700; white-space: nowrap; color: #35583e; background: #e4eee2; padding: 5px 10px; border-radius: 99px; }
.service-search-count:empty { display: none; }
.service-search-input-wrap { display: flex; align-items: center; position: relative; width: 100%; background: #fff; border: 1px solid #bccdbb; border-radius: 11px; min-height: 56px; box-shadow: 0 2px 10px rgba(25,62,39,.04); transition: border-color .2s,box-shadow .2s; }
.service-search-input-wrap:focus-within { border-color: #477b58; box-shadow: 0 0 0 3px rgba(92,139,99,.15); }
.service-search-icon { width: 16px; height: 16px; flex: 0 0 16px; margin: 0 15px 0 20px; border: 2px solid #56735c; border-radius: 50%; position: relative; }
.service-search-icon::after { content: ''; position: absolute; right: -7px; bottom: -4px; width: 8px; border-top: 2px solid #56735c; transform: rotate(47deg); }
.service-search-input-wrap input { flex: 1; width: 1px; min-width: 0; height: 54px; padding: 0 6px; background: transparent; outline: none; border: 0; color: #243e31; font: inherit; font-size: 15px; }
.service-search-input-wrap input::placeholder { color: #748277; opacity: 1; }
.service-search-input-wrap input::-webkit-search-cancel-button { display: none; }
.service-search-clear { flex: 0 0 31px; width: 31px; height: 31px; color: #516b59; background: #edf3eb; border: 0; border-radius: 50%; font-size: 22px; cursor: pointer; margin-right: 9px; }
.service-search-clear:hover { background: #dbe9da; }
.service-search-clear[hidden] { display: none; }
.service-search-submit { align-self: stretch; border: 0; background: #2b5338; color: white; font: inherit; font-size: 14px; font-weight: 750; border-radius: 0 9px 9px 0; padding: 0 25px; cursor: pointer; transition: background-color .2s; }
.service-search-submit:hover { background: #1d3d2a; }
.service-search-submit span { margin-left: 7px; }
.service-search-wordbar {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: 12px;
}
.service-search-wordbar[hidden] { display: none; }
.service-search-wordbar-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  color: #42614b;
}
.service-search-suggestions {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 4px 2px 10px;
  scrollbar-width: thin;
  scrollbar-color: #a9c2ae transparent;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.service-search-suggestions::-webkit-scrollbar { height: 5px; }
.service-search-suggestions::-webkit-scrollbar-thumb { background: #a9c2ae; border-radius: 10px; }
.service-search-suggestions:focus-visible { outline: 2px solid #477b58; outline-offset: 2px; border-radius: 8px; }
.service-search-suggestion {
  flex: 0 0 auto;
  max-width: min(260px, 78vw);
  min-height: 36px;
  padding: 7px 14px;
  border: 1px solid #b9cfbb;
  border-radius: 999px;
  background: #fff;
  color: #284b34;
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
  scroll-snap-align: start;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease;
  animation: enfedia-wordchip-in .19s ease both;
}
.service-search-suggestion:hover { background: #e2eee3; border-color: #7da887; transform: translateY(-1px); }
.service-search-suggestion:focus-visible { outline: 2px solid #2c613a; outline-offset: 2px; background: #e2eee3; }
@keyframes enfedia-wordchip-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
.service-search-message { font-size: 12px; color: #617363; margin: 11px 0 0; min-height: 18px; }
.service-search-empty { grid-column: 1 / -1; padding: 23px; margin: 8px 0 0; border-radius: 12px; background: #f4f7f1; color: #3d5e42; }
.service-search-empty[hidden],.service-detail-grid [hidden] { display: none !important; }
.service-search.is-searching ~ .service-detail-grid [data-service-card]:not([hidden]) { animation: enfedia-service-enter .26s ease both; }
@keyframes enfedia-service-enter { from { opacity: .65; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media(max-width:640px) { .service-search { padding: 19px 15px; margin: 22px 0 16px; } .service-search-head { gap: 10px; flex-wrap: wrap; } .service-search-input-wrap { min-height: 52px; } .service-search-input-wrap input { height: 52px; font-size: 14px; } .service-search-submit { padding: 0 13px; font-size: 13px; } .service-search-icon { margin-left: 13px; margin-right: 11px; } .service-search-wordbar { gap: 8px; } .service-search-wordbar-label { font-size: 11px; } .service-search-suggestion { font-size: 12px; min-height: 34px; padding: 6px 11px; } }
@media(prefers-reduced-motion:reduce) { .service-search, .service-search *, .service-search.is-searching ~ .service-detail-grid [data-service-card] { animation: none !important; transition: none !important; } }
/* Beschriftung für Screenreader, ohne sichtbare Duplikate. */
.service-search .visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* Über mich: klar gegliederte Entwicklung und Qualifikationen. */
.about-detail-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .65fr);
  gap: 36px;
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 65px);
}
.about-detail-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}
.about-detail-heading > p {
  max-width: 290px;
  margin: 0 0 5px auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.about-development-section {
  background: white;
}
.about-development-timeline {
  --about-timeline-line: #c3d5c6;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 225px), 1fr));
  gap: clamp(22px, 3.5vw, 42px);
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}
.about-development-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--about-timeline-line);
}
.about-development-item {
  position: relative;
  min-width: 0;
  padding: 40px 0 0;
}
.about-development-point {
  position: absolute;
  z-index: 1;
  top: 1px;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--pine);
  border: 5px solid #f1f4ed;
  outline: 2px solid #7fa08a;
  border-radius: 50%;
}
.about-development-content {
  border-left: 2px solid #d7e3d8;
  padding: 0 0 3px 23px;
  min-height: 120px;
}
.about-development-date {
  display: block;
  margin: 0 0 16px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(21px, 2.1vw, 27px);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -.045em;
  color: var(--pine);
  overflow-wrap: anywhere;
}
.about-development-content p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: #46534b;
  overflow-wrap: anywhere;
}
.about-qualification-section {
  background: #f1f4ed;
}
.about-qualification-layout {
  display: grid;
  grid-template-columns: minmax(250px, .86fr) minmax(0, 1.35fr);
  align-items: start;
  gap: clamp(38px, 5vw, 86px);
}
.about-qualification-intro h2 {
  max-width: 490px;
  margin-bottom: 20px;
}
.about-qualification-intro > p {
  max-width: 390px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
.about-qualification-list {
  list-style: none;
  margin: 0;
  padding: 2px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.about-qualification-item {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 17px;
  min-height: 176px;
  padding: 30px 23px;
  background: white;
  border: 1px solid #dcd8ca;
  border-radius: 6px;
  box-shadow: 0 13px 24px rgba(36, 55, 45, .06), 0 2px 5px rgba(36, 55, 45, .03);
  color: var(--ink);
  text-align: center;
}
.about-qualification-item::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(137, 147, 119, .33);
  border-radius: 2px;
  pointer-events: none;
}
.about-qualification-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 54px;
  height: 2px;
  background: #8b9e88;
  transform: translateX(-50%);
}
.about-qualification-paper-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #64806b;
}
.about-qualification-paper-icon svg { width: 42px; height: 42px; }
.about-qualification-paper-title {
  display: block;
  max-width: 100%;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 650;
  letter-spacing: -.01em;
  color: #253c30;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.about-development-timeline-long { grid-template-columns: 1fr; gap: 0; }
.about-development-timeline-long::before { left: 10px; right: auto; top: 12px; bottom: 24px; height: auto; width: 2px; }
.about-development-timeline-long .about-development-item { padding: 0 0 30px 46px; }
.about-development-timeline-long .about-development-item:last-child { padding-bottom: 0; }
.about-development-timeline-long .about-development-point { top: 4px; }
.about-development-timeline-long .about-development-content { min-height: auto; border-left: 0; padding: 0; }
.about-development-timeline-long .about-development-date { margin-bottom: 10px; }
@media (max-width: 760px) {
  .about-detail-heading, .about-qualification-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-detail-heading > p { max-width: 550px; margin: 0; }
  .about-development-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .about-development-timeline::before {
    left: 10px;
    right: auto;
    top: 12px;
    bottom: 24px;
    height: auto;
    width: 2px;
  }
  .about-development-item {
    padding: 0 0 30px 46px;
  }
  .about-development-item:last-child { padding-bottom: 0; }
  .about-development-point { top: 4px; }
  .about-development-content { min-height: auto; border-left: 0; padding: 0; }
  .about-development-date { margin-bottom: 10px; }
  .about-qualification-list { margin-top: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 570px) {
  .about-qualification-list { grid-template-columns: 1fr; gap: 14px; }
  .about-qualification-item { min-height: 140px; padding: 24px 22px; gap: 12px; }
  .about-qualification-paper-icon { width: 40px; height: 40px; }
  .about-qualification-paper-icon svg { width: 36px; height: 36px; }
  .about-qualification-paper-title { font-size: 15px; }
}

/* Farb- und Kontrasthierarchie für Dienstleistungen und Über mich. */
.services-intro-hero,
.about-page-hero {
  color: #24392d;
}
.services-intro-hero .eyebrow,
.about-page-hero .eyebrow {
  color: #345b40;
}
.about-page-hero p {
  color: #4c6152;
}

/* Beratungsleistungen: helles Flächenband, klar abgehobene Karten. */
.service-details-section.content-section.white {
  background: #f7f6f1;
}
.service-details-section > .wrap > .eyebrow,
.about-intro-section .eyebrow,
.about-development-section .eyebrow,
.about-qualification-section .eyebrow {
  color: #386348;
}
.service-detail-grid .wide-card {
  background: #fff;
  border: 1px solid #d3e0d5;
  box-shadow: 0 7px 24px rgba(33, 65, 43, .045);
  color: #27392e;
}
.service-detail-grid .wide-card .eyebrow {
  color: #386348;
}
.service-search {
  background: #e9f1e9;
  border-color: #c8daca;
  box-shadow: none;
}
.service-search-message { color: #455f4d; }
.service-search-count { color: #284a35; background: #d8e8da; }

.service-point-info-mark {
  background: #deebe0;
  color: #28533a;
}
.service-point-detail[open] > summary { color: #254d35; }
.service-point-extra {
  background: #eff5ef;
  border-left-color: #5c8564;
  color: #2f4b39;
}
.quiz-teaser {
  background: #e8f0e8;
  border-color: #cddfce;
  box-shadow: none;
}
.quiz-teaser-icon {
  background: #fff;
  color: #30583e;
  border: 1px solid #d1ded1;
}
.quiz-teaser p { color: #475c4e; }
.service-faq .eyebrow { color: #386348; }
.service-faq .faq-item { border-bottom-color: #d7e2d9; }
.service-faq .faq-item[open] { background: #f5f9f5; }

/* Über mich: Weiß für die Vorstellung, Salbeigrün für den Weg,
   tieferes Grün als Unterlage für helle Qualifikationskarten. */
.about-intro-section.content-section.dark {
  background: #fff;
}
.about-intro-section .page-photo {
  border: 1px solid #d4dfd6;
}
.about-intro-badges .professional-badge {
  background: #f2f6f2;
  border-color: #d7e2d8;
  box-shadow: none;
}
.about-development-section.content-section {
  background: #f3f7f3;
}
.about-development-point {
  border-color: #f3f7f3;
}
.about-development-content {
  border-left-color: #c8d9cd;
}
.about-development-content p { color: #43594a; }
.about-qualification-section.content-section.dark {
  background: #e8f0e9;
}
.about-qualification-intro > p { color: #4b6051; }
.about-qualification-item {
  background: #fffefa;
  border-color: #d0d9cc;
  box-shadow: 0 8px 21px rgba(31, 57, 41, .075), 0 2px 4px rgba(31, 57, 41, .035);
}
.about-qualification-item::before { border-color: rgba(89, 119, 93, .36); }
.about-qualification-paper-icon { color: #476d51; }
.about-qualification-paper-title { color: #273d2f; }
@media (max-width: 700px) {
  .service-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .service-detail-grid .wide-card { min-width: 0; padding: 25px 20px; }
}

/* Kontakt mobil: das Formular folgt direkt auf die Seitenüberschrift,
   Adresse und Beratungsquiz kommen erst anschließend. */
@media (max-width:700px) {
  .contact-section .content-grid>.contact-panel {order:-1;}
  .contact-section .content-grid {align-items:stretch;}
}

/* SEO-Informationsseiten für die bestehenden Beratungsbereiche */
.enf-service-lead{font-size:clamp(1.1rem,2vw,1.4rem);max-width:52rem;margin-top:1rem}
.enf-service-back{margin-top:1.2rem}.enf-service-back a,.enf-service-more a{color:inherit;text-underline-offset:.22em}
.enf-service-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(240px,1fr);gap:clamp(1.5rem,4vw,4rem);align-items:start}
.enf-service-layout>div>p{max-width:64ch;line-height:1.75}.enf-service-layout h2:not(:first-child){margin-top:2rem}
.enf-service-aside{padding:clamp(1.4rem,3vw,2.2rem)}.enf-service-aside .btn{margin:1rem 0}
.enf-service-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
.enf-service-link{display:flex;justify-content:space-between;gap:1rem;align-items:center;border:1px solid #cbd2c4;padding:1rem 1.2rem;border-radius:12px;text-decoration:none;color:inherit}
.enf-service-link:hover,.enf-service-link:focus-visible{border-color:currentColor}.enf-service-more{margin:1.3rem 0 0}
@media(max-width:760px){.enf-service-layout,.enf-service-links{grid-template-columns:1fr}}

/* Leistungsunterseiten: klarer Rückweg und unaufdringlicher Sticky-Zugang. */
.enf-service-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  margin-top: 26px;
}
.enf-service-hero-return {
  min-height: 54px;
  padding-inline: 24px;
  background: #284b39;
  box-shadow: 0 7px 20px rgba(24, 60, 38, .15);
}
.enf-service-hero-return:hover { background: #1d392a; }
.enf-service-hero-hint {
  font-size: 13px;
  line-height: 1.5;
  color: #4b6452;
}
.enf-service-aside-return {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #dce7dd;
}
.enf-service-aside-return .btn {
  width: 100%;
  min-height: 48px;
  margin: 0;
  background: #eef4ed;
  border-color: #b7ceb9;
  color: #244734;
}
.enf-service-aside-return .btn:hover { background: #dfece0; }
@media (min-width: 761px) and (min-height: 610px) {
  .enf-service-aside { position: sticky; top: 110px; }
}
.enf-service-mobile-return { display: none; }
@media (max-width: 760px) {
  .enf-service-hero-actions { align-items: flex-start; flex-direction: column; }
  .enf-service-hero-hint { display: none; }
  .enf-service-aside { position: static; }
}
@media (max-width: 700px) {
  /* Nur auf SEO-Leistungsseiten erscheint dieser Button statt des mobilen Kontakt-CTAs. */
  main.enf-service-page + .mobile-contact-cta { display: none !important; }
  .enf-service-page { padding-bottom: 82px; }
  body:has(.enf-service-page) footer { padding-bottom: 108px; }
  .enf-service-mobile-return {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 85;
  }
  .enf-service-mobile-return a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 18px;
    min-height: 52px;
    border-radius: 10px;
    border: 1px solid #204031;
    background: #294b3b;
    box-shadow: 0 12px 32px rgba(22,50,36,.20);
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
  }
  .enf-service-mobile-return a:focus-visible,
  .enf-service-hero-return:focus-visible,
  .enf-service-aside-return a:focus-visible {
    outline: 3px solid #b78422;
    outline-offset: 3px;
  }
}

/* Zusätzliche Bildergalerie auf Blogbeitragsseiten */
.post-gallery-section{margin:44px 0 40px}
.post-gallery-section h2{font-size:clamp(1.35rem,2.5vw,1.8rem);color:#263a30;margin:0 0 20px}
.post-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.post-gallery-single{grid-template-columns:minmax(0,1fr)}
.post-gallery-photo{margin:0;overflow:hidden;background:#f0f4ee;border-radius:14px}
.post-gallery-photo img{display:block;width:100%;height:auto;max-height:520px;aspect-ratio:4/3;object-fit:cover}
.post-gallery-single .post-gallery-photo img{aspect-ratio:auto;object-fit:contain}
@media(max-width:600px){.post-gallery{grid-template-columns:1fr;gap:14px}.post-gallery-photo img{max-height:none}}

/* Inline-Bilder im Blogtext, unabhängig von der bestehenden Blog-Navigation. */
.post-prose .post-inline-figure{display:block;max-width:100%;margin:32px 0 36px}
.post-prose .post-inline-figure img{display:block;max-width:100%;width:100%;height:auto;border-radius:12px}
.post-prose .post-inline-figure figcaption{font-size:.88rem;line-height:1.55;text-align:center;color:#53665a;margin-top:11px;overflow-wrap:anywhere}
@media(min-width:720px){.post-prose .post-inline-compact{max-width:62%;margin-left:auto;margin-right:auto}}
