:root {
  --text: #20302f;
  --muted: #586964;
  --bg: #fcfbf7;
  --soft: #eaf1ee;
  --sand: #f2e7d9;
  --line: #ccd8d3;
  --brand: #1b4d4a;
  --brand-deep: #143a38;
  --accent: #b76543;
  --accent-dark: #91472b;
  --dark: #20302f;
  --radius: 18px;
  --shadow: 0 20px 54px rgba(25, 54, 51, .13);
  --max: 1190px;
}

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

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

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

.kopf {
  background: rgba(252, 251, 247, .96);
  border-bottom-color: #d7dfdb;
}

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

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

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

.navigation {
  gap: 27px;
}

.navigation a {
  position: relative;
  color: #263d3a;
}

.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: #8da19b;
  background: #fff;
  color: var(--brand-deep);
}

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

.wohnhausband img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  filter: saturate(.84) contrast(.96) brightness(1.02);
}

.wohnhausband::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 77, 74, .13), transparent 48%, rgba(183, 101, 67, .08));
  content: "";
  pointer-events: none;
}

.hero {
  padding: 40px 0 42px;
  border-bottom: 1px solid #dde4df;
  background:
    radial-gradient(circle at 15% 20%, rgba(183, 101, 67, .09), transparent 30%),
    linear-gradient(180deg, #fcfbf7 0%, #f6f3eb 100%);
}

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

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

.hero-bild {
  grid-area: bild;
  height: 318px;
  align-self: stretch;
  border-radius: 26px 26px 26px 64px;
}

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

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

.hero h1 {
  max-width: 710px;
  margin-bottom: 18px;
  color: var(--dark);
  font-size: clamp(42px, 4.45vw, 54px);
  line-height: 1.04;
  text-wrap: balance;
}

.hero p {
  max-width: 690px;
  margin-bottom: 0;
  color: #566660;
  font-size: 18px;
}

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

.bildrahmen {
  margin: 0;
  background: #dde5e0;
}

.symbolbild {
  z-index: 2;
  background: rgba(20, 58, 56, .84);
}

.knopf {
  border-color: var(--brand);
  background: var(--brand);
  box-shadow: 0 8px 22px rgba(20, 58, 56, .15);
}

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

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

.knopf-sekundaer:hover {
  border-color: var(--brand);
  background: #e1ebe6;
  color: #102f2d;
}

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

.hauptwege-raster {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  border-inline: 1px solid var(--line);
}

.hauptweg {
  position: relative;
  min-width: 0;
  padding: 25px 26px 24px;
  border-right: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
}

.hauptweg:last-child {
  border-right: 0;
}

.hauptweg > span {
  display: block;
  margin-bottom: 4px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.hauptweg strong {
  display: block;
  font-size: 21px;
  line-height: 1.25;
}

.hauptweg p {
  margin: 8px 30px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.hauptweg b {
  position: absolute;
  right: 20px;
  bottom: 19px;
  color: var(--brand);
  font-size: 13px;
}

.hauptweg:hover {
  background: #f3f7f5;
}

.hauptweg-verkauf {
  background: var(--brand);
  color: #fff;
}

.hauptweg-verkauf > span,
.hauptweg-verkauf p,
.hauptweg-verkauf b {
  color: #e1ece8;
}

.hauptweg-verkauf:hover {
  background: #16433f;
}

.hauptweg-mitarbeit {
  background: #f8efe5;
}

.abschnitt {
  padding: 78px 0;
}

.abschnitt h2 {
  color: var(--dark);
  text-wrap: balance;
}

.vorspann {
  color: var(--muted);
}

.begriff {
  padding-block: 65px;
  background: #fff;
}

.begriff-raster {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 70px;
  align-items: start;
}

.begriff h2 {
  margin-bottom: 0;
}

.begriff-text {
  padding-left: 32px;
  border-left: 3px solid var(--accent);
}

.begriff-text p {
  margin: 0 0 15px;
}

.begriff-text p:last-child {
  margin-bottom: 0;
}

.eigentuemer {
  background: var(--sand);
}

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

.eigentuemer-inhalt .vorspann {
  margin-bottom: 29px;
  color: #52625c;
}

.eigentuemer-bild {
  height: 520px;
  border-radius: 18px 64px 18px 18px;
  box-shadow: var(--shadow);
}

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

.situationslinien {
  margin: 0 0 29px;
  border-top: 1px solid #cbbba8;
}

.situationslinien > div {
  display: grid;
  grid-template-columns: minmax(150px, .65fr) minmax(0, 1.35fr);
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px solid #cbbba8;
}

.situationslinien dt {
  font-weight: 800;
}

.situationslinien dd {
  margin: 0;
  color: #5c625e;
  font-size: 16px;
}

.textlink {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--brand-deep);
  font-weight: 800;
  text-underline-offset: 5px;
}

.profil {
  background: var(--bg);
}

.profil-kopf {
  display: grid;
  grid-template-columns: .7fr 1.15fr 1fr;
  gap: 30px;
  align-items: start;
  margin-bottom: 42px;
}

.profil-kopf .einordnung {
  padding-top: 10px;
}

.profil-kopf h2,
.profil-kopf p {
  margin: 0;
}

.profil-kopf p {
  color: var(--muted);
}

.themenzeilen {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.themenzeilen article {
  padding: 27px 30px 28px 0;
  border-right: 1px solid var(--line);
}

.themenzeilen article + article {
  padding-left: 30px;
}

.themenzeilen article:last-child {
  padding-right: 0;
  border-right: 0;
}

.themenzeilen h3 {
  color: var(--brand-deep);
}

.themenzeilen p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.profil-hinweis {
  max-width: 980px;
  margin: 30px 0 0;
  color: #4e605a;
  font-size: 16px;
}

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

.kaufen-raster {
  display: grid;
  grid-template-columns: minmax(390px, .92fr) minmax(0, 1.08fr);
  gap: 67px;
  align-items: center;
}

.kaufen-bild {
  height: 410px;
  border-radius: 54px 18px 18px 18px;
  box-shadow: var(--shadow);
}

.kaufen-bild img {
  object-position: center;
}

.kaufen p {
  color: #53645e;
}

.kaufen .knopf {
  margin-top: 7px;
}

.vertrauen {
  padding: 46px 0;
  border-top: 0;
  background: var(--brand-deep);
  color: #fff;
}

.vertrauen-innen {
  grid-template-columns: 1.25fr repeat(3, .7fr);
}

.vertrauen .einordnung {
  color: #efb69e;
}

.vertrauen h2 {
  color: #fff;
  font-size: 26px;
  line-height: 1.2;
}

.kennzahl {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, .24);
}

.kennzahl strong {
  color: #fff;
}

.kennzahl span {
  color: #d6e3df;
}

.formular-bereich {
  padding: 76px 0 82px;
  background:
    radial-gradient(circle at 90% 8%, rgba(183, 101, 67, .11), transparent 28%),
    var(--soft);
  color: var(--text);
}

.formular-rahmen {
  max-width: 860px;
}

.formular {
  padding: 38px 42px 36px;
  border: 1px solid #cbd8d3;
  border-radius: 24px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow);
}

.formular h2 {
  margin: 0 0 24px;
  color: var(--dark);
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.1;
}

.auswahl {
  gap: 9px;
  margin-bottom: 26px;
}

.auswahl label {
  min-height: 64px;
  border-color: #aabbb5;
  color: #29403c;
}

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

.auswahl label::before {
  border-color: #667c75;
}

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

.formular > .feld,
.freiwillig .feld {
  display: block;
  margin: 0 0 6px;
  color: #243936;
  font-weight: 750;
}

.eingabe {
  display: block;
  width: 100%;
  margin: 0 0 19px;
  padding: 13px 14px;
  border: 1px solid #7f918b;
  border-radius: 10px;
  background: #fff;
  color: #162724;
  font: inherit;
}

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

.eingabe::placeholder {
  color: #65736f;
  opacity: 1;
}

.eingabe[aria-invalid="true"] {
  border-color: #a73328;
  box-shadow: 0 0 0 2px rgba(167, 51, 40, .15);
}

.freiwillig {
  margin: 3px 0 21px;
  border-color: var(--line);
}

.freiwillig summary {
  color: var(--brand-deep);
}

.freiwillig-innen {
  gap: 0 16px;
}

.zustimmung {
  color: #334844;
}

.zustimmung a {
  color: var(--brand-deep);
  font-weight: 750;
}

.formular-knopf {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.vertraulichkeit {
  margin-top: 9px;
  color: #586964;
  line-height: 1.45;
}

.formular-fehler {
  color: #9d2f25;
}

.honigfeld {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.honigfeld label,
.honigfeld input {
  position: absolute !important;
  inset: 0 !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.kontakt {
  padding: 52px 0 58px;
  border-top: 1px solid var(--line);
  background: #fff;
}

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

.kontakt h2 {
  color: var(--dark);
}

.kontakt-name {
  color: #52645f;
  font-weight: 750;
}

.kontaktdaten {
  display: grid;
  grid-template-columns: auto auto;
  gap: 13px 22px;
  font-style: normal;
}

.kontaktdaten a {
  display: flex;
  gap: 9px;
  align-items: baseline;
  color: var(--brand-deep);
  text-decoration: none;
  white-space: nowrap;
}

.kontaktdaten a:last-child {
  grid-column: 1 / -1;
}

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

.kontaktdaten span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer {
  background: var(--dark);
}

.footer-innen {
  gap: 16px 24px;
  flex-wrap: wrap;
}

.bildhinweis {
  flex-basis: 100%;
  margin: 0;
  color: #cddad6;
  font-size: 12px;
  line-height: 1.5;
}

:focus-visible {
  outline-color: #9b4224;
}

.hauptweg-verkauf:focus-visible,
.footer a:focus-visible,
.vertrauen a:focus-visible {
  outline-color: #ffd2be;
}

@media (max-width: 1050px) {
  .hero-raster {
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    gap-inline: 40px;
  }

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

  .hauptweg {
    padding-inline: 20px;
  }

  .hauptweg strong {
    font-size: 19px;
  }

  .hauptweg p {
    margin-right: 0;
  }

  .hauptweg b {
    position: static;
    display: block;
    margin-top: 7px;
    text-align: right;
  }

  .eigentuemer-raster,
  .kaufen-raster {
    gap: 46px;
  }

  .profil-kopf {
    grid-template-columns: .55fr 1.2fr 1fr;
  }
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: 76px;
  }

  .betreiber {
    padding-inline: 12px;
    font-size: 12px;
  }

  .kopf-innen {
    gap: 12px;
  }

  .marke {
    font-size: clamp(16px, 5vw, 20px);
  }

  .navigation {
    top: 100%;
    background: #fcfbf7;
  }

  .wohnhausband {
    height: 78px;
  }

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

  .hero-raster {
    gap: 0;
  }

  .hero h1 {
    margin-bottom: 15px;
    font-size: clamp(32px, 9.3vw, 39px);
  }

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

  .hero-bild {
    height: 224px !important;
    margin: 23px 0 20px;
    border-radius: 18px 18px 18px 42px;
  }

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

  .hero-aktionen {
    display: grid !important;
    order: 5;
    gap: 10px;
  }

  .hauptwege {
    padding: 13px 0;
    background: #f5f7f5;
  }

  .hauptwege-raster {
    grid-template-columns: 1fr;
    gap: 10px;
    border: 0;
  }

  .hauptweg,
  .hauptweg:last-child {
    padding: 19px 20px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: #fff;
  }

  .hauptweg-verkauf,
  .hauptweg-verkauf:last-child {
    background: var(--brand);
  }

  .hauptweg-mitarbeit,
  .hauptweg-mitarbeit:last-child {
    background: #f8efe5;
  }

  .hauptweg p {
    margin-right: 0;
  }

  .hauptweg b {
    position: static;
    display: block;
    margin-top: 7px;
    text-align: right;
  }

  .abschnitt {
    padding: 56px 0;
  }

  .begriff {
    padding-block: 49px;
  }

  .begriff-raster,
  .eigentuemer-raster,
  .profil-kopf,
  .kaufen-raster {
    grid-template-columns: 1fr;
    gap: 27px;
  }

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

  .eigentuemer-bild {
    height: 285px;
    border-radius: 16px 42px 16px 16px;
  }

  .situationslinien > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .profil-kopf {
    margin-bottom: 31px;
  }

  .profil-kopf .einordnung {
    padding-top: 0;
  }

  .themenzeilen {
    grid-template-columns: 1fr;
  }

  .themenzeilen article,
  .themenzeilen article + article,
  .themenzeilen article:last-child {
    padding: 21px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .themenzeilen article:last-child {
    border-bottom: 0;
  }

  .kaufen-bild {
    height: 264px;
    border-radius: 38px 16px 16px 16px;
  }

  .vertrauen-innen {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .vertrauen-innen > div:first-child {
    grid-column: 1 / -1;
  }

  .kennzahl {
    padding: 15px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .24);
    border-left: 0;
  }

  .formular-bereich {
    padding: 55px 0 59px;
  }

  .formular {
    padding: 26px 19px 25px;
  }

  .auswahl {
    grid-template-columns: 1fr;
  }

  .auswahl label {
    min-height: 50px;
  }

  .freiwillig-innen {
    grid-template-columns: 1fr;
  }

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

  .kontaktdaten {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .kontaktdaten a:last-child {
    grid-column: auto;
  }

  .kontaktdaten a {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 430px) {
  .wohnhausband {
    height: 68px;
  }

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

  .eigentuemer-bild,
  .kaufen-bild {
    height: 238px;
  }

  .vertrauen-innen {
    grid-template-columns: 1fr;
  }

  .vertrauen-innen > div:first-child {
    grid-column: auto;
  }

  .formular h2 {
    font-size: 32px;
  }

  .kontakt h2 {
    font-size: 28px;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

@media (max-width: 340px) {
  .kopf-innen {
    gap: 7px;
  }

  .marke {
    font-size: 15px;
  }

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

  .menue-schalter {
    padding-inline: 8px;
  }

  .hero h1 {
    font-size: 31px;
    overflow-wrap: break-word;
  }

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

  .hauptweg {
    padding-inline: 16px;
  }

  .formular {
    padding-inline: 13px;
  }

  .formular h2 {
    font-size: 30px;
  }
}

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