/* Shared visual language for every page beneath the homepage. */
body:not(.home-page) {
  --width: 1240px;
}

body:not(.home-page) .site-header {
  background: #fff;
}

body:not(.home-page) .breadcrumbs a,
body:not(.home-page) .footer-links a {
  min-height: 44px;
}

body:not(.home-page) .energy-assumptions summary {
  min-height: 44px;
  font-size: 14px;
  padding-block: 12px;
}

body:not(.home-page) .brand-name,
body:not(.home-page) .brand-sub {
  letter-spacing: 0;
}

body:not(.home-page) .brand-name {
  font-size: 30px;
}

body:not(.home-page) .brand-sub {
  font-size: 8px;
}

body:not(.home-page) .site-footer {
  background: #f7f8f5;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

body:not(.home-page) .site-footer .brand {
  color: var(--green);
}

body:not(.home-page) .site-footer p,
body:not(.home-page) .site-footer .footer-bottom,
body:not(.home-page) .site-footer .certification-note figcaption {
  color: var(--muted);
}

body:not(.home-page) .site-footer .certification-note strong {
  color: var(--ink);
}

body:not(.home-page) .site-footer .footer-bottom {
  border-color: var(--line);
}

body:not(.home-page) .site-footer .footer-links a:hover,
body:not(.home-page) .site-footer .footer-bottom a:hover {
  color: var(--green);
}

/* Service pages use the same quiet, property-led entry as the homepage. */
.detail-page .detail-hero {
  min-height: 0;
  height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: stretch;
  background: var(--wash);
  color: var(--ink);
}

.detail-page .detail-hero picture {
  grid-area: 1 / 2;
  display: block;
  min-height: 470px;
  order: 2;
}

.detail-page .detail-hero .hero-photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.detail-page .detail-hero::after {
  display: none;
}

.detail-page .detail-hero .hero-content {
  grid-area: 1 / 1;
  width: auto;
  max-width: none;
  margin: 0;
  align-self: center;
  padding: 70px 48px 70px max(32px, calc((100vw - var(--width)) / 2));
}

.detail-page .detail-hero .breadcrumbs {
  color: var(--muted);
  margin-bottom: 24px;
}

.detail-page .detail-hero .breadcrumbs a {
  color: var(--green);
}

.detail-page .detail-hero .eyebrow {
  color: var(--green);
}

.detail-page .detail-hero h1 {
  color: var(--green-dark);
  max-width: 680px;
}

.detail-page .detail-hero p {
  color: var(--muted);
  max-width: 600px;
  margin-top: 22px;
}

.detail-page .detail-hero .hero-actions {
  margin-top: 28px;
}

.detail-page .detail-hero .hero-caption {
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
}

.detail-page .detail-nav {
  background: #fff;
}

.detail-page .detail-section {
  padding-block: 54px;
}

.detail-page .detail-section h2 {
  margin-bottom: 24px;
}

.detail-page .detail-cta {
  background: #eef3ed;
  color: var(--ink);
  border-block: 1px solid var(--line);
}

.detail-page .detail-cta p {
  color: var(--muted);
}

.detail-page .detail-cta .button-light {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.detail-page .detail-cta .button-light:hover {
  background: var(--green-dark);
}

/* Catalog and editorial pages share the same generous, left-aligned rhythm. */
body:not(.detail-page) .page-intro,
body:not(.detail-page) .tenant-hero {
  padding-block: 44px 38px;
  background: #fff;
}

body:not(.detail-page) .page-intro h1,
body:not(.detail-page) .tenant-hero h1 {
  color: var(--green-dark);
}

.services-page .catalog-section {
  padding-block: 46px 54px;
}

.services-page .catalog-heading h2,
.services-page .catalog-development h2 {
  color: var(--green-dark);
}

.services-explorer {
  padding-block: 58px 66px;
  border-bottom: 1px solid var(--line);
}

.services-section-lead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
  margin-bottom: 34px;
}

.services-section-lead h2 {
  margin-top: 8px;
  font-size: 36px;
}

.services-section-lead > p {
  max-width: 470px;
  color: var(--muted);
  font-size: 15px;
}

.service-explorer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 44px;
  align-items: center;
}

.service-house-figure {
  min-width: 0;
  margin: 0;
}

.service-house-stage {
  display: grid;
  place-items: center;
  min-height: 390px;
  overflow: hidden;
  background: #f3f6f1;
  border: 1px solid var(--line);
}

.service-house-stage svg {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  max-width: 690px;
  height: 390px;
}

.service-house-stage [data-scope] {
  visibility: hidden;
}

.service-house-stage [data-scope="weg"] {
  visibility: visible;
}

.service-house-caption {
  min-height: 24px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.service-house-caption [data-scope] {
  display: none;
}

.service-house-caption [data-scope="weg"] {
  display: inline;
}

.service-house-caption [data-scope]::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #75916a;
}

.service-house-caption [data-scope="wohnung"]::before {
  background: #b58333;
}

.service-property-controls {
  min-width: 0;
}

.service-property-options {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.service-property-options legend {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 13px;
}

.service-property-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 15px;
  min-height: 70px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  cursor: pointer;
  transition: background 0.2s ease;
}

.service-property-choice:last-of-type {
  border-bottom: 1px solid var(--line);
}

.service-property-choice:hover {
  background: #f4f6f2;
}

.service-property-choice:has(input:checked) {
  background: #edf2eb;
  box-shadow: inset 3px 0 var(--green);
}

.service-property-choice input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1.5px solid #8b9b90;
  border-radius: 50%;
}

.service-property-choice input::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
}

.service-property-choice input:checked {
  border-color: var(--green);
}

.service-property-choice input:checked::after {
  background: var(--green);
}

.service-property-choice strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
}

.service-property-choice small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.service-property-info {
  min-height: 160px;
  margin-top: 22px;
}

.service-property-info [data-scope] {
  display: none;
}

.service-property-info [data-scope="weg"] {
  display: block;
}

.service-property-info h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
  font: 28px/1.2 var(--serif);
}

.service-property-info p {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
}

.service-property-info .text-link {
  margin-top: 14px;
}

.service-process-section {
  background: #f7f8f5;
}

.services-page {
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.process-journey {
  position: relative;
  padding-top: 10px;
  --journey-start: scaleX(0);
}

.process-journey-line {
  position: absolute;
  top: 34px;
  right: calc(20% - 42px);
  left: 42px;
  height: 1px;
  background: #cbd8ce;
}

.process-journey-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #839b85;
  transform-origin: top left;
}

.process-journey.is-revealed .process-journey-line::after {
  animation: journey-trace 1.4s var(--motion-ease) both;
}

.service-process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-process-step {
  min-width: 0;
  position: relative;
  padding: 0 18px;
  --step-delay: 0ms;
}

.service-process-step:nth-child(2) {
  --step-delay: 110ms;
}

.service-process-step:nth-child(3) {
  --step-delay: 220ms;
}

.service-process-step:nth-child(4) {
  --step-delay: 330ms;
}

.service-process-step:nth-child(5) {
  --step-delay: 440ms;
}

.service-process-step.is-revealed .service-process-copy {
  animation: service-rise 700ms var(--motion-ease) var(--step-delay) both;
}

.service-process-step.is-revealed .service-process-marker::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid #809a83;
  border-radius: 50%;
  pointer-events: none;
  animation: marker-arrive 950ms var(--motion-ease) var(--step-delay) both;
}

.service-process-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid #b7cbbb;
  border-radius: 50%;
  background: #f7f8f5;
  transition:
    background 0.25s ease,
    border-color 0.25s ease;
}

.service-process-step .no {
  color: var(--green);
  font-size: 13px;
  transition: color 0.25s ease;
}

.service-process-step:hover .service-process-marker,
.service-process-step:focus-within .service-process-marker {
  border-color: var(--green);
  background: var(--green);
}

.service-process-step:hover .no,
.service-process-step:focus-within .no {
  color: #fff;
}

.service-process-copy {
  padding-left: 18px;
  border-left: 1px solid var(--line);
}

.service-process-step h3 {
  margin-bottom: 10px;
  color: var(--green-dark);
  font: 24px/1.2 var(--serif);
}

.service-process-step p {
  color: var(--muted);
  font-size: 14px;
}

.special-heading {
  align-items: end;
}

.special-carousel {
  border-top: 1px solid var(--line);
  padding-top: 14px;
  --slide-offset: 24px;
}

.special-carousel[data-direction="previous"] {
  --slide-offset: -24px;
}

.special-carousel:focus-visible {
  outline: 3px solid #a97730;
  outline-offset: 6px;
}

.special-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
}

.special-carousel-position {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
  min-width: 62px;
}

.special-carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--green);
  border-radius: 50%;
  background: transparent;
  color: var(--green);
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.carousel-button:hover {
  background: var(--green);
  color: #fff;
}

.carousel-button .icon {
  transition: translate 300ms var(--motion-ease);
}

.carousel-button:hover .icon {
  translate: 2px 0;
}

.carousel-button-prev:hover .icon {
  translate: -2px 0;
}

.carousel-button-prev .icon {
  transform: rotate(180deg);
}

.special-carousel-track {
  display: grid;
  gap: 36px;
  overflow: clip;
  touch-action: pan-y pinch-zoom;
}

.special-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  align-items: center;
  gap: 48px;
  min-width: 0;
  padding: 22px 0 14px;
  border-bottom: 1px solid var(--line);
}

.services-page .special-slide .catalog-art {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  place-items: center;
  width: 100%;
  min-height: 380px;
  height: 380px;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: hidden;
}

.services-page .special-slide .catalog-art svg {
  display: block;
  width: 100%;
  max-width: 650px;
  height: 100%;
}

.special-slide .catalog-item-copy {
  max-width: 530px;
  height: auto;
}

.special-slide h3 {
  margin-bottom: 14px;
  color: var(--green-dark);
  font: 34px/1.14 var(--serif);
}

.special-slide p {
  max-width: 500px;
  color: var(--muted);
  font-size: 15px;
}

.special-slide .text-link {
  margin-top: 24px;
}

.special-carousel.is-ready .special-carousel-track {
  position: relative;
  display: grid;
  min-height: 416px;
  gap: 0;
}

.special-carousel.is-ready .special-slide {
  grid-area: 1 / 1;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s 140ms;
}

.special-carousel.is-ready .special-slide > * {
  opacity: 0;
  transform: translateX(calc(var(--slide-offset) * -1));
  transition:
    opacity 140ms ease,
    transform 140ms ease;
}

.special-carousel.is-ready .special-slide.is-active {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.special-carousel.is-ready .special-slide.is-active > * {
  opacity: 1;
  transform: none;
  transition: none;
}

.special-carousel.is-ready .special-slide.is-active .catalog-item-copy {
  animation: slide-copy-in 650ms var(--motion-ease) 120ms both;
}

.special-carousel.is-ready .special-slide.is-active .catalog-art {
  animation: slide-art-in 700ms var(--motion-ease) 80ms both;
}

.special-carousel:not(.is-ready) .special-carousel-toolbar,
.special-carousel:not(.is-ready) .special-carousel-dots {
  display: none;
}

.special-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 4px;
  padding-top: 8px;
}

.carousel-dot {
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
}

.carousel-dot::before {
  content: "";
  position: absolute;
  inset: 20px 2px;
  background: #bdc9bf;
  transform: scaleX(0.55);
  transition:
    transform 400ms var(--motion-ease),
    background 250ms ease;
}

.carousel-dot:hover::before,
.carousel-dot.is-active::before {
  transform: scaleX(1);
  background: var(--green);
}

.special-carousel.is-revealed .is-active .scene-detail,
.special-carousel.is-revealed .is-active .scene-property {
  animation: service-rise 900ms var(--motion-ease) 160ms both;
}

.special-carousel.is-revealed .is-active .scene-property-2 {
  animation-delay: 240ms;
}

.special-carousel.is-revealed .is-active .scene-property-3 {
  animation-delay: 340ms;
}

.special-carousel.is-revealed .is-active .scene-stroke {
  stroke-dasharray: 1;
  animation: scene-draw 1200ms var(--motion-ease) 260ms both;
}

.scene-bar {
  transform-box: fill-box;
  transform-origin: center bottom;
}

.special-carousel.is-revealed .is-active .scene-bar {
  animation: scene-bar-rise 850ms var(--motion-ease) 240ms both;
}

.special-carousel.is-revealed .is-active .scene-bar-2 {
  animation-delay: 320ms;
}

.special-carousel.is-revealed .is-active .scene-bar-3 {
  animation-delay: 400ms;
}

.special-carousel.is-revealed .is-active .scene-windows {
  animation: scene-lights 1300ms ease 200ms both;
}

.special-carousel.is-revealed .is-active .scene-paper {
  animation: paper-arrive 1000ms var(--motion-ease) 220ms both;
}

@keyframes journey-trace {
  from {
    transform: var(--journey-start);
  }
  to {
    transform: none;
  }
}

@keyframes marker-arrive {
  from {
    opacity: 0;
    transform: scale(0.82);
  }
  35% {
    opacity: 0.65;
  }
  to {
    opacity: 0;
    transform: scale(1.12);
  }
}

@keyframes service-rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-copy-in {
  from {
    opacity: 0;
    transform: translateX(var(--slide-offset));
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes slide-art-in {
  from {
    opacity: 0;
    transform: translateX(var(--slide-offset)) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes scene-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes scene-bar-rise {
  from {
    transform: scaleY(0.05);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes scene-lights {
  from {
    opacity: 0;
  }
  to {
    opacity: 0.85;
  }
}

@keyframes paper-arrive {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.development-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.development-heading h2 {
  margin-top: 8px;
}

.development-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
}

.development-card {
  min-width: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.development-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e9eee8;
}

.development-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.development-photo.is-revealed {
  animation: photo-uncover 900ms var(--motion-ease) both;
}

@keyframes photo-uncover {
  from {
    opacity: 0.5;
    clip-path: inset(0 0 8% 0);
  }
  to {
    opacity: 1;
    clip-path: inset(0);
  }
}

.development-photo-construction img {
  object-position: center 38%;
}

.development-card:hover .development-photo img,
.development-card:focus-within .development-photo img {
  transform: scale(1.025);
}

.development-card .catalog-art {
  min-height: 270px;
  margin-bottom: 22px;
}

.development-card .catalog-art svg {
  height: 270px;
}

.development-card h3 {
  margin-block: 8px 12px;
  color: var(--green-dark);
  font: 30px/1.15 var(--serif);
}

.development-card p {
  max-width: 560px;
  color: var(--muted);
  font-size: 15px;
}

.development-card .text-link {
  margin-top: 16px;
}

@supports selector(:has(*)) {
  .services-explorer:has([value="miethaus"]:checked)
    .service-house-stage
    [data-scope="weg"],
  .services-explorer:has([value="wohnung"]:checked)
    .service-house-stage
    [data-scope="weg"],
  .services-explorer:has([value="miethaus"]:checked)
    .service-house-caption
    [data-scope="weg"],
  .services-explorer:has([value="wohnung"]:checked)
    .service-house-caption
    [data-scope="weg"],
  .services-explorer:has([value="miethaus"]:checked)
    .service-property-info
    [data-scope="weg"],
  .services-explorer:has([value="wohnung"]:checked)
    .service-property-info
    [data-scope="weg"] {
    visibility: hidden;
    display: none;
  }

  .services-explorer:has([value="miethaus"]:checked)
    .service-house-stage
    [data-scope="miethaus"],
  .services-explorer:has([value="wohnung"]:checked)
    .service-house-stage
    [data-scope="wohnung"] {
    visibility: visible;
  }

  .services-explorer:has([value="miethaus"]:checked)
    .service-house-caption
    [data-scope="miethaus"],
  .services-explorer:has([value="wohnung"]:checked)
    .service-house-caption
    [data-scope="wohnung"],
  .services-explorer:has([value="miethaus"]:checked)
    .service-property-info
    [data-scope="miethaus"],
  .services-explorer:has([value="wohnung"]:checked)
    .service-property-info
    [data-scope="wohnung"] {
    visibility: visible;
    display: block;
  }

  .services-explorer:has([value="weg"]:checked)
    .service-house-stage
    [data-scope="weg"],
  .services-explorer:has([value="weg"]:checked)
    .service-house-caption
    [data-scope="weg"],
  .services-explorer:has([value="weg"]:checked)
    .service-property-info
    [data-scope="weg"] {
    visibility: visible;
    display: block;
  }

  .services-explorer:has([value="weg"]:checked)
    .service-house-stage
    [data-scope="miethaus"],
  .services-explorer:has([value="weg"]:checked)
    .service-house-stage
    [data-scope="wohnung"],
  .services-explorer:has([value="weg"]:checked)
    .service-house-caption
    [data-scope="miethaus"],
  .services-explorer:has([value="weg"]:checked)
    .service-house-caption
    [data-scope="wohnung"],
  .services-explorer:has([value="weg"]:checked)
    .service-property-info
    [data-scope="miethaus"],
  .services-explorer:has([value="weg"]:checked)
    .service-property-info
    [data-scope="wohnung"] {
    visibility: hidden;
    display: none;
  }
}

.services-page .catalog-primary .catalog-art {
  background: #f3f6f1;
  border: 1px solid var(--line);
  min-height: 220px;
  padding: 12px;
  overflow: hidden;
}

.services-page .catalog-art {
  background: #f3f6f1;
  border: 1px solid var(--line);
  min-height: 270px;
  padding: 12px;
  overflow: hidden;
}

.services-page .catalog-art svg {
  width: 100%;
  max-width: 520px;
  height: 260px;
  color: var(--green);
}

.services-page .catalog-primary .catalog-art svg {
  height: 280px;
}

.services-page .catalog-special .catalog-art {
  min-height: 230px;
}

.services-page .catalog-special .catalog-art svg {
  height: 230px;
}

.services-page .catalog-development .catalog-art {
  min-height: 290px;
}

.services-page .catalog-development .catalog-art svg {
  height: 290px;
}

.services-page .catalog-special-section {
  background: #f1f4ee;
}

.services-page h1,
.services-page h2,
.services-page h3,
.services-page p,
.services-page li,
.services-page a {
  overflow-wrap: break-word;
}

.about-page .detail-section,
.switch-page .detail-section {
  padding-block: 54px;
}

.about-page .page-intro p,
.switch-page .page-intro p {
  max-width: 720px;
}

.about-page .about-facts,
.switch-page .about-faq {
  background: #f7f8f5;
}

.portal-page main > .section {
  padding-block: 64px;
}

.portal-page .portal-label {
  color: var(--green);
  background: #eef3ed;
  border-color: #d7e2d6;
}

.tenant-main {
  padding-block: 54px;
}

.tenant-main .contact-copy,
.tenant-main .contact-form {
  min-width: 0;
}

.tenant-emergency {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  background: #f7f8f5;
}

.tenant-emergency strong,
.tenant-emergency a {
  color: var(--green-dark);
}

.tenant-emergency p {
  margin-top: 4px;
  font-size: 13px;
}

.legal-copy {
  padding-block: 42px 72px;
}

.legal-copy .legal-warning {
  max-width: 800px;
}

@media (max-width: 1000px) {
  .service-process {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-journey {
    padding-top: 4px;
    --journey-start: scaleY(0);
  }

  .process-journey-line {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 24px;
    width: 1px;
    height: auto;
  }

  .service-process-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 0;
  }

  .service-process-marker {
    margin-bottom: 0;
  }

  .service-process-copy {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 800px) {
  .services-section-lead {
    display: block;
  }

  .services-section-lead > p {
    margin-top: 14px;
  }

  .service-explorer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .service-house-stage {
    min-height: 320px;
  }

  .service-house-stage svg {
    height: 320px;
  }

  .service-process {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-journey {
    padding-top: 4px;
    --journey-start: scaleY(0);
  }

  .process-journey-line {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 24px;
    width: 1px;
    height: auto;
  }

  .service-process-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 0;
  }

  .service-process-marker {
    margin-bottom: 0;
  }

  .service-process-copy {
    padding-left: 0;
    border-left: 0;
  }

  .special-heading {
    align-items: flex-start;
  }

  .special-slide {
    grid-template-columns: 1fr;
    grid-template-rows: min-content 1fr;
    align-items: start;
    gap: 26px;
  }

  .service-process-step:nth-child(n) {
    --step-delay: 0ms;
  }

  .services-page .special-slide .catalog-art {
    min-height: 0;
    height: auto;
    aspect-ratio: 760 / 500;
    max-height: 380px;
  }

  .services-page .special-slide .catalog-art svg {
    height: 100%;
  }

  .development-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  body:not(.home-page) .brand-name {
    font-size: 24px;
  }

  body:not(.home-page) .brand-sub {
    font-size: 6px;
  }

  .detail-page .detail-hero {
    display: flex;
    flex-direction: column;
  }

  .detail-page .detail-hero .hero-content {
    order: 1;
    padding: 38px var(--gutter) 34px;
  }

  .detail-page .detail-hero picture {
    order: 2;
    min-height: 250px;
  }

  .detail-page .detail-hero .hero-photo {
    min-height: 250px;
    max-height: 310px;
  }

  .detail-page .detail-hero .hero-caption {
    bottom: 12px;
    right: 12px;
  }

  .detail-page .detail-cta .wrap {
    padding-block: 0;
  }
}

@media (max-width: 560px) {
  body:not(.home-page) .site-footer {
    padding-top: 34px;
  }

  .detail-page .detail-hero h1 {
    font-size: 36px;
  }

  .detail-page .detail-section,
  .about-page .detail-section,
  .switch-page .detail-section {
    padding-block: 42px;
  }

  .services-page .catalog-section {
    padding-block: 36px 44px;
  }

  .services-explorer {
    padding-block: 42px 48px;
  }

  .services-section-lead h2 {
    font-size: 30px;
  }

  .service-house-stage {
    min-height: 260px;
  }

  .service-house-stage svg {
    height: 260px;
  }

  .service-property-choice {
    min-height: 64px;
    padding-inline: 12px;
  }

  .service-property-choice strong {
    font-size: 15px;
  }

  .service-property-choice small {
    font-size: 12px;
  }

  .service-property-info {
    min-height: 175px;
  }

  .service-process {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-journey {
    padding-top: 4px;
  }

  .process-journey-line {
    top: 24px;
    right: auto;
    bottom: 24px;
    left: 24px;
    width: 1px;
    height: auto;
  }

  .service-process-step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: 0;
  }

  .service-process-marker {
    margin-bottom: 0;
  }

  .service-process-copy {
    padding-left: 0;
    border-left: 0;
  }

  .special-slide {
    gap: 20px;
    padding-top: 16px;
  }

  .services-page .catalog-art,
  .services-page .catalog-primary .catalog-art,
  .services-page .catalog-special .catalog-art,
  .services-page .catalog-development .catalog-art {
    min-height: 250px;
  }

  .services-page .catalog-art svg,
  .services-page .catalog-primary .catalog-art svg,
  .services-page .catalog-special .catalog-art svg,
  .services-page .catalog-development .catalog-art svg {
    height: 250px;
  }

  .tenant-main {
    padding-block: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.home-page) *,
  body:not(.home-page) *::before,
  body:not(.home-page) *::after {
    animation: none !important;
    transition: none !important;
  }

  .development-card:hover .development-photo img,
  .development-card:focus-within .development-photo img {
    transform: none;
  }

  .carousel-button:hover .icon {
    translate: none;
  }
}
