:root {
  --text: #292b31;
  --muted: #515c60;
  --bg: #faf7f3;
  --soft: #f0ece9;
  --line: #c7d1ce;
  --brand: #174643;
  --accent: #91472f;
  --dark: #24383a;
  --rauch: #e8e2e7;
  --nebel: #dde8e5;
  --ton: #eadbd3;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(36, 56, 58, .09);
  --max: 1160px;
}

body {
  background: var(--bg);
  color: var(--text);
}

.betreiber {
  background: #24383a;
  color: #fff;
  padding-block: 6px;
}

.kopf {
  background: rgba(250, 247, 243, .96);
  border-bottom-color: #d7d0cc;
}

.kopf-innen {
  min-height: 68px;
}

.marke {
  color: #24383a;
  font-size: 20px;
  letter-spacing: -.025em;
}

.marke small {
  margin-top: 2px;
  color: #667477;
  letter-spacing: .12em;
}

.navigation a {
  color: #24383a;
}

.fassadenband {
  position: relative;
  height: 154px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #c7d1ce;
  background: #dfe5e1;
}

.fassadenband img {
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}

.bildrahmen {
  border: 1px solid rgba(36, 56, 58, .15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.symbolbild {
  right: 9px;
  bottom: 9px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 3px;
  background: rgba(24, 37, 38, .82);
  padding: 3px 7px;
}

.hero {
  padding: 46px 0 42px;
  background:
    linear-gradient(90deg, transparent 0 57%, rgba(232, 226, 231, .5) 57% 100%);
}

.auftakt-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
  gap: 20px 64px;
  align-items: end;
}

.auftakt-titel h1 {
  max-width: 780px;
  margin: 0;
  color: #24383a;
  font-size: clamp(43px, 4.55vw, 54px);
  line-height: 1.045;
  letter-spacing: -.045em;
}

.auftakt-text {
  padding: 0 0 4px 24px;
  border-left: 3px solid #b46449;
}

.auftakt-text p {
  margin: 0;
  color: #465356;
  font-size: 18px;
}

.einordnung {
  color: #873b26;
  letter-spacing: .105em;
}

.hero-bild {
  grid-column: 1 / -1;
  height: 292px !important;
  margin-top: 14px;
}

.hero-bild img {
  object-position: 50% 48%;
}

.hero-wege {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.25fr .9fr auto;
  gap: 12px;
  align-items: center;
  padding-top: 3px;
}

.knopf {
  border-color: #174643;
  border-radius: 5px;
  background: #174643;
  color: #fff;
  box-shadow: none;
}

.knopf:hover {
  background: #0e3532;
  border-color: #0e3532;
}

.knopf-sekundaer {
  background: transparent;
  color: #174643;
}

.knopf-sekundaer:hover {
  background: #174643;
  color: #fff;
}

.mitarbeit-weg {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 13px;
  color: #34484a;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
}

.mitarbeit-weg:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.heutige-rolle {
  padding: 88px 0 80px;
  background: #fff;
}

.rollen-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  grid-template-areas:
    "text bild"
    "zeilen zeilen";
  gap: 52px 66px;
  align-items: center;
}

.rollen-einleitung {
  grid-area: text;
}

.rollen-einleitung h2,
.profil-kopf h2,
.kaeufer-text h2,
.fragen-kopf h2 {
  margin: 0 0 19px;
  color: #24383a;
  font-size: clamp(32px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -.037em;
}

.rollen-einleitung > p,
.profil-kopf > p,
.kaeufer-text > p,
.fragen-kopf > p {
  margin: 0;
  color: #536063;
  font-size: 18px;
}

.bestand-bild {
  grid-area: bild;
  height: 330px;
}

.bestand-bild img {
  object-position: 50% 52%;
}

.situationszeilen {
  grid-area: zeilen;
  border-bottom: 1px solid #c7d1ce;
}

.situationszeilen article {
  display: grid;
  grid-template-columns: minmax(225px, .72fr) minmax(0, 1.5fr);
  gap: 38px;
  padding: 21px 0;
  border-top: 1px solid #c7d1ce;
}

.situationszeilen h3,
.situationszeilen p {
  margin: 0;
}

.situationszeilen h3 {
  color: #174643;
  font-size: 19px;
  line-height: 1.35;
}

.situationszeilen p {
  color: #536063;
}

.immobilienprofil {
  padding: 82px 0;
  background: var(--ton);
  border-block: 1px solid #ddc8bd;
}

.profil-raster {
  display: grid;
  grid-template-columns: minmax(270px, .75fr) minmax(0, 1.25fr);
  gap: 38px 72px;
  align-items: start;
}

.profil-kopf {
  position: sticky;
  top: 110px;
}

.profil-punkte {
  border-top: 1px solid #c7aaa0;
}

.profil-punkte article {
  display: grid;
  grid-template-columns: 116px minmax(185px, .85fr) minmax(0, 1.15fr);
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid #c7aaa0;
  align-items: start;
}

.profil-punkte span {
  color: #873b26;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profil-punkte h3,
.profil-punkte p {
  margin: 0;
}

.profil-punkte h3 {
  color: #403642;
  font-size: 20px;
  line-height: 1.3;
}

.profil-punkte p {
  color: #544b51;
  font-size: 16px;
}

.fachgrenze {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 40px;
  margin-top: 8px;
  padding: 27px 30px;
  border-left: 5px solid #174643;
  background: rgba(255, 255, 255, .58);
}

.fachgrenze strong {
  color: #174643;
  font-size: 19px;
}

.fachgrenze p {
  margin: 0;
  color: #4b4649;
}

.kaeuferweg {
  padding: 84px 0;
  background: var(--nebel);
}

.kaeufer-raster {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(390px, 1.12fr);
  gap: 68px;
  align-items: center;
}

.kaeufer-text p + p {
  margin-top: 15px;
}

.kaeufer-text .knopf {
  margin-top: 26px;
}

.kaeufer-bild {
  height: 376px;
}

.kaeufer-bild img {
  object-position: 50% 50%;
}

.fragen {
  padding: 84px 0;
  background: #faf7f3;
}

.fragen-raster {
  display: grid;
  grid-template-columns: minmax(255px, .72fr) minmax(0, 1.28fr);
  gap: 78px;
  align-items: start;
}

.fragen-liste details {
  border-color: #bfc9c6;
}

.fragen-liste summary {
  color: #24383a;
  padding: 19px 34px 19px 0;
  line-height: 1.35;
}

.fragen-liste details p {
  color: #536063;
}

.vertrauen {
  padding: 45px 0;
  background: #24383a;
  color: #fff;
  border: 0;
}

.vertrauen-innen {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: 68px;
  align-items: center;
}

.vertrauen h2 {
  color: #fff;
  font-size: 30px;
}

.vertrauen .einordnung {
  color: #f1b9a5;
}

.vertrauen p {
  margin: 0;
  color: #e8eeee;
}

.formular-bereich {
  padding: 80px 0;
  background: var(--rauch);
  color: #292b31;
}

.formular-raster {
  display: grid;
  grid-template-columns: minmax(245px, .68fr) minmax(0, 1.32fr);
  gap: 72px;
  align-items: start;
}

.formular-einleitung {
  padding-top: 16px;
}

.formular-einleitung h2 {
  margin: 0 0 17px;
  color: #403642;
  font-size: 42px;
}

.formular-einleitung p {
  margin: 0;
  color: #514a52;
}

.formular-bereich .einordnung {
  color: #7e301b;
}

.formular-karte {
  border: 1px solid #d1c8d0;
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(64, 54, 66, .11);
}

.formular {
  border-radius: 11px;
  padding: 34px;
  box-shadow: none;
}

.honigfeld {
  position: fixed !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.auswahl label {
  border-radius: 5px;
  border-color: #9ca8a6;
  color: #293638;
}

.auswahl label:has(input:checked) {
  border-color: #174643;
  background: #e2efec;
  color: #123a37;
  box-shadow: inset 0 0 0 1px #174643;
}

.auswahl label:has(input:focus-visible) {
  outline-color: #7e301b;
}

.feld {
  margin: 0 0 7px;
  color: #303437;
}

.eingabe {
  display: block;
  width: 100%;
  margin: 0 0 19px;
  padding: 13px 14px;
  border: 1px solid #707d80;
  border-radius: 5px;
  background: #fff;
  color: #172426;
}

textarea.eingabe {
  min-height: 160px;
  resize: vertical;
}

.eingabe[aria-invalid="true"] {
  border-color: #a32121;
  box-shadow: 0 0 0 2px rgba(163, 33, 33, .15);
}

.freiwillig {
  margin-block: 4px 22px;
}

.freiwillig-innen .eingabe {
  margin-bottom: 15px;
}

.zustimmung a {
  color: #174643;
  font-weight: 750;
}

.formular-knopf {
  border-radius: 5px;
}

.vertraulichkeit {
  margin-top: 10px;
  color: #4f5c60;
}

.formular-fehler {
  color: #941d1d;
}

.kontakt {
  padding: 54px 0 60px;
  background: #174643;
  color: #fff;
}

.kontakt h2 {
  color: #fff;
  font-size: 34px;
}

.kontakt .einordnung {
  color: #f4beaa;
}

.kontakt-name {
  color: #edf5f3;
}

.kontaktdaten {
  display: grid;
  gap: 10px;
  font-style: normal;
}

.kontaktdaten a {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 15px;
  color: #fff;
  text-decoration: none;
}

.kontaktdaten a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.kontaktdaten span {
  color: #bcd1cd;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer {
  background: #18292b;
  color: #fff;
}

.footer-innen {
  flex-wrap: wrap;
}

.bildhinweis {
  color: #d6e0df;
}

:focus-visible {
  outline-color: #7e301b;
}

.vertrauen :focus-visible,
.kontakt :focus-visible,
.footer :focus-visible {
  outline-color: #ffd8c9;
}

@media (max-width: 960px) {
  .auftakt-raster {
    gap: 18px 38px;
  }

  .rollen-raster,
  .kaeufer-raster {
    gap: 44px;
  }

  .profil-raster,
  .fragen-raster,
  .formular-raster {
    gap: 48px;
  }

  .profil-punkte article {
    grid-template-columns: 90px minmax(180px, .9fr) minmax(0, 1.1fr);
  }
}

@media (max-width: 820px) {
  .kopf-innen {
    min-height: 64px;
  }

  .navigation {
    background: #faf7f3;
  }

  .fassadenband {
    height: 105px;
  }

  .fassadenband img {
    object-position: 53% 61%;
  }

  .hero {
    padding: 34px 0 32px;
    background: linear-gradient(180deg, #faf7f3 0 58%, #f1ebee 58% 100%);
  }

  .auftakt-raster {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
  }

  .auftakt-titel,
  .auftakt-text,
  .hero-bild,
  .hero-wege {
    grid-column: 1;
  }

  .auftakt-titel { order: 1; }
  .auftakt-text { order: 2; }
  .hero-bild { order: 3; }
  .hero-wege { order: 4; }

  .auftakt-text {
    padding: 0;
    border-left: 0;
  }

  .auftakt-titel h1 {
    font-size: clamp(34px, 9.4vw, 42px);
    overflow-wrap: normal;
    hyphens: manual;
  }

  .hero-bild {
    height: 226px !important;
    margin-top: 0;
  }

  .hero-bild img {
    object-position: 50% 48%;
  }

  .hero-wege {
    grid-template-columns: 1fr;
  }

  .mitarbeit-weg {
    justify-content: flex-start;
    padding-left: 4px;
  }

  .heutige-rolle,
  .immobilienprofil,
  .kaeuferweg,
  .fragen,
  .formular-bereich {
    padding-block: 58px;
  }

  .rollen-raster {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "bild"
      "zeilen";
    gap: 31px;
  }

  .bestand-bild,
  .kaeufer-bild {
    height: 260px;
  }

  .situationszeilen article {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 18px 0;
  }

  .profil-raster,
  .kaeufer-raster,
  .fragen-raster,
  .vertrauen-innen,
  .formular-raster {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .profil-kopf {
    position: static;
  }

  .profil-punkte article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .fachgrenze {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 23px 21px;
  }

  .kaeufer-text {
    order: 1;
  }

  .kaeufer-bild {
    order: 2;
  }

  .formular-einleitung {
    padding-top: 0;
  }

  .formular {
    padding: 23px 17px;
  }

  .kontakt-innen {
    gap: 28px;
  }

  .kontaktdaten {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .marke {
    max-width: calc(100vw - 112px);
    font-size: 17px;
    overflow-wrap: anywhere;
  }

  .marke small {
    font-size: 9px;
    line-height: 1.35;
  }

  .fassadenband {
    height: 92px;
  }

  .auftakt-titel h1 {
    font-size: clamp(32px, 9.1vw, 38px);
  }

  .rollen-einleitung h2,
  .profil-kopf h2,
  .kaeufer-text h2,
  .fragen-kopf h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .bestand-bild,
  .kaeufer-bild {
    height: 232px;
  }

  .kontakt h2 {
    font-size: 29px;
  }

  .kontaktdaten a {
    grid-template-columns: 1fr;
    gap: 1px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 340px) {
  .betreiber {
    padding-inline: 10px;
    font-size: 12px;
  }

  .marke {
    font-size: 16px;
  }

  .marke small {
    letter-spacing: .07em;
  }

  .auftakt-titel h1 {
    font-size: 30px;
    letter-spacing: -.04em;
  }

  .hero-bild {
    height: 205px !important;
  }

  .formular {
    padding-inline: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
