/* Inhaltsfunktion bestimmt das Layout; Nummern kennzeichnen nur den Ablauf. */
/* Texteinstiege bilden eine Leseeinheit statt zwei voneinander geloester Spalten.
   Die Regeln gelten gleichermassen im Frontend und im WordPress-Editor. */
:is(body, .editor-styles-wrapper) :is(.p5-head__inner, .p6-head__inner, .p8-head__inner) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}
:is(body, .editor-styles-wrapper) :is(.p5-head__inner, .p6-head__inner, .p8-head__inner) > .wp-block-group {
  width: 100%;
  max-width: 56rem;
  min-width: 0;
  margin: 0 !important;
}
:is(body, .editor-styles-wrapper) :is(.p5-head, .p6-head, .p8-head) h1 {
  max-width: none;
  margin: 0;
  text-wrap: balance;
}
:is(body, .editor-styles-wrapper) :is(.p5-head__copy, .p6-head__copy, .p8-head__copy) {
  padding: 0;
  border: 0;
}
:is(body, .editor-styles-wrapper) :is(.p5-head__copy, .p6-head__copy, .p8-head__copy) > * {
  max-width: 46rem;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) :is(.p5-head__copy, .p6-head__copy, .p8-head__copy) > :first-child { margin-top: 0; }
:is(body, .editor-styles-wrapper) :is(.p5-head__copy, .p6-head__copy, .p8-head__copy) > :last-child { margin-bottom: 0; }
:is(body, .editor-styles-wrapper) :is(.p5-head, .p6-head) { padding-block: 4rem; }
:is(body, .editor-styles-wrapper) .p8-head { padding-top: 4rem; }
:is(body, .editor-styles-wrapper) .p8-head__inner { padding-bottom: 3rem; }

:is(body, .editor-styles-wrapper) :is(.p4-section-head, .p4-proof__head, .p6-index__intro, .p7-section-head, .p8-section-head, .p46-scope-heading) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 1.25rem;
}
:is(body, .editor-styles-wrapper) :is(.p4-section-head, .p4-proof__head, .p6-index__intro, .p7-section-head, .p8-section-head, .p46-scope-heading) > .wp-block-group {
  width: 100%;
  min-width: 0;
  margin: 0 !important;
  align-self: start;
}
:is(body, .editor-styles-wrapper) :is(.p4-section-head, .p4-proof__head, .p6-index__intro, .p7-section-head, .p8-section-head, .p46-scope-heading) h2 {
  max-width: 30ch;
  margin-bottom: 0;
}
:is(body, .editor-styles-wrapper) .p4-section-head__copy,
:is(body, .editor-styles-wrapper) .p6-index__intro > div:last-child { padding: 0; border: 0; max-width: 46rem; }
:is(body, .editor-styles-wrapper) :is(.p4-proof__head, .p7-section-head, .p8-section-head, .p46-scope-heading) > div:last-child { max-width: 46rem; }
:is(body, .editor-styles-wrapper) :is(.p4-section-head, .p4-proof__head, .p6-index__intro, .p7-section-head, .p8-section-head, .p46-scope-heading) > .wp-block-group > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) :is(.p4-section-head, .p4-proof__head, .p6-index__intro, .p7-section-head, .p8-section-head, .p46-scope-heading) > div:last-child > :first-child { margin-top: 0; }
:is(body, .editor-styles-wrapper) :is(.p4-section-head, .p4-proof__head, .p6-index__intro, .p7-section-head, .p8-section-head, .p46-scope-heading) > div:last-child > :last-child { margin-bottom: 0; }
:is(body, .editor-styles-wrapper) .p9-head__copy h1 { max-width: none; margin-bottom: 1.5rem; }
:is(body, .editor-styles-wrapper) .p4-estate h2 { max-width: none; }

/* Galeriehinweise und Weiterverweise sind Begleitinformationen, keine Hero-Titel. */
:is(body, .editor-styles-wrapper) .p6-gallery { padding-bottom: 2rem; }
:is(body, .editor-styles-wrapper) .p6-gallery + .p6-section { padding-top: 0; padding-bottom: 2.5rem; }
:is(body, .editor-styles-wrapper) .p6-section:has(.p6-next__links) { padding-block: 2.5rem; }
:is(body, .editor-styles-wrapper) :is(.p6-gallery + .p6-section, .p6-section:has(.p6-next__links)) .p6-split {
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
}
:is(body, .editor-styles-wrapper) :is(.p6-gallery + .p6-section, .p6-section:has(.p6-next__links)) h2 {
  max-width: none;
  font-size: 1.65rem;
  line-height: 1.25;
}
:is(body, .editor-styles-wrapper) :is(.p6-gallery + .p6-section, .p6-section:has(.p6-next__links)) .p6-copy {
  width: 100%;
  max-width: 46rem;
  margin: 0 !important;
}
:is(body, .editor-styles-wrapper) .p6-copy > * { margin-left: 0 !important; margin-right: 0 !important; }
:is(body, .editor-styles-wrapper) .p9-main__intro > * { margin-left: 0 !important; margin-right: 0 !important; }
:is(body, .editor-styles-wrapper) .p9-main__intro h2 { max-width: 24ch; }

@media (max-width: 48rem) {
  :is(body, .editor-styles-wrapper) :is(.p5-head, .p6-head) { padding-block: 2.5rem 3rem; }
  :is(body, .editor-styles-wrapper) .p8-head { padding-top: 2.5rem; }
  :is(body, .editor-styles-wrapper) :is(.p5-head, .p6-head, .p8-head) h1 { max-width: none; }
  :is(body, .editor-styles-wrapper) .p9-main { padding-block: 3rem; }
  :is(body, .editor-styles-wrapper) .p9-main__intro h2 { font-size: 2rem; }
  :is(body, .editor-styles-wrapper) .p9-hints { margin-top: 1.25rem; }
  :is(body, .editor-styles-wrapper) .p9-hints li { font-size: .9375rem; }
}

/* P48: Gemeinsame Korrekturen fuer Frontend und Editor. WordPress setzt
   constrained-Seitenraender selbst mit !important; nur diese Achsen aufheben. */
.p5-faq > details.wp-block-details {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: none;
  justify-self: stretch;
  margin: 0;
}
.p5-faq > details,
.p5-faq > details > p,
.p5-faq__head > *,
.p5-note > p,
.p6-entry__copy > *,
.project-copy > *,
.p41-path__head > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.p4-services .service-register__group > h3 { padding: 0; }
.p6-entry__copy > .text-link { align-self: flex-start; }
.p41-path__head :is(h2, h3) {
  grid-column: 2;
  margin: 0 0 1rem;
  color: #14264d;
  font-size: 1.55rem;
  line-height: 1.18;
}
/* P48 entfernt die doppelte Einleitung. Alte und migrierte Struktur bleiben lesbar. */
.p41-overview__inner > .p41-path:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.p41-overview__inner .p41-service-list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); }
.p41-overview__inner > .p41-path:first-child .p41-path__head::before {
  -webkit-mask-image: url("../icons/drafting-compass.svg");
  mask-image: url("../icons/drafting-compass.svg");
}
.p41-overview__inner > .p41-path:first-child + .p41-path .p41-path__head::before {
  -webkit-mask-image: url("../icons/hammer.svg");
  mask-image: url("../icons/hammer.svg");
}
.p41-overview__inner > .p41-path:first-child + .p41-path + .p41-path .p41-path__head::before {
  -webkit-mask-image: url("../icons/grid-3x3.svg");
  mask-image: url("../icons/grid-3x3.svg");
}
@media (max-width: 68.749rem) {
  .p41-overview__inner > .p41-path { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .p41-overview__inner > .p41-path:first-child .p41-service-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .p41-overview__inner > .p41-path:first-child + .p41-path .p41-service-list,
  .p41-overview__inner > .p41-path:first-child + .p41-path + .p41-path .p41-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48.001rem) and (max-width: 68.749rem) {
  .p6-entry__copy .p6-entry__facts li { grid-template-columns: minmax(0, 1fr); gap: .35rem; }
}
@media (max-width: 47rem) {
  .p41-overview__inner > .p41-path:first-child .p41-service-list,
  .p41-overview__inner > .p41-path:first-child + .p41-path .p41-service-list,
  .p41-overview__inner > .p41-path:first-child + .p41-path + .p41-path .p41-service-list { grid-template-columns: minmax(0, 1fr); }
}

/* Nur Vierergruppen umstellen; Dreiergruppen behalten ihr bestehendes Raster. */
.p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) > .p6-fact {
  border-top: 0;
  border-right: 1px solid #d9dde4;
}
.p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) > .p6-fact:nth-child(4) {
  border-right: 0;
}
@media (max-width: 68.749rem) {
  .p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) > .p6-fact:nth-child(even) {
    border-right: 0;
  }
  .p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) > .p6-fact:nth-child(n+3) {
    border-top: 1px solid #d9dde4;
  }
}
@media (max-width: 35rem) {
  .p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) {
    grid-template-columns: minmax(0, 1fr);
  }
  .p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) > .p6-fact {
    border-right: 0;
  }
  .p6-facts:has(> .p6-fact:nth-child(4)):not(:has(> .p6-fact:nth-child(5))) > .p6-fact:nth-child(n+2) {
    border-top: 1px solid #d9dde4;
  }
}

.p46-service-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 4rem; align-items: center; }
.p46-intro-copy > * { margin-left: 0 !important; margin-right: 0 !important; }
.p46-intro-copy h2 { max-width: 23ch; margin: 0 0 1.35rem; font-size: 2.2rem; line-height: 1.15; }
.p46-intro-copy > p:not(.eyebrow) { max-width: 36rem; color: #5b6472; }
.p46-facts { display: flex; flex-direction: column; gap: .85rem; margin: 1.75rem 0 0; padding: 1.5rem 0 0; border-top: 1px solid #d9dde4; list-style: none; }
.p46-facts li { margin: 0; font-size: .94rem; line-height: 1.55; color: #5b6472; }
.p46-facts strong { color: #172033; font-weight: 650; }
.p46-media figure { width: 100%; aspect-ratio: 4 / 3; margin: 0; overflow: hidden; }
.p46-media--portrait figure { aspect-ratio: 5 / 6; }
.p46-media--schluesselfertig figure { aspect-ratio: 16 / 9; }
.p46-media img { width: 100%; height: 100%; object-fit: cover; }
.p46-media--schluesselfertig img { object-position: center 48%; }
.p46-media--putz img { object-position: 62% 48%; }
.p46-scope-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 4rem; align-items: end; margin-bottom: 2rem; }
.p46-heading > *, .p46-description > * { margin-left: 0 !important; margin-right: 0 !important; }
.p46-heading h2 { max-width: 25ch; margin-bottom: 0; font-size: 2.2rem; line-height: 1.15; }
.p46-description p:last-child { margin-bottom: 0; }
.p46-scope-topics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 3rem; margin: 0; padding: 0; list-style: none; }
.p46-scope-topics li { margin: 0; padding: 1.35rem 0; border-top: 1px solid #ccd2dc; font-size: 1rem; line-height: 1.6; }
.p46-scope-topics strong { display: block; margin-bottom: .3rem; color: #172033; font-weight: 680; }
.p46-contact .contact-band__inner { align-items: center; }
.p46-contact-preparation { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.23); }
.p46-contact-preparation > * { margin-left: 0 !important; margin-right: 0 !important; }
.p46-contact .p46-checklist-label { color: #fff; font-size: 1rem; font-weight: 680; margin-bottom: 1rem; }
.p46-checklist { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .7rem 2rem; margin: 0; padding: 0; list-style: none; }
.p46-checklist li { position: relative; margin: 0; padding-left: 1rem; color: #dfe6f5; font-size: .94rem; line-height: 1.5; }
.p46-checklist li::before { position: absolute; top: .62em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: #dfe6f5; content: ''; }
.p46-contact-preparation > p:last-child:not(:first-child) { margin-top: 1rem; color: #dfe6f5; font-size: .94rem; }
.p46-overview-questions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem 2rem; margin: 0; padding: 0; list-style: none; }
.p46-overview-questions li { margin: 0; padding-top: 1rem; border-top: 1px solid #ccd2dc; }
.p46-overview-questions strong { display: block; margin-bottom: .4rem; color: #172033; font-size: 1.05rem; line-height: 1.3; }
.p46-overview-questions span { color: #5b6472; font-size: .95rem; line-height: 1.55; }
.p46-overview-questions .p45-request-grid__copy > span { display: block; }
.p46-estate-options > h2, .p46-estate-interest > h2, .p46-estate-process > h2 { max-width: 33ch; margin: 0 0 2rem; font-size: 2.3rem; line-height: 1.15; }
.p46-estate-choices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; }
.p46-estate-choice { padding: 2rem; background: #fff; border: 1px solid #d9dde4; border-radius: 6px; }
.p46-estate-choice h3, .p46-estate-theme h3 { margin: 0 0 .75rem; font-size: 1.35rem; line-height: 1.25; }
.p46-estate-choice p:last-child, .p46-estate-theme p:last-child { margin-bottom: 0; }
.p46-estate-themes { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 3rem; }
.p46-estate-theme { padding-top: 1.5rem; border-top: 1px solid #ccd2dc; }
.p46-estate-note { margin-top: 2rem; padding-left: 1.25rem; border-left: 3px solid #ccd2dc; max-width: 57rem; }
.p46-estate-note p { color: #5b6472; margin-bottom: 0; }
.p46-estate-process > h2 { margin-bottom: .8rem; }
.p46-process { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2.5rem; margin-top: 2.5rem; counter-reset: p46-phase; }
.p46-process-step { position: relative; padding-top: 1.5rem; border-top: 2px solid #ccd2dc; counter-increment: p46-phase; }
.p46-process-step::before { display: block; margin-bottom: .75rem; color: #29457f; content: counter(p46-phase, decimal-leading-zero); font-size: .85rem; font-weight: 750; }
.p46-process-step h3 { margin: 0 0 .65rem; font-size: 1.2rem; line-height: 1.3; }
.p46-process-step p { margin: 0; color: #5b6472; }
.p46-process-step:not(:last-child)::after { position: absolute; top: -6px; right: -8px; width: 10px; height: 10px; border-top: 2px solid #ccd2dc; border-right: 2px solid #ccd2dc; transform: rotate(45deg); content: ''; }

@media (max-width: 68.749rem) {
  .p46-service-intro, .p46-scope-heading { gap: 2.5rem; }
  .p46-intro-copy h2, .p46-heading h2 { font-size: 1.9rem; }
  .p46-media--portrait figure { aspect-ratio: 4 / 5; }
  .p46-process { gap: 1.5rem; }
}
@media (max-width: 48rem) {
  .p46-service-intro, .p46-scope-heading { grid-template-columns: minmax(0,1fr); gap: 2rem; }
  .p46-media figure { aspect-ratio: 4 / 3; }
  .p46-media--schluesselfertig figure { aspect-ratio: 16 / 9; }
  .p46-scope-topics, .p46-estate-themes { gap: 0 1.5rem; }
  .p46-estate-options > h2, .p46-estate-interest > h2, .p46-estate-process > h2 { font-size: 1.9rem; }
  .p46-estate-choice { padding: 1.5rem; }
  .p46-process { grid-template-columns: minmax(0,1fr); gap: 0; }
  .p46-process-step { padding: 0 0 2rem 2.75rem; border-top: 0; border-left: 2px solid #ccd2dc; }
  .p46-process-step::before { position: absolute; left: -.8rem; top: 0; padding: .1rem .25rem; background: #f7f8fa; }
  .p46-process-step:last-child { padding-bottom: 0; border-left-color: transparent; }
  .p46-process-step:not(:last-child)::after { content: none; }
  .p46-process { margin-left: .75rem; }
}
@media (max-width: 35rem) {
  .p46-estate-themes { row-gap: 1.5rem; }
  .p46-scope-topics, .p46-checklist, .p46-estate-choices, .p46-estate-themes, .p46-overview-questions { grid-template-columns: minmax(0,1fr); }
  .p46-estate-choices { gap: 1rem; }
  .p46-overview-questions { gap: 1.25rem; }
  .p46-intro-copy h2, .p46-heading h2 { font-size: 1.7rem; }
  .p46-checklist { gap: .65rem; }
}
@media (max-width: 22rem) {
  .p46-intro-copy h2 { font-size: 1.5rem; }
}

/* P69: Leistungsdetailseiten beginnen mit einem kompakten Bild-Text-Kopf. */
:is(body, .editor-styles-wrapper) .p69-service-hero {
  padding-block: 4.5rem;
  overflow: hidden;
}
:is(body, .editor-styles-wrapper) .p5-head__inner.p69-service-hero__inner {
  grid-template-columns: minmax(0, .9fr) minmax(30rem, 1.1fr);
  gap: 5rem;
  align-items: center;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__copy {
  min-width: 0;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__copy > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p69-service-hero h1 {
  max-width: 15ch;
  margin: 0;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__copy .lead {
  max-width: 38rem;
  margin: 1.65rem 0 0;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__copy .text-link {
  margin: 1.55rem 0 0;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__copy .p5-head__note {
  width: fit-content;
  max-width: 34rem;
  margin: .55rem 0 0;
  padding: .1rem 0 .1rem .8rem;
  border-left: 3px solid var(--orange-deep);
  color: var(--muted);
  font-size: .9rem;
  font-weight: 620;
  line-height: 1.5;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__media {
  min-width: 0;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__media figure,
:is(body, .editor-styles-wrapper) .p69-service-hero__media.p46-media--portrait figure,
:is(body, .editor-styles-wrapper) .p69-service-hero__media.p46-media--schluesselfertig figure {
  aspect-ratio: 5 / 4;
  margin: 0;
  overflow: hidden;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(body, .editor-styles-wrapper) .p69-service-hero__media--bauplanung img { object-position: center 60%; }
:is(body, .editor-styles-wrapper) .p69-service-hero__media--rohbau img { object-position: center 47%; }
:is(body, .editor-styles-wrapper) .p69-service-hero__media--schluesselfertiges-bauen img { object-position: center 48%; }
:is(body, .editor-styles-wrapper) .p69-service-hero__media--um-und-ausbau img { object-position: center 44%; }
:is(body, .editor-styles-wrapper) .p69-service-hero__media--sanierung img { object-position: center 63%; }
:is(body, .editor-styles-wrapper) .p69-service-hero__media--putzarbeiten img { object-position: 62% 48%; }
:is(body, .editor-styles-wrapper) .p69-service-hero__media--pflasterarbeiten img { object-position: center 56%; }

:is(body, .editor-styles-wrapper) .p46-service-intro.p69-service-intro {
  display: block;
}
:is(body, .editor-styles-wrapper) .p69-service-intro .p46-intro-copy {
  width: min(100%, 64rem);
}
:is(body, .editor-styles-wrapper) .p69-service-intro .p46-intro-copy > p:not(.eyebrow) {
  max-width: 52rem;
}
:is(body, .editor-styles-wrapper) .p69-service-intro .p46-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
}
:is(body, .editor-styles-wrapper) .p69-service-intro .p46-facts li {
  padding: 0 1.5rem;
  border-left: 1px solid #d9dde4;
}
:is(body, .editor-styles-wrapper) .p69-service-intro .p46-facts li:first-child {
  padding-left: 0;
  border-left: 0;
}

@media (max-width: 68.749rem) {
  :is(body, .editor-styles-wrapper) .p69-service-hero { padding-block: 3.75rem; }
  :is(body, .editor-styles-wrapper) .p5-head__inner.p69-service-hero__inner {
    grid-template-columns: minmax(0, .95fr) minmax(22rem, 1.05fr);
    gap: 2.75rem;
  }
  :is(body, .editor-styles-wrapper) .p69-service-hero h1 {
    max-width: 16ch;
    font-size: 2.75rem;
  }
}

/* P122: Klarer Abschluss fuer den direkten Immobilienankauf. */
:is(body, .editor-styles-wrapper) .p46-estate-note {
  max-width: none;
  margin-top: clamp(2.5rem, 4vw, 3rem);
  padding: 1.4rem 1.55rem 1.45rem;
  display: grid;
  grid-template-columns: minmax(9.5rem, .32fr) minmax(0, 1.68fr);
  gap: 1.75rem;
  align-items: start;
  border-top: 3px solid var(--orange-action);
  border-left: 0;
  background: #eef1f5;
}
:is(body, .editor-styles-wrapper) .p46-estate-note > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p46-estate-note .p46-estate-note__label {
  margin: 0;
  color: var(--blue-deep);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.45;
  text-transform: uppercase;
}
:is(body, .editor-styles-wrapper) .p46-estate-note p:last-child {
  max-width: 52rem;
  margin: 0;
  color: var(--blue-deep);
  font-size: 1rem;
  line-height: 1.6;
}

@media (max-width: 35rem) {
  :is(body, .editor-styles-wrapper) .p46-estate-note {
    margin-top: 2.25rem;
    padding: 1.25rem 1.15rem 1.3rem;
    grid-template-columns: minmax(0, 1fr);
    gap: .55rem;
  }
  :is(body, .editor-styles-wrapper) .p46-estate-note p:last-child {
    font-size: .95rem;
    line-height: 1.55;
  }
}

@media (max-width: 48rem) {
  :is(body, .editor-styles-wrapper) .p69-service-hero { padding-block: 2.75rem 3.25rem; }
  :is(body, .editor-styles-wrapper) .p5-head__inner.p69-service-hero__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  :is(body, .editor-styles-wrapper) .p69-service-hero h1 {
    max-width: none;
    font-size: 2.5rem;
  }
  :is(body, .editor-styles-wrapper) .p69-service-hero__media figure,
  :is(body, .editor-styles-wrapper) .p69-service-hero__media.p46-media--portrait figure,
  :is(body, .editor-styles-wrapper) .p69-service-hero__media.p46-media--schluesselfertig figure {
    aspect-ratio: 4 / 3;
  }
  :is(body, .editor-styles-wrapper) .p69-service-intro .p46-facts {
    grid-template-columns: minmax(0, 1fr);
    gap: .85rem;
  }
  :is(body, .editor-styles-wrapper) .p69-service-intro .p46-facts li,
  :is(body, .editor-styles-wrapper) .p69-service-intro .p46-facts li:first-child {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 35rem) {
  :is(body, .editor-styles-wrapper) .p69-service-hero h1 { font-size: 2.1rem; }
  :is(body, .editor-styles-wrapper) .p69-service-hero__copy .lead { margin-top: 1.35rem; }
  :is(body, .editor-styles-wrapper) .p69-service-hero__copy .text-link { margin: 1.3rem 0 0; }
}

@media (max-width: 22rem) {
  :is(body, .editor-styles-wrapper) .p69-service-hero h1 { font-size: 1.9rem; }
}

/* P71: Kundenorientierte Leistungsseiten mit ruhiger Redaktion und starkem Bildbeleg. */
:is(body, .editor-styles-wrapper) .p71-service-hero {
  padding-block: 0;
  border-bottom: 0;
  background: var(--surface);
}
:is(body, .editor-styles-wrapper) .p71-service-hero__inner {
  width: min(90rem, 100%);
  min-height: 42rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 53%) minmax(0, 47%);
  align-items: stretch;
}
:is(body, .editor-styles-wrapper) .p71-service-hero__copy {
  min-width: 0;
  padding: 5rem max(3rem, calc((100vw - var(--max)) / 2)) 4.5rem;
  padding-right: clamp(3rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
:is(body, .editor-styles-wrapper) .p71-service-hero__copy > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p71-service-hero h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(3rem, 4.2vw, 4.15rem);
  line-height: 1.02;
  text-wrap: balance;
}
:is(body, .editor-styles-wrapper) .p71-service-hero .lead {
  max-width: 40rem;
  margin: 1.65rem 0 0;
  font-size: 1.08rem;
}
:is(body, .editor-styles-wrapper) .p71-service-hero .text-link {
  align-self: flex-start;
  margin: 1.45rem 0 0;
}
:is(body, .editor-styles-wrapper) .p71-service-hero__note {
  width: fit-content;
  max-width: 34rem;
  margin: .65rem 0 0;
  padding-left: .8rem;
  border-left: 3px solid var(--orange-deep);
  color: var(--muted);
  font-size: .88rem;
  font-weight: 640;
}
:is(body, .editor-styles-wrapper) .p71-service-hero__media,
:is(body, .editor-styles-wrapper) .p71-service-hero__media figure {
  min-height: 42rem;
  margin: 0;
  overflow: hidden;
  background: var(--surface-soft);
}
:is(body, .editor-styles-wrapper) .p71-service-hero__media { position: relative; }
:is(body, .editor-styles-wrapper) .p71-service-hero__media figure {
  position: absolute;
  inset: 0;
}
:is(body, .editor-styles-wrapper) .p71-service-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(body, .editor-styles-wrapper) .p71-service--bauplanung .p71-service-hero__media img { object-position: center 57%; }
:is(body, .editor-styles-wrapper) .p71-service--rohbau .p71-service-hero__media img { object-position: center 48%; }
:is(body, .editor-styles-wrapper) .p71-service--schluesselfertiges-bauen .p71-service-hero__media img { object-position: 20% 50%; }
:is(body, .editor-styles-wrapper) .p71-service--um-und-ausbau .p71-service-hero__media img { object-position: center 53%; }
:is(body, .editor-styles-wrapper) .p71-service--sanierung .p71-service-hero__media img { object-position: 60% center; }
:is(body, .editor-styles-wrapper) .p71-service--putzarbeiten .p71-service-hero__media img { object-position: 61% center; }
:is(body, .editor-styles-wrapper) .p71-service--pflasterarbeiten .p71-service-hero__media img { object-position: center 52%; }

:is(body, .editor-styles-wrapper) .p71-orientation {
  padding-block: 6.5rem;
}
:is(body, .editor-styles-wrapper) .p71-section-head {
  margin-bottom: 3.5rem;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(24rem, 1.18fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: end;
}
:is(body, .editor-styles-wrapper) .p71-section-head > *,
:is(body, .editor-styles-wrapper) .p71-section-head__title > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p71-section-head__title .eyebrow { margin-bottom: .8rem; }
:is(body, .editor-styles-wrapper) .p71-section-head h2 {
  max-width: 19ch;
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(2.25rem, 3.1vw, 3rem);
}
:is(body, .editor-styles-wrapper) .p71-section-head__lead {
  max-width: 44rem;
  margin: 0 0 .25rem;
  font-size: 1.08rem;
}
:is(body, .editor-styles-wrapper) .p71-orientation__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3.25rem);
}
:is(body, .editor-styles-wrapper) .p71-orientation__item {
  min-width: 0;
  padding: 1.7rem 0 1.35rem;
  border-top: 4px solid var(--orange-action);
  border-bottom: 1px solid var(--line);
}
:is(body, .editor-styles-wrapper) .p71-orientation__item > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p71-topic-label {
  margin-bottom: 1.1rem;
  color: var(--blue);
  font-size: .74rem;
  font-weight: 780;
  text-transform: uppercase;
}
:is(body, .editor-styles-wrapper) .p71-orientation__item h3 {
  margin-bottom: .7rem;
  color: var(--blue-deep);
  font-size: 1.35rem;
}
:is(body, .editor-styles-wrapper) .p71-orientation__item p:last-child {
  max-width: 21rem;
  margin-bottom: 0;
}

:is(body, .editor-styles-wrapper) .p71-scope-band {
  padding: 0;
  color: #fff;
  background: var(--blue-deep);
}
:is(body, .editor-styles-wrapper) .p71-scope-band__inner {
  min-height: 43rem;
  display: grid;
  grid-template-columns: minmax(0, 54%) minmax(0, 46%);
  align-items: stretch;
}
:is(body, .editor-styles-wrapper) .p71-scope__media,
:is(body, .editor-styles-wrapper) .p71-scope__media figure {
  min-height: 43rem;
  margin: 0;
  overflow: hidden;
  background: #d7dbe1;
}
:is(body, .editor-styles-wrapper) .p71-scope__media { position: relative; }
:is(body, .editor-styles-wrapper) .p71-scope__media figure {
  position: absolute;
  inset: 0;
}
:is(body, .editor-styles-wrapper) .p71-scope__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(body, .editor-styles-wrapper) .p71-scope-band--bauplanung .p71-scope__media img { object-position: center 59%; }
:is(body, .editor-styles-wrapper) .p71-scope-band--rohbau .p71-scope__media img { object-position: center 62%; }
:is(body, .editor-styles-wrapper) .p71-scope-band--schluesselfertiges-bauen .p71-scope__media img { object-position: center 55%; }
:is(body, .editor-styles-wrapper) .p71-scope-band--um-und-ausbau .p71-scope__media img { object-position: center 55%; }
:is(body, .editor-styles-wrapper) .p71-scope-band--sanierung .p71-scope__media img { object-position: center 44%; }
:is(body, .editor-styles-wrapper) .p71-scope-band--putzarbeiten .p71-scope__media img { object-position: center 52%; }
:is(body, .editor-styles-wrapper) .p71-scope-band--pflasterarbeiten .p71-scope__media img { object-position: center 58%; }
:is(body, .editor-styles-wrapper) .p71-scope__copy {
  min-width: 0;
  max-width: 46rem;
  padding: clamp(4rem, 7vw, 6.5rem) max(3rem, calc((100vw - var(--max)) / 2)) clamp(4rem, 7vw, 6.5rem) clamp(3rem, 5vw, 5.5rem);
  align-self: center;
}
:is(body, .editor-styles-wrapper) .p71-scope__copy > *,
:is(body, .editor-styles-wrapper) .p71-scope__point > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p71-scope__copy .eyebrow,
:is(body, .editor-styles-wrapper) .p71-scope__copy h2,
:is(body, .editor-styles-wrapper) .p71-scope__copy h3 {
  color: #fff;
}
:is(body, .editor-styles-wrapper) .p71-scope__copy h2 {
  max-width: 15ch;
  margin-bottom: 1.4rem;
  font-size: clamp(2.35rem, 3.4vw, 3.25rem);
}
:is(body, .editor-styles-wrapper) .p71-scope__lead,
:is(body, .editor-styles-wrapper) .p71-scope__point p {
  color: #dfe6f5;
}
:is(body, .editor-styles-wrapper) .p71-scope__points {
  margin-top: 2.2rem;
  border-top: 2px solid rgba(255, 255, 255, .55);
}
:is(body, .editor-styles-wrapper) .p71-scope__point {
  padding: 1.15rem 0 1.1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .2);
}
:is(body, .editor-styles-wrapper) .p71-scope__point h3 {
  margin-bottom: .35rem;
  font-size: 1.06rem;
}
:is(body, .editor-styles-wrapper) .p71-scope__point p {
  margin-bottom: 0;
  font-size: .92rem;
  line-height: 1.55;
}

:is(body, .editor-styles-wrapper) .p71-showcase {
  position: relative;
  min-height: 44rem;
  overflow: hidden;
  color: #fff;
  background: #0c1830;
}
:is(body, .editor-styles-wrapper) .p71-showcase__media,
:is(body, .editor-styles-wrapper) .p71-showcase__media figure {
  position: absolute;
  inset: 0;
  min-height: 44rem;
  margin: 0;
  overflow: hidden;
}
:is(body, .editor-styles-wrapper) .p71-showcase__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 19, 37, .96) 0%, rgba(9, 19, 37, .84) 27%, rgba(9, 19, 37, .5) 48%, rgba(9, 19, 37, .08) 76%);
  content: "";
}
:is(body, .editor-styles-wrapper) .p71-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
:is(body, .editor-styles-wrapper) .p71-showcase--bauplanung .p71-showcase__media img { object-position: left 50%; }
:is(body, .editor-styles-wrapper) .p71-showcase--rohbau .p71-showcase__media img { object-position: center 49%; }
:is(body, .editor-styles-wrapper) .p71-showcase--schluesselfertiges-bauen .p71-showcase__media img { object-position: center 50%; }
:is(body, .editor-styles-wrapper) .p71-showcase--um-und-ausbau .p71-showcase__media img { object-position: center 52%; }
:is(body, .editor-styles-wrapper) .p71-showcase--sanierung .p71-showcase__media img { object-position: center 48%; }
:is(body, .editor-styles-wrapper) .p71-showcase--putzarbeiten .p71-showcase__media img { object-position: center 54%; }
:is(body, .editor-styles-wrapper) .p71-showcase--pflasterarbeiten .p71-showcase__media img { object-position: center 50%; }
:is(body, .editor-styles-wrapper) .p71-showcase__copy {
  position: relative;
  z-index: 2;
  width: min(var(--max), calc(100% - var(--gutter)));
  min-height: 44rem;
  margin-inline: auto;
  padding: 6rem 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
:is(body, .editor-styles-wrapper) .p71-showcase__copy > *,
:is(body, .editor-styles-wrapper) .p71-showcase__fact > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p71-showcase__copy > * {
  width: min(52%, 31rem);
}
:is(body, .editor-styles-wrapper) .p71-showcase .eyebrow,
:is(body, .editor-styles-wrapper) .p71-showcase h2,
:is(body, .editor-styles-wrapper) .p71-showcase__text,
:is(body, .editor-styles-wrapper) .p71-showcase__link,
:is(body, .editor-styles-wrapper) .p71-showcase__link a {
  color: #fff;
}
:is(body, .editor-styles-wrapper) .p71-showcase h2 {
  max-width: 15ch;
  margin-bottom: 1.25rem;
  font-size: clamp(2.45rem, 3.6vw, 3.4rem);
}
:is(body, .editor-styles-wrapper) .p71-showcase__text {
  max-width: 38rem;
  margin-bottom: 0;
  color: #eef2f8;
  font-size: 1.05rem;
}
:is(body, .editor-styles-wrapper) .p71-showcase__facts {
  margin: 2rem 0 1.45rem;
  border-top: 2px solid rgba(255, 255, 255, .58);
}
:is(body, .editor-styles-wrapper) .p71-showcase__fact {
  padding: .8rem 0;
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
:is(body, .editor-styles-wrapper) .p71-showcase__fact p { margin-bottom: 0; }
:is(body, .editor-styles-wrapper) .p71-showcase__fact-label {
  color: rgba(255, 255, 255, .66);
  font-size: .72rem;
  font-weight: 740;
  text-transform: uppercase;
}
:is(body, .editor-styles-wrapper) .p71-showcase__fact-value {
  color: #fff;
  font-size: .9rem;
  font-weight: 650;
}
:is(body, .editor-styles-wrapper) .p71-showcase__link {
  width: auto;
  align-self: flex-start;
  margin: 0;
}
:is(body, .editor-styles-wrapper) .p71-showcase__link::after { color: var(--orange); }

@media (min-width: 48.001rem) {
  :is(body, .editor-styles-wrapper) .p71-showcase--bauplanung .p71-showcase__media::after {
    background: linear-gradient(to left, rgba(9, 19, 37, .96) 0%, rgba(9, 19, 37, .84) 27%, rgba(9, 19, 37, .5) 48%, rgba(9, 19, 37, .08) 76%);
  }
  :is(body, .editor-styles-wrapper) .p71-showcase--bauplanung .p71-showcase__copy {
    align-items: flex-end;
  }
  :is(body, .editor-styles-wrapper) .p71-showcase--bauplanung .p71-showcase__copy > * {
    margin-left: auto !important;
    margin-right: 0 !important;
  }
}

:is(body, .editor-styles-wrapper) .p71-related {
  padding-block: 5.25rem;
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 5rem;
  align-items: start;
}
:is(body, .editor-styles-wrapper) .p71-related__head > *,
:is(body, .editor-styles-wrapper) .p71-related__item > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p71-related__head h2 {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: 2.35rem;
}
:is(body, .editor-styles-wrapper) .p71-related__items {
  border-top: 2px solid var(--blue-deep);
}
:is(body, .editor-styles-wrapper) .p71-related__item {
  min-height: 5.25rem;
  padding: .9rem 0;
  display: grid;
  grid-template-columns: minmax(10rem, .75fr) minmax(0, 1fr);
  align-items: center;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
:is(body, .editor-styles-wrapper) .p71-related__label {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 650;
}
:is(body, .editor-styles-wrapper) .p71-related__link {
  margin-bottom: 0;
}
:is(body, .editor-styles-wrapper) .p71-related__link a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--blue-deep);
  font-size: 1.05rem;
  font-weight: 720;
  text-decoration: none;
}
:is(body, .editor-styles-wrapper) .p71-related__link a::after {
  color: var(--orange-action);
  content: "→";
  transition: transform 160ms ease;
}
:is(body, .editor-styles-wrapper) .p71-related__link a:hover::after,
:is(body, .editor-styles-wrapper) .p71-related__link a:focus-visible::after { transform: translateX(.2rem); }

:is(body, .editor-styles-wrapper) .p5-faq.p71-faq {
  padding-block: 5.5rem 6rem;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  gap: 5rem;
}
:is(body, .editor-styles-wrapper) .p71-faq__head {
  grid-column: 1;
  grid-row: 1;
}
:is(body, .editor-styles-wrapper) .p71-faq__head > * { margin-left: 0 !important; margin-right: 0 !important; }
:is(body, .editor-styles-wrapper) .p71-faq__head h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: 2.35rem;
}
:is(body, .editor-styles-wrapper) .p71-faq__items {
  grid-column: 2;
  border-top: 2px solid var(--blue-deep);
}
:is(body, .editor-styles-wrapper) .p71-faq__items details {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid var(--line);
}
:is(body, .editor-styles-wrapper) .p71-faq__items summary {
  position: relative;
  padding: 1.25rem 2.5rem 1.25rem 0;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 690;
  cursor: pointer;
  list-style: none;
}
:is(body, .editor-styles-wrapper) .p71-faq__items summary::-webkit-details-marker { display: none; }
:is(body, .editor-styles-wrapper) .p71-faq__items summary::after {
  position: absolute;
  top: .82rem;
  right: 0;
  color: var(--orange-action);
  content: "+";
  font-size: 1.55rem;
  font-weight: 400;
}
:is(body, .editor-styles-wrapper) .p71-faq__items details[open] summary::after { content: "−"; }
:is(body, .editor-styles-wrapper) .p71-faq__items details > p {
  max-width: 43rem;
  margin: -.15rem 0 1.35rem !important;
  padding-right: 2rem;
}

:is(body, .editor-styles-wrapper) .p71-contact {
  padding-block: 4.25rem;
}
:is(body, .editor-styles-wrapper) .p71-contact__inner {
  width: min(var(--max), calc(100% - var(--gutter)));
  margin-inline: auto;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4rem;
}
:is(body, .editor-styles-wrapper) .p71-contact__copy > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p71-contact__copy h2 {
  max-width: 22ch;
  margin-bottom: 1rem;
  font-size: clamp(2.15rem, 3vw, 2.75rem);
}
:is(body, .editor-styles-wrapper) .p71-contact__copy p:last-child { margin-bottom: 0; }
:is(body, .editor-styles-wrapper) .p71-contact__action {
  min-width: 14rem;
}

@media (max-width: 68.749rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero__inner { min-height: 36rem; grid-template-columns: minmax(0, 52%) minmax(0, 48%); }
  :is(body, .editor-styles-wrapper) .p71-service-hero__copy { padding: 4rem 2.75rem 4rem max(2rem, calc((100vw - var(--max)) / 2)); }
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 { font-size: 3rem; }
  :is(body, .editor-styles-wrapper) .p71-service-hero__media,
  :is(body, .editor-styles-wrapper) .p71-service-hero__media figure { min-height: 36rem; }
  :is(body, .editor-styles-wrapper) .p71-orientation { padding-block: 5rem; }
  :is(body, .editor-styles-wrapper) .p71-section-head { gap: 3.5rem; }
  :is(body, .editor-styles-wrapper) .p71-scope-band__inner { min-height: 38rem; grid-template-columns: minmax(0, 46%) minmax(0, 54%); }
  :is(body, .editor-styles-wrapper) .p71-scope__media,
  :is(body, .editor-styles-wrapper) .p71-scope__media figure { min-height: 38rem; }
  :is(body, .editor-styles-wrapper) .p71-scope__copy { padding: 4rem 2.75rem; }
  :is(body, .editor-styles-wrapper) .p71-showcase__copy { padding-right: 0; }
  :is(body, .editor-styles-wrapper) .p71-related,
  :is(body, .editor-styles-wrapper) .p5-faq.p71-faq { gap: 3rem; }
}

@media (max-width: 48rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero__inner { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  :is(body, .editor-styles-wrapper) .p71-service-hero__copy { padding: 3rem 1rem 2.75rem; }
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 { max-width: none; font-size: 2.65rem; }
  :is(body, .editor-styles-wrapper) .p71-service-hero .lead { font-size: 1rem; }
  :is(body, .editor-styles-wrapper) .p71-service-hero__media,
  :is(body, .editor-styles-wrapper) .p71-service-hero__media figure { min-height: 0; aspect-ratio: 4 / 3; }
  :is(body, .editor-styles-wrapper) .p71-service-hero__media figure { position: relative; inset: auto; }
  :is(body, .editor-styles-wrapper) .p71-orientation { padding-block: 4rem; }
  :is(body, .editor-styles-wrapper) .p71-section-head { margin-bottom: 2.5rem; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  :is(body, .editor-styles-wrapper) .p71-section-head h2 { max-width: none; font-size: 2.05rem; }
  :is(body, .editor-styles-wrapper) .p71-section-head__lead { font-size: 1rem; }
  :is(body, .editor-styles-wrapper) .p71-orientation__items { grid-template-columns: minmax(0, 1fr); gap: 0; }
  :is(body, .editor-styles-wrapper) .p71-orientation__item { padding-block: 1.4rem; border-top-width: 1px; }
  :is(body, .editor-styles-wrapper) .p71-orientation__item:first-child { border-top-width: 3px; }
  :is(body, .editor-styles-wrapper) .p71-topic-label { margin-bottom: .6rem; }
  :is(body, .editor-styles-wrapper) .p71-scope-band__inner { min-height: 0; grid-template-columns: minmax(0, 1fr); }
  :is(body, .editor-styles-wrapper) .p71-scope__media,
  :is(body, .editor-styles-wrapper) .p71-scope__media figure { min-height: 0; aspect-ratio: 4 / 3; }
  :is(body, .editor-styles-wrapper) .p71-scope__media figure { position: relative; inset: auto; }
  :is(body, .editor-styles-wrapper) .p71-scope__copy { max-width: none; padding: 3.5rem 1rem; }
  :is(body, .editor-styles-wrapper) .p71-scope__copy h2 { max-width: none; font-size: 2.15rem; }
  :is(body, .editor-styles-wrapper) .p71-showcase { min-height: 0; }
  :is(body, .editor-styles-wrapper) .p71-showcase__media,
  :is(body, .editor-styles-wrapper) .p71-showcase__media figure { position: relative; min-height: 0; aspect-ratio: 4 / 3; }
  :is(body, .editor-styles-wrapper) .p71-showcase__media::after { display: none; }
  :is(body, .editor-styles-wrapper) .p71-showcase__copy { width: 100%; min-height: 0; padding: 3.5rem 1rem 3.75rem; background: #0c1830; }
  :is(body, .editor-styles-wrapper) .p71-showcase__copy > * { width: 100%; max-width: none; }
  :is(body, .editor-styles-wrapper) .p71-showcase h2 { max-width: none; font-size: 2.25rem; }
  :is(body, .editor-styles-wrapper) .p71-related { padding-block: 4rem; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  :is(body, .editor-styles-wrapper) .p71-related__head h2 { max-width: none; font-size: 2rem; }
  :is(body, .editor-styles-wrapper) .p5-faq.p71-faq { display: block; padding-block: 4rem; }
  :is(body, .editor-styles-wrapper) .p71-faq__head { margin-bottom: 2rem; }
  :is(body, .editor-styles-wrapper) .p71-faq__head h2 { max-width: none; font-size: 2rem; }
  :is(body, .editor-styles-wrapper) .p71-contact { padding-block: 3.5rem; }
  :is(body, .editor-styles-wrapper) .p71-contact__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  :is(body, .editor-styles-wrapper) .p71-contact__action { min-width: 0; padding: 2rem 0 0; border-top: 1px solid rgba(255, 255, 255, .25); border-left: 0; }
}

@media (max-width: 35rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 { font-size: 2.25rem; }
  :is(body, .editor-styles-wrapper) .p71-service-hero__copy,
  :is(body, .editor-styles-wrapper) .p71-scope__copy,
  :is(body, .editor-styles-wrapper) .p71-showcase__copy { padding-left: 1rem; padding-right: 1rem; }
  :is(body, .editor-styles-wrapper) .p71-related__item { grid-template-columns: minmax(0, 1fr); gap: .25rem; }
  :is(body, .editor-styles-wrapper) .p71-showcase__fact { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  :is(body, .editor-styles-wrapper) .p71-contact__copy h2 { font-size: 2rem; }
}

@media (max-width: 22rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 { font-size: 2rem; }
  :is(body, .editor-styles-wrapper) .p71-scope__copy h2,
  :is(body, .editor-styles-wrapper) .p71-showcase h2 { font-size: 1.9rem; }
  :is(body, .editor-styles-wrapper) .p71-faq__items summary { padding-right: 2rem; font-size: 1rem; }
}

/* P73: breite Textachse und verbundene Orientierung auf Leistungsseiten. */
:is(body, .editor-styles-wrapper) .p71-orientation {
  padding-block: 5.75rem;
}
:is(body, .editor-styles-wrapper) .p71-section-head {
  max-width: 50rem;
  margin-right: auto;
  margin-bottom: 3rem;
  display: block;
}
:is(body, .editor-styles-wrapper) .p71-section-head__lead {
  max-width: 45rem;
  margin-top: 1.15rem;
}
:is(body, .editor-styles-wrapper) .p71-service-hero__note {
  margin-top: .7rem;
  padding-left: 0;
  border-left: 0;
}

@media (min-width: 68.75rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero__copy {
    padding-left: max(calc(var(--gutter) / 2), calc((min(90rem, 100vw) - var(--max)) / 2));
    padding-right: clamp(2.75rem, 4.5vw, 4.5rem);
    justify-content: flex-start;
  }
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 {
    max-width: 16ch;
    font-size: clamp(3.15rem, 3.6vw, 3.8rem);
  }
}

@media (min-width: 54.001rem) and (max-width: 68.749rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero__copy {
    padding-left: calc(var(--gutter) / 2);
  }
}

@media (max-width: 54rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero__inner {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  :is(body, .editor-styles-wrapper) .p71-service-hero__copy {
    padding: 3rem calc(var(--gutter) / 2) 2.75rem;
  }
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 {
    max-width: none;
    font-size: 2.65rem;
  }
  :is(body, .editor-styles-wrapper) .p71-service-hero__media,
  :is(body, .editor-styles-wrapper) .p71-service-hero__media figure {
    min-height: 0;
    aspect-ratio: 8 / 5;
  }
  :is(body, .editor-styles-wrapper) .p71-service-hero__media figure {
    position: relative;
    inset: auto;
  }
}

@media (max-width: 48rem) {
  :is(body, .editor-styles-wrapper) .p71-orientation { padding-block: 4rem; }
  :is(body, .editor-styles-wrapper) .p71-section-head { margin-bottom: 2.25rem; }
  :is(body, .editor-styles-wrapper) .p71-section-head__lead { margin-top: 1rem; }
}

@media (max-width: 35rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero__copy {
    padding: 2.75rem 1rem 2.5rem;
  }
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 { font-size: 2.25rem; }
  :is(body, .editor-styles-wrapper) .p71-service-hero__media,
  :is(body, .editor-styles-wrapper) .p71-service-hero__media figure { aspect-ratio: 4 / 3; }
}

@media (max-width: 22rem) {
  :is(body, .editor-styles-wrapper) .p71-service-hero h1 { font-size: 2rem; }
}

/* P74 Muster: bildgestuetzte Leistungskarten und ruhiger FAQ-Abschluss. */
:is(body, .editor-styles-wrapper) .p71-related.p74-related {
  padding-block: 6rem;
  display: block;
}
:is(body, .editor-styles-wrapper) .p74-related__head {
  max-width: 46rem;
  margin-bottom: 2.6rem;
}
:is(body, .editor-styles-wrapper) .p74-related__head h2 {
  max-width: 20ch;
  font-size: clamp(2.35rem, 3.3vw, 3rem);
}
:is(body, .editor-styles-wrapper) .p74-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  border-top: 0;
}
:is(body, .editor-styles-wrapper) .p74-service-card {
  position: relative;
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d5dae3;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(10, 24, 48, .07);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
:is(body, .editor-styles-wrapper) .p74-service-card__media,
:is(body, .editor-styles-wrapper) .p74-service-card__media figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--surface-soft);
}
:is(body, .editor-styles-wrapper) .p74-service-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 240ms ease;
}
:is(body, .editor-styles-wrapper) .p74-service-card__body {
  flex: 1;
  padding: 1.5rem 1.6rem 1.65rem;
  display: flex;
  flex-direction: column;
}
:is(body, .editor-styles-wrapper) .p74-service-card__body > * {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
:is(body, .editor-styles-wrapper) .p74-service-card__eyebrow {
  margin: 0 0 .7rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 760;
  text-transform: uppercase;
}
:is(body, .editor-styles-wrapper) .p74-service-card__title {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  line-height: 1.15;
}
:is(body, .editor-styles-wrapper) .p74-service-card__title a {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  color: var(--blue-deep);
  text-decoration: none;
}
body .p74-service-card__title a::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  content: "";
}
.editor-styles-wrapper .p74-service-card__title a::after { content: none; }
:is(body, .editor-styles-wrapper) .p74-service-card__title a span[aria-hidden="true"] {
  flex: 0 0 auto;
  color: var(--orange-action);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 180ms ease;
}
:is(body, .editor-styles-wrapper) .p74-service-card__text {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: .98rem;
}
body .p74-service-card:focus-within {
  outline: 3px solid var(--orange-action);
  outline-offset: 3px;
  border-color: var(--blue-deep);
}
body .p74-service-card__title a:focus-visible { outline: 0; box-shadow: none; }

@media (hover: hover) and (pointer: fine) {
  body .p74-service-card:hover {
    z-index: 1;
    border-color: #b9c2d1;
    box-shadow: 0 16px 36px rgba(10, 24, 48, .12);
    transform: translateY(-3px) scale(1.003);
  }
  body .p74-service-card:hover .p74-service-card__media img { transform: scale(1.025); }
  body .p74-service-card:hover .p74-service-card__title a span[aria-hidden="true"] { transform: translateX(.2rem); }
  body .p74-service-card:has(a:active) { transform: translateY(-1px) scale(1.001); }
}

:is(body, .editor-styles-wrapper) .p74-faq-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}
:is(body, .editor-styles-wrapper) .p5-faq.p71-faq.p74-faq {
  padding-block: 5.75rem 6rem;
  display: grid;
  grid-template-columns: minmax(0, .64fr) minmax(0, 1.16fr);
  gap: 5rem;
}
:is(body, .editor-styles-wrapper) .p74-faq__head {
  grid-column: 1;
  grid-row: 1;
}
:is(body, .editor-styles-wrapper) .p74-faq__head h2 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.35rem, 3.2vw, 2.9rem);
}
:is(body, .editor-styles-wrapper) .p74-faq__items {
  grid-column: 2;
  border-top: 0;
}
:is(body, .editor-styles-wrapper) .p74-faq__items details {
  padding-inline: 1.15rem;
  border-top: 1px solid #c8cfda;
  border-bottom: 0;
  transition: background-color 160ms ease;
}
:is(body, .editor-styles-wrapper) .p74-faq__items details:last-child {
  border-bottom: 1px solid #c8cfda;
}
:is(body, .editor-styles-wrapper) .p74-faq__items details[open] { background: #fff; }
:is(body, .editor-styles-wrapper) .p74-faq__items summary {
  min-height: 4.25rem;
  padding: 1.15rem 2.8rem 1.15rem 0;
  display: flex;
  align-items: center;
  -webkit-hyphens: none;
  hyphens: none;
}
:is(body, .editor-styles-wrapper) .p74-faq__items summary::after {
  top: 50%;
  right: .2rem;
  width: .65rem;
  height: .65rem;
  border-right: 2px solid var(--orange-action);
  border-bottom: 2px solid var(--orange-action);
  content: "";
  font-size: 0;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}
:is(body, .editor-styles-wrapper) .p74-faq__items details[open] summary {
  color: var(--blue-deep);
}
:is(body, .editor-styles-wrapper) .p74-faq__items details[open] summary::after {
  content: "";
  transform: translateY(-35%) rotate(225deg);
}
:is(body, .editor-styles-wrapper) .p74-faq__items details > p {
  max-width: 43rem;
  margin: 0 0 1.4rem !important;
  padding-right: 2.8rem;
}

@media (max-width: 48rem) {
  :is(body, .editor-styles-wrapper) .p71-related.p74-related { padding-block: 4.5rem; }
  :is(body, .editor-styles-wrapper) .p74-related__head { margin-bottom: 2rem; }
  :is(body, .editor-styles-wrapper) .p5-faq.p71-faq.p74-faq {
    padding-block: 4.5rem;
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  :is(body, .editor-styles-wrapper) .p74-faq__head,
  :is(body, .editor-styles-wrapper) .p74-faq__items { grid-column: 1; }
  :is(body, .editor-styles-wrapper) .p74-faq__head { grid-row: auto; margin-bottom: 0; }
  :is(body, .editor-styles-wrapper) .p74-faq__head h2 { max-width: none; }
}

@media (max-width: 42rem) {
  :is(body, .editor-styles-wrapper) .p74-related__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 35rem) {
  :is(body, .editor-styles-wrapper) .p74-related__head h2,
  :is(body, .editor-styles-wrapper) .p74-faq__head h2 { font-size: 2.05rem; }
  :is(body, .editor-styles-wrapper) .p74-service-card__body { padding: 1.3rem 1.25rem 1.4rem; }
  :is(body, .editor-styles-wrapper) .p74-faq__items details { padding-inline: .85rem; }
  :is(body, .editor-styles-wrapper) .p74-faq__items summary { min-height: 4rem; font-size: 1rem; }
  :is(body, .editor-styles-wrapper) .p74-faq__items details > p { padding-right: 1.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  body .p74-service-card,
  body .p74-service-card__media img,
  body .p74-service-card__title a span[aria-hidden="true"],
  body .p74-faq__items details,
  body .p74-faq__items summary::after {
    transition: none;
  }
  body .p74-service-card:hover,
  body .p74-service-card:hover .p74-service-card__media img,
  body .p74-service-card:hover .p74-service-card__title a span[aria-hidden="true"] {
    transform: none;
  }
}

@media (forced-colors: active) {
  body .p74-service-card:focus-within {
    outline: 3px solid Highlight;
    border-color: Highlight;
    box-shadow: none;
  }
}

/* P117: Ueberschriften nutzen die tatsaechlich vorhandene Textbreite.
   Der Browser bricht weiterhin natuerlich um, sobald die Spalte zu schmal ist. */
:is(body, .editor-styles-wrapper) .p71-section-head h2,
:is(body, .editor-styles-wrapper) .p71-contact__copy h2,
:is(body, .editor-styles-wrapper) .p74-related__head h2,
:is(body, .editor-styles-wrapper) .p8-section-head h2,
:is(body, .editor-styles-wrapper) .legal-copy h2,
:is(body, .editor-styles-wrapper) .p88-project-tile--lead .p88-project-tile__title {
  max-width: none;
}

@media (max-width: 68.75rem) {
  :is(body, .editor-styles-wrapper) .p89-event-details__intro h2 {
    max-width: none;
  }
}

/* P118: Gemeinsames Leistungsband als kompakte Bildbuehne mit angebundener
   Inhaltsflaeche. Der folgende Projektbereich bleibt bewusst eigenstaendig. */
:is(body, .editor-styles-wrapper) .p71-scope-band {
  padding: clamp(4.5rem, 5.6vw, 5rem) 0;
  color: #fff;
  background: var(--surface-soft);
}
:is(body, .editor-styles-wrapper) .p71-scope-band__inner {
  position: relative;
  width: min(var(--max), calc(100% - var(--gutter)));
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(28rem, .86fr);
  align-items: center;
}
:is(body, .editor-styles-wrapper) .p71-scope__media,
:is(body, .editor-styles-wrapper) .p71-scope__media figure {
  min-height: clamp(32rem, 38vw, 36rem);
}
:is(body, .editor-styles-wrapper) .p71-scope__media {
  box-shadow: 0 24px 54px rgba(10, 24, 48, .16);
}
:is(body, .editor-styles-wrapper) .p71-scope__copy {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: none;
  margin-left: clamp(-5.5rem, -6vw, -4rem);
  padding: clamp(2.8rem, 3.6vw, 3.35rem) clamp(2.65rem, 3.8vw, 3.4rem);
  align-self: center;
  border-top: .3rem solid var(--orange-action);
  background: var(--blue-deep);
  box-shadow: 0 28px 58px rgba(7, 17, 34, .24);
}
:is(body, .editor-styles-wrapper) .p71-scope__copy h2 {
  max-width: 16ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.35rem, 3vw, 3.1rem);
}
:is(body, .editor-styles-wrapper) .p71-scope__lead {
  max-width: 36rem;
}
:is(body, .editor-styles-wrapper) .p71-scope__points {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .34);
  counter-reset: p118-scope-point;
}
:is(body, .editor-styles-wrapper) .p71-scope__point {
  padding: .85rem 0 .8rem;
  display: grid;
  grid-template-columns: 2.35rem minmax(0, 1fr);
  column-gap: .75rem;
  border-bottom-color: rgba(255, 255, 255, .18);
  counter-increment: p118-scope-point;
}
:is(body, .editor-styles-wrapper) .p71-scope__point::before {
  grid-column: 1;
  grid-row: 1 / span 2;
  padding-top: .05rem;
  color: var(--orange-action);
  content: "0" counter(p118-scope-point);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.45;
}
:is(body, .editor-styles-wrapper) .p71-scope__point h3,
:is(body, .editor-styles-wrapper) .p71-scope__point p {
  grid-column: 2;
}
:is(body, .editor-styles-wrapper) .p71-scope__point h3 {
  margin-bottom: .28rem;
  font-size: 1.03rem;
}
:is(body, .editor-styles-wrapper) .p71-scope__point p {
  font-size: .9rem;
  line-height: 1.5;
}

@media (max-width: 68.75rem) {
  :is(body, .editor-styles-wrapper) .p71-scope-band {
    padding-block: 4rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope-band__inner {
    grid-template-columns: minmax(0, 48%) minmax(0, 52%);
  }
  :is(body, .editor-styles-wrapper) .p71-scope__media,
  :is(body, .editor-styles-wrapper) .p71-scope__media figure {
    min-height: 33rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy {
    margin-left: -2.5rem;
    padding: 2.6rem 2.3rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy h2 {
    font-size: clamp(2.2rem, 3.8vw, 2.75rem);
  }
}

@media (max-width: 48rem) {
  :is(body, .editor-styles-wrapper) .p71-scope-band {
    padding-block: 3.25rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope-band__inner {
    width: min(var(--max), calc(100% - 2rem));
    grid-template-columns: minmax(0, 1fr);
  }
  :is(body, .editor-styles-wrapper) .p71-scope__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__media figure {
    min-height: 0;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy {
    width: auto;
    margin: -2.25rem 1.5rem 0;
    padding: 2.35rem 2.1rem 2.15rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy h2 {
    max-width: none;
    font-size: clamp(2.2rem, 6vw, 2.75rem);
  }
  :is(body, .editor-styles-wrapper) .p71-scope__points {
    margin-top: 1.35rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point {
    padding: .85rem .8rem .25rem 0;
    display: block;
    border-bottom: 0;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point + .p71-scope__point {
    padding-left: .9rem;
    border-left: 1px solid rgba(255, 255, 255, .18);
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point::before {
    display: block;
    margin-bottom: .5rem;
  }
}

@media (max-width: 42rem) {
  :is(body, .editor-styles-wrapper) .p71-scope-band {
    padding-block: 2.75rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__media {
    aspect-ratio: 16 / 10;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy {
    margin: -1.4rem .75rem 0;
    padding: 1.9rem 1.15rem 1.55rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy h2 {
    margin-bottom: .85rem;
    font-size: clamp(1.85rem, 8.5vw, 2.2rem);
  }
  :is(body, .editor-styles-wrapper) .p71-scope__lead {
    font-size: .94rem;
    line-height: 1.5;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__points {
    margin-top: 1.15rem;
    display: block;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point {
    padding: .68rem 0 .64rem;
    display: grid;
    grid-template-columns: 2.15rem minmax(0, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, .18);
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point + .p71-scope__point {
    padding-left: 0;
    border-left: 0;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point::before {
    display: block;
    margin-bottom: 0;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point h3 {
    margin-bottom: .18rem;
    font-size: .97rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__point p {
    font-size: .84rem;
    line-height: 1.42;
  }
}

@media (max-width: 22rem) {
  :is(body, .editor-styles-wrapper) .p71-scope-band__inner {
    width: min(var(--max), calc(100% - 1.25rem));
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy {
    margin-inline: .45rem;
    padding-inline: 1.1rem;
  }
  :is(body, .editor-styles-wrapper) .p71-scope__copy h2 {
    font-size: 1.78rem;
  }
}
