.page-intro {
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-intro h1 {
  font-size: var(--heading-page);
  max-width: 900px;
}
.page-intro p {
  max-width: 690px;
  margin-top: 22px;
}
.renovation-page h1 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.desktop-nav a[aria-current="page"],
.mobile-nav a[aria-current="page"] {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 2px;
}
.page-intro.catalog-intro {
  padding-block: 32px 0;
}
.catalog-intro p {
  max-width: 680px;
  margin-top: 16px;
}
.catalog-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 12px;
  padding-block: 8px 14px;
  font-size: 14px;
}
.catalog-jump a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding-block: 8px;
}
.catalog-jump .icon {
  width: 15px;
  height: 15px;
}
.catalog-jump a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.catalog-section {
  padding-block: 36px 48px;
  border-bottom: 1px solid var(--line);
}
.catalog-heading {
  display: flex;
  gap: 18px 48px;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 26px;
}
.catalog-heading h2,
.catalog-development h2 {
  font-size: 34px;
}
.catalog-heading p {
  font-size: 15px;
  max-width: 470px;
}
.catalog-primary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
}
@media (min-width: 801px) {
  @supports (grid-template-rows: subgrid) {
    .catalog-primary {
      row-gap: 0;
    }
    .catalog-primary .catalog-item {
      display: grid;
      grid-template-rows: subgrid;
      grid-row: span 6;
      row-gap: 0;
    }
    .catalog-primary .text-link {
      justify-self: start;
    }
  }
}
.catalog-item {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.catalog-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 16px;
}
.catalog-art {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: var(--green);
}
.catalog-art svg {
  display: block;
  width: 210px;
  max-width: 100%;
  height: 130px;
}
.catalog-primary .catalog-art {
  width: 100%;
  height: 130px;
  margin-bottom: 18px;
  justify-content: center;
  background: var(--wash);
  padding-inline: 18px;
}
.catalog-item h3 {
  font-size: var(--heading-card);
  margin-bottom: 14px;
}
.catalog-item p {
  font-size: 15px;
  line-height: 1.75;
}
.catalog-points {
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
  width: 100%;
  font-size: 13px;
  color: var(--muted);
}
.catalog-points li {
  padding-block: 4px;
}
.catalog-item .text-link {
  margin-top: auto;
  font-size: 14px;
}
.catalog-special-section {
  background: var(--wash);
}
.catalog-special {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 56px;
}
.catalog-special .catalog-item {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  padding-top: 28px;
  align-items: start;
}
.catalog-special .catalog-art svg {
  height: 110px;
}
.catalog-item-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
}
.catalog-item-copy p {
  margin-bottom: 22px;
}
.catalog-development {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 2fr);
  align-items: center;
  gap: 60px;
}
.catalog-development .catalog-art {
  justify-content: center;
}
.catalog-development .catalog-art svg {
  width: 330px;
  height: 210px;
}
.catalog-development p {
  margin-block: 22px;
  max-width: 630px;
}
.services-page h1,
.services-page h2,
.services-page h3,
.services-page p,
.services-page li,
.services-page a {
  overflow-wrap: anywhere;
}
.services-summary {
  display: flex;
  justify-content: flex-end;
  margin-top: 40px;
}
.services-summary > .text-link {
  flex-shrink: 0;
}
@media (max-width: 1050px) {
  .catalog-primary {
    column-gap: 24px;
  }
  .catalog-primary h3 {
    font-size: 24px;
  }
  .catalog-special {
    gap: 36px;
  }
  .catalog-special .catalog-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .catalog-special .catalog-art svg {
    width: 150px;
    height: 90px;
  }
}
@media (max-width: 800px) {
  .catalog-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .catalog-heading p {
    max-width: 520px;
  }
  .catalog-primary {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .catalog-primary h3 {
    font-size: 28px;
  }
  .catalog-primary .catalog-art {
    height: 122px;
  }
  .catalog-development {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .catalog-development .catalog-art {
    justify-content: flex-start;
  }
  .catalog-development .catalog-art svg {
    width: 240px;
    height: 150px;
  }
}
@media (max-width: 560px) {
  .catalog-intro.page-intro {
    padding-top: 28px;
    padding-bottom: 0;
  }
  .catalog-jump {
    gap: 2px 24px;
    margin-top: 24px;
    font-size: 13px;
    padding-block: 12px;
  }
  .catalog-section {
    padding-block: 36px 44px;
  }
  .catalog-heading {
    margin-bottom: 26px;
    gap: 14px;
  }
  .catalog-heading h2,
  .catalog-development h2 {
    font-size: 30px;
  }
  .catalog-special {
    grid-template-columns: 1fr;
  }
  .catalog-special .catalog-item {
    padding-top: 22px;
  }
}
.contact-button {
  white-space: nowrap;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
}
.breadcrumbs a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.detail-hero h1 {
  font-size: var(--heading-page);
  max-width: 820px;
}
.detail-page h1,
.detail-page h2,
.detail-page p,
.detail-page li span,
.detail-page .step .t,
.detail-page .step .d {
  min-width: 0;
  overflow-wrap: anywhere;
}
.detail-hero .hero-content {
  padding-block: 38px 56px;
}
.detail-hero p {
  max-width: 630px;
}
.detail-hero .breadcrumbs {
  color: white;
  margin-bottom: 24px;
}
.detail-hero .hero-caption {
  font-size: var(--text-label);
}
.detail-nav {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.detail-nav .wrap {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  padding-block: 10px;
  font-size: 14px;
}
.detail-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}
.detail-nav [aria-current] {
  color: var(--green);
  font-weight: 600;
  border-bottom: 2px solid var(--green);
}
.detail-section {
  padding-block: 64px;
  border-bottom: 1px solid var(--line);
}
.detail-section:nth-of-type(even) {
  background: var(--wash);
}
.detail-section h2 {
  font-size: var(--heading-section);
  margin-bottom: 30px;
}
.tenant-main h2 {
  font-size: var(--heading-section);
}
.detail-section .usps,
.detail-section .scope {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}
.detail-section .usps li,
.detail-section .scope li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.detail-section li .icon {
  color: var(--green);
  margin-top: 4px;
  width: 17px;
  height: 17px;
}
.detail-section .steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.detail-section .steps:has(.step:nth-child(4)) {
  grid-template-columns: repeat(4, 1fr);
}
.detail-section .steps:has(.step:nth-child(5)) {
  grid-template-columns: repeat(5, 1fr);
}
.detail-section .step {
  padding: 0;
  border: 0;
}
.detail-section .step .no {
  color: var(--green);
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
  font-size: 13px;
}
.detail-section .step .t {
  font: var(--heading-small)/1.25 var(--serif);
  margin-block: 18px 12px;
}
.detail-section .step .d {
  font-size: var(--text-secondary);
  color: var(--muted);
}
.detail-section .note {
  margin-top: 26px;
  font-size: var(--text-small);
}
.detail-section .note a,
.detail-section .founders-note a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.detail-section .eyebrow {
  margin-bottom: 16px;
}
.founders-note {
  max-width: 790px;
}
.detail-cta {
  background: var(--green);
  color: white;
  padding-block: 60px;
}
.detail-cta .wrap {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
}
.detail-cta h2 {
  font-size: var(--heading-section);
}
.detail-cta p {
  color: #dfebe1;
  margin-top: 16px;
  max-width: 660px;
}
.detail-cta .button {
  flex-shrink: 0;
}
.legal-copy {
  padding-block: 40px 72px;
}
.legal-copy > * {
  max-width: 800px;
}
.legal-copy p {
  margin-block: 18px;
  line-height: 1.8;
}
.legal-copy h2 {
  font-size: 28px;
  margin-bottom: 20px;
}
.legal-copy h2,
.legal-copy h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}
.error-page {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
.error-page .site-header {
  flex-shrink: 0;
}
.error-page main {
  flex: 1;
}
.error-page .en {
  display: block;
  margin-top: 16px;
}
.legal-copy h3 {
  font-size: 23px;
  margin-top: 30px;
}
.legal-copy a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal-copy .legal-warning {
  border-left: 3px solid var(--accent);
  padding: 14px 20px;
  background: var(--wash);
  font-size: 14px;
}
.tenant-button {
  white-space: nowrap;
}
html {
  scroll-padding-bottom: 72px;
}
body {
  padding-bottom: calc(60px + env(safe-area-inset-bottom, 0px));
}
.tenant-dock {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px));
}
.tenant-dock-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.tenant-dock-label {
  font-size: 12px;
  color: var(--muted);
}
.tenant-dock .tenant-button {
  min-height: 42px;
  padding: 8px 14px;
  font-size: 13px;
  gap: 10px;
  background: #fff;
  color: var(--green);
  border-color: var(--green);
}
.tenant-dock .tenant-button:hover {
  background: var(--wash);
}
.tenant-dock .tenant-button .icon {
  width: 16px;
  height: 16px;
}
@media (min-width: 801px) {
  html {
    scroll-padding-bottom: 0;
  }
  body {
    padding-bottom: 0;
  }
  /* Platz für die schwebende Pille, damit sie am Seitenende über leerer
     Footerfläche steht und nicht über dem Bildnachweis. */
  body:not(.no-tenant-dock) .site-footer {
    padding-bottom: 116px;
  }
  .tenant-dock {
    inset: auto 28px 28px auto;
    padding: 6px 6px 6px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 10px 30px #19382d14;
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }
  /* Solange das Kontaktformular im Bild ist, tritt die Pille zurück. */
  .tenant-dock.is-tucked {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    pointer-events: none;
  }
  .tenant-dock-inner {
    width: auto;
    margin: 0;
    gap: 12px;
  }
  .tenant-dock .tenant-button {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: 999px;
  }
}
@media (max-width: 374px) {
  .tenant-dock-inner {
    gap: 10px;
    justify-content: space-between;
  }
  .tenant-dock .tenant-button {
    padding-inline: 12px;
  }
}
.certification-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  max-width: 360px;
}
.certification-note img {
  width: 96px;
  height: auto;
  flex: 0 0 96px;
}
.certification-note figcaption {
  min-width: 0;
  font-size: 12px;
  color: #bed0c3;
}
.certification-note strong {
  display: block;
  color: white;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 5px;
}
.renovation-section {
  background: var(--wash);
  border-block: 1px solid var(--line);
}
.renovation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 54px;
  align-items: start;
}
.renovation-copy h2 {
  font-size: var(--heading-section);
  margin-bottom: 24px;
}
.renovation-copy p {
  font-size: 15px;
  margin-block: 16px;
}
.renovation-copy .text-link {
  margin-top: 12px;
}
.energy-tool {
  min-width: 0;
  padding-top: 4px;
}
.energy-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: baseline;
  margin-bottom: 18px;
}
.energy-heading h3 {
  font-size: 25px;
}
.energy-heading span {
  font-size: 12px;
  color: var(--muted);
}
.energy-tool fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.energy-tool legend {
  font-size: 13px;
  margin-bottom: 14px;
}
.energy-scale {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 5px;
  padding-block: 22px 28px;
}
.energy-option {
  position: relative;
  min-width: 0;
}
.energy-option input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 52px;
  margin: 0;
  cursor: pointer;
}
.energy-option .energy-bar {
  display: grid;
  place-items: center;
  height: 52px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  background: var(--class-color);
  opacity: 1;
  transition:
    transform 0.35s,
    opacity 0.35s;
  transform-origin: bottom;
}
.energy-option input:checked + .energy-bar {
  opacity: 1;
  transform: translateY(-5px);
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.energy-option input:focus-visible + .energy-bar {
  outline: 3px solid #a97730;
  outline-offset: 5px;
}
.energy-option input:disabled {
  cursor: not-allowed;
}
.energy-option input:disabled + .energy-bar {
  opacity: 0.35;
}
.energy-option .baseline-label,
.energy-option .target-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 10px;
  white-space: nowrap;
}
.energy-option .baseline-label {
  top: -21px;
}
.energy-option .target-label {
  bottom: -23px;
  visibility: hidden;
  font-weight: 600;
}
.energy-option input:checked ~ .target-label {
  visibility: visible;
}
.energy-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
  border-top: 1px solid var(--line);
  gap: 18px;
}
.energy-result {
  min-width: 0;
  padding-top: 22px;
}
.energy-result strong {
  display: block;
  font: 33px/1.15 var(--serif);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.energy-result .energy-unit {
  display: block;
  font-size: 12px;
  margin-block: 5px 10px;
}
.energy-result p {
  font-size: 12px;
}
.energy-assumptions {
  margin-top: 26px;
  font-size: 12px;
  color: var(--muted);
}
.energy-assumptions p {
  margin-top: 12px;
}
.energy-assumptions summary {
  padding-block: 10px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.energy-assumptions a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
}
.experience-copy h2 {
  font-size: var(--heading-section);
  margin-bottom: 24px;
}
.experience-copy p {
  margin-block: 18px;
}
.experience-copy .text-link {
  margin-top: 16px;
}
.experience-figure {
  margin: 0;
  min-width: 0;
  --paper: #f3f5f2;
  --paper-w: #fff;
  --leaf: #306845;
  --brass: #9d7730;
  --sand: #8c9990;
}
.experience-figure svg {
  width: 100%;
  height: auto;
}
.experience-figure figcaption {
  font-size: 12px;
  text-align: center;
  color: var(--muted);
  margin-top: 18px;
}
.phone-figure {
  max-width: 290px;
  justify-self: center;
}
.portal-label {
  display: inline-block;
  padding: 6px 10px;
  background: #f2e6dd;
  color: #753f34;
  font-size: 12px;
  margin-bottom: 24px;
}
.portal-copy {
  max-width: 650px;
}
.portal-copy h1 {
  font-size: 48px;
  margin-bottom: 24px;
}
.portal-copy p {
  margin-block: 18px;
}
.portal-copy .button {
  margin-top: 16px;
}
.portal-status {
  font-size: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.service-report-link {
  margin-top: 24px;
  display: inline-flex;
}
@keyframes energy-enter {
  from {
    translate: 0 6px;
  }
  to {
    translate: 0 0;
  }
}
@keyframes report-draw {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes phone-notice {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
[data-animate].is-visible .energy-bar {
  animation: energy-enter 0.55s backwards;
  animation-delay: var(--delay);
}
.report-graphic.is-visible .draw-line {
  stroke-dasharray: 1;
  animation: report-draw 1.8s ease both;
}
.report-graphic.is-visible .dl2 {
  animation-delay: 0.4s;
}
.phone-figure.is-visible .notif-dot {
  animation: phone-notice 1.5s ease 2;
}
@media (max-width: 1050px) {
  .detail-section .steps:has(.step:nth-child(5)) {
    grid-template-columns: repeat(3, 1fr);
  }
  .renovation-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .renovation-copy {
    max-width: 750px;
  }
  .experience-grid {
    gap: 36px;
  }
}
@media (max-width: 800px) {
  .page-intro {
    padding-block: 36px;
  }
  .page-intro h1,
  .portal-copy h1 {
    font-size: 38px;
  }
  .detail-hero h1 {
    font-size: 40px;
  }
  .detail-hero {
    height: auto;
    min-height: 560px;
  }
  .detail-section {
    padding-block: 42px;
  }
  .detail-section .usps,
  .detail-section .scope,
  .detail-section .steps {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-section .steps {
    gap: 32px;
  }
  .detail-section .steps:has(.step:nth-child(4)),
  .detail-section .steps:has(.step:nth-child(5)) {
    grid-template-columns: 1fr;
  }
  .detail-cta .wrap {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-cta {
    padding-block: 40px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
  }
  .experience-figure {
    max-width: 580px;
    width: 100%;
    justify-self: center;
  }
  .phone-figure {
    max-width: 270px;
  }
  .portal-copy {
    order: -1;
  }
}
@media (max-width: 560px) {
  .detail-page:lang(de) p,
  .detail-page:lang(de) li span,
  .detail-page:lang(de) .step .d {
    hyphens: auto;
    hyphenate-limit-chars: 8 4 4;
  }
  .detail-hero h1 {
    font-size: 34px;
  }
  .detail-hero .hero-content {
    padding-block: 28px 56px;
  }
  .detail-hero p {
    font-size: 15px;
  }
  .detail-hero .hero-actions {
    margin-top: 20px;
  }
  .detail-hero .hero-caption {
    right: 12px;
    left: 12px;
    text-align: right;
    background: none;
  }
  .detail-nav .wrap {
    gap: 0 20px;
    font-size: 13px;
  }
  .detail-section h2,
  .detail-cta h2 {
    font-size: 29px;
  }
  .detail-section .step .no {
    border-bottom: 0;
    padding-bottom: 0;
    padding-top: 3px;
    line-height: 1.25;
  }
  .detail-section .step .t {
    margin-block: 0 8px;
  }
  .detail-section .step .d {
    margin-top: 0;
  }
  .renovation-copy h2,
  .experience-copy h2,
  .tenant-main h2 {
    font-size: 29px;
  }
  .energy-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .energy-heading h3 {
    font-size: 24px;
  }
  .energy-results {
    gap: 10px;
  }
  .energy-result strong {
    font-size: 27px;
  }
  .energy-result .energy-unit,
  .energy-result p {
    font-size: 12px;
  }
  .energy-scale {
    gap: 4px;
  }
  .energy-option .energy-bar {
    height: 48px;
    font-size: 12px;
  }
  .energy-option input {
    height: 48px;
  }
  .energy-option .baseline-label,
  .energy-option .target-label {
    font-size: 10px;
  }
  .page-intro h1,
  .portal-copy h1 {
    font-size: 34px;
  }
}
@media (max-width: 374px) {
  .detail-hero h1 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-animate] *,
  .energy-bar {
    animation: none !important;
    transition: none !important;
  }
}

.service-topline,
.catalog-kicker {
  font-size: var(--text-label);
  font-weight: 600;
  letter-spacing: 0;
}
.service-visual svg {
  color: var(--green);
}
.scope-intro {
  max-width: 760px;
  margin-bottom: 26px;
  font-size: var(--text-secondary);
}
.scope-intro a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.no-tenant-dock {
  padding-bottom: 0;
}
.no-tenant-dock .mobile-nav {
  max-height: calc(
    100dvh - var(--header-height) - env(safe-area-inset-bottom, 0px)
  );
}
.portal-preview-note {
  border-top: 1px solid var(--line);
  background: var(--wash);
  padding-block: 28px;
}
.portal-preview-note .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px 36px;
}
.portal-preview-note p {
  max-width: 690px;
  font-size: var(--text-secondary);
}
.portal-preview-note a {
  flex-shrink: 0;
}
.portal-page main > .section {
  padding-block: 56px;
}
.about-team-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  grid-template-areas:
    "head founders"
    "copy founders";
  grid-template-rows: auto 1fr;
  align-items: start;
  column-gap: 56px;
  row-gap: 28px;
}
.about-team-head {
  grid-area: head;
}
.about-team-head h2 {
  margin-bottom: 0;
}
.about-team-copy {
  grid-area: copy;
}
.about-team-copy > p {
  font-size: var(--text-secondary);
  line-height: 1.7;
  max-width: 46ch;
}
.about-founders {
  grid-area: founders;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}
.about-founders .founder,
.about-founders .founder + .founder {
  display: block;
  border: 0;
  padding: 0;
}
.about-founders .founder-photo {
  display: block;
  width: min(100%, max(200px, 45vh * 0.75));
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 3px;
  background: var(--wash);
}
.about-founders .founder-photo-np {
  object-position: 25% 50%;
}
.about-founders .founder-body {
  margin-top: 18px;
}
.about-founders .founder h3 {
  font-size: 26px;
  margin-bottom: 4px;
}
.about-founders .founder-role {
  font-size: 13px;
  margin-bottom: 10px;
}
.about-founders .founder p:not(.founder-role) {
  font-size: var(--text-secondary);
  line-height: 1.6;
}
.about-certificate {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.about-certificate img {
  width: 88px;
  height: auto;
}
.about-certificate strong,
.about-certificate span {
  display: block;
}
.about-certificate strong {
  font-size: var(--text-small);
  font-weight: 500;
  color: var(--ink);
}
.about-certificate span {
  font-size: 13px;
  color: var(--muted);
}
.about-faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}
.about-faq details {
  border-top: 1px solid var(--line);
}
.about-faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.about-faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0;
  padding: 18px 0;
  font-weight: 500;
  cursor: pointer;
}
.about-faq summary::-webkit-details-marker {
  display: none;
}
.about-faq summary::after {
  content: "+";
  flex: none;
  font: 400 22px/1 var(--serif);
  color: var(--green);
}
.about-faq details[open] summary::after {
  content: "\2212";
}
.about-faq details p {
  padding: 0 0 22px;
  font-size: var(--text-secondary);
  max-width: 62ch;
}
.about-page h1,
.about-page h2,
.about-page h3,
.about-page p {
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  .about-team-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "founders"
      "copy";
    grid-template-rows: none;
    row-gap: 32px;
  }
  .about-founders {
    gap: 28px;
  }
  .about-founders .founder {
    max-width: 390px;
  }
}
@media (max-width: 800px) {
  .about-faq {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .about-faq h2 {
    margin-bottom: 0;
  }
  .about-founders .founder h3 {
    font-size: 24px;
  }
  .portal-preview-note .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
  .portal-page main > .section {
    padding-block: 36px;
  }
}
@media (max-width: 560px) {
  .about-founders {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .about-founders .founder {
    max-width: none;
  }
}
.visit-section {
  background: var(--white);
}
.detail-section.visit-section h2 {
  margin-bottom: 0;
}
.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 90px;
  align-items: start;
}
.visit-copy h2 {
  max-width: 430px;
}
.visit-copy > p {
  margin-top: 20px;
  max-width: 420px;
}
.visit-heading {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  margin: 40px 0 10px;
}
.hours {
  width: 100%;
  max-width: 460px;
  border-collapse: collapse;
  font-size: 14px;
}
.hours th,
.hours td {
  text-align: left;
  vertical-align: top;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.hours thead th {
  padding-top: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.hours tbody th {
  font-weight: 500;
  color: var(--ink);
  padding-right: 24px;
  white-space: nowrap;
}
.hours td {
  color: var(--muted);
}
.hours-note {
  font-size: 13px;
  margin-top: 12px;
  max-width: 460px;
}
.visit-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 32px;
  margin-top: 32px;
  max-width: 460px;
}
.visit-contact {
  min-width: 0;
}
.visit-contact:last-child {
  grid-column: 1 / -1;
}
.visit-label {
  display: block;
  margin-bottom: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.visit-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--green);
  white-space: nowrap;
}
.visit-contact a:hover {
  color: var(--accent);
}
.visit-emergency a {
  color: var(--accent);
}
.visit-emergency p {
  font-size: 12px;
  line-height: 1.55;
  margin-top: 6px;
}
.visit-contact address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.visit-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  margin-top: 18px;
}
.visit-map {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
@media (min-width: 801px) {
  .visit-map {
    position: sticky;
    top: calc(var(--header-height) + 24px);
  }
}
.map-placeholder,
.map-frame {
  flex: none;
  width: 100%;
  height: min(460px, 60vh);
  min-height: 280px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #e3e9e2;
}
.map-placeholder {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 32px;
}
.map-frame {
  display: block;
}
.map-sketch {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #fff;
}
.map-card {
  position: relative;
  max-width: 340px;
  padding: 26px 26px 22px;
  background: var(--white);
  border-radius: 3px;
  box-shadow: 0 14px 34px #19382d17;
}
.map-card > .icon {
  width: 24px;
  height: 24px;
  color: var(--green);
  margin-bottom: 12px;
}
.map-address {
  font-size: 14px;
  color: var(--ink);
}
.map-address strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}
.map-card [data-map-consent] {
  margin-top: 18px;
}
.map-note {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 14px;
}
.map-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.map-hide {
  align-self: flex-start;
  margin-top: 8px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
}
@media (max-width: 1050px) {
  .visit-grid {
    gap: 50px;
  }
}
@media (max-width: 800px) {
  .visit-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }
  .map-placeholder,
  .map-frame {
    height: min(380px, 55vh);
  }
}
@media (max-width: 560px) {
  .visit-contacts {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }
  .hours tbody th {
    white-space: normal;
    padding-right: 14px;
  }
  .visit-contact a {
    font-size: 20px;
  }
  .map-placeholder,
  .map-frame {
    height: min(320px, 45vh);
    min-height: 240px;
  }
  .map-placeholder {
    padding: 20px;
  }
}
.inline-link {
  color: var(--green);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #b2beb5;
}
.inline-link:hover {
  color: var(--accent);
}

/* ==========================================================
   Bereich: wechsel-seiten (wechsel.html, en-switch.html)
   Kontaktblock "Direkt zu Ihrem Wechsel" und mehr Freiraum mobil.
   ========================================================== */
.switch-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.detail-section .switch-contact-copy h2 {
  margin-bottom: 0;
}
.switch-contact-copy > p {
  margin-top: 20px;
  max-width: 420px;
  font-size: var(--text-secondary);
}
.switch-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.switch-contact-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  column-gap: 18px;
  align-items: start;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.switch-contact-item:last-child {
  border-bottom: 1px solid var(--line);
}
.switch-contact .switch-contact-item > .icon {
  width: 22px;
  height: 22px;
  margin-top: 0;
  color: var(--green);
}
.switch-contact-item > div {
  min-width: 0;
}
.switch-contact-item .visit-label {
  margin-bottom: 4px;
}
.switch-contact-value {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.2;
  color: var(--green);
  white-space: nowrap;
}
.switch-contact-value:hover {
  color: var(--accent);
}
.switch-contact-item address {
  font-style: normal;
  font-size: var(--text-secondary);
  line-height: 1.6;
  color: var(--ink);
  margin-top: 6px;
}
.switch-contact-item .text-link {
  margin-top: 8px;
  color: var(--green);
}
.switch-contact .switch-contact-item .text-link .icon {
  width: 16px;
  height: 16px;
  margin-top: 0;
}
@media (max-width: 800px) {
  .switch-contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
}
@media (max-width: 560px) {
  .switch-page .page-intro {
    padding-block: 40px 52px;
  }
  .switch-page .detail-section {
    padding-block: 60px;
  }
  .switch-page .detail-section h2 {
    margin-bottom: 36px;
  }
  .switch-page .about-faq h2,
  .switch-page .switch-contact-copy h2 {
    margin-bottom: 0;
  }
  .switch-page .detail-section .steps {
    gap: 36px;
  }
  .switch-page .about-faq {
    gap: 32px;
  }
  .switch-page .about-faq summary {
    padding: 20px 0;
  }
  .switch-contact-grid {
    gap: 32px;
  }
  .switch-contact-item {
    column-gap: 16px;
    padding: 24px 0;
  }
  .switch-contact-value {
    font-size: 22px;
  }
  .switch-page .detail-cta {
    padding-block: 56px;
  }
}

/* ==========================================================
   Bereich: ueber-uns (ueber-uns.html, en-about.html)
   Abschnitt "Wo und was wir verwalten" und Hinweis zum Wechsel.
   ========================================================== */
.about-page .detail-section.visit-section {
  background: var(--white);
}
.about-facts-head {
  max-width: 640px;
}
.detail-section .about-facts-head h2 {
  margin-bottom: 0;
}
.about-facts-list {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 48px;
}
.about-fact {
  min-width: 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.about-fact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.about-page .about-fact-value {
  margin-top: 14px;
  font: 400 42px/1.08 var(--serif);
  color: var(--green);
  overflow-wrap: normal;
}
.about-fact-value + p {
  margin-top: 16px;
  max-width: 38ch;
  font-size: var(--text-secondary);
  line-height: 1.65;
}
.about-fact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 12px;
}
.about-fact-links .text-link {
  color: var(--green);
}
.detail-section .about-fact-links .text-link .icon {
  width: 16px;
  height: 16px;
  margin-top: 0;
}
.about-switch {
  position: relative;
}
.about-switch-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}
.detail-section .about-switch-grid h2 {
  margin-bottom: 0;
}
.about-switch-copy p {
  max-width: 56ch;
  font-size: var(--text-secondary);
  line-height: 1.7;
}
.about-switch-copy .text-link {
  margin-top: 10px;
  color: var(--green);
}
.about-switch-copy .text-link .icon {
  width: 16px;
  height: 16px;
}
@media (max-width: 1050px) {
  .about-facts-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .about-fact {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    grid-template-areas:
      "label copy"
      "value copy"
      "value links"
      ". links";
    grid-template-rows: auto auto auto 1fr;
    column-gap: 48px;
    padding-block: 28px;
  }
  .about-fact:last-child {
    border-bottom: 1px solid var(--line);
  }
  .about-fact-label {
    grid-area: label;
  }
  .about-page .about-fact-value {
    grid-area: value;
    font-size: 38px;
  }
  .about-fact-value + p {
    grid-area: copy;
    margin-top: 0;
  }
  .about-fact-links {
    grid-area: links;
  }
}
@media (max-width: 800px) {
  .about-switch-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}
@media (max-width: 560px) {
  .about-facts,
  .about-switch {
    padding-block: 60px;
  }
  .about-facts-list {
    margin-top: 40px;
  }
  .about-fact {
    display: block;
    padding-block: 30px 34px;
  }
  .about-page .about-fact-value {
    margin-top: 12px;
    font-size: 40px;
  }
  .about-fact-value + p {
    margin-top: 14px;
  }
  .about-fact-links {
    margin-top: 14px;
  }
  .about-switch-grid {
    gap: 22px;
  }
  .about-switch-copy .text-link {
    margin-top: 16px;
  }
}
@media (max-width: 400px) {
  .about-page .about-fact-value {
    font-size: 34px;
  }
}
/* Korrektur: Kennzahlenwerte im Dreispalten-Layout bis 1250 px einzeilig */
@media (min-width: 1051px) and (max-width: 1250px) {
  .about-page .about-fact-value {
    font-size: 34px;
  }
}

/* Hausverwaltung verkaufen */
.succession-page .succession-options {
  margin-top: 40px;
}
.succession-page .page-intro .hero-actions {
  margin-top: 28px;
}
.succession-page .about-switch-copy p + p {
  margin-top: 18px;
}
.succession-page .about-switch-copy .text-link {
  margin-top: 14px;
}
@media (max-width: 560px) {
  .succession-page .succession-options {
    margin-top: 32px;
  }
}
