:root {
  --text: #26342e;
  --muted: #5d6c64;
  --brand: #1f4a3b;
  --brand-deep: #17372f;
  --accent: #7b4b2f;
  --sky: #dfecef;
  --forest-soft: #edf3ef;
  --stone: #f4f0e7;
  --paper: #fffefa;
  --white: #ffffff;
  --line: #ccd7d0;
  --focus: #a94518;
  --shadow: 0 20px 58px rgba(30, 55, 45, 0.13);
  --radius: 18px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

button,
summary,
label,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.rahmen {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.sprunglink {
  position: fixed;
  z-index: 1000;
  top: -90px;
  left: 16px;
  padding: 11px 17px;
  border: 2px solid var(--brand-deep);
  border-radius: 8px;
  background: var(--white);
  color: var(--brand-deep);
  font-weight: 750;
}

.sprunglink:focus {
  top: 14px;
}

.betreiber {
  padding: 7px 18px;
  background: var(--brand-deep);
  color: var(--white);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.025em;
}

.kopf {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(31, 74, 59, 0.18);
  background: rgba(255, 254, 250, 0.96);
  backdrop-filter: blur(12px);
}

.kopf-innen {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.marke {
  color: var(--brand-deep);
  text-decoration: none;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.marke small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 23px;
}

.navigation a {
  padding-block: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.navigation a:hover {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.menue-schalter {
  display: none;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--brand-deep);
  font-weight: 750;
  cursor: pointer;
}

.panoramaband {
  position: relative;
  height: 118px;
  margin: 0;
  overflow: hidden;
  border-bottom: 6px solid var(--sky);
  background: var(--sky);
}

.panoramaband img {
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: saturate(0.86) contrast(0.98);
}

.panoramaband::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 55, 47, 0.21), transparent 55%, rgba(31, 74, 59, 0.04));
  content: "";
  pointer-events: none;
}

.symbolbild {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 9px;
  margin: 0;
  padding: 4px 8px;
  border-radius: 5px;
  background: rgba(14, 31, 26, 0.8);
  color: var(--white);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.hero {
  padding: 38px 0 44px;
  background:
    radial-gradient(circle at 84% 12%, rgba(223, 236, 239, 0.75), transparent 30%),
    linear-gradient(155deg, #f3f7f3 0%, var(--paper) 70%);
}

.hero-raster {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
  grid-template-rows: auto auto;
  align-items: center;
  gap: 22px 48px;
}

.hero-text {
  grid-column: 1;
  grid-row: 1;
}

.hero-bild {
  grid-column: 2;
  grid-row: 1 / 3;
  height: 318px;
  border-radius: 66px 14px 66px 14px;
}

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

.hero-aktionen {
  grid-column: 1;
  grid-row: 2;
}

.einordnung {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.115em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 720px;
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: clamp(44px, 4.5vw, 53px);
  font-weight: 760;
  letter-spacing: -0.045em;
  line-height: 1.055;
}

.hero-text p {
  max-width: 680px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}

.aktionen {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.knopf {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 11px 21px;
  border: 1px solid var(--brand);
  border-radius: 999px;
  background: var(--brand);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
}

.knopf:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
}

.knopf-sekundaer {
  background: transparent;
  color: var(--brand);
}

.knopf-sekundaer:hover {
  background: var(--forest-soft);
  color: var(--brand-deep);
}

.bildrahmen {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31, 74, 59, 0.13);
  border-radius: var(--radius);
  background: var(--forest-soft);
  box-shadow: var(--shadow);
}

.bildrahmen img {
  height: 100%;
  object-fit: cover;
}

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

.anliegen-leiste {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anliegen-leiste a {
  display: flex;
  min-height: 88px;
  flex-direction: column;
  justify-content: center;
  padding: 16px 22px;
  border-right: 1px solid var(--line);
  color: var(--brand-deep);
  text-align: center;
  text-decoration: none;
  font-weight: 750;
}

.anliegen-leiste a:last-child {
  border-right: 0;
}

.anliegen-leiste a:hover {
  background: var(--forest-soft);
}

.anliegen-leiste span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.abschnitt {
  padding: 82px 0;
}

.abschnitt h2,
.kosten h2,
.kontakt h2,
.vertrauen h2,
.formular-bereich h2 {
  margin: 0 0 18px;
  color: var(--brand-deep);
  font-size: clamp(31px, 3.6vw, 40px);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.13;
}

.abschnitt h3 {
  margin: 0 0 7px;
  color: var(--brand-deep);
  font-size: 22px;
  line-height: 1.25;
}

.vorspann {
  max-width: 720px;
  margin: 0 0 27px;
  color: var(--muted);
  font-size: 19px;
}

.zweispaltig {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  align-items: center;
  gap: 64px;
}

.situationen {
  margin: 0;
  padding: 0;
  list-style: none;
}

.situationen li {
  position: relative;
  padding: 15px 0 15px 29px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.situationen li:last-child {
  border-bottom: 1px solid var(--line);
}

.situationen li::before {
  position: absolute;
  top: 22px;
  left: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--brand);
  border-radius: 50%;
  content: "";
}

.situationen strong {
  color: var(--text);
}

.themenbild {
  height: 420px;
}

.themenbild-menschen {
  border-radius: 16px 74px 16px 16px;
}

.themenbild-menschen img {
  object-position: 54% center;
}

.lageprofil {
  border-block: 1px solid #ded7c8;
  background:
    linear-gradient(120deg, rgba(223, 236, 239, 0.5), transparent 42%),
    var(--stone);
}

.abschnitt-kopf {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px 72px;
  align-items: end;
  margin-bottom: 32px;
}

.abschnitt-kopf .einordnung {
  grid-column: 1;
  margin-bottom: 0;
}

.abschnitt-kopf h2 {
  grid-column: 1;
  margin-bottom: 0;
}

.abschnitt-kopf p {
  grid-column: 2;
  grid-row: 1 / 3;
  margin: 0;
  color: var(--muted);
}

.profil-zeilen {
  border-top: 2px solid var(--brand);
}

.profil-zeilen article {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid #cfc6b6;
}

.profil-nummer {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.profil-zeilen p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.kaufen {
  background: var(--white);
}

.themenbild-haus {
  border-radius: 72px 16px 16px 16px;
}

.themenbild-haus img {
  object-position: center 47%;
}

.textblock p {
  margin: 0 0 18px;
}

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

.textlink:hover {
  color: var(--accent);
}

.mitarbeit-hinweis {
  margin-top: 28px !important;
  padding: 15px 0 15px 20px;
  border-left: 3px solid #8ba3a8;
  color: var(--muted);
  font-size: 15px;
}

.fragen {
  border-top: 1px solid var(--line);
  background: var(--forest-soft);
}

.fragen-raster {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: start;
}

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

.fragen-einleitung p {
  margin: 0;
  color: var(--muted);
}

.fragen-liste {
  border-top: 2px solid var(--brand);
}

.fragen details {
  border-bottom: 1px solid var(--line);
}

.fragen summary {
  position: relative;
  padding: 20px 40px 20px 0;
  color: var(--brand-deep);
  font-weight: 750;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.fragen summary::-webkit-details-marker {
  display: none;
}

.fragen summary::after {
  position: absolute;
  top: 18px;
  right: 4px;
  color: var(--accent);
  content: "+";
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

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

.fragen details p {
  max-width: 780px;
  margin: 0 40px 22px 0;
  color: var(--muted);
}

.kosten {
  padding: 50px 0;
  border-block: 1px solid #d6cebe;
  background: #faf7ef;
}

.kosten-innen {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 54px;
  align-items: start;
}

.kosten h2 {
  margin-bottom: 0;
  font-size: 32px;
}

.kosten p {
  margin: 0;
}

.kosten a {
  color: var(--brand);
  font-weight: 750;
  text-underline-offset: 4px;
}

.formular-bereich {
  padding: 82px 0;
  background:
    radial-gradient(circle at 10% 12%, rgba(139, 163, 168, 0.24), transparent 31%),
    linear-gradient(150deg, var(--brand-deep), var(--brand));
  color: var(--white);
}

.formular-raster {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 58px;
  align-items: start;
}

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

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

.formular-bereich h2 {
  color: var(--white);
  font-size: 42px;
}

.formular-einleitung p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.formular-karte {
  padding: 32px;
  border-radius: 22px;
  background: var(--white);
  color: var(--text);
  box-shadow: 0 24px 70px rgba(7, 24, 18, 0.3);
}

.auswahl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 26px;
}

.auswahl label {
  position: relative;
  display: flex;
  min-height: 66px;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border: 1px solid #aebbb4;
  border-radius: 12px;
  background: var(--white);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.3;
  cursor: pointer;
}

.auswahl label:has(input:checked) {
  border-color: var(--brand);
  background: var(--forest-soft);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.auswahl input {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--brand);
}

.auswahl label:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.feld {
  display: block;
  margin: 17px 0 7px;
  color: var(--text);
  font-weight: 750;
}

.eingabe {
  display: block;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #78877f;
  border-radius: 10px;
  background: var(--white);
  color: #17241f;
}

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

.eingabe::placeholder {
  color: #617068;
  opacity: 1;
}

.eingabe:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 74, 59, 0.14);
}

.eingabe[aria-invalid="true"] {
  border-color: #a02929;
  box-shadow: 0 0 0 2px rgba(160, 41, 41, 0.14);
}

.freiwillig {
  margin: 22px 0 18px;
  border-block: 1px solid var(--line);
}

.freiwillig summary {
  padding: 16px 2px;
  color: var(--brand-deep);
  font-weight: 750;
  cursor: pointer;
}

.freiwillig-innen {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 15px;
  padding: 0 0 18px;
}

.freiwillig-innen .feld {
  margin-top: 12px;
}

.zustimmung {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 17px 0;
  font-size: 14px;
  line-height: 1.55;
}

.zustimmung input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.zustimmung a {
  color: var(--brand);
  font-weight: 750;
  text-underline-offset: 3px;
}

.formular-fehler {
  margin: 0 0 12px;
  color: #8d1f1f;
  font-size: 15px;
  font-weight: 750;
}

.formular-fehler:empty {
  display: none;
}

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

.vertraulichkeit {
  margin: 10px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
}

.kontakt {
  padding: 54px 0 60px;
  background: var(--white);
}

.kontakt-innen {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 54px;
  align-items: end;
}

.kontakt h2 {
  max-width: 690px;
  margin-bottom: 8px;
  font-size: 34px;
}

.kontakt-name {
  margin: 0;
  font-weight: 750;
}

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

.kontaktdaten a {
  display: grid;
  grid-template-columns: 84px 1fr;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  color: var(--brand-deep);
  text-decoration: none;
  font-weight: 800;
  overflow-wrap: anywhere;
}

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

.kontaktdaten span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vertrauen {
  padding: 48px 0;
  border-top: 1px solid #c6d7da;
  background: var(--sky);
}

.vertrauen-innen {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, 0.75fr);
  gap: 30px;
  align-items: center;
}

.vertrauen-kopf .einordnung {
  margin-bottom: 7px;
  color: var(--accent);
}

.vertrauen h2 {
  margin-bottom: 0;
  font-size: 27px;
}

.kennzahl strong {
  display: block;
  color: var(--brand-deep);
  font-size: 23px;
  line-height: 1.2;
}

.kennzahl span {
  color: var(--muted);
  font-size: 14px;
}

.footer {
  padding: 27px 0;
  background: var(--brand-deep);
  color: var(--white);
  font-size: 14px;
}

.footer-innen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer a {
  color: var(--white);
  text-underline-offset: 4px;
}

.bildhinweis {
  flex-basis: 100%;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .navigation {
    gap: 15px;
  }

  .hero-raster {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.9fr);
    gap-inline: 34px;
  }

  .zweispaltig {
    gap: 42px;
  }

  .formular-raster {
    grid-template-columns: 0.62fr 1.38fr;
    gap: 38px;
  }
}

@media (max-width: 860px) {
  body {
    font-size: 17px;
  }

  .rahmen,
  .kopf-innen {
    width: min(var(--max), calc(100% - 30px));
  }

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

  .menue-schalter {
    display: inline-flex;
    align-items: center;
  }

  .navigation {
    position: absolute;
    top: 100%;
    right: -15px;
    left: -15px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px 15px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .navigation[data-offen="true"] {
    display: flex;
  }

  .navigation a {
    min-height: 46px;
    padding: 11px 5px;
    border-bottom: 1px solid var(--line);
  }

  .navigation a:last-child {
    border-bottom: 0;
  }

  .panoramaband {
    height: 88px;
  }

  .panoramaband img {
    object-position: 55% 54%;
  }

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

  .hero-raster {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 22px;
  }

  .hero-text,
  .hero-bild,
  .hero-aktionen {
    grid-column: 1;
    grid-row: auto;
  }

  .hero-bild {
    height: 224px;
    border-radius: 42px 12px 42px 12px;
  }

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

  h1 {
    font-size: clamp(34px, 9.5vw, 40px);
    overflow-wrap: break-word;
  }

  .hero-text p {
    font-size: 18px;
  }

  .aktionen {
    display: grid;
    grid-template-columns: 1fr;
  }

  .knopf {
    width: 100%;
  }

  .anliegen-leiste {
    grid-template-columns: 1fr;
  }

  .anliegen-leiste a {
    min-height: 64px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .anliegen-leiste a:last-child {
    border-bottom: 0;
  }

  .abschnitt {
    padding: 58px 0;
  }

  .zweispaltig,
  .abschnitt-kopf,
  .fragen-raster,
  .kosten-innen,
  .formular-raster,
  .kontakt-innen {
    grid-template-columns: 1fr;
  }

  .zweispaltig,
  .fragen-raster,
  .formular-raster,
  .kontakt-innen {
    gap: 30px;
  }

  .abschnitt-kopf {
    gap: 12px;
  }

  .abschnitt-kopf .einordnung,
  .abschnitt-kopf h2,
  .abschnitt-kopf p {
    grid-column: 1;
    grid-row: auto;
  }

  .themenbild {
    height: 270px;
  }

  .themenbild-menschen {
    border-radius: 12px 44px 12px 12px;
  }

  .themenbild-menschen img {
    object-position: 52% center;
  }

  .themenbild-haus {
    border-radius: 44px 12px 12px 12px;
  }

  .themenbild-haus img {
    object-position: center 46%;
  }

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

  .kosten {
    padding: 42px 0;
  }

  .kosten-innen {
    gap: 15px;
  }

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

  .formular-karte {
    padding: 24px 18px;
  }

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

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

  .kontakt {
    padding: 48px 0 52px;
  }

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

  .vertrauen-kopf {
    grid-column: 1 / -1;
  }
}

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

  .marke {
    max-width: 210px;
    font-size: 21px;
  }

  .marke small {
    font-size: 9px;
    letter-spacing: 0.09em;
  }

  .profil-zeilen article {
    grid-template-columns: 46px 1fr;
    gap: 12px;
  }

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

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

  .kontaktdaten a {
    grid-template-columns: 1fr;
    gap: 1px;
    padding-block: 5px;
  }

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

  .vertrauen-kopf {
    grid-column: 1;
  }

  .footer-innen {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 360px) {
  .rahmen,
  .kopf-innen {
    width: calc(100% - 22px);
  }

  .kopf-innen {
    gap: 8px;
  }

  .marke {
    max-width: 190px;
    font-size: 19px;
  }

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

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

  h1 {
    font-size: 32px;
  }

  .hero-bild {
    height: 202px;
  }

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

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
