/* Hauptseiten-Layout für die Leistungsdetailseiten. */
.service-home-page {
  color: var(--site-text);
  background: #f4f5f3;
  --service-hero-image: url("../images/services/sections/01-schluesselfertig.webp");
  --service-hero-position: center 54%;
  --service-hero-position-mobile: 59% center;
  --service-intro-image: url("../images/pages/schluesselfertig-intro-hintergrund-logo-v4.webp");
  --service-intro-position: center;
  --service-intro-position-mobile: 68% top;
  --service-showcase-position: 67% center
}

.service-home-page--schluesselfertig {
  --service-intro-fade-end: .18;
  --service-intro-mobile-fade-middle: .45;
  --service-intro-mobile-fade-end: .12
}

.page-schluesselfertig,
.service-home-main {
  overflow: clip
}

.service-home-hero .hero-media {
  background-image: var(--service-hero-image);
  background-position: var(--service-hero-position)
}

.service-home-page--rohbau {
  --service-hero-image: url("../images/services/sections/leistung-rohbau-kran-1536.webp");
  --service-intro-image: url("../images/pages/rohbau-intro-hintergrund-massivbau.webp");
  --service-showcase-position: 55% center
}

.service-home-page--innenausbau {
  --service-hero-image: url("../images/services/generated/03-innenausbau-logo.webp");
  --service-intro-image: url("../images/pages/innenausbau-intro-hintergrund-v1.webp");
  --service-showcase-position: 50% center
}

.service-home-page--fassade-waermedaemmung {
  --service-hero-image: url("../images/services/sections/leistung-fassade-waermedaemmung-1536.webp");
  --service-intro-image: url("../images/pages/fassade-waermedaemmung-intro-hintergrund-v1.webp");
  --service-showcase-position: 58% center
}

.service-home-page--dachsanierung {
  --service-hero-image: url("../images/services/sections/dachsanierung.png");
  --service-hero-position: center 50%;
  --service-hero-position-mobile: 62% center;
  --service-intro-image: url("../images/pages/spenglerarbeiten-intro-hintergrund-v1.webp");
  --service-showcase-position: 50% center
}

.service-home-page--geruestbau {
  --service-hero-image: url("../images/services/sections/leistung-geruestbau-1536.webp");
  --service-hero-position: center 48%;
  --service-intro-image: url("../images/pages/geruestbau-intro-hintergrund-v5.webp");
  --service-showcase-position: 52% center
}

.service-home-page--tiefbau-aussenanlagen {
  --service-hero-image: url("../images/services/sections/leistung-tiefbau-aussenanlagen-bauschild.webp");
  --service-hero-position: center 58%;
  --service-intro-image: url("../images/pages/tiefbau-aussenanlagen-intro-hintergrund-v2.webp");
  --service-showcase-position: 58% center
}

.service-home-page--spenglerarbeiten {
  --service-hero-image: url("../images/services/generated/08-spengler-cropped.webp");
  --service-intro-image: url("../images/pages/spenglerarbeiten-intro-hintergrund-v1.webp");
  --service-showcase-position: 60% center
}

.service-home-page--garten-landschaftsbau {
  --service-hero-image: url("../images/services/generated/09-galabau-logo.webp");
  --service-intro-image: url("../images/pages/garten-landschaftsbau-intro-hintergrund-v1.webp");
  --service-showcase-position: 52% center
}

.service-home-page--abbrucharbeiten {
  --service-hero-image: url("../images/services/sections/leistung-abbrucharbeiten-1536.webp");
  --service-hero-position: center 50%;
  --service-hero-position-mobile: 64% center;
  --service-intro-image: url("../images/pages/abbrucharbeiten-intro-hintergrund-v1.webp");
  --service-showcase-position: 45% center
}

.service-home-page--bodengestaltung {
  --service-hero-image: url("../images/services/sections/leistung-bodengestaltung-hero-logo-v5.webp");
  --service-hero-position: center 58%;
  --service-hero-position-mobile: 69% center;
  --service-intro-image: url("../images/pages/bodengestaltung-intro-hintergrund-v1.webp");
  --service-showcase-position: 52% center
}

.service-home-page--abbrucharbeiten #top #home-hero-title {
  font-size: clamp(3rem, 5.7vw, 5.5rem);
  white-space: nowrap;
  text-wrap: nowrap
}

.service-home-hero .hero-shade {
  background:
    linear-gradient(90deg, rgba(9, 19, 27, .8) 0%, rgba(9, 19, 27, .4) 53%, rgba(9, 19, 27, .08)),
    linear-gradient(0deg, rgba(9, 19, 27, .62), transparent 48%)
}

.service-home-hero #home-hero-title span,
.service-home-hero #home-hero-title em {
  display: block
}

.service-home-breadcrumb {
  position: absolute;
  z-index: 3;
  top: 146px;
  left: clamp(24px, 8vw, 135px);
  display: flex;
  max-width: calc(100% - 48px);
  gap: 7px;
  color: rgba(255, 255, 255, .76);
  font-size: .76rem
}

.service-home-breadcrumb a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px
}

.service-home-intro .section-label,
.service-home-faq .section-label {
  color: var(--home-type-accent-text);
  font-size: var(--home-type-label);
  font-weight: 700;
  letter-spacing: .15em
}

.service-home-intro #service-intro-title,
.service-home-faq #service-faq-title {
  color: var(--home-type-heading);
  font-family: Arial, "Helvetica Neue", sans-serif;
  font-size: var(--home-type-h2);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance
}

.service-home-intro #service-intro-title {
  max-width: 9.5ch
}

.service-home-intro.section {
  background-color: #f4f5f3;
  background-image:
    linear-gradient(180deg, rgba(244, 245, 243, 0) 48%, rgba(244, 245, 243, var(--service-intro-fade-end, .94)) 100%),
    var(--service-intro-image);
  background-position: center, var(--service-intro-position);
  background-size: cover;
  background-repeat: no-repeat
}

.service-home-intro .home-intro__grid {
  grid-template-columns: 1fr;
  grid-template-areas:
    "content"
    "values";
  gap: clamp(46px, 5vw, 64px)
}

.service-home-intro .home-intro__grid--single {
  grid-template-areas: "content";
  gap: 0
}

.service-home-intro .home-intro__content {
  display: block;
  width: min(100%, 540px);
  max-width: 540px
}

.service-home-intro .home-intro__copy {
  max-width: 520px;
  margin-top: 36px
}

.service-home-intro #service-intro-title em,
.service-home-faq #service-faq-title em {
  display: block;
  color: var(--home-type-accent);
  font-style: normal
}

.service-home-intro .home-intro__lead {
  font-size: var(--home-type-lead);
  line-height: 1.5
}

.service-home-intro .home-intro__copy > p:not(.home-intro__lead) {
  color: var(--home-type-text);
  font-size: var(--home-type-body);
  line-height: 1.6
}

.service-home-intro .home-intro__values {
  background: transparent;
  border: 0
}

.service-home-intro .home-intro__values li + li {
  border-left: 0
}

.service-home-intro .home-intro__values--four {
  grid-template-columns: repeat(4, minmax(0, 1fr))
}

.service-scope-points {
  display: grid;
  gap: 0;
  max-width: 337px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(7, 63, 115, .2);
  list-style: none
}

.service-scope-points li {
  position: relative;
  padding: 10px 0 10px 17px;
  border-bottom: 1px solid rgba(7, 63, 115, .16);
  color: var(--home-type-text);
  font-size: .94rem;
  line-height: 1.42
}

.service-scope-points li::before {
  content: "";
  position: absolute;
  top: 1.06rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--home-type-accent)
}

.service-phase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  min-width: 0;
  border-top: 1px solid rgba(7, 63, 115, .2);
  border-bottom: 1px solid rgba(7, 63, 115, .16)
}

.service-phase-card {
  min-width: 0;
  min-height: 300px;
  padding: 27px 18px 30px;
  color: var(--home-type-text);
  background: transparent
}

.service-phase-card + .service-phase-card {
  border-left: 1px solid rgba(7, 63, 115, .16)
}

.service-phase-card__number {
  display: block;
  margin-bottom: clamp(58px, 6vw, 90px);
  color: #526d7d;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em
}

.service-phase-card h3 {
  margin: 0 0 14px;
  color: var(--home-type-heading);
  font-size: clamp(1.15rem, 1.05rem + .3vw, 1.35rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.025em;
  white-space: nowrap
}

.service-phase-card--compact-title h3 {
  font-size: clamp(.95rem, .9rem + .18vw, 1.08rem);
  letter-spacing: -.035em
}

.service-phase-card p {
  margin: 0;
  color: var(--home-type-text);
  font-size: .94rem;
  line-height: 1.55
}

.service-phase-grid--four {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.service-phase-grid--four .service-phase-card {
  min-height: 245px
}

.service-phase-grid--four .service-phase-card:nth-child(3) {
  border-top: 1px solid rgba(7, 63, 115, .16);
  border-left: 0
}

.service-phase-grid--four .service-phase-card:nth-child(4) {
  border-top: 1px solid rgba(7, 63, 115, .16)
}

.service-home-planning .projects-layout {
  height: auto;
  min-height: 720px
}

.service-home-planning .projects-copy {
  background-color: #e7eef4
}

.service-home-planning .section-head {
  margin-top: 20px
}

.service-home-planning .section-head h2 {
  max-width: 10ch
}

.service-home-page #service-planning-title {
  color: var(--home-type-heading)
}

.service-home-planning .home-heading-accent {
  display: block;
  color: var(--home-type-accent)
}

.service-home-planning .section-head p {
  max-width: 560px
}

.service-planning-details {
  width: 100%;
  max-width: 560px;
  margin-top: 25px;
  color: var(--home-type-text)
}

.service-planning-details h3 {
  margin: 0 0 13px;
  color: var(--home-type-heading);
  font-size: 1.15rem
}

.service-planning-details p + h3 {
  margin-top: 26px
}

.service-planning-details ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(7, 63, 115, .2);
  list-style: none
}

.service-planning-details li {
  position: relative;
  padding: 10px 0 10px 16px;
  border-bottom: 1px solid rgba(7, 63, 115, .15);
  font-size: .86rem;
  line-height: 1.4
}

.service-planning-details li::before {
  content: "";
  position: absolute;
  top: 1.05rem;
  left: 0;
  width: 5px;
  height: 5px;
  background: var(--home-type-accent)
}

.service-planning-details p {
  margin: 16px 0 0;
  font-size: .9rem;
  line-height: 1.55
}

.service-planning-details a,
.service-home-region a {
  color: var(--home-type-heading);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px
}

.service-project-showcase {
  margin: 0
}

.service-project-showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--service-showcase-position);
  filter: saturate(.86) contrast(.98)
}

.service-project-showcase figcaption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 44%;
  flex-direction: column;
  justify-content: flex-end;
  gap: 9px;
  padding: clamp(70px, 8vw, 130px) clamp(28px, 4vw, 60px) clamp(28px, 4vw, 48px);
  color: #fff;
  background: linear-gradient(0deg, rgba(0, 0, 0, .76), rgba(0, 0, 0, 0))
}

.service-project-showcase figcaption span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase
}

.service-project-showcase figcaption strong {
  max-width: 21ch;
  font-size: clamp(1.55rem, 2.3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance
}

.service-home-region {
  min-height: 170px
}

.service-home-region .section-handoff__copy {
  max-width: 820px
}

.service-home-region .section-handoff__copy p {
  display: inline;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  line-height: 1.55
}

.service-home-region .section-handoff__copy h2 {
  display: inline;
  margin: 0 .25em 0 0;
  color: var(--home-type-heading);
  font: inherit;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  font-weight: 700;
  line-height: 1.55
}

.service-home-region__links {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 12px 24px
}

.service-home-region__links a {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid currentColor;
  color: var(--home-type-heading);
  font-weight: 700;
  transition: color .2s ease, gap .2s ease
}

.service-home-region__links a:hover,
.service-home-region__links a:focus-visible {
  gap: 21px;
  color: #315f78
}

.service-home-faq {
  max-width: none;
  padding: clamp(78px, 7vw, 110px) max(clamp(24px, 6vw, 100px), calc((100vw - 1120px) / 2));
  background: #e7eef4
}

.service-home-faq__inner {
  display: grid;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr);
  gap: clamp(48px, 8vw, 110px);
  width: 100%;
  max-width: 1120px;
  margin-inline: auto
}

.service-home-faq__heading .section-label {
  margin: 0 0 24px
}

.service-home-faq__heading h2 {
  max-width: 7ch;
  margin: 0
}

.service-home-faq__list {
  border-top: 1px solid rgba(7, 63, 115, .2)
}

.service-home-faq__list details {
  border-bottom: 1px solid rgba(7, 63, 115, .2)
}

.service-home-faq__list summary {
  position: relative;
  padding: 23px 48px 23px 0;
  color: var(--home-type-heading);
  cursor: pointer;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.4;
  list-style: none
}

.service-home-faq__list summary::-webkit-details-marker {
  display: none
}

.service-home-faq__list summary::after {
  content: "+";
  position: absolute;
  top: 17px;
  right: 8px;
  color: var(--home-type-accent);
  font-size: 1.7rem;
  font-weight: 400
}

.service-home-faq__list details[open] summary::after {
  content: "–"
}

.service-home-faq__list p {
  max-width: 700px;
  margin: 0;
  padding: 0 48px 24px 0;
  color: var(--home-type-text);
  font-size: var(--home-type-body);
  line-height: 1.65
}

.service-contact-form-link {
  min-width: 235px;
  margin-top: 30px
}

.service-home-contact .contact-mail {
  margin-top: 24px
}

@media(max-width:1320px) and (min-width:801px) {
  .service-home-breadcrumb {
    top: 136px
  }
}

@media(max-width:1099px) {
  .service-phase-grid {
    width: 100%;
    max-width: 900px
  }


  .service-scope-points {
    max-width: 430px
  }
}

@media(max-width:1023px) {
  .service-home-planning .projects-layout {
    min-height: 0
  }

  .service-project-showcase {
    height: clamp(340px, 58vw, 520px)
  }

  .service-project-showcase img {
    object-position: var(--service-showcase-position)
  }
}

@media(max-width:900px) {
  .service-home-intro.section {
    background-image:
      linear-gradient(180deg, rgba(244, 245, 243, 0) 48%, rgba(244, 245, 243, var(--service-intro-fade-end, .94)) 100%),
      linear-gradient(90deg, rgba(244, 245, 243, .94), rgba(244, 245, 243, var(--service-intro-mobile-fade-middle, .82)) 62%, rgba(244, 245, 243, var(--service-intro-mobile-fade-end, .68))),
      var(--service-intro-image);
    background-position: left top, left top, var(--service-intro-position-mobile);
    background-size: 100% 650px, 100% 650px, auto 650px
  }

  .service-home-intro .home-intro__copy {
    margin-top: 28px
  }
}

@media(max-width:800px) {
  .service-home-breadcrumb {
    top: 106px;
    left: 24px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis
  }

  .service-home-hero #home-hero-title {
    font-size: clamp(3rem, 13vw, 4.8rem)
  }

  .service-home-page--abbrucharbeiten #top #home-hero-title {
    font-size: clamp(2.3rem, 9.8vw, 3.8rem)
  }

  .service-home-planning .projects-copy {
    padding-top: 76px
  }

  .service-planning-details ul {
    grid-template-columns: 1fr
  }

  .service-home-faq__inner {
    grid-template-columns: 1fr;
    gap: 44px
  }

  .service-home-faq__heading h2 {
    max-width: 10ch
  }
}

@media(max-width:699px) {
  .service-home-hero .hero-media {
    background-position: var(--service-hero-position-mobile)
  }

  .service-home-hero .hero-actions {
    align-items: flex-start
  }

  .service-home-breadcrumb {
    max-width: calc(100% - 48px);
    font-size: .68rem
  }

  .service-home-intro .home-intro__values li + li {
    border-top: 0
  }

  .service-home-intro .home-intro__values--four {
    grid-template-columns: 1fr
  }

  .service-phase-grid {
    grid-template-columns: 1fr
  }

  .service-phase-card {
    min-height: 0;
    padding: 25px 0 28px
  }

  .service-phase-grid--four .service-phase-card {
    min-height: 0
  }

  .service-phase-grid--four .service-phase-card:nth-child(3),
  .service-phase-grid--four .service-phase-card:nth-child(4) {
    border-top: 1px solid rgba(7, 63, 115, .16);
    border-left: 0
  }

  .service-phase-card + .service-phase-card {
    border-top: 1px solid rgba(7, 63, 115, .16);
    border-left: 0
  }

  .service-phase-card__number {
    margin-bottom: 38px
  }

  .service-home-region {
    min-height: 0
  }

  .service-home-region__links {
    width: 100%
  }

  .service-home-faq {
    padding: 68px 20px
  }
}

@media(max-width:479px) {
  .service-home-hero .hero-content {
    top: -34px
  }

  .service-home-hero #home-hero-title {
    font-size: clamp(2.85rem, 12.5vw, 3.55rem)
  }

  .service-home-page--abbrucharbeiten #top #home-hero-title {
    font-size: clamp(2rem, 11.5vw, 2.9rem)
  }

  .service-home-page--bodengestaltung #top #home-hero-title {
    font-size: clamp(2rem, 11.1vw, 2.75rem)
  }

  .service-home-hero .hero-facts {
    gap: 12px
  }

  .service-home-hero .hero-facts div {
    padding-left: 9px
  }

  .service-home-hero .hero-facts span {
    max-width: 78px;
    font-size: .52rem
  }

  .service-home-breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis
  }

  .service-project-showcase {
    height: 300px
  }

  .service-project-showcase figcaption {
    padding: 72px 20px 22px
  }

}

@media (prefers-reduced-motion: reduce) {
  .service-phase-card {
    transition: none
  }
}
