:root {
  --text: #252c34;
  --muted: #5e626a;
  --bg: #fffdf9;
  --soft: #f5efe6;
  --soft-blue: #edf1f2;
  --line: #dcd5ce;
  --brand: #51485f;
  --brand-deep: #40384c;
  --accent: #9a575f;
  --accent-dark: #7c3f47;
  --sky: #6e838e;
  --dark: #40384c;
  --radius: 18px;
  --shadow: 0 20px 56px rgba(54, 45, 64, .14);
  --max: 1190px;
}

html {
  scroll-padding-top: 94px;
}

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

.betreiber {
  padding-block: 6px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 13px;
}

.kopf {
  background: rgba(255, 253, 249, .96);
  border-bottom-color: #e2dcd5;
}

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

.marke {
  min-width: 0;
  color: var(--brand-deep);
  font-size: 21px;
  overflow-wrap: anywhere;
}

.marke small {
  margin-top: 1px;
  color: #6b6870;
  font-size: 10px;
  letter-spacing: .13em;
}

.navigation {
  gap: 27px;
}

.navigation a {
  position: relative;
  color: #35313a;
}

.navigation a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--accent);
  content: "";
  opacity: 0;
}

.navigation a:hover {
  text-decoration: none;
}

.navigation a:hover::after,
.navigation a:focus-visible::after {
  opacity: 1;
}

.menue-schalter {
  border-color: #aaa1b2;
  background: #fffdf9;
  color: var(--brand-deep);
}

.wohnhausband {
  position: relative;
  height: 104px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #e9e4df;
}

.wohnhausband img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 47%;
  filter: saturate(.78) contrast(.93) brightness(1.03);
}

.wohnhausband::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(64, 56, 76, .18), transparent 44%, rgba(154, 87, 95, .12));
  content: "";
  pointer-events: none;
}

.hero {
  padding: 39px 0 43px;
  background:
    radial-gradient(circle at 86% 16%, rgba(120, 144, 156, .13), transparent 33%),
    linear-gradient(180deg, #fffdf9 0%, #faf6f0 100%);
  border-bottom: 1px solid #e3ddd6;
}

.hero-raster {
  grid-template-columns: minmax(0, 1.05fr) minmax(410px, .95fr);
  grid-template-areas:
    "text bild"
    "aktionen bild";
  gap: 20px 58px;
  align-items: center;
}

.hero-text {
  grid-area: text;
  align-self: end;
}

.hero-bild {
  grid-area: bild;
  height: 322px;
  align-self: stretch;
  border-radius: 24px 24px 62px 24px;
}

.hero-bild img {
  object-position: 53% 52%;
}

.hero-aktionen {
  grid-area: aktionen;
  align-self: start;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 19px;
  color: #342f3d;
  font-size: clamp(43px, 4.4vw, 54px);
  line-height: 1.04;
}

.hero p {
  max-width: 640px;
  margin-bottom: 0;
  color: #5d5c63;
  font-size: 18px;
}

.einordnung {
  color: var(--accent-dark);
  font-size: 13px;
}

.knopf {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 8px 22px rgba(64, 56, 76, .13);
}

.knopf:hover {
  background: #443b50;
}

.knopf-sekundaer {
  border-color: #766d7d;
  background: transparent;
  box-shadow: none;
  color: var(--brand-deep);
}

.knopf-sekundaer:hover {
  background: #ede7ef;
  color: #342e3f;
}

.bildrahmen {
  margin: 0;
}

.anliegen {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.anliegen-leiste a {
  min-width: 0;
  padding: 18px 22px 20px;
  border-color: var(--line);
  color: #393440;
  font-size: 17px;
}

.anliegen-leiste a:hover {
  background: #faf6f0;
}

.anliegen-leiste span {
  display: block;
  margin-bottom: 4px;
  color: #80636a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.abschnitt {
  padding: 76px 0;
}

.abschnitt h2 {
  color: #393440;
}

.eigentuemer {
  background: #fffdf9;
}

.eigentuemer-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: 66px;
  align-items: center;
}

.eigentuemer-text .vorspann {
  margin-bottom: 27px;
}

.situationszeilen {
  border-top: 1px solid var(--line);
}

.situationszeilen article {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.situationszeilen article > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: #eee6e7;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
}

.situationszeilen h3 {
  margin-bottom: 3px;
  color: #3e3747;
  font-size: 19px;
}

.situationszeilen p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.eigentuemer-bild {
  height: 490px;
  border-radius: 60px 20px 20px 20px;
}

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

.textlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 25px;
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.textlink span {
  font-size: 22px;
}

.raeume {
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.raeume-kopf {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 38px;
}

.raeume-kopf h2 {
  margin-bottom: 0;
}

.raeume-kopf > p {
  margin: 0 0 4px;
  color: var(--muted);
}

.raeume-raster {
  display: grid;
  grid-template-columns: minmax(430px, 1.08fr) minmax(0, .92fr);
  gap: 48px;
  align-items: stretch;
}

.raeume-bild {
  min-height: 400px;
  border-radius: 20px 58px 20px 20px;
}

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

.raumzeilen {
  display: grid;
  align-content: center;
  border-top: 1px solid #cec3bc;
}

.raumzeilen article {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 20px;
  padding: 21px 0;
  border-bottom: 1px solid #cec3bc;
}

.raumzeilen article > span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.raumzeilen p {
  margin: 0;
  color: #4f5157;
  font-size: 16px;
}

.wohnungsprofil {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 44px;
  margin-top: 46px;
  padding: 30px 34px;
  border: 1px solid #d3c8c1;
  border-radius: 18px;
  background: rgba(255, 253, 249, .78);
}

.wohnungsprofil h3 {
  margin: 0;
  color: #3b3543;
  font-size: 26px;
}

.wohnungsprofil dl {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 30px;
  margin: 0;
}

.wohnungsprofil dl div {
  padding-left: 16px;
  border-left: 3px solid #b97d83;
}

.wohnungsprofil dt {
  color: #49434f;
  font-size: 14px;
  font-weight: 800;
}

.wohnungsprofil dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.kaufen {
  background: #eef2f2;
}

.kaufen-raster {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  gap: 76px;
  align-items: start;
}

.kaufen h2 {
  max-width: 520px;
  margin-bottom: 0;
}

.kaufen-text {
  padding: 3px 0 3px 34px;
  border-left: 3px solid #8ba0aa;
}

.kaufen-text p {
  margin: 0 0 17px;
  color: #4e575c;
}

.fragen {
  background: #fff;
}

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

.fragen-einleitung {
  position: sticky;
  top: 118px;
}

.fragen-einleitung p {
  max-width: 420px;
  color: var(--muted);
}

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

.fragen-liste summary {
  position: relative;
  padding: 21px 38px 21px 0;
  color: #393440;
}

.fragen-liste summary::after {
  position: absolute;
  right: 6px;
  content: "+";
  color: var(--accent-dark);
  font-size: 24px;
  font-weight: 400;
}

.fragen-liste details[open] summary::after {
  content: "−";
}

.fragen-liste p {
  color: #57575e;
}

.vertrauen {
  padding: 44px 0;
  border-block: 1px solid #d9d0d9;
  background: #eee9f0;
}

.vertrauen-innen {
  grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
  gap: 70px;
}

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

.vertrauen p {
  max-width: 730px;
  margin: 0;
  color: #53505a;
}

.formular-bereich {
  padding: 72px 0;
  background:
    radial-gradient(circle at 7% 11%, rgba(154, 87, 95, .32), transparent 29%),
    var(--brand-deep);
}

.formular-raster {
  grid-template-columns: minmax(270px, .68fr) minmax(550px, 1.32fr);
  gap: 64px;
}

.formular-einleitung {
  position: sticky;
  top: 118px;
}

.formular-einleitung .einordnung {
  color: #f2c4c8;
}

.formular-einleitung h2 {
  color: #fff;
  font-size: 43px;
}

.formular-einleitung p {
  color: rgba(255, 255, 255, .84);
}

.formular {
  padding: 31px;
  border-radius: 20px;
}

.auswahl label {
  border-color: #b9b1ba;
  color: #36313b;
}

.auswahl label::before {
  border-color: #736a77;
}

.auswahl label:has(input:checked) {
  border-color: var(--brand);
  background: #eeeaf0;
}

.auswahl label:has(input:checked)::before {
  border-color: var(--brand);
}

.eingabe {
  display: block;
  width: 100%;
  margin: -9px 0 18px;
  padding: 13px 14px;
  border: 1px solid #77717a;
  border-radius: 10px;
  background: #fff;
  color: #20252b;
}

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

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

.formular-knopf {
  background: var(--brand);
}

.formular-knopf:hover {
  background: #41384d;
}

.vertraulichkeit {
  margin-top: 9px;
  color: #5a5d65;
}

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

.kontakt {
  padding: 47px 0 55px;
  border-bottom: 1px solid var(--line);
}

.kontakt-innen {
  align-items: center;
}

.kontakt h2 {
  color: #393340;
}

.kontakt-name {
  color: #5f5a63;
  font-weight: 700;
}

.kontaktdaten a {
  display: block;
  min-width: 185px;
  padding: 14px 18px;
  border: 1px solid #d6cfd7;
  border-radius: 12px;
  background: #faf7fa;
  color: #3d3646;
  text-decoration: none;
}

.kontaktdaten a:hover {
  border-color: #9c899e;
  background: #f2ecf3;
}

.kontaktdaten span {
  display: block;
  margin-bottom: 2px;
  color: #756f79;
  font-size: 11px;
  font-style: normal;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.footer {
  padding: 27px 0;
  background: #332d3c;
}

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

.footer a {
  text-underline-offset: 4px;
}

.bildhinweis {
  max-width: 880px;
  color: rgba(255, 255, 255, .82);
}

:focus-visible {
  outline-color: #b75762;
}

@media (max-width: 960px) {
  .hero-raster {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 18px 38px;
  }

  .hero h1 {
    font-size: 43px;
  }

  .eigentuemer-raster,
  .raeume-raster {
    gap: 42px;
  }

  .eigentuemer-bild {
    height: 450px;
  }

  .raumzeilen article {
    grid-template-columns: 145px minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .kopf-innen {
    width: min(100% - 28px, var(--max));
  }

  .navigation {
    gap: 0;
  }

  .navigation a {
    min-height: 46px;
    padding: 10px 4px;
    border-bottom: 1px solid #eee8e3;
  }

  .navigation a::after {
    display: none;
  }

  .wohnhausband {
    height: 82px;
  }

  .wohnhausband img {
    object-position: 54% 48%;
  }

  .hero {
    padding: 31px 0 29px;
  }

  .hero-raster {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "bild"
      "aktionen";
    gap: 22px;
  }

  .hero-text {
    display: block !important;
  }

  .hero h1 {
    font-size: clamp(33px, 9.7vw, 40px);
    overflow-wrap: normal;
    hyphens: manual;
  }

  .abschnitt h2 {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-bild {
    width: 100%;
    height: 225px !important;
    border-radius: 16px 16px 38px 16px;
  }

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

  .hero-aktionen {
    display: grid !important;
  }

  .anliegen-leiste a {
    padding-block: 15px;
  }

  .abschnitt {
    padding: 57px 0;
  }

  .eigentuemer-raster,
  .raeume-kopf,
  .raeume-raster,
  .wohnungsprofil,
  .kaufen-raster,
  .fragen-raster,
  .vertrauen-innen,
  .formular-raster {
    grid-template-columns: 1fr;
  }

  .eigentuemer-raster {
    gap: 34px;
  }

  .eigentuemer-bild {
    height: 310px;
    border-radius: 38px 16px 16px 16px;
  }

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

  .raeume-kopf {
    gap: 12px;
    margin-bottom: 29px;
  }

  .raeume-raster {
    gap: 31px;
  }

  .raeume-bild {
    min-height: 275px;
    border-radius: 16px 38px 16px 16px;
  }

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

  .raumzeilen article {
    grid-template-columns: 145px minmax(0, 1fr);
    gap: 13px;
    padding-block: 18px;
  }

  .wohnungsprofil {
    gap: 22px;
    margin-top: 34px;
    padding: 25px 22px;
  }

  .wohnungsprofil dl {
    gap: 18px;
  }

  .kaufen-raster,
  .fragen-raster,
  .vertrauen-innen,
  .formular-raster {
    gap: 29px;
  }

  .kaufen-text {
    padding-left: 20px;
  }

  .fragen-einleitung,
  .formular-einleitung {
    position: static;
  }

  .vertrauen h2 {
    margin-bottom: 0;
  }

  .formular-bereich {
    padding: 57px 0;
  }

  .formular {
    padding: 23px 18px;
  }

  .kontakt-innen {
    align-items: flex-start;
  }

  .kontaktdaten {
    width: 100%;
  }

  .kontaktdaten a {
    width: 100%;
  }
}

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

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

  .situationszeilen article {
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .raumzeilen article {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .wohnungsprofil dl {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 340px) {
  .marke {
    font-size: 16px;
  }

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

  .hero h1 {
    font-size: 32px;
  }

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

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
